Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
500,000,000 KEYS
Holders
50
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KeyToken
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC777/ERC777.sol"; /** * @dev {ERC777} token * Learn more about the $KEYS on https://thewhitelist.io/ * */ contract KeyToken is ERC777 { uint256 public BASE_SUPPLY = 500000000000000000000000000; address public NFT_STAKING_CONTRACT; address public LEGACY_NFT_STAKING_CONTRACT; address public RESERVES_MANAGER; bool public PERMANENTLY_DISABLE_RESERVE_MANAGEMENT = false; /** * */ constructor( string memory name, string memory symbol, address[] memory defaultOperators ) ERC777(name, symbol, defaultOperators) { RESERVES_MANAGER = msg.sender; } /** * @dev This function setup the Token. Our entire supply is only rewarded through NFT Staking. * * @param _NFT_STAKING_CONTRACT The Staking contract * */ function setupToken(address _NFT_STAKING_CONTRACT) public onlyTokenReserveManager { require( _NFT_STAKING_CONTRACT != address(0), "KEYS: Staking Contract can't be empty" ); require( _NFT_STAKING_CONTRACT != address(0) && NFT_STAKING_CONTRACT != _NFT_STAKING_CONTRACT, "KEYS: Staking Contract identical" ); require( balanceOf(LEGACY_NFT_STAKING_CONTRACT) == 0, "KEYS: Old Staking Contract needs to be empty" ); LEGACY_NFT_STAKING_CONTRACT = NFT_STAKING_CONTRACT; NFT_STAKING_CONTRACT = _NFT_STAKING_CONTRACT; // Mint First batch to Staking contract _mint(NFT_STAKING_CONTRACT, BASE_SUPPLY, "", ""); } /** * @dev Fund Staking Pool on NFT_STAKING_CONTRACT. Anyone can call this once * the staking contract is below one 5th of BASE_SUPPLY. * */ function fundStakingPool() external { require( balanceOf(NFT_STAKING_CONTRACT) < BASE_SUPPLY / 5, "KEYS: Staking Reward Pool has enough funds." ); _mint(NFT_STAKING_CONTRACT, BASE_SUPPLY, "", ""); } function burnLegacySupply() external onlyTokenReserveManager { require( LEGACY_NFT_STAKING_CONTRACT != address(0), "KEYS: No Legacy Staking Contract" ); _burn( LEGACY_NFT_STAKING_CONTRACT, balanceOf(LEGACY_NFT_STAKING_CONTRACT), "", "" ); } /** * @dev Once this function is called, no new Staking Contract can be added! */ function disableReserveManagementPermanently() external onlyTokenReserveManager { PERMANENTLY_DISABLE_RESERVE_MANAGEMENT = true; } modifier onlyTokenReserveManager() { require( !PERMANENTLY_DISABLE_RESERVE_MANAGEMENT, "KEYS: Token Reserve Management Disabled" ); require( msg.sender == RESERVES_MANAGER, "KEYS: Only Reserves Manager can withdrawal." ); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC1820Registry.sol) pragma solidity ^0.8.0; /** * @dev Interface of the global ERC1820 Registry, as defined in the * https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register * implementers for interfaces in this registry, as well as query support. * * Implementers may be shared by multiple accounts, and can also implement more * than a single interface for each account. Contracts can implement interfaces * for themselves, but externally-owned accounts (EOA) must delegate this to a * contract. * * {IERC165} interfaces can also be queried via the registry. * * For an in-depth explanation and source code analysis, see the EIP text. */ interface IERC1820Registry { /** * @dev Sets `newManager` as the manager for `account`. A manager of an * account is able to set interface implementers for it. * * By default, each account is its own manager. Passing a value of `0x0` in * `newManager` will reset the manager to this initial state. * * Emits a {ManagerChanged} event. * * Requirements: * * - the caller must be the current manager for `account`. */ function setManager(address account, address newManager) external; /** * @dev Returns the manager for `account`. * * See {setManager}. */ function getManager(address account) external view returns (address); /** * @dev Sets the `implementer` contract as ``account``'s implementer for * `interfaceHash`. * * `account` being the zero address is an alias for the caller's address. * The zero address can also be used in `implementer` to remove an old one. * * See {interfaceHash} to learn how these are created. * * Emits an {InterfaceImplementerSet} event. * * Requirements: * * - the caller must be the current manager for `account`. * - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not * end in 28 zeroes). * - `implementer` must implement {IERC1820Implementer} and return true when * queried for support, unless `implementer` is the caller. See * {IERC1820Implementer-canImplementInterfaceForAddress}. */ function setInterfaceImplementer( address account, bytes32 _interfaceHash, address implementer ) external; /** * @dev Returns the implementer of `interfaceHash` for `account`. If no such * implementer is registered, returns the zero address. * * If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28 * zeroes), `account` will be queried for support of it. * * `account` being the zero address is an alias for the caller's address. */ function getInterfaceImplementer(address account, bytes32 _interfaceHash) external view returns (address); /** * @dev Returns the interface hash for an `interfaceName`, as defined in the * corresponding * https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP]. */ function interfaceHash(string calldata interfaceName) external pure returns (bytes32); /** * @notice Updates the cache with whether the contract implements an ERC165 interface or not. * @param account Address of the contract for which to update the cache. * @param interfaceId ERC165 interface for which to update the cache. */ function updateERC165Cache(address account, bytes4 interfaceId) external; /** * @notice Checks whether a contract implements an ERC165 interface or not. * If the result is not cached a direct lookup on the contract address is performed. * If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling * {updateERC165Cache} with the contract address. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool); /** * @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool); event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer); event ManagerChanged(address indexed account, address indexed newManager); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @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]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC777/IERC777Sender.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC777TokensSender standard as defined in the EIP. * * {IERC777} Token holders can be notified of operations performed on their * tokens by having a contract implement this interface (contract holders can be * their own implementer) and registering it on the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. * * See {IERC1820Registry} and {ERC1820Implementer}. */ interface IERC777Sender { /** * @dev Called by an {IERC777} token contract whenever a registered holder's * (`from`) tokens are about to be moved or destroyed. The type of operation * is conveyed by `to` being the zero address or not. * * This call occurs _before_ the token contract's state is updated, so * {IERC777-balanceOf}, etc., can be used to query the pre-operation state. * * This function may revert to prevent the operation from being executed. */ function tokensToSend( address operator, address from, address to, uint256 amount, bytes calldata userData, bytes calldata operatorData ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC777/IERC777Recipient.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP. * * Accounts can be notified of {IERC777} tokens being sent to them by having a * contract implement this interface (contract holders can be their own * implementer) and registering it on the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. * * See {IERC1820Registry} and {ERC1820Implementer}. */ interface IERC777Recipient { /** * @dev Called by an {IERC777} token contract whenever tokens are being * moved or created into a registered account (`to`). The type of operation * is conveyed by `from` being the zero address or not. * * This call occurs _after_ the token contract's state is updated, so * {IERC777-balanceOf}, etc., can be used to query the post-operation state. * * This function may revert to prevent the operation from being executed. */ function tokensReceived( address operator, address from, address to, uint256 amount, bytes calldata userData, bytes calldata operatorData ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC777/IERC777.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC777Token standard as defined in the EIP. * * This contract uses the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let * token holders and recipients react to token movements by using setting implementers * for the associated interfaces in said registry. See {IERC1820Registry} and * {ERC1820Implementer}. */ interface IERC777 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() external view returns (string memory); /** * @dev Returns the smallest part of the token that is not divisible. This * means all token operations (creation, movement and destruction) must have * amounts that are a multiple of this number. * * For most token contracts, this value will equal 1. */ function granularity() external view returns (uint256); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by an account (`owner`). */ function balanceOf(address owner) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * If send or receive hooks are registered for the caller and `recipient`, * the corresponding functions will be called with `data` and empty * `operatorData`. See {IERC777Sender} and {IERC777Recipient}. * * Emits a {Sent} event. * * Requirements * * - the caller must have at least `amount` tokens. * - `recipient` cannot be the zero address. * - if `recipient` is a contract, it must implement the {IERC777Recipient} * interface. */ function send( address recipient, uint256 amount, bytes calldata data ) external; /** * @dev Destroys `amount` tokens from the caller's account, reducing the * total supply. * * If a send hook is registered for the caller, the corresponding function * will be called with `data` and empty `operatorData`. See {IERC777Sender}. * * Emits a {Burned} event. * * Requirements * * - the caller must have at least `amount` tokens. */ function burn(uint256 amount, bytes calldata data) external; /** * @dev Returns true if an account is an operator of `tokenHolder`. * Operators can send and burn tokens on behalf of their owners. All * accounts are their own operator. * * See {operatorSend} and {operatorBurn}. */ function isOperatorFor(address operator, address tokenHolder) external view returns (bool); /** * @dev Make an account an operator of the caller. * * See {isOperatorFor}. * * Emits an {AuthorizedOperator} event. * * Requirements * * - `operator` cannot be calling address. */ function authorizeOperator(address operator) external; /** * @dev Revoke an account's operator status for the caller. * * See {isOperatorFor} and {defaultOperators}. * * Emits a {RevokedOperator} event. * * Requirements * * - `operator` cannot be calling address. */ function revokeOperator(address operator) external; /** * @dev Returns the list of default operators. These accounts are operators * for all token holders, even if {authorizeOperator} was never called on * them. * * This list is immutable, but individual holders may revoke these via * {revokeOperator}, in which case {isOperatorFor} will return false. */ function defaultOperators() external view returns (address[] memory); /** * @dev Moves `amount` tokens from `sender` to `recipient`. The caller must * be an operator of `sender`. * * If send or receive hooks are registered for `sender` and `recipient`, * the corresponding functions will be called with `data` and * `operatorData`. See {IERC777Sender} and {IERC777Recipient}. * * Emits a {Sent} event. * * Requirements * * - `sender` cannot be the zero address. * - `sender` must have at least `amount` tokens. * - the caller must be an operator for `sender`. * - `recipient` cannot be the zero address. * - if `recipient` is a contract, it must implement the {IERC777Recipient} * interface. */ function operatorSend( address sender, address recipient, uint256 amount, bytes calldata data, bytes calldata operatorData ) external; /** * @dev Destroys `amount` tokens from `account`, reducing the total supply. * The caller must be an operator of `account`. * * If a send hook is registered for `account`, the corresponding function * will be called with `data` and `operatorData`. See {IERC777Sender}. * * Emits a {Burned} event. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. * - the caller must be an operator for `account`. */ function operatorBurn( address account, uint256 amount, bytes calldata data, bytes calldata operatorData ) external; event Sent( address indexed operator, address indexed from, address indexed to, uint256 amount, bytes data, bytes operatorData ); event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData); event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData); event AuthorizedOperator(address indexed operator, address indexed tokenHolder); event RevokedOperator(address indexed operator, address indexed tokenHolder); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC777/ERC777.sol) pragma solidity ^0.8.0; import "./IERC777.sol"; import "./IERC777Recipient.sol"; import "./IERC777Sender.sol"; import "../ERC20/IERC20.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/IERC1820Registry.sol"; /** * @dev Implementation of the {IERC777} 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}. * * Support for ERC20 is included in this contract, as specified by the EIP: both * the ERC777 and ERC20 interfaces can be safely used when interacting with it. * Both {IERC777-Sent} and {IERC20-Transfer} events are emitted on token * movements. * * Additionally, the {IERC777-granularity} value is hard-coded to `1`, meaning that there * are no special restrictions in the amount of tokens that created, moved, or * destroyed. This makes integration with ERC20 applications seamless. */ contract ERC777 is Context, IERC777, IERC20 { using Address for address; IERC1820Registry internal constant _ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24); mapping(address => uint256) private _balances; uint256 private _totalSupply; string private _name; string private _symbol; bytes32 private constant _TOKENS_SENDER_INTERFACE_HASH = keccak256("ERC777TokensSender"); bytes32 private constant _TOKENS_RECIPIENT_INTERFACE_HASH = keccak256("ERC777TokensRecipient"); // This isn't ever read from - it's only used to respond to the defaultOperators query. address[] private _defaultOperatorsArray; // Immutable, but accounts may revoke them (tracked in __revokedDefaultOperators). mapping(address => bool) private _defaultOperators; // For each account, a mapping of its operators and revoked default operators. mapping(address => mapping(address => bool)) private _operators; mapping(address => mapping(address => bool)) private _revokedDefaultOperators; // ERC20-allowances mapping(address => mapping(address => uint256)) private _allowances; /** * @dev `defaultOperators` may be an empty array. */ constructor( string memory name_, string memory symbol_, address[] memory defaultOperators_ ) { _name = name_; _symbol = symbol_; _defaultOperatorsArray = defaultOperators_; for (uint256 i = 0; i < defaultOperators_.length; i++) { _defaultOperators[defaultOperators_[i]] = true; } // register interfaces _ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC777Token"), address(this)); _ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC20Token"), address(this)); } /** * @dev See {IERC777-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC777-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {ERC20-decimals}. * * Always returns 18, as per the * [ERC777 EIP](https://eips.ethereum.org/EIPS/eip-777#backward-compatibility). */ function decimals() public pure virtual returns (uint8) { return 18; } /** * @dev See {IERC777-granularity}. * * This implementation always returns `1`. */ function granularity() public view virtual override returns (uint256) { return 1; } /** * @dev See {IERC777-totalSupply}. */ function totalSupply() public view virtual override(IERC20, IERC777) returns (uint256) { return _totalSupply; } /** * @dev Returns the amount of tokens owned by an account (`tokenHolder`). */ function balanceOf(address tokenHolder) public view virtual override(IERC20, IERC777) returns (uint256) { return _balances[tokenHolder]; } /** * @dev See {IERC777-send}. * * Also emits a {IERC20-Transfer} event for ERC20 compatibility. */ function send( address recipient, uint256 amount, bytes memory data ) public virtual override { _send(_msgSender(), recipient, amount, data, "", true); } /** * @dev See {IERC20-transfer}. * * Unlike `send`, `recipient` is _not_ required to implement the {IERC777Recipient} * interface if it is a contract. * * Also emits a {Sent} event. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { require(recipient != address(0), "ERC777: transfer to the zero address"); address from = _msgSender(); _callTokensToSend(from, from, recipient, amount, "", ""); _move(from, from, recipient, amount, "", ""); _callTokensReceived(from, from, recipient, amount, "", "", false); return true; } /** * @dev See {IERC777-burn}. * * Also emits a {IERC20-Transfer} event for ERC20 compatibility. */ function burn(uint256 amount, bytes memory data) public virtual override { _burn(_msgSender(), amount, data, ""); } /** * @dev See {IERC777-isOperatorFor}. */ function isOperatorFor(address operator, address tokenHolder) public view virtual override returns (bool) { return operator == tokenHolder || (_defaultOperators[operator] && !_revokedDefaultOperators[tokenHolder][operator]) || _operators[tokenHolder][operator]; } /** * @dev See {IERC777-authorizeOperator}. */ function authorizeOperator(address operator) public virtual override { require(_msgSender() != operator, "ERC777: authorizing self as operator"); if (_defaultOperators[operator]) { delete _revokedDefaultOperators[_msgSender()][operator]; } else { _operators[_msgSender()][operator] = true; } emit AuthorizedOperator(operator, _msgSender()); } /** * @dev See {IERC777-revokeOperator}. */ function revokeOperator(address operator) public virtual override { require(operator != _msgSender(), "ERC777: revoking self as operator"); if (_defaultOperators[operator]) { _revokedDefaultOperators[_msgSender()][operator] = true; } else { delete _operators[_msgSender()][operator]; } emit RevokedOperator(operator, _msgSender()); } /** * @dev See {IERC777-defaultOperators}. */ function defaultOperators() public view virtual override returns (address[] memory) { return _defaultOperatorsArray; } /** * @dev See {IERC777-operatorSend}. * * Emits {Sent} and {IERC20-Transfer} events. */ function operatorSend( address sender, address recipient, uint256 amount, bytes memory data, bytes memory operatorData ) public virtual override { require(isOperatorFor(_msgSender(), sender), "ERC777: caller is not an operator for holder"); _send(sender, recipient, amount, data, operatorData, true); } /** * @dev See {IERC777-operatorBurn}. * * Emits {Burned} and {IERC20-Transfer} events. */ function operatorBurn( address account, uint256 amount, bytes memory data, bytes memory operatorData ) public virtual override { require(isOperatorFor(_msgSender(), account), "ERC777: caller is not an operator for holder"); _burn(account, amount, data, operatorData); } /** * @dev See {IERC20-allowance}. * * Note that operator and allowance concepts are orthogonal: operators may * not have allowance, and accounts with allowance may not be operators * themselves. */ function allowance(address holder, address spender) public view virtual override returns (uint256) { return _allowances[holder][spender]; } /** * @dev See {IERC20-approve}. * * Note that accounts cannot have allowance issued by their operators. */ function approve(address spender, uint256 value) public virtual override returns (bool) { address holder = _msgSender(); _approve(holder, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Note that operator and allowance concepts are orthogonal: operators cannot * call `transferFrom` (unless they have allowance), and accounts with * allowance cannot call `operatorSend` (unless they are operators). * * Emits {Sent}, {IERC20-Transfer} and {IERC20-Approval} events. */ function transferFrom( address holder, address recipient, uint256 amount ) public virtual override returns (bool) { require(recipient != address(0), "ERC777: transfer to the zero address"); require(holder != address(0), "ERC777: transfer from the zero address"); address spender = _msgSender(); _callTokensToSend(spender, holder, recipient, amount, "", ""); _move(spender, holder, recipient, amount, "", ""); uint256 currentAllowance = _allowances[holder][spender]; require(currentAllowance >= amount, "ERC777: transfer amount exceeds allowance"); _approve(holder, spender, currentAllowance - amount); _callTokensReceived(spender, holder, recipient, amount, "", "", false); return true; } /** * @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * If a send hook is registered for `account`, the corresponding function * will be called with `operator`, `data` and `operatorData`. * * See {IERC777Sender} and {IERC777Recipient}. * * Emits {Minted} and {IERC20-Transfer} events. * * Requirements * * - `account` cannot be the zero address. * - if `account` is a contract, it must implement the {IERC777Recipient} * interface. */ function _mint( address account, uint256 amount, bytes memory userData, bytes memory operatorData ) internal virtual { _mint(account, amount, userData, operatorData, true); } /** * @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * If `requireReceptionAck` is set to true, and if a send hook is * registered for `account`, the corresponding function will be called with * `operator`, `data` and `operatorData`. * * See {IERC777Sender} and {IERC777Recipient}. * * Emits {Minted} and {IERC20-Transfer} events. * * Requirements * * - `account` cannot be the zero address. * - if `account` is a contract, it must implement the {IERC777Recipient} * interface. */ function _mint( address account, uint256 amount, bytes memory userData, bytes memory operatorData, bool requireReceptionAck ) internal virtual { require(account != address(0), "ERC777: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, amount); // Update state variables _totalSupply += amount; _balances[account] += amount; _callTokensReceived(operator, address(0), account, amount, userData, operatorData, requireReceptionAck); emit Minted(operator, account, amount, userData, operatorData); emit Transfer(address(0), account, amount); } /** * @dev Send tokens * @param from address token holder address * @param to address recipient address * @param amount uint256 amount of tokens to transfer * @param userData bytes extra information provided by the token holder (if any) * @param operatorData bytes extra information provided by the operator (if any) * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient */ function _send( address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData, bool requireReceptionAck ) internal virtual { require(from != address(0), "ERC777: send from the zero address"); require(to != address(0), "ERC777: send to the zero address"); address operator = _msgSender(); _callTokensToSend(operator, from, to, amount, userData, operatorData); _move(operator, from, to, amount, userData, operatorData); _callTokensReceived(operator, from, to, amount, userData, operatorData, requireReceptionAck); } /** * @dev Burn tokens * @param from address token holder address * @param amount uint256 amount of tokens to burn * @param data bytes extra information provided by the token holder * @param operatorData bytes extra information provided by the operator (if any) */ function _burn( address from, uint256 amount, bytes memory data, bytes memory operatorData ) internal virtual { require(from != address(0), "ERC777: burn from the zero address"); address operator = _msgSender(); _callTokensToSend(operator, from, address(0), amount, data, operatorData); _beforeTokenTransfer(operator, from, address(0), amount); // Update state variables uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC777: burn amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _totalSupply -= amount; emit Burned(operator, from, amount, data, operatorData); emit Transfer(from, address(0), amount); } function _move( address operator, address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData ) private { _beforeTokenTransfer(operator, from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC777: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Sent(operator, from, to, amount, userData, operatorData); emit Transfer(from, to, amount); } /** * @dev See {ERC20-_approve}. * * Note that accounts cannot have allowance issued by their operators. */ function _approve( address holder, address spender, uint256 value ) internal { require(holder != address(0), "ERC777: approve from the zero address"); require(spender != address(0), "ERC777: approve to the zero address"); _allowances[holder][spender] = value; emit Approval(holder, spender, value); } /** * @dev Call from.tokensToSend() if the interface is registered * @param operator address operator requesting the transfer * @param from address token holder address * @param to address recipient address * @param amount uint256 amount of tokens to transfer * @param userData bytes extra information provided by the token holder (if any) * @param operatorData bytes extra information provided by the operator (if any) */ function _callTokensToSend( address operator, address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData ) private { address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(from, _TOKENS_SENDER_INTERFACE_HASH); if (implementer != address(0)) { IERC777Sender(implementer).tokensToSend(operator, from, to, amount, userData, operatorData); } } /** * @dev Call to.tokensReceived() if the interface is registered. Reverts if the recipient is a contract but * tokensReceived() was not registered for the recipient * @param operator address operator requesting the transfer * @param from address token holder address * @param to address recipient address * @param amount uint256 amount of tokens to transfer * @param userData bytes extra information provided by the token holder (if any) * @param operatorData bytes extra information provided by the operator (if any) * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient */ function _callTokensReceived( address operator, address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData, bool requireReceptionAck ) private { address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(to, _TOKENS_RECIPIENT_INTERFACE_HASH); if (implementer != address(0)) { IERC777Recipient(implementer).tokensReceived(operator, from, to, amount, userData, operatorData); } else if (requireReceptionAck) { require(!to.isContract(), "ERC777: token recipient contract has no implementer for ERC777TokensRecipient"); } } /** * @dev Hook that is called before any token transfer. This includes * calls to {send}, {transfer}, {operatorSend}, minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address[]","name":"defaultOperators","type":"address[]"}],"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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"tokenHolder","type":"address"}],"name":"AuthorizedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"tokenHolder","type":"address"}],"name":"RevokedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Sent","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"},{"inputs":[],"name":"BASE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LEGACY_NFT_STAKING_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_STAKING_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMANENTLY_DISABLE_RESERVE_MANAGEMENT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVES_MANAGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"authorizeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnLegacySupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"defaultOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableReserveManagementPermanently","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundStakingPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"granularity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"isOperatorFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"revokeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"send","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_NFT_STAKING_CONTRACT","type":"address"}],"name":"setupToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526b019d971e4fe8401e740000006009556000600c60146101000a81548160ff0219169083151502179055503480156200003c57600080fd5b506040516200470338038062004703833981810160405281019062000062919062000700565b82828282600290805190602001906200007d929190620002e4565b50816003908051906020019062000096929190620002e4565b508060049080519060200190620000af92919062000375565b5060005b81518110156200014857600160056000848481518110620000d957620000d8620007b9565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806200013f9062000821565b915050620000b3565b50731820a4b7618bde71dce8cdc73aab6c95905fad2473ffffffffffffffffffffffffffffffffffffffff166329965a1d307fac7fbab5f54a3ca8194167523c6753bfeb96a445279294b6125b68cce2177054306040518463ffffffff1660e01b8152600401620001bc939291906200089b565b600060405180830381600087803b158015620001d757600080fd5b505af1158015620001ec573d6000803e3d6000fd5b50505050731820a4b7618bde71dce8cdc73aab6c95905fad2473ffffffffffffffffffffffffffffffffffffffff166329965a1d307faea199e31a596269b42cdafd93407f14436db6e4cad65417994c2eb37381e05a306040518463ffffffff1660e01b815260040162000263939291906200089b565b600060405180830381600087803b1580156200027e57600080fd5b505af115801562000293573d6000803e3d6000fd5b5050505050505033600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200093d565b828054620002f29062000907565b90600052602060002090601f01602090048101928262000316576000855562000362565b82601f106200033157805160ff191683800117855562000362565b8280016001018555821562000362579182015b828111156200036157825182559160200191906001019062000344565b5b50905062000371919062000404565b5090565b828054828255906000526020600020908101928215620003f1579160200282015b82811115620003f05782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000396565b5b50905062000400919062000404565b5090565b5b808211156200041f57600081600090555060010162000405565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200048c8262000441565b810181811067ffffffffffffffff82111715620004ae57620004ad62000452565b5b80604052505050565b6000620004c362000423565b9050620004d1828262000481565b919050565b600067ffffffffffffffff821115620004f457620004f362000452565b5b620004ff8262000441565b9050602081019050919050565b60005b838110156200052c5780820151818401526020810190506200050f565b838111156200053c576000848401525b50505050565b6000620005596200055384620004d6565b620004b7565b9050828152602081018484840111156200057857620005776200043c565b5b620005858482856200050c565b509392505050565b600082601f830112620005a557620005a462000437565b5b8151620005b784826020860162000542565b91505092915050565b600067ffffffffffffffff821115620005de57620005dd62000452565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200062182620005f4565b9050919050565b620006338162000614565b81146200063f57600080fd5b50565b600081519050620006538162000628565b92915050565b6000620006706200066a84620005c0565b620004b7565b90508083825260208201905060208402830185811115620006965762000695620005ef565b5b835b81811015620006c35780620006ae888262000642565b84526020840193505060208101905062000698565b5050509392505050565b600082601f830112620006e557620006e462000437565b5b8151620006f784826020860162000659565b91505092915050565b6000806000606084860312156200071c576200071b6200042d565b5b600084015167ffffffffffffffff8111156200073d576200073c62000432565b5b6200074b868287016200058d565b935050602084015167ffffffffffffffff8111156200076f576200076e62000432565b5b6200077d868287016200058d565b925050604084015167ffffffffffffffff811115620007a157620007a062000432565b5b620007af86828701620006cd565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b60006200082e8262000817565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620008645762000863620007e8565b5b600182019050919050565b6200087a8162000614565b82525050565b6000819050919050565b620008958162000880565b82525050565b6000606082019050620008b260008301866200086f565b620008c160208301856200088a565b620008d060408301846200086f565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200092057607f821691505b60208210811415620009375762000936620008d8565b5b50919050565b613db6806200094d6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806395d89b41116100f9578063d6bd10c511610097578063f33b683511610071578063f33b683514610488578063fad8b32a146104a6578063fc673c4f146104c2578063fe9d9303146104de576101a9565b8063d6bd10c51461040a578063d95b637114610428578063dd62ed3e14610458576101a9565b8063b3c4a36b116100d3578063b3c4a36b146103bc578063baf13a0a146103d8578063c4065d80146103f6578063d42469e814610400576101a9565b806395d89b41146103525780639bd9bbc614610370578063a9059cbb1461038c576101a9565b8063313ce5671161016657806362ad1b831161014057806362ad1b83146102cc57806370a08231146102e857806385971b4614610318578063959b8c3f14610336576101a9565b8063313ce567146102725780633180c3a414610290578063556f0dc7146102ae576101a9565b806306e48538146101ae57806306fdde03146101cc578063095ea7b3146101ea57806309eb53d71461021a57806318160ddd1461022457806323b872dd14610242575b600080fd5b6101b66104fa565b6040516101c391906127f9565b60405180910390f35b6101d4610588565b6040516101e191906128b4565b60405180910390f35b61020460048036038101906101ff919061294c565b61061a565b60405161021191906129a7565b60405180910390f35b61022261063d565b005b61022c61073a565b60405161023991906129d1565b60405180910390f35b61025c600480360381019061025791906129ec565b610744565b60405161026991906129a7565b60405180910390f35b61027a61099e565b6040516102879190612a5b565b60405180910390f35b6102986109a7565b6040516102a59190612a85565b60405180910390f35b6102b66109cd565b6040516102c391906129d1565b60405180910390f35b6102e660048036038101906102e19190612bd5565b6109d6565b005b61030260048036038101906102fd9190612c88565b610a3c565b60405161030f91906129d1565b60405180910390f35b610320610a84565b60405161032d9190612a85565b60405180910390f35b610350600480360381019061034b9190612c88565b610aaa565b005b61035a610d0b565b60405161036791906128b4565b60405180910390f35b61038a60048036038101906103859190612cb5565b610d9d565b005b6103a660048036038101906103a1919061294c565b610dc7565b6040516103b391906129a7565b60405180910390f35b6103d660048036038101906103d19190612c88565b610ed5565b005b6103e0611251565b6040516103ed91906129d1565b60405180910390f35b6103fe611257565b005b610408611441565b005b61041261150b565b60405161041f91906129a7565b60405180910390f35b610442600480360381019061043d9190612d24565b61151e565b60405161044f91906129a7565b60405180910390f35b610472600480360381019061046d9190612d24565b6116cf565b60405161047f91906129d1565b60405180910390f35b610490611756565b60405161049d9190612a85565b60405180910390f35b6104c060048036038101906104bb9190612c88565b61177c565b005b6104dc60048036038101906104d79190612d64565b6119dd565b005b6104f860048036038101906104f39190612e03565b611a3f565b005b6060600480548060200260200160405190810160405280929190818152602001828054801561057e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610534575b5050505050905090565b60606002805461059790612e8e565b80601f01602080910402602001604051908101604052809291908181526020018280546105c390612e8e565b80156106105780601f106105e557610100808354040283529160200191610610565b820191906000526020600020905b8154815290600101906020018083116105f357829003601f168201915b5050505050905090565b600080610625611a65565b9050610632818585611a6d565b600191505092915050565b600c60149054906101000a900460ff161561068d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068490612f32565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461071d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071490612fc4565b60405180910390fd5b6001600c60146101000a81548160ff021916908315150217905550565b6000600154905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ac90613056565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081c906130e8565b60405180910390fd5b600061082f611a65565b905061085d818686866040518060200160405280600081525060405180602001604052806000815250611c38565b610889818686866040518060200160405280600081525060405180602001604052806000815250611d9f565b6000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561094d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109449061317a565b60405180910390fd5b6109638683868461095e91906131c9565b611a6d565b6109918287878760405180602001604052806000815250604051806020016040528060008152506000611fb9565b6001925050509392505050565b60006012905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006001905090565b6109e76109e1611a65565b8661151e565b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d9061326f565b60405180910390fd5b610a358585858585600161218b565b5050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8073ffffffffffffffffffffffffffffffffffffffff16610ac9611a65565b73ffffffffffffffffffffffffffffffffffffffff161415610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613301565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c0a5760076000610b7e611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff0219169055610ca7565b600160066000610c18611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b610caf611a65565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b606060038054610d1a90612e8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4690612e8e565b8015610d935780601f10610d6857610100808354040283529160200191610d93565b820191906000526020600020905b815481529060010190602001808311610d7657829003601f168201915b5050505050905090565b610dc2610da8611a65565b84848460405180602001604052806000815250600161218b565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90613056565b60405180910390fd5b6000610e42611a65565b9050610e70818286866040518060200160405280600081525060405180602001604052806000815250611c38565b610e9c818286866040518060200160405280600081525060405180602001604052806000815250611d9f565b610eca8182868660405180602001604052806000815250604051806020016040528060008152506000611fb9565b600191505092915050565b600c60149054906101000a900460ff1615610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c90612f32565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac90612fc4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c90613393565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156110b057508073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6110ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e6906133ff565b60405180910390fd5b600061111c600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a3c565b1461115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390613491565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061124e600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660095460405180602001604052806000815250604051806020016040528060008152506122ab565b50565b60095481565b600c60149054906101000a900460ff16156112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90612f32565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e90612fc4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c0906134fd565b60405180910390fd5b61143f600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661141a600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a3c565b60405180602001604052806000815250604051806020016040528060008152506122bf565b565b6005600954611450919061354c565b61147b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a3c565b106114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b2906135ef565b60405180910390fd5b611509600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660095460405180602001604052806000815250604051806020016040528060008152506122ab565b565b600c60149054906101000a900460ff1681565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806116365750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156116355750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b5b806116c75750600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b905092915050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611784611a65565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e990613681565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118e557600160076000611852611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611979565b600660006118f1611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b611981611a65565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b6119ee6119e8611a65565b8561151e565b611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a249061326f565b60405180910390fd5b611a39848484846122bf565b50505050565b611a61611a4a611a65565b8383604051806020016040528060008152506122bf565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad490613713565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b44906137a5565b60405180910390fd5b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611c2b91906129d1565b60405180910390a3505050565b6000731820a4b7618bde71dce8cdc73aab6c95905fad2473ffffffffffffffffffffffffffffffffffffffff1663aabbb8ca877f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe8956040518363ffffffff1660e01b8152600401611ca99291906137de565b602060405180830381865afa158015611cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cea919061381c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d96578073ffffffffffffffffffffffffffffffffffffffff166375ab97828888888888886040518763ffffffff1660e01b8152600401611d639695949392919061389e565b600060405180830381600087803b158015611d7d57600080fd5b505af1158015611d91573d6000803e3d6000fd5b505050505b50505050505050565b611dab86868686612512565b60008060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e289061397f565b60405180910390fd5b8381036000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec4919061399f565b925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987878787604051611f43939291906139f5565b60405180910390a48473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051611fa891906129d1565b60405180910390a350505050505050565b6000731820a4b7618bde71dce8cdc73aab6c95905fad2473ffffffffffffffffffffffffffffffffffffffff1663aabbb8ca877fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b6040518363ffffffff1660e01b815260040161202a9291906137de565b602060405180830381865afa158015612047573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206b919061381c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461211a578073ffffffffffffffffffffffffffffffffffffffff166223de298989898989896040518763ffffffff1660e01b81526004016120e39695949392919061389e565b600060405180830381600087803b1580156120fd57600080fd5b505af1158015612111573d6000803e3d6000fd5b50505050612181565b81156121805761213f8673ffffffffffffffffffffffffffffffffffffffff16612518565b1561217f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217690613ad2565b60405180910390fd5b5b5b5050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156121fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f290613b64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561226b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226290613bd0565b60405180910390fd5b6000612275611a65565b9050612285818888888888611c38565b612293818888888888611d9f565b6122a281888888888888611fb9565b50505050505050565b6122b984848484600161252b565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561232f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232690613c62565b60405180910390fd5b6000612339611a65565b905061234a81866000878787611c38565b6123578186600087612512565b60008060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d490613cf4565b60405180910390fd5b8481036000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550846001600082825461243491906131c9565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a409887878760405161249c939291906139f5565b60405180910390a3600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161250291906129d1565b60405180910390a3505050505050565b50505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561259b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259290613d60565b60405180910390fd5b60006125a5611a65565b90506125b48160008888612512565b84600160008282546125c6919061399f565b92505081905550846000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461261b919061399f565b925050819055506126328160008888888888611fb9565b8573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d878787604051612693939291906139f5565b60405180910390a38573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040516126f991906129d1565b60405180910390a3505050505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061276082612735565b9050919050565b61277081612755565b82525050565b60006127828383612767565b60208301905092915050565b6000602082019050919050565b60006127a682612709565b6127b08185612714565b93506127bb83612725565b8060005b838110156127ec5781516127d38882612776565b97506127de8361278e565b9250506001810190506127bf565b5085935050505092915050565b60006020820190508181036000830152612813818461279b565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561285557808201518184015260208101905061283a565b83811115612864576000848401525b50505050565b6000601f19601f8301169050919050565b60006128868261281b565b6128908185612826565b93506128a0818560208601612837565b6128a98161286a565b840191505092915050565b600060208201905081810360008301526128ce818461287b565b905092915050565b6000604051905090565b600080fd5b600080fd5b6128f381612755565b81146128fe57600080fd5b50565b600081359050612910816128ea565b92915050565b6000819050919050565b61292981612916565b811461293457600080fd5b50565b60008135905061294681612920565b92915050565b60008060408385031215612963576129626128e0565b5b600061297185828601612901565b925050602061298285828601612937565b9150509250929050565b60008115159050919050565b6129a18161298c565b82525050565b60006020820190506129bc6000830184612998565b92915050565b6129cb81612916565b82525050565b60006020820190506129e660008301846129c2565b92915050565b600080600060608486031215612a0557612a046128e0565b5b6000612a1386828701612901565b9350506020612a2486828701612901565b9250506040612a3586828701612937565b9150509250925092565b600060ff82169050919050565b612a5581612a3f565b82525050565b6000602082019050612a706000830184612a4c565b92915050565b612a7f81612755565b82525050565b6000602082019050612a9a6000830184612a76565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ae28261286a565b810181811067ffffffffffffffff82111715612b0157612b00612aaa565b5b80604052505050565b6000612b146128d6565b9050612b208282612ad9565b919050565b600067ffffffffffffffff821115612b4057612b3f612aaa565b5b612b498261286a565b9050602081019050919050565b82818337600083830152505050565b6000612b78612b7384612b25565b612b0a565b905082815260208101848484011115612b9457612b93612aa5565b5b612b9f848285612b56565b509392505050565b600082601f830112612bbc57612bbb612aa0565b5b8135612bcc848260208601612b65565b91505092915050565b600080600080600060a08688031215612bf157612bf06128e0565b5b6000612bff88828901612901565b9550506020612c1088828901612901565b9450506040612c2188828901612937565b935050606086013567ffffffffffffffff811115612c4257612c416128e5565b5b612c4e88828901612ba7565b925050608086013567ffffffffffffffff811115612c6f57612c6e6128e5565b5b612c7b88828901612ba7565b9150509295509295909350565b600060208284031215612c9e57612c9d6128e0565b5b6000612cac84828501612901565b91505092915050565b600080600060608486031215612cce57612ccd6128e0565b5b6000612cdc86828701612901565b9350506020612ced86828701612937565b925050604084013567ffffffffffffffff811115612d0e57612d0d6128e5565b5b612d1a86828701612ba7565b9150509250925092565b60008060408385031215612d3b57612d3a6128e0565b5b6000612d4985828601612901565b9250506020612d5a85828601612901565b9150509250929050565b60008060008060808587031215612d7e57612d7d6128e0565b5b6000612d8c87828801612901565b9450506020612d9d87828801612937565b935050604085013567ffffffffffffffff811115612dbe57612dbd6128e5565b5b612dca87828801612ba7565b925050606085013567ffffffffffffffff811115612deb57612dea6128e5565b5b612df787828801612ba7565b91505092959194509250565b60008060408385031215612e1a57612e196128e0565b5b6000612e2885828601612937565b925050602083013567ffffffffffffffff811115612e4957612e486128e5565b5b612e5585828601612ba7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ea657607f821691505b60208210811415612eba57612eb9612e5f565b5b50919050565b7f4b4559533a20546f6b656e2052657365727665204d616e6167656d656e74204460008201527f697361626c656400000000000000000000000000000000000000000000000000602082015250565b6000612f1c602783612826565b9150612f2782612ec0565b604082019050919050565b60006020820190508181036000830152612f4b81612f0f565b9050919050565b7f4b4559533a204f6e6c79205265736572766573204d616e616765722063616e2060008201527f7769746864726177616c2e000000000000000000000000000000000000000000602082015250565b6000612fae602b83612826565b9150612fb982612f52565b604082019050919050565b60006020820190508181036000830152612fdd81612fa1565b9050919050565b7f4552433737373a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613040602483612826565b915061304b82612fe4565b604082019050919050565b6000602082019050818103600083015261306f81613033565b9050919050565b7f4552433737373a207472616e736665722066726f6d20746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006130d2602683612826565b91506130dd82613076565b604082019050919050565b60006020820190508181036000830152613101816130c5565b9050919050565b7f4552433737373a207472616e7366657220616d6f756e7420657863656564732060008201527f616c6c6f77616e63650000000000000000000000000000000000000000000000602082015250565b6000613164602983612826565b915061316f82613108565b604082019050919050565b6000602082019050818103600083015261319381613157565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131d482612916565b91506131df83612916565b9250828210156131f2576131f161319a565b5b828203905092915050565b7f4552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f60008201527f7220666f7220686f6c6465720000000000000000000000000000000000000000602082015250565b6000613259602c83612826565b9150613264826131fd565b604082019050919050565b600060208201905081810360008301526132888161324c565b9050919050565b7f4552433737373a20617574686f72697a696e672073656c66206173206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b60006132eb602483612826565b91506132f68261328f565b604082019050919050565b6000602082019050818103600083015261331a816132de565b9050919050565b7f4b4559533a205374616b696e6720436f6e74726163742063616e27742062652060008201527f656d707479000000000000000000000000000000000000000000000000000000602082015250565b600061337d602583612826565b915061338882613321565b604082019050919050565b600060208201905081810360008301526133ac81613370565b9050919050565b7f4b4559533a205374616b696e6720436f6e7472616374206964656e746963616c600082015250565b60006133e9602083612826565b91506133f4826133b3565b602082019050919050565b60006020820190508181036000830152613418816133dc565b9050919050565b7f4b4559533a204f6c64205374616b696e6720436f6e7472616374206e6565647360008201527f20746f20626520656d7074790000000000000000000000000000000000000000602082015250565b600061347b602c83612826565b91506134868261341f565b604082019050919050565b600060208201905081810360008301526134aa8161346e565b9050919050565b7f4b4559533a204e6f204c6567616379205374616b696e6720436f6e7472616374600082015250565b60006134e7602083612826565b91506134f2826134b1565b602082019050919050565b60006020820190508181036000830152613516816134da565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061355782612916565b915061356283612916565b9250826135725761357161351d565b5b828204905092915050565b7f4b4559533a205374616b696e672052657761726420506f6f6c2068617320656e60008201527f6f7567682066756e64732e000000000000000000000000000000000000000000602082015250565b60006135d9602b83612826565b91506135e48261357d565b604082019050919050565b60006020820190508181036000830152613608816135cc565b9050919050565b7f4552433737373a207265766f6b696e672073656c66206173206f70657261746f60008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061366b602183612826565b91506136768261360f565b604082019050919050565b6000602082019050818103600083015261369a8161365e565b9050919050565b7f4552433737373a20617070726f76652066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006136fd602583612826565b9150613708826136a1565b604082019050919050565b6000602082019050818103600083015261372c816136f0565b9050919050565b7f4552433737373a20617070726f766520746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061378f602383612826565b915061379a82613733565b604082019050919050565b600060208201905081810360008301526137be81613782565b9050919050565b6000819050919050565b6137d8816137c5565b82525050565b60006040820190506137f36000830185612a76565b61380060208301846137cf565b9392505050565b600081519050613816816128ea565b92915050565b600060208284031215613832576138316128e0565b5b600061384084828501613807565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061387082613849565b61387a8185613854565b935061388a818560208601612837565b6138938161286a565b840191505092915050565b600060c0820190506138b36000830189612a76565b6138c06020830188612a76565b6138cd6040830187612a76565b6138da60608301866129c2565b81810360808301526138ec8185613865565b905081810360a08301526139008184613865565b9050979650505050505050565b7f4552433737373a207472616e7366657220616d6f756e7420657863656564732060008201527f62616c616e636500000000000000000000000000000000000000000000000000602082015250565b6000613969602783612826565b91506139748261390d565b604082019050919050565b600060208201905081810360008301526139988161395c565b9050919050565b60006139aa82612916565b91506139b583612916565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139ea576139e961319a565b5b828201905092915050565b6000606082019050613a0a60008301866129c2565b8181036020830152613a1c8185613865565b90508181036040830152613a308184613865565b9050949350505050565b7f4552433737373a20746f6b656e20726563697069656e7420636f6e747261637460008201527f20686173206e6f20696d706c656d656e74657220666f7220455243373737546f60208201527f6b656e73526563697069656e7400000000000000000000000000000000000000604082015250565b6000613abc604d83612826565b9150613ac782613a3a565b606082019050919050565b60006020820190508181036000830152613aeb81613aaf565b9050919050565b7f4552433737373a2073656e642066726f6d20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b4e602283612826565b9150613b5982613af2565b604082019050919050565b60006020820190508181036000830152613b7d81613b41565b9050919050565b7f4552433737373a2073656e6420746f20746865207a65726f2061646472657373600082015250565b6000613bba602083612826565b9150613bc582613b84565b602082019050919050565b60006020820190508181036000830152613be981613bad565b9050919050565b7f4552433737373a206275726e2066726f6d20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c4c602283612826565b9150613c5782613bf0565b604082019050919050565b60006020820190508181036000830152613c7b81613c3f565b9050919050565b7f4552433737373a206275726e20616d6f756e7420657863656564732062616c6160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b6000613cde602383612826565b9150613ce982613c82565b604082019050919050565b60006020820190508181036000830152613d0d81613cd1565b9050919050565b7f4552433737373a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613d4a602083612826565b9150613d5582613d14565b602082019050919050565b60006020820190508181036000830152613d7981613d3d565b905091905056fea2646970667358221220075eed3dfad8fedd0baf3a6693d89f1d79524f4db91fa20b18b43087363d366364736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000044b4559530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b455953000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806395d89b41116100f9578063d6bd10c511610097578063f33b683511610071578063f33b683514610488578063fad8b32a146104a6578063fc673c4f146104c2578063fe9d9303146104de576101a9565b8063d6bd10c51461040a578063d95b637114610428578063dd62ed3e14610458576101a9565b8063b3c4a36b116100d3578063b3c4a36b146103bc578063baf13a0a146103d8578063c4065d80146103f6578063d42469e814610400576101a9565b806395d89b41146103525780639bd9bbc614610370578063a9059cbb1461038c576101a9565b8063313ce5671161016657806362ad1b831161014057806362ad1b83146102cc57806370a08231146102e857806385971b4614610318578063959b8c3f14610336576101a9565b8063313ce567146102725780633180c3a414610290578063556f0dc7146102ae576101a9565b806306e48538146101ae57806306fdde03146101cc578063095ea7b3146101ea57806309eb53d71461021a57806318160ddd1461022457806323b872dd14610242575b600080fd5b6101b66104fa565b6040516101c391906127f9565b60405180910390f35b6101d4610588565b6040516101e191906128b4565b60405180910390f35b61020460048036038101906101ff919061294c565b61061a565b60405161021191906129a7565b60405180910390f35b61022261063d565b005b61022c61073a565b60405161023991906129d1565b60405180910390f35b61025c600480360381019061025791906129ec565b610744565b60405161026991906129a7565b60405180910390f35b61027a61099e565b6040516102879190612a5b565b60405180910390f35b6102986109a7565b6040516102a59190612a85565b60405180910390f35b6102b66109cd565b6040516102c391906129d1565b60405180910390f35b6102e660048036038101906102e19190612bd5565b6109d6565b005b61030260048036038101906102fd9190612c88565b610a3c565b60405161030f91906129d1565b60405180910390f35b610320610a84565b60405161032d9190612a85565b60405180910390f35b610350600480360381019061034b9190612c88565b610aaa565b005b61035a610d0b565b60405161036791906128b4565b60405180910390f35b61038a60048036038101906103859190612cb5565b610d9d565b005b6103a660048036038101906103a1919061294c565b610dc7565b6040516103b391906129a7565b60405180910390f35b6103d660048036038101906103d19190612c88565b610ed5565b005b6103e0611251565b6040516103ed91906129d1565b60405180910390f35b6103fe611257565b005b610408611441565b005b61041261150b565b60405161041f91906129a7565b60405180910390f35b610442600480360381019061043d9190612d24565b61151e565b60405161044f91906129a7565b60405180910390f35b610472600480360381019061046d9190612d24565b6116cf565b60405161047f91906129d1565b60405180910390f35b610490611756565b60405161049d9190612a85565b60405180910390f35b6104c060048036038101906104bb9190612c88565b61177c565b005b6104dc60048036038101906104d79190612d64565b6119dd565b005b6104f860048036038101906104f39190612e03565b611a3f565b005b6060600480548060200260200160405190810160405280929190818152602001828054801561057e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610534575b5050505050905090565b60606002805461059790612e8e565b80601f01602080910402602001604051908101604052809291908181526020018280546105c390612e8e565b80156106105780601f106105e557610100808354040283529160200191610610565b820191906000526020600020905b8154815290600101906020018083116105f357829003601f168201915b5050505050905090565b600080610625611a65565b9050610632818585611a6d565b600191505092915050565b600c60149054906101000a900460ff161561068d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068490612f32565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461071d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071490612fc4565b60405180910390fd5b6001600c60146101000a81548160ff021916908315150217905550565b6000600154905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ac90613056565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081c906130e8565b60405180910390fd5b600061082f611a65565b905061085d818686866040518060200160405280600081525060405180602001604052806000815250611c38565b610889818686866040518060200160405280600081525060405180602001604052806000815250611d9f565b6000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561094d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109449061317a565b60405180910390fd5b6109638683868461095e91906131c9565b611a6d565b6109918287878760405180602001604052806000815250604051806020016040528060008152506000611fb9565b6001925050509392505050565b60006012905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006001905090565b6109e76109e1611a65565b8661151e565b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d9061326f565b60405180910390fd5b610a358585858585600161218b565b5050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8073ffffffffffffffffffffffffffffffffffffffff16610ac9611a65565b73ffffffffffffffffffffffffffffffffffffffff161415610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613301565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c0a5760076000610b7e611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff0219169055610ca7565b600160066000610c18611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b610caf611a65565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b606060038054610d1a90612e8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4690612e8e565b8015610d935780601f10610d6857610100808354040283529160200191610d93565b820191906000526020600020905b815481529060010190602001808311610d7657829003601f168201915b5050505050905090565b610dc2610da8611a65565b84848460405180602001604052806000815250600161218b565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90613056565b60405180910390fd5b6000610e42611a65565b9050610e70818286866040518060200160405280600081525060405180602001604052806000815250611c38565b610e9c818286866040518060200160405280600081525060405180602001604052806000815250611d9f565b610eca8182868660405180602001604052806000815250604051806020016040528060008152506000611fb9565b600191505092915050565b600c60149054906101000a900460ff1615610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c90612f32565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac90612fc4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c90613393565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156110b057508073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6110ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e6906133ff565b60405180910390fd5b600061111c600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a3c565b1461115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390613491565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061124e600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660095460405180602001604052806000815250604051806020016040528060008152506122ab565b50565b60095481565b600c60149054906101000a900460ff16156112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90612f32565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e90612fc4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c0906134fd565b60405180910390fd5b61143f600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661141a600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a3c565b60405180602001604052806000815250604051806020016040528060008152506122bf565b565b6005600954611450919061354c565b61147b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a3c565b106114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b2906135ef565b60405180910390fd5b611509600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660095460405180602001604052806000815250604051806020016040528060008152506122ab565b565b600c60149054906101000a900460ff1681565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806116365750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156116355750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b5b806116c75750600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b905092915050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611784611a65565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e990613681565b60405180910390fd5b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118e557600160076000611852611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611979565b600660006118f1611a65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b611981611a65565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b6119ee6119e8611a65565b8561151e565b611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a249061326f565b60405180910390fd5b611a39848484846122bf565b50505050565b611a61611a4a611a65565b8383604051806020016040528060008152506122bf565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad490613713565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b44906137a5565b60405180910390fd5b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611c2b91906129d1565b60405180910390a3505050565b6000731820a4b7618bde71dce8cdc73aab6c95905fad2473ffffffffffffffffffffffffffffffffffffffff1663aabbb8ca877f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe8956040518363ffffffff1660e01b8152600401611ca99291906137de565b602060405180830381865afa158015611cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cea919061381c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d96578073ffffffffffffffffffffffffffffffffffffffff166375ab97828888888888886040518763ffffffff1660e01b8152600401611d639695949392919061389e565b600060405180830381600087803b158015611d7d57600080fd5b505af1158015611d91573d6000803e3d6000fd5b505050505b50505050505050565b611dab86868686612512565b60008060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e289061397f565b60405180910390fd5b8381036000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec4919061399f565b925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987878787604051611f43939291906139f5565b60405180910390a48473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051611fa891906129d1565b60405180910390a350505050505050565b6000731820a4b7618bde71dce8cdc73aab6c95905fad2473ffffffffffffffffffffffffffffffffffffffff1663aabbb8ca877fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b6040518363ffffffff1660e01b815260040161202a9291906137de565b602060405180830381865afa158015612047573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206b919061381c565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461211a578073ffffffffffffffffffffffffffffffffffffffff166223de298989898989896040518763ffffffff1660e01b81526004016120e39695949392919061389e565b600060405180830381600087803b1580156120fd57600080fd5b505af1158015612111573d6000803e3d6000fd5b50505050612181565b81156121805761213f8673ffffffffffffffffffffffffffffffffffffffff16612518565b1561217f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217690613ad2565b60405180910390fd5b5b5b5050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156121fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f290613b64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561226b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226290613bd0565b60405180910390fd5b6000612275611a65565b9050612285818888888888611c38565b612293818888888888611d9f565b6122a281888888888888611fb9565b50505050505050565b6122b984848484600161252b565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561232f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232690613c62565b60405180910390fd5b6000612339611a65565b905061234a81866000878787611c38565b6123578186600087612512565b60008060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d490613cf4565b60405180910390fd5b8481036000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550846001600082825461243491906131c9565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a409887878760405161249c939291906139f5565b60405180910390a3600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161250291906129d1565b60405180910390a3505050505050565b50505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561259b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259290613d60565b60405180910390fd5b60006125a5611a65565b90506125b48160008888612512565b84600160008282546125c6919061399f565b92505081905550846000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461261b919061399f565b925050819055506126328160008888888888611fb9565b8573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d878787604051612693939291906139f5565b60405180910390a38573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040516126f991906129d1565b60405180910390a3505050505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061276082612735565b9050919050565b61277081612755565b82525050565b60006127828383612767565b60208301905092915050565b6000602082019050919050565b60006127a682612709565b6127b08185612714565b93506127bb83612725565b8060005b838110156127ec5781516127d38882612776565b97506127de8361278e565b9250506001810190506127bf565b5085935050505092915050565b60006020820190508181036000830152612813818461279b565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561285557808201518184015260208101905061283a565b83811115612864576000848401525b50505050565b6000601f19601f8301169050919050565b60006128868261281b565b6128908185612826565b93506128a0818560208601612837565b6128a98161286a565b840191505092915050565b600060208201905081810360008301526128ce818461287b565b905092915050565b6000604051905090565b600080fd5b600080fd5b6128f381612755565b81146128fe57600080fd5b50565b600081359050612910816128ea565b92915050565b6000819050919050565b61292981612916565b811461293457600080fd5b50565b60008135905061294681612920565b92915050565b60008060408385031215612963576129626128e0565b5b600061297185828601612901565b925050602061298285828601612937565b9150509250929050565b60008115159050919050565b6129a18161298c565b82525050565b60006020820190506129bc6000830184612998565b92915050565b6129cb81612916565b82525050565b60006020820190506129e660008301846129c2565b92915050565b600080600060608486031215612a0557612a046128e0565b5b6000612a1386828701612901565b9350506020612a2486828701612901565b9250506040612a3586828701612937565b9150509250925092565b600060ff82169050919050565b612a5581612a3f565b82525050565b6000602082019050612a706000830184612a4c565b92915050565b612a7f81612755565b82525050565b6000602082019050612a9a6000830184612a76565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ae28261286a565b810181811067ffffffffffffffff82111715612b0157612b00612aaa565b5b80604052505050565b6000612b146128d6565b9050612b208282612ad9565b919050565b600067ffffffffffffffff821115612b4057612b3f612aaa565b5b612b498261286a565b9050602081019050919050565b82818337600083830152505050565b6000612b78612b7384612b25565b612b0a565b905082815260208101848484011115612b9457612b93612aa5565b5b612b9f848285612b56565b509392505050565b600082601f830112612bbc57612bbb612aa0565b5b8135612bcc848260208601612b65565b91505092915050565b600080600080600060a08688031215612bf157612bf06128e0565b5b6000612bff88828901612901565b9550506020612c1088828901612901565b9450506040612c2188828901612937565b935050606086013567ffffffffffffffff811115612c4257612c416128e5565b5b612c4e88828901612ba7565b925050608086013567ffffffffffffffff811115612c6f57612c6e6128e5565b5b612c7b88828901612ba7565b9150509295509295909350565b600060208284031215612c9e57612c9d6128e0565b5b6000612cac84828501612901565b91505092915050565b600080600060608486031215612cce57612ccd6128e0565b5b6000612cdc86828701612901565b9350506020612ced86828701612937565b925050604084013567ffffffffffffffff811115612d0e57612d0d6128e5565b5b612d1a86828701612ba7565b9150509250925092565b60008060408385031215612d3b57612d3a6128e0565b5b6000612d4985828601612901565b9250506020612d5a85828601612901565b9150509250929050565b60008060008060808587031215612d7e57612d7d6128e0565b5b6000612d8c87828801612901565b9450506020612d9d87828801612937565b935050604085013567ffffffffffffffff811115612dbe57612dbd6128e5565b5b612dca87828801612ba7565b925050606085013567ffffffffffffffff811115612deb57612dea6128e5565b5b612df787828801612ba7565b91505092959194509250565b60008060408385031215612e1a57612e196128e0565b5b6000612e2885828601612937565b925050602083013567ffffffffffffffff811115612e4957612e486128e5565b5b612e5585828601612ba7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ea657607f821691505b60208210811415612eba57612eb9612e5f565b5b50919050565b7f4b4559533a20546f6b656e2052657365727665204d616e6167656d656e74204460008201527f697361626c656400000000000000000000000000000000000000000000000000602082015250565b6000612f1c602783612826565b9150612f2782612ec0565b604082019050919050565b60006020820190508181036000830152612f4b81612f0f565b9050919050565b7f4b4559533a204f6e6c79205265736572766573204d616e616765722063616e2060008201527f7769746864726177616c2e000000000000000000000000000000000000000000602082015250565b6000612fae602b83612826565b9150612fb982612f52565b604082019050919050565b60006020820190508181036000830152612fdd81612fa1565b9050919050565b7f4552433737373a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613040602483612826565b915061304b82612fe4565b604082019050919050565b6000602082019050818103600083015261306f81613033565b9050919050565b7f4552433737373a207472616e736665722066726f6d20746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006130d2602683612826565b91506130dd82613076565b604082019050919050565b60006020820190508181036000830152613101816130c5565b9050919050565b7f4552433737373a207472616e7366657220616d6f756e7420657863656564732060008201527f616c6c6f77616e63650000000000000000000000000000000000000000000000602082015250565b6000613164602983612826565b915061316f82613108565b604082019050919050565b6000602082019050818103600083015261319381613157565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131d482612916565b91506131df83612916565b9250828210156131f2576131f161319a565b5b828203905092915050565b7f4552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f60008201527f7220666f7220686f6c6465720000000000000000000000000000000000000000602082015250565b6000613259602c83612826565b9150613264826131fd565b604082019050919050565b600060208201905081810360008301526132888161324c565b9050919050565b7f4552433737373a20617574686f72697a696e672073656c66206173206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b60006132eb602483612826565b91506132f68261328f565b604082019050919050565b6000602082019050818103600083015261331a816132de565b9050919050565b7f4b4559533a205374616b696e6720436f6e74726163742063616e27742062652060008201527f656d707479000000000000000000000000000000000000000000000000000000602082015250565b600061337d602583612826565b915061338882613321565b604082019050919050565b600060208201905081810360008301526133ac81613370565b9050919050565b7f4b4559533a205374616b696e6720436f6e7472616374206964656e746963616c600082015250565b60006133e9602083612826565b91506133f4826133b3565b602082019050919050565b60006020820190508181036000830152613418816133dc565b9050919050565b7f4b4559533a204f6c64205374616b696e6720436f6e7472616374206e6565647360008201527f20746f20626520656d7074790000000000000000000000000000000000000000602082015250565b600061347b602c83612826565b91506134868261341f565b604082019050919050565b600060208201905081810360008301526134aa8161346e565b9050919050565b7f4b4559533a204e6f204c6567616379205374616b696e6720436f6e7472616374600082015250565b60006134e7602083612826565b91506134f2826134b1565b602082019050919050565b60006020820190508181036000830152613516816134da565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061355782612916565b915061356283612916565b9250826135725761357161351d565b5b828204905092915050565b7f4b4559533a205374616b696e672052657761726420506f6f6c2068617320656e60008201527f6f7567682066756e64732e000000000000000000000000000000000000000000602082015250565b60006135d9602b83612826565b91506135e48261357d565b604082019050919050565b60006020820190508181036000830152613608816135cc565b9050919050565b7f4552433737373a207265766f6b696e672073656c66206173206f70657261746f60008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061366b602183612826565b91506136768261360f565b604082019050919050565b6000602082019050818103600083015261369a8161365e565b9050919050565b7f4552433737373a20617070726f76652066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006136fd602583612826565b9150613708826136a1565b604082019050919050565b6000602082019050818103600083015261372c816136f0565b9050919050565b7f4552433737373a20617070726f766520746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061378f602383612826565b915061379a82613733565b604082019050919050565b600060208201905081810360008301526137be81613782565b9050919050565b6000819050919050565b6137d8816137c5565b82525050565b60006040820190506137f36000830185612a76565b61380060208301846137cf565b9392505050565b600081519050613816816128ea565b92915050565b600060208284031215613832576138316128e0565b5b600061384084828501613807565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061387082613849565b61387a8185613854565b935061388a818560208601612837565b6138938161286a565b840191505092915050565b600060c0820190506138b36000830189612a76565b6138c06020830188612a76565b6138cd6040830187612a76565b6138da60608301866129c2565b81810360808301526138ec8185613865565b905081810360a08301526139008184613865565b9050979650505050505050565b7f4552433737373a207472616e7366657220616d6f756e7420657863656564732060008201527f62616c616e636500000000000000000000000000000000000000000000000000602082015250565b6000613969602783612826565b91506139748261390d565b604082019050919050565b600060208201905081810360008301526139988161395c565b9050919050565b60006139aa82612916565b91506139b583612916565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139ea576139e961319a565b5b828201905092915050565b6000606082019050613a0a60008301866129c2565b8181036020830152613a1c8185613865565b90508181036040830152613a308184613865565b9050949350505050565b7f4552433737373a20746f6b656e20726563697069656e7420636f6e747261637460008201527f20686173206e6f20696d706c656d656e74657220666f7220455243373737546f60208201527f6b656e73526563697069656e7400000000000000000000000000000000000000604082015250565b6000613abc604d83612826565b9150613ac782613a3a565b606082019050919050565b60006020820190508181036000830152613aeb81613aaf565b9050919050565b7f4552433737373a2073656e642066726f6d20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b4e602283612826565b9150613b5982613af2565b604082019050919050565b60006020820190508181036000830152613b7d81613b41565b9050919050565b7f4552433737373a2073656e6420746f20746865207a65726f2061646472657373600082015250565b6000613bba602083612826565b9150613bc582613b84565b602082019050919050565b60006020820190508181036000830152613be981613bad565b9050919050565b7f4552433737373a206275726e2066726f6d20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c4c602283612826565b9150613c5782613bf0565b604082019050919050565b60006020820190508181036000830152613c7b81613c3f565b9050919050565b7f4552433737373a206275726e20616d6f756e7420657863656564732062616c6160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b6000613cde602383612826565b9150613ce982613c82565b604082019050919050565b60006020820190508181036000830152613d0d81613cd1565b9050919050565b7f4552433737373a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613d4a602083612826565b9150613d5582613d14565b602082019050919050565b60006020820190508181036000830152613d7981613d3d565b905091905056fea2646970667358221220075eed3dfad8fedd0baf3a6693d89f1d79524f4db91fa20b18b43087363d366364736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000044b4559530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b455953000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): KEYS
Arg [1] : symbol (string): KEYS
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 4b45595300000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4b45595300000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
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.