Latest 25 from a total of 973 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21209923 | 5 days ago | IN | 0 ETH | 0.00039347 | ||||
Transfer | 21035785 | 30 days ago | IN | 0 ETH | 0.0006142 | ||||
Approve | 20862253 | 54 days ago | IN | 0 ETH | 0.00034301 | ||||
Approve | 20660473 | 82 days ago | IN | 0 ETH | 0.00001477 | ||||
Approve | 20660362 | 82 days ago | IN | 0 ETH | 0.0000279 | ||||
Approve | 20660210 | 82 days ago | IN | 0 ETH | 0.00002637 | ||||
Approve | 20660208 | 82 days ago | IN | 0 ETH | 0.0000269 | ||||
Approve | 20660206 | 82 days ago | IN | 0 ETH | 0.00002664 | ||||
Approve | 20633983 | 86 days ago | IN | 0 ETH | 0.00010131 | ||||
Approve | 20621943 | 87 days ago | IN | 0 ETH | 0.00006598 | ||||
Approve | 20557684 | 96 days ago | IN | 0 ETH | 0.00005005 | ||||
Approve | 20534791 | 100 days ago | IN | 0 ETH | 0.00025956 | ||||
Approve | 20486551 | 106 days ago | IN | 0 ETH | 0.00009289 | ||||
Approve | 20481986 | 107 days ago | IN | 0 ETH | 0.00006502 | ||||
Approve | 20412509 | 117 days ago | IN | 0 ETH | 0.00021905 | ||||
Transfer | 20385881 | 120 days ago | IN | 0 ETH | 0.00033524 | ||||
Approve | 20348121 | 126 days ago | IN | 0 ETH | 0.00021402 | ||||
Approve | 20348120 | 126 days ago | IN | 0 ETH | 0.00020334 | ||||
Approve | 20346653 | 126 days ago | IN | 0 ETH | 0.0002314 | ||||
Approve | 20203512 | 146 days ago | IN | 0 ETH | 0.00012603 | ||||
Transfer | 20198964 | 146 days ago | IN | 0 ETH | 0.00022202 | ||||
Approve | 20159715 | 152 days ago | IN | 0 ETH | 0.00008673 | ||||
Transfer | 20159627 | 152 days ago | IN | 0 ETH | 0.0000709 | ||||
Transfer | 20159612 | 152 days ago | IN | 0 ETH | 0.00007517 | ||||
Transfer | 20159605 | 152 days ago | IN | 0 ETH | 0.00007326 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Grain
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-27 */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.5.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } } // File: @openzeppelin/contracts/access/Roles.sol pragma solidity ^0.5.0; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } // File: @openzeppelin/contracts/access/roles/MinterRole.sol pragma solidity ^0.5.0; contract MinterRole is Context { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(_msgSender()); } modifier onlyMinter() { require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role"); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(_msgSender()); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } // File: @openzeppelin/contracts/token/ERC20/ERC20Mintable.sol pragma solidity ^0.5.0; /** * @dev Extension of {ERC20} that adds a set of accounts with the {MinterRole}, * which have permission to mint (create) new tokens as they see fit. * * At construction, the deployer of the contract is the only minter. */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev See {ERC20-_mint}. * * Requirements: * * - the caller must have the {MinterRole}. */ function mint(address account, uint256 amount) public onlyMinter returns (bool) { _mint(account, amount); return true; } } // File: @openzeppelin/contracts/token/ERC20/ERC20Capped.sol pragma solidity ^0.5.0; /** * @dev Extension of {ERC20Mintable} that adds a cap to the supply of tokens. */ contract ERC20Capped is ERC20Mintable { uint256 private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor (uint256 cap) public { require(cap > 0, "ERC20Capped: cap is 0"); _cap = cap; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view returns (uint256) { return _cap; } /** * @dev See {ERC20Mintable-mint}. * * Requirements: * * - `value` must not cause the total supply to go over the cap. */ function _mint(address account, uint256 value) internal { require(totalSupply().add(value) <= _cap, "ERC20Capped: cap exceeded"); super._mint(account, value); } } // File: @openzeppelin/contracts/token/ERC20/ERC20Detailed.sol pragma solidity ^0.5.0; /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } } // File: @openzeppelin/contracts/token/ERC20/ERC20Burnable.sol pragma solidity ^0.5.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public { _burn(_msgSender(), amount); } /** * @dev See {ERC20-_burnFrom}. */ function burnFrom(address account, uint256 amount) public { _burnFrom(account, amount); } } // File: contracts/Storage.sol pragma solidity 0.5.16; contract Storage { address public governance; address public controller; constructor() public { governance = msg.sender; } modifier onlyGovernance() { require(isGovernance(msg.sender), "Not governance"); _; } function setGovernance(address _governance) public onlyGovernance { require(_governance != address(0), "new governance shouldn't be empty"); governance = _governance; } function setController(address _controller) public onlyGovernance { require(_controller != address(0), "new controller shouldn't be empty"); controller = _controller; } function isGovernance(address account) public view returns (bool) { return account == governance; } function isController(address account) public view returns (bool) { return account == controller; } } // File: contracts/Governable.sol pragma solidity 0.5.16; contract Governable { Storage public store; constructor(address _store) public { require(_store != address(0), "new storage shouldn't be empty"); store = Storage(_store); } modifier onlyGovernance() { require(store.isGovernance(msg.sender), "Not governance"); _; } function setStorage(address _store) public onlyGovernance { require(_store != address(0), "new storage shouldn't be empty"); store = Storage(_store); } function governance() public view returns (address) { return store.governance(); } } // File: contracts/Grain.sol pragma solidity 0.5.16; contract Grain is ERC20, ERC20Detailed, ERC20Capped, ERC20Burnable, Governable { // IOU TOKEN: 30938517.224397506697899427 // 30939517.000000000000000000 (a buffer of 1000 IOUs) uint256 public constant MAX_AMOUNT = 30939517000000000000000000; constructor(address _storage) public ERC20Detailed("GRAIN Token", "GRAIN", 18) ERC20Capped(MAX_AMOUNT) Governable(_storage) { // msg.sender should not be a minter renounceMinter(); // governance will become the only minter _addMinter(governance()); } /** * Overrides adding new minters so that only governance can authorized them. */ function addMinter(address _minter) public onlyGovernance { super.addMinter(_minter); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_storage","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"MAX_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_store","type":"address"}],"name":"setStorage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"store","outputs":[{"internalType":"contract Storage","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001a8a38038062001a8a833981810160405260208110156200003757600080fd5b5051604080518082018252600b81526a23a920a4a7102a37b5b2b760a91b60208281019182528351808501909452600584526423a920a4a760d91b90840152815184936a1997b293cd61717fd40000939290916012916200009c916003919062000498565b508151620000b290600490602085019062000498565b506005805460ff191660ff9290921691909117905550620000e79050620000d8620001e4565b6001600160e01b03620001e916565b600081116200013d576040805162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015290519081900360640190fd5b6007556001600160a01b0381166200019c576040805162461bcd60e51b815260206004820152601e60248201527f6e65772073746f726167652073686f756c646e277420626520656d7074790000604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055620001c66200023b565b620001dd620000d86001600160e01b036200026316565b506200053a565b335b90565b62000204816006620002dc60201b6200126c1790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b62000261620002526001600160e01b03620001e416565b6001600160e01b036200036916565b565b60085460408051635aa6e67560e01b815290516000926001600160a01b031691635aa6e675916004808301926020929190829003018186803b158015620002a957600080fd5b505afa158015620002be573d6000803e3d6000fd5b505050506040513d6020811015620002d557600080fd5b5051905090565b620002f182826001600160e01b03620003bb16565b1562000344576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b620003848160066200042460201b620012051790919060201c565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b038216620004045760405162461bcd60e51b815260040180806020018281038252602281526020018062001a686022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6200043982826001600160e01b03620003bb16565b620004765760405162461bcd60e51b815260040180806020018281038252602181526020018062001a476021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004db57805160ff19168380011785556200050b565b828001600101855582156200050b579182015b828111156200050b578251825591602001919060010190620004ee565b50620005199291506200051d565b5090565b620001e691905b8082111562000519576000815560010162000524565b6114fd806200054a6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806379cc6790116100b8578063986502751161007c57806398650275146103c3578063a457c2d7146103cb578063a9059cbb146103f7578063aa271e1a14610423578063d40dc87014610449578063dd62ed3e1461045157610142565b806379cc67901461033b5780639137c1a71461036757806395d89b411461038d578063975057e714610395578063983b2d561461039d57610142565b8063355274ea1161010a578063355274ea14610272578063395093511461027a57806340c10f19146102a657806342966c68146102d25780635aa6e675146102f157806370a082311461031557610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd1461020457806323b872dd1461021e578063313ce56714610254575b600080fd5b61014f61047f565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610515565b604080519115158252519081900360200190f35b61020c610532565b60408051918252519081900360200190f35b6101f06004803603606081101561023457600080fd5b506001600160a01b03813581169160208101359091169060400135610538565b61025c6105c5565b6040805160ff9092168252519081900360200190f35b61020c6105ce565b6101f06004803603604081101561029057600080fd5b506001600160a01b0381351690602001356105d4565b6101f0600480360360408110156102bc57600080fd5b506001600160a01b038135169060200135610628565b6102ef600480360360208110156102e857600080fd5b503561067f565b005b6102f9610693565b604080516001600160a01b039092168252519081900360200190f35b61020c6004803603602081101561032b57600080fd5b50356001600160a01b0316610709565b6102ef6004803603604081101561035157600080fd5b506001600160a01b038135169060200135610724565b6102ef6004803603602081101561037d57600080fd5b50356001600160a01b0316610732565b61014f610868565b6102f96108c9565b6102ef600480360360208110156103b357600080fd5b50356001600160a01b03166108d8565b6102ef61099a565b6101f0600480360360408110156103e157600080fd5b506001600160a01b0381351690602001356109ac565b6101f06004803603604081101561040d57600080fd5b506001600160a01b038135169060200135610a1a565b6101f06004803603602081101561043957600080fd5b50356001600160a01b0316610a2e565b61020c610a47565b61020c6004803603604081101561046757600080fd5b506001600160a01b0381358116916020013516610a56565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b820191906000526020600020905b8154815290600101906020018083116104ee57829003601f168201915b5050505050905090565b6000610529610522610a81565b8484610a85565b50600192915050565b60025490565b6000610545848484610b71565b6105bb84610551610a81565b6105b6856040518060600160405280602881526020016113cc602891396001600160a01b038a1660009081526001602052604081209061058f610a81565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610ccd16565b610a85565b5060019392505050565b60055460ff1690565b60075490565b60006105296105e1610a81565b846105b685600160006105f2610a81565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d6416565b600061063a610635610a81565b610a2e565b6106755760405162461bcd60e51b815260040180806020018281038252603081526020018061137b6030913960400191505060405180910390fd5b6105298383610dc5565b61069061068a610a81565b82610e3d565b50565b60085460408051635aa6e67560e01b815290516000926001600160a01b031691635aa6e675916004808301926020929190829003018186803b1580156106d857600080fd5b505afa1580156106ec573d6000803e3d6000fd5b505050506040513d602081101561070257600080fd5b5051905090565b6001600160a01b031660009081526020819052604090205490565b61072e8282610f39565b5050565b600854604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561077d57600080fd5b505afa158015610791573d6000803e3d6000fd5b505050506040513d60208110156107a757600080fd5b50516107eb576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610846576040805162461bcd60e51b815260206004820152601e60248201527f6e65772073746f726167652073686f756c646e277420626520656d7074790000604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b6008546001600160a01b031681565b600854604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561092357600080fd5b505afa158015610937573d6000803e3d6000fd5b505050506040513d602081101561094d57600080fd5b5051610991576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b61069081610f8d565b6109aa6109a5610a81565b610fdc565b565b60006105296109b9610a81565b846105b6856040518060600160405280602581526020016114a460259139600160006109e3610a81565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610ccd16565b6000610529610a27610a81565b8484610b71565b6000610a4160068363ffffffff61102416565b92915050565b6a1997b293cd61717fd4000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b038316610aca5760405162461bcd60e51b81526004018080602001828103825260248152602001806114806024913960400191505060405180910390fd5b6001600160a01b038216610b0f5760405162461bcd60e51b81526004018080602001828103825260228152602001806113336022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bb65760405162461bcd60e51b815260040180806020018281038252602581526020018061145b6025913960400191505060405180910390fd5b6001600160a01b038216610bfb5760405162461bcd60e51b81526004018080602001828103825260238152602001806112ee6023913960400191505060405180910390fd5b610c3e81604051806060016040528060268152602001611355602691396001600160a01b038616600090815260208190526040902054919063ffffffff610ccd16565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610c73908263ffffffff610d6416565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d5c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d21578181015183820152602001610d09565b50505050905090810190601f168015610d4e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610dbe576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600754610de082610dd4610532565b9063ffffffff610d6416565b1115610e33576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b61072e828261108b565b6001600160a01b038216610e825760405162461bcd60e51b815260040180806020018281038252602181526020018061143a6021913960400191505060405180910390fd5b610ec581604051806060016040528060228152602001611311602291396001600160a01b038516600090815260208190526040902054919063ffffffff610ccd16565b6001600160a01b038316600090815260208190526040902055600254610ef1908263ffffffff61117b16565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b610f438282610e3d565b61072e82610f4f610a81565b6105b684604051806060016040528060248152602001611416602491396001600160a01b03881660009081526001602052604081209061058f610a81565b610f98610635610a81565b610fd35760405162461bcd60e51b815260040180806020018281038252603081526020018061137b6030913960400191505060405180910390fd5b610690816111bd565b610fed60068263ffffffff61120516565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b03821661106b5760405162461bcd60e51b81526004018080602001828103825260228152602001806113f46022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0382166110e6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6002546110f9908263ffffffff610d6416565b6002556001600160a01b038216600090815260208190526040902054611125908263ffffffff610d6416565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610dbe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ccd565b6111ce60068263ffffffff61126c16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61120f8282611024565b61124a5760405162461bcd60e51b81526004018080602001828103825260218152602001806113ab6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6112768282611024565b156112c8576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff1916600117905556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820eedda6fef69011ec31299d0e08fd37feb2ecabf1688d572f97ffcc2971fe7d4b64736f6c63430005100032526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373000000000000000000000000c95cbe4ca30055c787cb784be99d6a8494d0d197
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806379cc6790116100b8578063986502751161007c57806398650275146103c3578063a457c2d7146103cb578063a9059cbb146103f7578063aa271e1a14610423578063d40dc87014610449578063dd62ed3e1461045157610142565b806379cc67901461033b5780639137c1a71461036757806395d89b411461038d578063975057e714610395578063983b2d561461039d57610142565b8063355274ea1161010a578063355274ea14610272578063395093511461027a57806340c10f19146102a657806342966c68146102d25780635aa6e675146102f157806370a082311461031557610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd1461020457806323b872dd1461021e578063313ce56714610254575b600080fd5b61014f61047f565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610515565b604080519115158252519081900360200190f35b61020c610532565b60408051918252519081900360200190f35b6101f06004803603606081101561023457600080fd5b506001600160a01b03813581169160208101359091169060400135610538565b61025c6105c5565b6040805160ff9092168252519081900360200190f35b61020c6105ce565b6101f06004803603604081101561029057600080fd5b506001600160a01b0381351690602001356105d4565b6101f0600480360360408110156102bc57600080fd5b506001600160a01b038135169060200135610628565b6102ef600480360360208110156102e857600080fd5b503561067f565b005b6102f9610693565b604080516001600160a01b039092168252519081900360200190f35b61020c6004803603602081101561032b57600080fd5b50356001600160a01b0316610709565b6102ef6004803603604081101561035157600080fd5b506001600160a01b038135169060200135610724565b6102ef6004803603602081101561037d57600080fd5b50356001600160a01b0316610732565b61014f610868565b6102f96108c9565b6102ef600480360360208110156103b357600080fd5b50356001600160a01b03166108d8565b6102ef61099a565b6101f0600480360360408110156103e157600080fd5b506001600160a01b0381351690602001356109ac565b6101f06004803603604081101561040d57600080fd5b506001600160a01b038135169060200135610a1a565b6101f06004803603602081101561043957600080fd5b50356001600160a01b0316610a2e565b61020c610a47565b61020c6004803603604081101561046757600080fd5b506001600160a01b0381358116916020013516610a56565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b820191906000526020600020905b8154815290600101906020018083116104ee57829003601f168201915b5050505050905090565b6000610529610522610a81565b8484610a85565b50600192915050565b60025490565b6000610545848484610b71565b6105bb84610551610a81565b6105b6856040518060600160405280602881526020016113cc602891396001600160a01b038a1660009081526001602052604081209061058f610a81565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610ccd16565b610a85565b5060019392505050565b60055460ff1690565b60075490565b60006105296105e1610a81565b846105b685600160006105f2610a81565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d6416565b600061063a610635610a81565b610a2e565b6106755760405162461bcd60e51b815260040180806020018281038252603081526020018061137b6030913960400191505060405180910390fd5b6105298383610dc5565b61069061068a610a81565b82610e3d565b50565b60085460408051635aa6e67560e01b815290516000926001600160a01b031691635aa6e675916004808301926020929190829003018186803b1580156106d857600080fd5b505afa1580156106ec573d6000803e3d6000fd5b505050506040513d602081101561070257600080fd5b5051905090565b6001600160a01b031660009081526020819052604090205490565b61072e8282610f39565b5050565b600854604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561077d57600080fd5b505afa158015610791573d6000803e3d6000fd5b505050506040513d60208110156107a757600080fd5b50516107eb576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610846576040805162461bcd60e51b815260206004820152601e60248201527f6e65772073746f726167652073686f756c646e277420626520656d7074790000604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561050b5780601f106104e05761010080835404028352916020019161050b565b6008546001600160a01b031681565b600854604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561092357600080fd5b505afa158015610937573d6000803e3d6000fd5b505050506040513d602081101561094d57600080fd5b5051610991576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b61069081610f8d565b6109aa6109a5610a81565b610fdc565b565b60006105296109b9610a81565b846105b6856040518060600160405280602581526020016114a460259139600160006109e3610a81565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610ccd16565b6000610529610a27610a81565b8484610b71565b6000610a4160068363ffffffff61102416565b92915050565b6a1997b293cd61717fd4000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b038316610aca5760405162461bcd60e51b81526004018080602001828103825260248152602001806114806024913960400191505060405180910390fd5b6001600160a01b038216610b0f5760405162461bcd60e51b81526004018080602001828103825260228152602001806113336022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bb65760405162461bcd60e51b815260040180806020018281038252602581526020018061145b6025913960400191505060405180910390fd5b6001600160a01b038216610bfb5760405162461bcd60e51b81526004018080602001828103825260238152602001806112ee6023913960400191505060405180910390fd5b610c3e81604051806060016040528060268152602001611355602691396001600160a01b038616600090815260208190526040902054919063ffffffff610ccd16565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610c73908263ffffffff610d6416565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610d5c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d21578181015183820152602001610d09565b50505050905090810190601f168015610d4e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610dbe576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600754610de082610dd4610532565b9063ffffffff610d6416565b1115610e33576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b61072e828261108b565b6001600160a01b038216610e825760405162461bcd60e51b815260040180806020018281038252602181526020018061143a6021913960400191505060405180910390fd5b610ec581604051806060016040528060228152602001611311602291396001600160a01b038516600090815260208190526040902054919063ffffffff610ccd16565b6001600160a01b038316600090815260208190526040902055600254610ef1908263ffffffff61117b16565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b610f438282610e3d565b61072e82610f4f610a81565b6105b684604051806060016040528060248152602001611416602491396001600160a01b03881660009081526001602052604081209061058f610a81565b610f98610635610a81565b610fd35760405162461bcd60e51b815260040180806020018281038252603081526020018061137b6030913960400191505060405180910390fd5b610690816111bd565b610fed60068263ffffffff61120516565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b03821661106b5760405162461bcd60e51b81526004018080602001828103825260228152602001806113f46022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0382166110e6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6002546110f9908263ffffffff610d6416565b6002556001600160a01b038216600090815260208190526040902054611125908263ffffffff610d6416565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610dbe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ccd565b6111ce60068263ffffffff61126c16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61120f8282611024565b61124a5760405162461bcd60e51b81526004018080602001828103825260218152602001806113ab6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6112768282611024565b156112c8576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff1916600117905556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820eedda6fef69011ec31299d0e08fd37feb2ecabf1688d572f97ffcc2971fe7d4b64736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c95cbe4ca30055c787cb784be99d6a8494d0d197
-----Decoded View---------------
Arg [0] : _storage (address): 0xc95CbE4ca30055c787CB784BE99D6a8494d0d197
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c95cbe4ca30055c787cb784be99d6a8494d0d197
Deployed Bytecode Sourcemap
25752:748:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25752:748:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22462:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;22462:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12136:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;12136:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;11157:91;;;:::i;:::-;;;;;;;;;;;;;;;;12760:304;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;12760:304:0;;;;;;;;;;;;;;;;;:::i;23314:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21312:75;;;:::i;13473:210::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13473:210:0;;;;;;;;:::i;20570:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20570:143:0;;;;;;;;:::i;23871:83::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23871:83:0;;:::i;:::-;;25588:90;;;:::i;:::-;;;;-1:-1:-1;;;;;25588:90:0;;;;;;;;;;;;;;11311:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11311:110:0;-1:-1:-1;;;;;11311:110:0;;:::i;24016:103::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24016:103:0;;;;;;;;:::i;25418:164::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25418:164:0;-1:-1:-1;;;;;25418:164:0;;:::i;22664:87::-;;;:::i;25134:20::-;;;:::i;26402:95::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26402:95:0;-1:-1:-1;;;;;26402:95:0;;:::i;19695:79::-;;;:::i;14186:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14186:261:0;;;;;;;;:::i;11634:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11634:158:0;;;;;;;;:::i;19478:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19478:109:0;-1:-1:-1;;;;;19478:109:0;;:::i;25952:63::-;;;:::i;11855:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11855:134:0;;;;;;;;;;:::i;22462:83::-;22532:5;22525:12;;;;;;;;-1:-1:-1;;22525:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22499:13;;22525:12;;22532:5;;22525:12;;22532:5;22525:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22462:83;:::o;12136:152::-;12202:4;12219:39;12228:12;:10;:12::i;:::-;12242:7;12251:6;12219:8;:39::i;:::-;-1:-1:-1;12276:4:0;12136:152;;;;:::o;11157:91::-;11228:12;;11157:91;:::o;12760:304::-;12849:4;12866:36;12876:6;12884:9;12895:6;12866:9;:36::i;:::-;12913:121;12922:6;12930:12;:10;:12::i;:::-;12944:89;12982:6;12944:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12944:19:0;;;;;;:11;:19;;;;;;12964:12;:10;:12::i;:::-;-1:-1:-1;;;;;12944:33:0;;;;;;;;;;;;-1:-1:-1;12944:33:0;;;:89;;:37;:89;:::i;:::-;12913:8;:121::i;:::-;-1:-1:-1;13052:4:0;12760:304;;;;;:::o;23314:83::-;23380:9;;;;23314:83;:::o;21312:75::-;21375:4;;21312:75;:::o;13473:210::-;13553:4;13570:83;13579:12;:10;:12::i;:::-;13593:7;13602:50;13641:10;13602:11;:25;13614:12;:10;:12::i;:::-;-1:-1:-1;;;;;13602:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;13602:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;20570:143::-;20644:4;19375:22;19384:12;:10;:12::i;:::-;19375:8;:22::i;:::-;19367:83;;;;-1:-1:-1;;;19367:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20661:22;20667:7;20676:6;20661:5;:22::i;23871:83::-;23919:27;23925:12;:10;:12::i;:::-;23939:6;23919:5;:27::i;:::-;23871:83;:::o;25588:90::-;25654:5;;:18;;;-1:-1:-1;;;25654:18:0;;;;25631:7;;-1:-1:-1;;;;;25654:5:0;;:16;;:18;;;;;;;;;;;;;;:5;:18;;;5:2:-1;;;;30:1;27;20:12;5:2;25654:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25654:18:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25654:18:0;;-1:-1:-1;25588:90:0;:::o;11311:110::-;-1:-1:-1;;;;;11395:18:0;11368:7;11395:18;;;;;;;;;;;;11311:110::o;24016:103::-;24085:26;24095:7;24104:6;24085:9;:26::i;:::-;24016:103;;:::o;25418:164::-;25349:5;;:30;;;-1:-1:-1;;;25349:30:0;;25368:10;25349:30;;;;;;-1:-1:-1;;;;;25349:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;25349:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25349:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25349:30:0;25341:57;;;;;-1:-1:-1;;;25341:57:0;;;;;;;;;;;;-1:-1:-1;;;25341:57:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25491:20:0;;25483:63;;;;;-1:-1:-1;;;25483:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25553:5;:23;;-1:-1:-1;;;;;;25553:23:0;-1:-1:-1;;;;;25553:23:0;;;;;;;;;;25418:164::o;22664:87::-;22736:7;22729:14;;;;;;;;-1:-1:-1;;22729:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22703:13;;22729:14;;22736:7;;22729:14;;22736:7;22729:14;;;;;;;;;;;;;;;;;;;;;;;;25134:20;;;-1:-1:-1;;;;;25134:20:0;;:::o;26402:95::-;25349:5;;:30;;;-1:-1:-1;;;25349:30:0;;25368:10;25349:30;;;;;;-1:-1:-1;;;;;25349:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;25349:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25349:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25349:30:0;25341:57;;;;;-1:-1:-1;;;25341:57:0;;;;;;;;;;;;-1:-1:-1;;;25341:57:0;;;;;;;;;;;;;;;26467:24;26483:7;26467:15;:24::i;19695:79::-;19739:27;19753:12;:10;:12::i;:::-;19739:13;:27::i;:::-;19695:79::o;14186:261::-;14271:4;14288:129;14297:12;:10;:12::i;:::-;14311:7;14320:96;14359:15;14320:96;;;;;;;;;;;;;;;;;:11;:25;14332:12;:10;:12::i;:::-;-1:-1:-1;;;;;14320:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14320:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;11634:158::-;11703:4;11720:42;11730:12;:10;:12::i;:::-;11744:9;11755:6;11720:9;:42::i;19478:109::-;19534:4;19558:21;:8;19571:7;19558:21;:12;:21;:::i;:::-;19551:28;19478:109;-1:-1:-1;;19478:109:0:o;25952:63::-;25989:26;25952:63;:::o;11855:134::-;-1:-1:-1;;;;;11954:18:0;;;11927:7;11954:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11855:134::o;858:98::-;938:10;858:98;:::o;17117:338::-;-1:-1:-1;;;;;17211:19:0;;17203:68;;;;-1:-1:-1;;;17203:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17290:21:0;;17282:68;;;;-1:-1:-1;;;17282:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17363:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;17415:32;;;;;;;;;;;;;;;;;17117:338;;;:::o;14937:471::-;-1:-1:-1;;;;;15035:20:0;;15027:70;;;;-1:-1:-1;;;15027:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15116:23:0;;15108:71;;;;-1:-1:-1;;;15108:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15212;15234:6;15212:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15212:17:0;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;15192:17:0;;;:9;:17;;;;;;;;;;;:91;;;;15317:20;;;;;;;:32;;15342:6;15317:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;15294:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;15365:35;;;;;;;15294:20;;15365:35;;;;;;;;;;;;;14937:471;;;:::o;5918:192::-;6004:7;6040:12;6032:6;;;;6024:29;;;;-1:-1:-1;;;6024:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6024:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6076:5:0;;;5918:192::o;4989:181::-;5047:7;5079:5;;;5103:6;;;;5095:46;;;;;-1:-1:-1;;;5095:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5161:1;4989:181;-1:-1:-1;;;4989:181:0:o;21560:183::-;21663:4;;21635:24;21653:5;21635:13;:11;:13::i;:::-;:17;:24;:17;:24;:::i;:::-;:32;;21627:70;;;;;-1:-1:-1;;;21627:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21708:27;21720:7;21729:5;21708:11;:27::i;16329:348::-;-1:-1:-1;;;;;16405:21:0;;16397:67;;;;-1:-1:-1;;;16397:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16498:68;16521:6;16498:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16498:18:0;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;16477:18:0;;:9;:18;;;;;;;;;;:89;16592:12;;:24;;16609:6;16592:24;:16;:24;:::i;:::-;16577:12;:39;16632:37;;;;;;;;16658:1;;-1:-1:-1;;;;;16632:37:0;;;;;;;;;;;;16329:348;;:::o;17641:232::-;17713:22;17719:7;17728:6;17713:5;:22::i;:::-;17746:119;17755:7;17764:12;:10;:12::i;:::-;17778:86;17817:6;17778:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17778:20:0;;;;;;:11;:20;;;;;;17799:12;:10;:12::i;19595:92::-;19375:22;19384:12;:10;:12::i;19375:22::-;19367:83;;;;-1:-1:-1;;;19367:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19660:19;19671:7;19660:10;:19::i;19912:130::-;19972:24;:8;19988:7;19972:24;:15;:24;:::i;:::-;20012:22;;-1:-1:-1;;;;;20012:22:0;;;;;;;;19912:130;:::o;18743:203::-;18815:4;-1:-1:-1;;;;;18840:21:0;;18832:68;;;;-1:-1:-1;;;18832:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18918:20:0;:11;:20;;;;;;;;;;;;;;;18743:203::o;15689:308::-;-1:-1:-1;;;;;15765:21:0;;15757:65;;;;;-1:-1:-1;;;15757:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15850:12;;:24;;15867:6;15850:24;:16;:24;:::i;:::-;15835:12;:39;-1:-1:-1;;;;;15906:18:0;;:9;:18;;;;;;;;;;;:30;;15929:6;15906:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;15885:18:0;;:9;:18;;;;;;;;;;;:51;;;;15952:37;;;;;;;15885:18;;:9;;15952:37;;;;;;;;;;15689:308;;:::o;5445:136::-;5503:7;5530:43;5534:1;5537;5530:43;;;;;;;;;;;;;;;;;:3;:43::i;19782:122::-;19839:21;:8;19852:7;19839:21;:12;:21;:::i;:::-;19876:20;;-1:-1:-1;;;;;19876:20:0;;;;;;;;19782:122;:::o;18465:183::-;18545:18;18549:4;18555:7;18545:3;:18::i;:::-;18537:64;;;;-1:-1:-1;;;18537:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18612:20:0;18635:5;18612:20;;;;;;;;;;;:28;;-1:-1:-1;;18612:28:0;;;18465:183::o;18207:178::-;18285:18;18289:4;18295:7;18285:3;:18::i;:::-;18284:19;18276:63;;;;;-1:-1:-1;;;18276:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18350:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;18350:27:0;18373:4;18350:27;;;18207:178::o
Swarm Source
bzzr://eedda6fef69011ec31299d0e08fd37feb2ecabf1688d572f97ffcc2971fe7d4b
Loading...
Loading
Loading...
Loading
OVERVIEW
GRAIN is a buyback token for USDC/USDT depositors that feeds a percentage of total weekly emissions to reparations pools.Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.