Token migration announcement. LeisureMeta token contract has migrated to a new address.
ERC-20
NFT
Overview
Max Total Supply
2,963,365,034.180208001115484147 LM
Holders
3,592 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LeisureMeta
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract LeisureMeta is ERC20Burnable, Ownable, Pausable { address public immutable daoLockAddress; uint256 private _dDay; mapping(address => LockedItem[]) private _lockedItems; mapping(address => LockedItem[]) private _rovocablyLockedItems; struct LockedItem { uint256 amount; uint256 releaseTime; } event SetDDay(uint256 dDay); event SalesLock(address indexed beneficiary, uint256 totalAmount); event GeneralLock(address indexed beneficiary, uint256 totalAmount); event Revoke(address indexed from, uint256 amount, uint256 revokeTime); constructor(address daopool, uint256 initialDDay) ERC20("LeisureMeta", "LM") { require(daopool != address(0), "LeisureMeta: daopool is zero address"); uint256 totalAmount = 5_000_000_000 * (10**uint256(decimals())); uint256 sixtyPercent = (totalAmount * 60) / 100; uint256 fortyPercent = (totalAmount * 40) / 100; _dDay = initialDDay; daoLockAddress = daopool; _mint(daopool, sixtyPercent); daoLock(daopool, sixtyPercent); _mint(_msgSender(), fortyPercent); } /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. * - the sender have enough unlocked tokens to transfer. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } function _transfer( address from, address to, uint256 amount ) internal override { require( balanceOf(from) >= lockedAmount(from) + amount, "LM: insufficient balance" ); clearUnnessaryLockedItems(from); super._transfer(from, to, amount); } /** * @dev Set D-Day which might be the first day of listing in major crypto exchanges. */ function setDDay(uint256 dDay) external onlyOwner { require(dDay > block.timestamp, "D-Day must be in the future"); _dDay = dDay; emit SetDDay(_dDay); } function getDDay() external view returns (uint256) { return _dDay; } function lockedItems(address beneficiary) external view returns (LockedItem[] memory) { return _lockedItems[beneficiary]; } function revocablyLockedItems(address beneficiary) external view returns (LockedItem[] memory) { return _rovocablyLockedItems[beneficiary]; } function lockedAmount(address beneficiary) public view returns (uint256) { uint256 total = 0; for (uint256 i = 0; i < _lockedItems[beneficiary].length; i++) { LockedItem storage item = _lockedItems[beneficiary][i]; if (_dDay + item.releaseTime > block.timestamp) total += item.amount; } for ( uint256 i = 0; i < _rovocablyLockedItems[beneficiary].length; i++ ) { LockedItem storage item = _rovocablyLockedItems[beneficiary][i]; if (_dDay + item.releaseTime > block.timestamp) total += item.amount; } return total; } function clearUnnessaryLockedItems(address from) internal { while ( lockedItemSize(from) > 0 && _dDay + _lockedItems[from][lockedItemSize(from) - 1].releaseTime < block.timestamp ) { _lockedItems[from].pop(); } while ( revocablyLockedItemSize(from) > 0 && _dDay + _rovocablyLockedItems[from][revocablyLockedItemSize(from) - 1] .releaseTime < block.timestamp ) { _rovocablyLockedItems[from].pop(); } if (lockedItemSize(from) == 0) delete _lockedItems[from]; if (revocablyLockedItemSize(from) == 0) delete _rovocablyLockedItems[from]; } function lockedItemSize(address beneficiary) internal view returns (uint256) { return _lockedItems[beneficiary].length; } function revocablyLockedItemSize(address beneficiary) internal view returns (uint256) { return _rovocablyLockedItems[beneficiary].length; } function daoLock(address beneficiary, uint256 amount) internal onlyOwner { uint256 aDay = 24 * 3600; for (uint256 i = 0; i < 60; i++) { _lockedItems[beneficiary].push( LockedItem({ amount: amount / 60, releaseTime: 30 * aDay * (60 - i) }) ); } } function saleLock(address beneficiary, uint256 amount) external onlyOwner { uint256 aDay = 24 * 3600; for (uint256 i = 0; i < 9; i++) { _lockedItems[beneficiary].push( LockedItem({ amount: amount / 10, releaseTime: 30 * aDay * (10 - i) }) ); } _lockedItems[beneficiary].push( LockedItem({amount: (amount * 9) / 100, releaseTime: 30 * aDay}) ); _lockedItems[beneficiary].push( LockedItem({amount: amount / 100, releaseTime: 0}) ); emit SalesLock(beneficiary, amount); transfer(beneficiary, amount); } function generalLock(address beneficiary, uint256 amount) external onlyOwner { uint256 aDay = 24 * 3600; for (uint256 i = 0; i < 20; i++) { _rovocablyLockedItems[beneficiary].push( LockedItem({ amount: amount / 20, releaseTime: 30 * aDay * (25 - i) }) ); } emit GeneralLock(beneficiary, amount); transfer(beneficiary, amount); } function revoke(address from) external onlyOwner { uint256 lockedTotal = 0; LockedItem[] storage items = _rovocablyLockedItems[from]; while (items.length > 0) { if (_dDay + items[items.length - 1].releaseTime > block.timestamp) { lockedTotal += items[items.length - 1].amount; } items.pop(); } delete _rovocablyLockedItems[from]; emit Revoke(from, lockedTotal, block.timestamp); _approve(from, _msgSender(), lockedTotal); transferFrom(from, _msgSender(), lockedTotal); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.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 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. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @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). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @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 {ERC20PresetMinterPauser}. * * 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 Contracts guidelines: functions revert * instead 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, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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. This is the value {ERC20} uses, unless this function is * overridden; * * 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 virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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 virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + 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 virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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 virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This 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 virtual { 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 Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"daopool","type":"address"},{"internalType":"uint256","name":"initialDDay","type":"uint256"}],"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":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"}],"name":"GeneralLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"revokeTime","type":"uint256"}],"name":"Revoke","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"}],"name":"SalesLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"dDay","type":"uint256"}],"name":"SetDDay","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"daoLockAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"generalLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getDDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"lockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"lockedItems","outputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"}],"internalType":"struct LeisureMeta.LockedItem[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"revocablyLockedItems","outputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"}],"internalType":"struct LeisureMeta.LockedItem[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"revoke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"saleLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dDay","type":"uint256"}],"name":"setDDay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200414a3803806200414a8339818101604052810190620000379190620008e6565b6040518060400160405280600b81526020017f4c6569737572654d6574610000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4c4d0000000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000bb92919062000791565b508060049080519060200190620000d492919062000791565b50505062000109620000f4620002c7640100000000026401000000009004565b620002cf640100000000026401000000009004565b6000600560146101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000196576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200018d90620009b4565b60405180910390fd5b6000620001b162000395640100000000026401000000009004565b60ff16600a620001c2919062000b59565b64012a05f200620001d4919062000baa565b905060006064603c83620001e9919062000baa565b620001f5919062000c3a565b9050600060646028846200020a919062000baa565b62000216919062000c3a565b9050836006819055508473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506200026e85836200039e640100000000026401000000009004565b62000289858362000528640100000000026401000000009004565b620002bc620002a6620002c7640100000000026401000000009004565b826200039e640100000000026401000000009004565b505050505062000f65565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000410576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004079062000cc2565b60405180910390fd5b6200042d60008383620006c4640100000000026401000000009004565b806002600082825462000441919062000ce4565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000498919062000ce4565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004ff919062000d52565b60405180910390a3620005246000838362000746640100000000026401000000009004565b5050565b62000541620002c7640100000000026401000000009004565b73ffffffffffffffffffffffffffffffffffffffff16620005706200074b640100000000026401000000009004565b73ffffffffffffffffffffffffffffffffffffffff1614620005c9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c09062000dbf565b60405180910390fd5b600062015180905060005b603c811015620006be57600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280603c8662000637919062000c3a565b815260200183603c6200064b919062000de1565b85601e6200065a919062000baa565b62000666919062000baa565b8152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508080620006b59062000e1c565b915050620005d4565b50505050565b620006e5838383620007756401000000000262001713176401000000009004565b620006fe6200077a640100000000026401000000009004565b1562000741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007389062000edf565b60405180910390fd5b505050565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b505050565b6000600560149054906101000a900460ff16905090565b8280546200079f9062000f30565b90600052602060002090601f016020900481019282620007c357600085556200080f565b82601f10620007de57805160ff19168380011785556200080f565b828001600101855582156200080f579182015b828111156200080e578251825591602001919060010190620007f1565b5b5090506200081e919062000822565b5090565b5b808211156200083d57600081600090555060010162000823565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008738262000846565b9050919050565b620008858162000866565b81146200089157600080fd5b50565b600081519050620008a5816200087a565b92915050565b6000819050919050565b620008c081620008ab565b8114620008cc57600080fd5b50565b600081519050620008e081620008b5565b92915050565b600080604083850312156200090057620008ff62000841565b5b6000620009108582860162000894565b92505060206200092385828601620008cf565b9150509250929050565b600082825260208201905092915050565b7f4c6569737572654d6574613a2064616f706f6f6c206973207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006200099c6024836200092d565b9150620009a9826200093e565b604082019050919050565b60006020820190508181036000830152620009cf816200098d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000600282049050919050565b6000808291508390505b600185111562000a645780860481111562000a3c5762000a3b620009d6565b5b600185161562000a4c5780820291505b808102905062000a5c8562000a05565b945062000a1c565b94509492505050565b60008262000a7f576001905062000b52565b8162000a8f576000905062000b52565b816001811462000aa8576002811462000ab35762000ae9565b600191505062000b52565b60ff84111562000ac85762000ac7620009d6565b5b8360020a91508482111562000ae25762000ae1620009d6565b5b5062000b52565b5060208310610133831016604e8410600b841016171562000b235782820a90508381111562000b1d5762000b1c620009d6565b5b62000b52565b62000b32848484600162000a12565b9250905081840481111562000b4c5762000b4b620009d6565b5b81810290505b9392505050565b600062000b6682620008ab565b915062000b7383620008ab565b925062000ba27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000a6d565b905092915050565b600062000bb782620008ab565b915062000bc483620008ab565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000c005762000bff620009d6565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000c4782620008ab565b915062000c5483620008ab565b92508262000c675762000c6662000c0b565b5b828204905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000caa601f836200092d565b915062000cb78262000c72565b602082019050919050565b6000602082019050818103600083015262000cdd8162000c9b565b9050919050565b600062000cf182620008ab565b915062000cfe83620008ab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000d365762000d35620009d6565b5b828201905092915050565b62000d4c81620008ab565b82525050565b600060208201905062000d69600083018462000d41565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000da76020836200092d565b915062000db48262000d6f565b602082019050919050565b6000602082019050818103600083015262000dda8162000d98565b9050919050565b600062000dee82620008ab565b915062000dfb83620008ab565b92508282101562000e115762000e10620009d6565b5b828203905092915050565b600062000e2982620008ab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362000e5e5762000e5d620009d6565b5b600182019050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600062000ec7602a836200092d565b915062000ed48262000e69565b604082019050919050565b6000602082019050818103600083015262000efa8162000eb8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000f4957607f821691505b60208210810362000f5f5762000f5e62000f01565b5b50919050565b6080516131c962000f81600039600061154801526131c96000f3fe608060405234801561001057600080fd5b50600436106101ab576000357c01000000000000000000000000000000000000000000000000000000009004806374a8f103116100fb578063a153e708116100b4578063dd62ed3e1161008e578063dd62ed3e146104b4578063e54a5e6f146104e4578063e813e8fa14610502578063f2fde38b14610532576101ab565b8063a153e70814610424578063a457c2d714610454578063a9059cbb14610484576101ab565b806374a8f1031461037657806379cc6790146103925780638916289c146103ae5780638da5cb5b146103ca578063947c428b146103e857806395d89b4114610406576101ab565b806339509351116101685780635c975abb116101425780635c975abb146102ee5780636a2dcc841461030c57806370a082311461033c578063715018a61461036c576101ab565b8063395093511461028657806342966c68146102b657806359105ade146102d2576101ab565b806306fdde03146101b0578063095ea7b3146101ce57806313c18115146101fe57806318160ddd1461021a57806323b872dd14610238578063313ce56714610268575b600080fd5b6101b861054e565b6040516101c591906123d5565b60405180910390f35b6101e860048036038101906101e39190612490565b6105e0565b6040516101f591906124eb565b60405180910390f35b61021860048036038101906102139190612490565b610603565b005b61022261091e565b60405161022f9190612515565b60405180910390f35b610252600480360381019061024d9190612530565b610928565b60405161025f91906124eb565b60405180910390f35b610270610957565b60405161027d919061259f565b60405180910390f35b6102a0600480360381019061029b9190612490565b610960565b6040516102ad91906124eb565b60405180910390f35b6102d060048036038101906102cb91906125ba565b610a0a565b005b6102ec60048036038101906102e791906125ba565b610a1e565b005b6102f6610b1f565b60405161030391906124eb565b60405180910390f35b610326600480360381019061032191906125e7565b610b36565b6040516103339190612701565b60405180910390f35b610356600480360381019061035191906125e7565b610be8565b6040516103639190612515565b60405180910390f35b610374610c30565b005b610390600480360381019061038b91906125e7565b610cb8565b005b6103ac60048036038101906103a79190612490565b610f16565b005b6103c860048036038101906103c39190612490565b610f36565b005b6103d26110fa565b6040516103df9190612732565b60405180910390f35b6103f0611124565b6040516103fd9190612515565b60405180910390f35b61040e61112e565b60405161041b91906123d5565b60405180910390f35b61043e600480360381019061043991906125e7565b6111c0565b60405161044b9190612515565b60405180910390f35b61046e60048036038101906104699190612490565b6113b2565b60405161047b91906124eb565b60405180910390f35b61049e60048036038101906104999190612490565b61149c565b6040516104ab91906124eb565b60405180910390f35b6104ce60048036038101906104c9919061274d565b6114bf565b6040516104db9190612515565b60405180910390f35b6104ec611546565b6040516104f99190612732565b60405180910390f35b61051c600480360381019061051791906125e7565b61156a565b6040516105299190612701565b60405180910390f35b61054c600480360381019061054791906125e7565b61161c565b005b60606003805461055d906127bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610589906127bc565b80156105d65780601f106105ab576101008083540402835291602001916105d6565b820191906000526020600020905b8154815290600101906020018083116105b957829003601f168201915b5050505050905090565b6000806105eb611718565b90506105f8818585611720565b600191505092915050565b61060b611718565b73ffffffffffffffffffffffffffffffffffffffff166106296110fa565b73ffffffffffffffffffffffffffffffffffffffff161461067f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067690612839565b60405180910390fd5b600062015180905060005b600981101561076857600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280600a866106ea91906128b7565b815260200183600a6106fc91906128e8565b85601e610709919061291c565b610713919061291c565b815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000155602082015181600101555050808061076090612976565b91505061068a565b50600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528060646009866107c2919061291c565b6107cc91906128b7565b815260200183601e6107de919061291c565b815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000155602082015181600101555050600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528060648561087791906128b7565b815260200160008152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508273ffffffffffffffffffffffffffffffffffffffff167f9e926862465cd78e8db113d3f57eed20bcb175bcf18cc4caf061bac006681a5a836040516109069190612515565b60405180910390a2610918838361149c565b50505050565b6000600254905090565b600080610933611718565b90506109408582856118e9565b61094b858585611975565b60019150509392505050565b60006012905090565b60008061096b611718565b90506109ff818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109fa91906129be565b611720565b600191505092915050565b610a1b610a15611718565b826119ec565b50565b610a26611718565b73ffffffffffffffffffffffffffffffffffffffff16610a446110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9190612839565b60405180910390fd5b428111610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390612a60565b60405180910390fd5b806006819055507f5e227761f31d143dd52b225f94bd9fb5c936b54e92887ade55149129045682b0600654604051610b149190612515565b60405180910390a150565b6000600560149054906101000a900460ff16905090565b6060600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610bdd57838290600052602060002090600202016040518060400160405290816000820154815260200160018201548152505081526020019060010190610b97565b505050509050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c38611718565b73ffffffffffffffffffffffffffffffffffffffff16610c566110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390612839565b60405180910390fd5b610cb66000611bc2565b565b610cc0611718565b73ffffffffffffffffffffffffffffffffffffffff16610cde6110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90612839565b60405180910390fd5b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090505b600081805490501115610e5157428160018380549050610d9991906128e8565b81548110610daa57610da9612a80565b5b906000526020600020906002020160010154600654610dc991906129be565b1115610e12578060018280549050610de191906128e8565b81548110610df257610df1612a80565b5b90600052602060002090600202016000015482610e0f91906129be565b91505b80805480610e2357610e22612aaf565b5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055610d79565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610e9c91906122f1565b8273ffffffffffffffffffffffffffffffffffffffff167f437a05d5b9037b4fe16f9564c21528b3f978b6a015269140722644f407e943cd8342604051610ee4929190612ade565b60405180910390a2610efe83610ef8611718565b84611720565b610f1083610f0a611718565b84610928565b50505050565b610f2882610f22611718565b836118e9565b610f3282826119ec565b5050565b610f3e611718565b73ffffffffffffffffffffffffffffffffffffffff16610f5c6110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa990612839565b60405180910390fd5b600062015180905060005b601481101561109b57600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528060148661101d91906128b7565b815260200183601961102f91906128e8565b85601e61103c919061291c565b611046919061291c565b815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000155602082015181600101555050808061109390612976565b915050610fbd565b508273ffffffffffffffffffffffffffffffffffffffff167fe5cfca223703486882d036fb39da2b854b9074b8a9c3692551441f57e61fd889836040516110e29190612515565b60405180910390a26110f4838361149c565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600654905090565b60606004805461113d906127bc565b80601f0160208091040260200160405190810160405280929190818152602001828054611169906127bc565b80156111b65780601f1061118b576101008083540402835291602001916111b6565b820191906000526020600020905b81548152906001019060200180831161119957829003601f168201915b5050505050905090565b6000806000905060005b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156112b7576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061126757611266612a80565b5b9060005260206000209060020201905042816001015460065461128a91906129be565b11156112a3578060000154836112a091906129be565b92505b5080806112af90612976565b9150506111ca565b5060005b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156113a8576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061135857611357612a80565b5b9060005260206000209060020201905042816001015460065461137b91906129be565b11156113945780600001548361139191906129be565b92505b5080806113a090612976565b9150506112bb565b5080915050919050565b6000806113bd611718565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90612b79565b60405180910390fd5b6114908286868403611720565b60019250505092915050565b6000806114a7611718565b90506114b4818585611975565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611611578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906115cb565b505050509050919050565b611624611718565b73ffffffffffffffffffffffffffffffffffffffff166116426110fa565b73ffffffffffffffffffffffffffffffffffffffff1614611698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168f90612839565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fe90612c0b565b60405180910390fd5b61171081611bc2565b50565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690612c9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590612d2f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118dc9190612515565b60405180910390a3505050565b60006118f584846114bf565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461196f5781811015611961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195890612d9b565b60405180910390fd5b61196e8484848403611720565b5b50505050565b8061197f846111c0565b61198991906129be565b61199284610be8565b10156119d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ca90612e07565b60405180910390fd5b6119dc83611c88565b6119e7838383611f7d565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5290612e99565b60405180910390fd5b611a67826000836121fc565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490612f2b565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611b4491906128e8565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ba99190612515565b60405180910390a3611bbd83600084612254565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5b6000611c9482612259565b118015611d23575042600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001611ce784612259565b611cf191906128e8565b81548110611d0257611d01612a80565b5b906000526020600020906002020160010154600654611d2191906129be565b105b15611da557600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611d7757611d76612aaf565b5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055611c89565b5b6000611db1826122a5565b118015611e40575042600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001611e04846122a5565b611e0e91906128e8565b81548110611e1f57611e1e612a80565b5b906000526020600020906002020160010154600654611e3e91906129be565b105b15611ec257600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611e9457611e93612aaf565b5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055611da6565b6000611ecd82612259565b03611f1e57600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000611f1d91906122f1565b5b6000611f29826122a5565b03611f7a57600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000611f7991906122f1565b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe390612fbd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361205b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120529061304f565b60405180910390fd5b6120668383836121fc565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e3906130e1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217f91906129be565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121e39190612515565b60405180910390a36121f6848484612254565b50505050565b612207838383611713565b61220f610b1f565b1561224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224690613173565b60405180910390fd5b505050565b505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b50805460008255600202906000526020600020908101906123129190612315565b50565b5b8082111561233857600080820160009055600182016000905550600201612316565b5090565b600081519050919050565b600082825260208201905092915050565b60005b8381101561237657808201518184015260208101905061235b565b83811115612385576000848401525b50505050565b6000601f19601f8301169050919050565b60006123a78261233c565b6123b18185612347565b93506123c1818560208601612358565b6123ca8161238b565b840191505092915050565b600060208201905081810360008301526123ef818461239c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612427826123fc565b9050919050565b6124378161241c565b811461244257600080fd5b50565b6000813590506124548161242e565b92915050565b6000819050919050565b61246d8161245a565b811461247857600080fd5b50565b60008135905061248a81612464565b92915050565b600080604083850312156124a7576124a66123f7565b5b60006124b585828601612445565b92505060206124c68582860161247b565b9150509250929050565b60008115159050919050565b6124e5816124d0565b82525050565b600060208201905061250060008301846124dc565b92915050565b61250f8161245a565b82525050565b600060208201905061252a6000830184612506565b92915050565b600080600060608486031215612549576125486123f7565b5b600061255786828701612445565b935050602061256886828701612445565b92505060406125798682870161247b565b9150509250925092565b600060ff82169050919050565b61259981612583565b82525050565b60006020820190506125b46000830184612590565b92915050565b6000602082840312156125d0576125cf6123f7565b5b60006125de8482850161247b565b91505092915050565b6000602082840312156125fd576125fc6123f7565b5b600061260b84828501612445565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6126498161245a565b82525050565b6040820160008201516126656000850182612640565b5060208201516126786020850182612640565b50505050565b600061268a838361264f565b60408301905092915050565b6000602082019050919050565b60006126ae82612614565b6126b8818561261f565b93506126c383612630565b8060005b838110156126f45781516126db888261267e565b97506126e683612696565b9250506001810190506126c7565b5085935050505092915050565b6000602082019050818103600083015261271b81846126a3565b905092915050565b61272c8161241c565b82525050565b60006020820190506127476000830184612723565b92915050565b60008060408385031215612764576127636123f7565b5b600061277285828601612445565b925050602061278385828601612445565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806127d457607f821691505b6020821081036127e7576127e661278d565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612823602083612347565b915061282e826127ed565b602082019050919050565b6000602082019050818103600083015261285281612816565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006128c28261245a565b91506128cd8361245a565b9250826128dd576128dc612859565b5b828204905092915050565b60006128f38261245a565b91506128fe8361245a565b92508282101561291157612910612888565b5b828203905092915050565b60006129278261245a565b91506129328361245a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561296b5761296a612888565b5b828202905092915050565b60006129818261245a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036129b3576129b2612888565b5b600182019050919050565b60006129c98261245a565b91506129d48361245a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a0957612a08612888565b5b828201905092915050565b7f442d446179206d75737420626520696e20746865206675747572650000000000600082015250565b6000612a4a601b83612347565b9150612a5582612a14565b602082019050919050565b60006020820190508181036000830152612a7981612a3d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000604082019050612af36000830185612506565b612b006020830184612506565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612b63602583612347565b9150612b6e82612b07565b604082019050919050565b60006020820190508181036000830152612b9281612b56565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612bf5602683612347565b9150612c0082612b99565b604082019050919050565b60006020820190508181036000830152612c2481612be8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612c87602483612347565b9150612c9282612c2b565b604082019050919050565b60006020820190508181036000830152612cb681612c7a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d19602283612347565b9150612d2482612cbd565b604082019050919050565b60006020820190508181036000830152612d4881612d0c565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612d85601d83612347565b9150612d9082612d4f565b602082019050919050565b60006020820190508181036000830152612db481612d78565b9050919050565b7f4c4d3a20696e73756666696369656e742062616c616e63650000000000000000600082015250565b6000612df1601883612347565b9150612dfc82612dbb565b602082019050919050565b60006020820190508181036000830152612e2081612de4565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e83602183612347565b9150612e8e82612e27565b604082019050919050565b60006020820190508181036000830152612eb281612e76565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612f15602283612347565b9150612f2082612eb9565b604082019050919050565b60006020820190508181036000830152612f4481612f08565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612fa7602583612347565b9150612fb282612f4b565b604082019050919050565b60006020820190508181036000830152612fd681612f9a565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613039602383612347565b915061304482612fdd565b604082019050919050565b600060208201905081810360008301526130688161302c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006130cb602683612347565b91506130d68261306f565b604082019050919050565b600060208201905081810360008301526130fa816130be565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600061315d602a83612347565b915061316882613101565b604082019050919050565b6000602082019050818103600083015261318c81613150565b905091905056fea26469706673582212204030b6eac0c25402cbb9a4a3f02320bcec37b05e003d2e86bde3171bd38060f164736f6c634300080d0033000000000000000000000000f73cf4e0e67a062c37885875fb937bc042a244f0000000000000000000000000000000000000000000000000000000006b36ec80
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ab576000357c01000000000000000000000000000000000000000000000000000000009004806374a8f103116100fb578063a153e708116100b4578063dd62ed3e1161008e578063dd62ed3e146104b4578063e54a5e6f146104e4578063e813e8fa14610502578063f2fde38b14610532576101ab565b8063a153e70814610424578063a457c2d714610454578063a9059cbb14610484576101ab565b806374a8f1031461037657806379cc6790146103925780638916289c146103ae5780638da5cb5b146103ca578063947c428b146103e857806395d89b4114610406576101ab565b806339509351116101685780635c975abb116101425780635c975abb146102ee5780636a2dcc841461030c57806370a082311461033c578063715018a61461036c576101ab565b8063395093511461028657806342966c68146102b657806359105ade146102d2576101ab565b806306fdde03146101b0578063095ea7b3146101ce57806313c18115146101fe57806318160ddd1461021a57806323b872dd14610238578063313ce56714610268575b600080fd5b6101b861054e565b6040516101c591906123d5565b60405180910390f35b6101e860048036038101906101e39190612490565b6105e0565b6040516101f591906124eb565b60405180910390f35b61021860048036038101906102139190612490565b610603565b005b61022261091e565b60405161022f9190612515565b60405180910390f35b610252600480360381019061024d9190612530565b610928565b60405161025f91906124eb565b60405180910390f35b610270610957565b60405161027d919061259f565b60405180910390f35b6102a0600480360381019061029b9190612490565b610960565b6040516102ad91906124eb565b60405180910390f35b6102d060048036038101906102cb91906125ba565b610a0a565b005b6102ec60048036038101906102e791906125ba565b610a1e565b005b6102f6610b1f565b60405161030391906124eb565b60405180910390f35b610326600480360381019061032191906125e7565b610b36565b6040516103339190612701565b60405180910390f35b610356600480360381019061035191906125e7565b610be8565b6040516103639190612515565b60405180910390f35b610374610c30565b005b610390600480360381019061038b91906125e7565b610cb8565b005b6103ac60048036038101906103a79190612490565b610f16565b005b6103c860048036038101906103c39190612490565b610f36565b005b6103d26110fa565b6040516103df9190612732565b60405180910390f35b6103f0611124565b6040516103fd9190612515565b60405180910390f35b61040e61112e565b60405161041b91906123d5565b60405180910390f35b61043e600480360381019061043991906125e7565b6111c0565b60405161044b9190612515565b60405180910390f35b61046e60048036038101906104699190612490565b6113b2565b60405161047b91906124eb565b60405180910390f35b61049e60048036038101906104999190612490565b61149c565b6040516104ab91906124eb565b60405180910390f35b6104ce60048036038101906104c9919061274d565b6114bf565b6040516104db9190612515565b60405180910390f35b6104ec611546565b6040516104f99190612732565b60405180910390f35b61051c600480360381019061051791906125e7565b61156a565b6040516105299190612701565b60405180910390f35b61054c600480360381019061054791906125e7565b61161c565b005b60606003805461055d906127bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610589906127bc565b80156105d65780601f106105ab576101008083540402835291602001916105d6565b820191906000526020600020905b8154815290600101906020018083116105b957829003601f168201915b5050505050905090565b6000806105eb611718565b90506105f8818585611720565b600191505092915050565b61060b611718565b73ffffffffffffffffffffffffffffffffffffffff166106296110fa565b73ffffffffffffffffffffffffffffffffffffffff161461067f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067690612839565b60405180910390fd5b600062015180905060005b600981101561076857600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405280600a866106ea91906128b7565b815260200183600a6106fc91906128e8565b85601e610709919061291c565b610713919061291c565b815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000155602082015181600101555050808061076090612976565b91505061068a565b50600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528060646009866107c2919061291c565b6107cc91906128b7565b815260200183601e6107de919061291c565b815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000155602082015181600101555050600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528060648561087791906128b7565b815260200160008152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508273ffffffffffffffffffffffffffffffffffffffff167f9e926862465cd78e8db113d3f57eed20bcb175bcf18cc4caf061bac006681a5a836040516109069190612515565b60405180910390a2610918838361149c565b50505050565b6000600254905090565b600080610933611718565b90506109408582856118e9565b61094b858585611975565b60019150509392505050565b60006012905090565b60008061096b611718565b90506109ff818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109fa91906129be565b611720565b600191505092915050565b610a1b610a15611718565b826119ec565b50565b610a26611718565b73ffffffffffffffffffffffffffffffffffffffff16610a446110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9190612839565b60405180910390fd5b428111610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390612a60565b60405180910390fd5b806006819055507f5e227761f31d143dd52b225f94bd9fb5c936b54e92887ade55149129045682b0600654604051610b149190612515565b60405180910390a150565b6000600560149054906101000a900460ff16905090565b6060600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610bdd57838290600052602060002090600202016040518060400160405290816000820154815260200160018201548152505081526020019060010190610b97565b505050509050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c38611718565b73ffffffffffffffffffffffffffffffffffffffff16610c566110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390612839565b60405180910390fd5b610cb66000611bc2565b565b610cc0611718565b73ffffffffffffffffffffffffffffffffffffffff16610cde6110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90612839565b60405180910390fd5b600080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090505b600081805490501115610e5157428160018380549050610d9991906128e8565b81548110610daa57610da9612a80565b5b906000526020600020906002020160010154600654610dc991906129be565b1115610e12578060018280549050610de191906128e8565b81548110610df257610df1612a80565b5b90600052602060002090600202016000015482610e0f91906129be565b91505b80805480610e2357610e22612aaf565b5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055610d79565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610e9c91906122f1565b8273ffffffffffffffffffffffffffffffffffffffff167f437a05d5b9037b4fe16f9564c21528b3f978b6a015269140722644f407e943cd8342604051610ee4929190612ade565b60405180910390a2610efe83610ef8611718565b84611720565b610f1083610f0a611718565b84610928565b50505050565b610f2882610f22611718565b836118e9565b610f3282826119ec565b5050565b610f3e611718565b73ffffffffffffffffffffffffffffffffffffffff16610f5c6110fa565b73ffffffffffffffffffffffffffffffffffffffff1614610fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa990612839565b60405180910390fd5b600062015180905060005b601481101561109b57600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528060148661101d91906128b7565b815260200183601961102f91906128e8565b85601e61103c919061291c565b611046919061291c565b815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000155602082015181600101555050808061109390612976565b915050610fbd565b508273ffffffffffffffffffffffffffffffffffffffff167fe5cfca223703486882d036fb39da2b854b9074b8a9c3692551441f57e61fd889836040516110e29190612515565b60405180910390a26110f4838361149c565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600654905090565b60606004805461113d906127bc565b80601f0160208091040260200160405190810160405280929190818152602001828054611169906127bc565b80156111b65780601f1061118b576101008083540402835291602001916111b6565b820191906000526020600020905b81548152906001019060200180831161119957829003601f168201915b5050505050905090565b6000806000905060005b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156112b7576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061126757611266612a80565b5b9060005260206000209060020201905042816001015460065461128a91906129be565b11156112a3578060000154836112a091906129be565b92505b5080806112af90612976565b9150506111ca565b5060005b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156113a8576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061135857611357612a80565b5b9060005260206000209060020201905042816001015460065461137b91906129be565b11156113945780600001548361139191906129be565b92505b5080806113a090612976565b9150506112bb565b5080915050919050565b6000806113bd611718565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90612b79565b60405180910390fd5b6114908286868403611720565b60019250505092915050565b6000806114a7611718565b90506114b4818585611975565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f000000000000000000000000f73cf4e0e67a062c37885875fb937bc042a244f081565b6060600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611611578382906000526020600020906002020160405180604001604052908160008201548152602001600182015481525050815260200190600101906115cb565b505050509050919050565b611624611718565b73ffffffffffffffffffffffffffffffffffffffff166116426110fa565b73ffffffffffffffffffffffffffffffffffffffff1614611698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168f90612839565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fe90612c0b565b60405180910390fd5b61171081611bc2565b50565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690612c9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590612d2f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118dc9190612515565b60405180910390a3505050565b60006118f584846114bf565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461196f5781811015611961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195890612d9b565b60405180910390fd5b61196e8484848403611720565b5b50505050565b8061197f846111c0565b61198991906129be565b61199284610be8565b10156119d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ca90612e07565b60405180910390fd5b6119dc83611c88565b6119e7838383611f7d565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5290612e99565b60405180910390fd5b611a67826000836121fc565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490612f2b565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611b4491906128e8565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ba99190612515565b60405180910390a3611bbd83600084612254565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5b6000611c9482612259565b118015611d23575042600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001611ce784612259565b611cf191906128e8565b81548110611d0257611d01612a80565b5b906000526020600020906002020160010154600654611d2191906129be565b105b15611da557600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611d7757611d76612aaf565b5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055611c89565b5b6000611db1826122a5565b118015611e40575042600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001611e04846122a5565b611e0e91906128e8565b81548110611e1f57611e1e612a80565b5b906000526020600020906002020160010154600654611e3e91906129be565b105b15611ec257600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611e9457611e93612aaf565b5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055611da6565b6000611ecd82612259565b03611f1e57600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000611f1d91906122f1565b5b6000611f29826122a5565b03611f7a57600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000611f7991906122f1565b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe390612fbd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361205b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120529061304f565b60405180910390fd5b6120668383836121fc565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e3906130e1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217f91906129be565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121e39190612515565b60405180910390a36121f6848484612254565b50505050565b612207838383611713565b61220f610b1f565b1561224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224690613173565b60405180910390fd5b505050565b505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b50805460008255600202906000526020600020908101906123129190612315565b50565b5b8082111561233857600080820160009055600182016000905550600201612316565b5090565b600081519050919050565b600082825260208201905092915050565b60005b8381101561237657808201518184015260208101905061235b565b83811115612385576000848401525b50505050565b6000601f19601f8301169050919050565b60006123a78261233c565b6123b18185612347565b93506123c1818560208601612358565b6123ca8161238b565b840191505092915050565b600060208201905081810360008301526123ef818461239c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612427826123fc565b9050919050565b6124378161241c565b811461244257600080fd5b50565b6000813590506124548161242e565b92915050565b6000819050919050565b61246d8161245a565b811461247857600080fd5b50565b60008135905061248a81612464565b92915050565b600080604083850312156124a7576124a66123f7565b5b60006124b585828601612445565b92505060206124c68582860161247b565b9150509250929050565b60008115159050919050565b6124e5816124d0565b82525050565b600060208201905061250060008301846124dc565b92915050565b61250f8161245a565b82525050565b600060208201905061252a6000830184612506565b92915050565b600080600060608486031215612549576125486123f7565b5b600061255786828701612445565b935050602061256886828701612445565b92505060406125798682870161247b565b9150509250925092565b600060ff82169050919050565b61259981612583565b82525050565b60006020820190506125b46000830184612590565b92915050565b6000602082840312156125d0576125cf6123f7565b5b60006125de8482850161247b565b91505092915050565b6000602082840312156125fd576125fc6123f7565b5b600061260b84828501612445565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6126498161245a565b82525050565b6040820160008201516126656000850182612640565b5060208201516126786020850182612640565b50505050565b600061268a838361264f565b60408301905092915050565b6000602082019050919050565b60006126ae82612614565b6126b8818561261f565b93506126c383612630565b8060005b838110156126f45781516126db888261267e565b97506126e683612696565b9250506001810190506126c7565b5085935050505092915050565b6000602082019050818103600083015261271b81846126a3565b905092915050565b61272c8161241c565b82525050565b60006020820190506127476000830184612723565b92915050565b60008060408385031215612764576127636123f7565b5b600061277285828601612445565b925050602061278385828601612445565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806127d457607f821691505b6020821081036127e7576127e661278d565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612823602083612347565b915061282e826127ed565b602082019050919050565b6000602082019050818103600083015261285281612816565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006128c28261245a565b91506128cd8361245a565b9250826128dd576128dc612859565b5b828204905092915050565b60006128f38261245a565b91506128fe8361245a565b92508282101561291157612910612888565b5b828203905092915050565b60006129278261245a565b91506129328361245a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561296b5761296a612888565b5b828202905092915050565b60006129818261245a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036129b3576129b2612888565b5b600182019050919050565b60006129c98261245a565b91506129d48361245a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a0957612a08612888565b5b828201905092915050565b7f442d446179206d75737420626520696e20746865206675747572650000000000600082015250565b6000612a4a601b83612347565b9150612a5582612a14565b602082019050919050565b60006020820190508181036000830152612a7981612a3d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000604082019050612af36000830185612506565b612b006020830184612506565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612b63602583612347565b9150612b6e82612b07565b604082019050919050565b60006020820190508181036000830152612b9281612b56565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612bf5602683612347565b9150612c0082612b99565b604082019050919050565b60006020820190508181036000830152612c2481612be8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612c87602483612347565b9150612c9282612c2b565b604082019050919050565b60006020820190508181036000830152612cb681612c7a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d19602283612347565b9150612d2482612cbd565b604082019050919050565b60006020820190508181036000830152612d4881612d0c565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612d85601d83612347565b9150612d9082612d4f565b602082019050919050565b60006020820190508181036000830152612db481612d78565b9050919050565b7f4c4d3a20696e73756666696369656e742062616c616e63650000000000000000600082015250565b6000612df1601883612347565b9150612dfc82612dbb565b602082019050919050565b60006020820190508181036000830152612e2081612de4565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e83602183612347565b9150612e8e82612e27565b604082019050919050565b60006020820190508181036000830152612eb281612e76565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612f15602283612347565b9150612f2082612eb9565b604082019050919050565b60006020820190508181036000830152612f4481612f08565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612fa7602583612347565b9150612fb282612f4b565b604082019050919050565b60006020820190508181036000830152612fd681612f9a565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613039602383612347565b915061304482612fdd565b604082019050919050565b600060208201905081810360008301526130688161302c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006130cb602683612347565b91506130d68261306f565b604082019050919050565b600060208201905081810360008301526130fa816130be565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b600061315d602a83612347565b915061316882613101565b604082019050919050565b6000602082019050818103600083015261318c81613150565b905091905056fea26469706673582212204030b6eac0c25402cbb9a4a3f02320bcec37b05e003d2e86bde3171bd38060f164736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f73cf4e0e67a062c37885875fb937bc042a244f0000000000000000000000000000000000000000000000000000000006b36ec80
-----Decoded View---------------
Arg [0] : daopool (address): 0xf73CF4E0E67A062c37885875fB937Bc042A244f0
Arg [1] : initialDDay (uint256): 1798761600
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f73cf4e0e67a062c37885875fb937bc042a244f0
Arg [1] : 000000000000000000000000000000000000000000000000000000006b36ec80
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.