Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 146 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Storage | 13851100 | 1111 days ago | IN | 0 ETH | 0.00416373 | ||||
Execute Mint | 13851098 | 1111 days ago | IN | 0 ETH | 0.01283717 | ||||
Set Storage | 13850719 | 1111 days ago | IN | 0 ETH | 0.00261443 | ||||
Set Storage | 13831692 | 1114 days ago | IN | 0 ETH | 0.00222711 | ||||
Set Storage | 13831648 | 1114 days ago | IN | 0 ETH | 0.00222711 | ||||
Announce Mint | 13805061 | 1118 days ago | IN | 0 ETH | 0.00905433 | ||||
Execute Mint | 13805019 | 1118 days ago | IN | 0 ETH | 0.00855811 | ||||
Announce Mint | 13760200 | 1125 days ago | IN | 0 ETH | 0.01347622 | ||||
Execute Mint | 13760168 | 1125 days ago | IN | 0 ETH | 0.01273766 | ||||
Announce Mint | 13716787 | 1132 days ago | IN | 0 ETH | 0.02084603 | ||||
Execute Mint | 13716500 | 1132 days ago | IN | 0 ETH | 0.01204107 | ||||
Announce Mint | 13672619 | 1139 days ago | IN | 0 ETH | 0.01316037 | ||||
Execute Mint | 13672547 | 1139 days ago | IN | 0 ETH | 0.01243912 | ||||
Announce Mint | 13628413 | 1146 days ago | IN | 0 ETH | 0.01516075 | ||||
Execute Mint | 13628333 | 1146 days ago | IN | 0 ETH | 0.01482743 | ||||
Announce Mint | 13583999 | 1153 days ago | IN | 0 ETH | 0.02021433 | ||||
Execute Mint | 13583855 | 1153 days ago | IN | 0 ETH | 0.01910649 | ||||
Announce Mint | 13539066 | 1160 days ago | IN | 0 ETH | 0.01937207 | ||||
Execute Mint | 13538985 | 1160 days ago | IN | 0 ETH | 0.01831039 | ||||
Announce Mint | 13494699 | 1167 days ago | IN | 0 ETH | 0.02053018 | ||||
Execute Mint | 13494452 | 1167 days ago | IN | 0 ETH | 0.02109675 | ||||
Announce Mint | 13449742 | 1174 days ago | IN | 0 ETH | 0.00810679 | ||||
Execute Mint | 13449654 | 1174 days ago | IN | 0 ETH | 0.0076625 | ||||
Announce Mint | 13411092 | 1181 days ago | IN | 0 ETH | 0.01537131 | ||||
Execute Mint | 13411073 | 1181 days ago | IN | 0 ETH | 0.00487581 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DelayMinter
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-31 */ // 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/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/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/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: 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/DelayMinter.sol pragma solidity 0.5.16; /* * This contract is to ensure our users will not get exit-scammed * while retaining the possibility of providing new rewards. * * The governance has to announce the minting first and wait for the * `duration`. Only after that `duration` is passed, can the governance * create new rewards. * * The usage of this contract itself does not mean it is free from exit-scam. * Thus we provide some guidance for the user on how to check. * * User due diligence guide: * [1] DelayMinter has to be the only type of Minters for the RewardToken * * [2] The ownership of RewardToken has to be renounced * (to ensure no new minters can be added) * * [3] The duration of all DelayMinters should be set to a reasonable time. * The numbers reported are in seconds. * * * Only then, the users are free from exit scams. * */ contract DelayMinter is Governable { using SafeMath for uint256; struct MintingAnnouncement{ address target; uint256 amount; uint256 timeToMint; } address public team; address public operator; uint256 public lpRatio = 70; uint256 public teamRatio = 20; // not used, but keeping for clarity uint256 public operationRatio = 10; uint256 public totalRatio = 100; address public token; uint256 public delay; uint256 public nextId; // announcements[_id] returns Minting announcement struct mapping (uint256 => MintingAnnouncement) announcements; // Note that not all amount goes to the target // it would be distributed according to the predefined ratio // target will get (lpRatio/totalRatio * amount) event MintingAnnounced(uint256 id, address target, uint256 _amount, uint256 timeActive); event CancelMinting(uint256 id); event NewTeam(address team); event NewOperator(address operator); constructor(address _storage, address _token, uint256 _delay, address _team, address _operator) Governable(_storage) public { token = _token; require(token != address(0), "token not set"); delay = _delay; require(delay != 0, "delay not set"); team = _team; require(team != address(0), "team not set"); operator = _operator; require(operator != address(0), "operator not set"); nextId = 0; } // Note that not all amount goes to the target // it would be distributed according to the predefined ratio // target will get (lpRatio/totalRatio * amount) function announceMint(address _target, uint256 _amount) public onlyGovernance { require(_target != address(0), "target cannot be 0x0 address"); require(_amount != 0, "Amount should be greater than 0"); uint256 timeToMint = block.timestamp + delay; // set the new minting announcements[nextId] = MintingAnnouncement( _target, _amount, timeToMint ); emit MintingAnnounced(nextId, _target, _amount, timeToMint); // Overflow is unlikely to happen // furthermore, we can reuse the id even if it overflowed. nextId++; } // Governance can only mint if it is already announced and the delay has passed function executeMint(uint256 _id) public onlyGovernance { address target = announcements[_id].target; uint256 amount = announcements[_id].amount; // now this is the total amount require(target != address(0), "Minting needs to be first announced"); require(amount != 0, "Amount should be greater than 0"); require(block.timestamp >= announcements[_id].timeToMint, "Cannot mint yet"); uint256 toTarget = amount.mul(lpRatio).div(totalRatio); uint256 toOperator = amount.mul(operationRatio).div(totalRatio); uint256 toTeam = amount.sub(toTarget).sub(toOperator); ERC20Mintable(token).mint(target, toTarget); ERC20Mintable(token).mint(operator, toOperator); ERC20Mintable(token).mint(team, toTeam); // clear out so that it prevents governance from reusing the announcement // it also saves gas and we can reuse the announcements even if the id overflowed delete announcements[_id]; } function cancelMint(uint256 _id) public onlyGovernance { require(announcements[_id].target != address(0), "Minting needs to be first announced"); require(announcements[_id].amount != 0, "Amount should be greater than 0"); delete announcements[_id]; emit CancelMinting(_id); } function setTeam(address _team) public onlyGovernance { require(_team != address(0), "Address should not be 0"); team = _team; emit NewTeam(_team); } function setOperator(address _operator) public onlyGovernance { require(_operator != address(0), "Address should not be 0"); operator = _operator; emit NewOperator(_operator); } function renounceMinting() public onlyGovernance { ERC20Mintable(token).renounceMinter(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_storage","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_delay","type":"uint256"},{"internalType":"address","name":"_team","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"CancelMinting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeActive","type":"uint256"}],"name":"MintingAnnounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"}],"name":"NewOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"team","type":"address"}],"name":"NewTeam","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"announceMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"cancelMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"delay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"executeMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lpRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"operationRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","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":false,"inputs":[{"internalType":"address","name":"_team","type":"address"}],"name":"setTeam","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":"team","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"teamRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260466003556014600455600a600555606460065534801561002457600080fd5b5060405161150b38038061150b833981810160405260a081101561004757600080fd5b50805160208201516040830151606084015160809094015192939192909190846001600160a01b0381166100c2576040805162461bcd60e51b815260206004820152601e60248201527f6e65772073746f726167652073686f756c646e277420626520656d7074790000604482015290519081900360640190fd5b600080546001600160a01b03199081166001600160a01b039384161790915560078054909116868316179081905516610132576040805162461bcd60e51b815260206004820152600d60248201526c1d1bdad95b881b9bdd081cd95d609a1b604482015290519081900360640190fd5b600883905582610179576040805162461bcd60e51b815260206004820152600d60248201526c19195b185e481b9bdd081cd95d609a1b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b038481169190911791829055166101db576040805162461bcd60e51b815260206004820152600c60248201526b1d19585b481b9bdd081cd95d60a21b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b03838116919091179182905516610241576040805162461bcd60e51b815260206004820152601060248201526f1bdc195c985d1bdc881b9bdd081cd95d60821b604482015290519081900360640190fd5b505060006009555050506112b18061025a6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80639137c1a7116100a2578063b3ab15fb11610071578063b3ab15fb14610213578063e7a486fb14610239578063f70b6f8c14610256578063fc0c546a1461025e578063ff5528e01461026657610116565b80639137c1a7146101b1578063975057e7146101d75780639ad277f9146101df5780639fc3ab031461020b57610116565b80635aa6e675116100e95780635aa6e6751461018957806361b8ce8c146101915780636a42b8f8146101995780637af2c8ad146101a157806385f2aef2146101a957610116565b8063095cf5c61461011b5780634aee525814610143578063510ffc9b1461015d578063570ca73514610165575b600080fd5b6101416004803603602081101561013157600080fd5b50356001600160a01b0316610283565b005b61014b6103e5565b60408051918252519081900360200190f35b6101416103eb565b61016d61050e565b604080516001600160a01b039092168252519081900360200190f35b61016d61051d565b61014b61059d565b61014b6105a3565b61014b6105a9565b61016d6105af565b610141600480360360208110156101c757600080fd5b50356001600160a01b03166105be565b61016d6106f4565b610141600480360360408110156101f557600080fd5b506001600160a01b038135169060200135610703565b61014b610920565b6101416004803603602081101561022957600080fd5b50356001600160a01b0316610926565b6101416004803603602081101561024f57600080fd5b5035610a88565b61014b610e71565b61016d610e77565b6101416004803603602081101561027c57600080fd5b5035610e86565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b1580156102ce57600080fd5b505afa1580156102e2573d6000803e3d6000fd5b505050506040513d60208110156102f857600080fd5b505161033c576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610391576040805162461bcd60e51b81526020600482015260176024820152760416464726573732073686f756c64206e6f74206265203604c1b604482015290519081900360640190fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f206d730d55a81bf1fdfee2c0bf4c8464ea157549f83c21c1f2ab1619a2704b5a9181900360200190a150565b60065481565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561043657600080fd5b505afa15801561044a573d6000803e3d6000fd5b505050506040513d602081101561046057600080fd5b50516104a4576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b600760009054906101000a90046001600160a01b03166001600160a01b031663986502756040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156104f457600080fd5b505af1158015610508573d6000803e3d6000fd5b50505050565b6002546001600160a01b031681565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635aa6e6756040518163ffffffff1660e01b815260040160206040518083038186803b15801561056c57600080fd5b505afa158015610580573d6000803e3d6000fd5b505050506040513d602081101561059657600080fd5b5051905090565b60095481565b60085481565b60055481565b6001546001600160a01b031681565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561060957600080fd5b505afa15801561061d573d6000803e3d6000fd5b505050506040513d602081101561063357600080fd5b5051610677576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b0381166106d2576040805162461bcd60e51b815260206004820152601e60248201527f6e65772073746f726167652073686f756c646e277420626520656d7074790000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031681565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561074e57600080fd5b505afa158015610762573d6000803e3d6000fd5b505050506040513d602081101561077857600080fd5b50516107bc576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038216610817576040805162461bcd60e51b815260206004820152601c60248201527f7461726765742063616e6e6f7420626520307830206164647265737300000000604482015290519081900360640190fd5b80610869576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e742073686f756c642062652067726561746572207468616e203000604482015290519081900360640190fd5b60085460408051606080820183526001600160a01b03868116808452602080850188815242909701858701818152600980546000908152600a8552899020975188546001600160a01b03191696169590951787559751600187015596516002909501949094559054845190815292830152818301859052810183905290517f4a83f3d886f3d4f5a11a5c895bb2e5c9b6c6f04f06cfc7b3a4eaa6de3f9c22b4916080908290030190a1505060098054600101905550565b60045481565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561097157600080fd5b505afa158015610985573d6000803e3d6000fd5b505050506040513d602081101561099b57600080fd5b50516109df576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610a34576040805162461bcd60e51b81526020600482015260176024820152760416464726573732073686f756c64206e6f74206265203604c1b604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a9181900360200190a150565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b158015610ad357600080fd5b505afa158015610ae7573d6000803e3d6000fd5b505050506040513d6020811015610afd57600080fd5b5051610b41576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6000818152600a6020526040902080546001909101546001600160a01b039091169081610b9f5760405162461bcd60e51b815260040180806020018281038252602381526020018061125a6023913960400191505060405180910390fd5b80610bf1576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e742073686f756c642062652067726561746572207468616e203000604482015290519081900360640190fd5b6000838152600a6020526040902060020154421015610c49576040805162461bcd60e51b815260206004820152600f60248201526e10d85b9b9bdd081b5a5b9d081e595d608a1b604482015290519081900360640190fd5b6000610c72600654610c666003548561105690919063ffffffff16565b9063ffffffff6110b816565b90506000610c91600654610c666005548661105690919063ffffffff16565b90506000610cb582610ca9868663ffffffff6110fa16565b9063ffffffff6110fa16565b600754604080516340c10f1960e01b81526001600160a01b0389811660048301526024820188905291519394509116916340c10f19916044808201926020929091908290030181600087803b158015610d0d57600080fd5b505af1158015610d21573d6000803e3d6000fd5b505050506040513d6020811015610d3757600080fd5b5050600754600254604080516340c10f1960e01b81526001600160a01b03928316600482015260248101869052905191909216916340c10f199160448083019260209291908290030181600087803b158015610d9257600080fd5b505af1158015610da6573d6000803e3d6000fd5b505050506040513d6020811015610dbc57600080fd5b5050600754600154604080516340c10f1960e01b81526001600160a01b03928316600482015260248101859052905191909216916340c10f199160448083019260209291908290030181600087803b158015610e1757600080fd5b505af1158015610e2b573d6000803e3d6000fd5b505050506040513d6020811015610e4157600080fd5b50505060009485525050600a60205250506040812080546001600160a01b03191681556001810182905560020155565b60035481565b6007546001600160a01b031681565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b158015610ed157600080fd5b505afa158015610ee5573d6000803e3d6000fd5b505050506040513d6020811015610efb57600080fd5b5051610f3f576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6000818152600a60205260409020546001600160a01b0316610f925760405162461bcd60e51b815260040180806020018281038252602381526020018061125a6023913960400191505060405180910390fd5b6000818152600a6020526040902060010154610ff5576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e742073686f756c642062652067726561746572207468616e203000604482015290519081900360640190fd5b6000818152600a6020908152604080832080546001600160a01b03191681556001810184905560020192909255815183815291517f4b6af408dd68b0f87d2f41327d424da2e11ccf5ce6bc494cc09ab0da6a344c059281900390910190a150565b600082611065575060006110b2565b8282028284828161107257fe5b04146110af5760405162461bcd60e51b81526004018080602001828103825260218152602001806112396021913960400191505060405180910390fd5b90505b92915050565b60006110af83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061113c565b60006110af83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111de565b600081836111c85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561118d578181015183820152602001611175565b50505050905090810190601f1680156111ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816111d457fe5b0495945050505050565b600081848411156112305760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561118d578181015183820152602001611175565b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d696e74696e67206e6565647320746f20626520666972737420616e6e6f756e636564a265627a7a7231582052720572f62384a52af59e8fc279964f2623636ac966bdb81e48d3944947719d64736f6c63430005100032000000000000000000000000c95cbe4ca30055c787cb784be99d6a8494d0d197000000000000000000000000a0246c9032bc3a600820415ae600c6388619a14d0000000000000000000000000000000000000000000000000000000000015180000000000000000000000000f00dd244228f51547f0563e60bca65a30fbf5f7f000000000000000000000000f00dd244228f51547f0563e60bca65a30fbf5f7f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c80639137c1a7116100a2578063b3ab15fb11610071578063b3ab15fb14610213578063e7a486fb14610239578063f70b6f8c14610256578063fc0c546a1461025e578063ff5528e01461026657610116565b80639137c1a7146101b1578063975057e7146101d75780639ad277f9146101df5780639fc3ab031461020b57610116565b80635aa6e675116100e95780635aa6e6751461018957806361b8ce8c146101915780636a42b8f8146101995780637af2c8ad146101a157806385f2aef2146101a957610116565b8063095cf5c61461011b5780634aee525814610143578063510ffc9b1461015d578063570ca73514610165575b600080fd5b6101416004803603602081101561013157600080fd5b50356001600160a01b0316610283565b005b61014b6103e5565b60408051918252519081900360200190f35b6101416103eb565b61016d61050e565b604080516001600160a01b039092168252519081900360200190f35b61016d61051d565b61014b61059d565b61014b6105a3565b61014b6105a9565b61016d6105af565b610141600480360360208110156101c757600080fd5b50356001600160a01b03166105be565b61016d6106f4565b610141600480360360408110156101f557600080fd5b506001600160a01b038135169060200135610703565b61014b610920565b6101416004803603602081101561022957600080fd5b50356001600160a01b0316610926565b6101416004803603602081101561024f57600080fd5b5035610a88565b61014b610e71565b61016d610e77565b6101416004803603602081101561027c57600080fd5b5035610e86565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b1580156102ce57600080fd5b505afa1580156102e2573d6000803e3d6000fd5b505050506040513d60208110156102f857600080fd5b505161033c576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610391576040805162461bcd60e51b81526020600482015260176024820152760416464726573732073686f756c64206e6f74206265203604c1b604482015290519081900360640190fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f206d730d55a81bf1fdfee2c0bf4c8464ea157549f83c21c1f2ab1619a2704b5a9181900360200190a150565b60065481565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561043657600080fd5b505afa15801561044a573d6000803e3d6000fd5b505050506040513d602081101561046057600080fd5b50516104a4576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b600760009054906101000a90046001600160a01b03166001600160a01b031663986502756040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156104f457600080fd5b505af1158015610508573d6000803e3d6000fd5b50505050565b6002546001600160a01b031681565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635aa6e6756040518163ffffffff1660e01b815260040160206040518083038186803b15801561056c57600080fd5b505afa158015610580573d6000803e3d6000fd5b505050506040513d602081101561059657600080fd5b5051905090565b60095481565b60085481565b60055481565b6001546001600160a01b031681565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561060957600080fd5b505afa15801561061d573d6000803e3d6000fd5b505050506040513d602081101561063357600080fd5b5051610677576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b0381166106d2576040805162461bcd60e51b815260206004820152601e60248201527f6e65772073746f726167652073686f756c646e277420626520656d7074790000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031681565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561074e57600080fd5b505afa158015610762573d6000803e3d6000fd5b505050506040513d602081101561077857600080fd5b50516107bc576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038216610817576040805162461bcd60e51b815260206004820152601c60248201527f7461726765742063616e6e6f7420626520307830206164647265737300000000604482015290519081900360640190fd5b80610869576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e742073686f756c642062652067726561746572207468616e203000604482015290519081900360640190fd5b60085460408051606080820183526001600160a01b03868116808452602080850188815242909701858701818152600980546000908152600a8552899020975188546001600160a01b03191696169590951787559751600187015596516002909501949094559054845190815292830152818301859052810183905290517f4a83f3d886f3d4f5a11a5c895bb2e5c9b6c6f04f06cfc7b3a4eaa6de3f9c22b4916080908290030190a1505060098054600101905550565b60045481565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b15801561097157600080fd5b505afa158015610985573d6000803e3d6000fd5b505050506040513d602081101561099b57600080fd5b50516109df576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6001600160a01b038116610a34576040805162461bcd60e51b81526020600482015260176024820152760416464726573732073686f756c64206e6f74206265203604c1b604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fda12ee837e6978172aaf54b16145ffe08414fd8710092ef033c71b8eb6ec189a9181900360200190a150565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b158015610ad357600080fd5b505afa158015610ae7573d6000803e3d6000fd5b505050506040513d6020811015610afd57600080fd5b5051610b41576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6000818152600a6020526040902080546001909101546001600160a01b039091169081610b9f5760405162461bcd60e51b815260040180806020018281038252602381526020018061125a6023913960400191505060405180910390fd5b80610bf1576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e742073686f756c642062652067726561746572207468616e203000604482015290519081900360640190fd5b6000838152600a6020526040902060020154421015610c49576040805162461bcd60e51b815260206004820152600f60248201526e10d85b9b9bdd081b5a5b9d081e595d608a1b604482015290519081900360640190fd5b6000610c72600654610c666003548561105690919063ffffffff16565b9063ffffffff6110b816565b90506000610c91600654610c666005548661105690919063ffffffff16565b90506000610cb582610ca9868663ffffffff6110fa16565b9063ffffffff6110fa16565b600754604080516340c10f1960e01b81526001600160a01b0389811660048301526024820188905291519394509116916340c10f19916044808201926020929091908290030181600087803b158015610d0d57600080fd5b505af1158015610d21573d6000803e3d6000fd5b505050506040513d6020811015610d3757600080fd5b5050600754600254604080516340c10f1960e01b81526001600160a01b03928316600482015260248101869052905191909216916340c10f199160448083019260209291908290030181600087803b158015610d9257600080fd5b505af1158015610da6573d6000803e3d6000fd5b505050506040513d6020811015610dbc57600080fd5b5050600754600154604080516340c10f1960e01b81526001600160a01b03928316600482015260248101859052905191909216916340c10f199160448083019260209291908290030181600087803b158015610e1757600080fd5b505af1158015610e2b573d6000803e3d6000fd5b505050506040513d6020811015610e4157600080fd5b50505060009485525050600a60205250506040812080546001600160a01b03191681556001810182905560020155565b60035481565b6007546001600160a01b031681565b600054604080516337b87c3960e21b815233600482015290516001600160a01b039092169163dee1f0e491602480820192602092909190829003018186803b158015610ed157600080fd5b505afa158015610ee5573d6000803e3d6000fd5b505050506040513d6020811015610efb57600080fd5b5051610f3f576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420676f7665726e616e636560901b604482015290519081900360640190fd5b6000818152600a60205260409020546001600160a01b0316610f925760405162461bcd60e51b815260040180806020018281038252602381526020018061125a6023913960400191505060405180910390fd5b6000818152600a6020526040902060010154610ff5576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e742073686f756c642062652067726561746572207468616e203000604482015290519081900360640190fd5b6000818152600a6020908152604080832080546001600160a01b03191681556001810184905560020192909255815183815291517f4b6af408dd68b0f87d2f41327d424da2e11ccf5ce6bc494cc09ab0da6a344c059281900390910190a150565b600082611065575060006110b2565b8282028284828161107257fe5b04146110af5760405162461bcd60e51b81526004018080602001828103825260218152602001806112396021913960400191505060405180910390fd5b90505b92915050565b60006110af83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061113c565b60006110af83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111de565b600081836111c85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561118d578181015183820152602001611175565b50505050905090810190601f1680156111ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816111d457fe5b0495945050505050565b600081848411156112305760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561118d578181015183820152602001611175565b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d696e74696e67206e6565647320746f20626520666972737420616e6e6f756e636564a265627a7a7231582052720572f62384a52af59e8fc279964f2623636ac966bdb81e48d3944947719d64736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c95cbe4ca30055c787cb784be99d6a8494d0d197000000000000000000000000a0246c9032bc3a600820415ae600c6388619a14d0000000000000000000000000000000000000000000000000000000000015180000000000000000000000000f00dd244228f51547f0563e60bca65a30fbf5f7f000000000000000000000000f00dd244228f51547f0563e60bca65a30fbf5f7f
-----Decoded View---------------
Arg [0] : _storage (address): 0xc95CbE4ca30055c787CB784BE99D6a8494d0d197
Arg [1] : _token (address): 0xa0246c9032bC3A600820415aE600c6388619A14D
Arg [2] : _delay (uint256): 86400
Arg [3] : _team (address): 0xf00dD244228F51547f0563e60bCa65a30FBF5f7f
Arg [4] : _operator (address): 0xf00dD244228F51547f0563e60bCa65a30FBF5f7f
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000c95cbe4ca30055c787cb784be99d6a8494d0d197
Arg [1] : 000000000000000000000000a0246c9032bc3a600820415ae600c6388619a14d
Arg [2] : 0000000000000000000000000000000000000000000000000000000000015180
Arg [3] : 000000000000000000000000f00dd244228f51547f0563e60bca65a30fbf5f7f
Arg [4] : 000000000000000000000000f00dd244228f51547f0563e60bca65a30fbf5f7f
Deployed Bytecode Sourcemap
24888:4034:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24888:4034:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28446:167;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28446:167:0;-1:-1:-1;;;;;28446:167:0;;:::i;:::-;;25274:35;;;:::i;:::-;;;;;;;;;;;;;;;;28820:99;;;:::i;25090:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25090:23:0;;;;;;;;;;;;;;23836:90;;;:::i;25368:21::-;;;:::i;25341:20::-;;;:::i;25235:34::-;;;:::i;25066:19::-;;;:::i;23666:164::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23666:164:0;-1:-1:-1;;;;;23666:164:0;;:::i;23382:20::-;;;:::i;26501:589::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26501:589:0;;;;;;;;:::i;25159:34::-;;;:::i;28619:195::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28619:195:0;-1:-1:-1;;;;;28619:195:0;;:::i;27179:957::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27179:957:0;;:::i;25120:34::-;;;:::i;25316:20::-;;;:::i;28142:298::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28142:298:0;;:::i;28446:167::-;23597:5;;:30;;;-1:-1:-1;;;23597:30:0;;23616:10;23597:30;;;;;;-1:-1:-1;;;;;23597:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;23597:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23597:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23597:30:0;23589:57;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28515:19:0;;28507:55;;;;;-1:-1:-1;;;28507:55:0;;;;;;;;;;;;-1:-1:-1;;;28507:55:0;;;;;;;;;;;;;;;28569:4;:12;;-1:-1:-1;;;;;28569:12:0;;-1:-1:-1;;;;;;28569:12:0;;;;;;;;28593:14;;;;;;;;;;;;;;;;28446:167;:::o;25274:35::-;;;;:::o;28820:99::-;23597:5;;:30;;;-1:-1:-1;;;23597:30:0;;23616:10;23597:30;;;;;;-1:-1:-1;;;;;23597:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;23597:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23597:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23597:30:0;23589:57;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;;;;28890:5;;;;;;;;;-1:-1:-1;;;;;28890:5:0;-1:-1:-1;;;;;28876:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28876:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28876:37:0;;;;28820:99::o;25090:23::-;;;-1:-1:-1;;;;;25090:23:0;;:::o;23836:90::-;23879:7;23902:5;;;;;;;;;-1:-1:-1;;;;;23902:5:0;-1:-1:-1;;;;;23902:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23902:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23902:18:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23902:18:0;;-1:-1:-1;23836:90:0;:::o;25368:21::-;;;;:::o;25341:20::-;;;;:::o;25235:34::-;;;;:::o;25066:19::-;;;-1:-1:-1;;;;;25066:19:0;;:::o;23666:164::-;23597:5;;:30;;;-1:-1:-1;;;23597:30:0;;23616:10;23597:30;;;;;;-1:-1:-1;;;;;23597:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;23597:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23597:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23597:30:0;23589:57;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;23739:20:0;;23731:63;;;;;-1:-1:-1;;;23731:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23801:5;:23;;-1:-1:-1;;;;;;23801:23:0;-1:-1:-1;;;;;23801:23:0;;;;;;;;;;23666:164::o;23382:20::-;;;-1:-1:-1;;;;;23382:20:0;;:::o;26501:589::-;23597:5;;:30;;;-1:-1:-1;;;23597:30:0;;23616:10;23597:30;;;;;;-1:-1:-1;;;;;23597:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;23597:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23597:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23597:30:0;23589:57;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;26594:21:0;;26586:62;;;;;-1:-1:-1;;;26586:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26663:12;26655:56;;;;;-1:-1:-1;;;26655:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26759:5;;26823:77;;;;;;;;;-1:-1:-1;;;;;26823:77:0;;;;;;;;;;;;;26741:15;:23;;;26823:77;;;;;;26813:6;;;-1:-1:-1;26799:21:0;;;:13;:21;;;;;:101;;;;-1:-1:-1;;;;;;26799:101:0;;;;;;;;;;;-1:-1:-1;26799:101:0;;;;;;;;;;;;;26929:6;;26912:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27076:6:0;:8;;;;;;-1:-1:-1;26501:589:0:o;25159:34::-;;;;:::o;28619:195::-;23597:5;;:30;;;-1:-1:-1;;;23597:30:0;;23616:10;23597:30;;;;;;-1:-1:-1;;;;;23597:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;23597:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23597:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23597:30:0;23589:57;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28696:23:0;;28688:59;;;;;-1:-1:-1;;;28688:59:0;;;;;;;;;;;;-1:-1:-1;;;28688:59:0;;;;;;;;;;;;;;;28754:8;:20;;-1:-1:-1;;;;;28754:20:0;;-1:-1:-1;;;;;;28754:20:0;;;;;;;;28786:22;;;;;;;;;;;;;;;;28619:195;:::o;27179:957::-;23597:5;;:30;;;-1:-1:-1;;;23597:30:0;;23616:10;23597:30;;;;;;-1:-1:-1;;;;;23597:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;23597:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23597:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23597:30:0;23589:57;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;;;;27242:14;27259:18;;;:13;:18;;;;;:25;;;27308;;;;-1:-1:-1;;;;;27259:25:0;;;;27382:20;27374:68;;;;-1:-1:-1;;;27374:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27457:11;27449:55;;;;;-1:-1:-1;;;27449:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27538:18;;;;:13;:18;;;;;:29;;;27519:15;:48;;27511:76;;;;;-1:-1:-1;;;27511:76:0;;;;;;;;;;;;-1:-1:-1;;;27511:76:0;;;;;;;;;;;;;;;27596:16;27615:35;27639:10;;27615:19;27626:7;;27615:6;:10;;:19;;;;:::i;:::-;:23;:35;:23;:35;:::i;:::-;27596:54;;27657:18;27678:42;27709:10;;27678:26;27689:14;;27678:6;:10;;:26;;;;:::i;:42::-;27657:63;-1:-1:-1;27727:14:0;27744:36;27657:63;27744:20;:6;27755:8;27744:20;:10;:20;:::i;:::-;:24;:36;:24;:36;:::i;:::-;27801:5;;27787:43;;;-1:-1:-1;;;27787:43:0;;-1:-1:-1;;;;;27787:43:0;;;;;;;;;;;;;;;27727:53;;-1:-1:-1;27801:5:0;;;27787:25;;:43;;;;;;;;;;;;;;;27801:5;;27787:43;;;5:2:-1;;;;30:1;27;20:12;5:2;27787:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27787:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;27851:5:0;;27863:8;;27837:47;;;-1:-1:-1;;;27837:47:0;;-1:-1:-1;;;;;27863:8:0;;;27837:47;;;;;;;;;;;;27851:5;;;;;27837:25;;:47;;;;;27787:43;;27837:47;;;;;;;27851:5;;27837:47;;;5:2:-1;;;;30:1;27;20:12;5:2;27837:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27837:47:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;27905:5:0;;;27917:4;27891:39;;;-1:-1:-1;;;27891:39:0;;-1:-1:-1;;;;;27917:4:0;;;27891:39;;;;;;;;;;;;27905:5;;;;;27891:25;;:39;;;;;27837:47;;27891:39;;;;;;;27905:5;;27891:39;;;5:2:-1;;;;30:1;27;20:12;5:2;27891:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27891:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;28112:18:0;;;;-1:-1:-1;;28112:13:0;27891:39;28112:18;-1:-1:-1;;28112:18:0;;;28105:25;;-1:-1:-1;;;;;;28105:25:0;;;;;;;;;;;;27179:957::o;25120:34::-;;;;:::o;25316:20::-;;;-1:-1:-1;;;;;25316:20:0;;:::o;28142:298::-;23597:5;;:30;;;-1:-1:-1;;;23597:30:0;;23616:10;23597:30;;;;;;-1:-1:-1;;;;;23597:5:0;;;;:18;;:30;;;;;;;;;;;;;;;:5;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;23597:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23597:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23597:30:0;23589:57;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;-1:-1:-1;;;23589:57:0;;;;;;;;;;;;;;;28249:1;28212:18;;;:13;:18;;;;;:25;-1:-1:-1;;;;;28212:25:0;28204:87;;;;-1:-1:-1;;;28204:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28306:18;;;;:13;:18;;;;;:25;;;28298:74;;;;;-1:-1:-1;;;28298:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28386:18;;;;:13;:18;;;;;;;;28379:25;;-1:-1:-1;;;;;;28379:25:0;;;;;;;;;;;;;;;28416:18;;;;;;;;;;;;;;;;;28142:298;:::o;5165:471::-;5223:7;5468:6;5464:47;;-1:-1:-1;5498:1:0;5491:8;;5464:47;5535:5;;;5539:1;5535;:5;:1;5559:5;;;;;:10;5551:56;;;;-1:-1:-1;;;5551:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5627:1;-1:-1:-1;5165:471:0;;;;;:::o;6104:132::-;6162:7;6189:39;6193:1;6196;6189:39;;;;;;;;;;;;;;;;;:3;:39::i;4249:136::-;4307:7;4334:43;4338:1;4341;4334:43;;;;;;;;;;;;;;;;;:3;:43::i;6766:345::-;6852:7;6954:12;6947:5;6939:28;;;;-1:-1:-1;;;6939:28: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;6939:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6978:9;6994:1;6990;:5;;;;;;;6766:345;-1:-1:-1;;;;;6766:345:0:o;4722:192::-;4808:7;4844:12;4836:6;;;;4828:29;;;;-1:-1:-1;;;4828:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4828:29:0;-1:-1:-1;;;4880:5:0;;;4722:192::o
Swarm Source
bzzr://52720572f62384a52af59e8fc279964f2623636ac966bdb81e48d3944947719d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.