Skip to content

Instantly share code, notes, and snippets.

{"valueParameterDescriptions":[],"slotParameterDescriptions":[],"roleDescriptions":[],"contractType":"O","contractName":"","contractDescription":"","choiceDescriptions":[]}
When
[Case
(Deposit
(Role "pool")
(Role "bettor")
(Token "" "")
(Constant 1)
)
(If
TrueObs
@gabrielrondon
gabrielrondon / blockly.xml
Created July 15, 2021 10:00
Bank Account
When
[Case
(Deposit
?party
?from_party
?token ?value
)
?contract]
0 ?contract
@gabrielrondon
gabrielrondon / 1_Storage.sol
Created December 30, 2020 08:30
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.7.5+commit.eb77ed08.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
@gabrielrondon
gabrielrondon / 1_Storage.sol
Created December 28, 2020 11:21
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.12+commit.7709ece9.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {

Keybase proof

I hereby claim:

  • I am gabrielrondon on github.
  • I am grondon (https://keybase.io/grondon) on keybase.
  • I have a public key ASDGuIK8Jgrh2mBEsDzcU1EexU8H0ng9XChJeMiDSv9ymgo

To claim this, I am signing this object: