Skip to content

Instantly share code, notes, and snippets.

View clesaege's full-sized avatar

Clément Lesaege clesaege

View GitHub Profile
pragma solidity >=0.7;
contract Test {
struct S {uint a; uint b; uint c;}
S[] ss;
function f() external {
ss.push(S({a:5,b:0,c:2}));
/**
*Submitted for verification at Etherscan.io on 2019-03-04
*/
/**
* Kleros Liquid
* https://contributing.kleros.io/smart-contract-workflow
* @reviewers: [@clesaege]
* @auditors: []
* @bounties: [{duration: 14days, link: https://github.com/kleros/kleros/issues/117, max_payout: 50ETH}]
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreid6ngesbp6jgb4gyvcfjm3eparu3ygbs3nommn4rnt7y2b466gc7u ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
pragma solidity ^0.7.0;
contract Storing {
uint a;
uint b;
uint c;
uint d;
function store(uint _a, uint _b, uint _c, uint _d) public {
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreiffgnanngsump5zjfxpncr3z4eox4ogi52rta2tlv6cukwadtugv4 ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
/**
*Submitted for verification at Etherscan.io on 2019-10-25
*/
pragma solidity 0.5.0;
// File: src/erc777/IERC777.sol
/**
* @dev Interface of the ERC777Token standard as defined in the EIP.
/**
*Submitted for verification at Etherscan.io on 2020-01-10
*/
pragma solidity ^0.5.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
pragma solidity ^0.5.1;
contract Test {
function f() public {
uint a0;
uint a1;
uint a2;
pragma solidity ^0.5.1;
contract Test {
function f() public {
uint a0;
uint a1;
uint a2;
/**
*Submitted for verification at Etherscan.io on 2019-07-29
*/
pragma solidity ^0.4.24;
contract UtilFairWin {
/* fairwin.me */