ERC-721
Overview
Max Total Supply
400 MATE
Holders
394
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MATELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TaikaFWB
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// _______________________________________________ // /\ \ // (O)===)><><><><><><><><><><><><><><><><><><><><><><><)=(O) // \/'''''''''''''''''''''''''''''''''''''''''''''''/ // ( ,-,-. ,-,-. ,-,-. ,-,-. ,-,-. ( // ) / (_o \ /.( +.\ / (_o \ /.( +.\ / (_o \ ) // ( \ o ) / \ {. */ \ o ) / \ {. */ \ o ) / ( // ) `-'-' `-`-' `-'-' `-`-' `-'-' ) // ( _.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._. ( // ) _.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._. ) // ( _.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._. ( // ) /) (\ ) // ( ,-\/) (\/-, ( // ) ----- ----- ) // ( (o °) (° o) ( // ) _.-=-._.-=-. m / V \ == / V \ m.-=-._.-=-._. ) // ( ( ) ( ) ( // ) -m-m- _-m-m- _ _ ) // ( ____ _ _ ____ __| |_ __ _<_> | ____ _ ( // ) | ' ) ' )| ) |__ _/ _` | | |/ / _` | ) // ( |--- / / / |---< × | || ( | | | < (_| | ( // ) | (_(_/ |____) |_| \__,_|_|_|\_\__,_| ) // ( ( // ) _.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._. ) // ( _.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._. ( // ) ,-,-. ,-,-. ,-,-. ,-,-. ,-,-. ) // ( / (_o \ /.( +.\ / (_o \ /.( +.\ / (_o \ ( // ) \ o ) / \ {. */ \ o ) / \ {. */ \ o ) / ) // ( `-'-' `-`-' `-'-' `-`-' `-'-' ( // /\'''''''''''''''''''''''''''''''''''''''''''''''\ // (O)===)><><><><><><><><><><><><><><><><><><><><><><><)=(O) // SPDX-License-Identifier: GPL 3.0 pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; error SaleIsLocked(); error SaleIsNotOpenToThisState(); error RaffleMintLimitReached(); error AllowlistMintLimitReached(); error AllTokensSold(); error AddressExceedsMintLimitPerAddress(); error TransactionValueMoreThanSetPrice(); error TransactionValueLessThanSetPrice(); error FWBBalanceOfFailed(); error NewAllocationSameAsBefore(); error NewTotalSupplyLessThanCurrentNumberOfMintedTokens(); error UnableToChangeAllocationStateIsCompleted(); error WithdrawalFailed(); error RequiresValidSignature(); contract TaikaFWB is ERC721Royalty, Ownable, ReentrancyGuard { using ECDSA for bytes32; enum SaleState { LOCKED, RAFFLE, ALLOWLIST, PUBLIC } SaleState public saleState = SaleState.LOCKED; uint256 public numberOfMintedTokens; uint256 public mintLimitPerAddress = 1; uint256 public mintAllocationRaffle = 100; uint256 public mintAllocationAllowlist = 250; uint256 public mintAllocationPublic = 50; mapping(SaleState => uint256) public cumulativeAllocationMap; mapping(address => uint256) public mintsPerAddress; uint256 public mintPriceRaffle = 0.0 ether; uint256 public mintPriceAllowlist = 0.08 ether; uint256 public mintPricePublic = 0.08 ether; uint256 public minimumFWBRequired = 5; address public authorizerSigner = 0x1c22eB3c39D631bDB4d6ec6F1390003E57dE093D; address public fwbContract = 0x35bD01FC9d6D5D81CA9E055Db88Dc49aa2c699A8; address public splitAddress; uint96 public royaltyFraction = 500; string public tokenBaseURI; string public tokenURISuffix = ''; event Mint(address indexed buyer, uint256 price, uint256 indexed tokenId); constructor( string memory name, string memory symbol, string memory _tokenBaseURI, address _splitAddress ) ERC721(name, symbol) { tokenBaseURI = _tokenBaseURI; splitAddress = _splitAddress; updateCumulativeAllocationMap(); _setDefaultRoyalty(splitAddress, royaltyFraction); } // ███████████████████████████████████████ // // MODIFIERS // - STATE VAR VALIDATION // - SALE VALIDATION // // ███████████████████████████████████████ modifier isAllocationSafe(uint256 newLimit, uint256 oldLimit) { _; // Do the updates first and then check if (cumulativeAllocationMap[SaleState.PUBLIC] < numberOfMintedTokens) { revert NewTotalSupplyLessThanCurrentNumberOfMintedTokens(); } if (newLimit == oldLimit) { revert NewAllocationSameAsBefore(); } } modifier isSaleValid(SaleState targetState, address receiver) { if (msg.sender != owner() && saleState == SaleState.LOCKED) { revert SaleIsLocked(); } if (msg.sender != owner() && saleState != targetState) { revert SaleIsNotOpenToThisState(); } if (numberOfMintedTokens >= cumulativeAllocationMap[targetState]) { if (targetState == SaleState.RAFFLE) { revert RaffleMintLimitReached(); } if (targetState == SaleState.ALLOWLIST) { revert AllowlistMintLimitReached(); } if (targetState == SaleState.PUBLIC) { revert AllTokensSold(); } } if ( msg.sender != owner() && mintsPerAddress[receiver] >= mintLimitPerAddress ) { revert AddressExceedsMintLimitPerAddress(); } _; } modifier isValueValid(uint256 targetPrice) { if (msg.sender != owner() && msg.value < targetPrice) { revert TransactionValueLessThanSetPrice(); } if (msg.sender != owner() && msg.value > targetPrice) { revert TransactionValueMoreThanSetPrice(); } _; } // ███████████████████████████████████████ // // PRIVATES / INTERNALS / OVERRIDES // // ███████████████████████████████████████ function updateCumulativeAllocationMap() private { cumulativeAllocationMap[SaleState.RAFFLE] = mintAllocationRaffle; cumulativeAllocationMap[SaleState.ALLOWLIST] = mintAllocationRaffle + mintAllocationAllowlist; cumulativeAllocationMap[SaleState.PUBLIC] = mintAllocationRaffle + mintAllocationAllowlist + mintAllocationPublic; } function _baseURI() internal view override returns (string memory) { return tokenBaseURI; } function _mintPiece(address toAddress) private { emit Mint(msg.sender, msg.value, numberOfMintedTokens); _safeMint(toAddress, numberOfMintedTokens); } // ███████████████████████████████████████ // // ONLYOWNER METHODS // - SETTERS FOR STATE VARS // - SETTERS FOR ROYALTY // - SETTERS FOR EXTERNAL ADDS // - BALANCE COLLECTION // - ADDRESS AIRDROP // // ███████████████████████████████████████ function lockSale() public onlyOwner { saleState = SaleState.LOCKED; } function unlockSaleToRaffle() public onlyOwner { saleState = SaleState.RAFFLE; } function unlockSaleToAllowlist() public onlyOwner { saleState = SaleState.ALLOWLIST; } function unlockSaleToPublic() public onlyOwner { saleState = SaleState.PUBLIC; } function setMintLimitPerAddress(uint256 newLimit) public onlyOwner { mintLimitPerAddress = newLimit; } function setMintAllocationRaffle(uint256 newRaffleAllocation) public onlyOwner isAllocationSafe(newRaffleAllocation, mintAllocationRaffle) { // Can change allocation when contract is // saleSate = [LOCKED, FWB] if (saleState == SaleState.ALLOWLIST || saleState == SaleState.PUBLIC) { revert UnableToChangeAllocationStateIsCompleted(); } mintAllocationRaffle = newRaffleAllocation; updateCumulativeAllocationMap(); } function setMintAllocationAllowlist(uint256 newAllowlistAllocation) public onlyOwner isAllocationSafe(newAllowlistAllocation, mintAllocationAllowlist) { // Can change allocation when contract is // saleSate = [LOCKED, FWB, ALLOWLIST] if (saleState == SaleState.PUBLIC) { revert UnableToChangeAllocationStateIsCompleted(); } mintAllocationAllowlist = newAllowlistAllocation; updateCumulativeAllocationMap(); } function setMintAllocationPublic(uint256 newPublicAllocation) public onlyOwner isAllocationSafe(newPublicAllocation, mintAllocationPublic) { mintAllocationPublic = newPublicAllocation; updateCumulativeAllocationMap(); } /** * @notice Set mint price for FWB holders * @param newPrice new price */ function setMintPriceRaffle(uint256 newPrice) public onlyOwner { mintPriceRaffle = newPrice; } /** * @notice Set mint price for allowlist addresses * @param newPrice new price */ function setMintPriceAllowlist(uint256 newPrice) public onlyOwner { mintPriceAllowlist = newPrice; } /** * @notice Set mint price for the public * @param newPrice new price */ function setMintPricePublic(uint256 newPrice) public onlyOwner { mintPricePublic = newPrice; } /** * @notice Set new minimum FWB ERC20 tokens required to mint * @dev Minimum is set as integer, not WEI * @param newMin new minimum as integer */ function setMinimumFWBRequired(uint256 newMin) public onlyOwner { minimumFWBRequired = newMin; } /** * @notice Set the public address of allowlist authorizer * authorizer is responsible for signing the msg.sender * with their private key. * @param newSignerAddress new signer address */ function setAuthorizerSigner(address newSignerAddress) public onlyOwner { authorizerSigner = newSignerAddress; } /** * @notice Set the contract address to check for FWB ERC20 tokens * @param newContractAddress new contract address */ function setFWBContract(address newContractAddress) public onlyOwner { fwbContract = newContractAddress; } /** * @notice Set the 0xSplit address * @dev IMPORTANT: If you use this function you need to * call setDefaultRoyalty to update the royalty recipient. * @param newSplitAddress new 0xSplit address */ function setSplitAddress(address newSplitAddress) public onlyOwner { splitAddress = newSplitAddress; } /** * @notice Set the default royalty in basis points * @dev Value in basis points e.g. 5% => 500 * @param recipient new royalty recipient * @param fraction new royalty fraction in basis points */ function setDefaultRoyalty(address recipient, uint96 fraction) public onlyOwner { royaltyFraction = fraction; _setDefaultRoyalty(recipient, fraction); } /** * @notice Set the royalty of a specific token * @dev Value in basis points e.g. 5% => 500 * @param tokenId tokenID of interest * @param recipient new royalty recipient * @param fraction new royalty fraction in basis points */ function setTokenRoyalty( uint256 tokenId, address recipient, uint96 fraction ) public onlyOwner { _setTokenRoyalty(tokenId, recipient, fraction); } function deleteDefaultRoyalty() public onlyOwner { royaltyFraction = 0; _deleteDefaultRoyalty(); } function setTokenBaseURI(string memory newBaseURI) public onlyOwner { tokenBaseURI = newBaseURI; } function setTokenURISuffix(string memory newTokenURISuffix) public onlyOwner { tokenURISuffix = newTokenURISuffix; } function collect() public onlyOwner { (bool res, ) = payable(splitAddress).call{value: address(this).balance}(''); if (res == false) { revert WithdrawalFailed(); } } /** * @notice Gifts the receiver a token * @param receiver address of the receiving party */ function gift(address receiver) public onlyOwner isSaleValid(SaleState.PUBLIC, receiver) { mintsPerAddress[receiver] += 1; numberOfMintedTokens += 1; _mintPiece(receiver); } // ███████████████████████████████████████ // // PUBLICS / GETTERS // // ███████████████████████████████████████ function tokenURI(uint256 tokenId) public view override returns (string memory) { string memory tokenURIBasename = super.tokenURI(tokenId); return bytes(tokenURIBasename).length > 0 ? string(abi.encodePacked(tokenURIBasename, tokenURISuffix)) : ''; } function tokensLeft() public view returns (uint256) { return cumulativeAllocationMap[SaleState.PUBLIC] - numberOfMintedTokens; } function totalSupply() public view returns (uint256) { return cumulativeAllocationMap[SaleState.PUBLIC]; } function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } function fwbBalanceOfAddress(address account) public view returns (uint256) { (bool success, bytes memory res) = fwbContract.staticcall( abi.encodeWithSignature('balanceOf(address)', account) ); if (success == false) { revert FWBBalanceOfFailed(); } return abi.decode(res, (uint256)); } // ███████████████████████████████████████ // // ECDSA / CRYPTOGRAPHY // // ███████████████████████████████████████ function senderHash() public view returns (bytes32) { bytes32 hash = keccak256(abi.encodePacked(msg.sender)); return hash; } function getSigner(bytes memory signature) public view returns (address) { return senderHash().toEthSignedMessageHash().recover(signature); } // ███████████████████████████████████████ // // MINTING FUNCTIONS // // ███████████████████████████████████████ function mintRaffle(bytes memory signature) public payable isSaleValid(SaleState.RAFFLE, msg.sender) isValueValid(mintPriceRaffle) { if (getSigner(signature) != authorizerSigner) { revert RequiresValidSignature(); } mintsPerAddress[msg.sender] += 1; numberOfMintedTokens += 1; _mintPiece(msg.sender); } function mintAllowlist(bytes memory signature) public payable isSaleValid(SaleState.ALLOWLIST, msg.sender) isValueValid(mintPriceAllowlist) { if (fwbBalanceOfAddress(msg.sender) < minimumFWBRequired * (1 ether)) { if (getSigner(signature) != authorizerSigner) { revert RequiresValidSignature(); } } mintsPerAddress[msg.sender] += 1; numberOfMintedTokens += 1; _mintPiece(msg.sender); } function mintPublic(bytes memory signature) public payable isSaleValid(SaleState.PUBLIC, msg.sender) isValueValid(mintPricePublic) { if (getSigner(signature) != authorizerSigner) { revert RequiresValidSignature(); } mintsPerAddress[msg.sender] += 1; numberOfMintedTokens += 1; _mintPiece(msg.sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../common/ERC2981.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } }
// 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); } }
// 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 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 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("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// 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) (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 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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/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 (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./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 payed 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 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_tokenBaseURI","type":"string"},{"internalType":"address","name":"_splitAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddressExceedsMintLimitPerAddress","type":"error"},{"inputs":[],"name":"AllTokensSold","type":"error"},{"inputs":[],"name":"AllowlistMintLimitReached","type":"error"},{"inputs":[],"name":"FWBBalanceOfFailed","type":"error"},{"inputs":[],"name":"NewAllocationSameAsBefore","type":"error"},{"inputs":[],"name":"NewTotalSupplyLessThanCurrentNumberOfMintedTokens","type":"error"},{"inputs":[],"name":"RaffleMintLimitReached","type":"error"},{"inputs":[],"name":"RequiresValidSignature","type":"error"},{"inputs":[],"name":"SaleIsLocked","type":"error"},{"inputs":[],"name":"SaleIsNotOpenToThisState","type":"error"},{"inputs":[],"name":"TransactionValueLessThanSetPrice","type":"error"},{"inputs":[],"name":"TransactionValueMoreThanSetPrice","type":"error"},{"inputs":[],"name":"UnableToChangeAllocationStateIsCompleted","type":"error"},{"inputs":[],"name":"WithdrawalFailed","type":"error"},{"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":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"authorizerSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum TaikaFWB.SaleState","name":"","type":"uint8"}],"name":"cumulativeAllocationMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"fwbBalanceOfAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fwbContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"getSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minimumFWBRequired","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAllocationAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAllocationPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAllocationRaffle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimitPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceRaffle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintRaffle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfMintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyFraction","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[],"name":"saleState","outputs":[{"internalType":"enum TaikaFWB.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"senderHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSignerAddress","type":"address"}],"name":"setAuthorizerSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"fraction","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newContractAddress","type":"address"}],"name":"setFWBContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMin","type":"uint256"}],"name":"setMinimumFWBRequired","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAllowlistAllocation","type":"uint256"}],"name":"setMintAllocationAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPublicAllocation","type":"uint256"}],"name":"setMintAllocationPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRaffleAllocation","type":"uint256"}],"name":"setMintAllocationRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMintLimitPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPriceAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPriceRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSplitAddress","type":"address"}],"name":"setSplitAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"fraction","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newTokenURISuffix","type":"string"}],"name":"setTokenURISuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"splitAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"tokenURISuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensLeft","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":"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":[],"name":"unlockSaleToAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockSaleToPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockSaleToRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600a805460ff191690556001600c556064600d5560fa600e556032600f556000601281905567011c37937e08000060138190556014556005601555601680546001600160a01b0319908116731c22eb3c39d631bdb4d6ec6f1390003e57de093d17909155601780549091167335bd01fc9d6d5d81ca9e055db88dc49aa2c699a817905560188054607d60a21b6001600160a01b0390911617905560a060408190526080829052620000b491601a9190620003b9565b50348015620000c257600080fd5b50604051620044c5380380620044c5833981016040819052620000e59162000512565b835184908490620000fe906002906020850190620003b9565b50805162000114906003906020840190620003b9565b505050620001316200012b620001a460201b60201c565b620001a8565b600160095581516200014b906019906020850190620003b9565b50601880546001600160a01b0319166001600160a01b03831617905562000171620001fa565b6018546200019a906001600160a01b03811690600160a01b90046001600160601b0316620002b4565b5050505062000638565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d54600160005260106020527f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f819055600e546200023991620005c0565b600260005260106020527f853b2fefe141400fef543280f93d98bd49996069f632d0d20236afeeed8e46a255600f54600e54600d546200027a9190620005c0565b620002869190620005c0565b600360005260106020527fb3edd0d534d647cffdae9f1294f11ad21f3fcf2814bea44c92bbb8d384a57d9e55565b6127106001600160601b0382161115620003285760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003805760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200031f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b828054620003c790620005e5565b90600052602060002090601f016020900481019282620003eb576000855562000436565b82601f106200040657805160ff191683800117855562000436565b8280016001018555821562000436579182015b828111156200043657825182559160200191906001019062000419565b506200044492915062000448565b5090565b5b8082111562000444576000815560010162000449565b600082601f83011262000470578081fd5b81516001600160401b03808211156200048d576200048d62000622565b604051601f8301601f19908116603f01168101908282118183101715620004b857620004b862000622565b81604052838152602092508683858801011115620004d4578485fd5b8491505b83821015620004f75785820183015181830184015290820190620004d8565b838211156200050857848385830101525b9695505050505050565b6000806000806080858703121562000528578384fd5b84516001600160401b03808211156200053f578586fd5b6200054d888389016200045f565b9550602087015191508082111562000563578485fd5b62000571888389016200045f565b9450604087015191508082111562000587578384fd5b5062000596878288016200045f565b606087015190935090506001600160a01b0381168114620005b5578182fd5b939692955090935050565b60008219821115620005e057634e487b7160e01b81526011600452602481fd5b500190565b600181811c90821680620005fa57607f821691505b602082108114156200061c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613e7d80620006486000396000f3fe6080604052600436106103d95760003560e01c806370a08231116101fd578063b31f8f9311610118578063d825c053116100ab578063e52253811161007a578063e522538114610b0d578063e6adabfd14610b22578063e7dee99f14610b42578063e985e9c514610b81578063f2fde38b14610bca57600080fd5b8063d825c05314610aa3578063db3f2dea14610ab8578063dbbc853b14610ad8578063df32b39914610aed57600080fd5b8063c1e25654116100e7578063c1e2565414610a2d578063c87b56dd14610a4d578063cbfc4bce14610a6d578063d5e8aeec14610a8d57600080fd5b8063b31f8f93146109c2578063b88d4fde146109d7578063bf17cd45146109f7578063c132bbd814610a0d57600080fd5b806395d89b4111610190578063a22cb4651161015f578063a22cb46514610958578063a9852bfb14610978578063aa1b103f14610998578063aaad0cd9146109ad57600080fd5b806395d89b41146108ed57806399b17361146109025780639ce7a70014610922578063a0de59ca1461093857600080fd5b8063856e0504116101cc578063856e0504146108795780638da5cb5b146108995780638ef79e91146108b75780638f9029ed146108d757600080fd5b806370a0823114610811578063715018a6146108315780637973683b146108465780637d2d36bf1461085957600080fd5b806329500df1116102f85780634f558e791161028b5780635a202dee1161025a5780635a202dee1461078b5780635feb61011461079e578063603f4d52146107b45780636352211e146107db5780636b2d177c146107fb57600080fd5b80634f558e791461072257806351a555411461074257806357b829ad146107555780635944c7531461076b57600080fd5b806342842e0e116102c757806342842e0e146106ad578063446ff4be146106cd5780634754a05b146106ed5780634e99b8001461070d57600080fd5b806329500df1146106015780632a55205a146106215780633023eba6146106605780634108e3dc1461068d57600080fd5b806318160ddd11610370578063231576f61161033f578063231576f61461057e57806323b872dd1461059e57806324703dc6146105be57806324fde70b146105eb57600080fd5b806318160ddd146105075780631c18a062146105335780631ec6fa1214610549578063223639d31461056957600080fd5b8063081812fc116103ac578063081812fc1461046c578063095ea7b3146104a45780630ccdde36146104c45780630e6c5b91146104f257600080fd5b806301ffc9a7146103de57806304634d8d1461041357806306fdde031461043557806307c60dac14610457575b600080fd5b3480156103ea57600080fd5b506103fe6103f93660046138bb565b610bea565b60405190151581526020015b60405180910390f35b34801561041f57600080fd5b5061043361042e366004613892565b610bfb565b005b34801561044157600080fd5b5061044a610c5c565b60405161040a9190613ba2565b34801561046357600080fd5b50610433610cee565b34801561047857600080fd5b5061048c61048736600461398b565b610d2f565b6040516001600160a01b03909116815260200161040a565b3480156104b057600080fd5b506104336104bf366004613869565b610dc4565b3480156104d057600080fd5b506104e46104df366004613742565b610eda565b60405190815260200161040a565b3480156104fe57600080fd5b50610433610fb3565b34801561051357600080fd5b5060036000526010602052600080516020613e28833981519152546104e4565b34801561053f57600080fd5b506104e460145481565b34801561055557600080fd5b5061043361056436600461398b565b610ff1565b34801561057557600080fd5b50610433611020565b34801561058a57600080fd5b5061043361059936600461398b565b61105e565b3480156105aa57600080fd5b506104336105b936600461378e565b61116c565b3480156105ca57600080fd5b506104e46105d9366004613926565b60106020526000908152604090205481565b3480156105f757600080fd5b506104e460125481565b34801561060d57600080fd5b5061043361061c36600461398b565b61119d565b34801561062d57600080fd5b5061064161063c3660046139f6565b6111da565b604080516001600160a01b03909316835260208301919091520161040a565b34801561066c57600080fd5b506104e461067b366004613742565b60116020526000908152604090205481565b34801561069957600080fd5b5060185461048c906001600160a01b031681565b3480156106b957600080fd5b506104336106c836600461378e565b611288565b3480156106d957600080fd5b506104336106e836600461398b565b6112a3565b3480156106f957600080fd5b50610433610708366004613742565b6112d2565b34801561071957600080fd5b5061044a61131e565b34801561072e57600080fd5b506103fe61073d36600461398b565b6113ac565b6104336107503660046138f3565b6113cb565b34801561076157600080fd5b506104e4600e5481565b34801561077757600080fd5b506104336107863660046139bb565b611751565b6104336107993660046138f3565b611786565b3480156107aa57600080fd5b506104e460155481565b3480156107c057600080fd5b50600a546107ce9060ff1681565b60405161040a9190613b7a565b3480156107e757600080fd5b5061048c6107f636600461398b565b611a85565b34801561080757600080fd5b506104e4600b5481565b34801561081d57600080fd5b506104e461082c366004613742565b611afc565b34801561083d57600080fd5b50610433611b83565b6104336108543660046138f3565b611bb9565b34801561086557600080fd5b5061043361087436600461398b565b611e31565b34801561088557600080fd5b50610433610894366004613742565b611eb3565b3480156108a557600080fd5b506008546001600160a01b031661048c565b3480156108c357600080fd5b506104336108d2366004613945565b611eff565b3480156108e357600080fd5b506104e4600d5481565b3480156108f957600080fd5b5061044a611f3c565b34801561090e57600080fd5b5061043361091d36600461398b565b611f4b565b34801561092e57600080fd5b506104e4600c5481565b34801561094457600080fd5b5061043361095336600461398b565b611f7a565b34801561096457600080fd5b5061043361097336600461382f565b611fa9565b34801561098457600080fd5b50610433610993366004613945565b611fb4565b3480156109a457600080fd5b50610433611ff1565b3480156109b957600080fd5b506104e4612033565b3480156109ce57600080fd5b506104e461206d565b3480156109e357600080fd5b506104336109f23660046137c9565b61209c565b348015610a0357600080fd5b506104e460135481565b348015610a1957600080fd5b50610433610a28366004613742565b6120ce565b348015610a3957600080fd5b50610433610a4836600461398b565b61211a565b348015610a5957600080fd5b5061044a610a6836600461398b565b612149565b348015610a7957600080fd5b50610433610a88366004613742565b6121a1565b348015610a9957600080fd5b506104e4600f5481565b348015610aaf57600080fd5b50610433612481565b348015610ac457600080fd5b5060175461048c906001600160a01b031681565b348015610ae457600080fd5b5061044a6124be565b348015610af957600080fd5b5060165461048c906001600160a01b031681565b348015610b1957600080fd5b506104336124cb565b348015610b2e57600080fd5b5061048c610b3d3660046138f3565b61256d565b348015610b4e57600080fd5b50601854610b6990600160a01b90046001600160601b031681565b6040516001600160601b03909116815260200161040a565b348015610b8d57600080fd5b506103fe610b9c36600461375c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610bd657600080fd5b50610433610be5366004613742565b6125d7565b6000610bf58261266f565b92915050565b6008546001600160a01b03163314610c2e5760405162461bcd60e51b8152600401610c2590613c07565b60405180910390fd5b601880546001600160a01b0316600160a01b6001600160601b03841602179055610c5882826126af565b5050565b606060028054610c6b90613d65565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9790613d65565b8015610ce45780601f10610cb957610100808354040283529160200191610ce4565b820191906000526020600020905b815481529060010190602001808311610cc757829003601f168201915b5050505050905090565b6008546001600160a01b03163314610d185760405162461bcd60e51b8152600401610c2590613c07565b600a80546000919060ff19166001835b0217905550565b6000818152600460205260408120546001600160a01b0316610da85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c25565b506000908152600660205260409020546001600160a01b031690565b6000610dcf82611a85565b9050806001600160a01b0316836001600160a01b03161415610e3d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c25565b336001600160a01b0382161480610e595750610e598133610b9c565b610ecb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c25565b610ed58383612769565b505050565b6017546040516001600160a01b038381166024830152600092839283929091169060440160408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b17905251610f339190613a43565b600060405180830381855afa9150503d8060008114610f6e576040519150601f19603f3d011682016040523d82523d6000602084013e610f73565b606091505b50909250905081610f9757604051631614d17160e31b815260040160405180910390fd5b80806020019051810190610fab91906139a3565b949350505050565b6008546001600160a01b03163314610fdd5760405162461bcd60e51b8152600401610c2590613c07565b600a80546003919060ff1916600183610d28565b6008546001600160a01b0316331461101b5760405162461bcd60e51b8152600401610c2590613c07565b601355565b6008546001600160a01b0316331461104a5760405162461bcd60e51b8152600401610c2590613c07565b600a80546002919060ff1916600183610d28565b6008546001600160a01b031633146110885760405162461bcd60e51b8152600401610c2590613c07565b600d5481906002600a5460ff1660038111156110b457634e487b7160e01b600052602160045260246000fd5b14806110e457506003600a5460ff1660038111156110e257634e487b7160e01b600052602160045260246000fd5b145b156111025760405163d9caf7eb60e01b815260040160405180910390fd5b600d83905561110f6127d7565b600b5460036000526010602052600080516020613e2883398151915254101561114b5760405163b88ea3a560e01b815260040160405180910390fd5b80821415610ed55760405163f0c88a0960e01b815260040160405180910390fd5b6111763382612879565b6111925760405162461bcd60e51b8152600401610c2590613c3c565b610ed583838361296c565b6008546001600160a01b031633146111c75760405162461bcd60e51b8152600401610c2590613c07565b80600f5482600f8190555061110f6127d7565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161124f5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061126e906001600160601b031687613d03565b6112789190613cef565b91519350909150505b9250929050565b610ed58383836040518060200160405280600081525061209c565b6008546001600160a01b031633146112cd5760405162461bcd60e51b8152600401610c2590613c07565b601455565b6008546001600160a01b031633146112fc5760405162461bcd60e51b8152600401610c2590613c07565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6019805461132b90613d65565b80601f016020809104026020016040519081016040528092919081815260200182805461135790613d65565b80156113a45780601f10611379576101008083540402835291602001916113a4565b820191906000526020600020905b81548152906001019060200180831161138757829003601f168201915b505050505081565b6000818152600460205260408120546001600160a01b03161515610bf5565b6002336113e06008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161415801561142557506000600a5460ff16600381111561142357634e487b7160e01b600052602160045260246000fd5b145b15611443576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b031633148015906114a1575081600381111561147957634e487b7160e01b600052602160045260246000fd5b600a5460ff16600381111561149e57634e487b7160e01b600052602160045260246000fd5b14155b156114bf5760405163830b6f4360e01b815260040160405180910390fd5b601060008360038111156114e357634e487b7160e01b600052602160045260246000fd5b600381111561150257634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b54106115dc57600182600381111561153b57634e487b7160e01b600052602160045260246000fd5b141561155a576040516322a1620960e11b815260040160405180910390fd5b600282600381111561157c57634e487b7160e01b600052602160045260246000fd5b141561159b57604051635e00ae3b60e11b815260040160405180910390fd5b60038260038111156115bd57634e487b7160e01b600052602160045260246000fd5b14156115dc576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b031633148015906116115750600c546001600160a01b03821660009081526011602052604090205410155b1561162f57604051634b19f71760e11b815260040160405180910390fd5b6013546008546001600160a01b0316331480159061164c57508034105b1561166a57604051630745e1c560e21b815260040160405180910390fd5b6008546001600160a01b0316331480159061168457508034115b156116a25760405163700e445560e11b815260040160405180910390fd5b6015546116b790670de0b6b3a7640000613d03565b6116c033610eda565b1015611702576016546001600160a01b03166116db8561256d565b6001600160a01b031614611702576040516354a361b960e01b815260040160405180910390fd5b336000908152601160205260408120805460019290611722908490613cd7565b925050819055506001600b600082825461173c9190613cd7565b9091555061174b905033612b08565b50505050565b6008546001600160a01b0316331461177b5760405162461bcd60e51b8152600401610c2590613c07565b610ed5838383612b4c565b60033361179b6008546001600160a01b031690565b6001600160a01b0316336001600160a01b0316141580156117e057506000600a5460ff1660038111156117de57634e487b7160e01b600052602160045260246000fd5b145b156117fe576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b0316331480159061185c575081600381111561183457634e487b7160e01b600052602160045260246000fd5b600a5460ff16600381111561185957634e487b7160e01b600052602160045260246000fd5b14155b1561187a5760405163830b6f4360e01b815260040160405180910390fd5b6010600083600381111561189e57634e487b7160e01b600052602160045260246000fd5b60038111156118bd57634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b54106119975760018260038111156118f657634e487b7160e01b600052602160045260246000fd5b1415611915576040516322a1620960e11b815260040160405180910390fd5b600282600381111561193757634e487b7160e01b600052602160045260246000fd5b141561195657604051635e00ae3b60e11b815260040160405180910390fd5b600382600381111561197857634e487b7160e01b600052602160045260246000fd5b1415611997576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b031633148015906119cc5750600c546001600160a01b03821660009081526011602052604090205410155b156119ea57604051634b19f71760e11b815260040160405180910390fd5b6014546008546001600160a01b03165b6001600160a01b0316336001600160a01b031614158015611a1a57508034105b15611a3857604051630745e1c560e21b815260040160405180910390fd5b6008546001600160a01b03163314801590611a5257508034115b15611a705760405163700e445560e11b815260040160405180910390fd5b6016546001600160a01b03166116db8561256d565b6000818152600460205260408120546001600160a01b031680610bf55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c25565b60006001600160a01b038216611b675760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c25565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b03163314611bad5760405162461bcd60e51b8152600401610c2590613c07565b611bb76000612c17565b565b600133611bce6008546001600160a01b031690565b6001600160a01b0316336001600160a01b031614158015611c1357506000600a5460ff166003811115611c1157634e487b7160e01b600052602160045260246000fd5b145b15611c31576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b03163314801590611c8f5750816003811115611c6757634e487b7160e01b600052602160045260246000fd5b600a5460ff166003811115611c8c57634e487b7160e01b600052602160045260246000fd5b14155b15611cad5760405163830b6f4360e01b815260040160405180910390fd5b60106000836003811115611cd157634e487b7160e01b600052602160045260246000fd5b6003811115611cf057634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b5410611dca576001826003811115611d2957634e487b7160e01b600052602160045260246000fd5b1415611d48576040516322a1620960e11b815260040160405180910390fd5b6002826003811115611d6a57634e487b7160e01b600052602160045260246000fd5b1415611d8957604051635e00ae3b60e11b815260040160405180910390fd5b6003826003811115611dab57634e487b7160e01b600052602160045260246000fd5b1415611dca576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b03163314801590611dff5750600c546001600160a01b03821660009081526011602052604090205410155b15611e1d57604051634b19f71760e11b815260040160405180910390fd5b6012546008546001600160a01b03166119fa565b6008546001600160a01b03163314611e5b5760405162461bcd60e51b8152600401610c2590613c07565b600e5481906003600a5460ff166003811115611e8757634e487b7160e01b600052602160045260246000fd5b1415611ea65760405163d9caf7eb60e01b815260040160405180910390fd5b600e83905561110f6127d7565b6008546001600160a01b03163314611edd5760405162461bcd60e51b8152600401610c2590613c07565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314611f295760405162461bcd60e51b8152600401610c2590613c07565b8051610c589060199060208401906135e1565b606060038054610c6b90613d65565b6008546001600160a01b03163314611f755760405162461bcd60e51b8152600401610c2590613c07565b601555565b6008546001600160a01b03163314611fa45760405162461bcd60e51b8152600401610c2590613c07565b600c55565b610c58338383612c69565b6008546001600160a01b03163314611fde5760405162461bcd60e51b8152600401610c2590613c07565b8051610c5890601a9060208401906135e1565b6008546001600160a01b0316331461201b5760405162461bcd60e51b8152600401610c2590613c07565b601880546001600160a01b03169055611bb760008055565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012090565b600b54600360009081526010602052600080516020613e2883398151915254909161209791613d22565b905090565b6120a63383612879565b6120c25760405162461bcd60e51b8152600401610c2590613c3c565b61174b84848484612d38565b6008546001600160a01b031633146120f85760405162461bcd60e51b8152600401610c2590613c07565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146121445760405162461bcd60e51b8152600401610c2590613c07565b601255565b6060600061215683612d6b565b90506000815111612176576040518060200160405280600081525061219a565b80601a60405160200161218a929190613a8e565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146121cb5760405162461bcd60e51b8152600401610c2590613c07565b6003816121e06008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161415801561222557506000600a5460ff16600381111561222357634e487b7160e01b600052602160045260246000fd5b145b15612243576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b031633148015906122a1575081600381111561227957634e487b7160e01b600052602160045260246000fd5b600a5460ff16600381111561229e57634e487b7160e01b600052602160045260246000fd5b14155b156122bf5760405163830b6f4360e01b815260040160405180910390fd5b601060008360038111156122e357634e487b7160e01b600052602160045260246000fd5b600381111561230257634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b54106123dc57600182600381111561233b57634e487b7160e01b600052602160045260246000fd5b141561235a576040516322a1620960e11b815260040160405180910390fd5b600282600381111561237c57634e487b7160e01b600052602160045260246000fd5b141561239b57604051635e00ae3b60e11b815260040160405180910390fd5b60038260038111156123bd57634e487b7160e01b600052602160045260246000fd5b14156123dc576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b031633148015906124115750600c546001600160a01b03821660009081526011602052604090205410155b1561242f57604051634b19f71760e11b815260040160405180910390fd5b6001600160a01b0383166000908152601160205260408120805460019290612458908490613cd7565b925050819055506001600b60008282546124729190613cd7565b90915550610ed5905083612b08565b6008546001600160a01b031633146124ab5760405162461bcd60e51b8152600401610c2590613c07565b600a80546001919060ff19168280610d28565b601a805461132b90613d65565b6008546001600160a01b031633146124f55760405162461bcd60e51b8152600401610c2590613c07565b6018546040516000916001600160a01b03169047908381818185875af1925050503d8060008114612542576040519150601f19603f3d011682016040523d82523d6000602084013e612547565b606091505b50909150508061256a576040516327fcd9d160e01b815260040160405180910390fd5b50565b6000610bf5826125d161257e612033565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90612e2f565b6008546001600160a01b031633146126015760405162461bcd60e51b8152600401610c2590613c07565b6001600160a01b0381166126665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c25565b61256a81612c17565b60006001600160e01b031982166380ac58cd60e01b14806126a057506001600160e01b03198216635b5e139f60e01b145b80610bf55750610bf582612e53565b6127106001600160601b03821611156126da5760405162461bcd60e51b8152600401610c2590613c8d565b6001600160a01b0382166127305760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610c25565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061279e82611a85565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600d54600160005260106020527f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f819055600e5461281491613cd7565b600260005260106020527f853b2fefe141400fef543280f93d98bd49996069f632d0d20236afeeed8e46a255600f54600e54600d546128539190613cd7565b61285d9190613cd7565b60036000526010602052600080516020613e2883398151915255565b6000818152600460205260408120546001600160a01b03166128f25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c25565b60006128fd83611a85565b9050806001600160a01b0316846001600160a01b031614806129385750836001600160a01b031661292d84610d2f565b6001600160a01b0316145b80610fab57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16610fab565b826001600160a01b031661297f82611a85565b6001600160a01b0316146129e35760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610c25565b6001600160a01b038216612a455760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c25565b612a50600082612769565b6001600160a01b0383166000908152600560205260408120805460019290612a79908490613d22565b90915550506001600160a01b0382166000908152600560205260408120805460019290612aa7908490613cd7565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b5460405134815233907f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f9060200160405180910390a361256a81600b54612e88565b6127106001600160601b0382161115612b775760405162461bcd60e51b8152600401610c2590613c8d565b6001600160a01b038216612bcd5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610c25565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612ccb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c25565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612d4384848461296c565b612d4f84848484612ea2565b61174b5760405162461bcd60e51b8152600401610c2590613bb5565b6000818152600460205260409020546060906001600160a01b0316612dea5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c25565b6000612df4612faf565b90506000815111612e14576040518060200160405280600081525061219a565b80612e1e84612fbe565b60405160200161218a929190613a5f565b6000806000612e3e85856130d8565b91509150612e4b81613145565b509392505050565b60006001600160e01b0319821663152a902d60e11b1480610bf557506301ffc9a760e01b6001600160e01b0319831614610bf5565b610c58828260405180602001604052806000815250613346565b60006001600160a01b0384163b15612fa457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612ee6903390899088908890600401613b3d565b602060405180830381600087803b158015612f0057600080fd5b505af1925050508015612f30575060408051601f3d908101601f19168201909252612f2d918101906138d7565b60015b612f8a573d808015612f5e576040519150601f19603f3d011682016040523d82523d6000602084013e612f63565b606091505b508051612f825760405162461bcd60e51b8152600401610c2590613bb5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fab565b506001949350505050565b606060198054610c6b90613d65565b606081612fe25750506040805180820190915260018152600360fc1b602082015290565b8160005b811561300c5780612ff681613da0565b91506130059050600a83613cef565b9150612fe6565b60008167ffffffffffffffff81111561303557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561305f576020820181803683370190505b5090505b8415610fab57613074600183613d22565b9150613081600a86613dbb565b61308c906030613cd7565b60f81b8183815181106130af57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506130d1600a86613cef565b9450613063565b60008082516041141561310f5760208301516040840151606085015160001a61310387828585613379565b94509450505050611281565b825160401415613139576020830151604084015161312e868383613466565b935093505050611281565b50600090506002611281565b600081600481111561316757634e487b7160e01b600052602160045260246000fd5b14156131705750565b600181600481111561319257634e487b7160e01b600052602160045260246000fd5b14156131e05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c25565b600281600481111561320257634e487b7160e01b600052602160045260246000fd5b14156132505760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c25565b600381600481111561327257634e487b7160e01b600052602160045260246000fd5b14156132cb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c25565b60048160048111156132ed57634e487b7160e01b600052602160045260246000fd5b141561256a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c25565b613350838361349f565b61335d6000848484612ea2565b610ed55760405162461bcd60e51b8152600401610c2590613bb5565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156133b0575060009050600361345d565b8460ff16601b141580156133c857508460ff16601c14155b156133d9575060009050600461345d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561342d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166134565760006001925092505061345d565b9150600090505b94509492505050565b6000806001600160ff1b0383168161348360ff86901c601b613cd7565b905061349187828885613379565b935093505050935093915050565b6001600160a01b0382166134f55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c25565b6000818152600460205260409020546001600160a01b03161561355a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c25565b6001600160a01b0382166000908152600560205260408120805460019290613583908490613cd7565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546135ed90613d65565b90600052602060002090601f01602090048101928261360f5760008555613655565b82601f1061362857805160ff1916838001178555613655565b82800160010185558215613655579182015b8281111561365557825182559160200191906001019061363a565b50613661929150613665565b5090565b5b808211156136615760008155600101613666565b600067ffffffffffffffff8084111561369557613695613dfb565b604051601f8501601f19908116603f011681019082821181831017156136bd576136bd613dfb565b816040528093508581528686860111156136d657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461370757600080fd5b919050565b600082601f83011261371c578081fd5b61219a8383356020850161367a565b80356001600160601b038116811461370757600080fd5b600060208284031215613753578081fd5b61219a826136f0565b6000806040838503121561376e578081fd5b613777836136f0565b9150613785602084016136f0565b90509250929050565b6000806000606084860312156137a2578081fd5b6137ab846136f0565b92506137b9602085016136f0565b9150604084013590509250925092565b600080600080608085870312156137de578081fd5b6137e7856136f0565b93506137f5602086016136f0565b925060408501359150606085013567ffffffffffffffff811115613817578182fd5b6138238782880161370c565b91505092959194509250565b60008060408385031215613841578182fd5b61384a836136f0565b91506020830135801515811461385e578182fd5b809150509250929050565b6000806040838503121561387b578182fd5b613884836136f0565b946020939093013593505050565b600080604083850312156138a4578182fd5b6138ad836136f0565b91506137856020840161372b565b6000602082840312156138cc578081fd5b813561219a81613e11565b6000602082840312156138e8578081fd5b815161219a81613e11565b600060208284031215613904578081fd5b813567ffffffffffffffff81111561391a578182fd5b610fab8482850161370c565b600060208284031215613937578081fd5b81356004811061219a578182fd5b600060208284031215613956578081fd5b813567ffffffffffffffff81111561396c578182fd5b8201601f8101841361397c578182fd5b610fab8482356020840161367a565b60006020828403121561399c578081fd5b5035919050565b6000602082840312156139b4578081fd5b5051919050565b6000806000606084860312156139cf578081fd5b833592506139df602085016136f0565b91506139ed6040850161372b565b90509250925092565b60008060408385031215613a08578182fd5b50508035926020909101359150565b60008151808452613a2f816020860160208601613d39565b601f01601f19169290920160200192915050565b60008251613a55818460208701613d39565b9190910192915050565b60008351613a71818460208801613d39565b835190830190613a85818360208801613d39565b01949350505050565b600083516020613aa18285838901613d39565b8454918401918390600181811c9080831680613abe57607f831692505b858310811415613adc57634e487b7160e01b88526022600452602488fd5b808015613af05760018114613b0157613b2d565b60ff19851688528388019550613b2d565b60008b815260209020895b85811015613b255781548a820152908401908801613b0c565b505083880195505b50939a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b7090830184613a17565b9695505050505050565b6020810160048310613b9c57634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061219a6020830184613a17565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60008219821115613cea57613cea613dcf565b500190565b600082613cfe57613cfe613de5565b500490565b6000816000190483118215151615613d1d57613d1d613dcf565b500290565b600082821015613d3457613d34613dcf565b500390565b60005b83811015613d54578181015183820152602001613d3c565b8381111561174b5750506000910152565b600181811c90821680613d7957607f821691505b60208210811415613d9a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613db457613db4613dcf565b5060010190565b600082613dca57613dca613de5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461256a57600080fdfeb3edd0d534d647cffdae9f1294f11ad21f3fcf2814bea44c92bbb8d384a57d9ea2646970667358221220ecf261d74025f46736834e7ca4db7903a7f1634c712a0f50cba94db1cdf3bb7364736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000d0bdd3a8676bab89cafce1708e7dce8566cd13c700000000000000000000000000000000000000000000000000000000000000095461696b6120465742000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d41544500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a68747470733a2f2f6d6174652e7461696b612e636f2f6170692f000000000000
Deployed Bytecode
0x6080604052600436106103d95760003560e01c806370a08231116101fd578063b31f8f9311610118578063d825c053116100ab578063e52253811161007a578063e522538114610b0d578063e6adabfd14610b22578063e7dee99f14610b42578063e985e9c514610b81578063f2fde38b14610bca57600080fd5b8063d825c05314610aa3578063db3f2dea14610ab8578063dbbc853b14610ad8578063df32b39914610aed57600080fd5b8063c1e25654116100e7578063c1e2565414610a2d578063c87b56dd14610a4d578063cbfc4bce14610a6d578063d5e8aeec14610a8d57600080fd5b8063b31f8f93146109c2578063b88d4fde146109d7578063bf17cd45146109f7578063c132bbd814610a0d57600080fd5b806395d89b4111610190578063a22cb4651161015f578063a22cb46514610958578063a9852bfb14610978578063aa1b103f14610998578063aaad0cd9146109ad57600080fd5b806395d89b41146108ed57806399b17361146109025780639ce7a70014610922578063a0de59ca1461093857600080fd5b8063856e0504116101cc578063856e0504146108795780638da5cb5b146108995780638ef79e91146108b75780638f9029ed146108d757600080fd5b806370a0823114610811578063715018a6146108315780637973683b146108465780637d2d36bf1461085957600080fd5b806329500df1116102f85780634f558e791161028b5780635a202dee1161025a5780635a202dee1461078b5780635feb61011461079e578063603f4d52146107b45780636352211e146107db5780636b2d177c146107fb57600080fd5b80634f558e791461072257806351a555411461074257806357b829ad146107555780635944c7531461076b57600080fd5b806342842e0e116102c757806342842e0e146106ad578063446ff4be146106cd5780634754a05b146106ed5780634e99b8001461070d57600080fd5b806329500df1146106015780632a55205a146106215780633023eba6146106605780634108e3dc1461068d57600080fd5b806318160ddd11610370578063231576f61161033f578063231576f61461057e57806323b872dd1461059e57806324703dc6146105be57806324fde70b146105eb57600080fd5b806318160ddd146105075780631c18a062146105335780631ec6fa1214610549578063223639d31461056957600080fd5b8063081812fc116103ac578063081812fc1461046c578063095ea7b3146104a45780630ccdde36146104c45780630e6c5b91146104f257600080fd5b806301ffc9a7146103de57806304634d8d1461041357806306fdde031461043557806307c60dac14610457575b600080fd5b3480156103ea57600080fd5b506103fe6103f93660046138bb565b610bea565b60405190151581526020015b60405180910390f35b34801561041f57600080fd5b5061043361042e366004613892565b610bfb565b005b34801561044157600080fd5b5061044a610c5c565b60405161040a9190613ba2565b34801561046357600080fd5b50610433610cee565b34801561047857600080fd5b5061048c61048736600461398b565b610d2f565b6040516001600160a01b03909116815260200161040a565b3480156104b057600080fd5b506104336104bf366004613869565b610dc4565b3480156104d057600080fd5b506104e46104df366004613742565b610eda565b60405190815260200161040a565b3480156104fe57600080fd5b50610433610fb3565b34801561051357600080fd5b5060036000526010602052600080516020613e28833981519152546104e4565b34801561053f57600080fd5b506104e460145481565b34801561055557600080fd5b5061043361056436600461398b565b610ff1565b34801561057557600080fd5b50610433611020565b34801561058a57600080fd5b5061043361059936600461398b565b61105e565b3480156105aa57600080fd5b506104336105b936600461378e565b61116c565b3480156105ca57600080fd5b506104e46105d9366004613926565b60106020526000908152604090205481565b3480156105f757600080fd5b506104e460125481565b34801561060d57600080fd5b5061043361061c36600461398b565b61119d565b34801561062d57600080fd5b5061064161063c3660046139f6565b6111da565b604080516001600160a01b03909316835260208301919091520161040a565b34801561066c57600080fd5b506104e461067b366004613742565b60116020526000908152604090205481565b34801561069957600080fd5b5060185461048c906001600160a01b031681565b3480156106b957600080fd5b506104336106c836600461378e565b611288565b3480156106d957600080fd5b506104336106e836600461398b565b6112a3565b3480156106f957600080fd5b50610433610708366004613742565b6112d2565b34801561071957600080fd5b5061044a61131e565b34801561072e57600080fd5b506103fe61073d36600461398b565b6113ac565b6104336107503660046138f3565b6113cb565b34801561076157600080fd5b506104e4600e5481565b34801561077757600080fd5b506104336107863660046139bb565b611751565b6104336107993660046138f3565b611786565b3480156107aa57600080fd5b506104e460155481565b3480156107c057600080fd5b50600a546107ce9060ff1681565b60405161040a9190613b7a565b3480156107e757600080fd5b5061048c6107f636600461398b565b611a85565b34801561080757600080fd5b506104e4600b5481565b34801561081d57600080fd5b506104e461082c366004613742565b611afc565b34801561083d57600080fd5b50610433611b83565b6104336108543660046138f3565b611bb9565b34801561086557600080fd5b5061043361087436600461398b565b611e31565b34801561088557600080fd5b50610433610894366004613742565b611eb3565b3480156108a557600080fd5b506008546001600160a01b031661048c565b3480156108c357600080fd5b506104336108d2366004613945565b611eff565b3480156108e357600080fd5b506104e4600d5481565b3480156108f957600080fd5b5061044a611f3c565b34801561090e57600080fd5b5061043361091d36600461398b565b611f4b565b34801561092e57600080fd5b506104e4600c5481565b34801561094457600080fd5b5061043361095336600461398b565b611f7a565b34801561096457600080fd5b5061043361097336600461382f565b611fa9565b34801561098457600080fd5b50610433610993366004613945565b611fb4565b3480156109a457600080fd5b50610433611ff1565b3480156109b957600080fd5b506104e4612033565b3480156109ce57600080fd5b506104e461206d565b3480156109e357600080fd5b506104336109f23660046137c9565b61209c565b348015610a0357600080fd5b506104e460135481565b348015610a1957600080fd5b50610433610a28366004613742565b6120ce565b348015610a3957600080fd5b50610433610a4836600461398b565b61211a565b348015610a5957600080fd5b5061044a610a6836600461398b565b612149565b348015610a7957600080fd5b50610433610a88366004613742565b6121a1565b348015610a9957600080fd5b506104e4600f5481565b348015610aaf57600080fd5b50610433612481565b348015610ac457600080fd5b5060175461048c906001600160a01b031681565b348015610ae457600080fd5b5061044a6124be565b348015610af957600080fd5b5060165461048c906001600160a01b031681565b348015610b1957600080fd5b506104336124cb565b348015610b2e57600080fd5b5061048c610b3d3660046138f3565b61256d565b348015610b4e57600080fd5b50601854610b6990600160a01b90046001600160601b031681565b6040516001600160601b03909116815260200161040a565b348015610b8d57600080fd5b506103fe610b9c36600461375c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610bd657600080fd5b50610433610be5366004613742565b6125d7565b6000610bf58261266f565b92915050565b6008546001600160a01b03163314610c2e5760405162461bcd60e51b8152600401610c2590613c07565b60405180910390fd5b601880546001600160a01b0316600160a01b6001600160601b03841602179055610c5882826126af565b5050565b606060028054610c6b90613d65565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9790613d65565b8015610ce45780601f10610cb957610100808354040283529160200191610ce4565b820191906000526020600020905b815481529060010190602001808311610cc757829003601f168201915b5050505050905090565b6008546001600160a01b03163314610d185760405162461bcd60e51b8152600401610c2590613c07565b600a80546000919060ff19166001835b0217905550565b6000818152600460205260408120546001600160a01b0316610da85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c25565b506000908152600660205260409020546001600160a01b031690565b6000610dcf82611a85565b9050806001600160a01b0316836001600160a01b03161415610e3d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c25565b336001600160a01b0382161480610e595750610e598133610b9c565b610ecb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c25565b610ed58383612769565b505050565b6017546040516001600160a01b038381166024830152600092839283929091169060440160408051601f198184030181529181526020820180516001600160e01b03166370a0823160e01b17905251610f339190613a43565b600060405180830381855afa9150503d8060008114610f6e576040519150601f19603f3d011682016040523d82523d6000602084013e610f73565b606091505b50909250905081610f9757604051631614d17160e31b815260040160405180910390fd5b80806020019051810190610fab91906139a3565b949350505050565b6008546001600160a01b03163314610fdd5760405162461bcd60e51b8152600401610c2590613c07565b600a80546003919060ff1916600183610d28565b6008546001600160a01b0316331461101b5760405162461bcd60e51b8152600401610c2590613c07565b601355565b6008546001600160a01b0316331461104a5760405162461bcd60e51b8152600401610c2590613c07565b600a80546002919060ff1916600183610d28565b6008546001600160a01b031633146110885760405162461bcd60e51b8152600401610c2590613c07565b600d5481906002600a5460ff1660038111156110b457634e487b7160e01b600052602160045260246000fd5b14806110e457506003600a5460ff1660038111156110e257634e487b7160e01b600052602160045260246000fd5b145b156111025760405163d9caf7eb60e01b815260040160405180910390fd5b600d83905561110f6127d7565b600b5460036000526010602052600080516020613e2883398151915254101561114b5760405163b88ea3a560e01b815260040160405180910390fd5b80821415610ed55760405163f0c88a0960e01b815260040160405180910390fd5b6111763382612879565b6111925760405162461bcd60e51b8152600401610c2590613c3c565b610ed583838361296c565b6008546001600160a01b031633146111c75760405162461bcd60e51b8152600401610c2590613c07565b80600f5482600f8190555061110f6127d7565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161124f5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061126e906001600160601b031687613d03565b6112789190613cef565b91519350909150505b9250929050565b610ed58383836040518060200160405280600081525061209c565b6008546001600160a01b031633146112cd5760405162461bcd60e51b8152600401610c2590613c07565b601455565b6008546001600160a01b031633146112fc5760405162461bcd60e51b8152600401610c2590613c07565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6019805461132b90613d65565b80601f016020809104026020016040519081016040528092919081815260200182805461135790613d65565b80156113a45780601f10611379576101008083540402835291602001916113a4565b820191906000526020600020905b81548152906001019060200180831161138757829003601f168201915b505050505081565b6000818152600460205260408120546001600160a01b03161515610bf5565b6002336113e06008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161415801561142557506000600a5460ff16600381111561142357634e487b7160e01b600052602160045260246000fd5b145b15611443576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b031633148015906114a1575081600381111561147957634e487b7160e01b600052602160045260246000fd5b600a5460ff16600381111561149e57634e487b7160e01b600052602160045260246000fd5b14155b156114bf5760405163830b6f4360e01b815260040160405180910390fd5b601060008360038111156114e357634e487b7160e01b600052602160045260246000fd5b600381111561150257634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b54106115dc57600182600381111561153b57634e487b7160e01b600052602160045260246000fd5b141561155a576040516322a1620960e11b815260040160405180910390fd5b600282600381111561157c57634e487b7160e01b600052602160045260246000fd5b141561159b57604051635e00ae3b60e11b815260040160405180910390fd5b60038260038111156115bd57634e487b7160e01b600052602160045260246000fd5b14156115dc576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b031633148015906116115750600c546001600160a01b03821660009081526011602052604090205410155b1561162f57604051634b19f71760e11b815260040160405180910390fd5b6013546008546001600160a01b0316331480159061164c57508034105b1561166a57604051630745e1c560e21b815260040160405180910390fd5b6008546001600160a01b0316331480159061168457508034115b156116a25760405163700e445560e11b815260040160405180910390fd5b6015546116b790670de0b6b3a7640000613d03565b6116c033610eda565b1015611702576016546001600160a01b03166116db8561256d565b6001600160a01b031614611702576040516354a361b960e01b815260040160405180910390fd5b336000908152601160205260408120805460019290611722908490613cd7565b925050819055506001600b600082825461173c9190613cd7565b9091555061174b905033612b08565b50505050565b6008546001600160a01b0316331461177b5760405162461bcd60e51b8152600401610c2590613c07565b610ed5838383612b4c565b60033361179b6008546001600160a01b031690565b6001600160a01b0316336001600160a01b0316141580156117e057506000600a5460ff1660038111156117de57634e487b7160e01b600052602160045260246000fd5b145b156117fe576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b0316331480159061185c575081600381111561183457634e487b7160e01b600052602160045260246000fd5b600a5460ff16600381111561185957634e487b7160e01b600052602160045260246000fd5b14155b1561187a5760405163830b6f4360e01b815260040160405180910390fd5b6010600083600381111561189e57634e487b7160e01b600052602160045260246000fd5b60038111156118bd57634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b54106119975760018260038111156118f657634e487b7160e01b600052602160045260246000fd5b1415611915576040516322a1620960e11b815260040160405180910390fd5b600282600381111561193757634e487b7160e01b600052602160045260246000fd5b141561195657604051635e00ae3b60e11b815260040160405180910390fd5b600382600381111561197857634e487b7160e01b600052602160045260246000fd5b1415611997576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b031633148015906119cc5750600c546001600160a01b03821660009081526011602052604090205410155b156119ea57604051634b19f71760e11b815260040160405180910390fd5b6014546008546001600160a01b03165b6001600160a01b0316336001600160a01b031614158015611a1a57508034105b15611a3857604051630745e1c560e21b815260040160405180910390fd5b6008546001600160a01b03163314801590611a5257508034115b15611a705760405163700e445560e11b815260040160405180910390fd5b6016546001600160a01b03166116db8561256d565b6000818152600460205260408120546001600160a01b031680610bf55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c25565b60006001600160a01b038216611b675760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c25565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b03163314611bad5760405162461bcd60e51b8152600401610c2590613c07565b611bb76000612c17565b565b600133611bce6008546001600160a01b031690565b6001600160a01b0316336001600160a01b031614158015611c1357506000600a5460ff166003811115611c1157634e487b7160e01b600052602160045260246000fd5b145b15611c31576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b03163314801590611c8f5750816003811115611c6757634e487b7160e01b600052602160045260246000fd5b600a5460ff166003811115611c8c57634e487b7160e01b600052602160045260246000fd5b14155b15611cad5760405163830b6f4360e01b815260040160405180910390fd5b60106000836003811115611cd157634e487b7160e01b600052602160045260246000fd5b6003811115611cf057634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b5410611dca576001826003811115611d2957634e487b7160e01b600052602160045260246000fd5b1415611d48576040516322a1620960e11b815260040160405180910390fd5b6002826003811115611d6a57634e487b7160e01b600052602160045260246000fd5b1415611d8957604051635e00ae3b60e11b815260040160405180910390fd5b6003826003811115611dab57634e487b7160e01b600052602160045260246000fd5b1415611dca576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b03163314801590611dff5750600c546001600160a01b03821660009081526011602052604090205410155b15611e1d57604051634b19f71760e11b815260040160405180910390fd5b6012546008546001600160a01b03166119fa565b6008546001600160a01b03163314611e5b5760405162461bcd60e51b8152600401610c2590613c07565b600e5481906003600a5460ff166003811115611e8757634e487b7160e01b600052602160045260246000fd5b1415611ea65760405163d9caf7eb60e01b815260040160405180910390fd5b600e83905561110f6127d7565b6008546001600160a01b03163314611edd5760405162461bcd60e51b8152600401610c2590613c07565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314611f295760405162461bcd60e51b8152600401610c2590613c07565b8051610c589060199060208401906135e1565b606060038054610c6b90613d65565b6008546001600160a01b03163314611f755760405162461bcd60e51b8152600401610c2590613c07565b601555565b6008546001600160a01b03163314611fa45760405162461bcd60e51b8152600401610c2590613c07565b600c55565b610c58338383612c69565b6008546001600160a01b03163314611fde5760405162461bcd60e51b8152600401610c2590613c07565b8051610c5890601a9060208401906135e1565b6008546001600160a01b0316331461201b5760405162461bcd60e51b8152600401610c2590613c07565b601880546001600160a01b03169055611bb760008055565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012090565b600b54600360009081526010602052600080516020613e2883398151915254909161209791613d22565b905090565b6120a63383612879565b6120c25760405162461bcd60e51b8152600401610c2590613c3c565b61174b84848484612d38565b6008546001600160a01b031633146120f85760405162461bcd60e51b8152600401610c2590613c07565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146121445760405162461bcd60e51b8152600401610c2590613c07565b601255565b6060600061215683612d6b565b90506000815111612176576040518060200160405280600081525061219a565b80601a60405160200161218a929190613a8e565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146121cb5760405162461bcd60e51b8152600401610c2590613c07565b6003816121e06008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161415801561222557506000600a5460ff16600381111561222357634e487b7160e01b600052602160045260246000fd5b145b15612243576040516307f140fd60e41b815260040160405180910390fd5b6008546001600160a01b031633148015906122a1575081600381111561227957634e487b7160e01b600052602160045260246000fd5b600a5460ff16600381111561229e57634e487b7160e01b600052602160045260246000fd5b14155b156122bf5760405163830b6f4360e01b815260040160405180910390fd5b601060008360038111156122e357634e487b7160e01b600052602160045260246000fd5b600381111561230257634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054600b54106123dc57600182600381111561233b57634e487b7160e01b600052602160045260246000fd5b141561235a576040516322a1620960e11b815260040160405180910390fd5b600282600381111561237c57634e487b7160e01b600052602160045260246000fd5b141561239b57604051635e00ae3b60e11b815260040160405180910390fd5b60038260038111156123bd57634e487b7160e01b600052602160045260246000fd5b14156123dc576040516337a2978560e01b815260040160405180910390fd5b6008546001600160a01b031633148015906124115750600c546001600160a01b03821660009081526011602052604090205410155b1561242f57604051634b19f71760e11b815260040160405180910390fd5b6001600160a01b0383166000908152601160205260408120805460019290612458908490613cd7565b925050819055506001600b60008282546124729190613cd7565b90915550610ed5905083612b08565b6008546001600160a01b031633146124ab5760405162461bcd60e51b8152600401610c2590613c07565b600a80546001919060ff19168280610d28565b601a805461132b90613d65565b6008546001600160a01b031633146124f55760405162461bcd60e51b8152600401610c2590613c07565b6018546040516000916001600160a01b03169047908381818185875af1925050503d8060008114612542576040519150601f19603f3d011682016040523d82523d6000602084013e612547565b606091505b50909150508061256a576040516327fcd9d160e01b815260040160405180910390fd5b50565b6000610bf5826125d161257e612033565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90612e2f565b6008546001600160a01b031633146126015760405162461bcd60e51b8152600401610c2590613c07565b6001600160a01b0381166126665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c25565b61256a81612c17565b60006001600160e01b031982166380ac58cd60e01b14806126a057506001600160e01b03198216635b5e139f60e01b145b80610bf55750610bf582612e53565b6127106001600160601b03821611156126da5760405162461bcd60e51b8152600401610c2590613c8d565b6001600160a01b0382166127305760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610c25565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061279e82611a85565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600d54600160005260106020527f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f819055600e5461281491613cd7565b600260005260106020527f853b2fefe141400fef543280f93d98bd49996069f632d0d20236afeeed8e46a255600f54600e54600d546128539190613cd7565b61285d9190613cd7565b60036000526010602052600080516020613e2883398151915255565b6000818152600460205260408120546001600160a01b03166128f25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c25565b60006128fd83611a85565b9050806001600160a01b0316846001600160a01b031614806129385750836001600160a01b031661292d84610d2f565b6001600160a01b0316145b80610fab57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16610fab565b826001600160a01b031661297f82611a85565b6001600160a01b0316146129e35760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610c25565b6001600160a01b038216612a455760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c25565b612a50600082612769565b6001600160a01b0383166000908152600560205260408120805460019290612a79908490613d22565b90915550506001600160a01b0382166000908152600560205260408120805460019290612aa7908490613cd7565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b5460405134815233907f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f9060200160405180910390a361256a81600b54612e88565b6127106001600160601b0382161115612b775760405162461bcd60e51b8152600401610c2590613c8d565b6001600160a01b038216612bcd5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610c25565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612ccb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c25565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612d4384848461296c565b612d4f84848484612ea2565b61174b5760405162461bcd60e51b8152600401610c2590613bb5565b6000818152600460205260409020546060906001600160a01b0316612dea5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c25565b6000612df4612faf565b90506000815111612e14576040518060200160405280600081525061219a565b80612e1e84612fbe565b60405160200161218a929190613a5f565b6000806000612e3e85856130d8565b91509150612e4b81613145565b509392505050565b60006001600160e01b0319821663152a902d60e11b1480610bf557506301ffc9a760e01b6001600160e01b0319831614610bf5565b610c58828260405180602001604052806000815250613346565b60006001600160a01b0384163b15612fa457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612ee6903390899088908890600401613b3d565b602060405180830381600087803b158015612f0057600080fd5b505af1925050508015612f30575060408051601f3d908101601f19168201909252612f2d918101906138d7565b60015b612f8a573d808015612f5e576040519150601f19603f3d011682016040523d82523d6000602084013e612f63565b606091505b508051612f825760405162461bcd60e51b8152600401610c2590613bb5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fab565b506001949350505050565b606060198054610c6b90613d65565b606081612fe25750506040805180820190915260018152600360fc1b602082015290565b8160005b811561300c5780612ff681613da0565b91506130059050600a83613cef565b9150612fe6565b60008167ffffffffffffffff81111561303557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561305f576020820181803683370190505b5090505b8415610fab57613074600183613d22565b9150613081600a86613dbb565b61308c906030613cd7565b60f81b8183815181106130af57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506130d1600a86613cef565b9450613063565b60008082516041141561310f5760208301516040840151606085015160001a61310387828585613379565b94509450505050611281565b825160401415613139576020830151604084015161312e868383613466565b935093505050611281565b50600090506002611281565b600081600481111561316757634e487b7160e01b600052602160045260246000fd5b14156131705750565b600181600481111561319257634e487b7160e01b600052602160045260246000fd5b14156131e05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c25565b600281600481111561320257634e487b7160e01b600052602160045260246000fd5b14156132505760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c25565b600381600481111561327257634e487b7160e01b600052602160045260246000fd5b14156132cb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c25565b60048160048111156132ed57634e487b7160e01b600052602160045260246000fd5b141561256a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c25565b613350838361349f565b61335d6000848484612ea2565b610ed55760405162461bcd60e51b8152600401610c2590613bb5565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156133b0575060009050600361345d565b8460ff16601b141580156133c857508460ff16601c14155b156133d9575060009050600461345d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561342d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166134565760006001925092505061345d565b9150600090505b94509492505050565b6000806001600160ff1b0383168161348360ff86901c601b613cd7565b905061349187828885613379565b935093505050935093915050565b6001600160a01b0382166134f55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c25565b6000818152600460205260409020546001600160a01b03161561355a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c25565b6001600160a01b0382166000908152600560205260408120805460019290613583908490613cd7565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546135ed90613d65565b90600052602060002090601f01602090048101928261360f5760008555613655565b82601f1061362857805160ff1916838001178555613655565b82800160010185558215613655579182015b8281111561365557825182559160200191906001019061363a565b50613661929150613665565b5090565b5b808211156136615760008155600101613666565b600067ffffffffffffffff8084111561369557613695613dfb565b604051601f8501601f19908116603f011681019082821181831017156136bd576136bd613dfb565b816040528093508581528686860111156136d657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461370757600080fd5b919050565b600082601f83011261371c578081fd5b61219a8383356020850161367a565b80356001600160601b038116811461370757600080fd5b600060208284031215613753578081fd5b61219a826136f0565b6000806040838503121561376e578081fd5b613777836136f0565b9150613785602084016136f0565b90509250929050565b6000806000606084860312156137a2578081fd5b6137ab846136f0565b92506137b9602085016136f0565b9150604084013590509250925092565b600080600080608085870312156137de578081fd5b6137e7856136f0565b93506137f5602086016136f0565b925060408501359150606085013567ffffffffffffffff811115613817578182fd5b6138238782880161370c565b91505092959194509250565b60008060408385031215613841578182fd5b61384a836136f0565b91506020830135801515811461385e578182fd5b809150509250929050565b6000806040838503121561387b578182fd5b613884836136f0565b946020939093013593505050565b600080604083850312156138a4578182fd5b6138ad836136f0565b91506137856020840161372b565b6000602082840312156138cc578081fd5b813561219a81613e11565b6000602082840312156138e8578081fd5b815161219a81613e11565b600060208284031215613904578081fd5b813567ffffffffffffffff81111561391a578182fd5b610fab8482850161370c565b600060208284031215613937578081fd5b81356004811061219a578182fd5b600060208284031215613956578081fd5b813567ffffffffffffffff81111561396c578182fd5b8201601f8101841361397c578182fd5b610fab8482356020840161367a565b60006020828403121561399c578081fd5b5035919050565b6000602082840312156139b4578081fd5b5051919050565b6000806000606084860312156139cf578081fd5b833592506139df602085016136f0565b91506139ed6040850161372b565b90509250925092565b60008060408385031215613a08578182fd5b50508035926020909101359150565b60008151808452613a2f816020860160208601613d39565b601f01601f19169290920160200192915050565b60008251613a55818460208701613d39565b9190910192915050565b60008351613a71818460208801613d39565b835190830190613a85818360208801613d39565b01949350505050565b600083516020613aa18285838901613d39565b8454918401918390600181811c9080831680613abe57607f831692505b858310811415613adc57634e487b7160e01b88526022600452602488fd5b808015613af05760018114613b0157613b2d565b60ff19851688528388019550613b2d565b60008b815260209020895b85811015613b255781548a820152908401908801613b0c565b505083880195505b50939a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b7090830184613a17565b9695505050505050565b6020810160048310613b9c57634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061219a6020830184613a17565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60008219821115613cea57613cea613dcf565b500190565b600082613cfe57613cfe613de5565b500490565b6000816000190483118215151615613d1d57613d1d613dcf565b500290565b600082821015613d3457613d34613dcf565b500390565b60005b83811015613d54578181015183820152602001613d3c565b8381111561174b5750506000910152565b600181811c90821680613d7957607f821691505b60208210811415613d9a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613db457613db4613dcf565b5060010190565b600082613dca57613dca613de5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461256a57600080fdfeb3edd0d534d647cffdae9f1294f11ad21f3fcf2814bea44c92bbb8d384a57d9ea2646970667358221220ecf261d74025f46736834e7ca4db7903a7f1634c712a0f50cba94db1cdf3bb7364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000d0bdd3a8676bab89cafce1708e7dce8566cd13c700000000000000000000000000000000000000000000000000000000000000095461696b6120465742000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d41544500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a68747470733a2f2f6d6174652e7461696b612e636f2f6170692f000000000000
-----Decoded View---------------
Arg [0] : name (string): Taika FWB
Arg [1] : symbol (string): MATE
Arg [2] : _tokenBaseURI (string): https://mate.taika.co/api/
Arg [3] : _splitAddress (address): 0xD0bdD3a8676baB89Cafce1708e7Dce8566cD13c7
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000d0bdd3a8676bab89cafce1708e7dce8566cd13c7
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 5461696b61204657420000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4d41544500000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [9] : 68747470733a2f2f6d6174652e7461696b612e636f2f6170692f000000000000
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.