Skip to content

Instantly share code, notes, and snippets.

View AugustoL's full-sized avatar

Augusto Lemble AugustoL

View GitHub Profile
pragma solidity ^0.7.0;
contract ETHRefund {
uint256[] public values;
address[] public receivers;
uint256 public endTime;
address payable public avatar = 0x519b70055af55A007110B4Ff99b0eA33071c720a;
@AugustoL
AugustoL / ETHRefunds.sol
Created August 26, 2020 22:22
ETHRefunds.sol
pragma solidity ^0.7.0;
contract ETHRefund {
uint256[] public values;
address[] public receivers;
uint256 public endTime;
address payable public avatar = 0x519b70055af55A007110B4Ff99b0eA33071c720a;
@AugustoL
AugustoL / README.txt
Created August 19, 2021 22:37
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.17+commit.d19bba13.js&optimize=true&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@AugustoL
AugustoL / GnosisSafe.sol
Created September 4, 2021 00:24
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.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;
import "./base/ModuleManager.sol";
import "./base/OwnerManager.sol";
import "./base/FallbackManager.sol";
import "./base/GuardManager.sol";
import "./common/EtherPaymentFallback.sol";
import "./common/Singleton.sol";
import "./common/SignatureDecoder.sol";