Overview
ETH Balance
100 wei
Eth Value
Less Than $0.01 (@ $3,095.01/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 281 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20605200 | 87 days ago | IN | 0 ETH | 0.00003839 | ||||
Set Approval For... | 19821194 | 196 days ago | IN | 0 ETH | 0.00020345 | ||||
Set Approval For... | 17480799 | 524 days ago | IN | 0 ETH | 0.00202684 | ||||
Safe Transfer Fr... | 17435118 | 531 days ago | IN | 0 ETH | 0.00130485 | ||||
Safe Transfer Fr... | 17428499 | 532 days ago | IN | 0 ETH | 0.0012054 | ||||
Safe Transfer Fr... | 17382871 | 538 days ago | IN | 0 ETH | 0.0029989 | ||||
Safe Transfer Fr... | 16797610 | 621 days ago | IN | 0 ETH | 0.00236169 | ||||
Set Approval For... | 16624730 | 645 days ago | IN | 0 ETH | 0.00064403 | ||||
Safe Transfer Fr... | 16597498 | 649 days ago | IN | 0 ETH | 0.00119791 | ||||
Safe Transfer Fr... | 16432220 | 672 days ago | IN | 0 ETH | 0.00087615 | ||||
Safe Transfer Fr... | 16282634 | 693 days ago | IN | 0 ETH | 0.00055613 | ||||
Set Approval For... | 16273537 | 694 days ago | IN | 0 ETH | 0.0005483 | ||||
Set Approval For... | 16273459 | 694 days ago | IN | 0 ETH | 0.00064879 | ||||
Safe Transfer Fr... | 16203505 | 704 days ago | IN | 0 ETH | 0.00075833 | ||||
Safe Transfer Fr... | 16082330 | 721 days ago | IN | 0 ETH | 0.0006695 | ||||
Safe Transfer Fr... | 16081420 | 721 days ago | IN | 0 ETH | 0.00044829 | ||||
Safe Transfer Fr... | 15995799 | 733 days ago | IN | 0 ETH | 0.00068906 | ||||
Safe Transfer Fr... | 15987460 | 734 days ago | IN | 0 ETH | 0.00072049 | ||||
Safe Transfer Fr... | 15887463 | 748 days ago | IN | 0 ETH | 0.00076865 | ||||
Set Approval For... | 15619447 | 785 days ago | IN | 0 ETH | 0.00103685 | ||||
Set Approval For... | 15614042 | 786 days ago | IN | 0 ETH | 0.00025216 | ||||
Set Approval For... | 15593817 | 789 days ago | IN | 0 ETH | 0.00041174 | ||||
Safe Transfer Fr... | 15575496 | 791 days ago | IN | 0 ETH | 0.00054018 | ||||
Safe Transfer Fr... | 15575474 | 791 days ago | IN | 0 ETH | 0.00083549 | ||||
Safe Transfer Fr... | 15568384 | 792 days ago | IN | 0 ETH | 0.00040559 |
Latest 10 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15354027 | 826 days ago | 0.01422899 ETH | ||||
15354010 | 826 days ago | 0.02371499 ETH | ||||
15354006 | 826 days ago | 0.02371499 ETH | ||||
15354006 | 826 days ago | 0.02371499 ETH | ||||
15354005 | 826 days ago | 0.02371499 ETH | ||||
15354004 | 826 days ago | 0.25612199 ETH | ||||
15354004 | 826 days ago | 0.07114499 ETH | ||||
15354004 | 826 days ago | 0.01422899 ETH | ||||
15354003 | 826 days ago | 0.02371499 ETH | ||||
15354001 | 826 days ago | 0.0357 ETH |
Loading...
Loading
Contract Name:
MetaciplesPowerPass
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './AMPowerPassCore.sol'; contract MetaciplesPowerPass is AMPowerPassCore{ string public name = "Metaciples: Power-Pass"; string public symbol = "AM: M"; constructor() Delegated() AM1155Base(""){ setToken( 0, "Metaciples: Power-Pass", "https://herodev.mypinata.cloud/ipfs/QmctGRRtUnyh9ogZgCjgw4mG2v58RSuJJMFqNzw4jfB7Y1/metaciples-standard.json", false, 0, false, 0.03 ether, 50000 ); address[] memory _payees = new address[](10); _payees[0] = 0xed386149321FBd84f0c4e27a1701Ad05eCA32f8A; _payees[1] = 0x70184259C8CbF0B85C96e2A84ad74EB097759aeE; _payees[2] = 0x187BA313bEEE55957c30F062a6c53A5F0c1971c5; _payees[3] = 0x5f120c28532Db7fA8CECfF750368F7B17aA163D0; _payees[4] = 0xf7168a9Ef4286b2961850Fd98D4A7C9D99c5257b; _payees[5] = 0x4f95219f13dC43641645B5ebE5259b040e38b281; _payees[6] = 0xD4eed5986682b822fF461979Ac8989031A64a5Ec; _payees[7] = 0x9b34A953c01E0f58cFD78818C95DA5a84e9E6a3C; _payees[8] = 0x2027e0fE56278f671D174CbE4BCd7A42D25cc6a3; _payees[9] = 0xee01560234F8fa4fdc909e247393Bf2d502CDc22; uint[] memory _shares = new uint[](10); _shares[0] = 7.00 ether; _shares[1] = 4.65 ether; _shares[2] = 2.79 ether; _shares[3] = 13.95 ether; _shares[4] = 50.22 ether; _shares[5] = 4.65 ether; _shares[6] = 4.65 ether; _shares[7] = 4.65 ether; _shares[8] = 4.65 ether; _shares[9] = 2.79 ether; setTokenPayouts( 0, _payees, _shares ); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /*********************** * @author: squeebo_nft * ************************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '../../Blimpie/Delegated.sol'; import '../IPowerPass1155.sol'; import './AM1155Base.sol'; interface IBalance { function balanceOf(address owner) external view returns(uint256); } abstract contract AMPowerPassCore is Delegated, AM1155Base, IPowerPass1155{ struct Token { uint burnPrice; uint mintPrice; uint balance; uint supply; bool isBurnActive; bool isMintActive; string name; string uri; address[] payees; uint[] shares; uint totalShares; } IBalance public accessCollection; Token[] public tokens; //holds payee balances mapping(address => uint) public payouts; //safety first fallback() external payable {} receive() external payable {} //view function exists(uint id) public view returns( bool ){ return id < tokens.length; } function tokenSupply( uint id ) external view returns( uint ){ require(exists( id ), "ERC1155: Specified token (id) does not exist"); return tokens[id].supply; } function totalSupply( uint id ) external view returns( uint ){ require(exists( id ), "ERC1155: Specified token (id) does not exist"); return tokens[id].supply; } function uri( uint id ) public view override returns( string memory ){ require(exists( id ), "ERC1155: Specified token (id) does not exist"); return tokens[id].uri; } //nonpayable function release(address account) external { require( payouts[ account ] > 0, "ERC1155: No balance due" ); require( payouts[ account ] < address(this).balance, "ERC1155: Insufficent contract balance"); uint balance = payouts[ account ]; payouts[ account ] = 0; Address.sendValue(payable(account), balance); } //payable function mint( uint id, uint quantity ) public virtual payable{ require(exists( id ), "ERC1155: Specified token (id) does not exist"); Token storage token = tokens[id]; require( token.isMintActive, "ERC1155: Sale is not active"); require( token.balance + quantity <= token.supply, "ERC1155: Order exceeds supply"); require( token.mintPrice * quantity <= msg.value, "ERC1155: Ether sent is not correct"); require( token.totalShares > 0, "ERC1155: Invalid token configuration, shares" ); if( address(accessCollection) != address(0) ) require( accessCollection.balanceOf( msg.sender ) > 0, "ERC1155: Access token balance is 0" ); if( msg.value > 0 ) _distrubuteValue( token ); _mint( _msgSender(), id, quantity, "" ); } //delegated function burnFrom( uint id, uint quantity, address account ) external payable onlyDelegates { require(exists( id ), "ERC1155: Specified token (id) does not exist"); if( msg.value > 0 ) _distrubuteValue( tokens[id] ); _burn( account, id, quantity ); } function mintTo( uint id, uint[] calldata quantities, address[] calldata accounts ) external payable onlyDelegates { require(exists(id), "ERC1155: Specified token (id) does not exist"); require(quantities.length == accounts.length, "ERC1155: accounts and quantities length mismatch"); if( msg.value > 0 ) _distrubuteValue( tokens[id] ); for(uint i; i < accounts.length; ++i ){ _mint( accounts[i], id, quantities[i], "" ); } } function setAccessCollection( IBalance collection ) public onlyDelegates { accessCollection = collection; } function setToken(uint id, string memory name_, string memory uri_, bool isBurnActive, uint burnPrice, bool isMintActive, uint mintPrice, uint supply ) public onlyDelegates{ require( id < tokens.length || id == tokens.length, "ERC1155: Invalid token id" ); if( id == tokens.length ) tokens.push(); Token storage token = tokens[id]; token.burnPrice = burnPrice; token.mintPrice = mintPrice; token.supply = supply; token.isBurnActive = isBurnActive; token.isMintActive = isMintActive; token.name = name_; token.uri = uri_; if( bytes(uri_).length > 0 ) emit URI( uri_, id ); } function setTokenPayouts( uint id, address[] memory payees, uint[] memory shares ) public onlyDelegates { require( id < tokens.length, "ERC1155: Invalid token id" ); require( payees.length > 0, "ERC1155: Must provide 1+ payees" ); require( payees.length == shares.length, "ERC1155: Must provide equal payees and shares" ); tokens[id].payees = payees; tokens[id].shares = shares; uint total; for(uint i; i < shares.length; ++i ){ require( payees[i] != address(0), "ERC1155: Payees cannot be empty" ); require( shares[i] > 0, "ERC1155: Shares cannot be empty" ); total += shares[i]; } tokens[id].totalShares = total; } function setSupply(uint id, uint supply) public onlyDelegates { require( exists( id ), "ERC1155: Specified token (id) does not exist" ); Token storage token = tokens[id]; require( token.balance <= supply, "ERC1155: Specified supply is lower than current balance" ); token.supply = supply; } function setURI(uint id, string calldata uri_) external onlyDelegates{ require( exists( id ), "ERC1155: Specified token (id) does not exist" ); tokens[id].uri = uri_; emit URI( uri_, id ); } function _burn(address account, uint256 id, uint256 amount) private { require(exists( id ), "ERC1155: Specified token (id) does not exist" ); Token storage token = tokens[id]; require( token.balance >= amount, "ERC1155: Not enough supply" ); tokens[id].balance -= amount; tokens[id].supply -= amount; //START: base implementation uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } address operator = _msgSender(); emit TransferSingle(operator, account, address(0), id, amount); } function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal { require(exists( id ), "ERC1155: Specified token (id) does not exist" ); Token storage token = tokens[id]; require( token.balance + amount <= token.supply, "ERC1155: Not enough supply" ); token.balance += amount; //START: base implementation _balances[id][account] += amount; address operator = _msgSender(); emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } //private function _distrubuteValue( Token memory token ) internal{ uint share; uint total; for(uint i = 1; i < token.payees.length - 1; ++i ){ share = msg.value * token.shares[i] / token.totalShares; payouts[ token.payees[i] ] += share; total += share; } //solidity will floor() the math, give remainder (majority) to first payee share = msg.value - total; payouts[ token.payees[0] ] += share; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; contract AM1155Base is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) internal _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 { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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(); 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(); 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; } function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) internal { 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 ) internal { 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) internal pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IPowerPass1155{ function burnFrom( uint id, uint quantity, address account ) external payable; }
// 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); }
// 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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"accessCollection","outputs":[{"internalType":"contract IBalance","name":"","type":"address"}],"stateMutability":"view","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":"id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"burnFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","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":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"},{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"payouts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"contract IBalance","name":"collection","type":"address"}],"name":"setAccessCollection","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":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"uri_","type":"string"},{"internalType":"bool","name":"isBurnActive","type":"bool"},{"internalType":"uint256","name":"burnPrice","type":"uint256"},{"internalType":"bool","name":"isMintActive","type":"bool"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"setTokenPayouts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"uri_","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"uint256","name":"burnPrice","type":"uint256"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"bool","name":"isBurnActive","type":"bool"},{"internalType":"bool","name":"isMintActive","type":"bool"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"totalShares","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052601660808190527f4d6574616369706c65733a20506f7765722d506173730000000000000000000060a090815262000040916008919062000ba2565b5060408051808201909152600580825264414d3a204d60d81b60209092019182526200006f9160099162000ba2565b503480156200007d57600080fd5b50604080516020810190915260008152620000983362000644565b6001806000620000b06000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620000e38162000694565b506200014f60006040518060400160405280601681526020017f4d6574616369706c65733a20506f7765722d50617373000000000000000000008152506040518060a00160405280606b8152602001620044e6606b913960008080666a94d74f43000061c350620006ad565b60408051600a8082526101608201909252600091602082016101408036833701905050905073ed386149321fbd84f0c4e27a1701ad05eca32f8a816000815181106200019f576200019f62000cdd565b60200260200101906001600160a01b031690816001600160a01b0316815250507370184259c8cbf0b85c96e2a84ad74eb097759aee81600181518110620001ea57620001ea62000cdd565b60200260200101906001600160a01b031690816001600160a01b03168152505073187ba313beee55957c30f062a6c53a5f0c1971c58160028151811062000235576200023562000cdd565b60200260200101906001600160a01b031690816001600160a01b031681525050735f120c28532db7fa8cecff750368f7b17aa163d08160038151811062000280576200028062000cdd565b60200260200101906001600160a01b031690816001600160a01b03168152505073f7168a9ef4286b2961850fd98d4a7c9d99c5257b81600481518110620002cb57620002cb62000cdd565b60200260200101906001600160a01b031690816001600160a01b031681525050734f95219f13dc43641645b5ebe5259b040e38b2818160058151811062000316576200031662000cdd565b60200260200101906001600160a01b031690816001600160a01b03168152505073d4eed5986682b822ff461979ac8989031a64a5ec8160068151811062000361576200036162000cdd565b60200260200101906001600160a01b031690816001600160a01b031681525050739b34a953c01e0f58cfd78818c95da5a84e9e6a3c81600781518110620003ac57620003ac62000cdd565b60200260200101906001600160a01b031690816001600160a01b031681525050732027e0fe56278f671d174cbe4bcd7a42d25cc6a381600881518110620003f757620003f762000cdd565b60200260200101906001600160a01b031690816001600160a01b03168152505073ee01560234f8fa4fdc909e247393bf2d502cdc228160098151811062000442576200044262000cdd565b6001600160a01b039290921660209283029190910182015260408051600a8082526101608201909252600092909190820161014080368337019050509050676124fee993bc0000816000815181106200049f576200049f62000cdd565b6020026020010181815250506740881e5cfd91000081600181518110620004ca57620004ca62000cdd565b6020026020010181815250506726b81237cb57000081600281518110620004f557620004f562000cdd565b60200260200101818152505067c1985b16f8b300008160038151811062000520576200052062000cdd565b6020026020010181815250506802b8f147ec4c1e0000816004815181106200054c576200054c62000cdd565b6020026020010181815250506740881e5cfd9100008160058151811062000577576200057762000cdd565b6020026020010181815250506740881e5cfd91000081600681518110620005a257620005a262000cdd565b6020026020010181815250506740881e5cfd91000081600781518110620005cd57620005cd62000cdd565b6020026020010181815250506740881e5cfd91000081600881518110620005f857620005f862000cdd565b6020026020010181815250506726b81237cb5700008160098151811062000623576200062362000cdd565b60209081029190910101526200063c6000838362000855565b505062000dd4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8051620006a990600490602084019062000ba2565b5050565b3360009081526001602052604090205460ff16620007055760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b60448201526064015b60405180910390fd5b60065488108062000717575060065488145b620007655760405162461bcd60e51b815260206004820152601960248201527f455243313135353a20496e76616c696420746f6b656e206964000000000000006044820152606401620006fc565b60065488036200077c576006805460010181556000525b60006006898154811062000794576200079462000cdd565b6000918252602091829020600a9190910201868155600181018590556003810184905560048101805461ffff191689151561ff00191617610100881515021790558951909250620007ee916005840191908b019062000ba2565b5086516200080690600683019060208a019062000ba2565b508651156200084a57887f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8860405162000841919062000cf3565b60405180910390a25b505050505050505050565b3360009081526001602052604090205460ff16620008a95760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401620006fc565b6006548310620008fc5760405162461bcd60e51b815260206004820152601960248201527f455243313135353a20496e76616c696420746f6b656e206964000000000000006044820152606401620006fc565b60008251116200094f5760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a204d7573742070726f7669646520312b20706179656573006044820152606401620006fc565b8051825114620009b85760405162461bcd60e51b815260206004820152602d60248201527f455243313135353a204d7573742070726f7669646520657175616c207061796560448201526c657320616e642073686172657360981b6064820152608401620006fc565b8160068481548110620009cf57620009cf62000cdd565b90600052602060002090600a02016007019080519060200190620009f592919062000c31565b50806006848154811062000a0d5762000a0d62000cdd565b90600052602060002090600a0201600801908051906020019062000a3392919062000c89565b506000805b825181101562000b6f5760006001600160a01b031684828151811062000a625762000a6262000cdd565b60200260200101516001600160a01b03160362000ac25760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a205061796565732063616e6e6f7420626520656d707479006044820152606401620006fc565b600083828151811062000ad95762000ad962000cdd565b60200260200101511162000b305760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a205368617265732063616e6e6f7420626520656d707479006044820152606401620006fc565b82818151811062000b455762000b4562000cdd565b60200260200101518262000b5a919062000d61565b915062000b678162000d7c565b905062000a38565b50806006858154811062000b875762000b8762000cdd565b90600052602060002090600a02016009018190555050505050565b82805462000bb09062000d98565b90600052602060002090601f01602090048101928262000bd4576000855562000c1f565b82601f1062000bef57805160ff191683800117855562000c1f565b8280016001018555821562000c1f579182015b8281111562000c1f57825182559160200191906001019062000c02565b5062000c2d92915062000cc6565b5090565b82805482825590600052602060002090810192821562000c1f579160200282015b8281111562000c1f57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000c52565b82805482825590600052602060002090810192821562000c1f579160200282018281111562000c1f57825182559160200191906001019062000c02565b5b8082111562000c2d576000815560010162000cc7565b634e487b7160e01b600052603260045260246000fd5b600060208083528351808285015260005b8181101562000d225785810183015185820160400152820162000d04565b8181111562000d35576000604083870101525b50601f01601f1916929092016040019392505050565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000d775762000d7762000d4b565b500190565b60006001820162000d915762000d9162000d4b565b5060010190565b600181811c9082168062000dad57607f821691505b60208210810362000dce57634e487b7160e01b600052602260045260246000fd5b50919050565b6137028062000de46000396000f3fe6080604052600436106101b85760003560e01c80634f64b2be116100eb57806395d89b411161008f578063e985e9c511610061578063e985e9c51461050c578063f242432a14610555578063f2fde38b14610575578063fc784d491461059557005b806395d89b41146104b7578063a22cb465146104cc578063bd85b039146102d9578063d2a5dc4a146104ec57005b806368c92c84116100c857806368c92c841461043d578063715018a614610450578063862440e2146104655780638da5cb5b1461048557005b80634f64b2be146103c85780635cc938ef146103fd57806365bcfbe71461041057005b80631b2ef1ca1161015d5780633a1352121161012f5780633a135212146103395780634a994eef146103595780634e1273f4146103795780634f558e79146103a657005b80631b2ef1ca146102c65780632693ebf2146102d95780632eb2c2d6146102f95780633404894b1461031957005b8063077796271161019657806307779627146102465780630cf77ea2146102665780630e89341c1461028657806319165587146102a657005b8062fdd58e146101c157806301ffc9a7146101f457806306fdde031461022457005b366101bf57005b005b3480156101cd57600080fd5b506101e16101dc366004612a6f565b6105b5565b6040519081526020015b60405180910390f35b34801561020057600080fd5b5061021461020f366004612ab1565b61064e565b60405190151581526020016101eb565b34801561023057600080fd5b506102396106a0565b6040516101eb9190612b22565b34801561025257600080fd5b50610214610261366004612b35565b61072e565b34801561027257600080fd5b506101bf610281366004612c97565b61077c565b34801561029257600080fd5b506102396102a1366004612d03565b610a7a565b3480156102b257600080fd5b506101bf6102c1366004612b35565b610b57565b6101bf6102d4366004612d1c565b610c5c565b3480156102e557600080fd5b506101e16102f4366004612d03565b61117f565b34801561030557600080fd5b506101bf610314366004612db1565b6111d4565b34801561032557600080fd5b506101bf610334366004612b35565b61126b565b34801561034557600080fd5b506101bf610354366004612e6e565b6112bc565b34801561036557600080fd5b506101bf610374366004612f19565b611429565b34801561038557600080fd5b50610399610394366004612f4e565b61147e565b6040516101eb9190612fec565b3480156103b257600080fd5b506102146103c1366004612d03565b6006541190565b3480156103d457600080fd5b506103e86103e3366004612d03565b6115a7565b6040516101eb99989796959493929190612fff565b6101bf61040b366004613067565b61171a565b34801561041c57600080fd5b506101e161042b366004612b35565b60076020526000908152604090205481565b6101bf61044b3660046130eb565b61180f565b34801561045c57600080fd5b506101bf611965565b34801561047157600080fd5b506101bf610480366004613164565b61199b565b34801561049157600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101eb565b3480156104c357600080fd5b50610239611a64565b3480156104d857600080fd5b506101bf6104e7366004612f19565b611a71565b3480156104f857600080fd5b5060055461049f906001600160a01b031681565b34801561051857600080fd5b506102146105273660046131df565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b34801561056157600080fd5b506101bf610570366004613218565b611b47565b34801561058157600080fd5b506101bf610590366004612b35565b611bce565b3480156105a157600080fd5b506101bf6105b0366004612d1c565b611c2a565b60006001600160a01b0383166106265760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526002602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061067f57506001600160e01b031982166303a24d0760e21b145b8061069a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600880546106ad90613280565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990613280565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b505050505081565b600080546001600160a01b031633146107595760405162461bcd60e51b815260040161061d906132ba565b506001600160a01b03811660009081526001602052604090205460ff165b919050565b3360009081526001602052604090205460ff166107ab5760405162461bcd60e51b815260040161061d906132ef565b60065483106107f85760405162461bcd60e51b8152602060048201526019602482015278115490cc4c4d4d4e88125b9d985b1a59081d1bdad95b881a59603a1b604482015260640161061d565b60008251116108495760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a204d7573742070726f7669646520312b2070617965657300604482015260640161061d565b80518251146108b05760405162461bcd60e51b815260206004820152602d60248201527f455243313135353a204d7573742070726f7669646520657175616c207061796560448201526c657320616e642073686172657360981b606482015260840161061d565b81600684815481106108c4576108c4613319565b90600052602060002090600a020160070190805190602001906108e89291906128be565b5080600684815481106108fd576108fd613319565b90600052602060002090600a02016008019080519060200190610921929190612923565b506000805b8251811015610a4a5760006001600160a01b031684828151811061094c5761094c613319565b60200260200101516001600160a01b0316036109aa5760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a205061796565732063616e6e6f7420626520656d70747900604482015260640161061d565b60008382815181106109be576109be613319565b602002602001015111610a135760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a205368617265732063616e6e6f7420626520656d70747900604482015260640161061d565b828181518110610a2557610a25613319565b602002602001015182610a389190613345565b9150610a438161335d565b9050610926565b508060068581548110610a5f57610a5f613319565b90600052602060002090600a02016009018190555050505050565b6060610a87826006541190565b610aa35760405162461bcd60e51b815260040161061d90613376565b60068281548110610ab657610ab6613319565b90600052602060002090600a02016006018054610ad290613280565b80601f0160208091040260200160405190810160405280929190818152602001828054610afe90613280565b8015610b4b5780601f10610b2057610100808354040283529160200191610b4b565b820191906000526020600020905b815481529060010190602001808311610b2e57829003601f168201915b50505050509050919050565b6001600160a01b038116600090815260076020526040902054610bbc5760405162461bcd60e51b815260206004820152601760248201527f455243313135353a204e6f2062616c616e636520647565000000000000000000604482015260640161061d565b6001600160a01b0381166000908152600760205260409020544711610c315760405162461bcd60e51b815260206004820152602560248201527f455243313135353a20496e737566666963656e7420636f6e74726163742062616044820152646c616e636560d81b606482015260840161061d565b6001600160a01b03811660009081526007602052604081208054919055610c588282611d26565b5050565b610c67826006541190565b610c835760405162461bcd60e51b815260040161061d90613376565b600060068381548110610c9857610c98613319565b90600052602060002090600a020190508060040160019054906101000a900460ff16610d065760405162461bcd60e51b815260206004820152601b60248201527f455243313135353a2053616c65206973206e6f74206163746976650000000000604482015260640161061d565b8060030154828260020154610d1b9190613345565b1115610d695760405162461bcd60e51b815260206004820152601d60248201527f455243313135353a204f72646572206578636565647320737570706c79000000604482015260640161061d565b34828260010154610d7a91906133c2565b1115610dd35760405162461bcd60e51b815260206004820152602260248201527f455243313135353a2045746865722073656e74206973206e6f7420636f72726560448201526118dd60f21b606482015260840161061d565b6000816009015411610e3c5760405162461bcd60e51b815260206004820152602c60248201527f455243313135353a20496e76616c696420746f6b656e20636f6e66696775726160448201526b74696f6e2c2073686172657360a01b606482015260840161061d565b6005546001600160a01b031615610f12576005546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba91906133e1565b11610f125760405162461bcd60e51b815260206004820152602260248201527f455243313135353a2041636365737320746f6b656e2062616c616e6365206973604482015261020360f41b606482015260840161061d565b341561115f576040805161016081018252825481526001830154602082015260028301549181019190915260038201546060820152600482015460ff8082161515608084015261010090910416151560a082015260058201805461115f9291849160c084019190610f8290613280565b80601f0160208091040260200160405190810160405280929190818152602001828054610fae90613280565b8015610ffb5780601f10610fd057610100808354040283529160200191610ffb565b820191906000526020600020905b815481529060010190602001808311610fde57829003601f168201915b5050505050815260200160068201805461101490613280565b80601f016020809104026020016040519081016040528092919081815260200182805461104090613280565b801561108d5780601f106110625761010080835404028352916020019161108d565b820191906000526020600020905b81548152906001019060200180831161107057829003601f168201915b50505050508152602001600782018054806020026020016040519081016040528092919081815260200182805480156110ef57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d1575b505050505081526020016008820180548060200260200160405190810160405280929190818152602001828054801561114757602002820191906000526020600020905b815481526020019060010190808311611133575b50505050508152602001600982015481525050611e3f565b61117a33848460405180602001604052806000815250611f7b565b505050565b600061118c826006541190565b6111a85760405162461bcd60e51b815260040161061d90613376565b600682815481106111bb576111bb613319565b90600052602060002090600a0201600301549050919050565b6001600160a01b0385163314806111f057506111f08533610527565b6112575760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161061d565b61126485858585856120d4565b5050505050565b3360009081526001602052604090205460ff1661129a5760405162461bcd60e51b815260040161061d906132ef565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526001602052604090205460ff166112eb5760405162461bcd60e51b815260040161061d906132ef565b6006548810806112fc575060065488145b6113445760405162461bcd60e51b8152602060048201526019602482015278115490cc4c4d4d4e88125b9d985b1a59081d1bdad95b881a59603a1b604482015260640161061d565b600654880361135a576006805460010181556000525b60006006898154811061136f5761136f613319565b6000918252602091829020600a9190910201868155600181018590556003810184905560048101805461ffff191689151561ff001916176101008815150217905589519092506113c7916005840191908b019061295e565b5086516113dd90600683019060208a019061295e565b5086511561141e57887f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b886040516114159190612b22565b60405180910390a25b505050505050505050565b6000546001600160a01b031633146114535760405162461bcd60e51b815260040161061d906132ba565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b606081518351146114e35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161061d565b600083516001600160401b038111156114fe576114fe612b52565b604051908082528060200260200182016040528015611527578160200160208202803683370190505b50905060005b845181101561159f5761157285828151811061154b5761154b613319565b602002602001015185838151811061156557611565613319565b60200260200101516105b5565b82828151811061158457611584613319565b60209081029190910101526115988161335d565b905061152d565b509392505050565b600681815481106115b757600080fd5b60009182526020909120600a909102018054600182015460028301546003840154600485015460058601805495975093959294919360ff80831694610100909304169261160390613280565b80601f016020809104026020016040519081016040528092919081815260200182805461162f90613280565b801561167c5780601f106116515761010080835404028352916020019161167c565b820191906000526020600020905b81548152906001019060200180831161165f57829003601f168201915b50505050509080600601805461169190613280565b80601f01602080910402602001604051908101604052809291908181526020018280546116bd90613280565b801561170a5780601f106116df5761010080835404028352916020019161170a565b820191906000526020600020905b8154815290600101906020018083116116ed57829003601f168201915b5050505050908060090154905089565b3360009081526001602052604090205460ff166117495760405162461bcd60e51b815260040161061d906132ef565b611754836006541190565b6117705760405162461bcd60e51b815260040161061d90613376565b3415611804576118046006848154811061178c5761178c613319565b60009182526020918290206040805161016081018252600a9093029091018054835260018101549383019390935260028301549082015260038201546060820152600482015460ff8082161515608084015261010090910416151560a082015260058201805491929160c084019190610f8290613280565b61117a8184846122ac565b3360009081526001602052604090205460ff1661183e5760405162461bcd60e51b815260040161061d906132ef565b611849856006541190565b6118655760405162461bcd60e51b815260040161061d90613376565b8281146118cd5760405162461bcd60e51b815260206004820152603060248201527f455243313135353a206163636f756e747320616e64207175616e74697469657360448201526f040d8cadccee8d040dad2e6dac2e8c6d60831b606482015260840161061d565b34156118e9576118e96006868154811061178c5761178c613319565b60005b8181101561195d5761194d83838381811061190957611909613319565b905060200201602081019061191e9190612b35565b8787878581811061193157611931613319565b9050602002013560405180602001604052806000815250611f7b565b6119568161335d565b90506118ec565b505050505050565b6000546001600160a01b0316331461198f5760405162461bcd60e51b815260040161061d906132ba565b61199960006124ad565b565b3360009081526001602052604090205460ff166119ca5760405162461bcd60e51b815260040161061d906132ef565b6119d5836006541190565b6119f15760405162461bcd60e51b815260040161061d90613376565b818160068581548110611a0657611a06613319565b90600052602060002090600a02016006019190611a249291906129d1565b50827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8383604051611a579291906133fa565b60405180910390a2505050565b600980546106ad90613280565b6001600160a01b0382163303611adb5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161061d565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b038516331480611b635750611b638533610527565b611bc15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161061d565b61126485858585856124fd565b6000546001600160a01b03163314611bf85760405162461bcd60e51b815260040161061d906132ba565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611c2781612610565b50565b3360009081526001602052604090205460ff16611c595760405162461bcd60e51b815260040161061d906132ef565b611c64826006541190565b611c805760405162461bcd60e51b815260040161061d90613376565b600060068381548110611c9557611c95613319565b90600052602060002090600a020190508181600201541115611d1f5760405162461bcd60e51b815260206004820152603760248201527f455243313135353a2053706563696669656420737570706c79206973206c6f7760448201527f6572207468616e2063757272656e742062616c616e6365000000000000000000606482015260840161061d565b6003015550565b80471015611d765760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161061d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611dc3576040519150601f19603f3d011682016040523d82523d6000602084013e611dc8565b606091505b505090508061117a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161061d565b60008060015b600184610100015151611e589190613429565b811015611f10578361014001518461012001518281518110611e7c57611e7c613319565b602002602001015134611e8f91906133c2565b611e999190613440565b925082600760008661010001518481518110611eb757611eb7613319565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000828254611eee9190613345565b90915550611efe90508383613345565b9150611f098161335d565b9050611e45565b50611f1b8134613429565b91508160076000856101000151600081518110611f3a57611f3a613319565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000828254611f719190613345565b9091555050505050565b611f86836006541190565b611fa25760405162461bcd60e51b815260040161061d90613376565b600060068481548110611fb757611fb7613319565b90600052602060002090600a020190508060030154838260020154611fdc9190613345565b111561202a5760405162461bcd60e51b815260206004820152601a60248201527f455243313135353a204e6f7420656e6f75676820737570706c79000000000000604482015260640161061d565b8281600201600082825461203e9190613345565b909155505060008481526002602090815260408083206001600160a01b038916845290915281208054859290612075908490613345565b9091555050604080518581526020810185905233916001600160a01b0388169160009184917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461195d816000888888886126a8565b81518351146121365760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161061d565b6001600160a01b03841661215c5760405162461bcd60e51b815260040161061d90613462565b3360005b845181101561224657600085828151811061217d5761217d613319565b60200260200101519050600085838151811061219b5761219b613319565b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156121ec5760405162461bcd60e51b815260040161061d906134a7565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061222b908490613345565b925050819055505050508061223f9061335d565b9050612160565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122969291906134f1565b60405180910390a461195d818787878787612803565b6122b7826006541190565b6122d35760405162461bcd60e51b815260040161061d90613376565b6000600683815481106122e8576122e8613319565b90600052602060002090600a02019050818160020154101561234c5760405162461bcd60e51b815260206004820152601a60248201527f455243313135353a204e6f7420656e6f75676820737570706c79000000000000604482015260640161061d565b816006848154811061236057612360613319565b90600052602060002090600a020160020160008282546123809190613429565b92505081905550816006848154811061239b5761239b613319565b90600052602060002090600a020160030160008282546123bb9190613429565b909155505060008381526002602090815260408083206001600160a01b03881684529091529020548281101561243f5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161061d565b60008481526002602090815260408083206001600160a01b03891680855290835281842087860390558151888152928301879052339392909184917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0384166125235760405162461bcd60e51b815260040161061d90613462565b60008381526002602090815260408083206001600160a01b03891684529091529020543390838110156125685760405162461bcd60e51b815260040161061d906134a7565b60008581526002602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906125a7908490613345565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46126078288888888886126a8565b50505050505050565b6000546001600160a01b0316331461263a5760405162461bcd60e51b815260040161061d906132ba565b6001600160a01b03811661269f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061d565b611c27816124ad565b6001600160a01b0384163b1561195d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906126ec908990899088908890889060040161351f565b6020604051808303816000875af1925050508015612727575060408051601f3d908101601f1916820190925261272491810190613564565b60015b6127d357612733613581565b806308c379a00361276c575061274761359d565b80612752575061276e565b8060405162461bcd60e51b815260040161061d9190612b22565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161061d565b6001600160e01b0319811663f23a6e6160e01b146126075760405162461bcd60e51b815260040161061d90613626565b6001600160a01b0384163b1561195d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612847908990899088908890889060040161366e565b6020604051808303816000875af1925050508015612882575060408051601f3d908101601f1916820190925261287f91810190613564565b60015b61288e57612733613581565b6001600160e01b0319811663bc197c8160e01b146126075760405162461bcd60e51b815260040161061d90613626565b828054828255906000526020600020908101928215612913579160200282015b8281111561291357825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906128de565b5061291f929150612a45565b5090565b828054828255906000526020600020908101928215612913579160200282015b82811115612913578251825591602001919060010190612943565b82805461296a90613280565b90600052602060002090601f01602090048101928261298c5760008555612913565b82601f106129a557805160ff1916838001178555612913565b828001600101855582156129135791820182811115612913578251825591602001919060010190612943565b8280546129dd90613280565b90600052602060002090601f0160209004810192826129ff5760008555612913565b82601f10612a185782800160ff19823516178555612913565b82800160010185558215612913579182015b82811115612913578235825591602001919060010190612a2a565b5b8082111561291f5760008155600101612a46565b6001600160a01b0381168114611c2757600080fd5b60008060408385031215612a8257600080fd5b8235612a8d81612a5a565b946020939093013593505050565b6001600160e01b031981168114611c2757600080fd5b600060208284031215612ac357600080fd5b8135612ace81612a9b565b9392505050565b6000815180845260005b81811015612afb57602081850181015186830182015201612adf565b81811115612b0d576000602083870101525b50601f01601f19169290920160200192915050565b602081526000612ace6020830184612ad5565b600060208284031215612b4757600080fd5b8135612ace81612a5a565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612b8d57612b8d612b52565b6040525050565b60006001600160401b03821115612bad57612bad612b52565b5060051b60200190565b600082601f830112612bc857600080fd5b81356020612bd582612b94565b604051612be28282612b68565b83815260059390931b8501820192828101915086841115612c0257600080fd5b8286015b84811015612c26578035612c1981612a5a565b8352918301918301612c06565b509695505050505050565b600082601f830112612c4257600080fd5b81356020612c4f82612b94565b604051612c5c8282612b68565b83815260059390931b8501820192828101915086841115612c7c57600080fd5b8286015b84811015612c265780358352918301918301612c80565b600080600060608486031215612cac57600080fd5b8335925060208401356001600160401b0380821115612cca57600080fd5b612cd687838801612bb7565b93506040860135915080821115612cec57600080fd5b50612cf986828701612c31565b9150509250925092565b600060208284031215612d1557600080fd5b5035919050565b60008060408385031215612d2f57600080fd5b50508035926020909101359150565b600082601f830112612d4f57600080fd5b81356001600160401b03811115612d6857612d68612b52565b604051612d7f601f8301601f191660200182612b68565b818152846020838601011115612d9457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612dc957600080fd5b8535612dd481612a5a565b94506020860135612de481612a5a565b935060408601356001600160401b0380821115612e0057600080fd5b612e0c89838a01612c31565b94506060880135915080821115612e2257600080fd5b612e2e89838a01612c31565b93506080880135915080821115612e4457600080fd5b50612e5188828901612d3e565b9150509295509295909350565b8035801515811461077757600080fd5b600080600080600080600080610100898b031215612e8b57600080fd5b8835975060208901356001600160401b0380821115612ea957600080fd5b612eb58c838d01612d3e565b985060408b0135915080821115612ecb57600080fd5b50612ed88b828c01612d3e565b965050612ee760608a01612e5e565b945060808901359350612efc60a08a01612e5e565b925060c0890135915060e089013590509295985092959890939650565b60008060408385031215612f2c57600080fd5b8235612f3781612a5a565b9150612f4560208401612e5e565b90509250929050565b60008060408385031215612f6157600080fd5b82356001600160401b0380821115612f7857600080fd5b612f8486838701612bb7565b93506020850135915080821115612f9a57600080fd5b50612fa785828601612c31565b9150509250929050565b600081518084526020808501945080840160005b83811015612fe157815187529582019590820190600101612fc5565b509495945050505050565b602081526000612ace6020830184612fb1565b60006101208b83528a6020840152896040840152886060840152871515608084015286151560a08401528060c084015261303b81840187612ad5565b905082810360e084015261304f8186612ad5565b915050826101008301529a9950505050505050505050565b60008060006060848603121561307c57600080fd5b8335925060208401359150604084013561309581612a5a565b809150509250925092565b60008083601f8401126130b257600080fd5b5081356001600160401b038111156130c957600080fd5b6020830191508360208260051b85010111156130e457600080fd5b9250929050565b60008060008060006060868803121561310357600080fd5b8535945060208601356001600160401b038082111561312157600080fd5b61312d89838a016130a0565b9096509450604088013591508082111561314657600080fd5b50613153888289016130a0565b969995985093965092949392505050565b60008060006040848603121561317957600080fd5b8335925060208401356001600160401b038082111561319757600080fd5b818601915086601f8301126131ab57600080fd5b8135818111156131ba57600080fd5b8760208285010111156131cc57600080fd5b6020830194508093505050509250925092565b600080604083850312156131f257600080fd5b82356131fd81612a5a565b9150602083013561320d81612a5a565b809150509250929050565b600080600080600060a0868803121561323057600080fd5b853561323b81612a5a565b9450602086013561324b81612a5a565b9350604086013592506060860135915060808601356001600160401b0381111561327457600080fd5b612e5188828901612d3e565b600181811c9082168061329457607f821691505b6020821081036132b457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156133585761335861332f565b500190565b60006001820161336f5761336f61332f565b5060010190565b6020808252602c908201527f455243313135353a2053706563696669656420746f6b656e202869642920646f60408201526b195cc81b9bdd08195e1a5cdd60a21b606082015260800190565b60008160001904831182151516156133dc576133dc61332f565b500290565b6000602082840312156133f357600080fd5b5051919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60008282101561343b5761343b61332f565b500390565b60008261345d57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006135046040830185612fb1565b82810360208401526135168185612fb1565b95945050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061355990830184612ad5565b979650505050505050565b60006020828403121561357657600080fd5b8151612ace81612a9b565b600060033d111561359a5760046000803e5060005160e01c5b90565b600060443d10156135ab5790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156135da57505050505090565b82850191508151818111156135f25750505050505090565b843d870101602082850101111561360c5750505050505090565b61361b60208286010187612b68565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061369a90830186612fb1565b82810360608401526136ac8186612fb1565b905082810360808401526136c08185612ad5565b9897505050505050505056fea264697066735822122075f29282f10d187377375c404110b758fdbcdd2446545bed9b0c1ae02fa4d5ea64736f6c634300080d003368747470733a2f2f6865726f6465762e6d7970696e6174612e636c6f75642f697066732f516d637447525274556e7968396f675a67436a6777346d47327635385253754a4a4d46714e7a77346a66423759312f6d6574616369706c65732d7374616e646172642e6a736f6e
Deployed Bytecode
0x6080604052600436106101b85760003560e01c80634f64b2be116100eb57806395d89b411161008f578063e985e9c511610061578063e985e9c51461050c578063f242432a14610555578063f2fde38b14610575578063fc784d491461059557005b806395d89b41146104b7578063a22cb465146104cc578063bd85b039146102d9578063d2a5dc4a146104ec57005b806368c92c84116100c857806368c92c841461043d578063715018a614610450578063862440e2146104655780638da5cb5b1461048557005b80634f64b2be146103c85780635cc938ef146103fd57806365bcfbe71461041057005b80631b2ef1ca1161015d5780633a1352121161012f5780633a135212146103395780634a994eef146103595780634e1273f4146103795780634f558e79146103a657005b80631b2ef1ca146102c65780632693ebf2146102d95780632eb2c2d6146102f95780633404894b1461031957005b8063077796271161019657806307779627146102465780630cf77ea2146102665780630e89341c1461028657806319165587146102a657005b8062fdd58e146101c157806301ffc9a7146101f457806306fdde031461022457005b366101bf57005b005b3480156101cd57600080fd5b506101e16101dc366004612a6f565b6105b5565b6040519081526020015b60405180910390f35b34801561020057600080fd5b5061021461020f366004612ab1565b61064e565b60405190151581526020016101eb565b34801561023057600080fd5b506102396106a0565b6040516101eb9190612b22565b34801561025257600080fd5b50610214610261366004612b35565b61072e565b34801561027257600080fd5b506101bf610281366004612c97565b61077c565b34801561029257600080fd5b506102396102a1366004612d03565b610a7a565b3480156102b257600080fd5b506101bf6102c1366004612b35565b610b57565b6101bf6102d4366004612d1c565b610c5c565b3480156102e557600080fd5b506101e16102f4366004612d03565b61117f565b34801561030557600080fd5b506101bf610314366004612db1565b6111d4565b34801561032557600080fd5b506101bf610334366004612b35565b61126b565b34801561034557600080fd5b506101bf610354366004612e6e565b6112bc565b34801561036557600080fd5b506101bf610374366004612f19565b611429565b34801561038557600080fd5b50610399610394366004612f4e565b61147e565b6040516101eb9190612fec565b3480156103b257600080fd5b506102146103c1366004612d03565b6006541190565b3480156103d457600080fd5b506103e86103e3366004612d03565b6115a7565b6040516101eb99989796959493929190612fff565b6101bf61040b366004613067565b61171a565b34801561041c57600080fd5b506101e161042b366004612b35565b60076020526000908152604090205481565b6101bf61044b3660046130eb565b61180f565b34801561045c57600080fd5b506101bf611965565b34801561047157600080fd5b506101bf610480366004613164565b61199b565b34801561049157600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101eb565b3480156104c357600080fd5b50610239611a64565b3480156104d857600080fd5b506101bf6104e7366004612f19565b611a71565b3480156104f857600080fd5b5060055461049f906001600160a01b031681565b34801561051857600080fd5b506102146105273660046131df565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b34801561056157600080fd5b506101bf610570366004613218565b611b47565b34801561058157600080fd5b506101bf610590366004612b35565b611bce565b3480156105a157600080fd5b506101bf6105b0366004612d1c565b611c2a565b60006001600160a01b0383166106265760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526002602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061067f57506001600160e01b031982166303a24d0760e21b145b8061069a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600880546106ad90613280565b80601f01602080910402602001604051908101604052809291908181526020018280546106d990613280565b80156107265780601f106106fb57610100808354040283529160200191610726565b820191906000526020600020905b81548152906001019060200180831161070957829003601f168201915b505050505081565b600080546001600160a01b031633146107595760405162461bcd60e51b815260040161061d906132ba565b506001600160a01b03811660009081526001602052604090205460ff165b919050565b3360009081526001602052604090205460ff166107ab5760405162461bcd60e51b815260040161061d906132ef565b60065483106107f85760405162461bcd60e51b8152602060048201526019602482015278115490cc4c4d4d4e88125b9d985b1a59081d1bdad95b881a59603a1b604482015260640161061d565b60008251116108495760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a204d7573742070726f7669646520312b2070617965657300604482015260640161061d565b80518251146108b05760405162461bcd60e51b815260206004820152602d60248201527f455243313135353a204d7573742070726f7669646520657175616c207061796560448201526c657320616e642073686172657360981b606482015260840161061d565b81600684815481106108c4576108c4613319565b90600052602060002090600a020160070190805190602001906108e89291906128be565b5080600684815481106108fd576108fd613319565b90600052602060002090600a02016008019080519060200190610921929190612923565b506000805b8251811015610a4a5760006001600160a01b031684828151811061094c5761094c613319565b60200260200101516001600160a01b0316036109aa5760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a205061796565732063616e6e6f7420626520656d70747900604482015260640161061d565b60008382815181106109be576109be613319565b602002602001015111610a135760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a205368617265732063616e6e6f7420626520656d70747900604482015260640161061d565b828181518110610a2557610a25613319565b602002602001015182610a389190613345565b9150610a438161335d565b9050610926565b508060068581548110610a5f57610a5f613319565b90600052602060002090600a02016009018190555050505050565b6060610a87826006541190565b610aa35760405162461bcd60e51b815260040161061d90613376565b60068281548110610ab657610ab6613319565b90600052602060002090600a02016006018054610ad290613280565b80601f0160208091040260200160405190810160405280929190818152602001828054610afe90613280565b8015610b4b5780601f10610b2057610100808354040283529160200191610b4b565b820191906000526020600020905b815481529060010190602001808311610b2e57829003601f168201915b50505050509050919050565b6001600160a01b038116600090815260076020526040902054610bbc5760405162461bcd60e51b815260206004820152601760248201527f455243313135353a204e6f2062616c616e636520647565000000000000000000604482015260640161061d565b6001600160a01b0381166000908152600760205260409020544711610c315760405162461bcd60e51b815260206004820152602560248201527f455243313135353a20496e737566666963656e7420636f6e74726163742062616044820152646c616e636560d81b606482015260840161061d565b6001600160a01b03811660009081526007602052604081208054919055610c588282611d26565b5050565b610c67826006541190565b610c835760405162461bcd60e51b815260040161061d90613376565b600060068381548110610c9857610c98613319565b90600052602060002090600a020190508060040160019054906101000a900460ff16610d065760405162461bcd60e51b815260206004820152601b60248201527f455243313135353a2053616c65206973206e6f74206163746976650000000000604482015260640161061d565b8060030154828260020154610d1b9190613345565b1115610d695760405162461bcd60e51b815260206004820152601d60248201527f455243313135353a204f72646572206578636565647320737570706c79000000604482015260640161061d565b34828260010154610d7a91906133c2565b1115610dd35760405162461bcd60e51b815260206004820152602260248201527f455243313135353a2045746865722073656e74206973206e6f7420636f72726560448201526118dd60f21b606482015260840161061d565b6000816009015411610e3c5760405162461bcd60e51b815260206004820152602c60248201527f455243313135353a20496e76616c696420746f6b656e20636f6e66696775726160448201526b74696f6e2c2073686172657360a01b606482015260840161061d565b6005546001600160a01b031615610f12576005546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba91906133e1565b11610f125760405162461bcd60e51b815260206004820152602260248201527f455243313135353a2041636365737320746f6b656e2062616c616e6365206973604482015261020360f41b606482015260840161061d565b341561115f576040805161016081018252825481526001830154602082015260028301549181019190915260038201546060820152600482015460ff8082161515608084015261010090910416151560a082015260058201805461115f9291849160c084019190610f8290613280565b80601f0160208091040260200160405190810160405280929190818152602001828054610fae90613280565b8015610ffb5780601f10610fd057610100808354040283529160200191610ffb565b820191906000526020600020905b815481529060010190602001808311610fde57829003601f168201915b5050505050815260200160068201805461101490613280565b80601f016020809104026020016040519081016040528092919081815260200182805461104090613280565b801561108d5780601f106110625761010080835404028352916020019161108d565b820191906000526020600020905b81548152906001019060200180831161107057829003601f168201915b50505050508152602001600782018054806020026020016040519081016040528092919081815260200182805480156110ef57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d1575b505050505081526020016008820180548060200260200160405190810160405280929190818152602001828054801561114757602002820191906000526020600020905b815481526020019060010190808311611133575b50505050508152602001600982015481525050611e3f565b61117a33848460405180602001604052806000815250611f7b565b505050565b600061118c826006541190565b6111a85760405162461bcd60e51b815260040161061d90613376565b600682815481106111bb576111bb613319565b90600052602060002090600a0201600301549050919050565b6001600160a01b0385163314806111f057506111f08533610527565b6112575760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161061d565b61126485858585856120d4565b5050505050565b3360009081526001602052604090205460ff1661129a5760405162461bcd60e51b815260040161061d906132ef565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526001602052604090205460ff166112eb5760405162461bcd60e51b815260040161061d906132ef565b6006548810806112fc575060065488145b6113445760405162461bcd60e51b8152602060048201526019602482015278115490cc4c4d4d4e88125b9d985b1a59081d1bdad95b881a59603a1b604482015260640161061d565b600654880361135a576006805460010181556000525b60006006898154811061136f5761136f613319565b6000918252602091829020600a9190910201868155600181018590556003810184905560048101805461ffff191689151561ff001916176101008815150217905589519092506113c7916005840191908b019061295e565b5086516113dd90600683019060208a019061295e565b5086511561141e57887f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b886040516114159190612b22565b60405180910390a25b505050505050505050565b6000546001600160a01b031633146114535760405162461bcd60e51b815260040161061d906132ba565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b606081518351146114e35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b606482015260840161061d565b600083516001600160401b038111156114fe576114fe612b52565b604051908082528060200260200182016040528015611527578160200160208202803683370190505b50905060005b845181101561159f5761157285828151811061154b5761154b613319565b602002602001015185838151811061156557611565613319565b60200260200101516105b5565b82828151811061158457611584613319565b60209081029190910101526115988161335d565b905061152d565b509392505050565b600681815481106115b757600080fd5b60009182526020909120600a909102018054600182015460028301546003840154600485015460058601805495975093959294919360ff80831694610100909304169261160390613280565b80601f016020809104026020016040519081016040528092919081815260200182805461162f90613280565b801561167c5780601f106116515761010080835404028352916020019161167c565b820191906000526020600020905b81548152906001019060200180831161165f57829003601f168201915b50505050509080600601805461169190613280565b80601f01602080910402602001604051908101604052809291908181526020018280546116bd90613280565b801561170a5780601f106116df5761010080835404028352916020019161170a565b820191906000526020600020905b8154815290600101906020018083116116ed57829003601f168201915b5050505050908060090154905089565b3360009081526001602052604090205460ff166117495760405162461bcd60e51b815260040161061d906132ef565b611754836006541190565b6117705760405162461bcd60e51b815260040161061d90613376565b3415611804576118046006848154811061178c5761178c613319565b60009182526020918290206040805161016081018252600a9093029091018054835260018101549383019390935260028301549082015260038201546060820152600482015460ff8082161515608084015261010090910416151560a082015260058201805491929160c084019190610f8290613280565b61117a8184846122ac565b3360009081526001602052604090205460ff1661183e5760405162461bcd60e51b815260040161061d906132ef565b611849856006541190565b6118655760405162461bcd60e51b815260040161061d90613376565b8281146118cd5760405162461bcd60e51b815260206004820152603060248201527f455243313135353a206163636f756e747320616e64207175616e74697469657360448201526f040d8cadccee8d040dad2e6dac2e8c6d60831b606482015260840161061d565b34156118e9576118e96006868154811061178c5761178c613319565b60005b8181101561195d5761194d83838381811061190957611909613319565b905060200201602081019061191e9190612b35565b8787878581811061193157611931613319565b9050602002013560405180602001604052806000815250611f7b565b6119568161335d565b90506118ec565b505050505050565b6000546001600160a01b0316331461198f5760405162461bcd60e51b815260040161061d906132ba565b61199960006124ad565b565b3360009081526001602052604090205460ff166119ca5760405162461bcd60e51b815260040161061d906132ef565b6119d5836006541190565b6119f15760405162461bcd60e51b815260040161061d90613376565b818160068581548110611a0657611a06613319565b90600052602060002090600a02016006019190611a249291906129d1565b50827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8383604051611a579291906133fa565b60405180910390a2505050565b600980546106ad90613280565b6001600160a01b0382163303611adb5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b606482015260840161061d565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b038516331480611b635750611b638533610527565b611bc15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b606482015260840161061d565b61126485858585856124fd565b6000546001600160a01b03163314611bf85760405162461bcd60e51b815260040161061d906132ba565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611c2781612610565b50565b3360009081526001602052604090205460ff16611c595760405162461bcd60e51b815260040161061d906132ef565b611c64826006541190565b611c805760405162461bcd60e51b815260040161061d90613376565b600060068381548110611c9557611c95613319565b90600052602060002090600a020190508181600201541115611d1f5760405162461bcd60e51b815260206004820152603760248201527f455243313135353a2053706563696669656420737570706c79206973206c6f7760448201527f6572207468616e2063757272656e742062616c616e6365000000000000000000606482015260840161061d565b6003015550565b80471015611d765760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161061d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611dc3576040519150601f19603f3d011682016040523d82523d6000602084013e611dc8565b606091505b505090508061117a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161061d565b60008060015b600184610100015151611e589190613429565b811015611f10578361014001518461012001518281518110611e7c57611e7c613319565b602002602001015134611e8f91906133c2565b611e999190613440565b925082600760008661010001518481518110611eb757611eb7613319565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000828254611eee9190613345565b90915550611efe90508383613345565b9150611f098161335d565b9050611e45565b50611f1b8134613429565b91508160076000856101000151600081518110611f3a57611f3a613319565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000828254611f719190613345565b9091555050505050565b611f86836006541190565b611fa25760405162461bcd60e51b815260040161061d90613376565b600060068481548110611fb757611fb7613319565b90600052602060002090600a020190508060030154838260020154611fdc9190613345565b111561202a5760405162461bcd60e51b815260206004820152601a60248201527f455243313135353a204e6f7420656e6f75676820737570706c79000000000000604482015260640161061d565b8281600201600082825461203e9190613345565b909155505060008481526002602090815260408083206001600160a01b038916845290915281208054859290612075908490613345565b9091555050604080518581526020810185905233916001600160a01b0388169160009184917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461195d816000888888886126a8565b81518351146121365760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b606482015260840161061d565b6001600160a01b03841661215c5760405162461bcd60e51b815260040161061d90613462565b3360005b845181101561224657600085828151811061217d5761217d613319565b60200260200101519050600085838151811061219b5761219b613319565b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156121ec5760405162461bcd60e51b815260040161061d906134a7565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061222b908490613345565b925050819055505050508061223f9061335d565b9050612160565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122969291906134f1565b60405180910390a461195d818787878787612803565b6122b7826006541190565b6122d35760405162461bcd60e51b815260040161061d90613376565b6000600683815481106122e8576122e8613319565b90600052602060002090600a02019050818160020154101561234c5760405162461bcd60e51b815260206004820152601a60248201527f455243313135353a204e6f7420656e6f75676820737570706c79000000000000604482015260640161061d565b816006848154811061236057612360613319565b90600052602060002090600a020160020160008282546123809190613429565b92505081905550816006848154811061239b5761239b613319565b90600052602060002090600a020160030160008282546123bb9190613429565b909155505060008381526002602090815260408083206001600160a01b03881684529091529020548281101561243f5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161061d565b60008481526002602090815260408083206001600160a01b03891680855290835281842087860390558151888152928301879052339392909184917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0384166125235760405162461bcd60e51b815260040161061d90613462565b60008381526002602090815260408083206001600160a01b03891684529091529020543390838110156125685760405162461bcd60e51b815260040161061d906134a7565b60008581526002602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906125a7908490613345565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46126078288888888886126a8565b50505050505050565b6000546001600160a01b0316331461263a5760405162461bcd60e51b815260040161061d906132ba565b6001600160a01b03811661269f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061d565b611c27816124ad565b6001600160a01b0384163b1561195d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906126ec908990899088908890889060040161351f565b6020604051808303816000875af1925050508015612727575060408051601f3d908101601f1916820190925261272491810190613564565b60015b6127d357612733613581565b806308c379a00361276c575061274761359d565b80612752575061276e565b8060405162461bcd60e51b815260040161061d9190612b22565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606482015260840161061d565b6001600160e01b0319811663f23a6e6160e01b146126075760405162461bcd60e51b815260040161061d90613626565b6001600160a01b0384163b1561195d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612847908990899088908890889060040161366e565b6020604051808303816000875af1925050508015612882575060408051601f3d908101601f1916820190925261287f91810190613564565b60015b61288e57612733613581565b6001600160e01b0319811663bc197c8160e01b146126075760405162461bcd60e51b815260040161061d90613626565b828054828255906000526020600020908101928215612913579160200282015b8281111561291357825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906128de565b5061291f929150612a45565b5090565b828054828255906000526020600020908101928215612913579160200282015b82811115612913578251825591602001919060010190612943565b82805461296a90613280565b90600052602060002090601f01602090048101928261298c5760008555612913565b82601f106129a557805160ff1916838001178555612913565b828001600101855582156129135791820182811115612913578251825591602001919060010190612943565b8280546129dd90613280565b90600052602060002090601f0160209004810192826129ff5760008555612913565b82601f10612a185782800160ff19823516178555612913565b82800160010185558215612913579182015b82811115612913578235825591602001919060010190612a2a565b5b8082111561291f5760008155600101612a46565b6001600160a01b0381168114611c2757600080fd5b60008060408385031215612a8257600080fd5b8235612a8d81612a5a565b946020939093013593505050565b6001600160e01b031981168114611c2757600080fd5b600060208284031215612ac357600080fd5b8135612ace81612a9b565b9392505050565b6000815180845260005b81811015612afb57602081850181015186830182015201612adf565b81811115612b0d576000602083870101525b50601f01601f19169290920160200192915050565b602081526000612ace6020830184612ad5565b600060208284031215612b4757600080fd5b8135612ace81612a5a565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612b8d57612b8d612b52565b6040525050565b60006001600160401b03821115612bad57612bad612b52565b5060051b60200190565b600082601f830112612bc857600080fd5b81356020612bd582612b94565b604051612be28282612b68565b83815260059390931b8501820192828101915086841115612c0257600080fd5b8286015b84811015612c26578035612c1981612a5a565b8352918301918301612c06565b509695505050505050565b600082601f830112612c4257600080fd5b81356020612c4f82612b94565b604051612c5c8282612b68565b83815260059390931b8501820192828101915086841115612c7c57600080fd5b8286015b84811015612c265780358352918301918301612c80565b600080600060608486031215612cac57600080fd5b8335925060208401356001600160401b0380821115612cca57600080fd5b612cd687838801612bb7565b93506040860135915080821115612cec57600080fd5b50612cf986828701612c31565b9150509250925092565b600060208284031215612d1557600080fd5b5035919050565b60008060408385031215612d2f57600080fd5b50508035926020909101359150565b600082601f830112612d4f57600080fd5b81356001600160401b03811115612d6857612d68612b52565b604051612d7f601f8301601f191660200182612b68565b818152846020838601011115612d9457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612dc957600080fd5b8535612dd481612a5a565b94506020860135612de481612a5a565b935060408601356001600160401b0380821115612e0057600080fd5b612e0c89838a01612c31565b94506060880135915080821115612e2257600080fd5b612e2e89838a01612c31565b93506080880135915080821115612e4457600080fd5b50612e5188828901612d3e565b9150509295509295909350565b8035801515811461077757600080fd5b600080600080600080600080610100898b031215612e8b57600080fd5b8835975060208901356001600160401b0380821115612ea957600080fd5b612eb58c838d01612d3e565b985060408b0135915080821115612ecb57600080fd5b50612ed88b828c01612d3e565b965050612ee760608a01612e5e565b945060808901359350612efc60a08a01612e5e565b925060c0890135915060e089013590509295985092959890939650565b60008060408385031215612f2c57600080fd5b8235612f3781612a5a565b9150612f4560208401612e5e565b90509250929050565b60008060408385031215612f6157600080fd5b82356001600160401b0380821115612f7857600080fd5b612f8486838701612bb7565b93506020850135915080821115612f9a57600080fd5b50612fa785828601612c31565b9150509250929050565b600081518084526020808501945080840160005b83811015612fe157815187529582019590820190600101612fc5565b509495945050505050565b602081526000612ace6020830184612fb1565b60006101208b83528a6020840152896040840152886060840152871515608084015286151560a08401528060c084015261303b81840187612ad5565b905082810360e084015261304f8186612ad5565b915050826101008301529a9950505050505050505050565b60008060006060848603121561307c57600080fd5b8335925060208401359150604084013561309581612a5a565b809150509250925092565b60008083601f8401126130b257600080fd5b5081356001600160401b038111156130c957600080fd5b6020830191508360208260051b85010111156130e457600080fd5b9250929050565b60008060008060006060868803121561310357600080fd5b8535945060208601356001600160401b038082111561312157600080fd5b61312d89838a016130a0565b9096509450604088013591508082111561314657600080fd5b50613153888289016130a0565b969995985093965092949392505050565b60008060006040848603121561317957600080fd5b8335925060208401356001600160401b038082111561319757600080fd5b818601915086601f8301126131ab57600080fd5b8135818111156131ba57600080fd5b8760208285010111156131cc57600080fd5b6020830194508093505050509250925092565b600080604083850312156131f257600080fd5b82356131fd81612a5a565b9150602083013561320d81612a5a565b809150509250929050565b600080600080600060a0868803121561323057600080fd5b853561323b81612a5a565b9450602086013561324b81612a5a565b9350604086013592506060860135915060808601356001600160401b0381111561327457600080fd5b612e5188828901612d3e565b600181811c9082168061329457607f821691505b6020821081036132b457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156133585761335861332f565b500190565b60006001820161336f5761336f61332f565b5060010190565b6020808252602c908201527f455243313135353a2053706563696669656420746f6b656e202869642920646f60408201526b195cc81b9bdd08195e1a5cdd60a21b606082015260800190565b60008160001904831182151516156133dc576133dc61332f565b500290565b6000602082840312156133f357600080fd5b5051919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60008282101561343b5761343b61332f565b500390565b60008261345d57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006135046040830185612fb1565b82810360208401526135168185612fb1565b95945050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061355990830184612ad5565b979650505050505050565b60006020828403121561357657600080fd5b8151612ace81612a9b565b600060033d111561359a5760046000803e5060005160e01c5b90565b600060443d10156135ab5790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156135da57505050505090565b82850191508151818111156135f25750505050505090565b843d870101602082850101111561360c5750505050505090565b61361b60208286010187612b68565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061369a90830186612fb1565b82810360608401526136ac8186612fb1565b905082810360808401526136c08185612ad5565b9897505050505050505056fea264697066735822122075f29282f10d187377375c404110b758fdbcdd2446545bed9b0c1ae02fa4d5ea64736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,094.78 | 0.0000000000000001 | <$0.000001 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.