More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 781 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Bridgeable N... | 20095918 | 232 days ago | IN | 0 ETH | 0.00405162 | ||||
Get Bridgeable N... | 20095917 | 232 days ago | IN | 0 ETH | 0.00289707 | ||||
Get Bridgeable N... | 20095915 | 232 days ago | IN | 0 ETH | 0.00520925 | ||||
Get Bridgeable N... | 20095495 | 232 days ago | IN | 0 ETH | 0.00413734 | ||||
Get Bridgeable N... | 20095494 | 232 days ago | IN | 0 ETH | 0.00303527 | ||||
Get Bridgeable N... | 20095493 | 232 days ago | IN | 0 ETH | 0.00555454 | ||||
Get Bridgeable N... | 20095464 | 232 days ago | IN | 0 ETH | 0.00381894 | ||||
Get Bridgeable N... | 20095463 | 232 days ago | IN | 0 ETH | 0.00500445 | ||||
Get Bridgeable N... | 20095164 | 232 days ago | IN | 0 ETH | 0.00152887 | ||||
Get Bridgeable N... | 20095163 | 232 days ago | IN | 0 ETH | 0.00395393 | ||||
Get Bridgeable N... | 20095162 | 232 days ago | IN | 0 ETH | 0.00280041 | ||||
Get Bridgeable N... | 20095161 | 232 days ago | IN | 0 ETH | 0.00491583 | ||||
Get Bridgeable N... | 20095160 | 232 days ago | IN | 0 ETH | 0.00161919 | ||||
Get Bridgeable N... | 20095061 | 232 days ago | IN | 0 ETH | 0.00189944 | ||||
Get Bridgeable N... | 20095060 | 232 days ago | IN | 0 ETH | 0.00469525 | ||||
Get Bridgeable N... | 20095059 | 232 days ago | IN | 0 ETH | 0.00320755 | ||||
Get Bridgeable N... | 20095058 | 232 days ago | IN | 0 ETH | 0.00637184 | ||||
Get Bridgeable N... | 20094974 | 232 days ago | IN | 0 ETH | 0.0057475 | ||||
Get Bridgeable N... | 20094965 | 232 days ago | IN | 0 ETH | 0.00631797 | ||||
Get Bridgeable N... | 20094961 | 232 days ago | IN | 0 ETH | 0.00344088 | ||||
Get Bridgeable N... | 20094862 | 232 days ago | IN | 0 ETH | 0.00477672 | ||||
Get Bridgeable N... | 20094860 | 232 days ago | IN | 0 ETH | 0.00611614 | ||||
Get Bridgeable N... | 20094813 | 232 days ago | IN | 0 ETH | 0.00599788 | ||||
Get Bridgeable N... | 20094810 | 232 days ago | IN | 0 ETH | 0.00319447 | ||||
Get Bridgeable N... | 20094808 | 232 days ago | IN | 0 ETH | 0.00332031 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
GFarmNftSwap
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-04-05 */ // File: node_modules\@openzeppelin\contracts\introspection\IERC165.sol // SPDX-License-Identifier: MIT pragma solidity ^0.7.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); } // File: @openzeppelin\contracts\token\ERC721\IERC721.sol pragma solidity ^0.7.0; /** * @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; } // File: contracts\GFarmNftSwap.sol pragma solidity 0.7.5; interface GFarmNftInterface{ function idToLeverage(uint id) external view returns(uint8); function transferFrom(address from, address to, uint256 tokenId) external; } interface GFarmBridgeableNftInterface{ function ownerOf(uint256 tokenId) external view returns (address); function mint(address to, uint tokenId) external; function burn(uint tokenId) external; function transferFrom(address from, address to, uint256 tokenId) external; } contract GFarmNftSwap{ GFarmNftInterface public nft; GFarmBridgeableNftInterface[5] public bridgeableNfts; address public gov; event NftToBridgeableNft(uint nftType, uint tokenId); event BridgeableNftToNft(uint nftType, uint tokenId); constructor(GFarmNftInterface _nft){ nft = _nft; gov = msg.sender; } function setBridgeableNfts(GFarmBridgeableNftInterface[5] calldata _bridgeableNfts) external{ require(msg.sender == gov, "ONLY_GOV"); require(bridgeableNfts[0] == GFarmBridgeableNftInterface(0), "BRIDGEABLE_NFTS_ALREADY_SET"); bridgeableNfts = _bridgeableNfts; } function leverageToType(uint leverage) pure private returns(uint){ // 150 => 5 if(leverage == 150){ return 5; } // 25 => 1, 50 => 2, 75 => 3, 100 => 4 return leverage / 25; } // Important: nft types = 1,2,3,4,5 (25x, 50x, 75x, 100x, 150x) modifier correctNftType(uint nftType){ require(nftType > 0 && nftType < 6, "NFT_TYPE_BETWEEN_1_AND_5"); _; } // Swap non-bridgeable nft for bridgeable nft function getBridgeableNft(uint nftType, uint tokenId) public correctNftType(nftType){ // 1. token id corresponds to type provided require(leverageToType(nft.idToLeverage(tokenId)) == nftType, "WRONG_TYPE"); // 2. transfer nft to this contract nft.transferFrom(msg.sender, address(this), tokenId); // 3. mint bridgeable nft of same type bridgeableNfts[nftType-1].mint(msg.sender, tokenId); emit NftToBridgeableNft(nftType, tokenId); } // Swap non-bridgeable nfts for bridgeable nfts function getBridgeableNfts(uint nftType, uint[] calldata ids) external correctNftType(nftType){ // 1. max 10 at the same time require(ids.length <= 10, "MAX_10"); // 2. loop over ids for(uint i = 0; i < ids.length; i++){ getBridgeableNft(nftType, ids[i]); } } // Swap bridgeable nft for unbridgeable nft function getNft(uint nftType, uint tokenId) public correctNftType(nftType){ // 1. Verify he owns the NFT require(bridgeableNfts[nftType-1].ownerOf(tokenId) == msg.sender, "NOT_OWNER"); // 2. Burn bridgeable nft bridgeableNfts[nftType-1].burn(tokenId); // 3. transfer nft to msg.sender nft.transferFrom(address(this), msg.sender, tokenId); emit BridgeableNftToNft(nftType, tokenId); } // Swap bridgeable nft for unbridgeable nfts function getNfts(uint nftType, uint[] calldata ids) external correctNftType(nftType){ // 1. max 10 at the same time require(ids.length <= 10, "MAX_10"); // 2. loop over ids for(uint i = 0; i < ids.length; i++){ getNft(nftType, ids[i]); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract GFarmNftInterface","name":"_nft","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftType","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BridgeableNftToNft","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftType","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NftToBridgeableNft","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bridgeableNfts","outputs":[{"internalType":"contract GFarmBridgeableNftInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBridgeableNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"getBridgeableNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"getNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract GFarmNftInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract GFarmBridgeableNftInterface[5]","name":"_bridgeableNfts","type":"address[5]"}],"name":"setBridgeableNfts","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610b49380380610b498339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b03199283161790556006805490911633179055610adc8061006d6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806386a374c51161005b57806386a374c514610155578063898ccf54146101cc578063d7bc78a5146101ef578063dabbf8521461020c57610088565b806312d43a511461008d5780631eca4b93146100b157806347ccca02146100d657806376ae1a5e146100de575b600080fd5b610095610228565b604080516001600160a01b039092168252519081900360200190f35b6100d4600480360360408110156100c757600080fd5b5080359060200135610237565b005b6100956104c8565b6100d4600480360360408110156100f457600080fd5b8135919081019060408101602082013564010000000081111561011657600080fd5b82018360208201111561012857600080fd5b8035906020019184602083028401116401000000008311171561014a57600080fd5b5090925090506104d7565b6100d46004803603604081101561016b57600080fd5b8135919081019060408101602082013564010000000081111561018d57600080fd5b82018360208201111561019f57600080fd5b803590602001918460208302840111640100000000831117156101c157600080fd5b5090925090506105ae565b6100d4600480360360408110156101e257600080fd5b508035906020013561067e565b6100956004803603602081101561020557600080fd5b5035610917565b6100d4600480360360a081101561022257600080fd5b50610937565b6006546001600160a01b031681565b816000811180156102485750600681105b610299576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b600054604080517fe4214ec00000000000000000000000000000000000000000000000000000000081526004810185905290518592610338926001600160a01b039091169163e4214ec091602480820192602092909190829003018186803b15801561030457600080fd5b505afa158015610318573d6000803e3d6000fd5b505050506040513d602081101561032e57600080fd5b505160ff16610a05565b1461038a576040805162461bcd60e51b815260206004820152600a60248201527f57524f4e475f5459504500000000000000000000000000000000000000000000604482015290519081900360640190fd5b60008054604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216926323b872dd9260648084019382900301818387803b1580156103de57600080fd5b505af11580156103f2573d6000803e3d6000fd5b5050505060018084036005811061040557fe5b0154604080517f40c10f190000000000000000000000000000000000000000000000000000000081523360048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561047057600080fd5b505af1158015610484573d6000803e3d6000fd5b5050604080518681526020810186905281517f4a4c8dc50e73afdfbe69b056e1afe522022d18b20b7d7bc8ad649ab0f3a92e2f9450908190039091019150a1505050565b6000546001600160a01b031681565b826000811180156104e85750600681105b610539576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b600a821115610578576040805162461bcd60e51b815260206004820152600660248201526504d41585f31360d41b604482015290519081900360640190fd5b60005b828110156105a75761059f8585858481811061059357fe5b90506020020135610237565b60010161057b565b5050505050565b826000811180156105bf5750600681105b610610576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b600a82111561064f576040805162461bcd60e51b815260206004820152600660248201526504d41585f31360d41b604482015290519081900360640190fd5b60005b828110156105a7576106768585858481811061066a57fe5b9050602002013561067e565b600101610652565b8160008111801561068f5750600681105b6106e0576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b3360016000198501600581106106f257fe5b0154604080517f6352211e0000000000000000000000000000000000000000000000000000000081526004810186905290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561075657600080fd5b505afa15801561076a573d6000803e3d6000fd5b505050506040513d602081101561078057600080fd5b50516001600160a01b0316146107dd576040805162461bcd60e51b815260206004820152600960248201527f4e4f545f4f574e45520000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001808403600581106107ec57fe5b0154604080517f42966c680000000000000000000000000000000000000000000000000000000081526004810185905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b15801561085157600080fd5b505af1158015610865573d6000803e3d6000fd5b505060008054604080516323b872dd60e01b81523060048201523360248201526044810188905290516001600160a01b0390921694506323b872dd9350606480820193929182900301818387803b1580156108bf57600080fd5b505af11580156108d3573d6000803e3d6000fd5b5050604080518681526020810186905281517f65bd41fab923402e09b670e0a3d03a8bc9d988f8ca567d52125fb824b8cdd4549450908190039091019150a1505050565b6001816005811061092757600080fd5b01546001600160a01b0316905081565b6006546001600160a01b03163314610996576040805162461bcd60e51b815260206004820152600860248201527f4f4e4c595f474f56000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001546001600160a01b0316156109f4576040805162461bcd60e51b815260206004820152601b60248201527f42524944474541424c455f4e4654535f414c52454144595f5345540000000000604482015290519081900360640190fd5b610a016001826005610a23565b5050565b60008160961415610a1857506005610a1e565b50601981045b919050565b8260058101928215610a81579160200282015b82811115610a815781547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03843516178255602090920191600190910190610a36565b50610a8d929150610a91565b5090565b5b80821115610a8d5760008155600101610a9256fea2646970667358221220d7b14ee9177a1a8cb3bbc60e9d04f36d7230ca4f98128aae160fb802511dfa9164736f6c6343000705003300000000000000000000000043ccd9ea8f64b8918267f7ee4a071d3e9168f9cd
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100885760003560e01c806386a374c51161005b57806386a374c514610155578063898ccf54146101cc578063d7bc78a5146101ef578063dabbf8521461020c57610088565b806312d43a511461008d5780631eca4b93146100b157806347ccca02146100d657806376ae1a5e146100de575b600080fd5b610095610228565b604080516001600160a01b039092168252519081900360200190f35b6100d4600480360360408110156100c757600080fd5b5080359060200135610237565b005b6100956104c8565b6100d4600480360360408110156100f457600080fd5b8135919081019060408101602082013564010000000081111561011657600080fd5b82018360208201111561012857600080fd5b8035906020019184602083028401116401000000008311171561014a57600080fd5b5090925090506104d7565b6100d46004803603604081101561016b57600080fd5b8135919081019060408101602082013564010000000081111561018d57600080fd5b82018360208201111561019f57600080fd5b803590602001918460208302840111640100000000831117156101c157600080fd5b5090925090506105ae565b6100d4600480360360408110156101e257600080fd5b508035906020013561067e565b6100956004803603602081101561020557600080fd5b5035610917565b6100d4600480360360a081101561022257600080fd5b50610937565b6006546001600160a01b031681565b816000811180156102485750600681105b610299576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b600054604080517fe4214ec00000000000000000000000000000000000000000000000000000000081526004810185905290518592610338926001600160a01b039091169163e4214ec091602480820192602092909190829003018186803b15801561030457600080fd5b505afa158015610318573d6000803e3d6000fd5b505050506040513d602081101561032e57600080fd5b505160ff16610a05565b1461038a576040805162461bcd60e51b815260206004820152600a60248201527f57524f4e475f5459504500000000000000000000000000000000000000000000604482015290519081900360640190fd5b60008054604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216926323b872dd9260648084019382900301818387803b1580156103de57600080fd5b505af11580156103f2573d6000803e3d6000fd5b5050505060018084036005811061040557fe5b0154604080517f40c10f190000000000000000000000000000000000000000000000000000000081523360048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561047057600080fd5b505af1158015610484573d6000803e3d6000fd5b5050604080518681526020810186905281517f4a4c8dc50e73afdfbe69b056e1afe522022d18b20b7d7bc8ad649ab0f3a92e2f9450908190039091019150a1505050565b6000546001600160a01b031681565b826000811180156104e85750600681105b610539576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b600a821115610578576040805162461bcd60e51b815260206004820152600660248201526504d41585f31360d41b604482015290519081900360640190fd5b60005b828110156105a75761059f8585858481811061059357fe5b90506020020135610237565b60010161057b565b5050505050565b826000811180156105bf5750600681105b610610576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b600a82111561064f576040805162461bcd60e51b815260206004820152600660248201526504d41585f31360d41b604482015290519081900360640190fd5b60005b828110156105a7576106768585858481811061066a57fe5b9050602002013561067e565b600101610652565b8160008111801561068f5750600681105b6106e0576040805162461bcd60e51b815260206004820152601860248201527f4e46545f545950455f4245545745454e5f315f414e445f350000000000000000604482015290519081900360640190fd5b3360016000198501600581106106f257fe5b0154604080517f6352211e0000000000000000000000000000000000000000000000000000000081526004810186905290516001600160a01b0390921691636352211e91602480820192602092909190829003018186803b15801561075657600080fd5b505afa15801561076a573d6000803e3d6000fd5b505050506040513d602081101561078057600080fd5b50516001600160a01b0316146107dd576040805162461bcd60e51b815260206004820152600960248201527f4e4f545f4f574e45520000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001808403600581106107ec57fe5b0154604080517f42966c680000000000000000000000000000000000000000000000000000000081526004810185905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b15801561085157600080fd5b505af1158015610865573d6000803e3d6000fd5b505060008054604080516323b872dd60e01b81523060048201523360248201526044810188905290516001600160a01b0390921694506323b872dd9350606480820193929182900301818387803b1580156108bf57600080fd5b505af11580156108d3573d6000803e3d6000fd5b5050604080518681526020810186905281517f65bd41fab923402e09b670e0a3d03a8bc9d988f8ca567d52125fb824b8cdd4549450908190039091019150a1505050565b6001816005811061092757600080fd5b01546001600160a01b0316905081565b6006546001600160a01b03163314610996576040805162461bcd60e51b815260206004820152600860248201527f4f4e4c595f474f56000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001546001600160a01b0316156109f4576040805162461bcd60e51b815260206004820152601b60248201527f42524944474541424c455f4e4654535f414c52454144595f5345540000000000604482015290519081900360640190fd5b610a016001826005610a23565b5050565b60008160961415610a1857506005610a1e565b50601981045b919050565b8260058101928215610a81579160200282015b82811115610a815781547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03843516178255602090920191600190910190610a36565b50610a8d929150610a91565b5090565b5b80821115610a8d5760008155600101610a9256fea2646970667358221220d7b14ee9177a1a8cb3bbc60e9d04f36d7230ca4f98128aae160fb802511dfa9164736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000043ccd9ea8f64b8918267f7ee4a071d3e9168f9cd
-----Decoded View---------------
Arg [0] : _nft (address): 0x43ccD9eA8f64B8918267F7EE4a071D3e9168F9cD
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000043ccd9ea8f64b8918267f7ee4a071d3e9168f9cd
Deployed Bytecode Sourcemap
6120:2625:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6235:18;;;:::i;:::-;;;;-1:-1:-1;;;;;6235:18:0;;;;;;;;;;;;;;7164:462;;;;;;;;;;;;;;;;-1:-1:-1;7164:462:0;;;;;;;:::i;:::-;;6147:28;;;:::i;7681:282::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7681:282:0;;-1:-1:-1;7681:282:0;-1:-1:-1;7681:282:0;:::i;8478:262::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8478:262:0;;-1:-1:-1;8478:262:0;-1:-1:-1;8478:262:0;:::i;8014:412::-;;;;;;;;;;;;;;;;-1:-1:-1;8014:412:0;;;;;;;:::i;6179:52::-;;;;;;;;;;;;;;;;-1:-1:-1;6179:52:0;;:::i;6454:273::-;;;;;;;;;;;;;;;;-1:-1:-1;6454:273:0;:::i;6235:18::-;;;-1:-1:-1;;;;;6235:18:0;;:::o;7164:462::-;7240:7;7055:1;7045:7;:11;:26;;;;;7070:1;7060:7;:11;7045:26;7037:63;;;;;-1:-1:-1;;;7037:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7323:3:::1;::::0;:25:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;7353:7;;7308:41:::1;::::0;-1:-1:-1;;;;;7323:3:0;;::::1;::::0;:16:::1;::::0;:25;;;;;::::1;::::0;;;;;;;;;:3;:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;7323:25:0;7308:41:::1;;:14;:41::i;:::-;:52;7300:75;;;::::0;;-1:-1:-1;;;7300:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;7421:3;::::0;;:52:::1;::::0;;-1:-1:-1;;;7421:52:0;;7438:10:::1;7421:52;::::0;::::1;::::0;7458:4:::1;7421:52:::0;;;;;;;;;;;;-1:-1:-1;;;;;7421:3:0;;::::1;::::0;:16:::1;::::0;:52;;;;;;;;;;:3;;:52;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7522:14;7545:1:::0;7537:7:::1;:9;7522:25;;;;;;;;::::0;:51:::1;::::0;;;;;7553:10:::1;7522:51;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;7522:25:0;;::::1;::::0;:30:::1;::::0;:51;;;;;:25:::1;::::0;:51;;;;;;;;:25;;:51;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;7585:36:0::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;7585:36:0;;;;;;;;-1:-1:-1;7585:36:0::1;7164:462:::0;;;:::o;6147:28::-;;;-1:-1:-1;;;;;6147:28:0;;:::o;7681:282::-;7767:7;7055:1;7045:7;:11;:26;;;;;7070:1;7060:7;:11;7045:26;7037:63;;;;;-1:-1:-1;;;7037:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7835:2:::1;7821:16:::0;::::1;;7813:35;;;::::0;;-1:-1:-1;;;7813:35:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;7813:35:0;;;;;;;;;;;;;::::1;;7882:6;7878:81;7894:14:::0;;::::1;7878:81;;;7920:33;7937:7;7946:3;;7950:1;7946:6;;;;;;;;;;;;;7920:16;:33::i;:::-;7910:3;;7878:81;;;;7681:282:::0;;;;:::o;8478:262::-;8554:7;7055:1;7045:7;:11;:26;;;;;7070:1;7060:7;:11;7045:26;7037:63;;;;;-1:-1:-1;;;7037:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8622:2:::1;8608:16:::0;::::1;;8600:35;;;::::0;;-1:-1:-1;;;8600:35:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;8600:35:0;;;;;;;;;;;;;::::1;;8669:6;8665:71;8681:14:::0;;::::1;8665:71;;;8707:23;8714:7;8723:3;;8727:1;8723:6;;;;;;;;;;;;;8707;:23::i;:::-;8697:3;;8665:71;;8014:412:::0;8080:7;7055:1;7045:7;:11;:26;;;;;7070:1;7060:7;:11;7045:26;7037:63;;;;;-1:-1:-1;;;7037:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8179:10:::1;8133:14;-1:-1:-1::0;;8148:9:0;;8133:25:::1;::::0;::::1;;;;;;::::0;:42:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;8133:25:0;;::::1;::::0;:33:::1;::::0;:42;;;;;::::1;::::0;;;;;;;;;:25;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8133:42:0;-1:-1:-1;;;;;8133:56:0::1;;8125:78;;;::::0;;-1:-1:-1;;;8125:78:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;8239:14;8262:1:::0;8254:7:::1;:9;8239:25;;;;;;;;::::0;:39:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;8239:25:0;;::::1;::::0;:30:::1;::::0;:39;;;;;:25:::1;::::0;:39;;;;;;;;:25;;:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8321:3:0::1;::::0;;:52:::1;::::0;;-1:-1:-1;;;8321:52:0;;8346:4:::1;8321:52;::::0;::::1;::::0;8353:10:::1;8321:52:::0;;;;;;;;;;;;-1:-1:-1;;;;;8321:3:0;;::::1;::::0;-1:-1:-1;8321:16:0::1;::::0;-1:-1:-1;8321:52:0;;;;;:3;:52;;;;;;:3;;:52;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8385:36:0::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;8385:36:0;;;;;;;;-1:-1:-1;8385:36:0::1;8014:412:::0;;;:::o;6179:52::-;;;;;;;;;;;;;;-1:-1:-1;;;;;6179:52:0;;-1:-1:-1;6179:52:0;:::o;6454:273::-;6573:3;;-1:-1:-1;;;;;6573:3:0;6559:10;:17;6551:38;;;;;-1:-1:-1;;;6551:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6602:14;:17;-1:-1:-1;;;;;6602:17:0;:51;6594:91;;;;;-1:-1:-1;;;6594:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6690:32;:14;6707:15;6690:32;;:::i;:::-;;6454:273;:::o;6732:192::-;6792:4;6820:8;6832:3;6820:15;6817:32;;;-1:-1:-1;6845:1:0;6838:8;;6817:32;-1:-1:-1;6917:2:0;6906:13;;6732:192;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://d7b14ee9177a1a8cb3bbc60e9d04f36d7230ca4f98128aae160fb802511dfa91
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.