ERC-1155
Overview
Max Total Supply
0
Holders
692
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FindBalance
Compiler Version
v0.8.11+commit.d7f03943
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.11; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; //////////////////////////////////////////////////////////////// // // // // // // // __gggrgM**M#mggg__ // // __wgNN@"B*P""mp""@d#"@N#Nw__ // // _g#@0F_a*F# _*F9m_ ,F9*__9NG#g_ // // _mN#F aM" #p" !q@ 9NL "9#Qu_ // // g#MF _pP"L _g@"9L_ _g""#__ g"9w_ 0N#p // // _0F jL*" 7_wF #_gF 9gjF "bJ 9h_ // // j# gAF _@NL _g@#_ J@u_ 2#_ #_ // // ,FF_#" 9_ _#" "b_ g@ "hg _#" !q_ jF "*_09_ // // F N" #p" Ng@ `#g" "w@ "# t // // j p# g"9_ g@"9_ gP"#_ gF"q Pb L // // 0J k _@ 9g_ j#" "b_ j#" "b_ _d" q_ g ## // // #- --- Del X 0xG --- -# // // ," . ,-. ,-| |-. ,-. | ,-. ,-. ,-. ,-. // // |- | | | | | | | ,-| | ,-| | | | |-' // // | ' ' ' `-^ ^-' `-^ `' `-^ ' ' `-' `-' // // ' // // // // // //////////////////////////////////////////////////////////////// contract FindBalance is ERC1155 { // Contract admins. mapping(address => bool) private _admins; // Royalties. bytes4 private constant _INTERFACE_ID_EIP2981 = 0x2a55205a; mapping(uint256 => address payable) internal _royaltiesReceivers; mapping(uint256 => uint256) internal _royaltiesBps; // ERC20 token for payments. IERC20 private _erc20; address private _erc20Recipient = address(this); // Unit price. Defaulting to 18 decimals (default for ERC20). uint public price = 6 * 10 ** 18; // Project state. // 0 disabled // 1 mint enabled // 2 mint and balance enabled // 3 balance enabled uint public state; // Allowed balance moves. mapping(bytes32 => uint) internal _moves; // Token URIs. mapping(uint => string) internal _uris; event Mint(address to, uint quantity); event Balance(address owner, uint[] from, uint[] to); constructor( address erc20, address erc20Recipient, address[] memory admins, string memory uri_ ) ERC1155("") { _admins[msg.sender] = true; for (uint8 i=0; i<admins.length; i++) { _admins[admins[i]] = true; } setERC20(erc20, erc20Recipient); _uris[0] = uri_; state = 1; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155) returns (bool) { return interfaceId == _INTERFACE_ID_EIP2981 || ERC1155.supportsInterface(interfaceId); } // Token URI. function uri(uint256 tokenId) public view virtual override returns (string memory) { return _uris[tokenId]; } function isAdmin(address addr) public view returns (bool) { return true == _admins[addr]; } modifier adminOnly() { require(isAdmin(msg.sender), "caller is not an admin"); _; } function setAdmin(address addr, bool add) external adminOnly { if (add) { _admins[addr] = true; } else { delete _admins[addr]; } } // Update ERC20 token info. function setERC20(address erc20, address erc20Recipient) public adminOnly { _erc20 = IERC20(erc20); _erc20Recipient = erc20Recipient == address(0) ? address(this) : erc20Recipient; } // Update price. function setPrice(uint newPrice) external adminOnly { price = newPrice; } // Change state. function setState(uint nextState) external adminOnly { state = nextState; } // Update token uris. function setURIs(uint[] calldata tokenIds, string[] calldata uris) public adminOnly { require(tokenIds.length == uris.length, 'invalid tokenIds or uris length'); for (uint i=0; i<uris.length; i++) { _uris[tokenIds[i]] = uris[i]; } } // Public mint function. function mint( uint quantity, uint maxQuantity, uint bonusQuantity, uint8 v, bytes32 r, bytes32 s ) external { require( (quantity > 0 || bonusQuantity > 0) && isAdmin(ecrecover( keccak256(abi.encodePacked( "\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked( "b a l a n c e", msg.sender, quantity <= maxQuantity, maxQuantity, bonusQuantity, (state == 1 || state == 2), balanceOf(msg.sender, 0) )) )) , v, r, s )), 'minting not allowed' ); if (quantity > 0) { require( _erc20.transferFrom( msg.sender, _erc20Recipient, quantity * price ), 'payment failed' ); } _mint(msg.sender, 0, quantity + bonusQuantity, ""); emit Mint(msg.sender, quantity + bonusQuantity); } function adminMint(address recipient, uint tokenId, uint quantity) external adminOnly { _mint(recipient, tokenId, quantity, ""); } // Owners can burn their token. function burn(uint tokenId, uint quantity) external { _burn(msg.sender, tokenId, quantity); } // Set balance moves. function setMoves( bytes32[] calldata tokenMoves, uint8[] calldata tokenPicks, uint[] calldata tokenIds, string[] calldata uris ) external adminOnly { require(tokenMoves.length == tokenPicks.length, 'invalid moves or picks length'); for (uint8 m = 0; m < tokenMoves.length; m++) { _moves[tokenMoves[m]] = tokenPicks[m]; } if (uris.length > 0) { setURIs(tokenIds, uris); } } // Get tokenId for balance move. function getMove(uint from1, uint from2, uint to) public view returns (uint) { return _moves[keccak256(abi.encodePacked(from1,from2,to))]; } // Balance. function balance(uint[] calldata from, uint[] calldata to) external { require(state > 1, 'balance is disabled'); uint[] memory fromAmounts = new uint[](from.length); uint[] memory toAmounts = new uint[](to.length); uint16 fromIdx = 0; for (uint16 i = 0; i < to.length; i++) { require(to[i] > 0, 'invalid balance'); if (from[fromIdx] == 0) { require( to[i] != from[fromIdx] && to[i] == _moves[keccak256(abi.encodePacked(to[i]))], 'invalid balance' ); fromAmounts[i] = 1; fromIdx += 1; } else { require( to[i] != from[fromIdx] && to[i] != from[fromIdx+1] && ( to[i] == getMove(from[fromIdx], from[fromIdx+1], to[i]) || to[i] == getMove(from[fromIdx+1], from[fromIdx], to[i]) ), 'invalid balance' ); fromAmounts[fromIdx] = 1; fromAmounts[fromIdx+1] = 1; fromIdx += 2; } toAmounts[i] = 1; } _burnBatch( msg.sender, from, fromAmounts ); _mintBatch( msg.sender, to, toAmounts, "" ); emit Balance(msg.sender, from, to); } function setRoyalties(uint256 tokenId, address payable receiver, uint256 bps) external adminOnly { require(bps < 10000, "invalid bps"); _royaltiesReceivers[tokenId] = receiver; _royaltiesBps[tokenId] = bps; } function royaltyInfo(uint256 tokenId, uint256 value) public view returns (address, uint256) { if (_royaltiesReceivers[tokenId] == address(0)) return (address(this), 1000*value/10000); return (_royaltiesReceivers[tokenId], _royaltiesBps[tokenId]*value/10000); } function p( address token, address recipient, uint amount ) external adminOnly { if (token == address(0)) { require( amount == 0 || address(this).balance >= amount, 'invalid amount value' ); (bool success, ) = recipient.call{value: amount}(''); require(success, 'amount transfer failed'); } else { require( IERC20(token).transfer(recipient, amount), 'amount transfer failed' ); } } receive() external payable {} } interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * 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[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"erc20","type":"address"},{"internalType":"address","name":"erc20Recipient","type":"address"},{"internalType":"address[]","name":"admins","type":"address[]"},{"internalType":"string","name":"uri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"from","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"to","type":"uint256[]"}],"name":"Balance","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Mint","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":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","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":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"from","type":"uint256[]"},{"internalType":"uint256[]","name":"to","type":"uint256[]"}],"name":"balance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"from1","type":"uint256"},{"internalType":"uint256","name":"from2","type":"uint256"},{"internalType":"uint256","name":"to","type":"uint256"}],"name":"getMove","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"maxQuantity","type":"uint256"},{"internalType":"uint256","name":"bonusQuantity","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"p","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"add","type":"bool"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc20","type":"address"},{"internalType":"address","name":"erc20Recipient","type":"address"}],"name":"setERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"tokenMoves","type":"bytes32[]"},{"internalType":"uint8[]","name":"tokenPicks","type":"uint8[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"uris","type":"string[]"}],"name":"setMoves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nextState","type":"uint256"}],"name":"setState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"uris","type":"string[]"}],"name":"setURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405230600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506753444835ec5800006008553480156200005e57600080fd5b506040516200628038038062006280833981810160405281019062000084919062000707565b60405180602001604052806000815250620000a581620001eb60201b60201c565b506001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060005b82518160ff1610156200019c57600160036000858460ff16815181106200012d576200012c620007b7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080620001939062000822565b91505062000101565b50620001af84846200020760201b60201c565b80600b60008081526020019081526020016000209080519060200190620001d89291906200037a565b5060016009819055505050505062000939565b8060029080519060200190620002039291906200037a565b5050565b62000218336200031d60201b60201c565b6200025a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200025190620008b2565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614620002d75780620002d9565b305b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151560011515149050919050565b828054620003889062000903565b90600052602060002090601f016020900481019282620003ac5760008555620003f8565b82601f10620003c757805160ff1916838001178555620003f8565b82800160010185558215620003f8579182015b82811115620003f7578251825591602001919060010190620003da565b5b5090506200040791906200040b565b5090565b5b80821115620004265760008160009055506001016200040c565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200046b826200043e565b9050919050565b6200047d816200045e565b81146200048957600080fd5b50565b6000815190506200049d8162000472565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004f382620004a8565b810181811067ffffffffffffffff82111715620005155762000514620004b9565b5b80604052505050565b60006200052a6200042a565b9050620005388282620004e8565b919050565b600067ffffffffffffffff8211156200055b576200055a620004b9565b5b602082029050602081019050919050565b600080fd5b60006200058862000582846200053d565b6200051e565b90508083825260208201905060208402830185811115620005ae57620005ad6200056c565b5b835b81811015620005db5780620005c688826200048c565b845260208401935050602081019050620005b0565b5050509392505050565b600082601f830112620005fd57620005fc620004a3565b5b81516200060f84826020860162000571565b91505092915050565b600080fd5b600067ffffffffffffffff8211156200063b576200063a620004b9565b5b6200064682620004a8565b9050602081019050919050565b60005b838110156200067357808201518184015260208101905062000656565b8381111562000683576000848401525b50505050565b6000620006a06200069a846200061d565b6200051e565b905082815260208101848484011115620006bf57620006be62000618565b5b620006cc84828562000653565b509392505050565b600082601f830112620006ec57620006eb620004a3565b5b8151620006fe84826020860162000689565b91505092915050565b6000806000806080858703121562000724576200072362000434565b5b600062000734878288016200048c565b945050602062000747878288016200048c565b935050604085015167ffffffffffffffff8111156200076b576200076a62000439565b5b6200077987828801620005e5565b925050606085015167ffffffffffffffff8111156200079d576200079c62000439565b5b620007ab87828801620006d4565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060ff82169050919050565b60006200082f8262000815565b915060ff821415620008465762000845620007e6565b5b600182019050919050565b600082825260208201905092915050565b7f63616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b60006200089a60168362000851565b9150620008a78262000862565b602082019050919050565b60006020820190508181036000830152620008cd816200088b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200091c57607f821691505b60208210811415620009335762000932620008d4565b5b50919050565b61593780620009496000396000f3fe6080604052600436106101685760003560e01c806387962db9116100d1578063c0f0bbb51161008a578063e985e9c511610064578063e985e9c514610562578063ed463eb21461059f578063f242432a146105c8578063f4da0996146105f15761016f565b8063c0f0bbb5146104e5578063c19d93fb1461050e578063e2c7f338146105395761016f565b806387962db9146103d957806391b7f5ed14610416578063a035b1fe1461043f578063a22cb4651461046a578063a9e966b714610493578063b390c0ab146104bc5761016f565b806324d7806c1161012357806324d7806c146102a65780632a55205a146102e35780632eb2c2d6146103215780634b0bddd21461034a5780634e1273f4146103735780635c9b7125146103b05761016f565b80624a84cb14610174578062fdd58e1461019d57806301ffc9a7146101da5780630e445536146102175780630e89341c146102405780630ee9b3951461027d5761016f565b3661016f57005b600080fd5b34801561018057600080fd5b5061019b600480360381019061019691906134ab565b61061a565b005b3480156101a957600080fd5b506101c460048036038101906101bf91906134fe565b610682565b6040516101d1919061354d565b60405180910390f35b3480156101e657600080fd5b5061020160048036038101906101fc91906135c0565b61074b565b60405161020e9190613608565b60405180910390f35b34801561022357600080fd5b5061023e60048036038101906102399190613692565b6107ac565b005b34801561024c57600080fd5b506102676004803603810190610262919061371f565b610a5b565b60405161027491906137e5565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f91906138c2565b610b00565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190613943565b610c17565b6040516102da9190613608565b60405180910390f35b3480156102ef57600080fd5b5061030a60048036038101906103059190613970565b610c74565b6040516103189291906139bf565b60405180910390f35b34801561032d57600080fd5b5061034860048036038101906103439190613bdb565b610d70565b005b34801561035657600080fd5b50610371600480360381019061036c9190613cd6565b610e11565b005b34801561037f57600080fd5b5061039a60048036038101906103959190613dd9565b610f10565b6040516103a79190613f0f565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190613f31565b611029565b005b3480156103e557600080fd5b5061040060048036038101906103fb9190613f84565b611269565b60405161040d919061354d565b60405180910390f35b34801561042257600080fd5b5061043d6004803603810190610438919061371f565b6112b2565b005b34801561044b57600080fd5b50610454611304565b604051610461919061354d565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190613cd6565b61130a565b005b34801561049f57600080fd5b506104ba60048036038101906104b5919061371f565b611320565b005b3480156104c857600080fd5b506104e360048036038101906104de9190613970565b611372565b005b3480156104f157600080fd5b5061050c60048036038101906105079190613fd7565b611381565b005b34801561051a57600080fd5b506105236119ba565b604051610530919061354d565b60405180910390f35b34801561054557600080fd5b50610560600480360381019061055b9190614096565b6119c0565b005b34801561056e57600080fd5b50610589600480360381019061058491906140e9565b611abb565b6040516105969190613608565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c191906140e9565b611b4f565b005b3480156105d457600080fd5b506105ef60048036038101906105ea9190614129565b611c58565b005b3480156105fd57600080fd5b506106186004803603810190610613919061426c565b611cf9565b005b61062333610c17565b610662576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610659906143a1565b60405180910390fd5b61067d83838360405180602001604052806000815250611e32565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea90614433565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107a557506107a482611fc8565b5b9050919050565b60008611806107bb5750600084115b801561088f575061088e600133878911158888600160095414806107e157506002600954145b6107ec336000610682565b6040516020016108019695949392919061455b565b604051602081830303815290604052805190602001206040516020016108279190614643565b604051602081830303815290604052805190602001208585856040516000815260200160405260405161085d9493929190614687565b6020604051602081039080840390855afa15801561087f573d6000803e3d6000fd5b50505060206040510351610c17565b5b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590614718565b60405180910390fd5b60008611156109e857600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008548a6109479190614767565b6040518463ffffffff1660e01b8152600401610965939291906147c1565b6020604051808303816000875af1158015610984573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a8919061480d565b6109e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109de90614886565b60405180910390fd5b5b610a0f33600086896109fa91906148a6565b60405180602001604052806000815250611e32565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885338588610a3d91906148a6565b604051610a4b9291906139bf565b60405180910390a1505050505050565b6060600b60008381526020019081526020016000208054610a7b9061492b565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa79061492b565b8015610af45780601f10610ac957610100808354040283529160200191610af4565b820191906000526020600020905b815481529060010190602001808311610ad757829003601f168201915b50505050509050919050565b610b0933610c17565b610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f906143a1565b60405180910390fd5b818190508484905014610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b87906149a9565b60405180910390fd5b60005b82829050811015610c1057828282818110610bb157610bb06149c9565b5b9050602002810190610bc39190614a07565b600b6000888886818110610bda57610bd96149c9565b5b9050602002013581526020019081526020016000209190610bfc929190613360565b508080610c0890614a6a565b915050610b93565b5050505050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151560011515149050919050565b600080600073ffffffffffffffffffffffffffffffffffffffff166004600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610d045730612710846103e8610cf19190614767565b610cfb9190614ae2565b91509150610d69565b6004600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710846005600088815260200190815260200160002054610d5a9190614767565b610d649190614ae2565b915091505b9250929050565b610d786120aa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610dbe5750610dbd85610db86120aa565b611abb565b5b610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490614b85565b60405180910390fd5b610e0a85858585856120b2565b5050505050565b610e1a33610c17565b610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e50906143a1565b60405180910390fd5b8015610ebc576001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610f0c565b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b5050565b60608151835114610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90614c17565b60405180910390fd5b6000835167ffffffffffffffff811115610f7357610f726139e8565b5b604051908082528060200260200182016040528015610fa15781602001602082028036833780820191505090505b50905060005b845181101561101e57610fee858281518110610fc657610fc56149c9565b5b6020026020010151858381518110610fe157610fe06149c9565b5b6020026020010151610682565b828281518110611001576110006149c9565b5b6020026020010181815250508061101790614a6a565b9050610fa7565b508091505092915050565b61103233610c17565b611071576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611068906143a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111a65760008114806110b55750804710155b6110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb90614c83565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161111a90614cd4565b60006040518083038185875af1925050503d8060008114611157576040519150601f19603f3d011682016040523d82523d6000602084013e61115c565b606091505b50509050806111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790614d35565b60405180910390fd5b50611264565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016111e19291906139bf565b6020604051808303816000875af1158015611200573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611224919061480d565b611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a90614d35565b60405180910390fd5b5b505050565b6000600a600085858560405160200161128493929190614d55565b6040516020818303038152906040528051906020012081526020019081526020016000205490509392505050565b6112bb33610c17565b6112fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f1906143a1565b60405180910390fd5b8060088190555050565b60085481565b61131c6113156120aa565b83836123c6565b5050565b61132933610c17565b611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f906143a1565b60405180910390fd5b8060098190555050565b61137d338383612533565b5050565b6001600954116113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd90614dde565b60405180910390fd5b60008484905067ffffffffffffffff8111156113e5576113e46139e8565b5b6040519080825280602002602001820160405280156114135781602001602082028036833780820191505090505b50905060008383905067ffffffffffffffff811115611435576114346139e8565b5b6040519080825280602002602001820160405280156114635781602001602082028036833780820191505090505b5090506000805b858590508161ffff1610156118c957600086868361ffff16818110611492576114916149c9565b5b90506020020135116114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614e4a565b60405180910390fd5b600088888461ffff168181106114f2576114f16149c9565b5b9050602002013514156116335787878361ffff16818110611516576115156149c9565b5b9050602002013586868361ffff16818110611534576115336149c9565b5b90506020020135141580156115bb5750600a600087878461ffff1681811061155f5761155e6149c9565b5b905060200201356040516020016115769190614e6a565b6040516020818303038152906040528051906020012081526020019081526020016000205486868361ffff168181106115b2576115b16149c9565b5b90506020020135145b6115fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f190614e4a565b60405180910390fd5b6001848261ffff1681518110611613576116126149c9565b5b60200260200101818152505060018261162c9190614e93565b9150611891565b87878361ffff1681811061164a576116496149c9565b5b9050602002013586868361ffff16818110611668576116676149c9565b5b90506020020135141580156116c3575087876001846116879190614e93565b61ffff1681811061169b5761169a6149c9565b5b9050602002013586868361ffff168181106116b9576116b86149c9565b5b9050602002013514155b80156117ec575061173888888461ffff168181106116e4576116e36149c9565b5b9050602002013589896001866116fa9190614e93565b61ffff1681811061170e5761170d6149c9565b5b9050602002013588888561ffff1681811061172c5761172b6149c9565b5b90506020020135611269565b86868361ffff1681811061174f5761174e6149c9565b5b9050602002013514806117eb57506117cb888860018561176f9190614e93565b61ffff16818110611783576117826149c9565b5b9050602002013589898561ffff168181106117a1576117a06149c9565b5b9050602002013588888561ffff168181106117bf576117be6149c9565b5b90506020020135611269565b86868361ffff168181106117e2576117e16149c9565b5b90506020020135145b5b61182b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182290614e4a565b60405180910390fd5b6001848361ffff1681518110611844576118436149c9565b5b6020026020010181815250506001846001846118609190614e93565b61ffff1681518110611875576118746149c9565b5b60200260200101818152505060028261188e9190614e93565b91505b6001838261ffff16815181106118aa576118a96149c9565b5b60200260200101818152505080806118c190614ecb565b91505061146a565b5061191633888880806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505085612750565b61197233868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508460405180602001604052806000815250612a01565b7f8f4b00f7e4195aafa933522713c78a8938fb76154023e8f36f0372c929080cbc33888888886040516119a9959493929190614f57565b60405180910390a150505050505050565b60095481565b6119c933610c17565b611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff906143a1565b60405180910390fd5b6127108110611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390614fec565b60405180910390fd5b816004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806005600085815260200190815260200160002081905550505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b5833610c17565b611b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8e906143a1565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c125780611c14565b305b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b611c606120aa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611ca65750611ca585611ca06120aa565b611abb565b5b611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc9061507e565b60405180910390fd5b611cf28585858585612c1f565b5050505050565b611d0233610c17565b611d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d38906143a1565b60405180910390fd5b858590508888905014611d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d80906150ea565b60405180910390fd5b60005b888890508160ff161015611e0e5786868260ff16818110611db057611daf6149c9565b5b9050602002016020810190611dc5919061510a565b60ff16600a60008b8b8560ff16818110611de257611de16149c9565b5b905060200201358152602001908152602001600020819055508080611e0690615137565b915050611d8c565b506000828290501115611e2857611e2784848484610b00565b5b5050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e99906151d3565b60405180910390fd5b6000611eac6120aa565b9050611ecd81600087611ebe88612ea1565b611ec788612ea1565b87612f1b565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f2c91906148a6565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611faa9291906151f3565b60405180910390a4611fc181600087878787612f23565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061209357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120a357506120a2826130fb565b5b9050919050565b600033905090565b81518351146120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed9061528e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90615320565b60405180910390fd5b60006121706120aa565b9050612180818787878787612f1b565b60005b84518110156123315760008582815181106121a1576121a06149c9565b5b6020026020010151905060008583815181106121c0576121bf6149c9565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612261576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612258906153b2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461231691906148a6565b925050819055505050508061232a90614a6a565b9050612183565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123a89291906153d2565b60405180910390a46123be818787878787613165565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c9061547b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125269190613608565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259a9061550d565b60405180910390fd5b60006125ad6120aa565b90506125dd818560006125bf87612ea1565b6125c887612ea1565b60405180602001604052806000815250612f1b565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b9061559f565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516127419291906151f3565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b79061550d565b60405180910390fd5b8051825114612804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fb9061528e565b60405180910390fd5b600061280e6120aa565b905061282e81856000868660405180602001604052806000815250612f1b565b60005b835181101561297b57600084828151811061284f5761284e6149c9565b5b60200260200101519050600084838151811061286e5761286d6149c9565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561290f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129069061559f565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061297390614a6a565b915050612831565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516129f39291906153d2565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a68906151d3565b60405180910390fd5b8151835114612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac9061528e565b60405180910390fd5b6000612abf6120aa565b9050612ad081600087878787612f1b565b60005b8451811015612b8957838181518110612aef57612aee6149c9565b5b6020026020010151600080878481518110612b0d57612b0c6149c9565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b6f91906148a6565b925050819055508080612b8190614a6a565b915050612ad3565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612c019291906153d2565b60405180910390a4612c1881600087878787613165565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8690615320565b60405180910390fd5b6000612c996120aa565b9050612cb9818787612caa88612ea1565b612cb388612ea1565b87612f1b565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d47906153b2565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e0591906148a6565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612e829291906151f3565b60405180910390a4612e98828888888888612f23565b50505050505050565b60606000600167ffffffffffffffff811115612ec057612ebf6139e8565b5b604051908082528060200260200182016040528015612eee5781602001602082028036833780820191505090505b5090508281600081518110612f0657612f056149c9565b5b60200260200101818152505080915050919050565b505050505050565b612f428473ffffffffffffffffffffffffffffffffffffffff1661333d565b156130f3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612f88959493929190615614565b6020604051808303816000875af1925050508015612fc457506040513d601f19601f82011682018060405250810190612fc19190615683565b60015b61306a57612fd06156bd565b806308c379a0141561302d5750612fe56156df565b80612ff0575061302f565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302491906137e5565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613061906157e7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146130f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e890615879565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6131848473ffffffffffffffffffffffffffffffffffffffff1661333d565b15613335578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016131ca959493929190615899565b6020604051808303816000875af192505050801561320657506040513d601f19601f820116820180604052508101906132039190615683565b60015b6132ac576132126156bd565b806308c379a0141561326f57506132276156df565b806132325750613271565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326691906137e5565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a3906157e7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332a90615879565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461336c9061492b565b90600052602060002090601f01602090048101928261338e57600085556133d5565b82601f106133a757803560ff19168380011785556133d5565b828001600101855582156133d5579182015b828111156133d45782358255916020019190600101906133b9565b5b5090506133e291906133e6565b5090565b5b808211156133ff5760008160009055506001016133e7565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061344282613417565b9050919050565b61345281613437565b811461345d57600080fd5b50565b60008135905061346f81613449565b92915050565b6000819050919050565b61348881613475565b811461349357600080fd5b50565b6000813590506134a58161347f565b92915050565b6000806000606084860312156134c4576134c361340d565b5b60006134d286828701613460565b93505060206134e386828701613496565b92505060406134f486828701613496565b9150509250925092565b600080604083850312156135155761351461340d565b5b600061352385828601613460565b925050602061353485828601613496565b9150509250929050565b61354781613475565b82525050565b6000602082019050613562600083018461353e565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61359d81613568565b81146135a857600080fd5b50565b6000813590506135ba81613594565b92915050565b6000602082840312156135d6576135d561340d565b5b60006135e4848285016135ab565b91505092915050565b60008115159050919050565b613602816135ed565b82525050565b600060208201905061361d60008301846135f9565b92915050565b600060ff82169050919050565b61363981613623565b811461364457600080fd5b50565b60008135905061365681613630565b92915050565b6000819050919050565b61366f8161365c565b811461367a57600080fd5b50565b60008135905061368c81613666565b92915050565b60008060008060008060c087890312156136af576136ae61340d565b5b60006136bd89828a01613496565b96505060206136ce89828a01613496565b95505060406136df89828a01613496565b94505060606136f089828a01613647565b935050608061370189828a0161367d565b92505060a061371289828a0161367d565b9150509295509295509295565b6000602082840312156137355761373461340d565b5b600061374384828501613496565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561378657808201518184015260208101905061376b565b83811115613795576000848401525b50505050565b6000601f19601f8301169050919050565b60006137b78261374c565b6137c18185613757565b93506137d1818560208601613768565b6137da8161379b565b840191505092915050565b600060208201905081810360008301526137ff81846137ac565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261382c5761382b613807565b5b8235905067ffffffffffffffff8111156138495761384861380c565b5b60208301915083602082028301111561386557613864613811565b5b9250929050565b60008083601f84011261388257613881613807565b5b8235905067ffffffffffffffff81111561389f5761389e61380c565b5b6020830191508360208202830111156138bb576138ba613811565b5b9250929050565b600080600080604085870312156138dc576138db61340d565b5b600085013567ffffffffffffffff8111156138fa576138f9613412565b5b61390687828801613816565b9450945050602085013567ffffffffffffffff81111561392957613928613412565b5b6139358782880161386c565b925092505092959194509250565b6000602082840312156139595761395861340d565b5b600061396784828501613460565b91505092915050565b600080604083850312156139875761398661340d565b5b600061399585828601613496565b92505060206139a685828601613496565b9150509250929050565b6139b981613437565b82525050565b60006040820190506139d460008301856139b0565b6139e1602083018461353e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a208261379b565b810181811067ffffffffffffffff82111715613a3f57613a3e6139e8565b5b80604052505050565b6000613a52613403565b9050613a5e8282613a17565b919050565b600067ffffffffffffffff821115613a7e57613a7d6139e8565b5b602082029050602081019050919050565b6000613aa2613a9d84613a63565b613a48565b90508083825260208201905060208402830185811115613ac557613ac4613811565b5b835b81811015613aee5780613ada8882613496565b845260208401935050602081019050613ac7565b5050509392505050565b600082601f830112613b0d57613b0c613807565b5b8135613b1d848260208601613a8f565b91505092915050565b600080fd5b600067ffffffffffffffff821115613b4657613b456139e8565b5b613b4f8261379b565b9050602081019050919050565b82818337600083830152505050565b6000613b7e613b7984613b2b565b613a48565b905082815260208101848484011115613b9a57613b99613b26565b5b613ba5848285613b5c565b509392505050565b600082601f830112613bc257613bc1613807565b5b8135613bd2848260208601613b6b565b91505092915050565b600080600080600060a08688031215613bf757613bf661340d565b5b6000613c0588828901613460565b9550506020613c1688828901613460565b945050604086013567ffffffffffffffff811115613c3757613c36613412565b5b613c4388828901613af8565b935050606086013567ffffffffffffffff811115613c6457613c63613412565b5b613c7088828901613af8565b925050608086013567ffffffffffffffff811115613c9157613c90613412565b5b613c9d88828901613bad565b9150509295509295909350565b613cb3816135ed565b8114613cbe57600080fd5b50565b600081359050613cd081613caa565b92915050565b60008060408385031215613ced57613cec61340d565b5b6000613cfb85828601613460565b9250506020613d0c85828601613cc1565b9150509250929050565b600067ffffffffffffffff821115613d3157613d306139e8565b5b602082029050602081019050919050565b6000613d55613d5084613d16565b613a48565b90508083825260208201905060208402830185811115613d7857613d77613811565b5b835b81811015613da15780613d8d8882613460565b845260208401935050602081019050613d7a565b5050509392505050565b600082601f830112613dc057613dbf613807565b5b8135613dd0848260208601613d42565b91505092915050565b60008060408385031215613df057613def61340d565b5b600083013567ffffffffffffffff811115613e0e57613e0d613412565b5b613e1a85828601613dab565b925050602083013567ffffffffffffffff811115613e3b57613e3a613412565b5b613e4785828601613af8565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e8681613475565b82525050565b6000613e988383613e7d565b60208301905092915050565b6000602082019050919050565b6000613ebc82613e51565b613ec68185613e5c565b9350613ed183613e6d565b8060005b83811015613f02578151613ee98882613e8c565b9750613ef483613ea4565b925050600181019050613ed5565b5085935050505092915050565b60006020820190508181036000830152613f298184613eb1565b905092915050565b600080600060608486031215613f4a57613f4961340d565b5b6000613f5886828701613460565b9350506020613f6986828701613460565b9250506040613f7a86828701613496565b9150509250925092565b600080600060608486031215613f9d57613f9c61340d565b5b6000613fab86828701613496565b9350506020613fbc86828701613496565b9250506040613fcd86828701613496565b9150509250925092565b60008060008060408587031215613ff157613ff061340d565b5b600085013567ffffffffffffffff81111561400f5761400e613412565b5b61401b87828801613816565b9450945050602085013567ffffffffffffffff81111561403e5761403d613412565b5b61404a87828801613816565b925092505092959194509250565b600061406382613417565b9050919050565b61407381614058565b811461407e57600080fd5b50565b6000813590506140908161406a565b92915050565b6000806000606084860312156140af576140ae61340d565b5b60006140bd86828701613496565b93505060206140ce86828701614081565b92505060406140df86828701613496565b9150509250925092565b60008060408385031215614100576140ff61340d565b5b600061410e85828601613460565b925050602061411f85828601613460565b9150509250929050565b600080600080600060a086880312156141455761414461340d565b5b600061415388828901613460565b955050602061416488828901613460565b945050604061417588828901613496565b935050606061418688828901613496565b925050608086013567ffffffffffffffff8111156141a7576141a6613412565b5b6141b388828901613bad565b9150509295509295909350565b60008083601f8401126141d6576141d5613807565b5b8235905067ffffffffffffffff8111156141f3576141f261380c565b5b60208301915083602082028301111561420f5761420e613811565b5b9250929050565b60008083601f84011261422c5761422b613807565b5b8235905067ffffffffffffffff8111156142495761424861380c565b5b60208301915083602082028301111561426557614264613811565b5b9250929050565b6000806000806000806000806080898b03121561428c5761428b61340d565b5b600089013567ffffffffffffffff8111156142aa576142a9613412565b5b6142b68b828c016141c0565b9850985050602089013567ffffffffffffffff8111156142d9576142d8613412565b5b6142e58b828c01614216565b9650965050604089013567ffffffffffffffff81111561430857614307613412565b5b6143148b828c01613816565b9450945050606089013567ffffffffffffffff81111561433757614336613412565b5b6143438b828c0161386c565b92509250509295985092959890939650565b7f63616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b600061438b601683613757565b915061439682614355565b602082019050919050565b600060208201905081810360008301526143ba8161437e565b9050919050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061441d602b83613757565b9150614428826143c1565b604082019050919050565b6000602082019050818103600083015261444c81614410565b9050919050565b600081905092915050565b7f622061206c2061206e2063206500000000000000000000000000000000000000600082015250565b6000614494600d83614453565b915061449f8261445e565b600d82019050919050565b60008160601b9050919050565b60006144c2826144aa565b9050919050565b60006144d4826144b7565b9050919050565b6144ec6144e782613437565b6144c9565b82525050565b60008160f81b9050919050565b600061450a826144f2565b9050919050565b600061451c826144ff565b9050919050565b61453461452f826135ed565b614511565b82525050565b6000819050919050565b61455561455082613475565b61453a565b82525050565b600061456682614487565b915061457282896144db565b6014820191506145828288614523565b6001820191506145928287614544565b6020820191506145a28286614544565b6020820191506145b28285614523565b6001820191506145c28284614544565b602082019150819050979650505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061460c601c83614453565b9150614617826145d6565b601c82019050919050565b6000819050919050565b61463d6146388261365c565b614622565b82525050565b600061464e826145ff565b915061465a828461462c565b60208201915081905092915050565b6146728161365c565b82525050565b61468181613623565b82525050565b600060808201905061469c6000830187614669565b6146a96020830186614678565b6146b66040830185614669565b6146c36060830184614669565b95945050505050565b7f6d696e74696e67206e6f7420616c6c6f77656400000000000000000000000000600082015250565b6000614702601383613757565b915061470d826146cc565b602082019050919050565b60006020820190508181036000830152614731816146f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061477282613475565b915061477d83613475565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147b6576147b5614738565b5b828202905092915050565b60006060820190506147d660008301866139b0565b6147e360208301856139b0565b6147f0604083018461353e565b949350505050565b60008151905061480781613caa565b92915050565b6000602082840312156148235761482261340d565b5b6000614831848285016147f8565b91505092915050565b7f7061796d656e74206661696c6564000000000000000000000000000000000000600082015250565b6000614870600e83613757565b915061487b8261483a565b602082019050919050565b6000602082019050818103600083015261489f81614863565b9050919050565b60006148b182613475565b91506148bc83613475565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f1576148f0614738565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061494357607f821691505b60208210811415614957576149566148fc565b5b50919050565b7f696e76616c696420746f6b656e496473206f722075726973206c656e67746800600082015250565b6000614993601f83613757565b915061499e8261495d565b602082019050919050565b600060208201905081810360008301526149c281614986565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614a2457614a236149f8565b5b80840192508235915067ffffffffffffffff821115614a4657614a456149fd565b5b602083019250600182023603831315614a6257614a61614a02565b5b509250929050565b6000614a7582613475565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aa857614aa7614738565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614aed82613475565b9150614af883613475565b925082614b0857614b07614ab3565b5b828204905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614b6f603283613757565b9150614b7a82614b13565b604082019050919050565b60006020820190508181036000830152614b9e81614b62565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614c01602983613757565b9150614c0c82614ba5565b604082019050919050565b60006020820190508181036000830152614c3081614bf4565b9050919050565b7f696e76616c696420616d6f756e742076616c7565000000000000000000000000600082015250565b6000614c6d601483613757565b9150614c7882614c37565b602082019050919050565b60006020820190508181036000830152614c9c81614c60565b9050919050565b600081905092915050565b50565b6000614cbe600083614ca3565b9150614cc982614cae565b600082019050919050565b6000614cdf82614cb1565b9150819050919050565b7f616d6f756e74207472616e73666572206661696c656400000000000000000000600082015250565b6000614d1f601683613757565b9150614d2a82614ce9565b602082019050919050565b60006020820190508181036000830152614d4e81614d12565b9050919050565b6000614d618286614544565b602082019150614d718285614544565b602082019150614d818284614544565b602082019150819050949350505050565b7f62616c616e63652069732064697361626c656400000000000000000000000000600082015250565b6000614dc8601383613757565b9150614dd382614d92565b602082019050919050565b60006020820190508181036000830152614df781614dbb565b9050919050565b7f696e76616c69642062616c616e63650000000000000000000000000000000000600082015250565b6000614e34600f83613757565b9150614e3f82614dfe565b602082019050919050565b60006020820190508181036000830152614e6381614e27565b9050919050565b6000614e768284614544565b60208201915081905092915050565b600061ffff82169050919050565b6000614e9e82614e85565b9150614ea983614e85565b92508261ffff03821115614ec057614ebf614738565b5b828201905092915050565b6000614ed682614e85565b915061ffff821415614eeb57614eea614738565b5b600182019050919050565b600080fd5b6000614f078385613e5c565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614f3a57614f39614ef6565b5b602083029250614f4b838584613b5c565b82840190509392505050565b6000606082019050614f6c60008301886139b0565b8181036020830152614f7f818688614efb565b90508181036040830152614f94818486614efb565b90509695505050505050565b7f696e76616c696420627073000000000000000000000000000000000000000000600082015250565b6000614fd6600b83613757565b9150614fe182614fa0565b602082019050919050565b6000602082019050818103600083015261500581614fc9565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000615068602983613757565b91506150738261500c565b604082019050919050565b600060208201905081810360008301526150978161505b565b9050919050565b7f696e76616c6964206d6f766573206f72207069636b73206c656e677468000000600082015250565b60006150d4601d83613757565b91506150df8261509e565b602082019050919050565b60006020820190508181036000830152615103816150c7565b9050919050565b6000602082840312156151205761511f61340d565b5b600061512e84828501613647565b91505092915050565b600061514282613623565b915060ff82141561515657615155614738565b5b600182019050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006151bd602183613757565b91506151c882615161565b604082019050919050565b600060208201905081810360008301526151ec816151b0565b9050919050565b6000604082019050615208600083018561353e565b615215602083018461353e565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000615278602883613757565b91506152838261521c565b604082019050919050565b600060208201905081810360008301526152a78161526b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061530a602583613757565b9150615315826152ae565b604082019050919050565b60006020820190508181036000830152615339816152fd565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061539c602a83613757565b91506153a782615340565b604082019050919050565b600060208201905081810360008301526153cb8161538f565b9050919050565b600060408201905081810360008301526153ec8185613eb1565b905081810360208301526154008184613eb1565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615465602983613757565b915061547082615409565b604082019050919050565b6000602082019050818103600083015261549481615458565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006154f7602383613757565b91506155028261549b565b604082019050919050565b60006020820190508181036000830152615526816154ea565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615589602483613757565b91506155948261552d565b604082019050919050565b600060208201905081810360008301526155b88161557c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155e6826155bf565b6155f081856155ca565b9350615600818560208601613768565b6156098161379b565b840191505092915050565b600060a08201905061562960008301886139b0565b61563660208301876139b0565b615643604083018661353e565b615650606083018561353e565b818103608083015261566281846155db565b90509695505050505050565b60008151905061567d81613594565b92915050565b6000602082840312156156995761569861340d565b5b60006156a78482850161566e565b91505092915050565b60008160e01c9050919050565b600060033d11156156dc5760046000803e6156d96000516156b0565b90505b90565b600060443d10156156ef57615772565b6156f7613403565b60043d036004823e80513d602482011167ffffffffffffffff8211171561571f575050615772565b808201805167ffffffffffffffff81111561573d5750505050615772565b80602083010160043d03850181111561575a575050505050615772565b61576982602001850186613a17565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006157d1603483613757565b91506157dc82615775565b604082019050919050565b60006020820190508181036000830152615800816157c4565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615863602883613757565b915061586e82615807565b604082019050919050565b6000602082019050818103600083015261589281615856565b9050919050565b600060a0820190506158ae60008301886139b0565b6158bb60208301876139b0565b81810360408301526158cd8186613eb1565b905081810360608301526158e18185613eb1565b905081810360808301526158f581846155db565b9050969550505050505056fea26469706673582212209f85cca631f713c6423c7402fcd2a8caa1af4569f65f4bfac0d4ce0f2fa8eb4964736f6c634300080b003300000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92000000000000000000000000ef355176ef1a8d63fc781b138bd3c0ff8d2e9d35000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000005d0a4ab65f44221ec0ba4f1f5cf6496ca2fd4a9b0000000000000000000000005b196c90e80f25adec09098b12d1d5d1a9479579000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f3936684448347734626563476c4c48563171724e34324f75635267725053564d43526d71446a4d6e6b516f00
Deployed Bytecode
0x6080604052600436106101685760003560e01c806387962db9116100d1578063c0f0bbb51161008a578063e985e9c511610064578063e985e9c514610562578063ed463eb21461059f578063f242432a146105c8578063f4da0996146105f15761016f565b8063c0f0bbb5146104e5578063c19d93fb1461050e578063e2c7f338146105395761016f565b806387962db9146103d957806391b7f5ed14610416578063a035b1fe1461043f578063a22cb4651461046a578063a9e966b714610493578063b390c0ab146104bc5761016f565b806324d7806c1161012357806324d7806c146102a65780632a55205a146102e35780632eb2c2d6146103215780634b0bddd21461034a5780634e1273f4146103735780635c9b7125146103b05761016f565b80624a84cb14610174578062fdd58e1461019d57806301ffc9a7146101da5780630e445536146102175780630e89341c146102405780630ee9b3951461027d5761016f565b3661016f57005b600080fd5b34801561018057600080fd5b5061019b600480360381019061019691906134ab565b61061a565b005b3480156101a957600080fd5b506101c460048036038101906101bf91906134fe565b610682565b6040516101d1919061354d565b60405180910390f35b3480156101e657600080fd5b5061020160048036038101906101fc91906135c0565b61074b565b60405161020e9190613608565b60405180910390f35b34801561022357600080fd5b5061023e60048036038101906102399190613692565b6107ac565b005b34801561024c57600080fd5b506102676004803603810190610262919061371f565b610a5b565b60405161027491906137e5565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f91906138c2565b610b00565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190613943565b610c17565b6040516102da9190613608565b60405180910390f35b3480156102ef57600080fd5b5061030a60048036038101906103059190613970565b610c74565b6040516103189291906139bf565b60405180910390f35b34801561032d57600080fd5b5061034860048036038101906103439190613bdb565b610d70565b005b34801561035657600080fd5b50610371600480360381019061036c9190613cd6565b610e11565b005b34801561037f57600080fd5b5061039a60048036038101906103959190613dd9565b610f10565b6040516103a79190613f0f565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190613f31565b611029565b005b3480156103e557600080fd5b5061040060048036038101906103fb9190613f84565b611269565b60405161040d919061354d565b60405180910390f35b34801561042257600080fd5b5061043d6004803603810190610438919061371f565b6112b2565b005b34801561044b57600080fd5b50610454611304565b604051610461919061354d565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190613cd6565b61130a565b005b34801561049f57600080fd5b506104ba60048036038101906104b5919061371f565b611320565b005b3480156104c857600080fd5b506104e360048036038101906104de9190613970565b611372565b005b3480156104f157600080fd5b5061050c60048036038101906105079190613fd7565b611381565b005b34801561051a57600080fd5b506105236119ba565b604051610530919061354d565b60405180910390f35b34801561054557600080fd5b50610560600480360381019061055b9190614096565b6119c0565b005b34801561056e57600080fd5b50610589600480360381019061058491906140e9565b611abb565b6040516105969190613608565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c191906140e9565b611b4f565b005b3480156105d457600080fd5b506105ef60048036038101906105ea9190614129565b611c58565b005b3480156105fd57600080fd5b506106186004803603810190610613919061426c565b611cf9565b005b61062333610c17565b610662576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610659906143a1565b60405180910390fd5b61067d83838360405180602001604052806000815250611e32565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea90614433565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107a557506107a482611fc8565b5b9050919050565b60008611806107bb5750600084115b801561088f575061088e600133878911158888600160095414806107e157506002600954145b6107ec336000610682565b6040516020016108019695949392919061455b565b604051602081830303815290604052805190602001206040516020016108279190614643565b604051602081830303815290604052805190602001208585856040516000815260200160405260405161085d9493929190614687565b6020604051602081039080840390855afa15801561087f573d6000803e3d6000fd5b50505060206040510351610c17565b5b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590614718565b60405180910390fd5b60008611156109e857600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008548a6109479190614767565b6040518463ffffffff1660e01b8152600401610965939291906147c1565b6020604051808303816000875af1158015610984573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a8919061480d565b6109e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109de90614886565b60405180910390fd5b5b610a0f33600086896109fa91906148a6565b60405180602001604052806000815250611e32565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885338588610a3d91906148a6565b604051610a4b9291906139bf565b60405180910390a1505050505050565b6060600b60008381526020019081526020016000208054610a7b9061492b565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa79061492b565b8015610af45780601f10610ac957610100808354040283529160200191610af4565b820191906000526020600020905b815481529060010190602001808311610ad757829003601f168201915b50505050509050919050565b610b0933610c17565b610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f906143a1565b60405180910390fd5b818190508484905014610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b87906149a9565b60405180910390fd5b60005b82829050811015610c1057828282818110610bb157610bb06149c9565b5b9050602002810190610bc39190614a07565b600b6000888886818110610bda57610bd96149c9565b5b9050602002013581526020019081526020016000209190610bfc929190613360565b508080610c0890614a6a565b915050610b93565b5050505050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151560011515149050919050565b600080600073ffffffffffffffffffffffffffffffffffffffff166004600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610d045730612710846103e8610cf19190614767565b610cfb9190614ae2565b91509150610d69565b6004600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710846005600088815260200190815260200160002054610d5a9190614767565b610d649190614ae2565b915091505b9250929050565b610d786120aa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610dbe5750610dbd85610db86120aa565b611abb565b5b610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490614b85565b60405180910390fd5b610e0a85858585856120b2565b5050505050565b610e1a33610c17565b610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e50906143a1565b60405180910390fd5b8015610ebc576001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610f0c565b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b5050565b60608151835114610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90614c17565b60405180910390fd5b6000835167ffffffffffffffff811115610f7357610f726139e8565b5b604051908082528060200260200182016040528015610fa15781602001602082028036833780820191505090505b50905060005b845181101561101e57610fee858281518110610fc657610fc56149c9565b5b6020026020010151858381518110610fe157610fe06149c9565b5b6020026020010151610682565b828281518110611001576110006149c9565b5b6020026020010181815250508061101790614a6a565b9050610fa7565b508091505092915050565b61103233610c17565b611071576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611068906143a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111a65760008114806110b55750804710155b6110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb90614c83565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161111a90614cd4565b60006040518083038185875af1925050503d8060008114611157576040519150601f19603f3d011682016040523d82523d6000602084013e61115c565b606091505b50509050806111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790614d35565b60405180910390fd5b50611264565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016111e19291906139bf565b6020604051808303816000875af1158015611200573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611224919061480d565b611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a90614d35565b60405180910390fd5b5b505050565b6000600a600085858560405160200161128493929190614d55565b6040516020818303038152906040528051906020012081526020019081526020016000205490509392505050565b6112bb33610c17565b6112fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f1906143a1565b60405180910390fd5b8060088190555050565b60085481565b61131c6113156120aa565b83836123c6565b5050565b61132933610c17565b611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f906143a1565b60405180910390fd5b8060098190555050565b61137d338383612533565b5050565b6001600954116113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd90614dde565b60405180910390fd5b60008484905067ffffffffffffffff8111156113e5576113e46139e8565b5b6040519080825280602002602001820160405280156114135781602001602082028036833780820191505090505b50905060008383905067ffffffffffffffff811115611435576114346139e8565b5b6040519080825280602002602001820160405280156114635781602001602082028036833780820191505090505b5090506000805b858590508161ffff1610156118c957600086868361ffff16818110611492576114916149c9565b5b90506020020135116114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614e4a565b60405180910390fd5b600088888461ffff168181106114f2576114f16149c9565b5b9050602002013514156116335787878361ffff16818110611516576115156149c9565b5b9050602002013586868361ffff16818110611534576115336149c9565b5b90506020020135141580156115bb5750600a600087878461ffff1681811061155f5761155e6149c9565b5b905060200201356040516020016115769190614e6a565b6040516020818303038152906040528051906020012081526020019081526020016000205486868361ffff168181106115b2576115b16149c9565b5b90506020020135145b6115fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f190614e4a565b60405180910390fd5b6001848261ffff1681518110611613576116126149c9565b5b60200260200101818152505060018261162c9190614e93565b9150611891565b87878361ffff1681811061164a576116496149c9565b5b9050602002013586868361ffff16818110611668576116676149c9565b5b90506020020135141580156116c3575087876001846116879190614e93565b61ffff1681811061169b5761169a6149c9565b5b9050602002013586868361ffff168181106116b9576116b86149c9565b5b9050602002013514155b80156117ec575061173888888461ffff168181106116e4576116e36149c9565b5b9050602002013589896001866116fa9190614e93565b61ffff1681811061170e5761170d6149c9565b5b9050602002013588888561ffff1681811061172c5761172b6149c9565b5b90506020020135611269565b86868361ffff1681811061174f5761174e6149c9565b5b9050602002013514806117eb57506117cb888860018561176f9190614e93565b61ffff16818110611783576117826149c9565b5b9050602002013589898561ffff168181106117a1576117a06149c9565b5b9050602002013588888561ffff168181106117bf576117be6149c9565b5b90506020020135611269565b86868361ffff168181106117e2576117e16149c9565b5b90506020020135145b5b61182b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182290614e4a565b60405180910390fd5b6001848361ffff1681518110611844576118436149c9565b5b6020026020010181815250506001846001846118609190614e93565b61ffff1681518110611875576118746149c9565b5b60200260200101818152505060028261188e9190614e93565b91505b6001838261ffff16815181106118aa576118a96149c9565b5b60200260200101818152505080806118c190614ecb565b91505061146a565b5061191633888880806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505085612750565b61197233868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508460405180602001604052806000815250612a01565b7f8f4b00f7e4195aafa933522713c78a8938fb76154023e8f36f0372c929080cbc33888888886040516119a9959493929190614f57565b60405180910390a150505050505050565b60095481565b6119c933610c17565b611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff906143a1565b60405180910390fd5b6127108110611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390614fec565b60405180910390fd5b816004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806005600085815260200190815260200160002081905550505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b5833610c17565b611b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8e906143a1565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c125780611c14565b305b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b611c606120aa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611ca65750611ca585611ca06120aa565b611abb565b5b611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc9061507e565b60405180910390fd5b611cf28585858585612c1f565b5050505050565b611d0233610c17565b611d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d38906143a1565b60405180910390fd5b858590508888905014611d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d80906150ea565b60405180910390fd5b60005b888890508160ff161015611e0e5786868260ff16818110611db057611daf6149c9565b5b9050602002016020810190611dc5919061510a565b60ff16600a60008b8b8560ff16818110611de257611de16149c9565b5b905060200201358152602001908152602001600020819055508080611e0690615137565b915050611d8c565b506000828290501115611e2857611e2784848484610b00565b5b5050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e99906151d3565b60405180910390fd5b6000611eac6120aa565b9050611ecd81600087611ebe88612ea1565b611ec788612ea1565b87612f1b565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f2c91906148a6565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611faa9291906151f3565b60405180910390a4611fc181600087878787612f23565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061209357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120a357506120a2826130fb565b5b9050919050565b600033905090565b81518351146120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed9061528e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90615320565b60405180910390fd5b60006121706120aa565b9050612180818787878787612f1b565b60005b84518110156123315760008582815181106121a1576121a06149c9565b5b6020026020010151905060008583815181106121c0576121bf6149c9565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612261576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612258906153b2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461231691906148a6565b925050819055505050508061232a90614a6a565b9050612183565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123a89291906153d2565b60405180910390a46123be818787878787613165565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c9061547b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125269190613608565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259a9061550d565b60405180910390fd5b60006125ad6120aa565b90506125dd818560006125bf87612ea1565b6125c887612ea1565b60405180602001604052806000815250612f1b565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b9061559f565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516127419291906151f3565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b79061550d565b60405180910390fd5b8051825114612804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fb9061528e565b60405180910390fd5b600061280e6120aa565b905061282e81856000868660405180602001604052806000815250612f1b565b60005b835181101561297b57600084828151811061284f5761284e6149c9565b5b60200260200101519050600084838151811061286e5761286d6149c9565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561290f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129069061559f565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061297390614a6a565b915050612831565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516129f39291906153d2565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a68906151d3565b60405180910390fd5b8151835114612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac9061528e565b60405180910390fd5b6000612abf6120aa565b9050612ad081600087878787612f1b565b60005b8451811015612b8957838181518110612aef57612aee6149c9565b5b6020026020010151600080878481518110612b0d57612b0c6149c9565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b6f91906148a6565b925050819055508080612b8190614a6a565b915050612ad3565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612c019291906153d2565b60405180910390a4612c1881600087878787613165565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8690615320565b60405180910390fd5b6000612c996120aa565b9050612cb9818787612caa88612ea1565b612cb388612ea1565b87612f1b565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d47906153b2565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e0591906148a6565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612e829291906151f3565b60405180910390a4612e98828888888888612f23565b50505050505050565b60606000600167ffffffffffffffff811115612ec057612ebf6139e8565b5b604051908082528060200260200182016040528015612eee5781602001602082028036833780820191505090505b5090508281600081518110612f0657612f056149c9565b5b60200260200101818152505080915050919050565b505050505050565b612f428473ffffffffffffffffffffffffffffffffffffffff1661333d565b156130f3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612f88959493929190615614565b6020604051808303816000875af1925050508015612fc457506040513d601f19601f82011682018060405250810190612fc19190615683565b60015b61306a57612fd06156bd565b806308c379a0141561302d5750612fe56156df565b80612ff0575061302f565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302491906137e5565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613061906157e7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146130f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e890615879565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6131848473ffffffffffffffffffffffffffffffffffffffff1661333d565b15613335578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016131ca959493929190615899565b6020604051808303816000875af192505050801561320657506040513d601f19601f820116820180604052508101906132039190615683565b60015b6132ac576132126156bd565b806308c379a0141561326f57506132276156df565b806132325750613271565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326691906137e5565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a3906157e7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332a90615879565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461336c9061492b565b90600052602060002090601f01602090048101928261338e57600085556133d5565b82601f106133a757803560ff19168380011785556133d5565b828001600101855582156133d5579182015b828111156133d45782358255916020019190600101906133b9565b5b5090506133e291906133e6565b5090565b5b808211156133ff5760008160009055506001016133e7565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061344282613417565b9050919050565b61345281613437565b811461345d57600080fd5b50565b60008135905061346f81613449565b92915050565b6000819050919050565b61348881613475565b811461349357600080fd5b50565b6000813590506134a58161347f565b92915050565b6000806000606084860312156134c4576134c361340d565b5b60006134d286828701613460565b93505060206134e386828701613496565b92505060406134f486828701613496565b9150509250925092565b600080604083850312156135155761351461340d565b5b600061352385828601613460565b925050602061353485828601613496565b9150509250929050565b61354781613475565b82525050565b6000602082019050613562600083018461353e565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61359d81613568565b81146135a857600080fd5b50565b6000813590506135ba81613594565b92915050565b6000602082840312156135d6576135d561340d565b5b60006135e4848285016135ab565b91505092915050565b60008115159050919050565b613602816135ed565b82525050565b600060208201905061361d60008301846135f9565b92915050565b600060ff82169050919050565b61363981613623565b811461364457600080fd5b50565b60008135905061365681613630565b92915050565b6000819050919050565b61366f8161365c565b811461367a57600080fd5b50565b60008135905061368c81613666565b92915050565b60008060008060008060c087890312156136af576136ae61340d565b5b60006136bd89828a01613496565b96505060206136ce89828a01613496565b95505060406136df89828a01613496565b94505060606136f089828a01613647565b935050608061370189828a0161367d565b92505060a061371289828a0161367d565b9150509295509295509295565b6000602082840312156137355761373461340d565b5b600061374384828501613496565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561378657808201518184015260208101905061376b565b83811115613795576000848401525b50505050565b6000601f19601f8301169050919050565b60006137b78261374c565b6137c18185613757565b93506137d1818560208601613768565b6137da8161379b565b840191505092915050565b600060208201905081810360008301526137ff81846137ac565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261382c5761382b613807565b5b8235905067ffffffffffffffff8111156138495761384861380c565b5b60208301915083602082028301111561386557613864613811565b5b9250929050565b60008083601f84011261388257613881613807565b5b8235905067ffffffffffffffff81111561389f5761389e61380c565b5b6020830191508360208202830111156138bb576138ba613811565b5b9250929050565b600080600080604085870312156138dc576138db61340d565b5b600085013567ffffffffffffffff8111156138fa576138f9613412565b5b61390687828801613816565b9450945050602085013567ffffffffffffffff81111561392957613928613412565b5b6139358782880161386c565b925092505092959194509250565b6000602082840312156139595761395861340d565b5b600061396784828501613460565b91505092915050565b600080604083850312156139875761398661340d565b5b600061399585828601613496565b92505060206139a685828601613496565b9150509250929050565b6139b981613437565b82525050565b60006040820190506139d460008301856139b0565b6139e1602083018461353e565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a208261379b565b810181811067ffffffffffffffff82111715613a3f57613a3e6139e8565b5b80604052505050565b6000613a52613403565b9050613a5e8282613a17565b919050565b600067ffffffffffffffff821115613a7e57613a7d6139e8565b5b602082029050602081019050919050565b6000613aa2613a9d84613a63565b613a48565b90508083825260208201905060208402830185811115613ac557613ac4613811565b5b835b81811015613aee5780613ada8882613496565b845260208401935050602081019050613ac7565b5050509392505050565b600082601f830112613b0d57613b0c613807565b5b8135613b1d848260208601613a8f565b91505092915050565b600080fd5b600067ffffffffffffffff821115613b4657613b456139e8565b5b613b4f8261379b565b9050602081019050919050565b82818337600083830152505050565b6000613b7e613b7984613b2b565b613a48565b905082815260208101848484011115613b9a57613b99613b26565b5b613ba5848285613b5c565b509392505050565b600082601f830112613bc257613bc1613807565b5b8135613bd2848260208601613b6b565b91505092915050565b600080600080600060a08688031215613bf757613bf661340d565b5b6000613c0588828901613460565b9550506020613c1688828901613460565b945050604086013567ffffffffffffffff811115613c3757613c36613412565b5b613c4388828901613af8565b935050606086013567ffffffffffffffff811115613c6457613c63613412565b5b613c7088828901613af8565b925050608086013567ffffffffffffffff811115613c9157613c90613412565b5b613c9d88828901613bad565b9150509295509295909350565b613cb3816135ed565b8114613cbe57600080fd5b50565b600081359050613cd081613caa565b92915050565b60008060408385031215613ced57613cec61340d565b5b6000613cfb85828601613460565b9250506020613d0c85828601613cc1565b9150509250929050565b600067ffffffffffffffff821115613d3157613d306139e8565b5b602082029050602081019050919050565b6000613d55613d5084613d16565b613a48565b90508083825260208201905060208402830185811115613d7857613d77613811565b5b835b81811015613da15780613d8d8882613460565b845260208401935050602081019050613d7a565b5050509392505050565b600082601f830112613dc057613dbf613807565b5b8135613dd0848260208601613d42565b91505092915050565b60008060408385031215613df057613def61340d565b5b600083013567ffffffffffffffff811115613e0e57613e0d613412565b5b613e1a85828601613dab565b925050602083013567ffffffffffffffff811115613e3b57613e3a613412565b5b613e4785828601613af8565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e8681613475565b82525050565b6000613e988383613e7d565b60208301905092915050565b6000602082019050919050565b6000613ebc82613e51565b613ec68185613e5c565b9350613ed183613e6d565b8060005b83811015613f02578151613ee98882613e8c565b9750613ef483613ea4565b925050600181019050613ed5565b5085935050505092915050565b60006020820190508181036000830152613f298184613eb1565b905092915050565b600080600060608486031215613f4a57613f4961340d565b5b6000613f5886828701613460565b9350506020613f6986828701613460565b9250506040613f7a86828701613496565b9150509250925092565b600080600060608486031215613f9d57613f9c61340d565b5b6000613fab86828701613496565b9350506020613fbc86828701613496565b9250506040613fcd86828701613496565b9150509250925092565b60008060008060408587031215613ff157613ff061340d565b5b600085013567ffffffffffffffff81111561400f5761400e613412565b5b61401b87828801613816565b9450945050602085013567ffffffffffffffff81111561403e5761403d613412565b5b61404a87828801613816565b925092505092959194509250565b600061406382613417565b9050919050565b61407381614058565b811461407e57600080fd5b50565b6000813590506140908161406a565b92915050565b6000806000606084860312156140af576140ae61340d565b5b60006140bd86828701613496565b93505060206140ce86828701614081565b92505060406140df86828701613496565b9150509250925092565b60008060408385031215614100576140ff61340d565b5b600061410e85828601613460565b925050602061411f85828601613460565b9150509250929050565b600080600080600060a086880312156141455761414461340d565b5b600061415388828901613460565b955050602061416488828901613460565b945050604061417588828901613496565b935050606061418688828901613496565b925050608086013567ffffffffffffffff8111156141a7576141a6613412565b5b6141b388828901613bad565b9150509295509295909350565b60008083601f8401126141d6576141d5613807565b5b8235905067ffffffffffffffff8111156141f3576141f261380c565b5b60208301915083602082028301111561420f5761420e613811565b5b9250929050565b60008083601f84011261422c5761422b613807565b5b8235905067ffffffffffffffff8111156142495761424861380c565b5b60208301915083602082028301111561426557614264613811565b5b9250929050565b6000806000806000806000806080898b03121561428c5761428b61340d565b5b600089013567ffffffffffffffff8111156142aa576142a9613412565b5b6142b68b828c016141c0565b9850985050602089013567ffffffffffffffff8111156142d9576142d8613412565b5b6142e58b828c01614216565b9650965050604089013567ffffffffffffffff81111561430857614307613412565b5b6143148b828c01613816565b9450945050606089013567ffffffffffffffff81111561433757614336613412565b5b6143438b828c0161386c565b92509250509295985092959890939650565b7f63616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b600061438b601683613757565b915061439682614355565b602082019050919050565b600060208201905081810360008301526143ba8161437e565b9050919050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061441d602b83613757565b9150614428826143c1565b604082019050919050565b6000602082019050818103600083015261444c81614410565b9050919050565b600081905092915050565b7f622061206c2061206e2063206500000000000000000000000000000000000000600082015250565b6000614494600d83614453565b915061449f8261445e565b600d82019050919050565b60008160601b9050919050565b60006144c2826144aa565b9050919050565b60006144d4826144b7565b9050919050565b6144ec6144e782613437565b6144c9565b82525050565b60008160f81b9050919050565b600061450a826144f2565b9050919050565b600061451c826144ff565b9050919050565b61453461452f826135ed565b614511565b82525050565b6000819050919050565b61455561455082613475565b61453a565b82525050565b600061456682614487565b915061457282896144db565b6014820191506145828288614523565b6001820191506145928287614544565b6020820191506145a28286614544565b6020820191506145b28285614523565b6001820191506145c28284614544565b602082019150819050979650505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061460c601c83614453565b9150614617826145d6565b601c82019050919050565b6000819050919050565b61463d6146388261365c565b614622565b82525050565b600061464e826145ff565b915061465a828461462c565b60208201915081905092915050565b6146728161365c565b82525050565b61468181613623565b82525050565b600060808201905061469c6000830187614669565b6146a96020830186614678565b6146b66040830185614669565b6146c36060830184614669565b95945050505050565b7f6d696e74696e67206e6f7420616c6c6f77656400000000000000000000000000600082015250565b6000614702601383613757565b915061470d826146cc565b602082019050919050565b60006020820190508181036000830152614731816146f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061477282613475565b915061477d83613475565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147b6576147b5614738565b5b828202905092915050565b60006060820190506147d660008301866139b0565b6147e360208301856139b0565b6147f0604083018461353e565b949350505050565b60008151905061480781613caa565b92915050565b6000602082840312156148235761482261340d565b5b6000614831848285016147f8565b91505092915050565b7f7061796d656e74206661696c6564000000000000000000000000000000000000600082015250565b6000614870600e83613757565b915061487b8261483a565b602082019050919050565b6000602082019050818103600083015261489f81614863565b9050919050565b60006148b182613475565b91506148bc83613475565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f1576148f0614738565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061494357607f821691505b60208210811415614957576149566148fc565b5b50919050565b7f696e76616c696420746f6b656e496473206f722075726973206c656e67746800600082015250565b6000614993601f83613757565b915061499e8261495d565b602082019050919050565b600060208201905081810360008301526149c281614986565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614a2457614a236149f8565b5b80840192508235915067ffffffffffffffff821115614a4657614a456149fd565b5b602083019250600182023603831315614a6257614a61614a02565b5b509250929050565b6000614a7582613475565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aa857614aa7614738565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614aed82613475565b9150614af883613475565b925082614b0857614b07614ab3565b5b828204905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614b6f603283613757565b9150614b7a82614b13565b604082019050919050565b60006020820190508181036000830152614b9e81614b62565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614c01602983613757565b9150614c0c82614ba5565b604082019050919050565b60006020820190508181036000830152614c3081614bf4565b9050919050565b7f696e76616c696420616d6f756e742076616c7565000000000000000000000000600082015250565b6000614c6d601483613757565b9150614c7882614c37565b602082019050919050565b60006020820190508181036000830152614c9c81614c60565b9050919050565b600081905092915050565b50565b6000614cbe600083614ca3565b9150614cc982614cae565b600082019050919050565b6000614cdf82614cb1565b9150819050919050565b7f616d6f756e74207472616e73666572206661696c656400000000000000000000600082015250565b6000614d1f601683613757565b9150614d2a82614ce9565b602082019050919050565b60006020820190508181036000830152614d4e81614d12565b9050919050565b6000614d618286614544565b602082019150614d718285614544565b602082019150614d818284614544565b602082019150819050949350505050565b7f62616c616e63652069732064697361626c656400000000000000000000000000600082015250565b6000614dc8601383613757565b9150614dd382614d92565b602082019050919050565b60006020820190508181036000830152614df781614dbb565b9050919050565b7f696e76616c69642062616c616e63650000000000000000000000000000000000600082015250565b6000614e34600f83613757565b9150614e3f82614dfe565b602082019050919050565b60006020820190508181036000830152614e6381614e27565b9050919050565b6000614e768284614544565b60208201915081905092915050565b600061ffff82169050919050565b6000614e9e82614e85565b9150614ea983614e85565b92508261ffff03821115614ec057614ebf614738565b5b828201905092915050565b6000614ed682614e85565b915061ffff821415614eeb57614eea614738565b5b600182019050919050565b600080fd5b6000614f078385613e5c565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614f3a57614f39614ef6565b5b602083029250614f4b838584613b5c565b82840190509392505050565b6000606082019050614f6c60008301886139b0565b8181036020830152614f7f818688614efb565b90508181036040830152614f94818486614efb565b90509695505050505050565b7f696e76616c696420627073000000000000000000000000000000000000000000600082015250565b6000614fd6600b83613757565b9150614fe182614fa0565b602082019050919050565b6000602082019050818103600083015261500581614fc9565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000615068602983613757565b91506150738261500c565b604082019050919050565b600060208201905081810360008301526150978161505b565b9050919050565b7f696e76616c6964206d6f766573206f72207069636b73206c656e677468000000600082015250565b60006150d4601d83613757565b91506150df8261509e565b602082019050919050565b60006020820190508181036000830152615103816150c7565b9050919050565b6000602082840312156151205761511f61340d565b5b600061512e84828501613647565b91505092915050565b600061514282613623565b915060ff82141561515657615155614738565b5b600182019050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006151bd602183613757565b91506151c882615161565b604082019050919050565b600060208201905081810360008301526151ec816151b0565b9050919050565b6000604082019050615208600083018561353e565b615215602083018461353e565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000615278602883613757565b91506152838261521c565b604082019050919050565b600060208201905081810360008301526152a78161526b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061530a602583613757565b9150615315826152ae565b604082019050919050565b60006020820190508181036000830152615339816152fd565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061539c602a83613757565b91506153a782615340565b604082019050919050565b600060208201905081810360008301526153cb8161538f565b9050919050565b600060408201905081810360008301526153ec8185613eb1565b905081810360208301526154008184613eb1565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615465602983613757565b915061547082615409565b604082019050919050565b6000602082019050818103600083015261549481615458565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006154f7602383613757565b91506155028261549b565b604082019050919050565b60006020820190508181036000830152615526816154ea565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615589602483613757565b91506155948261552d565b604082019050919050565b600060208201905081810360008301526155b88161557c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006155e6826155bf565b6155f081856155ca565b9350615600818560208601613768565b6156098161379b565b840191505092915050565b600060a08201905061562960008301886139b0565b61563660208301876139b0565b615643604083018661353e565b615650606083018561353e565b818103608083015261566281846155db565b90509695505050505050565b60008151905061567d81613594565b92915050565b6000602082840312156156995761569861340d565b5b60006156a78482850161566e565b91505092915050565b60008160e01c9050919050565b600060033d11156156dc5760046000803e6156d96000516156b0565b90505b90565b600060443d10156156ef57615772565b6156f7613403565b60043d036004823e80513d602482011167ffffffffffffffff8211171561571f575050615772565b808201805167ffffffffffffffff81111561573d5750505050615772565b80602083010160043d03850181111561575a575050505050615772565b61576982602001850186613a17565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006157d1603483613757565b91506157dc82615775565b604082019050919050565b60006020820190508181036000830152615800816157c4565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615863602883613757565b915061586e82615807565b604082019050919050565b6000602082019050818103600083015261589281615856565b9050919050565b600060a0820190506158ae60008301886139b0565b6158bb60208301876139b0565b81810360408301526158cd8186613eb1565b905081810360608301526158e18185613eb1565b905081810360808301526158f581846155db565b9050969550505050505056fea26469706673582212209f85cca631f713c6423c7402fcd2a8caa1af4569f65f4bfac0d4ce0f2fa8eb4964736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92000000000000000000000000ef355176ef1a8d63fc781b138bd3c0ff8d2e9d35000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000005d0a4ab65f44221ec0ba4f1f5cf6496ca2fd4a9b0000000000000000000000005b196c90e80f25adec09098b12d1d5d1a9479579000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f3936684448347734626563476c4c48563171724e34324f75635267725053564d43526d71446a4d6e6b516f00
-----Decoded View---------------
Arg [0] : erc20 (address): 0x64D91f12Ece7362F91A6f8E7940Cd55F05060b92
Arg [1] : erc20Recipient (address): 0xEf355176EF1a8d63FC781B138BD3C0FF8d2E9d35
Arg [2] : admins (address[]): 0x5d0A4AB65F44221Ec0ba4f1F5cF6496Ca2FD4A9b,0x5b196c90e80f25ADeC09098b12d1D5d1A9479579
Arg [3] : uri_ (string): https://arweave.net/96hDH4w4becGlLHV1qrN42OucRgrPSVMCRmqDjMnkQo
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92
Arg [1] : 000000000000000000000000ef355176ef1a8d63fc781b138bd3c0ff8d2e9d35
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000005d0a4ab65f44221ec0ba4f1f5cf6496ca2fd4a9b
Arg [6] : 0000000000000000000000005b196c90e80f25adec09098b12d1d5d1a9479579
Arg [7] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [8] : 68747470733a2f2f617277656176652e6e65742f393668444834773462656347
Arg [9] : 6c4c48563171724e34324f75635267725053564d43526d71446a4d6e6b516f00
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.