Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Layer 2
Overview
Max Total Supply
39,868,893.207625569632555826576360369 WTON
Holders
301 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 27 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WTON
Compiler Version
v0.5.12+commit.7709ece9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-11 */ // File: openzeppelin-solidity/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: openzeppelin-solidity/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @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. * * 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. */ 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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol pragma solidity ^0.5.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } } // File: openzeppelin-solidity/contracts/access/Roles.sol pragma solidity ^0.5.0; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } // File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol pragma solidity ^0.5.0; contract MinterRole is Context { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(_msgSender()); } modifier onlyMinter() { require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role"); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(_msgSender()); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol pragma solidity ^0.5.0; /** * @dev Extension of {ERC20} that adds a set of accounts with the {MinterRole}, * which have permission to mint (create) new tokens as they see fit. * * At construction, the deployer of the contract is the only minter. */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev See {ERC20-_mint}. * * Requirements: * * - the caller must have the {MinterRole}. */ function mint(address account, uint256 amount) public onlyMinter returns (bool) { _mint(account, amount); return true; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol pragma solidity ^0.5.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public { _burn(_msgSender(), amount); } /** * @dev See {ERC20-_burnFrom}. */ function burnFrom(address account, uint256 amount) public { _burnFrom(account, amount); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol pragma solidity ^0.5.0; /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } } // File: openzeppelin-solidity/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: openzeppelin-solidity/contracts/utils/ReentrancyGuard.sol pragma solidity ^0.5.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. * * _Since v2.5.0:_ this module is now much more gas efficient, given net gas * metering changes introduced in the Istanbul hardfork. */ contract ReentrancyGuard { bool private _notEntered; constructor () internal { // Storing an initial non-zero value makes deployment a bit more // expensive, but in exchange the refund on every call to nonReentrant // will be lower in amount. Since refunds are capped to a percetange of // the total transaction's gas, it is best to keep them low in cases // like this one, to increase the likelihood of the full refund coming // into effect. _notEntered = true; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_notEntered, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _notEntered = false; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _notEntered = true; } } // File: openzeppelin-solidity/contracts/introspection/IERC165.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: openzeppelin-solidity/contracts/introspection/ERC165.sol pragma solidity ^0.5.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: openzeppelin-solidity/contracts/introspection/ERC165Checker.sol pragma solidity ^0.5.10; /** * @dev Library used to query support of an interface declared via {IERC165}. * * Note that these functions return the actual result of the query: they do not * `revert` if an interface is not supported. It is up to the caller to decide * what to do in these cases. */ library ERC165Checker { // As per the EIP-165 spec, no interface should ever match 0xffffffff bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff; /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Returns true if `account` supports the {IERC165} interface, */ function _supportsERC165(address account) internal view returns (bool) { // Any contract that implements ERC165 must explicitly indicate support of // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid return _supportsERC165Interface(account, _INTERFACE_ID_ERC165) && !_supportsERC165Interface(account, _INTERFACE_ID_INVALID); } /** * @dev Returns true if `account` supports the interface defined by * `interfaceId`. Support for {IERC165} itself is queried automatically. * * See {IERC165-supportsInterface}. */ function _supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) { // query support of both ERC165 as per the spec and support of _interfaceId return _supportsERC165(account) && _supportsERC165Interface(account, interfaceId); } /** * @dev Returns true if `account` supports all the interfaces defined in * `interfaceIds`. Support for {IERC165} itself is queried automatically. * * Batch-querying can lead to gas savings by skipping repeated checks for * {IERC165} support. * * See {IERC165-supportsInterface}. */ function _supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) { // query support of ERC165 itself if (!_supportsERC165(account)) { return false; } // query support of each interface in _interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { if (!_supportsERC165Interface(account, interfaceIds[i])) { return false; } } // all interfaces supported return true; } /** * @notice Query if a contract implements an interface, does not check ERC165 support * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return true if the contract at account indicates support of the interface with * identifier interfaceId, false otherwise * @dev Assumes that account contains a contract that supports ERC165, otherwise * the behavior of this method is undefined. This precondition can be checked * with the `supportsERC165` method in this library. * Interface identification is specified in ERC-165. */ function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) { // success determines whether the staticcall succeeded and result determines // whether the contract at account indicates support of _interfaceId (bool success, bool result) = _callERC165SupportsInterface(account, interfaceId); return (success && result); } /** * @notice Calls the function with selector 0x01ffc9a7 (ERC165) and suppresses throw * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return success true if the STATICCALL succeeded, false otherwise * @return result true if the STATICCALL succeeded and the contract at account * indicates support of the interface with identifier interfaceId, false otherwise */ function _callERC165SupportsInterface(address account, bytes4 interfaceId) private view returns (bool, bool) { bytes memory encodedParams = abi.encodeWithSelector(_INTERFACE_ID_ERC165, interfaceId); (bool success, bytes memory result) = account.staticcall.gas(30000)(encodedParams); if (result.length < 32) return (false, false); return (success, abi.decode(result, (bool))); } } // File: coinage-token/contracts/lib/DSMath.sol // https://github.com/dapphub/ds-math/blob/de45767/src/math.sol /// math.sol -- mixin for inline numerical wizardry // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. pragma solidity >0.4.13; contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, "ds-math-add-overflow"); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, "ds-math-sub-underflow"); } function mul(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow"); } function min(uint x, uint y) internal pure returns (uint z) { return x <= y ? x : y; } function max(uint x, uint y) internal pure returns (uint z) { return x >= y ? x : y; } function imin(int x, int y) internal pure returns (int z) { return x <= y ? x : y; } function imax(int x, int y) internal pure returns (int z) { return x >= y ? x : y; } uint constant WAD = 10 ** 18; uint constant RAY = 10 ** 27; function wmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), WAD / 2) / WAD; } function rmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), RAY / 2) / RAY; } function wdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, WAD), y / 2) / y; } function rdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, RAY), y / 2) / y; } // This famous algorithm is called "exponentiation by squaring" // and calculates x^n with x as fixed-point and n as regular unsigned. // // It's O(log n), instead of O(n) for naive repeated multiplication. // // These facts are why it works: // // If n is even, then x^n = (x^2)^(n/2). // If n is odd, then x^n = x * x^(n-1), // and applying the equation for even x gives // x^n = x * (x^2)^((n-1) / 2). // // Also, EVM division is flooring and // floor[(n-1) / 2] = floor[n / 2]. // function wpow(uint x, uint n) internal pure returns (uint z) { z = n % 2 != 0 ? x : WAD; for (n /= 2; n != 0; n /= 2) { x = wmul(x, x); if (n % 2 != 0) { z = wmul(z, x); } } } function rpow(uint x, uint n) internal pure returns (uint z) { z = n % 2 != 0 ? x : RAY; for (n /= 2; n != 0; n /= 2) { x = rmul(x, x); if (n % 2 != 0) { z = rmul(z, x); } } } } // File: contracts/stake/interfaces/SeigManagerI.sol pragma solidity ^0.5.12; interface SeigManagerI { function registry() external view returns (address); function depositManager() external view returns (address); function ton() external view returns (address); function wton() external view returns (address); function powerton() external view returns (address); function tot() external view returns (address); function coinages(address layer2) external view returns (address); function commissionRates(address layer2) external view returns (uint256); function lastCommitBlock(address layer2) external view returns (uint256); function seigPerBlock() external view returns (uint256); function lastSeigBlock() external view returns (uint256); function pausedBlock() external view returns (uint256); function unpausedBlock() external view returns (uint256); function DEFAULT_FACTOR() external view returns (uint256); function deployCoinage(address layer2) external returns (bool); function setCommissionRate(address layer2, uint256 commission, bool isCommissionRateNegative) external returns (bool); function uncomittedStakeOf(address layer2, address account) external view returns (uint256); function stakeOf(address layer2, address account) external view returns (uint256); function additionalTotBurnAmount(address layer2, address account, uint256 amount) external view returns (uint256 totAmount); function onTransfer(address sender, address recipient, uint256 amount) external returns (bool); function updateSeigniorage() external returns (bool); function onDeposit(address layer2, address account, uint256 amount) external returns (bool); function onWithdraw(address layer2, address account, uint256 amount) external returns (bool); } // File: contracts/stake/tokens/OnApprove.sol pragma solidity ^0.5.12; contract OnApprove is ERC165 { constructor() public { _registerInterface(OnApprove(this).onApprove.selector); } function onApprove(address owner, address spender, uint256 amount, bytes calldata data) external returns (bool); } // File: contracts/stake/tokens/ERC20OnApprove.sol pragma solidity ^0.5.12; contract ERC20OnApprove is ERC20 { function approveAndCall(address spender, uint256 amount, bytes memory data) public returns (bool) { require(approve(spender, amount)); _callOnApprove(msg.sender, spender, amount, data); return true; } function _callOnApprove(address owner, address spender, uint256 amount, bytes memory data) internal { bytes4 onApproveSelector = OnApprove(spender).onApprove.selector; require(ERC165Checker._supportsInterface(spender, onApproveSelector), "ERC20OnApprove: spender doesn't support onApprove"); (bool ok, bytes memory res) = spender.call( abi.encodeWithSelector( onApproveSelector, owner, spender, amount, data ) ); // check if low-level call reverted or not require(ok, string(res)); assembly { ok := mload(add(res, 0x20)) } // check if OnApprove.onApprove returns true or false require(ok, "ERC20OnApprove: failed to call onApprove"); } } // File: contracts/stake/tokens/AuthController.sol pragma solidity ^0.5.12; interface MinterRoleRenounceTarget { function renounceMinter() external; } interface PauserRoleRenounceTarget { function renouncePauser() external; } interface OwnableTarget { function renounceOwnership() external; function transferOwnership(address newOwner) external; } contract AuthController is Ownable { function renounceMinter(address target) public onlyOwner { MinterRoleRenounceTarget(target).renounceMinter(); } function renouncePauser(address target) public onlyOwner { PauserRoleRenounceTarget(target).renouncePauser(); } function renounceOwnership(address target) public onlyOwner { OwnableTarget(target).renounceOwnership(); } function transferOwnership(address target, address newOwner) public onlyOwner { OwnableTarget(target).transferOwnership(newOwner); } } // File: contracts/stake/tokens/SeigToken.sol pragma solidity ^0.5.12; contract SeigToken is ERC20, Ownable, ERC20OnApprove, AuthController { SeigManagerI public seigManager; bool public callbackEnabled; function enableCallback(bool _callbackEnabled) external onlyOwner { callbackEnabled = _callbackEnabled; } function setSeigManager(SeigManagerI _seigManager) external onlyOwner { seigManager = _seigManager; } ////////////////////// // Override ERC20 functions ////////////////////// function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { return super.transferFrom(sender, recipient, amount); } function _transfer(address sender, address recipient, uint256 amount) internal { super._transfer(sender, recipient, amount); if (callbackEnabled && address(seigManager) != address(0)) { require(seigManager.onTransfer(sender, recipient, amount)); } } function _mint(address account, uint256 amount) internal { super._mint(account, amount); if (callbackEnabled && address(seigManager) != address(0)) { require(seigManager.onTransfer(address(0), account, amount)); } } function _burn(address account, uint256 amount) internal { super._burn(account, amount); if (callbackEnabled && address(seigManager) != address(0)) { require(seigManager.onTransfer(account, address(0), amount)); } } } // File: contracts/stake/tokens/WTON.sol pragma solidity ^0.5.12; contract WTON is DSMath, ReentrancyGuard, Ownable, ERC20Mintable, ERC20Burnable, ERC20Detailed, SeigToken, OnApprove { using SafeERC20 for ERC20Mintable; ERC20Mintable public ton; constructor ( ERC20Mintable _ton ) public ERC20Detailed("Wrapped TON", "WTON", 27) { require(ERC20Detailed(address(_ton)).decimals() == 18, "WTON: decimals of TON must be 18"); ton = _ton; } ////////////////////// // TON Approve callback ////////////////////// function onApprove( address owner, address spender, uint256 tonAmount, bytes calldata data ) external returns (bool) { require(msg.sender == address(ton), "WTON: only accept TON approve callback"); // swap owner's TON to WTON _swapFromTON(owner, owner, tonAmount); uint256 wtonAmount = _toRAY(tonAmount); (address depositManager, address layer2) = _decodeTONApproveData(data); // approve WTON to DepositManager _approve(owner, depositManager, wtonAmount); // call DepositManager.onApprove to deposit WTON bytes memory depositManagerOnApproveData = _encodeDepositManagerOnApproveData(layer2); _callOnApprove(owner, depositManager, wtonAmount, depositManagerOnApproveData); return true; } /** * @dev data is 64 bytes of 2 addresses in left-padded 32 bytes */ function _decodeTONApproveData( bytes memory data ) internal pure returns (address depositManager, address layer2) { require(data.length == 0x40); assembly { depositManager := mload(add(data, 0x20)) layer2 := mload(add(data, 0x40)) } } function _encodeDepositManagerOnApproveData( address layer2 ) internal pure returns (bytes memory data) { data = new bytes(0x20); assembly { mstore(add(data, 0x20), layer2) } } ////////////////////// // Override ERC20 functions ////////////////////// function burnFrom(address account, uint256 amount) public { if (isMinter(msg.sender)) { _burn(account, amount); return; } super.burnFrom(account, amount); } ////////////////////// // Swap functions ////////////////////// /** * @dev swap WTON to TON */ function swapToTON(uint256 wtonAmount) public nonReentrant returns (bool) { return _swapToTON(msg.sender, msg.sender, wtonAmount); } /** * @dev swap TON to WTON */ function swapFromTON(uint256 tonAmount) public nonReentrant returns (bool) { return _swapFromTON(msg.sender, msg.sender, tonAmount); } /** * @dev swap WTON to TON, and transfer TON * NOTE: TON's transfer event's `from` argument is not `msg.sender` but `WTON` address. */ function swapToTONAndTransfer(address to, uint256 wtonAmount) public nonReentrant returns (bool) { return _swapToTON(to, msg.sender, wtonAmount); } /** * @dev swap TON to WTON, and transfer WTON */ function swapFromTONAndTransfer(address to, uint256 tonAmount) public nonReentrant returns (bool) { return _swapFromTON(msg.sender, to, tonAmount); } function renounceTonMinter() external onlyOwner { ton.renounceMinter(); } ////////////////////// // Internal functions ////////////////////// function _swapToTON(address tonAccount, address wtonAccount, uint256 wtonAmount) internal returns (bool) { _burn(wtonAccount, wtonAmount); // mint TON if WTON contract has not enough TON to transfer uint256 tonAmount = _toWAD(wtonAmount); uint256 tonBalance = ton.balanceOf(address(this)); if (tonBalance < tonAmount) { ton.mint(address(this), tonAmount.sub(tonBalance)); } ton.safeTransfer(tonAccount, tonAmount); return true; } function _swapFromTON(address tonAccount, address wtonAccount, uint256 tonAmount) internal returns (bool) { _mint(wtonAccount, _toRAY(tonAmount)); ton.safeTransferFrom(tonAccount, address(this), tonAmount); return true; } /** * @dev transform WAD to RAY */ function _toRAY(uint256 v) internal pure returns (uint256) { return v * 10 ** 9; } /** * @dev transform RAY to WAD */ function _toWAD(uint256 v) internal pure returns (uint256) { return v / 10 ** 9; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract ERC20Mintable","name":"_ton","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"callbackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"_callbackEnabled","type":"bool"}],"name":"enableCallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tonAmount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onApprove","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceTonMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"seigManager","outputs":[{"internalType":"contract SeigManagerI","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract SeigManagerI","name":"_seigManager","type":"address"}],"name":"setSeigManager","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"tonAmount","type":"uint256"}],"name":"swapFromTON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tonAmount","type":"uint256"}],"name":"swapFromTONAndTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"wtonAmount","type":"uint256"}],"name":"swapToTON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"wtonAmount","type":"uint256"}],"name":"swapToTONAndTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ton","outputs":[{"internalType":"contract ERC20Mintable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200309f3803806200309f833981810160405260208110156200003757600080fd5b5051604080518082018252600b81527f5772617070656420544f4e0000000000000000000000000000000000000000006020828101919091528251808401909352600483527f57544f4e00000000000000000000000000000000000000000000000000000000908301526000805460ff1916600117905590601b620000d7620000c86001600160e01b03620002dc16565b6001600160e01b03620002e116565b6000620000ec6001600160e01b03620002dc16565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35082516200014f9060069060208601906200052c565b508151620001659060079060208501906200052c565b506008805460ff191660ff9290921691909117905550620001a890507f01ffc9a70000000000000000000000000000000000000000000000000000000062000333565b620001dc7f4273ca16000000000000000000000000000000000000000000000000000000006001600160e01b036200033316565b806001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200021657600080fd5b505afa1580156200022b573d6000803e3d6000fd5b505050506040513d60208110156200024257600080fd5b505160ff16601214620002b657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f57544f4e3a20646563696d616c73206f6620544f4e206d757374206265203138604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055620005ce565b335b90565b620002fc8160046200040260201b620021221790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b7fffffffff000000000000000000000000000000000000000000000000000000008082161415620003c557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600960205260409020805460ff19166001179055565b6200041782826001600160e01b03620004a916565b156200048457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b0382166200050c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806200307d6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200056f57805160ff19168380011785556200059f565b828001600101855582156200059f579182015b828111156200059f57825182559160200191906001019062000582565b50620005ad929150620005b1565b5090565b620002de91905b80821115620005ad5760008155600101620005b8565b612a9f80620005de6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806370a0823111610130578063a457c2d7116100b8578063dd62ed3e1161007c578063dd62ed3e146107b6578063e34869d7146107e4578063e3b99e8514610801578063f2fde38b1461082d578063f53fe70f1461085357610232565b8063a457c2d714610675578063a9059cbb146106a1578063aa271e1a146106cd578063cae9ca51146106f3578063cc48b947146107ae57610232565b80638da5cb5b116100ff5780638da5cb5b1461062f5780638f32d59b1461063757806395d89b411461063f578063983b2d5614610647578063986502751461066d57610232565b806370a08231146105af578063715018a6146105d55780637657f20a146105dd57806379cc67901461060357610232565b806339509351116101be578063588420b711610182578063588420b7146105035780635f112c681461052f57806363380113146105555780636d4354211461055d5780636fb7f5581461058b57610232565b806339509351146103d857806340c10f191461040457806341eb24bb146104305780634273ca161461045657806342966c68146104e657610232565b806318160ddd1161020557806318160ddd1461032557806323b872dd1461033f5780633113ed5c14610375578063313ce5671461039457806338bf3cfa146103b257610232565b806301ffc9a71461023757806305eeb9f71461027257806306fdde031461027c578063095ea7b3146102f9575b600080fd5b61025e6004803603602081101561024d57600080fd5b50356001600160e01b031916610870565b604080519115158252519081900360200190f35b61027a61088f565b005b610284610940565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102be5781810151838201526020016102a6565b50505050905090810190601f1680156102eb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61025e6004803603604081101561030f57600080fd5b506001600160a01b0381351690602001356109d6565b61032d6109f3565b60408051918252519081900360200190f35b61025e6004803603606081101561035557600080fd5b506001600160a01b038135811691602081013590911690604001356109f9565b61027a6004803603602081101561038b57600080fd5b50351515610a0e565b61039c610a73565b6040805160ff9092168252519081900360200190f35b61027a600480360360208110156103c857600080fd5b50356001600160a01b0316610a7c565b61025e600480360360408110156103ee57600080fd5b506001600160a01b038135169060200135610b19565b61025e6004803603604081101561041a57600080fd5b506001600160a01b038135169060200135610b72565b61027a6004803603602081101561044657600080fd5b50356001600160a01b0316610bc9565b61025e6004803603608081101561046c57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156104a757600080fd5b8201836020820111156104b957600080fd5b803590602001918460018302840111640100000000831117156104db57600080fd5b509092509050610c4b565b61027a600480360360208110156104fc57600080fd5b5035610d2a565b61025e6004803603604081101561051957600080fd5b506001600160a01b038135169060200135610d3e565b61027a6004803603602081101561054557600080fd5b50356001600160a01b0316610dae565b61025e610e30565b61027a6004803603604081101561057357600080fd5b506001600160a01b0381358116916020013516610e40565b610593610efb565b604080516001600160a01b039092168252519081900360200190f35b61032d600480360360208110156105c557600080fd5b50356001600160a01b0316610f0f565b61027a610f2a565b61027a600480360360208110156105f357600080fd5b50356001600160a01b0316610fbb565b61027a6004803603604081101561061957600080fd5b506001600160a01b03813516906020013561102a565b610593611055565b61025e611064565b61028461108a565b61027a6004803603602081101561065d57600080fd5b50356001600160a01b03166110eb565b61027a61113a565b61025e6004803603604081101561068b57600080fd5b506001600160a01b03813516906020013561114c565b61025e600480360360408110156106b757600080fd5b506001600160a01b0381351690602001356111ba565b61025e600480360360208110156106e357600080fd5b50356001600160a01b03166111ce565b61025e6004803603606081101561070957600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561073957600080fd5b82018360208201111561074b57600080fd5b8035906020019184600183028401116401000000008311171561076d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111e7945050505050565b610593611212565b61032d600480360360408110156107cc57600080fd5b506001600160a01b0381358116916020013516611221565b61025e600480360360208110156107fa57600080fd5b503561124c565b61025e6004803603604081101561081757600080fd5b506001600160a01b0381351690602001356112bb565b61027a6004803603602081101561084357600080fd5b50356001600160a01b0316611316565b61025e6004803603602081101561086957600080fd5b5035611366565b6001600160e01b03191660009081526009602052604090205460ff1690565b610897611064565b6108d6576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b600a60009054906101000a90046001600160a01b03166001600160a01b031663986502756040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561092657600080fd5b505af115801561093a573d6000803e3d6000fd5b50505050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109cc5780601f106109a1576101008083540402835291602001916109cc565b820191906000526020600020905b8154815290600101906020018083116109af57829003601f168201915b5050505050905090565b60006109ea6109e36113c1565b84846113c5565b50600192915050565b60035490565b6000610a068484846114b1565b949350505050565b610a16611064565b610a55576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b60088054911515600160a81b0260ff60a81b19909216919091179055565b60085460ff1690565b610a84611064565b610ac3576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b806001600160a01b031663715018a66040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610afe57600080fd5b505af1158015610b12573d6000803e3d6000fd5b5050505050565b60006109ea610b266113c1565b84610b6d8560026000610b376113c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61152f16565b6113c5565b6000610b84610b7f6113c1565b6111ce565b610bbf5760405162461bcd60e51b81526004018080602001828103825260308152602001806128856030913960400191505060405180910390fd5b6109ea8383611590565b610bd1611064565b610c10576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b806001600160a01b0316636ef8d66d6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610afe57600080fd5b600a546000906001600160a01b03163314610c975760405162461bcd60e51b81526004018080602001828103825260268152602001806129f66026913960400191505060405180910390fd5b610ca2868786611662565b506000610cae85611694565b9050600080610cf286868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061169d92505050565b91509150610d018983856113c5565b6060610d0c826116bf565b9050610d1a8a8486846116e9565b5060019998505050505050505050565b610d3b610d356113c1565b82611998565b50565b6000805460ff16610d84576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff19169055610d99338484611662565b90506000805460ff1916600117905592915050565b610db6611064565b610df5576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b806001600160a01b031663986502756040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610afe57600080fd5b600854600160a81b900460ff1681565b610e48611064565b610e87576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b816001600160a01b031663f2fde38b826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015610edf57600080fd5b505af1158015610ef3573d6000803e3d6000fd5b505050505050565b60085461010090046001600160a01b031681565b6001600160a01b031660009081526001602052604090205490565b610f32611064565b610f71576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b610fc3611064565b611002576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b600880546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b611033336111ce565b15611047576110428282611998565b611051565b6110518282611a33565b5050565b6005546001600160a01b031690565b6005546000906001600160a01b031661107b6113c1565b6001600160a01b031614905090565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109cc5780601f106109a1576101008083540402835291602001916109cc565b6110f6610b7f6113c1565b6111315760405162461bcd60e51b81526004018080602001828103825260308152602001806128856030913960400191505060405180910390fd5b610d3b81611a3d565b61114a6111456113c1565b611a85565b565b60006109ea6111596113c1565b84610b6d85604051806060016040528060258152602001612a4660259139600260006111836113c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611acd16565b60006109ea6111c76113c1565b8484611b27565b60006111e160048363ffffffff611bfd16565b92915050565b60006111f384846109d6565b6111fc57600080fd5b611208338585856116e9565b5060019392505050565b600a546001600160a01b031681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000805460ff16611292576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff191690556112a7338084611662565b90506000805460ff19166001179055919050565b6000805460ff16611301576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff19169055610d99833384611c64565b61131e611064565b61135d576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b610d3b81611dc9565b6000805460ff166113ac576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff191690556112a7338084611c64565b3390565b6001600160a01b03831661140a5760405162461bcd60e51b81526004018080602001828103825260248152602001806129aa6024913960400191505060405180910390fd5b6001600160a01b03821661144f5760405162461bcd60e51b815260040180806020018281038252602281526020018061280c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006114be848484611b27565b611208846114ca6113c1565b610b6d856040518060600160405280602881526020016128d6602891396001600160a01b038a166000908152600260205260408120906115086113c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611acd16565b600082820183811015611589576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b61159a8282611e6a565b600854600160a81b900460ff1680156115c2575060085461010090046001600160a01b031615155b156110515760085460408051634a39314960e01b81526000600482018190526001600160a01b03868116602484015260448301869052925161010090940490921692634a39314992606480840193602093929083900390910190829087803b15801561162d57600080fd5b505af1158015611641573d6000803e3d6000fd5b505050506040513d602081101561165757600080fd5b505161105157600080fd5b60006116768361167184611694565b611590565b600a54611208906001600160a01b031685308563ffffffff611f5c16565b633b9aca000290565b60008082516040146116ae57600080fd5b505060208101516040909101519091565b60408051602080825281830190925260609160208201818038833950505060208101929092525090565b632139e50b60e11b6116fb8482611fb6565b6117365760405162461bcd60e51b815260040180806020018281038252603181526020018061282e6031913960400191505060405180910390fd5b60006060856001600160a01b0316838888888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156117bf5781810151838201526020016117a7565b50505050905090810190601f1680156117ec5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b602083106118545780518252601f199092019160209182019101611835565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146118b6576040519150601f19603f3d011682016040523d82523d6000602084013e6118bb565b606091505b509150915081819061194b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119105781810151838201526020016118f8565b50505050905090810190601f16801561193d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50602081015191508161198f5760405162461bcd60e51b81526004018080602001828103825260288152602001806129ce6028913960400191505060405180910390fd5b50505050505050565b6119a28282611fd2565b600854600160a81b900460ff1680156119ca575060085461010090046001600160a01b031615155b156110515760085460408051634a39314960e01b81526001600160a01b0385811660048301526000602483018190526044830186905292516101009094041692634a39314992606480840193602093929083900390910190829087803b15801561162d57600080fd5b61105182826120ce565b611a4e60048263ffffffff61212216565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b611a9660048263ffffffff6121a316565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60008184841115611b1f5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119105781810151838201526020016118f8565b505050900390565b611b3283838361220a565b600854600160a81b900460ff168015611b5a575060085461010090046001600160a01b031615155b15611bf85760085460408051634a39314960e01b81526001600160a01b038681166004830152858116602483015260448201859052915161010090930490911691634a393149916064808201926020929091908290030181600087803b158015611bc357600080fd5b505af1158015611bd7573d6000803e3d6000fd5b505050506040513d6020811015611bed57600080fd5b5051611bf857600080fd5b505050565b60006001600160a01b038216611c445760405162461bcd60e51b815260040180806020018281038252602281526020018061291e6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6000611c708383611998565b6000611c7b83612368565b600a54604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611ccc57600080fd5b505afa158015611ce0573d6000803e3d6000fd5b505050506040513d6020811015611cf657600080fd5b5051905081811015611da057600a546001600160a01b03166340c10f1930611d24858563ffffffff61237216565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611d7357600080fd5b505af1158015611d87573d6000803e3d6000fd5b505050506040513d6020811015611d9d57600080fd5b50505b600a54611dbd906001600160a01b0316878463ffffffff6123b416565b50600195945050505050565b6001600160a01b038116611e0e5760405162461bcd60e51b81526004018080602001828103825260268152602001806127e66026913960400191505060405180910390fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216611ec5576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354611ed8908263ffffffff61152f16565b6003556001600160a01b038216600090815260016020526040902054611f04908263ffffffff61152f16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261093a908590612402565b6000611fc1836125ba565b8015611589575061158983836125ed565b6001600160a01b0382166120175760405162461bcd60e51b81526004018080602001828103825260218152602001806129646021913960400191505060405180910390fd5b61205a816040518060600160405280602281526020016127c4602291396001600160a01b038516600090815260016020526040902054919063ffffffff611acd16565b6001600160a01b038316600090815260016020526040902055600354612086908263ffffffff61237216565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6120d88282611998565b611051826120e46113c1565b610b6d84604051806060016040528060248152602001612940602491396001600160a01b0388166000908152600260205260408120906115086113c1565b61212c8282611bfd565b1561217e576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6121ad8282611bfd565b6121e85760405162461bcd60e51b81526004018080602001828103825260218152602001806128b56021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b03831661224f5760405162461bcd60e51b81526004018080602001828103825260258152602001806129856025913960400191505060405180910390fd5b6001600160a01b0382166122945760405162461bcd60e51b81526004018080602001828103825260238152602001806127816023913960400191505060405180910390fd5b6122d78160405180606001604052806026815260200161285f602691396001600160a01b038616600090815260016020526040902054919063ffffffff611acd16565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461230c908263ffffffff61152f16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b633b9aca00900490565b600061158983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611acd565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611bf89084905b612414826001600160a01b0316612613565b612465576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106124a35780518252601f199092019160209182019101612484565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612505576040519150601f19603f3d011682016040523d82523d6000602084013e61250a565b606091505b509150915081612561576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561093a5780806020019051602081101561257d57600080fd5b505161093a5760405162461bcd60e51b815260040180806020018281038252602a815260200180612a1c602a913960400191505060405180910390fd5b60006125cd826301ffc9a760e01b6125ed565b80156111e157506125e6826001600160e01b03196125ed565b1592915050565b60008060006125fc858561264c565b9150915081801561260a5750805b95945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610a06575050151592915050565b604080516001600160e01b0319831660248083019190915282518083039091018152604490910182526020810180516001600160e01b03166301ffc9a760e01b1781529151815160009384939284926060926001600160a01b038a169261753092879282918083835b602083106126d45780518252601f1990920191602091820191016126b5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303818686fa925050503d8060008114612735576040519150601f19603f3d011682016040523d82523d6000602084013e61273a565b606091505b50915091506020815110156127585760008094509450505050612779565b8181806020019051602081101561276e57600080fd5b505190955093505050505b925092905056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332304f6e417070726f76653a207370656e64657220646f65736e277420737570706f7274206f6e417070726f766545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332304f6e417070726f76653a206661696c656420746f2063616c6c206f6e417070726f766557544f4e3a206f6e6c792061636365707420544f4e20617070726f76652063616c6c6261636b5361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820b9c2d3c1c3f479025a7ef17ad9483bef45595462f2fc820bc2ea5f485a9d790964736f6c634300050c0032526f6c65733a206163636f756e7420697320746865207a65726f20616464726573730000000000000000000000002be5e8c109e2197d077d13a82daead6a9b3433c5
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c806370a0823111610130578063a457c2d7116100b8578063dd62ed3e1161007c578063dd62ed3e146107b6578063e34869d7146107e4578063e3b99e8514610801578063f2fde38b1461082d578063f53fe70f1461085357610232565b8063a457c2d714610675578063a9059cbb146106a1578063aa271e1a146106cd578063cae9ca51146106f3578063cc48b947146107ae57610232565b80638da5cb5b116100ff5780638da5cb5b1461062f5780638f32d59b1461063757806395d89b411461063f578063983b2d5614610647578063986502751461066d57610232565b806370a08231146105af578063715018a6146105d55780637657f20a146105dd57806379cc67901461060357610232565b806339509351116101be578063588420b711610182578063588420b7146105035780635f112c681461052f57806363380113146105555780636d4354211461055d5780636fb7f5581461058b57610232565b806339509351146103d857806340c10f191461040457806341eb24bb146104305780634273ca161461045657806342966c68146104e657610232565b806318160ddd1161020557806318160ddd1461032557806323b872dd1461033f5780633113ed5c14610375578063313ce5671461039457806338bf3cfa146103b257610232565b806301ffc9a71461023757806305eeb9f71461027257806306fdde031461027c578063095ea7b3146102f9575b600080fd5b61025e6004803603602081101561024d57600080fd5b50356001600160e01b031916610870565b604080519115158252519081900360200190f35b61027a61088f565b005b610284610940565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102be5781810151838201526020016102a6565b50505050905090810190601f1680156102eb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61025e6004803603604081101561030f57600080fd5b506001600160a01b0381351690602001356109d6565b61032d6109f3565b60408051918252519081900360200190f35b61025e6004803603606081101561035557600080fd5b506001600160a01b038135811691602081013590911690604001356109f9565b61027a6004803603602081101561038b57600080fd5b50351515610a0e565b61039c610a73565b6040805160ff9092168252519081900360200190f35b61027a600480360360208110156103c857600080fd5b50356001600160a01b0316610a7c565b61025e600480360360408110156103ee57600080fd5b506001600160a01b038135169060200135610b19565b61025e6004803603604081101561041a57600080fd5b506001600160a01b038135169060200135610b72565b61027a6004803603602081101561044657600080fd5b50356001600160a01b0316610bc9565b61025e6004803603608081101561046c57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156104a757600080fd5b8201836020820111156104b957600080fd5b803590602001918460018302840111640100000000831117156104db57600080fd5b509092509050610c4b565b61027a600480360360208110156104fc57600080fd5b5035610d2a565b61025e6004803603604081101561051957600080fd5b506001600160a01b038135169060200135610d3e565b61027a6004803603602081101561054557600080fd5b50356001600160a01b0316610dae565b61025e610e30565b61027a6004803603604081101561057357600080fd5b506001600160a01b0381358116916020013516610e40565b610593610efb565b604080516001600160a01b039092168252519081900360200190f35b61032d600480360360208110156105c557600080fd5b50356001600160a01b0316610f0f565b61027a610f2a565b61027a600480360360208110156105f357600080fd5b50356001600160a01b0316610fbb565b61027a6004803603604081101561061957600080fd5b506001600160a01b03813516906020013561102a565b610593611055565b61025e611064565b61028461108a565b61027a6004803603602081101561065d57600080fd5b50356001600160a01b03166110eb565b61027a61113a565b61025e6004803603604081101561068b57600080fd5b506001600160a01b03813516906020013561114c565b61025e600480360360408110156106b757600080fd5b506001600160a01b0381351690602001356111ba565b61025e600480360360208110156106e357600080fd5b50356001600160a01b03166111ce565b61025e6004803603606081101561070957600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561073957600080fd5b82018360208201111561074b57600080fd5b8035906020019184600183028401116401000000008311171561076d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111e7945050505050565b610593611212565b61032d600480360360408110156107cc57600080fd5b506001600160a01b0381358116916020013516611221565b61025e600480360360208110156107fa57600080fd5b503561124c565b61025e6004803603604081101561081757600080fd5b506001600160a01b0381351690602001356112bb565b61027a6004803603602081101561084357600080fd5b50356001600160a01b0316611316565b61025e6004803603602081101561086957600080fd5b5035611366565b6001600160e01b03191660009081526009602052604090205460ff1690565b610897611064565b6108d6576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b600a60009054906101000a90046001600160a01b03166001600160a01b031663986502756040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561092657600080fd5b505af115801561093a573d6000803e3d6000fd5b50505050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109cc5780601f106109a1576101008083540402835291602001916109cc565b820191906000526020600020905b8154815290600101906020018083116109af57829003601f168201915b5050505050905090565b60006109ea6109e36113c1565b84846113c5565b50600192915050565b60035490565b6000610a068484846114b1565b949350505050565b610a16611064565b610a55576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b60088054911515600160a81b0260ff60a81b19909216919091179055565b60085460ff1690565b610a84611064565b610ac3576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b806001600160a01b031663715018a66040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610afe57600080fd5b505af1158015610b12573d6000803e3d6000fd5b5050505050565b60006109ea610b266113c1565b84610b6d8560026000610b376113c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61152f16565b6113c5565b6000610b84610b7f6113c1565b6111ce565b610bbf5760405162461bcd60e51b81526004018080602001828103825260308152602001806128856030913960400191505060405180910390fd5b6109ea8383611590565b610bd1611064565b610c10576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b806001600160a01b0316636ef8d66d6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610afe57600080fd5b600a546000906001600160a01b03163314610c975760405162461bcd60e51b81526004018080602001828103825260268152602001806129f66026913960400191505060405180910390fd5b610ca2868786611662565b506000610cae85611694565b9050600080610cf286868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061169d92505050565b91509150610d018983856113c5565b6060610d0c826116bf565b9050610d1a8a8486846116e9565b5060019998505050505050505050565b610d3b610d356113c1565b82611998565b50565b6000805460ff16610d84576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff19169055610d99338484611662565b90506000805460ff1916600117905592915050565b610db6611064565b610df5576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b806001600160a01b031663986502756040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610afe57600080fd5b600854600160a81b900460ff1681565b610e48611064565b610e87576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b816001600160a01b031663f2fde38b826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015610edf57600080fd5b505af1158015610ef3573d6000803e3d6000fd5b505050505050565b60085461010090046001600160a01b031681565b6001600160a01b031660009081526001602052604090205490565b610f32611064565b610f71576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b610fc3611064565b611002576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b600880546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b611033336111ce565b15611047576110428282611998565b611051565b6110518282611a33565b5050565b6005546001600160a01b031690565b6005546000906001600160a01b031661107b6113c1565b6001600160a01b031614905090565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109cc5780601f106109a1576101008083540402835291602001916109cc565b6110f6610b7f6113c1565b6111315760405162461bcd60e51b81526004018080602001828103825260308152602001806128856030913960400191505060405180910390fd5b610d3b81611a3d565b61114a6111456113c1565b611a85565b565b60006109ea6111596113c1565b84610b6d85604051806060016040528060258152602001612a4660259139600260006111836113c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611acd16565b60006109ea6111c76113c1565b8484611b27565b60006111e160048363ffffffff611bfd16565b92915050565b60006111f384846109d6565b6111fc57600080fd5b611208338585856116e9565b5060019392505050565b600a546001600160a01b031681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000805460ff16611292576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff191690556112a7338084611662565b90506000805460ff19166001179055919050565b6000805460ff16611301576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff19169055610d99833384611c64565b61131e611064565b61135d576040805162461bcd60e51b815260206004820181905260248201526000805160206128fe833981519152604482015290519081900360640190fd5b610d3b81611dc9565b6000805460ff166113ac576040805162461bcd60e51b815260206004820152601f60248201526000805160206127a4833981519152604482015290519081900360640190fd5b6000805460ff191690556112a7338084611c64565b3390565b6001600160a01b03831661140a5760405162461bcd60e51b81526004018080602001828103825260248152602001806129aa6024913960400191505060405180910390fd5b6001600160a01b03821661144f5760405162461bcd60e51b815260040180806020018281038252602281526020018061280c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006114be848484611b27565b611208846114ca6113c1565b610b6d856040518060600160405280602881526020016128d6602891396001600160a01b038a166000908152600260205260408120906115086113c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611acd16565b600082820183811015611589576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b61159a8282611e6a565b600854600160a81b900460ff1680156115c2575060085461010090046001600160a01b031615155b156110515760085460408051634a39314960e01b81526000600482018190526001600160a01b03868116602484015260448301869052925161010090940490921692634a39314992606480840193602093929083900390910190829087803b15801561162d57600080fd5b505af1158015611641573d6000803e3d6000fd5b505050506040513d602081101561165757600080fd5b505161105157600080fd5b60006116768361167184611694565b611590565b600a54611208906001600160a01b031685308563ffffffff611f5c16565b633b9aca000290565b60008082516040146116ae57600080fd5b505060208101516040909101519091565b60408051602080825281830190925260609160208201818038833950505060208101929092525090565b632139e50b60e11b6116fb8482611fb6565b6117365760405162461bcd60e51b815260040180806020018281038252603181526020018061282e6031913960400191505060405180910390fd5b60006060856001600160a01b0316838888888860405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156117bf5781810151838201526020016117a7565b50505050905090810190601f1680156117ec5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909a16999099178952518151919890975087965094509250829150849050835b602083106118545780518252601f199092019160209182019101611835565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146118b6576040519150601f19603f3d011682016040523d82523d6000602084013e6118bb565b606091505b509150915081819061194b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119105781810151838201526020016118f8565b50505050905090810190601f16801561193d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50602081015191508161198f5760405162461bcd60e51b81526004018080602001828103825260288152602001806129ce6028913960400191505060405180910390fd5b50505050505050565b6119a28282611fd2565b600854600160a81b900460ff1680156119ca575060085461010090046001600160a01b031615155b156110515760085460408051634a39314960e01b81526001600160a01b0385811660048301526000602483018190526044830186905292516101009094041692634a39314992606480840193602093929083900390910190829087803b15801561162d57600080fd5b61105182826120ce565b611a4e60048263ffffffff61212216565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b611a9660048263ffffffff6121a316565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60008184841115611b1f5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119105781810151838201526020016118f8565b505050900390565b611b3283838361220a565b600854600160a81b900460ff168015611b5a575060085461010090046001600160a01b031615155b15611bf85760085460408051634a39314960e01b81526001600160a01b038681166004830152858116602483015260448201859052915161010090930490911691634a393149916064808201926020929091908290030181600087803b158015611bc357600080fd5b505af1158015611bd7573d6000803e3d6000fd5b505050506040513d6020811015611bed57600080fd5b5051611bf857600080fd5b505050565b60006001600160a01b038216611c445760405162461bcd60e51b815260040180806020018281038252602281526020018061291e6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6000611c708383611998565b6000611c7b83612368565b600a54604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611ccc57600080fd5b505afa158015611ce0573d6000803e3d6000fd5b505050506040513d6020811015611cf657600080fd5b5051905081811015611da057600a546001600160a01b03166340c10f1930611d24858563ffffffff61237216565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611d7357600080fd5b505af1158015611d87573d6000803e3d6000fd5b505050506040513d6020811015611d9d57600080fd5b50505b600a54611dbd906001600160a01b0316878463ffffffff6123b416565b50600195945050505050565b6001600160a01b038116611e0e5760405162461bcd60e51b81526004018080602001828103825260268152602001806127e66026913960400191505060405180910390fd5b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216611ec5576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354611ed8908263ffffffff61152f16565b6003556001600160a01b038216600090815260016020526040902054611f04908263ffffffff61152f16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261093a908590612402565b6000611fc1836125ba565b8015611589575061158983836125ed565b6001600160a01b0382166120175760405162461bcd60e51b81526004018080602001828103825260218152602001806129646021913960400191505060405180910390fd5b61205a816040518060600160405280602281526020016127c4602291396001600160a01b038516600090815260016020526040902054919063ffffffff611acd16565b6001600160a01b038316600090815260016020526040902055600354612086908263ffffffff61237216565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6120d88282611998565b611051826120e46113c1565b610b6d84604051806060016040528060248152602001612940602491396001600160a01b0388166000908152600260205260408120906115086113c1565b61212c8282611bfd565b1561217e576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6121ad8282611bfd565b6121e85760405162461bcd60e51b81526004018080602001828103825260218152602001806128b56021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b03831661224f5760405162461bcd60e51b81526004018080602001828103825260258152602001806129856025913960400191505060405180910390fd5b6001600160a01b0382166122945760405162461bcd60e51b81526004018080602001828103825260238152602001806127816023913960400191505060405180910390fd5b6122d78160405180606001604052806026815260200161285f602691396001600160a01b038616600090815260016020526040902054919063ffffffff611acd16565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461230c908263ffffffff61152f16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b633b9aca00900490565b600061158983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611acd565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611bf89084905b612414826001600160a01b0316612613565b612465576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106124a35780518252601f199092019160209182019101612484565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612505576040519150601f19603f3d011682016040523d82523d6000602084013e61250a565b606091505b509150915081612561576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561093a5780806020019051602081101561257d57600080fd5b505161093a5760405162461bcd60e51b815260040180806020018281038252602a815260200180612a1c602a913960400191505060405180910390fd5b60006125cd826301ffc9a760e01b6125ed565b80156111e157506125e6826001600160e01b03196125ed565b1592915050565b60008060006125fc858561264c565b9150915081801561260a5750805b95945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610a06575050151592915050565b604080516001600160e01b0319831660248083019190915282518083039091018152604490910182526020810180516001600160e01b03166301ffc9a760e01b1781529151815160009384939284926060926001600160a01b038a169261753092879282918083835b602083106126d45780518252601f1990920191602091820191016126b5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303818686fa925050503d8060008114612735576040519150601f19603f3d011682016040523d82523d6000602084013e61273a565b606091505b50915091506020815110156127585760008094509450505050612779565b8181806020019051602081101561276e57600080fd5b505190955093505050505b925092905056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332304f6e417070726f76653a207370656e64657220646f65736e277420737570706f7274206f6e417070726f766545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332304f6e417070726f76653a206661696c656420746f2063616c6c206f6e417070726f766557544f4e3a206f6e6c792061636365707420544f4e20617070726f76652063616c6c6261636b5361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820b9c2d3c1c3f479025a7ef17ad9483bef45595462f2fc820bc2ea5f485a9d790964736f6c634300050c0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002be5e8c109e2197d077d13a82daead6a9b3433c5
-----Decoded View---------------
Arg [0] : _ton (address): 0x2be5e8c109e2197D077D13A82dAead6a9b3433C5
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002be5e8c109e2197d077d13a82daead6a9b3433c5
Deployed Bytecode Sourcemap
51270:4321:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51270:4321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36822:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36822:135:0;-1:-1:-1;;;;;;36822:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;54410:81;;;:::i;:::-;;24747:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24747:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14689:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14689:152:0;;;;;;;;:::i;13710:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;50227:160;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;50227:160:0;;;;;;;;;;;;;;;;;:::i;49908:113::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49908:113:0;;;;:::i;25599:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49408:114;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49408:114:0;-1:-1:-1;;;;;49408:114:0;;:::i;16026:210::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16026:210:0;;;;;;;;:::i;23147:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23147:143:0;;;;;;;;:::i;49283:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49283:119:0;-1:-1:-1;;;;;49283:119:0;;:::i;51774:777::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;51774:777:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;51774:777:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;51774:777:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;51774:777:0;;-1:-1:-1;51774:777:0;-1:-1:-1;51774:777:0;:::i;23772:83::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23772:83:0;;:::i;54247:157::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;54247:157:0;;;;;;;;:::i;49158:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49158:119:0;-1:-1:-1;;;;;49158:119:0;;:::i;49874:27::-;;;:::i;49528:140::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;49528:140:0;;;;;;;;;;:::i;49838:31::-;;;:::i;:::-;;;;-1:-1:-1;;;;;49838:31:0;;;;;;;;;;;;;;13864:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13864:110:0;-1:-1:-1;;;;;13864:110:0;;:::i;2979:140::-;;;:::i;50027:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50027:109:0;-1:-1:-1;;;;;50027:109:0;;:::i;53225:190::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;53225:190:0;;;;;;;;:::i;2168:79::-;;;:::i;2534:94::-;;;:::i;24949:87::-;;;:::i;22164:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22164:92:0;-1:-1:-1;;;;;22164:92:0;;:::i;22264:79::-;;;:::i;16739:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16739:261:0;;;;;;;;:::i;14187:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14187:158:0;;;;;;;;:::i;22047:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22047:109:0;-1:-1:-1;;;;;22047:109:0;;:::i;47732:218::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;47732:218:0;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;47732:218:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;47732:218:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;47732:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;47732:218:0;;-1:-1:-1;47732:218:0;;-1:-1:-1;;;;;47732:218:0:i;51432:24::-;;;:::i;14408:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14408:134:0;;;;;;;;;;:::i;53726:142::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53726:142:0;;:::i;54025:155::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;54025:155:0;;;;;;;;:::i;3274:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3274:109:0;-1:-1:-1;;;;;3274:109:0;;:::i;53538:140::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53538:140:0;;:::i;36822:135::-;-1:-1:-1;;;;;;36916:33:0;36892:4;36916:33;;;:20;:33;;;;;;;;;36822:135::o;54410:81::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;54465:3;;;;;;;;;-1:-1:-1;;;;;54465:3:0;-1:-1:-1;;;;;54465:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54465:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54465:20:0;;;;54410:81::o;24747:83::-;24817:5;24810:12;;;;;;;;-1:-1:-1;;24810:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24784:13;;24810:12;;24817:5;;24810:12;;24817:5;24810:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24747:83;:::o;14689:152::-;14755:4;14772:39;14781:12;:10;:12::i;:::-;14795:7;14804:6;14772:8;:39::i;:::-;-1:-1:-1;14829:4:0;14689:152;;;;:::o;13710:91::-;13781:12;;13710:91;:::o;50227:160::-;50316:4;50336:45;50355:6;50363:9;50374:6;50336:18;:45::i;:::-;50329:52;50227:160;-1:-1:-1;;;;50227:160:0:o;49908:113::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;49981:15;:34;;;;;-1:-1:-1;;;49981:34:0;-1:-1:-1;;;;49981:34:0;;;;;;;;;49908:113::o;25599:83::-;25665:9;;;;25599:83;:::o;49408:114::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;49489:6;-1:-1:-1;;;;;49475:39:0;;:41;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49475:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49475:41:0;;;;49408:114;:::o;16026:210::-;16106:4;16123:83;16132:12;:10;:12::i;:::-;16146:7;16155:50;16194:10;16155:11;:25;16167:12;:10;:12::i;:::-;-1:-1:-1;;;;;16155:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16155:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;:::-;16123:8;:83::i;23147:143::-;23221:4;21944:22;21953:12;:10;:12::i;:::-;21944:8;:22::i;:::-;21936:83;;;;-1:-1:-1;;;21936:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23238:22;23244:7;23253:6;23238:5;:22::i;49283:119::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;49372:6;-1:-1:-1;;;;;49347:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;51774:777:0;51951:3;;51908:4;;-1:-1:-1;;;;;51951:3:0;51929:10;:26;51921:77;;;;-1:-1:-1;;;51921:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52040:37;52053:5;52060;52067:9;52040:12;:37::i;:::-;;52086:18;52107:17;52114:9;52107:6;:17::i;:::-;52086:38;;52132:22;52156:14;52174:27;52196:4;;52174:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;52174:21:0;;-1:-1:-1;;;52174:27:0:i;:::-;52131:70;;;;52249:43;52258:5;52265:14;52281:10;52249:8;:43::i;:::-;52355:40;52398:42;52433:6;52398:34;:42::i;:::-;52355:85;;52447:78;52462:5;52469:14;52485:10;52497:27;52447:14;:78::i;:::-;-1:-1:-1;52541:4:0;;51774:777;-1:-1:-1;;;;;;;;;51774:777:0:o;23772:83::-;23820:27;23826:12;:10;:12::i;:::-;23840:6;23820:5;:27::i;:::-;23772:83;:::o;54247:157::-;54339:4;34646:11;;;;34638:55;;;;;-1:-1:-1;;;34638:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34638:55:0;;;;;;;;;;;;;;;34785:5;34771:19;;-1:-1:-1;;34771:19:0;;;54359:39;54372:10;54384:2;54388:9;54359:12;:39::i;:::-;54352:46;;34951:11;:18;;-1:-1:-1;;34951:18:0;34965:4;34951:18;;;54247:157;;-1:-1:-1;;54247:157:0:o;49158:119::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;49247:6;-1:-1:-1;;;;;49222:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;49874:27:0;;;-1:-1:-1;;;49874:27:0;;;;;:::o;49528:140::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;49627:6;-1:-1:-1;;;;;49613:39:0;;49653:8;49613:49;;;;;;;;;;;;;-1:-1:-1;;;;;49613:49:0;-1:-1:-1;;;;;49613:49:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49613:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49613:49:0;;;;49528:140;;:::o;49838:31::-;;;;;;-1:-1:-1;;;;;49838:31:0;;:::o;13864:110::-;-1:-1:-1;;;;;13948:18:0;13921:7;13948:18;;;:9;:18;;;;;;;13864:110::o;2979:140::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;3062:6;;3041:40;;3078:1;;-1:-1:-1;;;;;3062:6:0;;3041:40;;3078:1;;3041:40;3092:6;:19;;-1:-1:-1;;;;;;3092:19:0;;;2979:140::o;50027:109::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;50104:11;:26;;-1:-1:-1;;;;;50104:26:0;;;;;-1:-1:-1;;;;;;50104:26:0;;;;;;;;;50027:109::o;53225:190::-;53294:20;53303:10;53294:8;:20::i;:::-;53290:80;;;53325:22;53331:7;53340:6;53325:5;:22::i;:::-;53356:7;;53290:80;53378:31;53393:7;53402:6;53378:14;:31::i;:::-;53225:190;;:::o;2168:79::-;2233:6;;-1:-1:-1;;;;;2233:6:0;2168:79;:::o;2534:94::-;2614:6;;2574:4;;-1:-1:-1;;;;;2614:6:0;2598:12;:10;:12::i;:::-;-1:-1:-1;;;;;2598:22:0;;2591:29;;2534:94;:::o;24949:87::-;25021:7;25014:14;;;;;;;;-1:-1:-1;;25014:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24988:13;;25014:14;;25021:7;;25014:14;;25021:7;25014:14;;;;;;;;;;;;;;;;;;;;;;;;22164:92;21944:22;21953:12;:10;:12::i;21944:22::-;21936:83;;;;-1:-1:-1;;;21936:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22229:19;22240:7;22229:10;:19::i;22264:79::-;22308:27;22322:12;:10;:12::i;:::-;22308:13;:27::i;:::-;22264:79::o;16739:261::-;16824:4;16841:129;16850:12;:10;:12::i;:::-;16864:7;16873:96;16912:15;16873:96;;;;;;;;;;;;;;;;;:11;:25;16885:12;:10;:12::i;:::-;-1:-1:-1;;;;;16873:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16873:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;14187:158::-;14256:4;14273:42;14283:12;:10;:12::i;:::-;14297:9;14308:6;14273:9;:42::i;22047:109::-;22103:4;22127:21;:8;22140:7;22127:21;:12;:21;:::i;:::-;22120:28;22047:109;-1:-1:-1;;22047:109:0:o;47732:218::-;47824:4;47845:24;47853:7;47862:6;47845:7;:24::i;:::-;47837:33;;;;;;47877:49;47892:10;47904:7;47913:6;47921:4;47877:14;:49::i;:::-;-1:-1:-1;47940:4:0;47732:218;;;;;:::o;51432:24::-;;;-1:-1:-1;;;;;51432:24:0;;:::o;14408:134::-;-1:-1:-1;;;;;14507:18:0;;;14480:7;14507:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14408:134::o;53726:142::-;53795:4;34646:11;;;;34638:55;;;;;-1:-1:-1;;;34638:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34638:55:0;;;;;;;;;;;;;;;34785:5;34771:19;;-1:-1:-1;;34771:19:0;;;53815:47;53828:10;;53852:9;53815:12;:47::i;:::-;53808:54;;34951:11;:18;;-1:-1:-1;;34951:18:0;34965:4;34951:18;;;53726:142;;-1:-1:-1;53726:142:0:o;54025:155::-;54116:4;34646:11;;;;34638:55;;;;;-1:-1:-1;;;34638:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34638:55:0;;;;;;;;;;;;;;;34785:5;34771:19;;-1:-1:-1;;34771:19:0;;;54136:38;54147:2;54151:10;54163;54136;:38::i;3274:109::-;2380:9;:7;:9::i;:::-;2372:54;;;;;-1:-1:-1;;;2372:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2372:54:0;;;;;;;;;;;;;;;3347:28;3366:8;3347:18;:28::i;53538:140::-;53606:4;34646:11;;;;34638:55;;;;;-1:-1:-1;;;34638:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34638:55:0;;;;;;;;;;;;;;;34785:5;34771:19;;-1:-1:-1;;34771:19:0;;;53626:46;53637:10;;53661;53626;:46::i;866:98::-;946:10;866:98;:::o;19670:338::-;-1:-1:-1;;;;;19764:19:0;;19756:68;;;;-1:-1:-1;;;19756:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19843:21:0;;19835:68;;;;-1:-1:-1;;;19835:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19916:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;19968:32;;;;;;;;;;;;;;;;;19670:338;;;:::o;15313:304::-;15402:4;15419:36;15429:6;15437:9;15448:6;15419:9;:36::i;:::-;15466:121;15475:6;15483:12;:10;:12::i;:::-;15497:89;15535:6;15497:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15497:19:0;;;;;;:11;:19;;;;;;15517:12;:10;:12::i;:::-;-1:-1:-1;;;;;15497:33:0;;;;;;;;;;;;-1:-1:-1;15497:33:0;;;:89;;:37;:89;:::i;4646:181::-;4704:7;4736:5;;;4760:6;;;;4752:46;;;;;-1:-1:-1;;;4752:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4818:1;4646:181;-1:-1:-1;;;4646:181:0:o;50673:240::-;50737:28;50749:7;50758:6;50737:11;:28::i;:::-;50776:15;;-1:-1:-1;;;50776:15:0;;;;:53;;;;-1:-1:-1;50803:11:0;;;;;-1:-1:-1;;;;;50803:11:0;50795:34;;50776:53;50772:136;;;50848:11;;:51;;;-1:-1:-1;;;50848:51:0;;50879:1;50848:51;;;;;;-1:-1:-1;;;;;50848:51:0;;;;;;;;;;;;;;;:11;;;;;;;;:22;;:51;;;;;;;;;;;;;;;;;;:11;:51;;;5:2:-1;;;;30:1;27;20:12;5:2;50848:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50848:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50848:51:0;50840:60;;;;;55065:239;55165:4;55178:37;55184:11;55197:17;55204:9;55197:6;:17::i;:::-;55178:5;:37::i;:::-;55222:3;;:58;;-1:-1:-1;;;;;55222:3:0;55243:10;55263:4;55270:9;55222:58;:20;:58;:::i;55356:90::-;55433:7;55429:11;;55356:90::o;52638:277::-;52721:22;52745:14;52776:4;:11;52791:4;52776:19;52768:28;;;;;;-1:-1:-1;;52857:4:0;52847:15;;52841:22;52897:4;52887:15;;;52881:22;52841;;52814:96::o;52921:211::-;53047:15;;;53057:4;53047:15;;;;;;;;;53014:17;;53047:15;;;21:6:-1;;104:10;53047:15:0;87:34:-1;-1:-1;;;53106:4:0;53096:15;;53089:31;;;;-1:-1:-1;53096:15:0;53080:47::o;47956:771::-;-1:-1:-1;;;48144:60:0;48100:7;48090:37;48144:32;:60::i;:::-;48136:129;;;;-1:-1:-1;;;48136:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48275:7;48284:16;48304:7;-1:-1:-1;;;;;48304:12:0;48358:17;48386:5;48402:7;48420:6;48437:4;48325:125;;;;;;-1:-1:-1;;;;;48325:125:0;-1:-1:-1;;;;;48325:125:0;;;;;;-1:-1:-1;;;;;48325:125:0;-1:-1:-1;;;;;48325:125:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;48325:125:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48325:125:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;48325:125:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;48325:125:0;;;179:29:-1;;;;160:49;;48304:153:0;;;48325:125;;48304:153;;-1:-1:-1;48304:153:0;;-1:-1:-1;25:18;-1:-1;48304:153:0;-1:-1:-1;48304:153:0;;-1:-1:-1;48304:153:0;;-1:-1:-1;25:18;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;48304:153:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;48274:183:0;;;;48522:2;48533:3;48514:24;;;;;-1:-1:-1;;;48514:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;48514:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48586:4;48581:3;48577:14;48571:21;48565:27;;48674:2;48666:55;;;;-1:-1:-1;;;48666:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47956:771;;;;;;;:::o;50919:240::-;50983:28;50995:7;51004:6;50983:11;:28::i;:::-;51022:15;;-1:-1:-1;;;51022:15:0;;;;:53;;;;-1:-1:-1;51049:11:0;;;;;-1:-1:-1;;;;;51049:11:0;51041:34;;51022:53;51018:136;;;51094:11;;:51;;;-1:-1:-1;;;51094:51:0;;-1:-1:-1;;;;;51094:51:0;;;;;;;51134:1;51094:51;;;;;;;;;;;;;;:11;;;;;;:22;;:51;;;;;;;;;;;;;;;;;;:11;:51;;;5:2:-1;;;;30:1;27;20:12;23917:103:0;23986:26;23996:7;24005:6;23986:9;:26::i;22351:122::-;22408:21;:8;22421:7;22408:21;:12;:21;:::i;:::-;22445:20;;-1:-1:-1;;;;;22445:20:0;;;;;;;;22351:122;:::o;22481:130::-;22541:24;:8;22557:7;22541:24;:15;:24;:::i;:::-;22581:22;;-1:-1:-1;;;;;22581:22:0;;;;;;;;22481:130;:::o;5575:192::-;5661:7;5697:12;5689:6;;;;5681:29;;;;-1:-1:-1;;;5681:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5681:29:0;-1:-1:-1;;;5733:5:0;;;5575:192::o;50393:274::-;50479:42;50495:6;50503:9;50514:6;50479:15;:42::i;:::-;50532:15;;-1:-1:-1;;;50532:15:0;;;;:53;;;;-1:-1:-1;50559:11:0;;;;;-1:-1:-1;;;;;50559:11:0;50551:34;;50532:53;50528:134;;;50604:11;;:49;;;-1:-1:-1;;;50604:49:0;;-1:-1:-1;;;;;50604:49:0;;;;;;;;;;;;;;;;;;;;;;:11;;;;;;;;:22;;:49;;;;;;;;;;;;;;;-1:-1:-1;50604:11:0;:49;;;5:2:-1;;;;30:1;27;20:12;5:2;50604:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50604:49:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50604:49:0;50596:58;;;;;;50393:274;;;:::o;21304:203::-;21376:4;-1:-1:-1;;;;;21401:21:0;;21393:68;;;;-1:-1:-1;;;21393:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21479:20:0;:11;:20;;;;;;;;;;;;;;;21304:203::o;54576:483::-;54675:4;54688:30;54694:11;54707:10;54688:5;:30::i;:::-;54792:17;54812:18;54819:10;54812:6;:18::i;:::-;54858:3;;:28;;;-1:-1:-1;;;54858:28:0;;54880:4;54858:28;;;;;;54792:38;;-1:-1:-1;54837:18:0;;-1:-1:-1;;;;;54858:3:0;;;;:13;;:28;;;;;;;;;;;;;;;:3;:28;;;5:2:-1;;;;30:1;27;20:12;5:2;54858:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54858:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54858:28:0;;-1:-1:-1;54897:22:0;;;54893:95;;;54930:3;;-1:-1:-1;;;;;54930:3:0;:8;54947:4;54954:25;:9;54968:10;54954:25;:13;:25;:::i;:::-;54930:50;;;;;;;;;;;;;-1:-1:-1;;;;;54930:50:0;-1:-1:-1;;;;;54930:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54930:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54930:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;54893:95:0;54996:3;;:39;;-1:-1:-1;;;;;54996:3:0;55013:10;55025:9;54996:39;:16;:39;:::i;:::-;-1:-1:-1;55049:4:0;;54576:483;-1:-1:-1;;;;;54576:483:0:o;3489:229::-;-1:-1:-1;;;;;3563:22:0;;3555:73;;;;-1:-1:-1;;;3555:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3665:6;;3644:38;;-1:-1:-1;;;;;3644:38:0;;;;3665:6;;3644:38;;3665:6;;3644:38;3693:6;:17;;-1:-1:-1;;;;;;3693:17:0;-1:-1:-1;;;;;3693:17:0;;;;;;;;;;3489:229::o;18242:308::-;-1:-1:-1;;;;;18318:21:0;;18310:65;;;;;-1:-1:-1;;;18310:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18403:12;;:24;;18420:6;18403:24;:16;:24;:::i;:::-;18388:12;:39;-1:-1:-1;;;;;18459:18:0;;;;;;:9;:18;;;;;;:30;;18482:6;18459:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;18438:18:0;;;;;;:9;:18;;;;;;;;:51;;;;18505:37;;;;;;;18438:18;;;;18505:37;;;;;;;;;;18242:308;;:::o;29623:204::-;29750:68;;;-1:-1:-1;;;;;29750:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;29750:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;29724:95:0;;29743:5;;29724:18;:95::i;38993:292::-;39081:4;39190:24;39206:7;39190:15;:24::i;:::-;:87;;;;;39231:46;39256:7;39265:11;39231:24;:46::i;18882:348::-;-1:-1:-1;;;;;18958:21:0;;18950:67;;;;-1:-1:-1;;;18950:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19051:68;19074:6;19051:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19051:18:0;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;19030:18:0;;;;;;:9;:18;;;;;:89;19145:12;;:24;;19162:6;19145:24;:16;:24;:::i;:::-;19130:12;:39;19185:37;;;;;;;;19211:1;;-1:-1:-1;;;;;19185:37:0;;;;;;;;;;;;18882:348;;:::o;20194:232::-;20266:22;20272:7;20281:6;20266:5;:22::i;:::-;20299:119;20308:7;20317:12;:10;:12::i;:::-;20331:86;20370:6;20331:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20331:20:0;;;;;;:11;:20;;;;;;20352:12;:10;:12::i;20768:178::-;20846:18;20850:4;20856:7;20846:3;:18::i;:::-;20845:19;20837:63;;;;;-1:-1:-1;;;20837:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20911:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;20911:27:0;20934:4;20911:27;;;20768:178::o;21026:183::-;21106:18;21110:4;21116:7;21106:3;:18::i;:::-;21098:64;;;;-1:-1:-1;;;21098:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21173:20:0;21196:5;21173:20;;;;;;;;;;;:28;;-1:-1:-1;;21173:28:0;;;21026:183::o;17490:471::-;-1:-1:-1;;;;;17588:20:0;;17580:70;;;;-1:-1:-1;;;17580:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17669:23:0;;17661:71;;;;-1:-1:-1;;;17661:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17765;17787:6;17765:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17765:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;17745:17:0;;;;;;;:9;:17;;;;;;:91;;;;17870:20;;;;;;;:32;;17895:6;17870:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;17847:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;17918:35;;;;;;;17847:20;;17918:35;;;;;;;;;;;;;17490:471;;;:::o;55498:90::-;55575:7;55571:11;;;55498:90::o;5102:136::-;5160:7;5187:43;5191:1;5194;5187:43;;;;;;;;;;;;;;;;;:3;:43::i;29439:176::-;29548:58;;;-1:-1:-1;;;;;29548:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;29548:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;29522:85:0;;29541:5;;31478:1114;32082:27;32090:5;-1:-1:-1;;;;;32082:25:0;;:27::i;:::-;32074:71;;;;;-1:-1:-1;;;32074:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32219:12;32233:23;32268:5;-1:-1:-1;;;;;32260:19:0;32280:4;32260:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;32260:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;32218:67:0;;;;32304:7;32296:52;;;;;-1:-1:-1;;;32296:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32365:17;;:21;32361:224;;32507:10;32496:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32496:30:0;32488:85;;;;-1:-1:-1;;;32488:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38367:400;38432:4;38630:55;38655:7;-1:-1:-1;;;38630:24:0;:55::i;:::-;:129;;;;-1:-1:-1;38703:56:0;38728:7;-1:-1:-1;;;;;;38703:24:0;:56::i;:::-;38702:57;;38367:400;-1:-1:-1;;38367:400:0:o;40887:401::-;40980:4;41162:12;41176:11;41191:50;41220:7;41229:11;41191:28;:50::i;:::-;41161:80;;;;41262:7;:17;;;;;41273:6;41262:17;41254:26;40887:401;-1:-1:-1;;;;;40887:401:0:o;26460:619::-;26520:4;26988:20;;26831:66;27028:23;;;;;;:42;;-1:-1:-1;;27055:15:0;;;27020:51;-1:-1:-1;;26460:619:0:o;41815:450::-;41996:57;;;-1:-1:-1;;;;;;41996:57:0;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;41996:57:0;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;42102:44:0;;;;41939:4;;;;41996:57;41939:4;;41967:26;;-1:-1:-1;;;;;42102:18:0;;;42125:5;;41996:57;;42102:44;;;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;42102:44:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;42064:82:0;;;;42177:2;42161:6;:13;:18;42157:45;;;42189:5;42196;42181:21;;;;;;;;;42157:45;42221:7;42241:6;42230:26;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42230:26:0;42213:44;;-1:-1:-1;42230:26:0;-1:-1:-1;;;;41815:450:0;;;;;;:::o
Swarm Source
bzzr://b9c2d3c1c3f479025a7ef17ad9483bef45595462f2fc820bc2ea5f485a9d7909
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.