This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"votes": [ | |
{ | |
"id": "0x0585c0d0aedf071a07992ad650bdc047cef0c04f:95", | |
"voter": "0x0585c0d0aedf071a07992ad650bdc047cef0c04f", | |
"timestamp": 1661430216, | |
"support": true, | |
"votingPower": "34800000000000000" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"votes": [ | |
{ | |
"id": "0x04ebc6cd35de0c97e34f90d4c962e6fdd29f377d:93", | |
"voter": "0x04ebc6cd35de0c97e34f90d4c962e6fdd29f377d", | |
"timestamp": 1661344913, | |
"support": true, | |
"votingPower": "28000000000000000" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// contracts/crosschainMai.sol | |
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.0; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol"; | |
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; | |
import "@openzeppelin/contracts/ownership/Ownable.sol"; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0-or-later | |
pragma solidity >=0.7.0 <0.8.0; | |
contract CongressRegistry { | |
// The first key is the delegator and the second key a id. | |
// The value is the address of the delegate | |
mapping (address => address) public delegation; | |
mapping (address => uint256) public expiration; | |
mapping (address => bytes) public affiliation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony. | |
The following are my contribution signatures: | |
Circuit: qvt32 | |
Contributor # 110 | |
Hash: e0c729cb d28a36b1 12d2245e 161ad719 | |
20914429 df068ee2 19c8f07f 656c91b1 | |
08922c89 5c58c2cd 886def07 23cd19b3 | |
47f8b8e6 715a4f93 b7e33508 7b54918b | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Header --> | |
<script> | |
!function(e,n,t,r){ | |
function o(){try{var e;if((e="string"==typeof this.response?JSON.parse(this.response):this.response).url){ | |
var t=n.getElementsByTagName("script")[0],r=n.createElement("script");r.async=!0,r.src=e.url,t.parentNode.insertBefore(r,t)}}catch(e){}} | |
var s,p,a,i=[],c=[];e[t]={init:function(){s=arguments;var e={then:function(n){return c.push({type:"t",next:n}),e},catch:function(n){ | |
return c.push({type:"c",next:n}),e}};return e},on:function(){i.push(arguments)},render:function(){p=arguments},destroy:function(){a=arguments}}, | |
e.__onWebMessengerHostReady__=function(n){if(delete e.__onWebMessengerHostReady__,e[t]=n,s)for(var r=n.init.apply(n,s),o=0;o<c.length;o++){ | |
var u=c[o];r="t"===u.type?r.then(u.next):r.catch(u.next)}p&&n.render.apply(n,p),a&&n.destroy.apply(n,a);for(o=0;o<i.length;o++)n.on.apply(n,i[o])}; | |
var u=new XMLHttpRequest;u.addEventListener("load",o),u.open("GET","https://"+r+".webloader.smooch.io/",!0), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File: installed_contracts/bytes/contracts/BytesLib.sol | |
/* | |
* @title Solidity Bytes Arrays Utils | |
* @author Nick Johnson <arachnid@notdot.net> | |
* | |
* @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity. | |
* The library lets you concatenate, slice and type cast bytes arrays both in memory and storage. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
contract ERC20 { | |
mapping(address => uint256) public balances; | |
mapping(address => mapping (address => uint256)) public allowed; | |
string public name; | |
string public symbol; | |
uint8 public decimals; | |
uint256 public totalSupply; | |
uint256 private constant MAX_UINT256 = 2**256 -1 ; | |
event Transfer(address indexed from, address indexed to, uint tokens); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/grpc/grpc-web | |
bazel build --compilation_mode=opt //javascript/net/grpc/web:protoc-gen-grpc-web | |
cp bazel-bin/javascript/net/grpc/web/protoc-gen-grpc-web /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Begin Mailchimp Signup Form --> | |
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css"> | |
<style type="text/css"> | |
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; } | |
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block. | |
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */ | |
</style> | |
<div id="mc_embed_signup"> | |
<form action="https://awesomeblockchain.us16.list-manage.com/subscribe/post?u=8c24cca329b8f457a655ed73e&id=6b7f43c4a5" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> | |
<div id="mc_embed_signup_scroll"> |