ERC-721
Overview
Max Total Supply
3,728 CMPL
Holders
1,161
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CMPLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ChimeraPillars
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 "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import './Blimpie/Delegated.sol'; import './Blimpie/ERC721Batch.sol'; import './Blimpie/PaymentSplitterMod.sol'; import './Blimpie/SignedSecret.sol'; interface IToddlerPillars{ function balanceOf( address account ) external returns( uint ); } contract ChimeraPillars is Delegated, ERC721Batch, PaymentSplitterMod, SignedSecret { using Strings for uint256; struct MintConfig{ uint64 ethPrice; uint16 maxMint; uint16 maxOrder; uint16 maxSupply; bool isClaimActive; bool isPresaleActive; bool isMainsaleActive; } MintConfig public CONFIG = MintConfig( 0.03 ether, //ethPrice 4, //maxMint 4, //maxOrder 8888, //maxSupply false, //isClaimActive false, //isPresaleActive false //isMainsaleActive ); IToddlerPillars public ToddlerPillars = IToddlerPillars(0xD6f817FA3823038D9a95B94cB7ad5468a19727FE); string public tokenURIPrefix; string public tokenURISuffix; constructor() ERC721B("Chimera Pillars", "CMPL", 0) SignedSecret( 0x07743F7CCE5893a00125cea50145CB394A58dfFe, "LionGoatSnakeTail" ){ _addPayee( 0x422D9914eE2A933a040815F9A619D27252373EbD, 87 ether ); _addPayee( 0xed386149321FBd84f0c4e27a1701Ad05eCA32f8A, 13 ether ); } //view: IERC721Metadata function tokenURI( uint tokenId ) external view override returns( string memory ){ require(_exists(tokenId), "query for nonexistent token"); return string(abi.encodePacked(tokenURIPrefix, tokenId.toString(), tokenURISuffix)); } function claim( uint8 quantity, bytes calldata signature ) external payable { require( CONFIG.isClaimActive, "claim is not active" ); require( 0 < quantity && quantity <= 2, "must claim 1 or 2" ); uint supply = totalSupply(); require( supply + quantity <= CONFIG.maxSupply, "claim exceeds supply" ); uint balance = ToddlerPillars.balanceOf( msg.sender ); if( balance > 0 ){ //2 allowed if( balance > 8 ) require( owners[msg.sender].claimed + quantity <= 2, "only 2 ChimeraPillars may be claimed" ); //1 allowed else require( owners[msg.sender].claimed + quantity == 1, "only 1 ChimeraPillar may be claimed" ); } else{ revert( "must own ToddlerPillars" ); } require( _isAuthorizedSigner( uint(quantity).toString(), signature ), "account not authorized" ); owners[msg.sender].balance += quantity; owners[msg.sender].claimed += quantity; for(uint i; i < quantity; ++i){ _mint( msg.sender, tokens.length ); } } //payable function mint( uint8 quantity ) external payable { require( quantity > 0, "must order 1+" ); require( quantity <= CONFIG.maxOrder, "order too big" ); require( owners[msg.sender].purchased + quantity <= CONFIG.maxMint, "don't be greedy" ); require( msg.value >= CONFIG.ethPrice * quantity, "ether sent is not correct" ); if( CONFIG.isMainsaleActive ){ //no-op } else if( CONFIG.isPresaleActive ){ require( ToddlerPillars.balanceOf( msg.sender ) > 0, "must own ToddlerPillars" ); } else{ revert( "sale is not active" ); } uint supply = totalSupply(); require( supply + quantity <= CONFIG.maxSupply, "mint/order exceeds supply" ); owners[msg.sender].balance += quantity; owners[msg.sender].purchased += quantity; for(uint i; i < quantity; ++i){ _mint( msg.sender, tokens.length ); } } //onlyDelegates function mintTo(uint16[] calldata quantity, address[] calldata recipient) external payable onlyDelegates{ require(quantity.length == recipient.length, "Must provide equal quantities and recipients" ); uint totalQuantity; uint supply = totalSupply(); for(uint i; i < quantity.length; ++i){ totalQuantity += quantity[i]; } require( supply + totalQuantity <= CONFIG.maxSupply, "Mint/order exceeds supply" ); for(uint i; i < recipient.length; ++i){ owners[ recipient[i] ].balance += quantity[i]; for(uint j; j < quantity[i]; ++j){ _mint( recipient[i], tokens.length ); } } } function setConfig( MintConfig calldata config ) external onlyDelegates{ CONFIG = config; } function setToddlerPillars( IToddlerPillars principal ) external onlyDelegates { ToddlerPillars = principal; } function setTokenURI( string calldata prefix, string calldata suffix ) external onlyDelegates{ tokenURIPrefix = prefix; tokenURIPrefix = suffix; } function transferOwnership( address newOwner ) public override( Delegated, Ownable ) onlyOwner{ Ownable.transferOwnership( newOwner ); } //onlyOwner function addPayee(address account, uint256 shares_) external onlyOwner { _addPayee( account, shares_ ); } function resetCounters() external onlyOwner { _resetCounters(); } function setPayee( uint index, address account, uint newShares ) external onlyOwner { _setPayee(index, account, newShares); } //internal function burnFrom( address account, uint[] calldata tokenIds ) external onlyDelegates{ for(uint i; i < tokenIds.length; ++i ){ require( _exists( tokenIds[i] ), "Burn for nonexistent token" ); require( tokens[ tokenIds[i] ].owner == account, "Owner mismatch" ); _burn( tokenIds[i] ); } } function _mint( address to, uint tokenId ) internal override { tokens.push(Token( to )); emit Transfer(address(0), to, tokenId); } }
// SPDX-License-Identifier: BSD-3 pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract SignedSecret is Ownable{ using ECDSA for bytes32; address internal _signer; string internal _secret; constructor( address signer, string memory secret ){ setSignedConfig( signer, secret ); } function setSignedConfig( address signer, string memory secret ) public onlyOwner{ _signer = signer; _secret = secret; } function _createHash( string memory data ) internal virtual view returns ( bytes32 ){ return keccak256( abi.encodePacked( address(this), msg.sender, data, _secret ) ); } function _isAuthorizedSigner( string memory data, bytes calldata signature ) internal view virtual returns( bool ){ return _signer == _recoverSigner( _createHash( data ), signature ); } function _recoverSigner( bytes32 hashed, bytes memory signature ) internal pure returns( address ){ return hashed.toEthSignedMessageHash().recover( signature ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitterMod is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] internal _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor() payable {} /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } function _addPayee(address account, uint256 shares_) internal { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } function _resetCounters() internal { _totalReleased = 0; for(uint i; i < _payees.length; ++i ){ _released[ _payees[i] ] = 0; } } function _setPayee( uint index, address account, uint newShares ) internal { _totalShares = _totalShares - _shares[ account ] + newShares; _shares[ account ] = newShares; _payees[ index ] = account; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "./ERC721B.sol"; abstract contract ERC721EnumerableB is ERC721B, IERC721Enumerable { function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC165, ERC721B) returns( bool isSupported ){ return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex( address owner, uint index ) external view override returns( uint tokenId ){ uint count; for( uint i; i < tokens.length; ++i ){ if( owner == tokens[i].owner ){ if( count == index ) return i; else ++count; } } revert("ERC721EnumerableB: owner index out of bounds"); } function tokenByIndex( uint index ) external view override returns( uint tokenId ){ require( index < totalSupply(), "ERC721EnumerableB: query for nonexistent token"); return index + _offset; } function totalSupply() public view virtual override( ERC721B, IERC721Enumerable ) returns( uint ){ return ERC721B.totalSupply(); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "../Blimpie/IERC721Batch.sol"; import "./ERC721EnumerableB.sol"; abstract contract ERC721Batch is ERC721EnumerableB, IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( account != tokens[ tokenIds[i] ].owner ) return false; } return true; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) external view override returns( uint[] memory wallet ){ uint count; uint quantity = owners[ account ].balance; wallet = new uint[]( quantity ); for( uint i; i < tokens.length; ++i ){ if( account == tokens[i].owner ){ wallet[ count++ ] = i; if( count == quantity ) break; } } return wallet; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata { using Address for address; struct Owner{ uint16 balance; uint16 claimed; uint16 purchased; } struct Token{ address owner; } Token[] public tokens; mapping(address => Owner) public owners; uint internal _burned; uint internal _offset; string private _name; string private _symbol; mapping(uint => address) internal _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_, uint offset_ ){ _name = name_; _symbol = symbol_; _offset = offset_; for(uint i; i < _offset; ++i ){ tokens.push(); } } //public view function balanceOf(address owner) external view override returns( uint balance ){ return owners[owner].balance; } function name() external view override returns( string memory name_ ){ return _name; } function ownerOf(uint tokenId) public view override returns( address owner ){ require(_exists(tokenId), "ERC721B: query for nonexistent token"); return tokens[tokenId].owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns( bool isSupported ){ return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view override returns( string memory symbol_ ){ return _symbol; } function totalSupply() public view virtual returns (uint) { return tokens.length - (_burned + _offset); } //approvals function approve(address to, uint tokenId) external override { address owner = ownerOf(tokenId); require(to != owner, "ERC721B: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721B: caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint tokenId) public view override returns( address approver ){ require(_exists(tokenId), "ERC721: query for nonexistent token"); return _tokenApprovals[tokenId]; } function isApprovedForAll(address owner, address operator) public view override returns( bool isApproved ){ return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external override { _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } //transfers function safeTransferFrom(address from, address to, uint tokenId) external override{ safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from, address to, uint tokenId, bytes memory _data) public override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721B: caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } function transferFrom(address from, address to, uint tokenId) external override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721B: caller is not owner nor approved"); _transfer(from, to, tokenId); } //internal function _approve(address to, uint tokenId) internal{ _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } function _beforeTokenTransfer(address from, address to) internal virtual { if( from != address(0) ) --owners[from].balance; if( to != address(0) ) ++owners[to].balance; } function _burn(uint tokenId) internal { address owner = ownerOf(tokenId); _beforeTokenTransfer(owner, address(0)); // Clear approvals _approve(address(0), tokenId); tokens[tokenId].owner = address(0); emit Transfer(owner, address(0), tokenId); } function _checkOnERC721Received(address from, address to, uint tokenId, bytes memory _data) private returns( bool ){ if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721B: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _exists(uint tokenId) internal view returns( bool ){ return tokenId < tokens.length && tokens[tokenId].owner != address(0); } function _isApprovedOrOwner(address spender, uint tokenId) internal view returns( bool isApproved ){ require(_exists(tokenId), "ERC721B: query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _mint(address to, uint tokenId) internal virtual; function _next() internal view virtual returns(uint){ return tokens.length + _offset; } function _safeMint(address to, uint tokenId) internal { _safeMint(to, tokenId, ""); } function _safeMint(address to, uint tokenId, bytes memory _data) internal { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721B: transfer to non ERC721Receiver implementer" ); } function _safeTransfer(address from, address to, uint tokenId, bytes memory _data) internal{ _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721B: transfer to non ERC721Receiver implementer"); } function _transfer(address from, address to, uint tokenId) internal { require(ownerOf(tokenId) == from, "ERC721B: transfer of token that is not own"); _beforeTokenTransfer(from, to); // Clear approvals from the previous owner _approve(address(0), tokenId); tokens[tokenId].owner = to; emit Transfer(from, to, tokenId); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; 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 // 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 (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// 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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONFIG","outputs":[{"internalType":"uint64","name":"ethPrice","type":"uint64"},{"internalType":"uint16","name":"maxMint","type":"uint16"},{"internalType":"uint16","name":"maxOrder","type":"uint16"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"bool","name":"isClaimActive","type":"bool"},{"internalType":"bool","name":"isPresaleActive","type":"bool"},{"internalType":"bool","name":"isMainsaleActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ToddlerPillars","outputs":[{"internalType":"contract IToddlerPillars","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares_","type":"uint256"}],"name":"addPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"approver","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isApproved","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":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"quantity","type":"uint16[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"name_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"owners","outputs":[{"internalType":"uint16","name":"balance","type":"uint16"},{"internalType":"uint16","name":"claimed","type":"uint16"},{"internalType":"uint16","name":"purchased","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetCounters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","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":[{"components":[{"internalType":"uint64","name":"ethPrice","type":"uint64"},{"internalType":"uint16","name":"maxMint","type":"uint16"},{"internalType":"uint16","name":"maxOrder","type":"uint16"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"bool","name":"isClaimActive","type":"bool"},{"internalType":"bool","name":"isPresaleActive","type":"bool"},{"internalType":"bool","name":"isMainsaleActive","type":"bool"}],"internalType":"struct ChimeraPillars.MintConfig","name":"config","type":"tuple"}],"name":"setConfig","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":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newShares","type":"uint256"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"string","name":"secret","type":"string"}],"name":"setSignedConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IToddlerPillars","name":"principal","type":"address"}],"name":"setToddlerPillars","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefix","type":"string"},{"internalType":"string","name":"suffix","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"isSupported","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURIPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURISuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"wallet","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610160604052666a94d74f430000608052600460a081905260c0526122b860e052600061010081905261012081905261014052601180546001600160881b0319166d22b800040004006a94d74f430000179055601280546001600160a01b03191673d6f817fa3823038d9a95b94cb7ad5468a19727fe1790553480156200008557600080fd5b507307743f7cce5893a00125cea50145cb394a58dffe60405180604001604052806011815260200170131a5bdb91dbd85d14db985ad955185a5b607a1b8152506040518060400160405280600f81526020016e4368696d6572612050696c6c61727360881b8152506040518060400160405280600481526020016310d3541360e21b815250600062000126620001206200023560201b60201c565b62000239565b60018060006200013e6000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff19169215159290921790915583516200017c91600691908601906200050c565b508151620001929060079060208501906200050c565b50600581905560005b600554811015620001c557600280546001018155600052620001bd81620005c8565b90506200019b565b50505050620001db82826200028960201b60201c565b5062000207905073422d9914ee2a933a040815f9a619d27252373ebd6804b75e170de2fc00006200031e565b6200022f73ed386149321fbd84f0c4e27a1701ad05eca32f8a67b469471f801400006200031e565b6200063b565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620002e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600f80546001600160a01b0319166001600160a01b0384161790558051620003199060109060208401906200050c565b505050565b6001600160a01b0382166200038b5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620002e0565b60008111620003dd5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620002e0565b6001600160a01b0382166000908152600c602052604090205415620004595760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620002e0565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a54620004c3908290620005e4565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b8280546200051a90620005ff565b90600052602060002090601f0160209004810192826200053e576000855562000589565b82601f106200055957805160ff191683800117855562000589565b8280016001018555821562000589579182015b82811115620005895782518255916020019190600101906200056c565b50620005979291506200059b565b5090565b5b808211156200059757600081556001016200059c565b634e487b7160e01b600052601160045260246000fd5b600060018201620005dd57620005dd620005b2565b5060010190565b60008219821115620005fa57620005fa620005b2565b500190565b600181811c908216806200061457607f821691505b6020821081036200063557634e487b7160e01b600052602260045260246000fd5b50919050565b61401b806200064b6000396000f3fe60806040526004361061028c5760003560e01c806370a082311161015a578063c87b56dd116100c1578063e33b7de31161007a578063e33b7de314610908578063e4ed53a91461091d578063e58de7d814610932578063e985e9c514610952578063f2fde38b1461099b578063f35ab2dc146109bb57600080fd5b8063c87b56dd146107af578063ce7c2ac2146107cf578063d48ede9914610805578063d92e82e414610825578063dbbc853b146108d3578063df238800146108e857600080fd5b80639852595c116101135780639852595c146106f1578063a22cb46514610727578063ae7bf4c814610747578063b534a5c41461075a578063b88d4fde1461077a578063c0ac99831461079a57600080fd5b806370a082311461062f578063715018a61461066957806389af61071461067e5780638b83209b1461069e5780638da5cb5b146106be57806395d89b41146106dc57600080fd5b806323b872dd116101fe5780634a994eef116101b75780634a994eef1461057c5780634d44660c1461059c5780634f64b2be146105bc5780634f6ccce7146105dc5780636352211e146105fc5780636ecd23061461061c57600080fd5b806323b872dd146104ba57806327975d06146104da5780632f745c59146104fa5780633a98ef391461051a57806342842e0e1461052f578063438b63001461054f57600080fd5b8063081812fc11610250578063081812fc146103df578063095ea7b3146104175780630ca2c6571461043757806318160ddd1461045757806318f9b0231461047a578063191655871461049a57600080fd5b806301ffc9a7146102da578063022914a71461030f57806302d1ec591461037b57806306fdde031461039d57806307779627146103bf57600080fd5b366102d5577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102e657600080fd5b506102fa6102f53660046133a3565b6109ce565b60405190151581526020015b60405180910390f35b34801561031b57600080fd5b5061035661032a3660046133d5565b60036020526000908152604090205461ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610306565b34801561038757600080fd5b5061039b61039636600461347d565b6109f9565b005b3480156103a957600080fd5b506103b2610a5f565b6040516103069190613538565b3480156103cb57600080fd5b506102fa6103da3660046133d5565b610af1565b3480156103eb57600080fd5b506103ff6103fa36600461354b565b610b3f565b6040516001600160a01b039091168152602001610306565b34801561042357600080fd5b5061039b610432366004613564565b610bbe565b34801561044357600080fd5b506012546103ff906001600160a01b031681565b34801561046357600080fd5b5061046c610cc3565b604051908152602001610306565b34801561048657600080fd5b5061039b610495366004613564565b610cd2565b3480156104a657600080fd5b5061039b6104b53660046133d5565b610d0a565b3480156104c657600080fd5b5061039b6104d5366004613590565b610ede565b3480156104e657600080fd5b5061039b6104f53660046135d1565b610f0f565b34801561050657600080fd5b5061046c610515366004613564565b610f4b565b34801561052657600080fd5b50600a5461046c565b34801561053b57600080fd5b5061039b61054a366004613590565b611017565b34801561055b57600080fd5b5061056f61056a3660046133d5565b611032565b60405161030691906135e9565b34801561058857600080fd5b5061039b61059736600461363b565b61111f565b3480156105a857600080fd5b506102fa6105b73660046136b8565b611174565b3480156105c857600080fd5b506103ff6105d736600461354b565b6111f0565b3480156105e857600080fd5b5061046c6105f736600461354b565b61121a565b34801561060857600080fd5b506103ff61061736600461354b565b611296565b61039b61062a36600461371d565b6112eb565b34801561063b57600080fd5b5061046c61064a3660046133d5565b6001600160a01b031660009081526003602052604090205461ffff1690565b34801561067557600080fd5b5061039b6116b5565b34801561068a57600080fd5b5061039b6106993660046136b8565b6116eb565b3480156106aa57600080fd5b506103ff6106b936600461354b565b611851565b3480156106ca57600080fd5b506000546001600160a01b03166103ff565b3480156106e857600080fd5b506103b2611866565b3480156106fd57600080fd5b5061046c61070c3660046133d5565b6001600160a01b03166000908152600d602052604090205490565b34801561073357600080fd5b5061039b61074236600461363b565b611875565b61039b610755366004613738565b6118e1565b34801561076657600080fd5b5061039b6107753660046137e4565b611b71565b34801561078657600080fd5b5061039b610795366004613878565b611be6565b3480156107a657600080fd5b506103b2611c18565b3480156107bb57600080fd5b506103b26107ca36600461354b565b611ca6565b3480156107db57600080fd5b5061046c6107ea3660046133d5565b6001600160a01b03166000908152600c602052604090205490565b34801561081157600080fd5b5061039b6108203660046138f7565b611d32565b34801561083157600080fd5b50601154610886906001600160401b0381169061ffff600160401b8204811691600160501b8104821691600160601b8204169060ff600160701b8204811691600160781b8104821691600160801b9091041687565b604080516001600160401b03909816885261ffff9687166020890152948616948701949094529390911660608501521515608084015290151560a0830152151560c082015260e001610306565b3480156108df57600080fd5b506103b2611d81565b3480156108f457600080fd5b5061039b610903366004613956565b611d8e565b34801561091457600080fd5b50600b5461046c565b34801561092957600080fd5b5061039b611dc3565b34801561093e57600080fd5b5061039b61094d3660046133d5565b611df5565b34801561095e57600080fd5b506102fa61096d36600461397d565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b3480156109a757600080fd5b5061039b6109b63660046133d5565b611e46565b61039b6109c93660046139ab565b611e7c565b60006001600160e01b0319821663780e9d6360e01b14806109f357506109f38261227e565b92915050565b6000546001600160a01b03163314610a2c5760405162461bcd60e51b8152600401610a23906139f0565b60405180910390fd5b600f80546001600160a01b0319166001600160a01b0384161790558051610a5a906010906020840190613280565b505050565b606060068054610a6e90613a25565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90613a25565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b600080546001600160a01b03163314610b1c5760405162461bcd60e51b8152600401610a23906139f0565b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610b4a826122ce565b610ba25760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610a23565b506000908152600860205260409020546001600160a01b031690565b6000610bc982611296565b9050806001600160a01b0316836001600160a01b031603610c375760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610a23565b336001600160a01b0382161480610c535750610c53813361096d565b610cb95760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b6064820152608401610a23565b610a5a8383612318565b6000610ccd612386565b905090565b6000546001600160a01b03163314610cfc5760405162461bcd60e51b8152600401610a23906139f0565b610d0682826123a5565b5050565b6001600160a01b0381166000908152600c6020526040902054610d7e5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610a23565b6000600b5447610d8e9190613a6f565b6001600160a01b0383166000908152600d6020908152604080832054600a54600c909352908320549394509192610dc59085613a87565b610dcf9190613abc565b610dd99190613ad0565b905080600003610e3f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610a23565b6001600160a01b0383166000908152600d6020526040902054610e63908290613a6f565b6001600160a01b0384166000908152600d6020526040902055600b54610e8a908290613a6f565b600b55610e97838261258b565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610ee833826126a4565b610f045760405162461bcd60e51b8152600401610a2390613ae7565b610a5a838383612749565b3360009081526001602052604090205460ff16610f3e5760405162461bcd60e51b8152600401610a2390613b30565b806011610a5a8282613b84565b60008060005b600254811015610fb95760028181548110610f6e57610f6e613cbf565b6000918252602090912001546001600160a01b0390811690861603610fa957838203610f9d5791506109f39050565b610fa682613cd5565b91505b610fb281613cd5565b9050610f51565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a23565b610a5a83838360405180602001604052806000815250611be6565b6001600160a01b0381166000908152600360205260408120546060919061ffff16806001600160401b0381111561106b5761106b6133f2565b604051908082528060200260200182016040528015611094578160200160208202803683370190505b50925060005b60025481101561111757600281815481106110b7576110b7613cbf565b6000918252602090912001546001600160a01b0390811690861603611107578084846110e281613cd5565b9550815181106110f4576110f4613cbf565b6020908102919091010152828214611117575b61111081613cd5565b905061109a565b505050919050565b6000546001600160a01b031633146111495760405162461bcd60e51b8152600401610a23906139f0565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b828110156111e357600284848381811061119457611194613cbf565b90506020020135815481106111ab576111ab613cbf565b6000918252602090912001546001600160a01b038681169116146111d35760009150506111e9565b6111dc81613cd5565b9050611178565b50600190505b9392505050565b6002818154811061120057600080fd5b6000918252602090912001546001600160a01b0316905081565b6000611224610cc3565b82106112895760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610a23565b6005546109f39083613a6f565b60006112a1826122ce565b6112bd5760405162461bcd60e51b8152600401610a2390613cee565b600282815481106112d0576112d0613cbf565b6000918252602090912001546001600160a01b031692915050565b60008160ff161161132e5760405162461bcd60e51b815260206004820152600d60248201526c6d757374206f7264657220312b60981b6044820152606401610a23565b601154600160501b900461ffff1660ff8216111561137e5760405162461bcd60e51b815260206004820152600d60248201526c6f7264657220746f6f2062696760981b6044820152606401610a23565b6011543360009081526003602052604090205461ffff600160401b9092048216916113b79160ff85169164010000000090910416613d32565b61ffff1611156113fb5760405162461bcd60e51b815260206004820152600f60248201526e646f6e27742062652067726565647960881b6044820152606401610a23565b6011546114159060ff8316906001600160401b0316613d58565b6001600160401b031634101561146d5760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610a23565b601154600160801b900460ff1661158857601154600160781b900460ff161561154b576012546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a08231906024016020604051808303816000875af11580156114db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ff9190613d87565b116115465760405162461bcd60e51b81526020600482015260176024820152766d757374206f776e20546f64646c657250696c6c61727360481b6044820152606401610a23565b611588565b60405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b6044820152606401610a23565b6000611592610cc3565b601154909150600160601b900461ffff166115b060ff841683613a6f565b11156115fe5760405162461bcd60e51b815260206004820152601960248201527f6d696e742f6f72646572206578636565647320737570706c79000000000000006044820152606401610a23565b336000908152600360205260408120805460ff8516929061162490849061ffff16613d32565b82546101009290920a61ffff818102199093169183160217909155336000908152600360205260409020805460ff86169350909160049161166f918591640100000000900416613d32565b92506101000a81548161ffff021916908361ffff16021790555060005b8260ff16811015610a5a576002546116a5903390612848565b6116ae81613cd5565b905061168c565b6000546001600160a01b031633146116df5760405162461bcd60e51b8152600401610a23906139f0565b6116e960006128db565b565b3360009081526001602052604090205460ff1661171a5760405162461bcd60e51b8152600401610a2390613b30565b60005b8181101561184b5761174683838381811061173a5761173a613cbf565b905060200201356122ce565b6117925760405162461bcd60e51b815260206004820152601a60248201527f4275726e20666f72206e6f6e6578697374656e7420746f6b656e0000000000006044820152606401610a23565b836001600160a01b031660028484848181106117b0576117b0613cbf565b90506020020135815481106117c7576117c7613cbf565b6000918252602090912001546001600160a01b03161461181a5760405162461bcd60e51b815260206004820152600e60248201526d09eeedccae440dad2e6dac2e8c6d60931b6044820152606401610a23565b61183b83838381811061182f5761182f613cbf565b9050602002013561292b565b61184481613cd5565b905061171d565b50505050565b6000600e82815481106112d0576112d0613cbf565b606060078054610a6e90613a25565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166119105760405162461bcd60e51b8152600401610a2390613b30565b8281146119745760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b6064820152608401610a23565b60008061197f610cc3565b905060005b858110156119d35786868281811061199e5761199e613cbf565b90506020020160208101906119b39190613da0565b6119c19061ffff1684613a6f565b92506119cc81613cd5565b9050611984565b50601154600160601b900461ffff166119ec8383613a6f565b1115611a3a5760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c79000000000000006044820152606401610a23565b60005b83811015611b6857868682818110611a5757611a57613cbf565b9050602002016020810190611a6c9190613da0565b60036000878785818110611a8257611a82613cbf565b9050602002016020810190611a9791906133d5565b6001600160a01b03168152602081019190915260400160009081208054909190611ac690849061ffff16613d32565b92506101000a81548161ffff021916908361ffff16021790555060005b878783818110611af557611af5613cbf565b9050602002016020810190611b0a9190613da0565b61ffff16811015611b5757611b47868684818110611b2a57611b2a613cbf565b9050602002016020810190611b3f91906133d5565b600254612848565b611b5081613cd5565b9050611ae3565b50611b6181613cd5565b9050611a3d565b50505050505050565b60005b83811015611b6857611bd68787878785818110611b9357611b93613cbf565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611be692505050565b611bdf81613cd5565b9050611b74565b611bf033836126a4565b611c0c5760405162461bcd60e51b8152600401610a2390613ae7565b61184b848484846129b8565b60138054611c2590613a25565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5190613a25565b8015611c9e5780601f10611c7357610100808354040283529160200191611c9e565b820191906000526020600020905b815481529060010190602001808311611c8157829003601f168201915b505050505081565b6060611cb1826122ce565b611cfd5760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610a23565b6013611d08836129eb565b6014604051602001611d1c93929190613e56565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff16611d615760405162461bcd60e51b8152600401610a2390613b30565b611d6d60138585613304565b50611d7a60138383613304565b5050505050565b60148054611c2590613a25565b6000546001600160a01b03163314611db85760405162461bcd60e51b8152600401610a23906139f0565b610a5a838383612aeb565b6000546001600160a01b03163314611ded5760405162461bcd60e51b8152600401610a23906139f0565b6116e9612b84565b3360009081526001602052604090205460ff16611e245760405162461bcd60e51b8152600401610a2390613b30565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314611e705760405162461bcd60e51b8152600401610a23906139f0565b611e7981612be4565b50565b601154600160701b900460ff16611ecb5760405162461bcd60e51b8152602060048201526013602482015272636c61696d206973206e6f742061637469766560681b6044820152606401610a23565b8260ff166000108015611ee2575060028360ff1611155b611f225760405162461bcd60e51b815260206004820152601160248201527036bab9ba1031b630b4b690189037b9101960791b6044820152606401610a23565b6000611f2c610cc3565b601154909150600160601b900461ffff16611f4a60ff861683613a6f565b1115611f8f5760405162461bcd60e51b8152602060048201526014602482015273636c61696d206578636565647320737570706c7960601b6044820152606401610a23565b6012546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a08231906024016020604051808303816000875af1158015611fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffe9190613d87565b9050801561212457600881111561209d573360009081526003602052604090205460029061203a9060ff88169062010000900461ffff16613d32565b61ffff1611156120985760405162461bcd60e51b8152602060048201526024808201527f6f6e6c792032204368696d65726150696c6c617273206d617920626520636c616044820152631a5b595960e21b6064820152608401610a23565b612166565b336000908152600360205260409020546120c59060ff87169062010000900461ffff16613d32565b61ffff166001146120985760405162461bcd60e51b815260206004820152602360248201527f6f6e6c792031204368696d65726150696c6c6172206d617920626520636c61696044820152621b595960ea1b6064820152608401610a23565b60405162461bcd60e51b81526020600482015260176024820152766d757374206f776e20546f64646c657250696c6c61727360481b6044820152606401610a23565b61217c6121758660ff166129eb565b8585612c7c565b6121c15760405162461bcd60e51b81526020600482015260166024820152751858d8dbdd5b9d081b9bdd08185d5d1a1bdc9a5e995960521b6044820152606401610a23565b336000908152600360205260408120805460ff881692906121e790849061ffff16613d32565b82546101009290920a61ffff818102199093169183160217909155336000908152600360205260409020805460ff89169350909160029161223091859162010000900416613d32565b92506101000a81548161ffff021916908361ffff16021790555060005b8560ff1681101561227657600254612266903390612848565b61226f81613cd5565b905061224d565b505050505050565b60006001600160e01b031982166380ac58cd60e01b14806122af57506001600160e01b03198216635b5e139f60e01b145b806109f357506301ffc9a760e01b6001600160e01b03198316146109f3565b600254600090821080156109f3575060006001600160a01b0316600283815481106122fb576122fb613cbf565b6000918252602090912001546001600160a01b0316141592915050565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061234d82611296565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006005546004546123989190613a6f565b600254610ccd9190613ad0565b6001600160a01b0382166124105760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610a23565b600081116124605760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610a23565b6001600160a01b0382166000908152600c6020526040902054156124da5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610a23565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a54612542908290613a6f565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156125db5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a23565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612628576040519150601f19603f3d011682016040523d82523d6000602084013e61262d565b606091505b5050905080610a5a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a23565b60006126af826122ce565b6126cb5760405162461bcd60e51b8152600401610a2390613cee565b60006126d683611296565b9050806001600160a01b0316846001600160a01b031614806127115750836001600160a01b031661270684610b3f565b6001600160a01b0316145b8061274157506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661275c82611296565b6001600160a01b0316146127c55760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610a23565b6127cf8383612cdf565b6127da600082612318565b81600282815481106127ee576127ee613cbf565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b604080516020810182526001600160a01b0384811680835260028054600181018255600091825293517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90940180546001600160a01b03191694909316939093179091559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061293682611296565b9050612943816000612cdf565b61294e600083612318565b60006002838154811061296357612963613cbf565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6129c3848484612749565b6129cf84848484612d8a565b61184b5760405162461bcd60e51b8152600401610a2390613e89565b606081600003612a125750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a3c5780612a2681613cd5565b9150612a359050600a83613abc565b9150612a16565b6000816001600160401b03811115612a5657612a566133f2565b6040519080825280601f01601f191660200182016040528015612a80576020820181803683370190505b5090505b841561274157612a95600183613ad0565b9150612aa2600a86613edc565b612aad906030613a6f565b60f81b818381518110612ac257612ac2613cbf565b60200101906001600160f81b031916908160001a905350612ae4600a86613abc565b9450612a84565b6001600160a01b0382166000908152600c6020526040902054600a548291612b1291613ad0565b612b1c9190613a6f565b600a556001600160a01b0382166000908152600c60205260409020819055600e805483919085908110612b5157612b51613cbf565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b6000600b8190555b600e54811015611e79576000600d6000600e8481548110612baf57612baf613cbf565b60009182526020808320909101546001600160a01b03168352820192909252604001902055612bdd81613cd5565b9050612b8c565b6000546001600160a01b03163314612c0e5760405162461bcd60e51b8152600401610a23906139f0565b6001600160a01b038116612c735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a23565b611e79816128db565b6000612cc6612c8a85612e8b565b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612ec292505050565b600f546001600160a01b03918216911614949350505050565b6001600160a01b03821615612d33576001600160a01b03821660009081526003602052604081208054909190612d189061ffff16613ef0565b91906101000a81548161ffff021916908361ffff1602179055505b6001600160a01b03811615610d06576001600160a01b03811660009081526003602052604081208054909190612d6c9061ffff16613f0e565b91906101000a81548161ffff021916908361ffff1602179055505050565b60006001600160a01b0384163b15612e8057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612dce903390899088908890600401613f2f565b6020604051808303816000875af1925050508015612e09575060408051601f3d908101601f19168201909252612e0691810190613f6c565b60015b612e66573d808015612e37576040519150601f19603f3d011682016040523d82523d6000602084013e612e3c565b606091505b508051600003612e5e5760405162461bcd60e51b8152600401610a2390613e89565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612741565b506001949350505050565b60003033836010604051602001612ea59493929190613f89565b604051602081830303815290604052805190602001209050919050565b60006111e982612ed185612ed7565b90612f12565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612ea5565b6000806000612f218585612f36565b91509150612f2e81612fa4565b509392505050565b6000808251604103612f6c5760208301516040840151606085015160001a612f608782858561315a565b94509450505050612f9d565b8251604003612f955760208301516040840151612f8a868383613247565b935093505050612f9d565b506000905060025b9250929050565b6000816004811115612fb857612fb8613fcf565b03612fc05750565b6001816004811115612fd457612fd4613fcf565b036130215760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a23565b600281600481111561303557613035613fcf565b036130825760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a23565b600381600481111561309657613096613fcf565b036130ee5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a23565b600481600481111561310257613102613fcf565b03611e795760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a23565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613191575060009050600361323e565b8460ff16601b141580156131a957508460ff16601c14155b156131ba575060009050600461323e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561320e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132375760006001925092505061323e565b9150600090505b94509492505050565b6000806001600160ff1b0383168161326460ff86901c601b613a6f565b90506132728782888561315a565b935093505050935093915050565b82805461328c90613a25565b90600052602060002090601f0160209004810192826132ae57600085556132f4565b82601f106132c757805160ff19168380011785556132f4565b828001600101855582156132f4579182015b828111156132f45782518255916020019190600101906132d9565b50613300929150613378565b5090565b82805461331090613a25565b90600052602060002090601f01602090048101928261333257600085556132f4565b82601f1061334b5782800160ff198235161785556132f4565b828001600101855582156132f4579182015b828111156132f457823582559160200191906001019061335d565b5b808211156133005760008155600101613379565b6001600160e01b031981168114611e7957600080fd5b6000602082840312156133b557600080fd5b81356111e98161338d565b6001600160a01b0381168114611e7957600080fd5b6000602082840312156133e757600080fd5b81356111e9816133c0565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115613422576134226133f2565b604051601f8501601f19908116603f0116810190828211818310171561344a5761344a6133f2565b8160405280935085815286868601111561346357600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561349057600080fd5b823561349b816133c0565b915060208301356001600160401b038111156134b657600080fd5b8301601f810185136134c757600080fd5b6134d685823560208401613408565b9150509250929050565b60005b838110156134fb5781810151838201526020016134e3565b8381111561184b5750506000910152565b600081518084526135248160208601602086016134e0565b601f01601f19169290920160200192915050565b6020815260006111e9602083018461350c565b60006020828403121561355d57600080fd5b5035919050565b6000806040838503121561357757600080fd5b8235613582816133c0565b946020939093013593505050565b6000806000606084860312156135a557600080fd5b83356135b0816133c0565b925060208401356135c0816133c0565b929592945050506040919091013590565b600060e082840312156135e357600080fd5b50919050565b6020808252825182820181905260009190848201906040850190845b8181101561362157835183529284019291840191600101613605565b50909695505050505050565b8015158114611e7957600080fd5b6000806040838503121561364e57600080fd5b8235613659816133c0565b915060208301356136698161362d565b809150509250929050565b60008083601f84011261368657600080fd5b5081356001600160401b0381111561369d57600080fd5b6020830191508360208260051b8501011115612f9d57600080fd5b6000806000604084860312156136cd57600080fd5b83356136d8816133c0565b925060208401356001600160401b038111156136f357600080fd5b6136ff86828701613674565b9497909650939450505050565b803560ff81168114610b3a57600080fd5b60006020828403121561372f57600080fd5b6111e98261370c565b6000806000806040858703121561374e57600080fd5b84356001600160401b038082111561376557600080fd5b61377188838901613674565b9096509450602087013591508082111561378a57600080fd5b5061379787828801613674565b95989497509550505050565b60008083601f8401126137b557600080fd5b5081356001600160401b038111156137cc57600080fd5b602083019150836020828501011115612f9d57600080fd5b600080600080600080608087890312156137fd57600080fd5b8635613808816133c0565b95506020870135613818816133c0565b945060408701356001600160401b038082111561383457600080fd5b6138408a838b01613674565b9096509450606089013591508082111561385957600080fd5b5061386689828a016137a3565b979a9699509497509295939492505050565b6000806000806080858703121561388e57600080fd5b8435613899816133c0565b935060208501356138a9816133c0565b92506040850135915060608501356001600160401b038111156138cb57600080fd5b8501601f810187136138dc57600080fd5b6138eb87823560208401613408565b91505092959194509250565b6000806000806040858703121561390d57600080fd5b84356001600160401b038082111561392457600080fd5b613930888389016137a3565b9096509450602087013591508082111561394957600080fd5b50613797878288016137a3565b60008060006060848603121561396b57600080fd5b8335925060208401356135c0816133c0565b6000806040838503121561399057600080fd5b823561399b816133c0565b91506020830135613669816133c0565b6000806000604084860312156139c057600080fd5b6139c98461370c565b925060208401356001600160401b038111156139e457600080fd5b6136ff868287016137a3565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680613a3957607f821691505b6020821081036135e357634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115613a8257613a82613a59565b500190565b6000816000190483118215151615613aa157613aa1613a59565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613acb57613acb613aa6565b500490565b600082821015613ae257613ae2613a59565b500390565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b61ffff81168114611e7957600080fd5b600081356109f381613b5a565b600081356109f38161362d565b81356001600160401b038116808214613b9c57600080fd5b825467ffffffffffffffff1981168217845591506020840135613bbe81613b5a565b69ffffffffffffffffffff199290921617604091821b69ffff000000000000000016178255820135613bef81613b5a565b815461ffff60501b1916605082901b61ffff60501b1617825550613c38613c1860608401613b6a565b82805461ffff60601b191660609290921b61ffff60601b16919091179055565b613c65613c4760808401613b77565b82805460ff60701b191691151560701b60ff60701b16919091179055565b613c92613c7460a08401613b77565b82805460ff60781b191691151560781b60ff60781b16919091179055565b610d06613ca160c08401613b77565b82805460ff60801b191691151560801b60ff60801b16919091179055565b634e487b7160e01b600052603260045260246000fd5b600060018201613ce757613ce7613a59565b5060010190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b600061ffff808316818516808303821115613d4f57613d4f613a59565b01949350505050565b60006001600160401b0380831681851681830481118215151615613d7e57613d7e613a59565b02949350505050565b600060208284031215613d9957600080fd5b5051919050565b600060208284031215613db257600080fd5b81356111e981613b5a565b8054600090600181811c9080831680613dd757607f831692505b60208084108203613df857634e487b7160e01b600052602260045260246000fd5b818015613e0c5760018114613e1d57613e4a565b60ff19861689528489019650613e4a565b60008881526020902060005b86811015613e425781548b820152908501908301613e29565b505084890196505b50505050505092915050565b6000613e628286613dbd565b8451613e728183602089016134e0565b613e7e81830186613dbd565b979650505050505050565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600082613eeb57613eeb613aa6565b500690565b600061ffff821680613f0457613f04613a59565b6000190192915050565b600061ffff808316818103613f2557613f25613a59565b6001019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613f629083018461350c565b9695505050505050565b600060208284031215613f7e57600080fd5b81516111e98161338d565b60006bffffffffffffffffffffffff19808760601b168352808660601b166014840152508351613fc08160288501602088016134e0565b613e7e60288285010185613dbd565b634e487b7160e01b600052602160045260246000fdfea26469706673582212207d546a09978de7051476113c365c95833dc6bf2b268b582af7de51d0dffdb6c364736f6c634300080d0033
Deployed Bytecode
0x60806040526004361061028c5760003560e01c806370a082311161015a578063c87b56dd116100c1578063e33b7de31161007a578063e33b7de314610908578063e4ed53a91461091d578063e58de7d814610932578063e985e9c514610952578063f2fde38b1461099b578063f35ab2dc146109bb57600080fd5b8063c87b56dd146107af578063ce7c2ac2146107cf578063d48ede9914610805578063d92e82e414610825578063dbbc853b146108d3578063df238800146108e857600080fd5b80639852595c116101135780639852595c146106f1578063a22cb46514610727578063ae7bf4c814610747578063b534a5c41461075a578063b88d4fde1461077a578063c0ac99831461079a57600080fd5b806370a082311461062f578063715018a61461066957806389af61071461067e5780638b83209b1461069e5780638da5cb5b146106be57806395d89b41146106dc57600080fd5b806323b872dd116101fe5780634a994eef116101b75780634a994eef1461057c5780634d44660c1461059c5780634f64b2be146105bc5780634f6ccce7146105dc5780636352211e146105fc5780636ecd23061461061c57600080fd5b806323b872dd146104ba57806327975d06146104da5780632f745c59146104fa5780633a98ef391461051a57806342842e0e1461052f578063438b63001461054f57600080fd5b8063081812fc11610250578063081812fc146103df578063095ea7b3146104175780630ca2c6571461043757806318160ddd1461045757806318f9b0231461047a578063191655871461049a57600080fd5b806301ffc9a7146102da578063022914a71461030f57806302d1ec591461037b57806306fdde031461039d57806307779627146103bf57600080fd5b366102d5577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156102e657600080fd5b506102fa6102f53660046133a3565b6109ce565b60405190151581526020015b60405180910390f35b34801561031b57600080fd5b5061035661032a3660046133d5565b60036020526000908152604090205461ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610306565b34801561038757600080fd5b5061039b61039636600461347d565b6109f9565b005b3480156103a957600080fd5b506103b2610a5f565b6040516103069190613538565b3480156103cb57600080fd5b506102fa6103da3660046133d5565b610af1565b3480156103eb57600080fd5b506103ff6103fa36600461354b565b610b3f565b6040516001600160a01b039091168152602001610306565b34801561042357600080fd5b5061039b610432366004613564565b610bbe565b34801561044357600080fd5b506012546103ff906001600160a01b031681565b34801561046357600080fd5b5061046c610cc3565b604051908152602001610306565b34801561048657600080fd5b5061039b610495366004613564565b610cd2565b3480156104a657600080fd5b5061039b6104b53660046133d5565b610d0a565b3480156104c657600080fd5b5061039b6104d5366004613590565b610ede565b3480156104e657600080fd5b5061039b6104f53660046135d1565b610f0f565b34801561050657600080fd5b5061046c610515366004613564565b610f4b565b34801561052657600080fd5b50600a5461046c565b34801561053b57600080fd5b5061039b61054a366004613590565b611017565b34801561055b57600080fd5b5061056f61056a3660046133d5565b611032565b60405161030691906135e9565b34801561058857600080fd5b5061039b61059736600461363b565b61111f565b3480156105a857600080fd5b506102fa6105b73660046136b8565b611174565b3480156105c857600080fd5b506103ff6105d736600461354b565b6111f0565b3480156105e857600080fd5b5061046c6105f736600461354b565b61121a565b34801561060857600080fd5b506103ff61061736600461354b565b611296565b61039b61062a36600461371d565b6112eb565b34801561063b57600080fd5b5061046c61064a3660046133d5565b6001600160a01b031660009081526003602052604090205461ffff1690565b34801561067557600080fd5b5061039b6116b5565b34801561068a57600080fd5b5061039b6106993660046136b8565b6116eb565b3480156106aa57600080fd5b506103ff6106b936600461354b565b611851565b3480156106ca57600080fd5b506000546001600160a01b03166103ff565b3480156106e857600080fd5b506103b2611866565b3480156106fd57600080fd5b5061046c61070c3660046133d5565b6001600160a01b03166000908152600d602052604090205490565b34801561073357600080fd5b5061039b61074236600461363b565b611875565b61039b610755366004613738565b6118e1565b34801561076657600080fd5b5061039b6107753660046137e4565b611b71565b34801561078657600080fd5b5061039b610795366004613878565b611be6565b3480156107a657600080fd5b506103b2611c18565b3480156107bb57600080fd5b506103b26107ca36600461354b565b611ca6565b3480156107db57600080fd5b5061046c6107ea3660046133d5565b6001600160a01b03166000908152600c602052604090205490565b34801561081157600080fd5b5061039b6108203660046138f7565b611d32565b34801561083157600080fd5b50601154610886906001600160401b0381169061ffff600160401b8204811691600160501b8104821691600160601b8204169060ff600160701b8204811691600160781b8104821691600160801b9091041687565b604080516001600160401b03909816885261ffff9687166020890152948616948701949094529390911660608501521515608084015290151560a0830152151560c082015260e001610306565b3480156108df57600080fd5b506103b2611d81565b3480156108f457600080fd5b5061039b610903366004613956565b611d8e565b34801561091457600080fd5b50600b5461046c565b34801561092957600080fd5b5061039b611dc3565b34801561093e57600080fd5b5061039b61094d3660046133d5565b611df5565b34801561095e57600080fd5b506102fa61096d36600461397d565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b3480156109a757600080fd5b5061039b6109b63660046133d5565b611e46565b61039b6109c93660046139ab565b611e7c565b60006001600160e01b0319821663780e9d6360e01b14806109f357506109f38261227e565b92915050565b6000546001600160a01b03163314610a2c5760405162461bcd60e51b8152600401610a23906139f0565b60405180910390fd5b600f80546001600160a01b0319166001600160a01b0384161790558051610a5a906010906020840190613280565b505050565b606060068054610a6e90613a25565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90613a25565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b600080546001600160a01b03163314610b1c5760405162461bcd60e51b8152600401610a23906139f0565b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610b4a826122ce565b610ba25760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610a23565b506000908152600860205260409020546001600160a01b031690565b6000610bc982611296565b9050806001600160a01b0316836001600160a01b031603610c375760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610a23565b336001600160a01b0382161480610c535750610c53813361096d565b610cb95760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b6064820152608401610a23565b610a5a8383612318565b6000610ccd612386565b905090565b6000546001600160a01b03163314610cfc5760405162461bcd60e51b8152600401610a23906139f0565b610d0682826123a5565b5050565b6001600160a01b0381166000908152600c6020526040902054610d7e5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610a23565b6000600b5447610d8e9190613a6f565b6001600160a01b0383166000908152600d6020908152604080832054600a54600c909352908320549394509192610dc59085613a87565b610dcf9190613abc565b610dd99190613ad0565b905080600003610e3f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610a23565b6001600160a01b0383166000908152600d6020526040902054610e63908290613a6f565b6001600160a01b0384166000908152600d6020526040902055600b54610e8a908290613a6f565b600b55610e97838261258b565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610ee833826126a4565b610f045760405162461bcd60e51b8152600401610a2390613ae7565b610a5a838383612749565b3360009081526001602052604090205460ff16610f3e5760405162461bcd60e51b8152600401610a2390613b30565b806011610a5a8282613b84565b60008060005b600254811015610fb95760028181548110610f6e57610f6e613cbf565b6000918252602090912001546001600160a01b0390811690861603610fa957838203610f9d5791506109f39050565b610fa682613cd5565b91505b610fb281613cd5565b9050610f51565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a23565b610a5a83838360405180602001604052806000815250611be6565b6001600160a01b0381166000908152600360205260408120546060919061ffff16806001600160401b0381111561106b5761106b6133f2565b604051908082528060200260200182016040528015611094578160200160208202803683370190505b50925060005b60025481101561111757600281815481106110b7576110b7613cbf565b6000918252602090912001546001600160a01b0390811690861603611107578084846110e281613cd5565b9550815181106110f4576110f4613cbf565b6020908102919091010152828214611117575b61111081613cd5565b905061109a565b505050919050565b6000546001600160a01b031633146111495760405162461bcd60e51b8152600401610a23906139f0565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b828110156111e357600284848381811061119457611194613cbf565b90506020020135815481106111ab576111ab613cbf565b6000918252602090912001546001600160a01b038681169116146111d35760009150506111e9565b6111dc81613cd5565b9050611178565b50600190505b9392505050565b6002818154811061120057600080fd5b6000918252602090912001546001600160a01b0316905081565b6000611224610cc3565b82106112895760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610a23565b6005546109f39083613a6f565b60006112a1826122ce565b6112bd5760405162461bcd60e51b8152600401610a2390613cee565b600282815481106112d0576112d0613cbf565b6000918252602090912001546001600160a01b031692915050565b60008160ff161161132e5760405162461bcd60e51b815260206004820152600d60248201526c6d757374206f7264657220312b60981b6044820152606401610a23565b601154600160501b900461ffff1660ff8216111561137e5760405162461bcd60e51b815260206004820152600d60248201526c6f7264657220746f6f2062696760981b6044820152606401610a23565b6011543360009081526003602052604090205461ffff600160401b9092048216916113b79160ff85169164010000000090910416613d32565b61ffff1611156113fb5760405162461bcd60e51b815260206004820152600f60248201526e646f6e27742062652067726565647960881b6044820152606401610a23565b6011546114159060ff8316906001600160401b0316613d58565b6001600160401b031634101561146d5760405162461bcd60e51b815260206004820152601960248201527f65746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610a23565b601154600160801b900460ff1661158857601154600160781b900460ff161561154b576012546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a08231906024016020604051808303816000875af11580156114db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ff9190613d87565b116115465760405162461bcd60e51b81526020600482015260176024820152766d757374206f776e20546f64646c657250696c6c61727360481b6044820152606401610a23565b611588565b60405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b6044820152606401610a23565b6000611592610cc3565b601154909150600160601b900461ffff166115b060ff841683613a6f565b11156115fe5760405162461bcd60e51b815260206004820152601960248201527f6d696e742f6f72646572206578636565647320737570706c79000000000000006044820152606401610a23565b336000908152600360205260408120805460ff8516929061162490849061ffff16613d32565b82546101009290920a61ffff818102199093169183160217909155336000908152600360205260409020805460ff86169350909160049161166f918591640100000000900416613d32565b92506101000a81548161ffff021916908361ffff16021790555060005b8260ff16811015610a5a576002546116a5903390612848565b6116ae81613cd5565b905061168c565b6000546001600160a01b031633146116df5760405162461bcd60e51b8152600401610a23906139f0565b6116e960006128db565b565b3360009081526001602052604090205460ff1661171a5760405162461bcd60e51b8152600401610a2390613b30565b60005b8181101561184b5761174683838381811061173a5761173a613cbf565b905060200201356122ce565b6117925760405162461bcd60e51b815260206004820152601a60248201527f4275726e20666f72206e6f6e6578697374656e7420746f6b656e0000000000006044820152606401610a23565b836001600160a01b031660028484848181106117b0576117b0613cbf565b90506020020135815481106117c7576117c7613cbf565b6000918252602090912001546001600160a01b03161461181a5760405162461bcd60e51b815260206004820152600e60248201526d09eeedccae440dad2e6dac2e8c6d60931b6044820152606401610a23565b61183b83838381811061182f5761182f613cbf565b9050602002013561292b565b61184481613cd5565b905061171d565b50505050565b6000600e82815481106112d0576112d0613cbf565b606060078054610a6e90613a25565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166119105760405162461bcd60e51b8152600401610a2390613b30565b8281146119745760405162461bcd60e51b815260206004820152602c60248201527f4d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b6064820152608401610a23565b60008061197f610cc3565b905060005b858110156119d35786868281811061199e5761199e613cbf565b90506020020160208101906119b39190613da0565b6119c19061ffff1684613a6f565b92506119cc81613cd5565b9050611984565b50601154600160601b900461ffff166119ec8383613a6f565b1115611a3a5760405162461bcd60e51b815260206004820152601960248201527f4d696e742f6f72646572206578636565647320737570706c79000000000000006044820152606401610a23565b60005b83811015611b6857868682818110611a5757611a57613cbf565b9050602002016020810190611a6c9190613da0565b60036000878785818110611a8257611a82613cbf565b9050602002016020810190611a9791906133d5565b6001600160a01b03168152602081019190915260400160009081208054909190611ac690849061ffff16613d32565b92506101000a81548161ffff021916908361ffff16021790555060005b878783818110611af557611af5613cbf565b9050602002016020810190611b0a9190613da0565b61ffff16811015611b5757611b47868684818110611b2a57611b2a613cbf565b9050602002016020810190611b3f91906133d5565b600254612848565b611b5081613cd5565b9050611ae3565b50611b6181613cd5565b9050611a3d565b50505050505050565b60005b83811015611b6857611bd68787878785818110611b9357611b93613cbf565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611be692505050565b611bdf81613cd5565b9050611b74565b611bf033836126a4565b611c0c5760405162461bcd60e51b8152600401610a2390613ae7565b61184b848484846129b8565b60138054611c2590613a25565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5190613a25565b8015611c9e5780601f10611c7357610100808354040283529160200191611c9e565b820191906000526020600020905b815481529060010190602001808311611c8157829003601f168201915b505050505081565b6060611cb1826122ce565b611cfd5760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610a23565b6013611d08836129eb565b6014604051602001611d1c93929190613e56565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff16611d615760405162461bcd60e51b8152600401610a2390613b30565b611d6d60138585613304565b50611d7a60138383613304565b5050505050565b60148054611c2590613a25565b6000546001600160a01b03163314611db85760405162461bcd60e51b8152600401610a23906139f0565b610a5a838383612aeb565b6000546001600160a01b03163314611ded5760405162461bcd60e51b8152600401610a23906139f0565b6116e9612b84565b3360009081526001602052604090205460ff16611e245760405162461bcd60e51b8152600401610a2390613b30565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314611e705760405162461bcd60e51b8152600401610a23906139f0565b611e7981612be4565b50565b601154600160701b900460ff16611ecb5760405162461bcd60e51b8152602060048201526013602482015272636c61696d206973206e6f742061637469766560681b6044820152606401610a23565b8260ff166000108015611ee2575060028360ff1611155b611f225760405162461bcd60e51b815260206004820152601160248201527036bab9ba1031b630b4b690189037b9101960791b6044820152606401610a23565b6000611f2c610cc3565b601154909150600160601b900461ffff16611f4a60ff861683613a6f565b1115611f8f5760405162461bcd60e51b8152602060048201526014602482015273636c61696d206578636565647320737570706c7960601b6044820152606401610a23565b6012546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a08231906024016020604051808303816000875af1158015611fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffe9190613d87565b9050801561212457600881111561209d573360009081526003602052604090205460029061203a9060ff88169062010000900461ffff16613d32565b61ffff1611156120985760405162461bcd60e51b8152602060048201526024808201527f6f6e6c792032204368696d65726150696c6c617273206d617920626520636c616044820152631a5b595960e21b6064820152608401610a23565b612166565b336000908152600360205260409020546120c59060ff87169062010000900461ffff16613d32565b61ffff166001146120985760405162461bcd60e51b815260206004820152602360248201527f6f6e6c792031204368696d65726150696c6c6172206d617920626520636c61696044820152621b595960ea1b6064820152608401610a23565b60405162461bcd60e51b81526020600482015260176024820152766d757374206f776e20546f64646c657250696c6c61727360481b6044820152606401610a23565b61217c6121758660ff166129eb565b8585612c7c565b6121c15760405162461bcd60e51b81526020600482015260166024820152751858d8dbdd5b9d081b9bdd08185d5d1a1bdc9a5e995960521b6044820152606401610a23565b336000908152600360205260408120805460ff881692906121e790849061ffff16613d32565b82546101009290920a61ffff818102199093169183160217909155336000908152600360205260409020805460ff89169350909160029161223091859162010000900416613d32565b92506101000a81548161ffff021916908361ffff16021790555060005b8560ff1681101561227657600254612266903390612848565b61226f81613cd5565b905061224d565b505050505050565b60006001600160e01b031982166380ac58cd60e01b14806122af57506001600160e01b03198216635b5e139f60e01b145b806109f357506301ffc9a760e01b6001600160e01b03198316146109f3565b600254600090821080156109f3575060006001600160a01b0316600283815481106122fb576122fb613cbf565b6000918252602090912001546001600160a01b0316141592915050565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061234d82611296565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006005546004546123989190613a6f565b600254610ccd9190613ad0565b6001600160a01b0382166124105760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610a23565b600081116124605760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610a23565b6001600160a01b0382166000908152600c6020526040902054156124da5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610a23565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a54612542908290613a6f565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156125db5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a23565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612628576040519150601f19603f3d011682016040523d82523d6000602084013e61262d565b606091505b5050905080610a5a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a23565b60006126af826122ce565b6126cb5760405162461bcd60e51b8152600401610a2390613cee565b60006126d683611296565b9050806001600160a01b0316846001600160a01b031614806127115750836001600160a01b031661270684610b3f565b6001600160a01b0316145b8061274157506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661275c82611296565b6001600160a01b0316146127c55760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610a23565b6127cf8383612cdf565b6127da600082612318565b81600282815481106127ee576127ee613cbf565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b604080516020810182526001600160a01b0384811680835260028054600181018255600091825293517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90940180546001600160a01b03191694909316939093179091559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061293682611296565b9050612943816000612cdf565b61294e600083612318565b60006002838154811061296357612963613cbf565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6129c3848484612749565b6129cf84848484612d8a565b61184b5760405162461bcd60e51b8152600401610a2390613e89565b606081600003612a125750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a3c5780612a2681613cd5565b9150612a359050600a83613abc565b9150612a16565b6000816001600160401b03811115612a5657612a566133f2565b6040519080825280601f01601f191660200182016040528015612a80576020820181803683370190505b5090505b841561274157612a95600183613ad0565b9150612aa2600a86613edc565b612aad906030613a6f565b60f81b818381518110612ac257612ac2613cbf565b60200101906001600160f81b031916908160001a905350612ae4600a86613abc565b9450612a84565b6001600160a01b0382166000908152600c6020526040902054600a548291612b1291613ad0565b612b1c9190613a6f565b600a556001600160a01b0382166000908152600c60205260409020819055600e805483919085908110612b5157612b51613cbf565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b6000600b8190555b600e54811015611e79576000600d6000600e8481548110612baf57612baf613cbf565b60009182526020808320909101546001600160a01b03168352820192909252604001902055612bdd81613cd5565b9050612b8c565b6000546001600160a01b03163314612c0e5760405162461bcd60e51b8152600401610a23906139f0565b6001600160a01b038116612c735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a23565b611e79816128db565b6000612cc6612c8a85612e8b565b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612ec292505050565b600f546001600160a01b03918216911614949350505050565b6001600160a01b03821615612d33576001600160a01b03821660009081526003602052604081208054909190612d189061ffff16613ef0565b91906101000a81548161ffff021916908361ffff1602179055505b6001600160a01b03811615610d06576001600160a01b03811660009081526003602052604081208054909190612d6c9061ffff16613f0e565b91906101000a81548161ffff021916908361ffff1602179055505050565b60006001600160a01b0384163b15612e8057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612dce903390899088908890600401613f2f565b6020604051808303816000875af1925050508015612e09575060408051601f3d908101601f19168201909252612e0691810190613f6c565b60015b612e66573d808015612e37576040519150601f19603f3d011682016040523d82523d6000602084013e612e3c565b606091505b508051600003612e5e5760405162461bcd60e51b8152600401610a2390613e89565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612741565b506001949350505050565b60003033836010604051602001612ea59493929190613f89565b604051602081830303815290604052805190602001209050919050565b60006111e982612ed185612ed7565b90612f12565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612ea5565b6000806000612f218585612f36565b91509150612f2e81612fa4565b509392505050565b6000808251604103612f6c5760208301516040840151606085015160001a612f608782858561315a565b94509450505050612f9d565b8251604003612f955760208301516040840151612f8a868383613247565b935093505050612f9d565b506000905060025b9250929050565b6000816004811115612fb857612fb8613fcf565b03612fc05750565b6001816004811115612fd457612fd4613fcf565b036130215760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a23565b600281600481111561303557613035613fcf565b036130825760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a23565b600381600481111561309657613096613fcf565b036130ee5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a23565b600481600481111561310257613102613fcf565b03611e795760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a23565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613191575060009050600361323e565b8460ff16601b141580156131a957508460ff16601c14155b156131ba575060009050600461323e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561320e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166132375760006001925092505061323e565b9150600090505b94509492505050565b6000806001600160ff1b0383168161326460ff86901c601b613a6f565b90506132728782888561315a565b935093505050935093915050565b82805461328c90613a25565b90600052602060002090601f0160209004810192826132ae57600085556132f4565b82601f106132c757805160ff19168380011785556132f4565b828001600101855582156132f4579182015b828111156132f45782518255916020019190600101906132d9565b50613300929150613378565b5090565b82805461331090613a25565b90600052602060002090601f01602090048101928261333257600085556132f4565b82601f1061334b5782800160ff198235161785556132f4565b828001600101855582156132f4579182015b828111156132f457823582559160200191906001019061335d565b5b808211156133005760008155600101613379565b6001600160e01b031981168114611e7957600080fd5b6000602082840312156133b557600080fd5b81356111e98161338d565b6001600160a01b0381168114611e7957600080fd5b6000602082840312156133e757600080fd5b81356111e9816133c0565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115613422576134226133f2565b604051601f8501601f19908116603f0116810190828211818310171561344a5761344a6133f2565b8160405280935085815286868601111561346357600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561349057600080fd5b823561349b816133c0565b915060208301356001600160401b038111156134b657600080fd5b8301601f810185136134c757600080fd5b6134d685823560208401613408565b9150509250929050565b60005b838110156134fb5781810151838201526020016134e3565b8381111561184b5750506000910152565b600081518084526135248160208601602086016134e0565b601f01601f19169290920160200192915050565b6020815260006111e9602083018461350c565b60006020828403121561355d57600080fd5b5035919050565b6000806040838503121561357757600080fd5b8235613582816133c0565b946020939093013593505050565b6000806000606084860312156135a557600080fd5b83356135b0816133c0565b925060208401356135c0816133c0565b929592945050506040919091013590565b600060e082840312156135e357600080fd5b50919050565b6020808252825182820181905260009190848201906040850190845b8181101561362157835183529284019291840191600101613605565b50909695505050505050565b8015158114611e7957600080fd5b6000806040838503121561364e57600080fd5b8235613659816133c0565b915060208301356136698161362d565b809150509250929050565b60008083601f84011261368657600080fd5b5081356001600160401b0381111561369d57600080fd5b6020830191508360208260051b8501011115612f9d57600080fd5b6000806000604084860312156136cd57600080fd5b83356136d8816133c0565b925060208401356001600160401b038111156136f357600080fd5b6136ff86828701613674565b9497909650939450505050565b803560ff81168114610b3a57600080fd5b60006020828403121561372f57600080fd5b6111e98261370c565b6000806000806040858703121561374e57600080fd5b84356001600160401b038082111561376557600080fd5b61377188838901613674565b9096509450602087013591508082111561378a57600080fd5b5061379787828801613674565b95989497509550505050565b60008083601f8401126137b557600080fd5b5081356001600160401b038111156137cc57600080fd5b602083019150836020828501011115612f9d57600080fd5b600080600080600080608087890312156137fd57600080fd5b8635613808816133c0565b95506020870135613818816133c0565b945060408701356001600160401b038082111561383457600080fd5b6138408a838b01613674565b9096509450606089013591508082111561385957600080fd5b5061386689828a016137a3565b979a9699509497509295939492505050565b6000806000806080858703121561388e57600080fd5b8435613899816133c0565b935060208501356138a9816133c0565b92506040850135915060608501356001600160401b038111156138cb57600080fd5b8501601f810187136138dc57600080fd5b6138eb87823560208401613408565b91505092959194509250565b6000806000806040858703121561390d57600080fd5b84356001600160401b038082111561392457600080fd5b613930888389016137a3565b9096509450602087013591508082111561394957600080fd5b50613797878288016137a3565b60008060006060848603121561396b57600080fd5b8335925060208401356135c0816133c0565b6000806040838503121561399057600080fd5b823561399b816133c0565b91506020830135613669816133c0565b6000806000604084860312156139c057600080fd5b6139c98461370c565b925060208401356001600160401b038111156139e457600080fd5b6136ff868287016137a3565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680613a3957607f821691505b6020821081036135e357634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115613a8257613a82613a59565b500190565b6000816000190483118215151615613aa157613aa1613a59565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613acb57613acb613aa6565b500490565b600082821015613ae257613ae2613a59565b500390565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b61ffff81168114611e7957600080fd5b600081356109f381613b5a565b600081356109f38161362d565b81356001600160401b038116808214613b9c57600080fd5b825467ffffffffffffffff1981168217845591506020840135613bbe81613b5a565b69ffffffffffffffffffff199290921617604091821b69ffff000000000000000016178255820135613bef81613b5a565b815461ffff60501b1916605082901b61ffff60501b1617825550613c38613c1860608401613b6a565b82805461ffff60601b191660609290921b61ffff60601b16919091179055565b613c65613c4760808401613b77565b82805460ff60701b191691151560701b60ff60701b16919091179055565b613c92613c7460a08401613b77565b82805460ff60781b191691151560781b60ff60781b16919091179055565b610d06613ca160c08401613b77565b82805460ff60801b191691151560801b60ff60801b16919091179055565b634e487b7160e01b600052603260045260246000fd5b600060018201613ce757613ce7613a59565b5060010190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b600061ffff808316818516808303821115613d4f57613d4f613a59565b01949350505050565b60006001600160401b0380831681851681830481118215151615613d7e57613d7e613a59565b02949350505050565b600060208284031215613d9957600080fd5b5051919050565b600060208284031215613db257600080fd5b81356111e981613b5a565b8054600090600181811c9080831680613dd757607f831692505b60208084108203613df857634e487b7160e01b600052602260045260246000fd5b818015613e0c5760018114613e1d57613e4a565b60ff19861689528489019650613e4a565b60008881526020902060005b86811015613e425781548b820152908501908301613e29565b505084890196505b50505050505092915050565b6000613e628286613dbd565b8451613e728183602089016134e0565b613e7e81830186613dbd565b979650505050505050565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600082613eeb57613eeb613aa6565b500690565b600061ffff821680613f0457613f04613a59565b6000190192915050565b600061ffff808316818103613f2557613f25613a59565b6001019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613f629083018461350c565b9695505050505050565b600060208284031215613f7e57600080fd5b81516111e98161338d565b60006bffffffffffffffffffffffff19808760601b168352808660601b166014840152508351613fc08160288501602088016134e0565b613e7e60288285010185613dbd565b634e487b7160e01b600052602160045260246000fdfea26469706673582212207d546a09978de7051476113c365c95833dc6bf2b268b582af7de51d0dffdb6c364736f6c634300080d0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.