More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 9,409 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint With Permit | 16478546 | 704 days ago | IN | 0 ETH | 0.00055003 | ||||
Mint With Permit | 16478546 | 704 days ago | IN | 0 ETH | 0.00055003 | ||||
Mint With Permit | 16478546 | 704 days ago | IN | 0 ETH | 0.00054694 | ||||
Mint With Permit | 16478546 | 704 days ago | IN | 0 ETH | 0.00054717 | ||||
Mint With Permit | 16478546 | 704 days ago | IN | 0 ETH | 0.00054671 | ||||
Mint With Permit | 16478546 | 704 days ago | IN | 0 ETH | 0.00054717 | ||||
Mint With Permit | 14020455 | 1076 days ago | IN | 0 ETH | 0.00373185 | ||||
Mint With Permit | 14020455 | 1076 days ago | IN | 0 ETH | 0.00374609 | ||||
Mint With Permit | 13808902 | 1109 days ago | IN | 0 ETH | 0.0013789 | ||||
Mint With Permit | 13808902 | 1109 days ago | IN | 0 ETH | 0.00137661 | ||||
Mint With Permit | 13808902 | 1109 days ago | IN | 0 ETH | 0.00137603 | ||||
Mint With Permit | 13808902 | 1109 days ago | IN | 0 ETH | 0.00137661 | ||||
Mint With Permit | 13808902 | 1109 days ago | IN | 0 ETH | 0.00139086 | ||||
Mint With Permit | 13808902 | 1109 days ago | IN | 0 ETH | 0.00139086 | ||||
Mint With Permit | 13807083 | 1109 days ago | IN | 0 ETH | 0.00253578 | ||||
Mint With Permit | 13770825 | 1115 days ago | IN | 0 ETH | 0.0063176 | ||||
Mint With Permit | 13770618 | 1115 days ago | IN | 0 ETH | 0.00447906 | ||||
Mint With Permit | 13764391 | 1116 days ago | IN | 0 ETH | 0.00198995 | ||||
Mint With Permit | 13764379 | 1116 days ago | IN | 0 ETH | 0.00218576 | ||||
Mint With Permit | 13764296 | 1116 days ago | IN | 0 ETH | 0.00275741 | ||||
Mint With Permit | 13763799 | 1116 days ago | IN | 0 ETH | 0.00164678 | ||||
Mint With Permit | 13742239 | 1120 days ago | IN | 0 ETH | 0.00322984 | ||||
Transfer | 13733357 | 1121 days ago | IN | 0 ETH | 0.00153034 | ||||
Mint With Permit | 13727148 | 1122 days ago | IN | 0 ETH | 0.00480143 | ||||
Mint With Permit | 13727088 | 1122 days ago | IN | 0 ETH | 0.0061817 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EMatesMinter
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IEMatesMinter.sol"; contract EMatesMinter is Ownable, IEMatesMinter { IEMates public immutable emates; IEthereumMix public immutable emix; uint256 public mintPrice; uint256 public limit; constructor( IEMates _emates, IEthereumMix _emix, uint256 _mintPrice ) { emates = _emates; emix = _emix; mintPrice = _mintPrice; emit SetMintPrice(_mintPrice); } function setLimit(uint256 _limit) external onlyOwner { limit = _limit; emit SetLimit(_limit); } function setMintPrice(uint256 _price) external onlyOwner { mintPrice = _price; emit SetMintPrice(_price); } function mint() public returns (uint256 id) { require(emates.totalSupply() < limit, "EMatesMinter: Limit exceeded"); id = emates.mint(msg.sender); emix.transferFrom(msg.sender, address(this), mintPrice); } function mintWithPermit( uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 id) { emix.permit(msg.sender, address(this), mintPrice, deadline, v, r, s); id = mint(); } function withdrawEmix() external onlyOwner { emix.transfer(msg.sender, emix.balanceOf(address(this))); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./IEMates.sol"; import "./IEthereumMix.sol"; interface IEMatesMinter { event SetMintPrice(uint256 mintPrice); event SetLimit(uint256 limit); function emates() external view returns (IEMates); function emix() external view returns (IEthereumMix); function mintPrice() external view returns (uint256); function limit() external view returns (uint256); function mint() external returns (uint256 id); function mintWithPermit( uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 id); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "./IERC2981.sol"; interface IEMates is IERC721, IERC721Metadata, IERC2981 { event SetMinter(address indexed target, bool indexed isMinter); event SetRoyaltyInfo(address indexed receiver, uint256 fee); event SetContractURI(string uri); event SetBaseURI(string uri); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external view returns (bytes32); function PERMIT_ALL_TYPEHASH() external view returns (bytes32); function nonces(uint256 id) external view returns (uint256); function noncesForAll(address owner) external view returns (uint256); function totalSupply() external view returns (uint256); function isMinter(address target) external view returns (bool); function feeReceiver() external view returns (address); function fee() external view returns (uint256); function contractURI() external view returns (string calldata); function permit( address spender, uint256 id, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; function permitAll( address owner, address spender, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; function mint(address to) external returns (uint256 id); function mintBatch(uint256 limit) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./IFungibleToken.sol"; interface IEthereumMix is IFungibleToken { event SetSigner(address indexed signer); event SendOverHorizon(address indexed sender, uint256 indexed toChain, address indexed receiver, uint256 sendId, uint256 amount); event ReceiveOverHorizon(address indexed receiver, uint256 indexed fromChain, address indexed sender, uint256 sendId, uint256 amount); function signer() external view returns (address); function sendOverHorizon(uint256 toChain, address receiver, uint256 amount) external returns (uint256 sendId); function sended(address sender, uint256 toChain, address receiver, uint256 sendId) external view returns (uint256 amount); function sendCount(address sender, uint256 toChain, address receiver) external view returns (uint256); function receiveOverHorizon(uint256 fromChain, uint256 toChain, address sender, uint256 sendId, uint256 amount, bytes calldata signature) external; function received(address receiver, uint256 fromChain, address sender, uint256 sendId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /// /// @dev Interface for the NFT Royalty Standard /// interface IERC2981 is IERC165 { /// ERC165 bytes to add to interface array - set in parent contract /// implementing this standard /// /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a /// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /// _registerInterface(_INTERFACE_ID_ERC2981); /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _salePrice - the sale price of the NFT asset specified by _tokenId /// @return receiver - address of who should be sent the royalty payment /// @return royaltyAmount - the royalty payment amount for _salePrice function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IFungibleToken is IERC20 { function version() external view returns (string memory); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external view returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; }
// SPDX-License-Identifier: MIT 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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IEMates","name":"_emates","type":"address"},{"internalType":"contract IEthereumMix","name":"_emix","type":"address"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"limit","type":"uint256"}],"name":"SetLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"mintPrice","type":"uint256"}],"name":"SetMintPrice","type":"event"},{"inputs":[],"name":"emates","outputs":[{"internalType":"contract IEMates","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emix","outputs":[{"internalType":"contract IEthereumMix","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mintWithPermit","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEmix","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b50604051610a87380380610a8783398101604081905261002f916100f3565b6100383361008b565b6001600160a01b03838116608052821660a05260018190556040518181527f02ebcb79e897ca3a22313ba6de8fc964409964de565fb4bb6a0927871756b88c9060200160405180910390a1505050610136565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146100f057600080fd5b50565b60008060006060848603121561010857600080fd5b8351610113816100db565b6020850151909350610124816100db565b80925050604084015190509250925092565b60805160a05161090a61017d6000396000818161013e01528181610365015281816104c8015261061c01526000818160ee015281816101c201526102b8015261090a6000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80638d6a45da116100715780638d6a45da146101605780638da5cb5b146101685780638e9f1d4614610179578063a4d66daf1461018c578063f2fde38b14610195578063f4a0a528146101a857600080fd5b80631249c58b146100b957806327ea6f2b146100d45780632d3aab52146100e95780636817c76c14610128578063715018a61461013157806373b01d2014610139575b600080fd5b6100c16101bb565b6040519081526020015b60405180910390f35b6100e76100e23660046107d8565b6103ed565b005b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100cb565b6100c160015481565b6100e7610453565b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6100e7610489565b6000546001600160a01b0316610110565b6100c16101873660046107f1565b6105d5565b6100c160025481565b6100e76101a3366004610834565b610691565b6100e76101b63660046107d8565b610729565b60006002547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561021957600080fd5b505afa15801561022d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102519190610864565b106102a35760405162461bcd60e51b815260206004820152601c60248201527f454d617465734d696e7465723a204c696d69742065786365656465640000000060448201526064015b60405180910390fd5b6040516335313c2160e11b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636a62784290602401602060405180830381600087803b15801561030457600080fd5b505af1158015610318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033c9190610864565b6001546040516323b872dd60e01b815233600482015230602482015260448101919091529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd90606401602060405180830381600087803b1580156103b157600080fd5b505af11580156103c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e9919061087d565b5090565b6000546001600160a01b031633146104175760405162461bcd60e51b815260040161029a9061089f565b60028190556040518181527f479881bf41e329f328c21c2cbb11514b05a021cd33ea4e5a576ea6bc03874fd6906020015b60405180910390a150565b6000546001600160a01b0316331461047d5760405162461bcd60e51b815260040161029a9061089f565b6104876000610788565b565b6000546001600160a01b031633146104b35760405162461bcd60e51b815260040161029a9061089f565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90339083906370a082319060240160206040518083038186803b15801561051c57600080fd5b505afa158015610530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105549190610864565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561059a57600080fd5b505af11580156105ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d2919061087d565b50565b60015460405163d505accf60e01b815233600482015230602482015260448101919091526064810185905260ff8416608482015260a4810183905260c481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d505accf9060e401600060405180830381600087803b15801561066857600080fd5b505af115801561067c573d6000803e3d6000fd5b505050506106886101bb565b95945050505050565b6000546001600160a01b031633146106bb5760405162461bcd60e51b815260040161029a9061089f565b6001600160a01b0381166107205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029a565b6105d281610788565b6000546001600160a01b031633146107535760405162461bcd60e51b815260040161029a9061089f565b60018190556040518181527f02ebcb79e897ca3a22313ba6de8fc964409964de565fb4bb6a0927871756b88c90602001610448565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156107ea57600080fd5b5035919050565b6000806000806080858703121561080757600080fd5b84359350602085013560ff8116811461081f57600080fd5b93969395505050506040820135916060013590565b60006020828403121561084657600080fd5b81356001600160a01b038116811461085d57600080fd5b9392505050565b60006020828403121561087657600080fd5b5051919050565b60006020828403121561088f57600080fd5b8151801515811461085d57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212209944c48966b5e673732e705d4acbe7e3985820780a8dc06466de83c60826b0f464736f6c63430008090033000000000000000000000000d0242443f18586c389a1013539e93f3a7b27018c0000000000000000000000005db69b9f173f9d9fa91b7cdcc4dc9939c0499cfe000000000000000000000000000000000000000000000001a055690d9db80000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80638d6a45da116100715780638d6a45da146101605780638da5cb5b146101685780638e9f1d4614610179578063a4d66daf1461018c578063f2fde38b14610195578063f4a0a528146101a857600080fd5b80631249c58b146100b957806327ea6f2b146100d45780632d3aab52146100e95780636817c76c14610128578063715018a61461013157806373b01d2014610139575b600080fd5b6100c16101bb565b6040519081526020015b60405180910390f35b6100e76100e23660046107d8565b6103ed565b005b6101107f000000000000000000000000d0242443f18586c389a1013539e93f3a7b27018c81565b6040516001600160a01b0390911681526020016100cb565b6100c160015481565b6100e7610453565b6101107f0000000000000000000000005db69b9f173f9d9fa91b7cdcc4dc9939c0499cfe81565b6100e7610489565b6000546001600160a01b0316610110565b6100c16101873660046107f1565b6105d5565b6100c160025481565b6100e76101a3366004610834565b610691565b6100e76101b63660046107d8565b610729565b60006002547f000000000000000000000000d0242443f18586c389a1013539e93f3a7b27018c6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561021957600080fd5b505afa15801561022d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102519190610864565b106102a35760405162461bcd60e51b815260206004820152601c60248201527f454d617465734d696e7465723a204c696d69742065786365656465640000000060448201526064015b60405180910390fd5b6040516335313c2160e11b81523360048201527f000000000000000000000000d0242443f18586c389a1013539e93f3a7b27018c6001600160a01b031690636a62784290602401602060405180830381600087803b15801561030457600080fd5b505af1158015610318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033c9190610864565b6001546040516323b872dd60e01b815233600482015230602482015260448101919091529091507f0000000000000000000000005db69b9f173f9d9fa91b7cdcc4dc9939c0499cfe6001600160a01b0316906323b872dd90606401602060405180830381600087803b1580156103b157600080fd5b505af11580156103c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e9919061087d565b5090565b6000546001600160a01b031633146104175760405162461bcd60e51b815260040161029a9061089f565b60028190556040518181527f479881bf41e329f328c21c2cbb11514b05a021cd33ea4e5a576ea6bc03874fd6906020015b60405180910390a150565b6000546001600160a01b0316331461047d5760405162461bcd60e51b815260040161029a9061089f565b6104876000610788565b565b6000546001600160a01b031633146104b35760405162461bcd60e51b815260040161029a9061089f565b6040516370a0823160e01b81523060048201527f0000000000000000000000005db69b9f173f9d9fa91b7cdcc4dc9939c0499cfe6001600160a01b03169063a9059cbb90339083906370a082319060240160206040518083038186803b15801561051c57600080fd5b505afa158015610530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105549190610864565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561059a57600080fd5b505af11580156105ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d2919061087d565b50565b60015460405163d505accf60e01b815233600482015230602482015260448101919091526064810185905260ff8416608482015260a4810183905260c481018290526000907f0000000000000000000000005db69b9f173f9d9fa91b7cdcc4dc9939c0499cfe6001600160a01b03169063d505accf9060e401600060405180830381600087803b15801561066857600080fd5b505af115801561067c573d6000803e3d6000fd5b505050506106886101bb565b95945050505050565b6000546001600160a01b031633146106bb5760405162461bcd60e51b815260040161029a9061089f565b6001600160a01b0381166107205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029a565b6105d281610788565b6000546001600160a01b031633146107535760405162461bcd60e51b815260040161029a9061089f565b60018190556040518181527f02ebcb79e897ca3a22313ba6de8fc964409964de565fb4bb6a0927871756b88c90602001610448565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156107ea57600080fd5b5035919050565b6000806000806080858703121561080757600080fd5b84359350602085013560ff8116811461081f57600080fd5b93969395505050506040820135916060013590565b60006020828403121561084657600080fd5b81356001600160a01b038116811461085d57600080fd5b9392505050565b60006020828403121561087657600080fd5b5051919050565b60006020828403121561088f57600080fd5b8151801515811461085d57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212209944c48966b5e673732e705d4acbe7e3985820780a8dc06466de83c60826b0f464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d0242443f18586c389a1013539e93f3a7b27018c0000000000000000000000005db69b9f173f9d9fa91b7cdcc4dc9939c0499cfe000000000000000000000000000000000000000000000001a055690d9db80000
-----Decoded View---------------
Arg [0] : _emates (address): 0xD0242443f18586C389a1013539e93f3a7b27018C
Arg [1] : _emix (address): 0x5DB69B9f173f9D9FA91b7cDCc4Dc9939C0499CFe
Arg [2] : _mintPrice (uint256): 30000000000000000000
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000d0242443f18586c389a1013539e93f3a7b27018c
Arg [1] : 0000000000000000000000005db69b9f173f9d9fa91b7cdcc4dc9939c0499cfe
Arg [2] : 000000000000000000000000000000000000000000000001a055690d9db80000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.