Skip to content

Instantly share code, notes, and snippets.

View massnomis's full-sized avatar
🎯
Focusing

massnomis

🎯
Focusing
View GitHub Profile
This file has been truncated, but you can view the full file.
[
{
"USD": 134120290.3882450759,
"USDT": 1294856.4795283729,
"TRX": 610378.659503,
"BTC": 304.2972281257,
"ETH": 634.5837187744,
"FTT": 203674.09003182,
"SOL": 30520.36840643,
"BNB": 8295.70297305,
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../utils/EnumerableSet.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";
/**
* @dev Contract module that allows children to implement role-based access
@massnomis
massnomis / EF_Token.sol
Created March 15, 2022 12:22
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.6+commit.7338295f.js&optimize=false&runs=200&gist=
pragma solidity ^0.7.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0-solc-0.7/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
constructor () ERC20("EF Token", "EFTKN") {
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
}
@massnomis
massnomis / 1_Storage.sol
Created January 5, 2021 16:12
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=false&runs=200&gist=
pragma solidity >=0.4.22 <0.7.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;
@massnomis
massnomis / 1_Storage.sol
Created January 5, 2021 16:08
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=false&runs=200&gist=
pragma solidity >=0.4.22 <0.7.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;