Source Code
Overview
ETH Balance
0.00002 ETH
Token Holdings
More Info
ContractCreator
Multichain Info
N/A
Latest 22 from a total of 22 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Sale Status | 5657416 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5657416 | 3 days ago | IN | 0 ETH | 0.00000208 | ||||
Set Sale Status | 5657416 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5657416 | 3 days ago | IN | 0 ETH | 0.00000208 | ||||
Set Sale Status | 5657416 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5657415 | 3 days ago | IN | 0 ETH | 0.00000261 | ||||
Allowlist Mint | 5655000 | 3 days ago | IN | 0.00002 ETH | 0.00001924 | ||||
Set Sale Status | 5654942 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5654942 | 3 days ago | IN | 0 ETH | 0.00000228 | ||||
Set Sale Status | 5654942 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5654942 | 3 days ago | IN | 0 ETH | 0.00000228 | ||||
Set Sale Status | 5654942 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5654941 | 3 days ago | IN | 0 ETH | 0.00000285 | ||||
Set Sale Status | 5652575 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5652575 | 3 days ago | IN | 0 ETH | 0.00000243 | ||||
Set Sale Status | 5652575 | 3 days ago | IN | 0 ETH | 0.00000194 | ||||
Set Sale Config | 5652575 | 3 days ago | IN | 0 ETH | 0.00000243 | ||||
Set Sale Status | 5652575 | 3 days ago | IN | 0 ETH | 0.00000191 | ||||
Set Sale Config | 5652574 | 3 days ago | IN | 0 ETH | 0.00000195 | ||||
Set Sale Status | 5652229 | 4 days ago | IN | 0 ETH | 0.00000194 | ||||
Set Sale Config | 5652229 | 4 days ago | IN | 0 ETH | 0.00000243 | ||||
Set Max Supply | 5652229 | 4 days ago | IN | 0 ETH | 0.00000223 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657416 | 3 days ago | 0 ETH | ||||
5657415 | 3 days ago | 0 ETH | ||||
5657415 | 3 days ago | 0 ETH | ||||
5657415 | 3 days ago | 0 ETH | ||||
5657415 | 3 days ago | 0 ETH | ||||
5655000 | 3 days ago | 0 ETH | ||||
5655000 | 3 days ago | 0 ETH | ||||
5655000 | 3 days ago | 0 ETH | ||||
5655000 | 3 days ago | 0 ETH | ||||
5655000 | 3 days ago | 0 ETH | ||||
5655000 | 3 days ago | 0 ETH | ||||
5655000 | 3 days ago | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
SignatureMinter
Compiler Version
v0.8.28+commit.7893614a
ZkSolc Version
v1.5.7
Optimization Enabled:
Yes with Mode 3
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import {SignatureChecker} from "@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol"; import {BitMaps} from "@openzeppelin/contracts/utils/structs/BitMaps.sol"; import {IMintableERC721} from "./interfaces/IMintableERC721.sol"; contract SignatureMinter is Ownable { event SaleStatusChange(uint256 indexed saleId, bool enabled); using BitMaps for BitMaps.BitMap; struct SaleConfig { bool enabled; uint8 maxPerTransaction; uint64 unitPrice; address signerAddress; } IMintableERC721 public immutable tokens; uint256 private _maxSupply; mapping(uint256 => SaleConfig) private _saleConfig; mapping(uint256 => BitMaps.BitMap) private _allowlist; modifier canMint( uint256 saleId, address to, uint256 amount ) { _guardMint(to, amount); unchecked { SaleConfig memory saleConfig = _saleConfig[saleId]; require(saleConfig.enabled, "Sale not enabled"); require(amount <= saleConfig.maxPerTransaction, "Exceeds max per transaction"); require(amount * saleConfig.unitPrice == msg.value, "Invalid funds provided"); } _; } constructor(IMintableERC721 tokens_) Ownable() { tokens = tokens_; } function allowlistMint( uint256 saleId, uint256 amount, uint256 nonce, bytes calldata signature ) external payable virtual canMint(saleId, msg.sender, amount) { require(_validateSignature(saleId, nonce, signature), "Invalid signature"); require(!_allowlist[saleId].get(nonce), "Nonce already used"); _allowlist[saleId].set(nonce); _mint(msg.sender, amount); } function getSaleConfig(uint256 saleId) external view returns (SaleConfig memory) { return _saleConfig[saleId]; } function setSaleConfig( uint256 saleId, uint256 maxPerTransaction, uint256 unitPrice, address signerAddress ) external onlyOwner { _saleConfig[saleId].maxPerTransaction = uint8(maxPerTransaction); _saleConfig[saleId].unitPrice = uint64(unitPrice); _saleConfig[saleId].signerAddress = signerAddress; } function setSaleStatus(uint256 saleId, bool enabled) external onlyOwner { if (_saleConfig[saleId].enabled != enabled) { _saleConfig[saleId].enabled = enabled; emit SaleStatusChange(saleId, enabled); } } function getAllowlistNonceStatus(uint256 saleId, uint256 nonce) external view returns (bool) { BitMaps.BitMap storage allowlist = _allowlist[saleId]; return allowlist.get(nonce); } function setAllowlistNonceStatus(uint256 saleId, uint256 nonce, bool value) external onlyOwner { BitMaps.BitMap storage allowlist = _allowlist[saleId]; allowlist.setTo(nonce, value); } function getMaxSupply() external view returns (uint256) { return _maxSupply; } function setMaxSupply(uint256 maxSupply) external onlyOwner { _maxSupply = maxSupply; } function withdraw(address receiver) external onlyOwner { (bool success, ) = receiver.call{value: address(this).balance}(""); require(success, "Withdrawal failed"); } function _validateSignature( uint256 saleId, uint256 nonce, bytes calldata signature ) internal view virtual returns (bool) { bytes32 message = keccak256(abi.encodePacked(saleId, nonce, msg.sender)); bytes32 messageHash = ECDSA.toEthSignedMessageHash(message); return SignatureChecker.isValidSignatureNow(_saleConfig[saleId].signerAddress, messageHash, signature); } function isSignatureValid( uint256 saleId, uint256 nonce, bytes calldata signature ) external view returns (bool) { return _validateSignature(saleId, nonce, signature); } function _guardMint(address /* to */, uint256 quantity) internal view virtual { require(tokens.totalSupply() + quantity <= _maxSupply, "Exceeds minter supply"); } function _mint(address to, uint256 quantity) internal virtual { tokens.mint(to, quantity); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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.8.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 // Deprecated in v4.8 } 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"); } } /** * @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) { 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. /// @solidity memory-safe-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 { 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 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 (last updated v4.8.0) (utils/cryptography/SignatureChecker.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; import "../Address.sol"; import "../../interfaces/IERC1271.sol"; /** * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like * Argent and Gnosis Safe. * * _Available since v4.1._ */ library SignatureChecker { /** * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`. * * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus * change through time. It could return true at block N and false at block N+1 (or the opposite). */ function isValidSignatureNow( address signer, bytes32 hash, bytes memory signature ) internal view returns (bool) { (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature); if (error == ECDSA.RecoverError.NoError && recovered == signer) { return true; } (bool success, bytes memory result) = signer.staticcall( abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature) ); return (success && result.length == 32 && abi.decode(result, (bytes32)) == bytes32(IERC1271.isValidSignature.selector)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/BitMaps.sol) pragma solidity ^0.8.0; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largely inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] &= ~mask; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface IMintableERC721 is IERC721 { function mint(address to, uint256 quantity) external returns (uint256[] memory tokenIds); function totalSupply() external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-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 (interfaces/IERC1271.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC1271 standard signature validation method for * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271]. * * _Available since v4.1._ */ interface IERC1271 { /** * @dev Should return whether the signature provided is valid for the provided data * @param hash Hash of the data to be signed * @param signature Signature byte array associated with _data */ function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// 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); }
{ "viaIR": false, "codegen": "yul", "remappings": [ "@limitbreak/creator-token-standards/=lib/creator-token-standards/", "@openzeppelin/=lib/openzeppelin-contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "murky/=lib/murky/src/", "erc721a/=lib/ERC721A/", "@creator-token-standards/=lib/creator-token-standards/src/", "@limitbreak/permit-c/=lib/creator-token-standards/lib/PermitC/src/", "@opensea/tstorish/=lib/creator-token-standards/lib/tstorish/src/", "@rari-capital/solmate/=lib/creator-token-standards/lib/PermitC/lib/solmate/", "ERC721A/=lib/ERC721A/contracts/", "PermitC/=lib/creator-token-standards/lib/PermitC/", "creator-token-standards/=lib/creator-token-standards/", "erc4626-tests/=lib/murky/lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-gas-metering/=lib/creator-token-standards/lib/PermitC/lib/forge-gas-metering/", "forge-zksync-std/=lib/forge-zksync-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/creator-token-standards/lib/PermitC/lib/openzeppelin-contracts/contracts/", "solady/=lib/creator-token-standards/lib/PermitC/lib/forge-gas-metering/lib/solady/", "solmate/=lib/creator-token-standards/lib/PermitC/lib/solmate/src/", "tstorish/=lib/creator-token-standards/lib/tstorish/src/" ], "evmVersion": "cancun", "outputSelection": { "*": { "*": [ "abi", "metadata" ], "": [ "ast" ] } }, "optimizer": { "enabled": true, "mode": "3", "fallback_to_optimizing_for_size": false, "disable_system_request_memoization": true }, "metadata": {}, "libraries": {}, "enableEraVMExtensions": false, "forceEVMLA": false }
[{"inputs":[{"internalType":"contract IMintableERC721","name":"tokens_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"uint256","name":"saleId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SaleStatusChange","type":"event"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"getAllowlistNonceStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"}],"name":"getSaleConfig","outputs":[{"components":[{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"uint8","name":"maxPerTransaction","type":"uint8"},{"internalType":"uint64","name":"unitPrice","type":"uint64"},{"internalType":"address","name":"signerAddress","type":"address"}],"internalType":"struct SignatureMinter.SaleConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isSignatureValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAllowlistNonceStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"uint256","name":"maxPerTransaction","type":"uint256"},{"internalType":"uint256","name":"unitPrice","type":"uint256"},{"internalType":"address","name":"signerAddress","type":"address"}],"name":"setSaleConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokens","outputs":[{"internalType":"contract IMintableERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
9c4d535b0000000000000000000000000000000000000000000000000000000000000000010001ebe8d057d72ad67ab704e083dcc04e036987b841c491e99af39e802b2400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000507c4ed7d155bd16f2402b03336f5d15004c0e84
Deployed Bytecode
0x00040000000000020009000000000002000000000302001900000060041002700000019d02400197000300000021035500020000000103550000019d0040019d00000001003001900000003e0000c13d0000008003000039000000400030043f000000040020008c000003050000413d000000000301043b000000e003300270000001a50030009c0000007d0000213d000001af0030009c000000980000a13d000001b00030009c000000fe0000213d000001b30030009c0000013a0000613d000001b40030009c000003050000c13d000000240020008c000003050000413d0000000002000416000000000002004b000003050000c13d0000000401100370000000000301043b000001a00030009c000003050000213d000000000100041a000001a0011001970000000002000411000000000021004b000002590000c13d000700000003001d000001c50100004100000000001004430000000001000410000000040010044300000000010004140000019d0010009c0000019d01008041000000c001100210000001c6011001c70000800a02000039066e06690000040f0000000100200190000002620000613d000000000301043b00000000010004140000000704000029000000040040008c0000027e0000c13d000000010200003900000001010000310000028d0000013d0000000003000416000000000003004b000003050000c13d0000001f032000390000019e03300197000000a003300039000000400030043f0000001f0420018f0000019f05200198000000a0035000390000004f0000613d000000a006000039000000000701034f000000007807043c0000000006860436000000000036004b0000004b0000c13d000000000004004b0000005c0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000130435000000200020008c000003050000413d000000a00100043d000001a00010009c000003050000213d000700000001001d000000000100041a000001a1021001970000000006000411000000000262019f000000000020041b0000000002000414000001a0051001970000019d0020009c0000019d02008041000000c001200210000001a2011001c70000800d020000390000000303000039000001a304000041066e06640000040f00000007010000290000000100200190000003050000613d000000800010043f000001400000044300000160001004430000002001000039000001000010044300000001010000390000012000100443000001a4010000410000066f0001042e000001a60030009c000000d70000a13d000001a70030009c0000011a0000213d000001aa0030009c000001420000613d000001ab0030009c000003050000c13d000000440020008c000003050000413d0000000002000416000000000002004b000003050000c13d0000000402100370000000000202043b000000000020043f0000000302000039000000200020043f0000002401100370000000000101043b000700000001001d00000040020000390000000001000019066e06360000040f0000000702000029066e061e0000040f000000f40000013d000001b50030009c000001db0000613d000001b60030009c0000021f0000613d000001b70030009c000003050000c13d000000840020008c000003050000413d0000004403100370000000000703043b0000002403100370000000000503043b0000000403100370000000000603043b0000006403100370000000000303043b000001c00030009c000003050000213d0000002304300039000000000024004b000003050000813d0000000404300039000000000141034f000000000401043b000001c00040009c000003050000213d00000024033000390000000001340019000000000021004b000003050000213d000300000003001d000400000004001d000500000007001d000600000006001d000700000005001d000001c101000041000000000010044300000000010004120000000400100443000000240000044300000000010004140000019d0010009c0000019d01008041000000c001100210000001c9011001c70000800502000039066e06690000040f0000000100200190000002620000613d000000000201043b000000400b00043d000001ca0100004100000000001b04350000000001000414000001a002200197000000040020008c000200000002001d000002cb0000c13d0000000103000031000000200030008c00000020040000390000000004034019000002f70000013d000001ac0030009c0000021a0000613d000001ad0030009c000002480000613d000001ae0030009c000003050000c13d000000640020008c000003050000413d0000000003000416000000000003004b000003050000c13d0000004401100370000000000101043b000001c00010009c000003050000213d0000000401100039066e044f0000040f00000002040003670000002403400370000000000303043b0000000404400370000000000404043b000000000501001900000000060200190000000001040019000000000203001900000000030500190000000004060019066e047f0000040f000000000001004b0000000001000039000000010100c039000000400200043d00000000001204350000019d0020009c0000019d020080410000004001200210000001bd011001c70000066f0001042e000001b10030009c000001920000613d000001b20030009c000003050000c13d0000000001000416000000000001004b000003050000c13d000000000100041a000001a0021001970000000005000411000000000052004b000002590000c13d000001a101100197000000000010041b00000000010004140000019d0010009c0000019d01008041000000c001100210000001a2011001c70000800d020000390000000303000039000001a3040000410000000006000019066e06640000040f0000000100200190000003050000613d00000000010000190000066f0001042e000001a80030009c0000019f0000613d000001a90030009c000003050000c13d000000240020008c000003050000413d0000000002000416000000000002004b000003050000c13d0000000401100370000000000601043b000001a00060009c000003050000213d000000000100041a000001a0021001970000000005000411000000000052004b000002590000c13d000000000006004b000002630000c13d000001b801000041000000800010043f0000002001000039000000840010043f0000002601000039000000a40010043f000001b901000041000000c40010043f000001ba01000041000000e40010043f000001bb0100004100000670000104300000000001000416000000000001004b000003050000c13d0000000101000039000000000101041a000000800010043f000001c2010000410000066f0001042e000000440020008c000003050000413d0000000002000416000000000002004b000003050000c13d0000000402100370000000000302043b0000002401100370000000000401043b000000000004004b0000000001000039000000010100c039000000000014004b000003050000c13d000000000100041a000001a0011001970000000002000411000000000021004b000002590000c13d000000000030043f0000000201000039000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039000700000003001d000600000004001d066e06690000040f000000060400002900000007030000290000000100200190000003050000613d000000000004004b0000000002000039000000010200c039000000000101043b000000000101041a000000ff0010019000000000010000390000000101006039000000000112013f0000000100100190000001180000c13d000000000030043f0000000201000039000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f000000060400002900000007050000290000000100200190000003050000613d000000000101043b000000000201041a000001df02200197000000000242019f000000000021041b000000400100043d00000000004104350000019d0010009c0000019d01008041000000400110021000000000020004140000019d0020009c0000019d02008041000000c002200210000000000112019f000001be011001c70000800d020000390000000203000039000001bf04000041000001150000013d000000240020008c000003050000413d0000000001000416000000000001004b000003050000c13d066e04690000040f00000004010000390000000201100367000000000101043b0000000102000039000000000012041b00000000010000190000066f0001042e000000640020008c000003050000413d0000000002000416000000000002004b000003050000c13d0000002402100370000000000402043b0000004402100370000000000502043b000000000005004b0000000002000039000000010200c039000000000025004b000003050000c13d000000000200041a000001a0022001970000000003000411000000000032004b000002590000c13d0000000401100370000000000101043b000000000010043f0000000301000039000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039000700000004001d000600000005001d066e06690000040f000000060400002900000007030000290000000100200190000003050000613d000000000101043b0000000802300270000000000020043f000000200010043f000000000004004b0000026f0000c13d00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f00000001002001900000000703000029000003050000613d000001e0023002df000000000101043b000000000301041a000000000223016f000000000021041b00000000010000190000066f0001042e000000840020008c000003050000413d0000000002000416000000000002004b000003050000c13d0000006402100370000000000202043b000001a00020009c000003050000213d0000000401100370000000000101043b000700000001001d000600000002001d066e04690000040f0000000701000029000000000010043f0000000201000039000000200010043f00000040020000390000000001000019066e06360000040f000000000301041a000001e102300197000000020300036700050000000303530000002403300370000000000303043b00000008033002100000ff000330018f000000000223019f000000000021041b0000000701000029000000000010043f0000000201000039000000200010043f00000000010000190000004002000039066e06360000040f000000050200035f0000004402200370000000000301041a000001db03300197000000000202043b0000001002200210000001dc02200197000000000232019f000000000021041b0000000701000029000000000010043f0000000201000039000000200010043f00000000010000190000004002000039066e06360000040f00000006020000290000005002200210000001dd02200197000000000301041a000001de03300197000000000223019f000000000021041b00000000010000190000066f0001042e0000000001000416000000000001004b000003050000c13d000000000100041a000002550000013d000000240020008c000003050000413d0000000002000416000000000002004b000003050000c13d0000010002000039000000400020043f000000800000043f000000a00000043f000000c00000043f000000e00000043f0000000401100370000000000101043b000000000010043f0000000201000039000000200010043f00000040020000390000000001000019066e06360000040f0000018002000039000000400020043f000000000101041a000000ff001001900000000002000039000000010200c039000001000020043f0000000803100270000000ff0330018f000001200030043f0000001004100270000001c004400197000001400040043f0000005001100270000001a001100197000001600010043f000001800020043f000001a00030043f000001c00040043f000001e00010043f000001da010000410000066f0001042e0000000001000416000000000001004b000003050000c13d0000000001000412000900000001001d000800000000003d000080050100003900000044030000390000000004000415000000090440008a0000000504400210000001c102000041066e064b0000040f000001a001100197000000800010043f000001c2010000410000066f0001042e000001b801000041000000800010043f0000002001000039000000840010043f000000a40010043f000001c301000041000000c40010043f000001c4010000410000067000010430000000000001042f000001a101100197000000000161019f000000000010041b00000000010004140000019d0010009c0000019d01008041000000c001100210000001a2011001c70000800d020000390000000303000039000001a304000041000001150000013d00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f00000001002001900000000702000029000003050000613d000000ff0220018f000000010220020f000000000101043b000000000301041a000002160000013d0000019d0010009c0000019d01008041000000c001100210000000000003004b000002850000c13d0000000002040019000002880000013d000001a2011001c700008009020000390000000005000019066e06640000040f000300000001035500000060011002700001019d0010019d0000019d01100197000000000001004b000002a20000c13d0000000100200190000001180000c13d000000400100043d0000004402100039000001c7030000410000000000320435000000240210003900000011030000390000000000320435000001b80200004100000000002104350000000402100039000000200300003900000000003204350000019d0010009c0000019d010080410000004001100210000001c8011001c70000067000010430000001c00010009c000003430000213d0000001f04100039000001e2044001970000003f04400039000001e205400197000000400400043d0000000005540019000000000045004b00000000060000390000000106004039000001c00050009c000003430000213d0000000100600190000003430000c13d000000400050043f0000000006140436000001e2031001980000001f0410018f00000000013600190000000305000367000002bd0000613d000000000705034f000000007807043c0000000006860436000000000016004b000002b90000c13d000000000004004b0000028f0000613d000000000335034f0000000304400210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f00000000003104350000028f0000013d0000019d00b0009c0000019d0300004100000000030b401900000040033002100000019d0010009c0000019d01008041000000c001100210000000000131019f000001cb011001c700010000000b001d066e06690000040f000000010b00002900000060031002700000019d03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b0019000002e60000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000002e20000c13d000000000006004b000002f30000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f00030000000103550000000100200190000003070000613d0000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000001c00010009c0000000704000029000003430000213d0000000100200190000003430000c13d000000400010043f000000200030008c000003250000813d000000000100001900000670000104300000001f0530018f0000019f06300198000000400200043d0000000004620019000003120000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b0000030e0000c13d000000000005004b0000031f0000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000019d0020009c0000019d020080410000004002200210000000000112019f000006700001043000000000020b0433000000000042001a000004490000413d00000000024200190000000103000039000000000303041a000000000032004b000003330000a13d0000004402100039000001d703000041000000000032043500000024021000390000001503000039000002970000013d0000000601000029000000000010043f0000000201000039000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f0000000100200190000003050000613d000000400200043d000001cc0020009c000003490000a13d000001d801000041000000000010043f0000004101000039000000040010043f000001d9010000410000067000010430000000000101043b0000008003200039000000400030043f000000000301041a0000005001300270000001a001100197000000600420003900000000001404350000001001300270000001c00110019700000040042000390000000000140435000000ff003001900000000004000039000000010400c03900000000044204360000000802300270000000ff0220018f0000000000240435000003660000613d000000070020006b0000036d0000a13d000000400100043d0000004402100039000001d603000041000000000032043500000024021000390000001b03000039000002970000013d000000400100043d0000004402100039000001cd03000041000000000032043500000024021000390000001003000039000002970000013d00000007011000b90000000002000416000000000021004b0000037c0000c13d0000000601000029000000050200002900000003030000290000000404000029066e047f0000040f000000000001004b000003830000c13d000000400100043d0000004402100039000001d503000041000002940000013d000000400100043d0000004402100039000001ce03000041000000000032043500000024021000390000001603000039000002970000013d0000000601000029000000000010043f0000000301000039000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f00000001002001900000000502000029000003050000613d000000000101043b0000000802200270000400000002001d000000000020043f000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f00000005030000290000000100200190000003050000613d000000ff0230018f0005000100200217000000000101043b000000000101041a0000000500100180000003d50000c13d0000000601000029000000000010043f0000000301000039000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f0000000100200190000003050000613d000000000101043b0000000402000029000000000020043f000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f00000007030000290000000100200190000003050000613d000000000101043b000000000201041a00000005022001af000000000021041b000000400200043d00000024012000390000000000310435000001d0010000410000000000120435000700000002001d00000004012000390000000002000411000000000021043500000000010004140000000202000029000000040020008c000003dc0000c13d00000003010003670000000103000031000003ed0000013d000000400100043d0000004402100039000001cf03000041000000000032043500000024021000390000001203000039000002970000013d00000007020000290000019d0020009c0000019d0200804100000040022002100000019d0010009c0000019d01008041000000c001100210000000000121019f000001d1011001c70000000202000029066e06640000040f00000060031002700001019d0030019d0000019d03300197000300000001035500000001002001900000043d0000613d000001e2053001980000001f0630018f0000000704500029000003f70000613d000000000701034f0000000708000029000000007907043c0000000008980436000000000048004b000003f30000c13d000000000006004b000004040000613d000000000151034f0000000305600210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f00000000001404350000001f01300039000001e2021001970000000701200029000000000021004b00000000020000390000000102004039000001c00010009c000003430000213d0000000100200190000003430000c13d000000400010043f000001d20030009c000003050000213d000000200030008c000003050000413d00000007020000290000000002020433000001c00020009c000003050000213d000000070330002900000007022000290000001f04200039000000000034004b0000000005000019000001d305008041000001d304400197000001d306300197000000000764013f000000000064004b0000000004000019000001d304004041000001d30070009c000000000405c019000000000004004b000003050000c13d0000000024020434000001c00040009c000003430000213d00000005054002100000003f06500039000001d4066001970000000006160019000001c00060009c000003430000213d000000400060043f00000000004104350000000004250019000000000034004b000003050000213d000000000042004b000001180000813d000000200110003900000000230204340000000000310435000000000042004b000004370000413d000001180000013d0000001f0530018f0000019f06300198000000400200043d0000000004620019000003120000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000004440000c13d000003120000013d000001d801000041000000000010043f0000001101000039000000040010043f000001d90100004100000670000104300000001f03100039000000000023004b0000000004000019000001d304004041000001d305200197000001d303300197000000000653013f000000000053004b0000000003000019000001d303002041000001d30060009c000000000304c019000000000003004b000004670000613d0000000203100367000000000303043b000001c00030009c000004670000213d00000020011000390000000004310019000000000024004b000004670000213d0000000002030019000000000001042d00000000010000190000067000010430000000000100041a000001a0011001970000000002000411000000000021004b0000046f0000c13d000000000001042d000000400100043d0000004402100039000001c3030000410000000000320435000001b8020000410000000000210435000000240210003900000020030000390000000000320435000000040210003900000000003204350000019d0010009c0000019d010080410000004001100210000001c8011001c700000670000104300004000000000002000400000004001d000300000003001d00000000030004110000006003300210000000400500043d000000600450003900000000003404350000004003500039000000000023043500000054020000390000000002250436000100000001001d0000000000120435000001e30050009c000005f80000813d0000008003500039000000400030043f0000019d0020009c0000019d02008041000000400220021000000000010504330000019d0010009c0000019d010080410000006001100210000000000121019f00000000020004140000019d0020009c0000019d02008041000000c002200210000000000112019f000001a2011001c70000801002000039066e06690000040f0000000100200190000005fe0000613d000000000301043b000000400100043d0000002002100039000001e40400004100000000004204350000003c0410003900000000003404350000003c030000390000000000310435000001e50010009c000005f80000213d0000006003100039000000400030043f0000019d0020009c0000019d02008041000000400220021000000000010104330000019d0010009c0000019d010080410000006001100210000000000121019f00000000020004140000019d0020009c0000019d02008041000000c002200210000000000112019f000001a2011001c70000801002000039066e06690000040f0000000100200190000005fe0000613d000000000101043b000200000001001d0000000101000029000000000010043f0000000201000039000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f0000000100200190000005fe0000613d000000000101043b0000000402000029000001c00020009c000005f80000213d00000004020000290000001f02200039000000200b00008a0000000002b2016f0000003f022000390000000002b2016f000000400900043d0000000002290019000000000092004b00000000030000390000000103004039000001c00020009c000005f80000213d0000000100300190000005f80000c13d000000000101041a000000400020043f0000000402000029000000000c2904360000000302200029000000000020007c000005fe0000213d00000004020000290000000003b201700000001f0420018f0000000302000029000000020520036700000000023c0019000004f80000613d000000000605034f00000000070c0019000000006806043c0000000007870436000000000027004b000004f40000c13d000000000004004b000005050000613d000000000335034f0000000304400210000000000502043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000320435000000500d1002700000000401c0002900000000000104350000000001090433000000410010008c0000050f0000c13d00000040019000390000000001010433000001e60010009c000005b00000a13d000000400300043d0000004401300039000000400200003900000000002104350000002001300039000001e80200004100000000002104350000002402300039000000020400002900000000004204350000000002090433000000640430003900000000002404350000000006b2016f0000001f0520018f000000840430003900000000004c004b000005310000813d000000000006004b0000052d0000613d00000000085c00190000000007540019000000200770008a000000200880008a0000000009670019000000000a680019000000000a0a04330000000000a90435000000200660008c000005270000c13d000000000005004b000005470000613d00000000070400190000053d0000013d0000000007640019000000000006004b0000053a0000613d00000000080c00190000000009040019000000008a0804340000000009a90436000000000079004b000005360000c13d000000000005004b000005470000613d000000000c6c00190000000305500210000000000607043300000000065601cf000000000656022f00000000080c04330000010005500089000000000858022f00000000055801cf000000000565019f0000000000570435000000000442001900000000000404350000001f022000390000000002b2016f00000064042000390000000000430435000000a3022000390000000002b2016f0000000004320019000000000024004b00000000020000390000000102004039000001c00040009c000005f80000213d0000000100200190000005f80000c13d000001a002d00197000000400040043f00000000040304330000000003000414000000040020008c000005950000c13d00000001020000390000000104000031000000000004004b000005a90000613d000001c00040009c000005f80000213d0000001f014000390000000001b1016f0000003f011000390000000003b1016f000000400100043d0000000003310019000000000013004b00000000050000390000000105004039000001c00030009c000005f80000213d0000000100500190000005f80000c13d000000400030043f00000000034104360000000005b401700000001f0640018f000000000453001900000003070003670000057d0000613d000000000807034f0000000009030019000000008a08043c0000000009a90436000000000049004b000005790000c13d000000000006004b0000058a0000613d000000000557034f0000000306600210000000000704043300000000076701cf000000000767022f000000000505043b0000010006600089000000000565022f00000000056501cf000000000575019f0000000000540435000000000002004b000005ad0000613d0000000001010433000000200010008c0000000001000019000005ae0000c13d0000000001030433000001e80010009c00000000010000390000000101006039000005ae0000013d0000019d0010009c0000019d0100804100000040011002100000019d0040009c0000019d040080410000006004400210000000000114019f0000019d0030009c0000019d03008041000000c003300210000000000131019f066e06690000040f000000200b00008a000000010220018f000300000001035500000060011002700001019d0010019d0000019d04100197000000000004004b000005610000c13d00000060010000390000008003000039000000000002004b0000058c0000c13d0000000001000019000000010110018f000000000001042d00030000000d001d000100000009001d0000006002900039000000000202043300040000000c001d00000000030c0433000000400400043d0000006005400039000000000015043500000040014000390000000000310435000000f8012002700000002002400039000000000012043500000002010000290000000000140435000000000000043f0000019d0040009c0000019d04008041000000400140021000000000020004140000019d0020009c0000019d02008041000000c002200210000000000112019f000001e7011001c70000000102000039066e06690000040f00000060031002700000019d03300197000000200030008c000000200400003900000000040340190000001f0540018f0000002004400190000005da0000613d000000000601034f0000000007000019000000006806043c0000000007870436000000000047004b000005d60000c13d000000000005004b000005e70000613d000000000641034f0000000305500210000000000704043300000000075701cf000000000757022f000000000606043b0000010005500089000000000656022f00000000055601cf000000000575019f0000000000540435000100000003001f00030000000103550000000100200190000000200b00008a000000040c000029000000030d0000290000000109000029000006000000613d000000000200043d000001a000200198000000000200601900000001010000390000050f0000613d0000000002d2013f000001a000200198000005af0000613d0000050f0000013d000001d801000041000000000010043f0000004101000039000000040010043f000001d9010000410000067000010430000000000100001900000670000104300000001f0530018f0000019f06300198000000400200043d00000000046200190000060b0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000006070000c13d000000000005004b000006180000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000019d0020009c0000019d020080410000004002200210000000000112019f00000670000104300001000000000002000100000002001d0000000802200270000000000020043f000000200010043f00000000010004140000019d0010009c0000019d01008041000000c001100210000001bc011001c70000801002000039066e06690000040f0000000100200190000006330000613d0000000102000029000000ff0220018f000000000101043b000000000101041a000000000121022f000000010110018f000000000001042d00000000010000190000067000010430000000000001042f0000019d0010009c0000019d0100804100000040011002100000019d0020009c0000019d020080410000006002200210000000000112019f00000000020004140000019d0020009c0000019d02008041000000c002200210000000000112019f000001a2011001c70000801002000039066e06690000040f0000000100200190000006490000613d000000000101043b000000000001042d0000000001000019000006700001043000000000050100190000000000200443000000040100003900000005024002700000000002020031000000000121043a0000002004400039000000000031004b0000064e0000413d0000019d0030009c0000019d03008041000000600130021000000000020004140000019d0020009c0000019d02008041000000c002200210000000000112019f000001e9011001c70000000002050019066e06690000040f0000000100200190000006630000613d000000000101043b000000000001042d000000000001042f00000667002104210000000102000039000000000001042d0000000002000019000000000001042d0000066c002104230000000102000039000000000001042d0000000002000019000000000001042d0000066e000004320000066f0001042e000006700001043000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e00000000200000000000000000000000000000080000001000000000000000000000000000000000000000000000000000000000000000000000000008da5cb5a00000000000000000000000000000000000000000000000000000000b54c5c3000000000000000000000000000000000000000000000000000000000d17f57b600000000000000000000000000000000000000000000000000000000d17f57b700000000000000000000000000000000000000000000000000000000f2fde38b00000000000000000000000000000000000000000000000000000000b54c5c3100000000000000000000000000000000000000000000000000000000c5fa9ace000000000000000000000000000000000000000000000000000000008da5cb5b000000000000000000000000000000000000000000000000000000009d63848a00000000000000000000000000000000000000000000000000000000aa67be03000000000000000000000000000000000000000000000000000000004c0f38c1000000000000000000000000000000000000000000000000000000006f8b44af000000000000000000000000000000000000000000000000000000006f8b44b000000000000000000000000000000000000000000000000000000000715018a6000000000000000000000000000000000000000000000000000000004c0f38c20000000000000000000000000000000000000000000000000000000051cff8d90000000000000000000000000000000000000000000000000000000014bedada0000000000000000000000000000000000000000000000000000000018d425d1000000000000000000000000000000000000000000000000000000004831793d08c379a0000000000000000000000000000000000000000000000000000000004f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000800000000000000000020000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000200000000000000000000000000000000000020000000000000000000000000dc9c33543bf9b9927437d643702debb0a51f3673cd8991fb0f03bd169e939b3c000000000000000000000000000000000000000000000000ffffffffffffffff310ab089e4439a4c15d089f94afb7896ff553aecb10793d0ab882de59d99a32e00000000000000000000000000000000000000200000008000000000000000004f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000640000008000000000000000009cc7f708afc65944829bd487b90b72536b1951864fbfc14e125fc972a6507f3902000002000000000000000000000000000000240000000000000000000000005769746864726177616c206661696c65640000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000020000020000000000000000000000000000004400000000000000000000000018160ddd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f53616c65206e6f7420656e61626c656400000000000000000000000000000000496e76616c69642066756e64732070726f7669646564000000000000000000004e6f6e636520616c72656164792075736564000000000000000000000000000040c10f190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0496e76616c6964207369676e617475726500000000000000000000000000000045786365656473206d617820706572207472616e73616374696f6e000000000045786365656473206d696e74657220737570706c7900000000000000000000004e487b710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000080000001800000000000000000ffffffffffffffffffffffffffffffffffffffffffff0000000000000000ffff00000000000000000000000000000000000000000000ffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff00000000000000000000ffff0000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0000000000000000000000000000000000000000000000000ffffffffffffff8019457468657265756d205369676e6564204d6573736167653a0a333200000000000000000000000000000000000000000000000000000000ffffffffffffff9f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a000000000000000000000000000000000000000800000000000000000000000001626ba7e00000000000000000000000000000000000000000000000000000000020000020000000000000000000000000000000000000000000000000000000056562f0dc4c6662925dfaf0255faf31e9c87a45b59fcde2c42761e35c03b2a8d
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000507c4ed7d155bd16f2402b03336f5d15004c0e84
-----Decoded View---------------
Arg [0] : tokens_ (address): 0x507C4ED7d155bD16f2402b03336f5d15004C0E84
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000507c4ed7d155bd16f2402b03336f5d15004c0e84
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.