Overview
Max Total Supply
10,000 LMP
Holders
7,221
Market
Volume (24H)
0.0225 ETH
Min Price (24H)
$30.91 @ 0.009900 ETH
Max Price (24H)
$39.33 @ 0.012599 ETH
Other Info
Token Contract
Balance
1 LMPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LedgerMarketPass
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; import {ERC721} from "@rari-capital/solmate/src/tokens/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./ReentrancyGuard.sol"; import "./Signable.sol"; import "./IProxyTracking.sol"; import "./Helpers.sol"; import "./Errors.sol"; contract LedgerMarketPass is ERC721, ReentrancyGuard, Signable { // Phase States: None - can't mint, Pre Sale - only mint with sign, Main Sale - only regular mint enum Phase { NONE, PRE_SALE, MAIN_SALE } // Current phase of the contract Phase private _phase; // Constants // Maximum number of NFTs can be allocated uint256 public immutable maxSupply; // ETH value should be sent with mint (owner mint is free) uint256 public mintPrice = 0.3 ether; // Address where all money from the contract will go if the owner of the contract will call withdraw function address private constant _withdrawalAddress = 0xC55dA65c626Bad25532bE0d4f6B44aBFD733A152; // Counter used for token number in minting uint256 private _nextTokenCount = 1; // Base token and contract URI string private baseTokenURI; string private baseContractURI; // Proxy contract for tracking afterTokenTransfer call IProxyTracking public proxyTrackingContract; // Has the account used minting already mapping(address => bool) public minted; // Modifier is used to check if the phase rule is met modifier phaseRequired(Phase phase_) { if (phase_ != _phase) revert Errors.MintNotAvailable(); _; } // Modifier is used to check if at least a minimal amount of money was sent modifier costs() { if (msg.value < mintPrice) revert Errors.InsufficientFunds(); _; } constructor( uint256 _maxSupply, string memory _baseTokenURI, string memory _baseContractURI, string memory _name, string memory _symbol ) ERC721(_name, _symbol) { maxSupply = _maxSupply; baseTokenURI = _baseTokenURI; baseContractURI = _baseContractURI; } // Contract owner can call this function to mint `amount` of tokens into account with the address `to` function ownerMint(address to, uint256 amount) external onlyOwner lock { if (_nextTokenCount + amount - 1 > maxSupply) revert Errors.SupplyLimitReached(); for (uint256 i; i < amount; ) { _safeMint(to, _nextTokenCount); unchecked { ++_nextTokenCount; ++i; } } } // Function used to do minting on pre-sale phase (with signature) function preSaleMint(bytes calldata signature) external payable costs phaseRequired(Phase.PRE_SALE) { if (!_verify(signer(), _hash(msg.sender), signature)) revert Errors.InvalidSignature(); _mintLogic(); } // Function used to do minting on main-sale phase function mint() external payable costs phaseRequired(Phase.MAIN_SALE) { _mintLogic(); } // Contract owner can call this function to withdraw all money from the contract into a defined wallet function withdrawAll() external onlyOwner { uint256 balance = address(this).balance; if (balance == 0) revert Errors.NothingToWithdraw(); (bool success, ) = _withdrawalAddress.call{value: balance}(""); if (!success) revert Errors.WithdrawFailed(); } // Contract owner can call this function to set minting price on pre-sale and main-sale function setMintPrice(uint256 mintPrice_) external onlyOwner { if (mintPrice_ == 0) revert Errors.InvalidMintPrice(); // only allow to change price once if (mintPrice != 0.3 ether) revert Errors.MintPriceAlreadyUpdated(); mintPrice = mintPrice_; } // Contract owner can call this function to set the proxy tracking contract address (which gets a call of afterTokenTransfer function of the original contract) function setProxyTrackingContract(IProxyTracking proxyTrackingContract_) external onlyOwner { proxyTrackingContract = proxyTrackingContract_; } function setContractURI(string calldata baseContractURI_) external onlyOwner { if (bytes(baseContractURI_).length == 0) revert Errors.InvalidBaseContractURL(); baseContractURI = baseContractURI_; } function setBaseURI(string calldata baseURI_) external onlyOwner { if (bytes(baseURI_).length == 0) revert Errors.InvalidBaseURI(); baseTokenURI = baseURI_; } function setPhase(Phase phase_) external onlyOwner { _phase = phase_; } function totalSupply() external view returns (uint256) { return _nextTokenCount - 1; } function contractURI() external view returns (string memory) { return baseContractURI; } function phase() external view returns (Phase) { return _phase; } function _baseURI() internal view virtual returns (string memory) { return baseTokenURI; } function _mint(address to, uint256 id) internal virtual override { super._mint(to, id); _afterTokenTransfer(address(0), to, id); } function _burn(uint256 id) internal virtual override { address owner = _ownerOf[id]; super._burn(id); _afterTokenTransfer(owner, address(0), id); } function transferFrom( address from, address to, uint256 id ) public virtual override { super.transferFrom(from, to, id); _afterTokenTransfer(from, to, id); } // Function is overridden to do a proxy call into the proxy tracking contract if it is not zero function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual { if (address(proxyTrackingContract) != address(0)) { proxyTrackingContract.afterTokenTransfer(from, to, tokenId); } } function _mintLogic() private { if (msg.sender.code.length > 0) revert Errors.ContractCantMint(); if (_nextTokenCount > maxSupply) revert Errors.SupplyLimitReached(); if (minted[msg.sender]) revert Errors.AccountAlreadyMintedMax(); minted[msg.sender] = true; // smart-contracts are not allowed to call the method -- that means safeMint is useless _mint(msg.sender, _nextTokenCount); unchecked { ++_nextTokenCount; } } function _verify( address signer, bytes32 hash, bytes calldata signature ) private pure returns (bool) { return signer == ECDSA.recover(hash, signature); } function _hash(address account) private pure returns (bytes32) { return ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(account))); } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (ownerOf(tokenId) == address(0)) revert Errors.TokenDoesNotExist(); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string( abi.encodePacked(baseURI, Helpers.uint2string(tokenId)) ) : ""; } function burn(uint256 id) external { if (msg.sender != ownerOf(id)) revert Errors.NotOwner(); _burn(id); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// 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 pragma solidity >=0.8.4; import "./Errors.sol"; abstract contract ReentrancyGuard { uint256 private unlocked = 1; modifier lock() { if (unlocked == 0) revert Errors.ContractLocked(); unlocked = 0; _; unlocked = 1; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@rari-capital/solmate/src/auth/Owned.sol"; import "./Errors.sol"; /// @title Contract that manages the signer/owner roles abstract contract Signable is Owned { address private _signer; constructor() Owned(msg.sender) { _signer = msg.sender; } function signer() public view returns (address) { return _signer; } /// @notice This method allow the owner change the signer role /// @dev At first, the signer role and the owner role is associated to the same address /// @param newSigner The address of the new signer function transferSigner(address newSigner) external onlyOwner { if (newSigner == address(0)) revert Errors.NewSignerCantBeZero(); _signer = newSigner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; interface IProxyTracking { /** * @dev Called by original contract on _afterTokenTransfer ERC721 event. * * WARNING: Good practice will be to check that msg.sender is original contract, for example: require(msg.sender == _originalContract, "Only original contract can call this"); * */ function afterTokenTransfer( address from, address to, uint256 tokenId ) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; library Helpers { function uint2string(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); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; library Errors { /* LedgerNFT.sol */ error MintNotAvailable(); error InsufficientFunds(); error SupplyLimitReached(); error ContractCantMint(); error InvalidSignature(); error AccountAlreadyMintedMax(); error TokenDoesNotExist(); error NotOwner(); error NothingToWithdraw(); error WithdrawFailed(); error InvalidMintPrice(); error MintPriceAlreadyUpdated(); error InvalidBaseContractURL(); error InvalidBaseURI(); /* ReentrancyGuard.sol */ error ContractLocked(); /* Signable.sol */ error NewSignerCantBeZero(); }
// 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: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnerUpdated(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnerUpdated(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function setOwner(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnerUpdated(msg.sender, newOwner); } }
{ "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":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"string","name":"_baseContractURI","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccountAlreadyMintedMax","type":"error"},{"inputs":[],"name":"ContractCantMint","type":"error"},{"inputs":[],"name":"ContractLocked","type":"error"},{"inputs":[],"name":"InsufficientFunds","type":"error"},{"inputs":[],"name":"InvalidBaseContractURL","type":"error"},{"inputs":[],"name":"InvalidBaseURI","type":"error"},{"inputs":[],"name":"InvalidMintPrice","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintNotAvailable","type":"error"},{"inputs":[],"name":"MintPriceAlreadyUpdated","type":"error"},{"inputs":[],"name":"NewSignerCantBeZero","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"NothingToWithdraw","type":"error"},{"inputs":[],"name":"SupplyLimitReached","type":"error"},{"inputs":[],"name":"TokenDoesNotExist","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"enum LedgerMarketPass.Phase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"proxyTrackingContract","outputs":[{"internalType":"contract IProxyTracking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseContractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPrice_","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum LedgerMarketPass.Phase","name":"phase_","type":"uint8"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IProxyTracking","name":"proxyTrackingContract_","type":"address"}],"name":"setProxyTrackingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"transferSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526001600655670429d069189e00006009556001600a553480156200002757600080fd5b506040516200272a3803806200272a8339810160408190526200004a916200028b565b33828281600090805190602001906200006592919062000118565b5080516200007b90600190602084019062000118565b5050600780546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d76908290a350600880546001600160a01b0319163317905560808590528351620000f690600b90602087019062000118565b5082516200010c90600c90602086019062000118565b5050505050506200038b565b82805462000126906200034f565b90600052602060002090601f0160209004810192826200014a576000855562000195565b82601f106200016557805160ff191683800117855562000195565b8280016001018555821562000195579182015b828111156200019557825182559160200191906001019062000178565b50620001a3929150620001a7565b5090565b5b80821115620001a35760008155600101620001a8565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001e657600080fd5b81516001600160401b0380821115620002035762000203620001be565b604051601f8301601f19908116603f011681019082821181831017156200022e576200022e620001be565b816040528381526020925086838588010111156200024b57600080fd5b600091505b838210156200026f578582018301518183018401529082019062000250565b83821115620002815760008385830101525b9695505050505050565b600080600080600060a08688031215620002a457600080fd5b855160208701519095506001600160401b0380821115620002c457600080fd5b620002d289838a01620001d4565b95506040880151915080821115620002e957600080fd5b620002f789838a01620001d4565b945060608801519150808211156200030e57600080fd5b6200031c89838a01620001d4565b935060808801519150808211156200033357600080fd5b506200034288828901620001d4565b9150509295509295909350565b600181811c908216806200036457607f821691505b6020821081036200038557634e487b7160e01b600052602260045260246000fd5b50919050565b608051612375620003b5600039600081816105ca01528181610b45015261126301526123756000f3fe6080604052600436106101f95760003560e01c80636817c76c1161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb01146105b8578063d9e0d02c146105ec578063e8a3d4851461060c578063e985e9c514610621578063f4a0a5281461065c57600080fd5b8063b88d4fde14610545578063c03afb5914610565578063c111fb9114610585578063c87b56dd1461059857600080fd5b8063938e3d7b116100dc578063938e3d7b146104c957806395d89b41146104e9578063a22cb465146104fe578063b1c9fe6e1461051e57600080fd5b80636817c76c1461045e57806370a0823114610474578063853828b6146104945780638da5cb5b146104a957600080fd5b8063238ac9331161019057806342966c681161015f57806342966c68146103be578063484b973c146103de5780635387d256146103fe57806355f804b31461041e5780636352211e1461043e57600080fd5b8063238ac9331461034057806323b872dd1461035e5780633660a0841461037e57806342842e0e1461039e57600080fd5b80631249c58b116101cc5780631249c58b146102c557806313af4035146102cd57806318160ddd146102ed5780631e7269c51461031057600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e53565b61067c565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b506102486106ce565b60405161022a9190611ea0565b34801561026157600080fd5b5061028b610270366004611ed3565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b3480156102af57600080fd5b506102c36102be366004611f01565b61075c565b005b6102c3610843565b3480156102d957600080fd5b506102c36102e8366004611f2d565b6108c1565b3480156102f957600080fd5b50610302610937565b60405190815260200161022a565b34801561031c57600080fd5b5061021e61032b366004611f2d565b600e6020526000908152604090205460ff1681565b34801561034c57600080fd5b506008546001600160a01b031661028b565b34801561036a57600080fd5b506102c3610379366004611f4a565b61094d565b34801561038a57600080fd5b506102c3610399366004611f2d565b610968565b3480156103aa57600080fd5b506102c36103b9366004611f4a565b6109db565b3480156103ca57600080fd5b506102c36103d9366004611ed3565b610aab565b3480156103ea57600080fd5b506102c36103f9366004611f01565b610aee565b34801561040a57600080fd5b506102c3610419366004611f2d565b610bcf565b34801561042a57600080fd5b506102c3610439366004611fcd565b610c1b565b34801561044a57600080fd5b5061028b610459366004611ed3565b610c73565b34801561046a57600080fd5b5061030260095481565b34801561048057600080fd5b5061030261048f366004611f2d565b610cca565b3480156104a057600080fd5b506102c3610d2d565b3480156104b557600080fd5b5060075461028b906001600160a01b031681565b3480156104d557600080fd5b506102c36104e4366004611fcd565b610dfb565b3480156104f557600080fd5b50610248610e52565b34801561050a57600080fd5b506102c361051936600461200f565b610e5f565b34801561052a57600080fd5b50600854600160a01b900460ff1660405161022a9190612063565b34801561055157600080fd5b506102c361056036600461208b565b610ecb565b34801561057157600080fd5b506102c36105803660046120fe565b610f90565b6102c3610593366004611fcd565b610fe7565b3480156105a457600080fd5b506102486105b3366004611ed3565b6110a5565b3480156105c457600080fd5b506103027f000000000000000000000000000000000000000000000000000000000000000081565b3480156105f857600080fd5b50600d5461028b906001600160a01b031681565b34801561061857600080fd5b50610248611135565b34801561062d57600080fd5b5061021e61063c36600461211f565b600560209081526000928352604080842090915290825290205460ff1681565b34801561066857600080fd5b506102c3610677366004611ed3565b6111c7565b60006301ffc9a760e01b6001600160e01b0319831614806106ad57506380ac58cd60e01b6001600160e01b03198316145b806106c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546106db9061214d565b80601f01602080910402602001604051908101604052809291908181526020018280546107079061214d565b80156107545780601f1061072957610100808354040283529160200191610754565b820191906000526020600020905b81548152906001019060200180831161073757829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806107a557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6107e75760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6009543410156108665760405163356680b760e01b815260040160405180910390fd5b600854600290600160a01b900460ff16818111156108865761088661204d565b8160028111156108985761089861204d565b146108b6576040516365a2ea6560e11b815260040160405180910390fd5b6108be611241565b50565b6007546001600160a01b031633146108eb5760405162461bcd60e51b81526004016107de90612187565b600780546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b60006001600a5461094891906121c3565b905090565b610958838383611307565b6109638383836114ce565b505050565b6007546001600160a01b031633146109925760405162461bcd60e51b81526004016107de90612187565b6001600160a01b0381166109b9576040516326120ecd60e11b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6109e683838361094d565b6001600160a01b0382163b1580610a8f5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8391906121da565b6001600160e01b031916145b6109635760405162461bcd60e51b81526004016107de906121f7565b610ab481610c73565b6001600160a01b0316336001600160a01b031614610ae5576040516330cd747160e01b815260040160405180910390fd5b6108be81611552565b6007546001600160a01b03163314610b185760405162461bcd60e51b81526004016107de90612187565b600654600003610b3b576040516337affdbf60e11b815260040160405180910390fd5b6000600655600a547f000000000000000000000000000000000000000000000000000000000000000090600190610b73908490612221565b610b7d91906121c3565b1115610b9c5760405163704d6bf960e11b815260040160405180910390fd5b60005b81811015610bc557610bb383600a5461157f565b600a8054600190810190915501610b9f565b5050600160065550565b6007546001600160a01b03163314610bf95760405162461bcd60e51b81526004016107de90612187565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b03163314610c455760405162461bcd60e51b81526004016107de90612187565b6000819003610c675760405163cc52148360e01b815260040160405180910390fd5b610963600b8383611da4565b6000818152600260205260409020546001600160a01b031680610cc55760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016107de565b919050565b60006001600160a01b038216610d115760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016107de565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b03163314610d575760405162461bcd60e51b81526004016107de90612187565b476000819003610d7a57604051630686827b60e51b815260040160405180910390fd5b60405160009073c55da65c626bad25532be0d4f6b44abfd733a1529083908381818185875af1925050503d8060008114610dd0576040519150601f19603f3d011682016040523d82523d6000602084013e610dd5565b606091505b5050905080610df757604051631d42c86760e21b815260040160405180910390fd5b5050565b6007546001600160a01b03163314610e255760405162461bcd60e51b81526004016107de90612187565b6000819003610e465760405162ea21bf60e21b815260040160405180910390fd5b610963600c8383611da4565b600180546106db9061214d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ed685858561094d565b6001600160a01b0384163b1580610f6d5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f1e9033908a90899089908990600401612239565b6020604051808303816000875af1158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6191906121da565b6001600160e01b031916145b610f895760405162461bcd60e51b81526004016107de906121f7565b5050505050565b6007546001600160a01b03163314610fba5760405162461bcd60e51b81526004016107de90612187565b6008805482919060ff60a01b1916600160a01b836002811115610fdf57610fdf61204d565b021790555050565b60095434101561100a5760405163356680b760e01b815260040160405180910390fd5b600854600190600160a01b900460ff16600281111561102b5761102b61204d565b81600281111561103d5761103d61204d565b1461105b576040516365a2ea6560e11b815260040160405180910390fd5b6110806110706008546001600160a01b031690565b6110793361164b565b85856116d0565b61109d57604051638baa579f60e01b815260040160405180910390fd5b610963611241565b606060006110b283610c73565b6001600160a01b0316036110d95760405163677510db60e11b815260040160405180910390fd5b60006110e3611730565b90506000815111611103576040518060200160405280600081525061112e565b8061110d8461173f565b60405160200161111e92919061228d565b6040516020818303038152906040525b9392505050565b6060600c80546111449061214d565b80601f01602080910402602001604051908101604052809291908181526020018280546111709061214d565b80156111bd5780601f10611192576101008083540402835291602001916111bd565b820191906000526020600020905b8154815290600101906020018083116111a057829003601f168201915b5050505050905090565b6007546001600160a01b031633146111f15760405162461bcd60e51b81526004016107de90612187565b806000036112125760405163020b5e0b60e11b815260040160405180910390fd5b600954670429d069189e00001461123c5760405163775a551d60e11b815260040160405180910390fd5b600955565b333b156112615760405163eeeed20360e01b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600a5411156112a45760405163704d6bf960e11b815260040160405180910390fd5b336000908152600e602052604090205460ff16156112d55760405163020805f560e61b815260040160405180910390fd5b336000818152600e60205260409020805460ff19166001179055600a546112fc9190611848565b600a80546001019055565b6000818152600260205260409020546001600160a01b0384811691161461135d5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016107de565b6001600160a01b0382166113a75760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016107de565b336001600160a01b03841614806113e157506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061140257506000818152600460205260409020546001600160a01b031633145b61143f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016107de565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d546001600160a01b03161561096357600d54604051636fb12c5f60e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063df6258be90606401600060405180830381600087803b15801561153557600080fd5b505af1158015611549573d6000803e3d6000fd5b50505050505050565b6000818152600260205260409020546001600160a01b03166115738261185e565b610df7816000846114ce565b6115898282611848565b6001600160a01b0382163b158061162f5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af11580156115ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162391906121da565b6001600160e01b031916145b610df75760405162461bcd60e51b81526004016107de906121f7565b60408051606083901b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084019190915283518084039091018152609090920190925280519101206000906106c8565b60006117128484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061192b92505050565b6001600160a01b0316856001600160a01b0316149050949350505050565b6060600b80546111449061214d565b6060816000036117665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611790578061177a816122bc565b91506117899050600a836122eb565b915061176a565b60008167ffffffffffffffff8111156117ab576117ab6122ff565b6040519080825280601f01601f1916602001820160405280156117d5576020820181803683370190505b5090505b8415611840576117ea6001836121c3565b91506117f7600a86612315565b611802906030612221565b60f81b81838151811061181757611817612329565b60200101906001600160f81b031916908160001a905350611839600a866122eb565b94506117d9565b949350505050565b611852828261194f565b610df7600083836114ce565b6000818152600260205260409020546001600160a01b0316806118b05760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016107de565b6001600160a01b038116600081815260036020908152604080832080546000190190558583526002825280832080546001600160a01b031990811690915560049092528083208054909216909155518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080600061193a8585611a5a565b9150915061194781611ac8565b509392505050565b6001600160a01b0382166119995760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016107de565b6000818152600260205260409020546001600160a01b0316156119ef5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016107de565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604103611a905760208301516040840151606085015160001a611a8487828585611c7e565b94509450505050611ac1565b8251604003611ab95760208301516040840151611aae868383611d6b565b935093505050611ac1565b506000905060025b9250929050565b6000816004811115611adc57611adc61204d565b03611ae45750565b6001816004811115611af857611af861204d565b03611b455760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107de565b6002816004811115611b5957611b5961204d565b03611ba65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107de565b6003816004811115611bba57611bba61204d565b03611c125760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107de565b6004816004811115611c2657611c2661204d565b036108be5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107de565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611cb55750600090506003611d62565b8460ff16601b14158015611ccd57508460ff16601c14155b15611cde5750600090506004611d62565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611d32573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d5b57600060019250925050611d62565b9150600090505b94509492505050565b6000806001600160ff1b03831681611d8860ff86901c601b612221565b9050611d9687828885611c7e565b935093505050935093915050565b828054611db09061214d565b90600052602060002090601f016020900481019282611dd25760008555611e18565b82601f10611deb5782800160ff19823516178555611e18565b82800160010185558215611e18579182015b82811115611e18578235825591602001919060010190611dfd565b50611e24929150611e28565b5090565b5b80821115611e245760008155600101611e29565b6001600160e01b0319811681146108be57600080fd5b600060208284031215611e6557600080fd5b813561112e81611e3d565b60005b83811015611e8b578181015183820152602001611e73565b83811115611e9a576000848401525b50505050565b6020815260008251806020840152611ebf816040850160208701611e70565b601f01601f19169190910160400192915050565b600060208284031215611ee557600080fd5b5035919050565b6001600160a01b03811681146108be57600080fd5b60008060408385031215611f1457600080fd5b8235611f1f81611eec565b946020939093013593505050565b600060208284031215611f3f57600080fd5b813561112e81611eec565b600080600060608486031215611f5f57600080fd5b8335611f6a81611eec565b92506020840135611f7a81611eec565b929592945050506040919091013590565b60008083601f840112611f9d57600080fd5b50813567ffffffffffffffff811115611fb557600080fd5b602083019150836020828501011115611ac157600080fd5b60008060208385031215611fe057600080fd5b823567ffffffffffffffff811115611ff757600080fd5b61200385828601611f8b565b90969095509350505050565b6000806040838503121561202257600080fd5b823561202d81611eec565b91506020830135801515811461204257600080fd5b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061208557634e487b7160e01b600052602160045260246000fd5b91905290565b6000806000806000608086880312156120a357600080fd5b85356120ae81611eec565b945060208601356120be81611eec565b935060408601359250606086013567ffffffffffffffff8111156120e157600080fd5b6120ed88828901611f8b565b969995985093965092949392505050565b60006020828403121561211057600080fd5b81356003811061112e57600080fd5b6000806040838503121561213257600080fd5b823561213d81611eec565b9150602083013561204281611eec565b600181811c9082168061216157607f821691505b60208210810361218157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156121d5576121d56121ad565b500390565b6000602082840312156121ec57600080fd5b815161112e81611e3d565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b60008219821115612234576122346121ad565b500190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000835161229f818460208801611e70565b8351908301906122b3818360208801611e70565b01949350505050565b6000600182016122ce576122ce6121ad565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826122fa576122fa6122d5565b500490565b634e487b7160e01b600052604160045260246000fd5b600082612324576123246122d5565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c2b510e5fccf5ed2feb52821bbf67a8f8673923c7d7ff809b6581634075c179b64736f6c634300080e0033000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000001268747470733a2f2f6c65646765722e636f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001268747470733a2f2f6c65646765722e636f6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000285b204c6564676572205d204d61726b65742050617373202d2047656e657369732045646974696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034c4d500000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80636817c76c1161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb01146105b8578063d9e0d02c146105ec578063e8a3d4851461060c578063e985e9c514610621578063f4a0a5281461065c57600080fd5b8063b88d4fde14610545578063c03afb5914610565578063c111fb9114610585578063c87b56dd1461059857600080fd5b8063938e3d7b116100dc578063938e3d7b146104c957806395d89b41146104e9578063a22cb465146104fe578063b1c9fe6e1461051e57600080fd5b80636817c76c1461045e57806370a0823114610474578063853828b6146104945780638da5cb5b146104a957600080fd5b8063238ac9331161019057806342966c681161015f57806342966c68146103be578063484b973c146103de5780635387d256146103fe57806355f804b31461041e5780636352211e1461043e57600080fd5b8063238ac9331461034057806323b872dd1461035e5780633660a0841461037e57806342842e0e1461039e57600080fd5b80631249c58b116101cc5780631249c58b146102c557806313af4035146102cd57806318160ddd146102ed5780631e7269c51461031057600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e53565b61067c565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b506102486106ce565b60405161022a9190611ea0565b34801561026157600080fd5b5061028b610270366004611ed3565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b3480156102af57600080fd5b506102c36102be366004611f01565b61075c565b005b6102c3610843565b3480156102d957600080fd5b506102c36102e8366004611f2d565b6108c1565b3480156102f957600080fd5b50610302610937565b60405190815260200161022a565b34801561031c57600080fd5b5061021e61032b366004611f2d565b600e6020526000908152604090205460ff1681565b34801561034c57600080fd5b506008546001600160a01b031661028b565b34801561036a57600080fd5b506102c3610379366004611f4a565b61094d565b34801561038a57600080fd5b506102c3610399366004611f2d565b610968565b3480156103aa57600080fd5b506102c36103b9366004611f4a565b6109db565b3480156103ca57600080fd5b506102c36103d9366004611ed3565b610aab565b3480156103ea57600080fd5b506102c36103f9366004611f01565b610aee565b34801561040a57600080fd5b506102c3610419366004611f2d565b610bcf565b34801561042a57600080fd5b506102c3610439366004611fcd565b610c1b565b34801561044a57600080fd5b5061028b610459366004611ed3565b610c73565b34801561046a57600080fd5b5061030260095481565b34801561048057600080fd5b5061030261048f366004611f2d565b610cca565b3480156104a057600080fd5b506102c3610d2d565b3480156104b557600080fd5b5060075461028b906001600160a01b031681565b3480156104d557600080fd5b506102c36104e4366004611fcd565b610dfb565b3480156104f557600080fd5b50610248610e52565b34801561050a57600080fd5b506102c361051936600461200f565b610e5f565b34801561052a57600080fd5b50600854600160a01b900460ff1660405161022a9190612063565b34801561055157600080fd5b506102c361056036600461208b565b610ecb565b34801561057157600080fd5b506102c36105803660046120fe565b610f90565b6102c3610593366004611fcd565b610fe7565b3480156105a457600080fd5b506102486105b3366004611ed3565b6110a5565b3480156105c457600080fd5b506103027f000000000000000000000000000000000000000000000000000000000000271081565b3480156105f857600080fd5b50600d5461028b906001600160a01b031681565b34801561061857600080fd5b50610248611135565b34801561062d57600080fd5b5061021e61063c36600461211f565b600560209081526000928352604080842090915290825290205460ff1681565b34801561066857600080fd5b506102c3610677366004611ed3565b6111c7565b60006301ffc9a760e01b6001600160e01b0319831614806106ad57506380ac58cd60e01b6001600160e01b03198316145b806106c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546106db9061214d565b80601f01602080910402602001604051908101604052809291908181526020018280546107079061214d565b80156107545780601f1061072957610100808354040283529160200191610754565b820191906000526020600020905b81548152906001019060200180831161073757829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806107a557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6107e75760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6009543410156108665760405163356680b760e01b815260040160405180910390fd5b600854600290600160a01b900460ff16818111156108865761088661204d565b8160028111156108985761089861204d565b146108b6576040516365a2ea6560e11b815260040160405180910390fd5b6108be611241565b50565b6007546001600160a01b031633146108eb5760405162461bcd60e51b81526004016107de90612187565b600780546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b60006001600a5461094891906121c3565b905090565b610958838383611307565b6109638383836114ce565b505050565b6007546001600160a01b031633146109925760405162461bcd60e51b81526004016107de90612187565b6001600160a01b0381166109b9576040516326120ecd60e11b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6109e683838361094d565b6001600160a01b0382163b1580610a8f5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8391906121da565b6001600160e01b031916145b6109635760405162461bcd60e51b81526004016107de906121f7565b610ab481610c73565b6001600160a01b0316336001600160a01b031614610ae5576040516330cd747160e01b815260040160405180910390fd5b6108be81611552565b6007546001600160a01b03163314610b185760405162461bcd60e51b81526004016107de90612187565b600654600003610b3b576040516337affdbf60e11b815260040160405180910390fd5b6000600655600a547f000000000000000000000000000000000000000000000000000000000000271090600190610b73908490612221565b610b7d91906121c3565b1115610b9c5760405163704d6bf960e11b815260040160405180910390fd5b60005b81811015610bc557610bb383600a5461157f565b600a8054600190810190915501610b9f565b5050600160065550565b6007546001600160a01b03163314610bf95760405162461bcd60e51b81526004016107de90612187565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b03163314610c455760405162461bcd60e51b81526004016107de90612187565b6000819003610c675760405163cc52148360e01b815260040160405180910390fd5b610963600b8383611da4565b6000818152600260205260409020546001600160a01b031680610cc55760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016107de565b919050565b60006001600160a01b038216610d115760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016107de565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b03163314610d575760405162461bcd60e51b81526004016107de90612187565b476000819003610d7a57604051630686827b60e51b815260040160405180910390fd5b60405160009073c55da65c626bad25532be0d4f6b44abfd733a1529083908381818185875af1925050503d8060008114610dd0576040519150601f19603f3d011682016040523d82523d6000602084013e610dd5565b606091505b5050905080610df757604051631d42c86760e21b815260040160405180910390fd5b5050565b6007546001600160a01b03163314610e255760405162461bcd60e51b81526004016107de90612187565b6000819003610e465760405162ea21bf60e21b815260040160405180910390fd5b610963600c8383611da4565b600180546106db9061214d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ed685858561094d565b6001600160a01b0384163b1580610f6d5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f1e9033908a90899089908990600401612239565b6020604051808303816000875af1158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6191906121da565b6001600160e01b031916145b610f895760405162461bcd60e51b81526004016107de906121f7565b5050505050565b6007546001600160a01b03163314610fba5760405162461bcd60e51b81526004016107de90612187565b6008805482919060ff60a01b1916600160a01b836002811115610fdf57610fdf61204d565b021790555050565b60095434101561100a5760405163356680b760e01b815260040160405180910390fd5b600854600190600160a01b900460ff16600281111561102b5761102b61204d565b81600281111561103d5761103d61204d565b1461105b576040516365a2ea6560e11b815260040160405180910390fd5b6110806110706008546001600160a01b031690565b6110793361164b565b85856116d0565b61109d57604051638baa579f60e01b815260040160405180910390fd5b610963611241565b606060006110b283610c73565b6001600160a01b0316036110d95760405163677510db60e11b815260040160405180910390fd5b60006110e3611730565b90506000815111611103576040518060200160405280600081525061112e565b8061110d8461173f565b60405160200161111e92919061228d565b6040516020818303038152906040525b9392505050565b6060600c80546111449061214d565b80601f01602080910402602001604051908101604052809291908181526020018280546111709061214d565b80156111bd5780601f10611192576101008083540402835291602001916111bd565b820191906000526020600020905b8154815290600101906020018083116111a057829003601f168201915b5050505050905090565b6007546001600160a01b031633146111f15760405162461bcd60e51b81526004016107de90612187565b806000036112125760405163020b5e0b60e11b815260040160405180910390fd5b600954670429d069189e00001461123c5760405163775a551d60e11b815260040160405180910390fd5b600955565b333b156112615760405163eeeed20360e01b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000002710600a5411156112a45760405163704d6bf960e11b815260040160405180910390fd5b336000908152600e602052604090205460ff16156112d55760405163020805f560e61b815260040160405180910390fd5b336000818152600e60205260409020805460ff19166001179055600a546112fc9190611848565b600a80546001019055565b6000818152600260205260409020546001600160a01b0384811691161461135d5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016107de565b6001600160a01b0382166113a75760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016107de565b336001600160a01b03841614806113e157506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061140257506000818152600460205260409020546001600160a01b031633145b61143f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016107de565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d546001600160a01b03161561096357600d54604051636fb12c5f60e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063df6258be90606401600060405180830381600087803b15801561153557600080fd5b505af1158015611549573d6000803e3d6000fd5b50505050505050565b6000818152600260205260409020546001600160a01b03166115738261185e565b610df7816000846114ce565b6115898282611848565b6001600160a01b0382163b158061162f5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af11580156115ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162391906121da565b6001600160e01b031916145b610df75760405162461bcd60e51b81526004016107de906121f7565b60408051606083901b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084019190915283518084039091018152609090920190925280519101206000906106c8565b60006117128484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061192b92505050565b6001600160a01b0316856001600160a01b0316149050949350505050565b6060600b80546111449061214d565b6060816000036117665750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611790578061177a816122bc565b91506117899050600a836122eb565b915061176a565b60008167ffffffffffffffff8111156117ab576117ab6122ff565b6040519080825280601f01601f1916602001820160405280156117d5576020820181803683370190505b5090505b8415611840576117ea6001836121c3565b91506117f7600a86612315565b611802906030612221565b60f81b81838151811061181757611817612329565b60200101906001600160f81b031916908160001a905350611839600a866122eb565b94506117d9565b949350505050565b611852828261194f565b610df7600083836114ce565b6000818152600260205260409020546001600160a01b0316806118b05760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016107de565b6001600160a01b038116600081815260036020908152604080832080546000190190558583526002825280832080546001600160a01b031990811690915560049092528083208054909216909155518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080600061193a8585611a5a565b9150915061194781611ac8565b509392505050565b6001600160a01b0382166119995760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016107de565b6000818152600260205260409020546001600160a01b0316156119ef5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016107de565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604103611a905760208301516040840151606085015160001a611a8487828585611c7e565b94509450505050611ac1565b8251604003611ab95760208301516040840151611aae868383611d6b565b935093505050611ac1565b506000905060025b9250929050565b6000816004811115611adc57611adc61204d565b03611ae45750565b6001816004811115611af857611af861204d565b03611b455760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107de565b6002816004811115611b5957611b5961204d565b03611ba65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107de565b6003816004811115611bba57611bba61204d565b03611c125760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107de565b6004816004811115611c2657611c2661204d565b036108be5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107de565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611cb55750600090506003611d62565b8460ff16601b14158015611ccd57508460ff16601c14155b15611cde5750600090506004611d62565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611d32573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d5b57600060019250925050611d62565b9150600090505b94509492505050565b6000806001600160ff1b03831681611d8860ff86901c601b612221565b9050611d9687828885611c7e565b935093505050935093915050565b828054611db09061214d565b90600052602060002090601f016020900481019282611dd25760008555611e18565b82601f10611deb5782800160ff19823516178555611e18565b82800160010185558215611e18579182015b82811115611e18578235825591602001919060010190611dfd565b50611e24929150611e28565b5090565b5b80821115611e245760008155600101611e29565b6001600160e01b0319811681146108be57600080fd5b600060208284031215611e6557600080fd5b813561112e81611e3d565b60005b83811015611e8b578181015183820152602001611e73565b83811115611e9a576000848401525b50505050565b6020815260008251806020840152611ebf816040850160208701611e70565b601f01601f19169190910160400192915050565b600060208284031215611ee557600080fd5b5035919050565b6001600160a01b03811681146108be57600080fd5b60008060408385031215611f1457600080fd5b8235611f1f81611eec565b946020939093013593505050565b600060208284031215611f3f57600080fd5b813561112e81611eec565b600080600060608486031215611f5f57600080fd5b8335611f6a81611eec565b92506020840135611f7a81611eec565b929592945050506040919091013590565b60008083601f840112611f9d57600080fd5b50813567ffffffffffffffff811115611fb557600080fd5b602083019150836020828501011115611ac157600080fd5b60008060208385031215611fe057600080fd5b823567ffffffffffffffff811115611ff757600080fd5b61200385828601611f8b565b90969095509350505050565b6000806040838503121561202257600080fd5b823561202d81611eec565b91506020830135801515811461204257600080fd5b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061208557634e487b7160e01b600052602160045260246000fd5b91905290565b6000806000806000608086880312156120a357600080fd5b85356120ae81611eec565b945060208601356120be81611eec565b935060408601359250606086013567ffffffffffffffff8111156120e157600080fd5b6120ed88828901611f8b565b969995985093965092949392505050565b60006020828403121561211057600080fd5b81356003811061112e57600080fd5b6000806040838503121561213257600080fd5b823561213d81611eec565b9150602083013561204281611eec565b600181811c9082168061216157607f821691505b60208210810361218157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156121d5576121d56121ad565b500390565b6000602082840312156121ec57600080fd5b815161112e81611e3d565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b60008219821115612234576122346121ad565b500190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000835161229f818460208801611e70565b8351908301906122b3818360208801611e70565b01949350505050565b6000600182016122ce576122ce6121ad565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826122fa576122fa6122d5565b500490565b634e487b7160e01b600052604160045260246000fd5b600082612324576123246122d5565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c2b510e5fccf5ed2feb52821bbf67a8f8673923c7d7ff809b6581634075c179b64736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000001268747470733a2f2f6c65646765722e636f6d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001268747470733a2f2f6c65646765722e636f6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000285b204c6564676572205d204d61726b65742050617373202d2047656e657369732045646974696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034c4d500000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _maxSupply (uint256): 10000
Arg [1] : _baseTokenURI (string): https://ledger.com
Arg [2] : _baseContractURI (string): https://ledger.com
Arg [3] : _name (string): [ Ledger ] Market Pass - Genesis Edition
Arg [4] : _symbol (string): LMP
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [6] : 68747470733a2f2f6c65646765722e636f6d0000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [8] : 68747470733a2f2f6c65646765722e636f6d0000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [10] : 5b204c6564676572205d204d61726b65742050617373202d2047656e65736973
Arg [11] : 2045646974696f6e000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 4c4d500000000000000000000000000000000000000000000000000000000000
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.