Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 10 from a total of 10 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Private Mint | 15821881 | 829 days ago | IN | 1.75 ETH | 0.00222205 | ||||
Set Stage | 15821876 | 829 days ago | IN | 0 ETH | 0.00040346 | ||||
Private Mint | 15821870 | 829 days ago | IN | 1.75 ETH | 0.000486 | ||||
Minter Public Mi... | 15821805 | 829 days ago | IN | 0 ETH | 0.00121543 | ||||
Public Mint | 15821791 | 829 days ago | IN | 0.25 ETH | 0.00156121 | ||||
Set Stage | 15821699 | 829 days ago | IN | 0 ETH | 0.00038094 | ||||
Minter Private M... | 15821540 | 829 days ago | IN | 0 ETH | 0.0010212 | ||||
Private Mint | 15821057 | 829 days ago | IN | 0.25 ETH | 0.00252629 | ||||
Set Stage | 15821055 | 829 days ago | IN | 0 ETH | 0.00040995 | ||||
Private Mint | 15821042 | 829 days ago | IN | 0.25 ETH | 0.00040324 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Minter
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 150 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/Minter.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./lib/Waitlist.sol"; interface IToken { function mint(address owner, uint256 quantity, uint256[] calldata options) external; } contract Minter is Pausable, AccessControl { enum Stage{ CLOSED, PRIVATE, PUBLIC } bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant SIGNER_ROLE = keccak256("SIGNER_ROLE"); uint256 public price; uint256 public erc20price; mapping(address => uint32) public privateMinted; mapping(address => uint32) public publicMinted; address public tokenAddress; address public forwarderAddress; address public erc20Address; bytes32 private domainSeparator; uint32 public maxPublicMintedPerAccount; Stage public stage; // Additional events for logging event ChangeStage(Stage _stage); event ChangePrice(uint256 _price); event ChangeERC20Price(uint256 _price); event ChangeERC20Address(address _address); event ChangeMaxPublicMintedPerAccount(uint32 _value); constructor( uint256 _price, uint256 _erc20price, uint32 _maxPublicMinted, address _tokenAddress, address _forwarderAddress, address _erc20Address, string memory _appName, string memory _version ) { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); tokenAddress = _tokenAddress; forwarderAddress = _forwarderAddress; erc20Address = _erc20Address; price = _price; maxPublicMintedPerAccount = _maxPublicMinted; erc20price = _erc20price; stage = Stage.CLOSED; domainSeparator = keccak256(abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(_appName)), keccak256(bytes(_version)), block.chainid, address(this) )); } function setAdmin(address _newAdmin) external onlyRole(DEFAULT_ADMIN_ROLE) { require(_newAdmin != address(0), 'empty address'); _grantRole(DEFAULT_ADMIN_ROLE, _newAdmin); _revokeRole(DEFAULT_ADMIN_ROLE, msg.sender); } function addMinter(address _minter) external onlyRole(DEFAULT_ADMIN_ROLE) { _grantRole(MINTER_ROLE, _minter); } function addSigner(address _signer) external onlyRole(DEFAULT_ADMIN_ROLE) { _grantRole(SIGNER_ROLE, _signer); } function setPrice(uint256 _price) external onlyRole(DEFAULT_ADMIN_ROLE) { price = _price; emit ChangePrice(_price); } function setERC20Price(uint256 _price) external onlyRole(DEFAULT_ADMIN_ROLE) { erc20price = _price; emit ChangeERC20Price(_price); } function setERC20Address(address _address) external onlyRole(DEFAULT_ADMIN_ROLE) { erc20Address = _address; emit ChangeERC20Address(_address); } function setMaxPublicMintedPerAccount(uint32 _maxPublicMintedPerAccount) external onlyRole(DEFAULT_ADMIN_ROLE) { maxPublicMintedPerAccount = _maxPublicMintedPerAccount; emit ChangeMaxPublicMintedPerAccount(_maxPublicMintedPerAccount); } function setStage(Stage _stage) public onlyRole(DEFAULT_ADMIN_ROLE) { stage = _stage; emit ChangeStage(_stage); } function pause() external onlyRole(DEFAULT_ADMIN_ROLE) { _pause(); } function unPause() external onlyRole(DEFAULT_ADMIN_ROLE) { _unpause(); } function withdraw(address _to) external onlyRole(DEFAULT_ADMIN_ROLE) { payable(_to).transfer(address(this).balance); } function withdrawERC20(address _to, address _tokenContract, uint256 _amount) external onlyRole(DEFAULT_ADMIN_ROLE) { IERC20(_tokenContract).transfer(_to, _amount); } function withdrawERC721(address _to, address _tokenContract, uint256 _tokenId) external onlyRole(DEFAULT_ADMIN_ROLE) { IERC721(_tokenContract).transferFrom(address(this), _to, _tokenId); } function privateMint(uint32 _amount, LibWaitlist.Waitlist calldata _waitlist, bytes calldata _signature, uint256[] calldata _options) external payable whenNotPaused passingStage(Stage.PRIVATE) { require(verifyTypedDataHash(domainSeparator, _waitlist, _signature), "bad sig"); require(_waitlist.owner == msg.sender, "bad sender"); require(msg.value >= _amount * price, "bad value"); require(privateMinted[msg.sender] + _amount <= _waitlist.amount, "bad amount"); privateMinted[msg.sender] += _amount; IToken(tokenAddress).mint(msg.sender, _amount, _options); payable(forwarderAddress).transfer(msg.value); } // minterPrivateMint is used by owner for minting tokens that were bought for fiat money function minterPrivateMint(address _wallet, uint32 _amount, uint32 _maxAmount, uint256[] calldata _options) external onlyRole(MINTER_ROLE) whenNotPaused passingStage(Stage.PRIVATE) { require(privateMinted[_wallet] + _amount <= _maxAmount, "bad amount"); privateMinted[_wallet] += _amount; IToken(tokenAddress).mint(_wallet, _amount, _options); } function publicMint(uint32 _amount, uint256[] calldata _options) external payable whenNotPaused passingStage(Stage.PUBLIC) { require(msg.value >= _amount * price, "bad value"); require(publicMinted[msg.sender] + _amount <= maxPublicMintedPerAccount, "bad amount"); publicMinted[msg.sender] += _amount; IToken(tokenAddress).mint(msg.sender, _amount, _options); payable(forwarderAddress).transfer(msg.value); } // minterPublicMint is used by owner for minting tokens that were bought for fiat money function minterPublicMint(address _wallet, uint32 _amount, uint256[] calldata _options) external onlyRole(MINTER_ROLE) whenNotPaused passingStage(Stage.PUBLIC) { require(publicMinted[_wallet] + _amount <= maxPublicMintedPerAccount, "bad amount"); publicMinted[_wallet] += _amount; IToken(tokenAddress).mint(_wallet, _amount, _options); } function privateMintERC20(uint32 _amount, LibWaitlist.Waitlist calldata _waitlist, bytes calldata _signature, uint256[] calldata _options) external whenNotPaused passingStage(Stage.PRIVATE) { require(verifyTypedDataHash(domainSeparator, _waitlist, _signature), "bad sig"); require(_waitlist.owner == msg.sender, "bad sender"); require(privateMinted[msg.sender] + _amount <= _waitlist.amount, "bad amount"); privateMinted[msg.sender] += _amount; IERC20(erc20Address).transferFrom(msg.sender, forwarderAddress, _amount * erc20price); IToken(tokenAddress).mint(msg.sender, _amount, _options); } function publicMintERC20(uint32 _amount, uint256[] calldata _options) external whenNotPaused passingStage(Stage.PUBLIC) { require(publicMinted[msg.sender] +_amount <= maxPublicMintedPerAccount, "bad amount"); publicMinted[msg.sender] += _amount; IERC20(erc20Address).transferFrom(msg.sender, forwarderAddress, _amount * erc20price); IToken(tokenAddress).mint(msg.sender, _amount, _options); } modifier passingStage(Stage _stage) { require(stage == _stage, "bad stage"); _; } function verifyTypedDataHash(bytes32 _domainSeparator, LibWaitlist.Waitlist calldata _waitlist, bytes calldata _signature) internal view returns (bool) { bytes32 digest = ECDSA.toTypedDataHash(_domainSeparator, LibWaitlist.hash(_waitlist)); address signer = ECDSA.recover(digest, _signature); return hasRole(SIGNER_ROLE, signer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// 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: Unlicense pragma solidity ^0.8.0; library LibWaitlist { bytes32 public constant TYPE_HASH = keccak256("Waitlist(address owner,uint32 amount)"); struct Waitlist { address owner; uint32 amount; } function hash(Waitlist memory _waitlist) internal pure returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, _waitlist.owner, _waitlist.amount)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
{ "optimizer": { "enabled": true, "runs": 150 }, "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":"_price","type":"uint256"},{"internalType":"uint256","name":"_erc20price","type":"uint256"},{"internalType":"uint32","name":"_maxPublicMinted","type":"uint32"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_forwarderAddress","type":"address"},{"internalType":"address","name":"_erc20Address","type":"address"},{"internalType":"string","name":"_appName","type":"string"},{"internalType":"string","name":"_version","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"ChangeERC20Address","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"ChangeERC20Price","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"_value","type":"uint32"}],"name":"ChangeMaxPublicMintedPerAccount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"ChangePrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum Minter.Stage","name":"_stage","type":"uint8"}],"name":"ChangeStage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"addSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"erc20Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forwarderAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintedPerAccount","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint32","name":"_amount","type":"uint32"},{"internalType":"uint32","name":"_maxAmount","type":"uint32"},{"internalType":"uint256[]","name":"_options","type":"uint256[]"}],"name":"minterPrivateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint32","name":"_amount","type":"uint32"},{"internalType":"uint256[]","name":"_options","type":"uint256[]"}],"name":"minterPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_amount","type":"uint32"},{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"internalType":"struct LibWaitlist.Waitlist","name":"_waitlist","type":"tuple"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256[]","name":"_options","type":"uint256[]"}],"name":"privateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_amount","type":"uint32"},{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"internalType":"struct LibWaitlist.Waitlist","name":"_waitlist","type":"tuple"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256[]","name":"_options","type":"uint256[]"}],"name":"privateMintERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"privateMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_amount","type":"uint32"},{"internalType":"uint256[]","name":"_options","type":"uint256[]"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_amount","type":"uint32"},{"internalType":"uint256[]","name":"_options","type":"uint256[]"}],"name":"publicMintERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setERC20Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setERC20Price","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxPublicMintedPerAccount","type":"uint32"}],"name":"setMaxPublicMintedPerAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Minter.Stage","name":"_stage","type":"uint8"}],"name":"setStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stage","outputs":[{"internalType":"enum Minter.Stage","name":"","type":"uint8"}],"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":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"withdrawERC721","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002b8938038062002b89833981016040819052620000349162000291565b6000805460ff191681556200004a903362000129565b600680546001600160a01b03199081166001600160a01b0388811691909117909255600780548216878416179055600880549091169185169190911790556002889055600a8054600389905564ffffffffff191663ffffffff88161790558151602080840191909120825183830120604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f9481019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120600981905550505050505050505062000376565b62000135828262000139565b5050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620001355760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b80516001600160a01b0381168114620001d957600080fd5b919050565b600082601f830112620001ef578081fd5b81516001600160401b03808211156200020c576200020c62000360565b604051601f8301601f19908116603f0116810190828211818310171562000237576200023762000360565b8160405283815260209250868385880101111562000253578485fd5b8491505b8382101562000276578582018301518183018401529082019062000257565b838211156200028757848385830101525b9695505050505050565b600080600080600080600080610100898b031215620002ae578384fd5b8851975060208901519650604089015163ffffffff81168114620002d0578485fd5b9550620002e060608a01620001c1565b9450620002f060808a01620001c1565b93506200030060a08a01620001c1565b60c08a01519093506001600160401b03808211156200031d578384fd5b6200032b8c838d01620001de565b935060e08b015191508082111562000341578283fd5b50620003508b828c01620001de565b9150509295985092959890939650565b634e487b7160e01b600052604160045260246000fd5b61280380620003866000396000f3fe6080604052600436106102255760003560e01c806391b7f5ed11610123578063b8e8d21f116100ab578063ce3cd9971161006f578063ce3cd997146106a6578063d5391393146106c6578063d547741f146106e8578063eb12d61e14610708578063f7b188a51461072857600080fd5b8063b8e8d21f14610615578063b97ffd0914610632578063c040e6b814610645578063c32fe85b14610673578063c9ed79eb1461068657600080fd5b80639c5ba0b4116100f25780639c5ba0b4146105765780639d76ea5814610596578063a035b1fe146105b6578063a1ebf35d146105cc578063a217fddf1461060057600080fd5b806391b7f5ed146104f657806391d14854146105165780639397a28414610536578063983b2d561461055657600080fd5b80634025feb2116101b157806363dab6331161017557806363dab63314610461578063704b6c02146104815780637617ebdd146104a15780638456cb59146104c157806385eae376146104d657600080fd5b80634025feb2146103c957806341bec0d2146103e957806344004cc11461040957806351cff8d9146104295780635c975abb1461044957600080fd5b8063248a9ca3116101f8578063248a9ca314610303578063276184ae146103345780632a7144f7146103545780632f2ff15d1461038757806336568abe146103a957600080fd5b806301ffc9a71461022a5780631015805b1461025f578063174ab889146102a75780632062615c146102df575b600080fd5b34801561023657600080fd5b5061024a61024536600461235e565b61073d565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061029261027a3660046121d3565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610256565b3480156102b357600080fd5b506007546102c7906001600160a01b031681565b6040516001600160a01b039091168152602001610256565b3480156102eb57600080fd5b506102f560035481565b604051908152602001610256565b34801561030f57600080fd5b506102f561031e36600461231b565b6000908152600160208190526040909120015490565b34801561034057600080fd5b506008546102c7906001600160a01b031681565b34801561036057600080fd5b5061029261036f3660046121d3565b60046020526000908152604090205463ffffffff1681565b34801561039357600080fd5b506103a76103a2366004612333565b610774565b005b3480156103b557600080fd5b506103a76103c4366004612333565b6107a0565b3480156103d557600080fd5b506103a76103e43660046121ed565b610823565b3480156103f557600080fd5b506103a76104043660046121d3565b610897565b34801561041557600080fd5b506103a76104243660046121ed565b6108f9565b34801561043557600080fd5b506103a76104443660046121d3565b61098e565b34801561045557600080fd5b5060005460ff1661024a565b34801561046d57600080fd5b506103a761047c366004612425565b6109cf565b34801561048d57600080fd5b506103a761049c3660046121d3565b610ba1565b3480156104ad57600080fd5b506103a76104bc36600461231b565b610c09565b3480156104cd57600080fd5b506103a7610c4a565b3480156104e257600080fd5b506103a76104f1366004612228565b610c61565b34801561050257600080fd5b506103a761051136600461231b565b610dfc565b34801561052257600080fd5b5061024a610531366004612333565b610e3d565b34801561054257600080fd5b506103a761055136600461240b565b610e68565b34801561056257600080fd5b506103a76105713660046121d3565b610ebc565b34801561058257600080fd5b506103a7610591366004612476565b610ee0565b3480156105a257600080fd5b506006546102c7906001600160a01b031681565b3480156105c257600080fd5b506102f560025481565b3480156105d857600080fd5b506102f57fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b34801561060c57600080fd5b506102f5600081565b34801561062157600080fd5b50600a546102929063ffffffff1681565b6103a7610640366004612476565b61118f565b34801561065157600080fd5b50600a5461066690600160201b900460ff1681565b6040516102569190612625565b6103a7610681366004612425565b611421565b34801561069257600080fd5b506103a76106a1366004612287565b611611565b3480156106b257600080fd5b506103a76106c1366004612386565b61176f565b3480156106d257600080fd5b506102f56000805160206127ae83398151915281565b3480156106f457600080fd5b506103a7610703366004612333565b6117e3565b34801561071457600080fd5b506103a76107233660046121d3565b61180a565b34801561073457600080fd5b506103a7611840565b60006001600160e01b03198216637965db0b60e01b148061076e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600082815260016020819052604090912001546107918133611854565b61079b83836118b8565b505050565b6001600160a01b03811633146108155760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61081f8282611923565b5050565b600061082f8133611854565b6040516323b872dd60e01b81526001600160a01b038416906323b872dd9061085f903090889087906004016125a9565b600060405180830381600087803b15801561087957600080fd5b505af115801561088d573d6000803e3d6000fd5b5050505050505050565b60006108a38133611854565b600880546001600160a01b0319166001600160a01b0384169081179091556040519081527fb6d16f9d1240e3c1a2dc71c15426745edc5944c444b52da04542235b0cb99f5b906020015b60405180910390a15050565b60006109058133611854565b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905284169063a9059cbb90604401602060405180830381600087803b15801561094f57600080fd5b505af1158015610963573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098791906122fb565b5050505050565b600061099a8133611854565b6040516001600160a01b038316904780156108fc02916000818181858888f1935050505015801561079b573d6000803e3d6000fd5b60005460ff16156109f25760405162461bcd60e51b815260040161080c906126a4565b600280600a54600160201b900460ff166002811115610a2157634e487b7160e01b600052602160045260246000fd5b14610a3e5760405162461bcd60e51b815260040161080c906126ce565b600a543360009081526005602052604090205463ffffffff91821691610a6691879116612709565b63ffffffff161115610a8a5760405162461bcd60e51b815260040161080c90612680565b3360009081526005602052604081208054869290610aaf90849063ffffffff16612709565b82546101009290920a63ffffffff8181021990931691831602179091556008546007546003546001600160a01b0392831694506323b872dd93339390921691610afa91908a16612731565b6040518463ffffffff1660e01b8152600401610b18939291906125a9565b602060405180830381600087803b158015610b3257600080fd5b505af1158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a91906122fb565b50600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a9061085f9033908890889088906004016125cd565b6000610bad8133611854565b6001600160a01b038216610bf35760405162461bcd60e51b815260206004820152600d60248201526c656d707479206164647265737360981b604482015260640161080c565b610bfe6000836118b8565b61081f600033611923565b6000610c158133611854565b60038290556040518281527f1d67ee58cec9ec6d3de0643f069da3dca1e079d8675457e4f9fe3cd2275fd262906020016108ed565b6000610c568133611854565b610c5e61198a565b50565b6000805160206127ae833981519152610c7a8133611854565b60005460ff1615610c9d5760405162461bcd60e51b815260040161080c906126a4565b600280600a54600160201b900460ff166002811115610ccc57634e487b7160e01b600052602160045260246000fd5b14610ce95760405162461bcd60e51b815260040161080c906126ce565b600a546001600160a01b03871660009081526005602052604090205463ffffffff91821691610d1a91889116612709565b63ffffffff161115610d3e5760405162461bcd60e51b815260040161080c90612680565b6001600160a01b03861660009081526005602052604081208054879290610d6c90849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a90610dc29089908990899089906004016125cd565b600060405180830381600087803b158015610ddc57600080fd5b505af1158015610df0573d6000803e3d6000fd5b50505050505050505050565b6000610e088133611854565b60028290556040518281527ffb92488ba7c255b32158331b4dd67ae708a8761b850ca51d1bbf57c177d35f89906020016108ed565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000610e748133611854565b600a805463ffffffff191663ffffffff84169081179091556040519081527f87717f0de5df243b3ad7d794a85858de796db5f312ba8414d6295c0a80b736b7906020016108ed565b6000610ec88133611854565b61081f6000805160206127ae833981519152836118b8565b60005460ff1615610f035760405162461bcd60e51b815260040161080c906126a4565b600180600a54600160201b900460ff166002811115610f3257634e487b7160e01b600052602160045260246000fd5b14610f4f5760405162461bcd60e51b815260040161080c906126ce565b610f5d6009548787876119ff565b610f935760405162461bcd60e51b81526020600482015260076024820152666261642073696760c81b604482015260640161080c565b33610fa160208801886121d3565b6001600160a01b031614610fe45760405162461bcd60e51b815260206004820152600a6024820152693130b21039b2b73232b960b11b604482015260640161080c565b610ff4604087016020880161240b565b3360009081526004602052604090205463ffffffff91821691611019918a9116612709565b63ffffffff16111561103d5760405162461bcd60e51b815260040161080c90612680565b336000908152600460205260408120805489929061106290849063ffffffff16612709565b82546101009290920a63ffffffff8181021990931691831602179091556008546007546003546001600160a01b0392831694506323b872dd933393909216916110ad91908d16612731565b6040518463ffffffff1660e01b81526004016110cb939291906125a9565b602060405180830381600087803b1580156110e557600080fd5b505af11580156110f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111d91906122fb565b50600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a906111549033908b90889088906004016125cd565b600060405180830381600087803b15801561116e57600080fd5b505af1158015611182573d6000803e3d6000fd5b5050505050505050505050565b60005460ff16156111b25760405162461bcd60e51b815260040161080c906126a4565b600180600a54600160201b900460ff1660028111156111e157634e487b7160e01b600052602160045260246000fd5b146111fe5760405162461bcd60e51b815260040161080c906126ce565b61120c6009548787876119ff565b6112425760405162461bcd60e51b81526020600482015260076024820152666261642073696760c81b604482015260640161080c565b3361125060208801886121d3565b6001600160a01b0316146112935760405162461bcd60e51b815260206004820152600a6024820152693130b21039b2b73232b960b11b604482015260640161080c565b6002546112a69063ffffffff8916612731565b3410156112e15760405162461bcd60e51b81526020600482015260096024820152686261642076616c756560b81b604482015260640161080c565b6112f1604087016020880161240b565b3360009081526004602052604090205463ffffffff91821691611316918a9116612709565b63ffffffff16111561133a5760405162461bcd60e51b815260040161080c90612680565b336000908152600460205260408120805489929061135f90849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a906113b59033908b90889088906004016125cd565b600060405180830381600087803b1580156113cf57600080fd5b505af11580156113e3573d6000803e3d6000fd5b50506007546040516001600160a01b0390911692503480156108fc029250906000818181858888f1935050505015801561088d573d6000803e3d6000fd5b60005460ff16156114445760405162461bcd60e51b815260040161080c906126a4565b600280600a54600160201b900460ff16600281111561147357634e487b7160e01b600052602160045260246000fd5b146114905760405162461bcd60e51b815260040161080c906126ce565b6002546114a39063ffffffff8616612731565b3410156114de5760405162461bcd60e51b81526020600482015260096024820152686261642076616c756560b81b604482015260640161080c565b600a543360009081526005602052604090205463ffffffff9182169161150691879116612709565b63ffffffff16111561152a5760405162461bcd60e51b815260040161080c90612680565b336000908152600560205260408120805486929061154f90849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a906115a59033908890889088906004016125cd565b600060405180830381600087803b1580156115bf57600080fd5b505af11580156115d3573d6000803e3d6000fd5b50506007546040516001600160a01b0390911692503480156108fc029250906000818181858888f19350505050158015610987573d6000803e3d6000fd5b6000805160206127ae83398151915261162a8133611854565b60005460ff161561164d5760405162461bcd60e51b815260040161080c906126a4565b600180600a54600160201b900460ff16600281111561167c57634e487b7160e01b600052602160045260246000fd5b146116995760405162461bcd60e51b815260040161080c906126ce565b6001600160a01b03871660009081526004602052604090205463ffffffff808716916116c791899116612709565b63ffffffff1611156116eb5760405162461bcd60e51b815260040161080c90612680565b6001600160a01b0387166000908152600460205260408120805488929061171990849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a90611154908a908a90899089906004016125cd565b600061177b8133611854565b600a805483919064ff000000001916600160201b8360028111156117af57634e487b7160e01b600052602160045260246000fd5b02179055507fd9cae27d4c24409b509a14bf857c9aef50e0559ee2d0d6b4bd6acc5aa6ddb09d826040516108ed9190612625565b600082815260016020819052604090912001546118008133611854565b61079b8383611923565b60006118168133611854565b61081f7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70836118b8565b600061184c8133611854565b610c5e611ad8565b61185e8282610e3d565b61081f57611876816001600160a01b03166014611b52565b611881836020611b52565b60405160200161189292919061253a565b60408051601f198184030181529082905262461bcd60e51b825261080c9160040161264d565b6118c28282610e3d565b61081f5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b61192d8282610e3d565b1561081f5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60005460ff16156119ad5760405162461bcd60e51b815260040161080c906126a4565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119e23390565b6040516001600160a01b03909116815260200160405180910390a1565b600080611a5d86611a1d611a18368990038901896123a5565b611d3b565b60405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b90506000611aa18286868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611db492505050565b9050611acd7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7082610e3d565b979650505050505050565b60005460ff16611b215760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161080c565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336119e2565b60606000611b61836002612731565b611b6c9060026126f1565b67ffffffffffffffff811115611b9257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bbc576020820181803683370190505b509050600360fc1b81600081518110611be557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c2257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611c46846002612731565b611c519060016126f1565b90505b6001811115611ce5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c9357634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611cb757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611cde81612780565b9050611c54565b508315611d345760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161080c565b9392505050565b8051602080830151604051600093611d97937f9ec365168689140b3f99729b8c8be5807d5c0cab8901f7aaa85c0093c7c8df69939192019283526001600160a01b0391909116602083015263ffffffff16604082015260600190565b604051602081830303815290604052805190602001209050919050565b6000806000611dc38585611dd8565b91509150611dd081611e48565b509392505050565b600080825160411415611e0f5760208301516040840151606085015160001a611e0387828585612044565b94509450505050611e41565b825160401415611e395760208301516040840151611e2e868383612127565b935093505050611e41565b506000905060025b9250929050565b6000816004811115611e6a57634e487b7160e01b600052602160045260246000fd5b1415611e735750565b6001816004811115611e9557634e487b7160e01b600052602160045260246000fd5b1415611ede5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b604482015260640161080c565b6002816004811115611f0057634e487b7160e01b600052602160045260246000fd5b1415611f4e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161080c565b6003816004811115611f7057634e487b7160e01b600052602160045260246000fd5b1415611fc95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161080c565b6004816004811115611feb57634e487b7160e01b600052602160045260246000fd5b1415610c5e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161080c565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612071575060009050600361211e565b8460ff16601b1415801561208957508460ff16601c14155b1561209a575060009050600461211e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120ee573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121175760006001925092505061211e565b9150600090505b94509492505050565b6000806001600160ff1b0383168161214460ff86901c601b6126f1565b905061215287828885612044565b935093505050935093915050565b80356001600160a01b038116811461217757600080fd5b919050565b60008083601f84011261218d578182fd5b50813567ffffffffffffffff8111156121a4578182fd5b6020830191508360208260051b8501011115611e4157600080fd5b803563ffffffff8116811461217757600080fd5b6000602082840312156121e4578081fd5b611d3482612160565b600080600060608486031215612201578182fd5b61220a84612160565b925061221860208501612160565b9150604084013590509250925092565b6000806000806060858703121561223d578081fd5b61224685612160565b9350612254602086016121bf565b9250604085013567ffffffffffffffff81111561226f578182fd5b61227b8782880161217c565b95989497509550505050565b60008060008060006080868803121561229e578081fd5b6122a786612160565b94506122b5602087016121bf565b93506122c3604087016121bf565b9250606086013567ffffffffffffffff8111156122de578182fd5b6122ea8882890161217c565b969995985093965092949392505050565b60006020828403121561230c578081fd5b81518015158114611d34578182fd5b60006020828403121561232c578081fd5b5035919050565b60008060408385031215612345578182fd5b8235915061235560208401612160565b90509250929050565b60006020828403121561236f578081fd5b81356001600160e01b031981168114611d34578182fd5b600060208284031215612397578081fd5b813560038110611d34578182fd5b6000604082840312156123b6578081fd5b6040516040810181811067ffffffffffffffff821117156123e557634e487b7160e01b83526041600452602483fd5b6040526123f183612160565b81526123ff602084016121bf565b60208201529392505050565b60006020828403121561241c578081fd5b611d34826121bf565b600080600060408486031215612439578283fd5b612442846121bf565b9250602084013567ffffffffffffffff81111561245d578283fd5b6124698682870161217c565b9497909650939450505050565b60008060008060008086880360a081121561248f578485fd5b612498886121bf565b96506040601f19820112156124ab578485fd5b50602087019450606087013567ffffffffffffffff808211156124cc578586fd5b818901915089601f8301126124df578586fd5b8135818111156124ed578687fd5b8a60208285010111156124fe578687fd5b60208301965080955050608089013591508082111561251b578283fd5b5061252889828a0161217c565b979a9699509497509295939492505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161256c816017850160208801612750565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161259d816028840160208801612750565b01602801949350505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b038516815263ffffffff84166020820152606060408201819052810182905260006001600160fb1b03831115612608578081fd5b8260051b8085608085013791909101608001908152949350505050565b602081016003831061264757634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000825180602084015261266c816040850160208701612750565b601f01601f19169190910160400192915050565b6020808252600a908201526918985908185b5bdd5b9d60b21b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526009908201526862616420737461676560b81b604082015260600190565b6000821982111561270457612704612797565b500190565b600063ffffffff80831681851680830382111561272857612728612797565b01949350505050565b600081600019048311821515161561274b5761274b612797565b500290565b60005b8381101561276b578181015183820152602001612753565b8381111561277a576000848401525b50505050565b60008161278f5761278f612797565b506000190190565b634e487b7160e01b600052601160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122032ddcdac0e934134545b68efdfb156cb65c952227e5d8f9a45386bb8eaf4b4db64736f6c6343000804003300000000000000000000000000000000000000000000000003782dace9d90000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000050000000000000000000000008562e6733ac995c6e00001e6fa8768340ffcfc18000000000000000000000000b82aede90afaf61e9338565af5deb9409da6d0fd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000b4f4720506c6174666f726d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c806391b7f5ed11610123578063b8e8d21f116100ab578063ce3cd9971161006f578063ce3cd997146106a6578063d5391393146106c6578063d547741f146106e8578063eb12d61e14610708578063f7b188a51461072857600080fd5b8063b8e8d21f14610615578063b97ffd0914610632578063c040e6b814610645578063c32fe85b14610673578063c9ed79eb1461068657600080fd5b80639c5ba0b4116100f25780639c5ba0b4146105765780639d76ea5814610596578063a035b1fe146105b6578063a1ebf35d146105cc578063a217fddf1461060057600080fd5b806391b7f5ed146104f657806391d14854146105165780639397a28414610536578063983b2d561461055657600080fd5b80634025feb2116101b157806363dab6331161017557806363dab63314610461578063704b6c02146104815780637617ebdd146104a15780638456cb59146104c157806385eae376146104d657600080fd5b80634025feb2146103c957806341bec0d2146103e957806344004cc11461040957806351cff8d9146104295780635c975abb1461044957600080fd5b8063248a9ca3116101f8578063248a9ca314610303578063276184ae146103345780632a7144f7146103545780632f2ff15d1461038757806336568abe146103a957600080fd5b806301ffc9a71461022a5780631015805b1461025f578063174ab889146102a75780632062615c146102df575b600080fd5b34801561023657600080fd5b5061024a61024536600461235e565b61073d565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061029261027a3660046121d3565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610256565b3480156102b357600080fd5b506007546102c7906001600160a01b031681565b6040516001600160a01b039091168152602001610256565b3480156102eb57600080fd5b506102f560035481565b604051908152602001610256565b34801561030f57600080fd5b506102f561031e36600461231b565b6000908152600160208190526040909120015490565b34801561034057600080fd5b506008546102c7906001600160a01b031681565b34801561036057600080fd5b5061029261036f3660046121d3565b60046020526000908152604090205463ffffffff1681565b34801561039357600080fd5b506103a76103a2366004612333565b610774565b005b3480156103b557600080fd5b506103a76103c4366004612333565b6107a0565b3480156103d557600080fd5b506103a76103e43660046121ed565b610823565b3480156103f557600080fd5b506103a76104043660046121d3565b610897565b34801561041557600080fd5b506103a76104243660046121ed565b6108f9565b34801561043557600080fd5b506103a76104443660046121d3565b61098e565b34801561045557600080fd5b5060005460ff1661024a565b34801561046d57600080fd5b506103a761047c366004612425565b6109cf565b34801561048d57600080fd5b506103a761049c3660046121d3565b610ba1565b3480156104ad57600080fd5b506103a76104bc36600461231b565b610c09565b3480156104cd57600080fd5b506103a7610c4a565b3480156104e257600080fd5b506103a76104f1366004612228565b610c61565b34801561050257600080fd5b506103a761051136600461231b565b610dfc565b34801561052257600080fd5b5061024a610531366004612333565b610e3d565b34801561054257600080fd5b506103a761055136600461240b565b610e68565b34801561056257600080fd5b506103a76105713660046121d3565b610ebc565b34801561058257600080fd5b506103a7610591366004612476565b610ee0565b3480156105a257600080fd5b506006546102c7906001600160a01b031681565b3480156105c257600080fd5b506102f560025481565b3480156105d857600080fd5b506102f57fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b34801561060c57600080fd5b506102f5600081565b34801561062157600080fd5b50600a546102929063ffffffff1681565b6103a7610640366004612476565b61118f565b34801561065157600080fd5b50600a5461066690600160201b900460ff1681565b6040516102569190612625565b6103a7610681366004612425565b611421565b34801561069257600080fd5b506103a76106a1366004612287565b611611565b3480156106b257600080fd5b506103a76106c1366004612386565b61176f565b3480156106d257600080fd5b506102f56000805160206127ae83398151915281565b3480156106f457600080fd5b506103a7610703366004612333565b6117e3565b34801561071457600080fd5b506103a76107233660046121d3565b61180a565b34801561073457600080fd5b506103a7611840565b60006001600160e01b03198216637965db0b60e01b148061076e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600082815260016020819052604090912001546107918133611854565b61079b83836118b8565b505050565b6001600160a01b03811633146108155760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61081f8282611923565b5050565b600061082f8133611854565b6040516323b872dd60e01b81526001600160a01b038416906323b872dd9061085f903090889087906004016125a9565b600060405180830381600087803b15801561087957600080fd5b505af115801561088d573d6000803e3d6000fd5b5050505050505050565b60006108a38133611854565b600880546001600160a01b0319166001600160a01b0384169081179091556040519081527fb6d16f9d1240e3c1a2dc71c15426745edc5944c444b52da04542235b0cb99f5b906020015b60405180910390a15050565b60006109058133611854565b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905284169063a9059cbb90604401602060405180830381600087803b15801561094f57600080fd5b505af1158015610963573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098791906122fb565b5050505050565b600061099a8133611854565b6040516001600160a01b038316904780156108fc02916000818181858888f1935050505015801561079b573d6000803e3d6000fd5b60005460ff16156109f25760405162461bcd60e51b815260040161080c906126a4565b600280600a54600160201b900460ff166002811115610a2157634e487b7160e01b600052602160045260246000fd5b14610a3e5760405162461bcd60e51b815260040161080c906126ce565b600a543360009081526005602052604090205463ffffffff91821691610a6691879116612709565b63ffffffff161115610a8a5760405162461bcd60e51b815260040161080c90612680565b3360009081526005602052604081208054869290610aaf90849063ffffffff16612709565b82546101009290920a63ffffffff8181021990931691831602179091556008546007546003546001600160a01b0392831694506323b872dd93339390921691610afa91908a16612731565b6040518463ffffffff1660e01b8152600401610b18939291906125a9565b602060405180830381600087803b158015610b3257600080fd5b505af1158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a91906122fb565b50600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a9061085f9033908890889088906004016125cd565b6000610bad8133611854565b6001600160a01b038216610bf35760405162461bcd60e51b815260206004820152600d60248201526c656d707479206164647265737360981b604482015260640161080c565b610bfe6000836118b8565b61081f600033611923565b6000610c158133611854565b60038290556040518281527f1d67ee58cec9ec6d3de0643f069da3dca1e079d8675457e4f9fe3cd2275fd262906020016108ed565b6000610c568133611854565b610c5e61198a565b50565b6000805160206127ae833981519152610c7a8133611854565b60005460ff1615610c9d5760405162461bcd60e51b815260040161080c906126a4565b600280600a54600160201b900460ff166002811115610ccc57634e487b7160e01b600052602160045260246000fd5b14610ce95760405162461bcd60e51b815260040161080c906126ce565b600a546001600160a01b03871660009081526005602052604090205463ffffffff91821691610d1a91889116612709565b63ffffffff161115610d3e5760405162461bcd60e51b815260040161080c90612680565b6001600160a01b03861660009081526005602052604081208054879290610d6c90849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a90610dc29089908990899089906004016125cd565b600060405180830381600087803b158015610ddc57600080fd5b505af1158015610df0573d6000803e3d6000fd5b50505050505050505050565b6000610e088133611854565b60028290556040518281527ffb92488ba7c255b32158331b4dd67ae708a8761b850ca51d1bbf57c177d35f89906020016108ed565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000610e748133611854565b600a805463ffffffff191663ffffffff84169081179091556040519081527f87717f0de5df243b3ad7d794a85858de796db5f312ba8414d6295c0a80b736b7906020016108ed565b6000610ec88133611854565b61081f6000805160206127ae833981519152836118b8565b60005460ff1615610f035760405162461bcd60e51b815260040161080c906126a4565b600180600a54600160201b900460ff166002811115610f3257634e487b7160e01b600052602160045260246000fd5b14610f4f5760405162461bcd60e51b815260040161080c906126ce565b610f5d6009548787876119ff565b610f935760405162461bcd60e51b81526020600482015260076024820152666261642073696760c81b604482015260640161080c565b33610fa160208801886121d3565b6001600160a01b031614610fe45760405162461bcd60e51b815260206004820152600a6024820152693130b21039b2b73232b960b11b604482015260640161080c565b610ff4604087016020880161240b565b3360009081526004602052604090205463ffffffff91821691611019918a9116612709565b63ffffffff16111561103d5760405162461bcd60e51b815260040161080c90612680565b336000908152600460205260408120805489929061106290849063ffffffff16612709565b82546101009290920a63ffffffff8181021990931691831602179091556008546007546003546001600160a01b0392831694506323b872dd933393909216916110ad91908d16612731565b6040518463ffffffff1660e01b81526004016110cb939291906125a9565b602060405180830381600087803b1580156110e557600080fd5b505af11580156110f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111d91906122fb565b50600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a906111549033908b90889088906004016125cd565b600060405180830381600087803b15801561116e57600080fd5b505af1158015611182573d6000803e3d6000fd5b5050505050505050505050565b60005460ff16156111b25760405162461bcd60e51b815260040161080c906126a4565b600180600a54600160201b900460ff1660028111156111e157634e487b7160e01b600052602160045260246000fd5b146111fe5760405162461bcd60e51b815260040161080c906126ce565b61120c6009548787876119ff565b6112425760405162461bcd60e51b81526020600482015260076024820152666261642073696760c81b604482015260640161080c565b3361125060208801886121d3565b6001600160a01b0316146112935760405162461bcd60e51b815260206004820152600a6024820152693130b21039b2b73232b960b11b604482015260640161080c565b6002546112a69063ffffffff8916612731565b3410156112e15760405162461bcd60e51b81526020600482015260096024820152686261642076616c756560b81b604482015260640161080c565b6112f1604087016020880161240b565b3360009081526004602052604090205463ffffffff91821691611316918a9116612709565b63ffffffff16111561133a5760405162461bcd60e51b815260040161080c90612680565b336000908152600460205260408120805489929061135f90849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a906113b59033908b90889088906004016125cd565b600060405180830381600087803b1580156113cf57600080fd5b505af11580156113e3573d6000803e3d6000fd5b50506007546040516001600160a01b0390911692503480156108fc029250906000818181858888f1935050505015801561088d573d6000803e3d6000fd5b60005460ff16156114445760405162461bcd60e51b815260040161080c906126a4565b600280600a54600160201b900460ff16600281111561147357634e487b7160e01b600052602160045260246000fd5b146114905760405162461bcd60e51b815260040161080c906126ce565b6002546114a39063ffffffff8616612731565b3410156114de5760405162461bcd60e51b81526020600482015260096024820152686261642076616c756560b81b604482015260640161080c565b600a543360009081526005602052604090205463ffffffff9182169161150691879116612709565b63ffffffff16111561152a5760405162461bcd60e51b815260040161080c90612680565b336000908152600560205260408120805486929061154f90849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a906115a59033908890889088906004016125cd565b600060405180830381600087803b1580156115bf57600080fd5b505af11580156115d3573d6000803e3d6000fd5b50506007546040516001600160a01b0390911692503480156108fc029250906000818181858888f19350505050158015610987573d6000803e3d6000fd5b6000805160206127ae83398151915261162a8133611854565b60005460ff161561164d5760405162461bcd60e51b815260040161080c906126a4565b600180600a54600160201b900460ff16600281111561167c57634e487b7160e01b600052602160045260246000fd5b146116995760405162461bcd60e51b815260040161080c906126ce565b6001600160a01b03871660009081526004602052604090205463ffffffff808716916116c791899116612709565b63ffffffff1611156116eb5760405162461bcd60e51b815260040161080c90612680565b6001600160a01b0387166000908152600460205260408120805488929061171990849063ffffffff16612709565b825463ffffffff9182166101009390930a928302919092021990911617905550600654604051637f11922d60e11b81526001600160a01b039091169063fe23245a90611154908a908a90899089906004016125cd565b600061177b8133611854565b600a805483919064ff000000001916600160201b8360028111156117af57634e487b7160e01b600052602160045260246000fd5b02179055507fd9cae27d4c24409b509a14bf857c9aef50e0559ee2d0d6b4bd6acc5aa6ddb09d826040516108ed9190612625565b600082815260016020819052604090912001546118008133611854565b61079b8383611923565b60006118168133611854565b61081f7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70836118b8565b600061184c8133611854565b610c5e611ad8565b61185e8282610e3d565b61081f57611876816001600160a01b03166014611b52565b611881836020611b52565b60405160200161189292919061253a565b60408051601f198184030181529082905262461bcd60e51b825261080c9160040161264d565b6118c28282610e3d565b61081f5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b61192d8282610e3d565b1561081f5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60005460ff16156119ad5760405162461bcd60e51b815260040161080c906126a4565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119e23390565b6040516001600160a01b03909116815260200160405180910390a1565b600080611a5d86611a1d611a18368990038901896123a5565b611d3b565b60405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b90506000611aa18286868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611db492505050565b9050611acd7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7082610e3d565b979650505050505050565b60005460ff16611b215760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161080c565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336119e2565b60606000611b61836002612731565b611b6c9060026126f1565b67ffffffffffffffff811115611b9257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bbc576020820181803683370190505b509050600360fc1b81600081518110611be557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c2257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611c46846002612731565b611c519060016126f1565b90505b6001811115611ce5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c9357634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611cb757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611cde81612780565b9050611c54565b508315611d345760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161080c565b9392505050565b8051602080830151604051600093611d97937f9ec365168689140b3f99729b8c8be5807d5c0cab8901f7aaa85c0093c7c8df69939192019283526001600160a01b0391909116602083015263ffffffff16604082015260600190565b604051602081830303815290604052805190602001209050919050565b6000806000611dc38585611dd8565b91509150611dd081611e48565b509392505050565b600080825160411415611e0f5760208301516040840151606085015160001a611e0387828585612044565b94509450505050611e41565b825160401415611e395760208301516040840151611e2e868383612127565b935093505050611e41565b506000905060025b9250929050565b6000816004811115611e6a57634e487b7160e01b600052602160045260246000fd5b1415611e735750565b6001816004811115611e9557634e487b7160e01b600052602160045260246000fd5b1415611ede5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b604482015260640161080c565b6002816004811115611f0057634e487b7160e01b600052602160045260246000fd5b1415611f4e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161080c565b6003816004811115611f7057634e487b7160e01b600052602160045260246000fd5b1415611fc95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161080c565b6004816004811115611feb57634e487b7160e01b600052602160045260246000fd5b1415610c5e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161080c565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612071575060009050600361211e565b8460ff16601b1415801561208957508460ff16601c14155b1561209a575060009050600461211e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120ee573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121175760006001925092505061211e565b9150600090505b94509492505050565b6000806001600160ff1b0383168161214460ff86901c601b6126f1565b905061215287828885612044565b935093505050935093915050565b80356001600160a01b038116811461217757600080fd5b919050565b60008083601f84011261218d578182fd5b50813567ffffffffffffffff8111156121a4578182fd5b6020830191508360208260051b8501011115611e4157600080fd5b803563ffffffff8116811461217757600080fd5b6000602082840312156121e4578081fd5b611d3482612160565b600080600060608486031215612201578182fd5b61220a84612160565b925061221860208501612160565b9150604084013590509250925092565b6000806000806060858703121561223d578081fd5b61224685612160565b9350612254602086016121bf565b9250604085013567ffffffffffffffff81111561226f578182fd5b61227b8782880161217c565b95989497509550505050565b60008060008060006080868803121561229e578081fd5b6122a786612160565b94506122b5602087016121bf565b93506122c3604087016121bf565b9250606086013567ffffffffffffffff8111156122de578182fd5b6122ea8882890161217c565b969995985093965092949392505050565b60006020828403121561230c578081fd5b81518015158114611d34578182fd5b60006020828403121561232c578081fd5b5035919050565b60008060408385031215612345578182fd5b8235915061235560208401612160565b90509250929050565b60006020828403121561236f578081fd5b81356001600160e01b031981168114611d34578182fd5b600060208284031215612397578081fd5b813560038110611d34578182fd5b6000604082840312156123b6578081fd5b6040516040810181811067ffffffffffffffff821117156123e557634e487b7160e01b83526041600452602483fd5b6040526123f183612160565b81526123ff602084016121bf565b60208201529392505050565b60006020828403121561241c578081fd5b611d34826121bf565b600080600060408486031215612439578283fd5b612442846121bf565b9250602084013567ffffffffffffffff81111561245d578283fd5b6124698682870161217c565b9497909650939450505050565b60008060008060008086880360a081121561248f578485fd5b612498886121bf565b96506040601f19820112156124ab578485fd5b50602087019450606087013567ffffffffffffffff808211156124cc578586fd5b818901915089601f8301126124df578586fd5b8135818111156124ed578687fd5b8a60208285010111156124fe578687fd5b60208301965080955050608089013591508082111561251b578283fd5b5061252889828a0161217c565b979a9699509497509295939492505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161256c816017850160208801612750565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161259d816028840160208801612750565b01602801949350505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b038516815263ffffffff84166020820152606060408201819052810182905260006001600160fb1b03831115612608578081fd5b8260051b8085608085013791909101608001908152949350505050565b602081016003831061264757634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000825180602084015261266c816040850160208701612750565b601f01601f19169190910160400192915050565b6020808252600a908201526918985908185b5bdd5b9d60b21b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526009908201526862616420737461676560b81b604082015260600190565b6000821982111561270457612704612797565b500190565b600063ffffffff80831681851680830382111561272857612728612797565b01949350505050565b600081600019048311821515161561274b5761274b612797565b500290565b60005b8381101561276b578181015183820152602001612753565b8381111561277a576000848401525b50505050565b60008161278f5761278f612797565b506000190190565b634e487b7160e01b600052601160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122032ddcdac0e934134545b68efdfb156cb65c952227e5d8f9a45386bb8eaf4b4db64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000003782dace9d90000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000050000000000000000000000008562e6733ac995c6e00001e6fa8768340ffcfc18000000000000000000000000b82aede90afaf61e9338565af5deb9409da6d0fd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000b4f4720506c6174666f726d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _price (uint256): 250000000000000000
Arg [1] : _erc20price (uint256): 100
Arg [2] : _maxPublicMinted (uint32): 5
Arg [3] : _tokenAddress (address): 0x8562e6733AC995c6E00001E6FA8768340ffcFc18
Arg [4] : _forwarderAddress (address): 0xb82aEDe90AFAF61E9338565aF5DeB9409Da6D0fd
Arg [5] : _erc20Address (address): 0x0000000000000000000000000000000000000000
Arg [6] : _appName (string): OG Platform
Arg [7] : _version (string): 1
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000003782dace9d90000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 0000000000000000000000008562e6733ac995c6e00001e6fa8768340ffcfc18
Arg [4] : 000000000000000000000000b82aede90afaf61e9338565af5deb9409da6d0fd
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [9] : 4f4720506c6174666f726d000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 3100000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.