Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,880 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set State | 17634972 | 532 days ago | IN | 0 ETH | 0.00073205 | ||||
Change | 17634935 | 532 days ago | IN | 0 ETH | 0.00627839 | ||||
Change | 17634922 | 532 days ago | IN | 0 ETH | 0.00277202 | ||||
Change | 17634921 | 532 days ago | IN | 0 ETH | 0.01869153 | ||||
Change | 17634914 | 532 days ago | IN | 0 ETH | 0.00658302 | ||||
Change | 17634865 | 532 days ago | IN | 0 ETH | 0.0046043 | ||||
Change | 17634817 | 532 days ago | IN | 0 ETH | 0.00738772 | ||||
Change | 17634723 | 532 days ago | IN | 0 ETH | 0.00327184 | ||||
Change | 17634702 | 532 days ago | IN | 0 ETH | 0.00354821 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634701 | 532 days ago | IN | 0 ETH | 0.00355195 | ||||
Change | 17634700 | 532 days ago | IN | 0 ETH | 0.00340646 | ||||
Change | 17634700 | 532 days ago | IN | 0 ETH | 0.00340646 | ||||
Change | 17634700 | 532 days ago | IN | 0 ETH | 0.00340646 | ||||
Change | 17634700 | 532 days ago | IN | 0 ETH | 0.00340646 | ||||
Change | 17634700 | 532 days ago | IN | 0 ETH | 0.00340646 | ||||
Change | 17634700 | 532 days ago | IN | 0 ETH | 0.00340646 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
exchange
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-03 */ // 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; } } /** * @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); } } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } interface nft{ function ownerOf(uint256 tokenId) external view returns (address owner); function isApprovedForAll(address owner, address operator) external view returns (bool); function safeTransferFrom(address from, address to, uint256 tokenId) external; } interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); } interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } contract exchange is IERC721Receiver,Ownable{ using SafeMath for uint256; event Change(uint256[] tokenIds,address user,uint256 amount); address public nftAddress; address public tokenAddress; uint256 public quantity = 59488e18; bool public state = false; uint256 public lockTime; constructor(address nft_address,address token_address) Ownable(){ nftAddress = nft_address; tokenAddress = token_address; lockTime = 3600*24*365 + block.timestamp; } function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) { return this.onERC721Received.selector; } function change(uint256[] memory tokenIds) public{ require(state == true, "not yet open"); require(nft(nftAddress).isApprovedForAll(msg.sender, address(this)) == true, "transfer caller is not approved"); for(uint256 i = 0; i < tokenIds.length;i++){ require(nft(nftAddress).ownerOf(tokenIds[i]) == msg.sender, "transfer caller is not owner"); nft(nftAddress).safeTransferFrom(msg.sender,0x000000000000000000000000000000000000dEaD,tokenIds[i]); } uint256 amount = quantity.mul(tokenIds.length); IERC20(tokenAddress).transfer(msg.sender,amount); emit Change(tokenIds,msg.sender,amount); } function setQuantity(uint256 amount) public onlyOwner{ quantity = amount; } function setState(bool _state) public onlyOwner{ state = _state; } function withdraw(uint256 amount) public onlyOwner{ IERC20(tokenAddress).transfer(msg.sender,amount); } function putNTF(address NFTAddress,uint256 tokenId) public onlyOwner{ nft(NFTAddress).safeTransferFrom(msg.sender,address(this),tokenId); } function takeNFT(address NFTAddress,uint256 tokenId) public onlyOwner{ require(block.timestamp > lockTime, "lock time"); nft(NFTAddress).safeTransferFrom(address(this),msg.sender,tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"nft_address","type":"address"},{"internalType":"address","name":"token_address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Change","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"change","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"NFTAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"putNTF","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"quantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"NFTAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"takeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052690c98d9d75311658000006003556004805460ff19169055348015610027575f80fd5b50604051610eaa380380610eaa83398101604081905261004691610102565b61004f33610098565b600180546001600160a01b038085166001600160a01b031992831617909255600280549284169290911691909117905561008d426301e13380610133565b600555506101589050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100fd575f80fd5b919050565b5f8060408385031215610113575f80fd5b61011c836100e7565b915061012a602084016100e7565b90509250929050565b8082018082111561015257634e487b7160e01b5f52601160045260245ffd5b92915050565b610d45806101655f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c8063715018a611610093578063c19d93fb11610063578063c19d93fb146101f4578063dd455e6914610211578063f2fde38b14610224578063f886877814610237575f80fd5b8063715018a6146101b65780638da5cb5b146101be5780639d76ea58146101ce578063ac9f0222146101e1575f80fd5b806317fc45e2116100ce57806317fc45e21461015c5780632e1a7d4d146101655780633ce3fc5a146101785780635bf8633a1461018b575f80fd5b80630bf15326146100f45780630d66808714610109578063150b7a0214610125575b5f80fd5b61010761010236600461099e565b61024a565b005b61011260055481565b6040519081526020015b60405180910390f35b610143610133366004610a0e565b630a85bd0160e11b949350505050565b6040516001600160e01b0319909116815260200161011c565b61011260035481565b61010761017336600461099e565b610281565b610107610186366004610acb565b610320565b60015461019e906001600160a01b031681565b6040516001600160a01b03909116815260200161011c565b6101076103af565b5f546001600160a01b031661019e565b60025461019e906001600160a01b031681565b6101076101ef366004610b02565b6103e3565b6004546102019060ff1681565b604051901515815260200161011c565b61010761021f366004610acb565b61041f565b610107610232366004610b1d565b6104be565b610107610245366004610b38565b610558565b5f546001600160a01b0316331461027c5760405162461bcd60e51b815260040161027390610bd9565b60405180910390fd5b600355565b5f546001600160a01b031633146102aa5760405162461bcd60e51b815260040161027390610bd9565b60025460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303815f875af11580156102f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031c9190610c0e565b5050565b5f546001600160a01b031633146103495760405162461bcd60e51b815260040161027390610bd9565b604051632142170760e11b8152336004820152306024820152604481018290526001600160a01b038316906342842e0e906064015b5f604051808303815f87803b158015610395575f80fd5b505af11580156103a7573d5f803e3d5ffd5b505050505050565b5f546001600160a01b031633146103d85760405162461bcd60e51b815260040161027390610bd9565b6103e15f6108c8565b565b5f546001600160a01b0316331461040c5760405162461bcd60e51b815260040161027390610bd9565b6004805460ff1916911515919091179055565b5f546001600160a01b031633146104485760405162461bcd60e51b815260040161027390610bd9565b60055442116104855760405162461bcd60e51b81526020600482015260096024820152686c6f636b2074696d6560b81b6044820152606401610273565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e9060640161037e565b5f546001600160a01b031633146104e75760405162461bcd60e51b815260040161027390610bd9565b6001600160a01b03811661054c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610273565b610555816108c8565b50565b60045460ff16151560011461059e5760405162461bcd60e51b815260206004820152600c60248201526b3737ba103cb2ba1037b832b760a11b6044820152606401610273565b60015460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c590604401602060405180830381865afa1580156105ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060e9190610c0e565b151560011461065f5760405162461bcd60e51b815260206004820152601f60248201527f7472616e736665722063616c6c6572206973206e6f7420617070726f766564006044820152606401610273565b5f5b81518110156107fd57600154825133916001600160a01b031690636352211e9085908590811061069357610693610c29565b60200260200101516040518263ffffffff1660e01b81526004016106b991815260200190565b602060405180830381865afa1580156106d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f89190610c3d565b6001600160a01b03161461074e5760405162461bcd60e51b815260206004820152601c60248201527f7472616e736665722063616c6c6572206973206e6f74206f776e6572000000006044820152606401610273565b60015482516001600160a01b03909116906342842e0e90339061dead9086908690811061077d5761077d610c29565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064015f604051808303815f87803b1580156107d4575f80fd5b505af11580156107e6573d5f803e3d5ffd5b5050505080806107f590610c6c565b915050610661565b505f610815825160035461091790919063ffffffff16565b60025460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303815f875af1158015610864573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108889190610c0e565b507fed03b1a054e45bb14b42aebaa1a580b8380cec760f0e67d8072ba8475df93bf18233836040516108bc93929190610c84565b60405180910390a15050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f825f0361092657505f610998565b5f6109318385610cd9565b90508261093e8583610cf0565b146109955760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610273565b90505b92915050565b5f602082840312156109ae575f80fd5b5035919050565b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a0657610a066109c9565b604052919050565b5f805f8060808587031215610a21575f80fd5b8435610a2c816109b5565b9350602085810135610a3d816109b5565b935060408601359250606086013567ffffffffffffffff80821115610a60575f80fd5b818801915088601f830112610a73575f80fd5b813581811115610a8557610a856109c9565b610a97601f8201601f191685016109dd565b91508082528984828501011115610aac575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b5f8060408385031215610adc575f80fd5b8235610ae7816109b5565b946020939093013593505050565b8015158114610555575f80fd5b5f60208284031215610b12575f80fd5b813561099581610af5565b5f60208284031215610b2d575f80fd5b8135610995816109b5565b5f6020808385031215610b49575f80fd5b823567ffffffffffffffff80821115610b60575f80fd5b818501915085601f830112610b73575f80fd5b813581811115610b8557610b856109c9565b8060051b9150610b968483016109dd565b8181529183018401918481019088841115610baf575f80fd5b938501935b83851015610bcd57843582529385019390850190610bb4565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610c1e575f80fd5b815161099581610af5565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610c4d575f80fd5b8151610995816109b5565b634e487b7160e01b5f52601160045260245ffd5b5f60018201610c7d57610c7d610c58565b5060010190565b606080825284519082018190525f906020906080840190828801845b82811015610cbc57815184529284019290840190600101610ca0565b5050506001600160a01b0395909516908301525060400152919050565b808202811582820484141761099857610998610c58565b5f82610d0a57634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212200c87af18430d463a8fa15f63ee9685748f262b2c4b917df4fe8a3be8d9ef208264736f6c63430008140033000000000000000000000000ec7972f53d96a6a2260f8460768f49b8721b61060000000000000000000000005a035e3f1551a15230d0cde3357fb1bf89369261
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c8063715018a611610093578063c19d93fb11610063578063c19d93fb146101f4578063dd455e6914610211578063f2fde38b14610224578063f886877814610237575f80fd5b8063715018a6146101b65780638da5cb5b146101be5780639d76ea58146101ce578063ac9f0222146101e1575f80fd5b806317fc45e2116100ce57806317fc45e21461015c5780632e1a7d4d146101655780633ce3fc5a146101785780635bf8633a1461018b575f80fd5b80630bf15326146100f45780630d66808714610109578063150b7a0214610125575b5f80fd5b61010761010236600461099e565b61024a565b005b61011260055481565b6040519081526020015b60405180910390f35b610143610133366004610a0e565b630a85bd0160e11b949350505050565b6040516001600160e01b0319909116815260200161011c565b61011260035481565b61010761017336600461099e565b610281565b610107610186366004610acb565b610320565b60015461019e906001600160a01b031681565b6040516001600160a01b03909116815260200161011c565b6101076103af565b5f546001600160a01b031661019e565b60025461019e906001600160a01b031681565b6101076101ef366004610b02565b6103e3565b6004546102019060ff1681565b604051901515815260200161011c565b61010761021f366004610acb565b61041f565b610107610232366004610b1d565b6104be565b610107610245366004610b38565b610558565b5f546001600160a01b0316331461027c5760405162461bcd60e51b815260040161027390610bd9565b60405180910390fd5b600355565b5f546001600160a01b031633146102aa5760405162461bcd60e51b815260040161027390610bd9565b60025460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303815f875af11580156102f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031c9190610c0e565b5050565b5f546001600160a01b031633146103495760405162461bcd60e51b815260040161027390610bd9565b604051632142170760e11b8152336004820152306024820152604481018290526001600160a01b038316906342842e0e906064015b5f604051808303815f87803b158015610395575f80fd5b505af11580156103a7573d5f803e3d5ffd5b505050505050565b5f546001600160a01b031633146103d85760405162461bcd60e51b815260040161027390610bd9565b6103e15f6108c8565b565b5f546001600160a01b0316331461040c5760405162461bcd60e51b815260040161027390610bd9565b6004805460ff1916911515919091179055565b5f546001600160a01b031633146104485760405162461bcd60e51b815260040161027390610bd9565b60055442116104855760405162461bcd60e51b81526020600482015260096024820152686c6f636b2074696d6560b81b6044820152606401610273565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e9060640161037e565b5f546001600160a01b031633146104e75760405162461bcd60e51b815260040161027390610bd9565b6001600160a01b03811661054c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610273565b610555816108c8565b50565b60045460ff16151560011461059e5760405162461bcd60e51b815260206004820152600c60248201526b3737ba103cb2ba1037b832b760a11b6044820152606401610273565b60015460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c590604401602060405180830381865afa1580156105ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060e9190610c0e565b151560011461065f5760405162461bcd60e51b815260206004820152601f60248201527f7472616e736665722063616c6c6572206973206e6f7420617070726f766564006044820152606401610273565b5f5b81518110156107fd57600154825133916001600160a01b031690636352211e9085908590811061069357610693610c29565b60200260200101516040518263ffffffff1660e01b81526004016106b991815260200190565b602060405180830381865afa1580156106d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f89190610c3d565b6001600160a01b03161461074e5760405162461bcd60e51b815260206004820152601c60248201527f7472616e736665722063616c6c6572206973206e6f74206f776e6572000000006044820152606401610273565b60015482516001600160a01b03909116906342842e0e90339061dead9086908690811061077d5761077d610c29565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064015f604051808303815f87803b1580156107d4575f80fd5b505af11580156107e6573d5f803e3d5ffd5b5050505080806107f590610c6c565b915050610661565b505f610815825160035461091790919063ffffffff16565b60025460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303815f875af1158015610864573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108889190610c0e565b507fed03b1a054e45bb14b42aebaa1a580b8380cec760f0e67d8072ba8475df93bf18233836040516108bc93929190610c84565b60405180910390a15050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f825f0361092657505f610998565b5f6109318385610cd9565b90508261093e8583610cf0565b146109955760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610273565b90505b92915050565b5f602082840312156109ae575f80fd5b5035919050565b6001600160a01b0381168114610555575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a0657610a066109c9565b604052919050565b5f805f8060808587031215610a21575f80fd5b8435610a2c816109b5565b9350602085810135610a3d816109b5565b935060408601359250606086013567ffffffffffffffff80821115610a60575f80fd5b818801915088601f830112610a73575f80fd5b813581811115610a8557610a856109c9565b610a97601f8201601f191685016109dd565b91508082528984828501011115610aac575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b5f8060408385031215610adc575f80fd5b8235610ae7816109b5565b946020939093013593505050565b8015158114610555575f80fd5b5f60208284031215610b12575f80fd5b813561099581610af5565b5f60208284031215610b2d575f80fd5b8135610995816109b5565b5f6020808385031215610b49575f80fd5b823567ffffffffffffffff80821115610b60575f80fd5b818501915085601f830112610b73575f80fd5b813581811115610b8557610b856109c9565b8060051b9150610b968483016109dd565b8181529183018401918481019088841115610baf575f80fd5b938501935b83851015610bcd57843582529385019390850190610bb4565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610c1e575f80fd5b815161099581610af5565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610c4d575f80fd5b8151610995816109b5565b634e487b7160e01b5f52601160045260245ffd5b5f60018201610c7d57610c7d610c58565b5060010190565b606080825284519082018190525f906020906080840190828801845b82811015610cbc57815184529284019290840190600101610ca0565b5050506001600160a01b0395909516908301525060400152919050565b808202811582820484141761099857610998610c58565b5f82610d0a57634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212200c87af18430d463a8fa15f63ee9685748f262b2c4b917df4fe8a3be8d9ef208264736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ec7972f53d96a6a2260f8460768f49b8721b61060000000000000000000000005a035e3f1551a15230d0cde3357fb1bf89369261
-----Decoded View---------------
Arg [0] : nft_address (address): 0xEC7972f53d96A6a2260F8460768f49B8721B6106
Arg [1] : token_address (address): 0x5A035e3F1551a15230D0cDE3357fB1bf89369261
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ec7972f53d96a6a2260f8460768f49b8721b6106
Arg [1] : 0000000000000000000000005a035e3f1551a15230d0cde3357fb1bf89369261
Deployed Bytecode Sourcemap
5877:2091:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7277:89;;;;;;:::i;:::-;;:::i;:::-;;6179:23;;;;;;;;;345:25:1;;;333:2;318:18;6179:23:0;;;;;;;;6418:164;;;;;;:::i;:::-;-1:-1:-1;;;6418:164:0;;;;;;;;;;-1:-1:-1;;;;;;2204:33:1;;;2186:52;;2174:2;2159:18;6418:164:0;2042:202:1;6106:34:0;;;;;;7460:117;;;;;;:::i;:::-;;:::i;7585:153::-;;;;;;:::i;:::-;;:::i;6040:25::-;;;;;-1:-1:-1;;;;;6040:25:0;;;;;;-1:-1:-1;;;;;2733:32:1;;;2715:51;;2703:2;2688:18;6040:25:0;2569:203:1;2370:94:0;;;:::i;1719:87::-;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;1719:87;;6072:27;;;;;-1:-1:-1;;;;;6072:27:0;;;7372:80;;;;;;:::i;:::-;;:::i;6147:25::-;;;;;;;;;;;;3311:14:1;;3304:22;3286:41;;3274:2;3259:18;6147:25:0;3146:187:1;7750:213:0;;;;;;:::i;:::-;;:::i;2619:192::-;;;;;;:::i;:::-;;:::i;6590:679::-;;;;;;:::i;:::-;;:::i;7277:89::-;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;677:10;1939:23;1931:68;;;;-1:-1:-1;;;1931:68:0;;;;;;;:::i;:::-;;;;;;;;;7341:8:::1;:17:::0;7277:89::o;7460:117::-;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;677:10;1939:23;1931:68;;;;-1:-1:-1;;;1931:68:0;;;;;;;:::i;:::-;7528:12:::1;::::0;7521:48:::1;::::0;-1:-1:-1;;;7521:48:0;;7551:10:::1;7521:48;::::0;::::1;5076:51:1::0;5143:18;;;5136:34;;;-1:-1:-1;;;;;7528:12:0;;::::1;::::0;7521:29:::1;::::0;5049:18:1;;7521:48:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7460:117:::0;:::o;7585:153::-;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;677:10;1939:23;1931:68;;;;-1:-1:-1;;;1931:68:0;;;;;;;:::i;:::-;7664:66:::1;::::0;-1:-1:-1;;;7664:66:0;;7697:10:::1;7664:66;::::0;::::1;5671:34:1::0;7716:4:0::1;5721:18:1::0;;;5714:43;5773:18;;;5766:34;;;-1:-1:-1;;;;;7664:32:0;::::1;::::0;::::1;::::0;5606:18:1;;7664:66:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7585:153:::0;;:::o;2370:94::-;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;677:10;1939:23;1931:68;;;;-1:-1:-1;;;1931:68:0;;;;;;;:::i;:::-;2435:21:::1;2453:1;2435:9;:21::i;:::-;2370:94::o:0;7372:80::-;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;677:10;1939:23;1931:68;;;;-1:-1:-1;;;1931:68:0;;;;;;;:::i;:::-;7430:5:::1;:14:::0;;-1:-1:-1;;7430:14:0::1;::::0;::::1;;::::0;;;::::1;::::0;;7372:80::o;7750:213::-;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;677:10;1939:23;1931:68;;;;-1:-1:-1;;;1931:68:0;;;;;;;:::i;:::-;7856:8:::1;;7838:15;:26;7830:48;;;::::0;-1:-1:-1;;;7830:48:0;;6013:2:1;7830:48:0::1;::::0;::::1;5995:21:1::0;6052:1;6032:18;;;6025:29;-1:-1:-1;;;6070:18:1;;;6063:39;6119:18;;7830:48:0::1;5811:332:1::0;7830:48:0::1;7889:66;::::0;-1:-1:-1;;;7889:66:0;;7930:4:::1;7889:66;::::0;::::1;5671:34:1::0;7936:10:0::1;5721:18:1::0;;;5714:43;5773:18;;;5766:34;;;-1:-1:-1;;;;;7889:32:0;::::1;::::0;::::1;::::0;5606:18:1;;7889:66:0::1;5431:375:1::0;2619:192:0;1765:7;1792:6;-1:-1:-1;;;;;1792:6:0;677:10;1939:23;1931:68;;;;-1:-1:-1;;;1931:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2708:22:0;::::1;2700:73;;;::::0;-1:-1:-1;;;2700:73:0;;6350:2:1;2700:73:0::1;::::0;::::1;6332:21:1::0;6389:2;6369:18;;;6362:30;6428:34;6408:18;;;6401:62;-1:-1:-1;;;6479:18:1;;;6472:36;6525:19;;2700:73:0::1;6148:402:1::0;2700:73:0::1;2784:19;2794:8;2784:9;:19::i;:::-;2619:192:::0;:::o;6590:679::-;6658:5;;;;:13;;:5;:13;6650:38;;;;-1:-1:-1;;;6650:38:0;;6757:2:1;6650:38:0;;;6739:21:1;6796:2;6776:18;;;6769:30;-1:-1:-1;;;6815:18:1;;;6808:42;6867:18;;6650:38:0;6555:336:1;6650:38:0;6711:10;;6707:59;;-1:-1:-1;;;6707:59:0;;6740:10;6707:59;;;7108:34:1;6760:4:0;7158:18:1;;;7151:43;-1:-1:-1;;;;;6711:10:0;;;;6707:32;;7043:18:1;;6707:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:67;;6770:4;6707:67;6699:111;;;;-1:-1:-1;;;6699:111:0;;7407:2:1;6699:111:0;;;7389:21:1;7446:2;7426:18;;;7419:30;7485:33;7465:18;;;7458:61;7536:18;;6699:111:0;7205:355:1;6699:111:0;6825:9;6821:275;6844:8;:15;6840:1;:19;6821:275;;;6891:10;;6911:11;;6927:10;;-1:-1:-1;;;;;6891:10:0;;6887:23;;6911:8;;6920:1;;6911:11;;;;;;:::i;:::-;;;;;;;6887:36;;;;;;;;;;;;;345:25:1;;333:2;318:18;;199:177;6887:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;6887:50:0;;6879:91;;;;-1:-1:-1;;;6879:91:0;;8155:2:1;6879:91:0;;;8137:21:1;8194:2;8174:18;;;8167:30;8233;8213:18;;;8206:58;8281:18;;6879:91:0;7953:352:1;6879:91:0;6989:10;;7072:11;;-1:-1:-1;;;;;6989:10:0;;;;6985:32;;7018:10;;7029:42;;7072:8;;7081:1;;7072:11;;;;;;:::i;:::-;;;;;;;;;;;6985:99;;-1:-1:-1;;;;;;6985:99:0;;;;;;;-1:-1:-1;;;;;5689:15:1;;;6985:99:0;;;5671:34:1;5741:15;;;;5721:18;;;5714:43;5773:18;;;5766:34;5606:18;;6985:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6860:3;;;;;:::i;:::-;;;;6821:275;;;;7106:14;7123:29;7136:8;:15;7123:8;;:12;;:29;;;;:::i;:::-;7170:12;;7163:48;;-1:-1:-1;;;7163:48:0;;7193:10;7163:48;;;5076:51:1;5143:18;;;5136:34;;;7106:46:0;;-1:-1:-1;;;;;;7170:12:0;;7163:29;;5049:18:1;;7163:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7227:34;7234:8;7243:10;7254:6;7227:34;;;;;;;;:::i;:::-;;;;;;;;6639:630;6590:679;:::o;2819:173::-;2875:16;2894:6;;-1:-1:-1;;;;;2911:17:0;;;-1:-1:-1;;;;;;2911:17:0;;;;;;2944:40;;2894:6;;;;;;;2944:40;;2875:16;2944:40;2864:128;2819:173;:::o;3564:471::-;3622:7;3867:1;3872;3867:6;3863:47;;-1:-1:-1;3897:1:0;3890:8;;3863:47;3922:9;3934:5;3938:1;3934;:5;:::i;:::-;3922:17;-1:-1:-1;3967:1:0;3958:5;3962:1;3922:17;3958:5;:::i;:::-;:10;3950:56;;;;-1:-1:-1;;;3950:56:0;;9987:2:1;3950:56:0;;;9969:21:1;10026:2;10006:18;;;9999:30;10065:34;10045:18;;;10038:62;-1:-1:-1;;;10116:18:1;;;10109:31;10157:19;;3950:56:0;9785:397:1;3950:56:0;4026:1;-1:-1:-1;3564:471:0;;;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;381:131::-;-1:-1:-1;;;;;456:31:1;;446:42;;436:70;;502:1;499;492:12;517:127;578:10;573:3;569:20;566:1;559:31;609:4;606:1;599:15;633:4;630:1;623:15;649:275;720:2;714:9;785:2;766:13;;-1:-1:-1;;762:27:1;750:40;;820:18;805:34;;841:22;;;802:62;799:88;;;867:18;;:::i;:::-;903:2;896:22;649:275;;-1:-1:-1;649:275:1:o;929:1108::-;1024:6;1032;1040;1048;1101:3;1089:9;1080:7;1076:23;1072:33;1069:53;;;1118:1;1115;1108:12;1069:53;1157:9;1144:23;1176:31;1201:5;1176:31;:::i;:::-;1226:5;-1:-1:-1;1250:2:1;1289:18;;;1276:32;1317:33;1276:32;1317:33;:::i;:::-;1369:7;-1:-1:-1;1423:2:1;1408:18;;1395:32;;-1:-1:-1;1478:2:1;1463:18;;1450:32;1501:18;1531:14;;;1528:34;;;1558:1;1555;1548:12;1528:34;1596:6;1585:9;1581:22;1571:32;;1641:7;1634:4;1630:2;1626:13;1622:27;1612:55;;1663:1;1660;1653:12;1612:55;1699:2;1686:16;1721:2;1717;1714:10;1711:36;;;1727:18;;:::i;:::-;1769:53;1812:2;1793:13;;-1:-1:-1;;1789:27:1;1785:36;;1769:53;:::i;:::-;1756:66;;1845:2;1838:5;1831:17;1885:7;1880:2;1875;1871;1867:11;1863:20;1860:33;1857:53;;;1906:1;1903;1896:12;1857:53;1961:2;1956;1952;1948:11;1943:2;1936:5;1932:14;1919:45;2005:1;2000:2;1995;1988:5;1984:14;1980:23;1973:34;;2026:5;2016:15;;;;;929:1108;;;;;;;:::o;2249:315::-;2317:6;2325;2378:2;2366:9;2357:7;2353:23;2349:32;2346:52;;;2394:1;2391;2384:12;2346:52;2433:9;2420:23;2452:31;2477:5;2452:31;:::i;:::-;2502:5;2554:2;2539:18;;;;2526:32;;-1:-1:-1;;;2249:315:1:o;2777:118::-;2863:5;2856:13;2849:21;2842:5;2839:32;2829:60;;2885:1;2882;2875:12;2900:241;2956:6;3009:2;2997:9;2988:7;2984:23;2980:32;2977:52;;;3025:1;3022;3015:12;2977:52;3064:9;3051:23;3083:28;3105:5;3083:28;:::i;3338:247::-;3397:6;3450:2;3438:9;3429:7;3425:23;3421:32;3418:52;;;3466:1;3463;3456:12;3418:52;3505:9;3492:23;3524:31;3549:5;3524:31;:::i;3590:946::-;3674:6;3705:2;3748;3736:9;3727:7;3723:23;3719:32;3716:52;;;3764:1;3761;3754:12;3716:52;3804:9;3791:23;3833:18;3874:2;3866:6;3863:14;3860:34;;;3890:1;3887;3880:12;3860:34;3928:6;3917:9;3913:22;3903:32;;3973:7;3966:4;3962:2;3958:13;3954:27;3944:55;;3995:1;3992;3985:12;3944:55;4031:2;4018:16;4053:2;4049;4046:10;4043:36;;;4059:18;;:::i;:::-;4105:2;4102:1;4098:10;4088:20;;4128:28;4152:2;4148;4144:11;4128:28;:::i;:::-;4190:15;;;4260:11;;;4256:20;;;4221:12;;;;4288:19;;;4285:39;;;4320:1;4317;4310:12;4285:39;4344:11;;;;4364:142;4380:6;4375:3;4372:15;4364:142;;;4446:17;;4434:30;;4397:12;;;;4484;;;;4364:142;;;4525:5;3590:946;-1:-1:-1;;;;;;;;3590:946:1:o;4541:356::-;4743:2;4725:21;;;4762:18;;;4755:30;4821:34;4816:2;4801:18;;4794:62;4888:2;4873:18;;4541:356::o;5181:245::-;5248:6;5301:2;5289:9;5280:7;5276:23;5272:32;5269:52;;;5317:1;5314;5307:12;5269:52;5349:9;5343:16;5368:28;5390:5;5368:28;:::i;7565:127::-;7626:10;7621:3;7617:20;7614:1;7607:31;7657:4;7654:1;7647:15;7681:4;7678:1;7671:15;7697:251;7767:6;7820:2;7808:9;7799:7;7795:23;7791:32;7788:52;;;7836:1;7833;7826:12;7788:52;7868:9;7862:16;7887:31;7912:5;7887:31;:::i;8310:127::-;8371:10;8366:3;8362:20;8359:1;8352:31;8402:4;8399:1;8392:15;8426:4;8423:1;8416:15;8442:135;8481:3;8502:17;;;8499:43;;8522:18;;:::i;:::-;-1:-1:-1;8569:1:1;8558:13;;8442:135::o;8582:803::-;8828:2;8840:21;;;8910:13;;8813:18;;;8932:22;;;8780:4;;9008;;8985:3;8970:19;;;9035:15;;;8780:4;9078:169;9092:6;9089:1;9086:13;9078:169;;;9153:13;;9141:26;;9187:12;;;;9222:15;;;;9114:1;9107:9;9078:169;;;-1:-1:-1;;;;;;;;9303:32:1;;;;9283:18;;;9276:60;-1:-1:-1;9367:2:1;9352:18;9345:34;9264:3;8582:803;-1:-1:-1;8582:803:1:o;9390:168::-;9463:9;;;9494;;9511:15;;;9505:22;;9491:37;9481:71;;9532:18;;:::i;9563:217::-;9603:1;9629;9619:132;;9673:10;9668:3;9664:20;9661:1;9654:31;9708:4;9705:1;9698:15;9736:4;9733:1;9726:15;9619:132;-1:-1:-1;9765:9:1;;9563:217::o
Swarm Source
ipfs://0c87af18430d463a8fa15f63ee9685748f262b2c4b917df4fe8a3be8d9ef2082
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.