Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,326 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Unstake Pandas | 20201050 | 3 days ago | IN | 0 ETH | 0.00036665 | ||||
Unstake Pandas | 20149533 | 10 days ago | IN | 0 ETH | 0.00022262 | ||||
Unstake Pandas | 20142292 | 11 days ago | IN | 0 ETH | 0.0003689 | ||||
Unstake Pandas | 20138873 | 12 days ago | IN | 0 ETH | 0.00048843 | ||||
Stake Pandas | 20132268 | 13 days ago | IN | 0 ETH | 0.00138755 | ||||
Unstake Pandas | 20099287 | 17 days ago | IN | 0 ETH | 0.00025232 | ||||
Stake Pandas | 20093680 | 18 days ago | IN | 0 ETH | 0.00047617 | ||||
Unstake Pandas | 20087042 | 19 days ago | IN | 0 ETH | 0.00067679 | ||||
Unstake Pandas | 20087012 | 19 days ago | IN | 0 ETH | 0.00069396 | ||||
Unstake Pandas | 20086998 | 19 days ago | IN | 0 ETH | 0.00119969 | ||||
Unstake Pandas | 20086992 | 19 days ago | IN | 0 ETH | 0.00113616 | ||||
Unstake Pandas | 20086987 | 19 days ago | IN | 0 ETH | 0.00093601 | ||||
Unstake Pandas | 20086917 | 19 days ago | IN | 0 ETH | 0.0010563 | ||||
Unstake Pandas | 20086906 | 19 days ago | IN | 0 ETH | 0.00138696 | ||||
Unstake Pandas | 20086901 | 19 days ago | IN | 0 ETH | 0.000991 | ||||
Unstake Pandas | 20086886 | 19 days ago | IN | 0 ETH | 0.00424639 | ||||
Unstake Pandas | 20044156 | 25 days ago | IN | 0 ETH | 0.00085861 | ||||
Unstake Pandas | 20023044 | 28 days ago | IN | 0 ETH | 0.00050788 | ||||
Unstake Pandas | 20022166 | 28 days ago | IN | 0 ETH | 0.00127818 | ||||
Stake Pandas | 20021435 | 28 days ago | IN | 0 ETH | 0.0053859 | ||||
Unstake Pandas | 20015747 | 29 days ago | IN | 0 ETH | 0.00043136 | ||||
Unstake Pandas | 20008576 | 30 days ago | IN | 0 ETH | 0.00163216 | ||||
Unstake Pandas | 20003667 | 31 days ago | IN | 0 ETH | 0.00047576 | ||||
Unstake Pandas | 20001722 | 31 days ago | IN | 0 ETH | 0.00083481 | ||||
Stake Pandas | 19995300 | 32 days ago | IN | 0 ETH | 0.00095107 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
NerfedStaking
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; error NotOwner(); error NotStakedLongEnough(); contract NerfedStaking is Ownable { IERC721Minimal private immutable PANDAS; struct Ownership { address owner; uint96 lastUpdatedTimestamp; } address constant private vault = 0x2B75A4B81a65cbE2910f72945017064626333970; // uint public constant MAX_SUPPLY = 6666; mapping(uint => Ownership) private ownerships; mapping(address => uint) private balances; uint private minimumLockupPeriod = 0 hours; event UpdateStakeStatus(address indexed staker,bool indexed startingStake,uint16[] tokenIds); constructor(address _pandas) { PANDAS = IERC721Minimal(_pandas); } function stakePanda(uint tokenId) internal { if (msg.sender != PANDAS.ownerOf(tokenId)) revert NotOwner(); ownerships[tokenId] = Ownership(msg.sender, uint96(block.timestamp)); PANDAS.transferFrom(msg.sender, vault, tokenId); } function unstakePanda(uint tokenId) internal { Ownership memory ownership = ownerships[tokenId]; if( ownership.lastUpdatedTimestamp + minimumLockupPeriod > block.timestamp ) revert NotStakedLongEnough(); if(msg.sender != ownership.owner) revert NotOwner(); ownerships[tokenId] = Ownership(address(0), 0); PANDAS.transferFrom(vault, msg.sender, tokenId); } function stakePandas(uint16[] calldata tokenIds) external { for (uint i; i < tokenIds.length; ) { stakePanda(tokenIds[i]); unchecked { ++i; } } balances[msg.sender] += tokenIds.length; emit UpdateStakeStatus(msg.sender,true,tokenIds); } function unstakePandas(uint16[] calldata tokenIds) external { // Staker storage staker = stakers[msg.sender]; for (uint i; i < tokenIds.length; ) { unstakePanda(tokenIds[i]); unchecked { ++i; } } balances[msg.sender] -= tokenIds.length; emit UpdateStakeStatus(msg.sender, false,tokenIds); } function balanceOf(address account) external view returns(uint) { return balances[account]; } function stakeOnBehalfOfOther(address account, uint16[] calldata tokenIds) external { for (uint i; i < tokenIds.length; ) { stakePanda(tokenIds[i]); unchecked { ++i; } } balances[account] += tokenIds.length; emit UpdateStakeStatus(account, true,tokenIds); } function tokensOfOwner( address account ) external view returns (uint[] memory) { unchecked { uint tokenIdsIdx; uint tokenIdsLength = balances[account]; uint[] memory tokenIds = new uint256[](tokenIdsLength); for (uint i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { address _owner = ownerships[i].owner; if (_owner != address(0)) { if (account == _owner) { tokenIds[tokenIdsIdx++] = i; } } } return tokenIds; } } function getOwnershipsOfPandas(uint16[] calldata tokenIds) external view returns (Ownership[] memory) { Ownership[] memory ownershipsOfPandas = new Ownership[](tokenIds.length); for (uint i; i < tokenIds.length; ) { ownershipsOfPandas[i] = ownerships[tokenIds[i]]; unchecked { ++i; } } return ownershipsOfPandas; } function _startTokenId() internal pure returns (uint) { return 1; } function setMinimumLockupPeriod(uint _minimumLockupPeriod) external onlyOwner { minimumLockupPeriod = _minimumLockupPeriod; } } interface IERC721Minimal { function ownerOf(uint tokenId) external view returns (address); function transferFrom(address from, address to, uint tokenId) external; } interface ITrippieLandMinimal { function isMutant(uint tokenId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ 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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_pandas","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"NotStakedLongEnough","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"bool","name":"startingStake","type":"bool"},{"indexed":false,"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"}],"name":"UpdateStakeStatus","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"}],"name":"getOwnershipsOfPandas","outputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint96","name":"lastUpdatedTimestamp","type":"uint96"}],"internalType":"struct NerfedStaking.Ownership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumLockupPeriod","type":"uint256"}],"name":"setMinimumLockupPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"}],"name":"stakeOnBehalfOfOther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"}],"name":"stakePandas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"}],"name":"unstakePandas","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052600060035534801561001557600080fd5b50604051610e72380380610e728339810160408190526100349161009e565b61003d3361004e565b6001600160a01b03166080526100ce565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100b057600080fd5b81516001600160a01b03811681146100c757600080fd5b9392505050565b608051610d7b6100f76000396000818161074d015281816108760152610a060152610d7b6000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063af44935e11610076578063d39ccbe21161005b578063d39ccbe21461018a578063d3fc72cb1461019d578063f2fde38b146101b057600080fd5b8063af44935e14610157578063ce75a7011461016a57600080fd5b80638462151c116100a75780638462151c146101095780638da5cb5b1461012957806397c00d601461014457600080fd5b806370a08231146100c3578063715018a6146100ff575b600080fd5b6100ec6100d1366004610a7d565b6001600160a01b031660009081526002602052604090205490565b6040519081526020015b60405180910390f35b6101076101c3565b005b61011c610117366004610a7d565b6101d7565b6040516100f69190610aa1565b6000546040516001600160a01b0390911681526020016100f6565b610107610152366004610b31565b6102b3565b610107610165366004610b86565b610374565b61017d610178366004610b86565b610404565b6040516100f69190610bc8565b610107610198366004610b86565b610518565b6101076101ab366004610c2e565b6105ba565b6101076101be366004610a7d565b6105c7565b6101cb61065c565b6101d560006106b6565b565b6001600160a01b03811660009081526002602052604081205460609190818167ffffffffffffffff81111561020e5761020e610c47565b604051908082528060200260200182016040528015610237578160200160208202803683370190505b50905060015b8284146102aa576000818152600160205260409020546001600160a01b031680156102a157806001600160a01b0316876001600160a01b0316036102a1578183868060010197508151811061029457610294610c5d565b6020026020010181815250505b5060010161023d565b50949350505050565b60005b818110156102f9576102f18383838181106102d3576102d3610c5d565b90506020020160208101906102e89190610c8a565b61ffff1661071e565b6001016102b6565b506001600160a01b03831660009081526002602052604081208054839290610322908490610cbb565b90915550506040516001906001600160a01b038516907f5690b364d1ff865b3f1997b2b15fdde57f7863184c0fc67fe6731678535da5c1906103679086908690610cce565b60405180910390a3505050565b60005b8181101561039c576103948383838181106102d3576102d3610c5d565b600101610377565b5033600090815260026020526040812080548392906103bc908490610cbb565b909155505060405160019033907f5690b364d1ff865b3f1997b2b15fdde57f7863184c0fc67fe6731678535da5c1906103f89086908690610cce565b60405180910390a35050565b606060008267ffffffffffffffff81111561042157610421610c47565b60405190808252806020026020018201604052801561046657816020015b604080518082019091526000808252602082015281526020019060019003908161043f5790505b50905060005b8381101561050e576001600086868481811061048a5761048a610c5d565b905060200201602081019061049f9190610c8a565b61ffff16815260208082019290925260409081016000208151808301909252546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff169181019190915282518390839081106104fb576104fb610c5d565b602090810291909101015260010161046c565b5090505b92915050565b60005b8181101561055e5761055683838381811061053857610538610c5d565b905060200201602081019061054d9190610c8a565b61ffff166108d5565b60010161051b565b50336000908152600260205260408120805483929061057e908490610d15565b909155505060405160009033907f5690b364d1ff865b3f1997b2b15fdde57f7863184c0fc67fe6731678535da5c1906103f89086908690610cce565b6105c261065c565b600355565b6105cf61065c565b6001600160a01b0381166106505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610659816106b6565b50565b6000546001600160a01b031633146101d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa15801561079c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c09190610d28565b6001600160a01b0316336001600160a01b0316146107f1576040516330cd747160e01b815260040160405180910390fd5b604080518082018252338082526bffffffffffffffffffffffff42811660208085019182526000878152600190915285902093519051909116600160a01b026001600160a01b039182161790925591516323b872dd60e01b81526004810192909252732b75a4b81a65cbe2910f729450170646263339706024830152604482018390527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90606401600060405180830381600087803b1580156108ba57600080fd5b505af11580156108ce573d6000803e3d6000fd5b5050505050565b6000818152600160209081526040918290208251808401909352546001600160a01b0381168352600160a01b90046bffffffffffffffffffffffff1690820181905260035442916109269190610cbb565b111561095e576040517f912be99f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516001600160a01b03163314610988576040516330cd747160e01b815260040160405180910390fd5b60408051808201825260008082526020808301828152868352600190915290839020915190516bffffffffffffffffffffffff16600160a01b026001600160a01b039182161790915590516323b872dd60e01b8152732b75a4b81a65cbe2910f729450170646263339706004820152336024820152604481018490527f0000000000000000000000000000000000000000000000000000000000000000909116906323b872dd90606401600060405180830381600087803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461065957600080fd5b600060208284031215610a8f57600080fd5b8135610a9a81610a68565b9392505050565b6020808252825182820181905260009190848201906040850190845b81811015610ad957835183529284019291840191600101610abd565b50909695505050505050565b60008083601f840112610af757600080fd5b50813567ffffffffffffffff811115610b0f57600080fd5b6020830191508360208260051b8501011115610b2a57600080fd5b9250929050565b600080600060408486031215610b4657600080fd5b8335610b5181610a68565b9250602084013567ffffffffffffffff811115610b6d57600080fd5b610b7986828701610ae5565b9497909650939450505050565b60008060208385031215610b9957600080fd5b823567ffffffffffffffff811115610bb057600080fd5b610bbc85828601610ae5565b90969095509350505050565b602080825282518282018190526000919060409081850190868401855b82811015610c2157815180516001600160a01b031685528601516bffffffffffffffffffffffff16868501529284019290850190600101610be5565b5091979650505050505050565b600060208284031215610c4057600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b803561ffff81168114610c8557600080fd5b919050565b600060208284031215610c9c57600080fd5b610a9a82610c73565b634e487b7160e01b600052601160045260246000fd5b8082018082111561051257610512610ca5565b60208082528181018390526000908460408401835b86811015610d0a5761ffff610cf784610c73565b1682529183019190830190600101610ce3565b509695505050505050565b8181038181111561051257610512610ca5565b600060208284031215610d3a57600080fd5b8151610a9a81610a6856fea2646970667358221220c1d129c78035120b6a0f32aee977823aab5818fb52a0a6697be3fc7c47e630d564736f6c634300081100330000000000000000000000003404684960fb687f2217b6e44a547130f4119c59
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100be5760003560e01c8063af44935e11610076578063d39ccbe21161005b578063d39ccbe21461018a578063d3fc72cb1461019d578063f2fde38b146101b057600080fd5b8063af44935e14610157578063ce75a7011461016a57600080fd5b80638462151c116100a75780638462151c146101095780638da5cb5b1461012957806397c00d601461014457600080fd5b806370a08231146100c3578063715018a6146100ff575b600080fd5b6100ec6100d1366004610a7d565b6001600160a01b031660009081526002602052604090205490565b6040519081526020015b60405180910390f35b6101076101c3565b005b61011c610117366004610a7d565b6101d7565b6040516100f69190610aa1565b6000546040516001600160a01b0390911681526020016100f6565b610107610152366004610b31565b6102b3565b610107610165366004610b86565b610374565b61017d610178366004610b86565b610404565b6040516100f69190610bc8565b610107610198366004610b86565b610518565b6101076101ab366004610c2e565b6105ba565b6101076101be366004610a7d565b6105c7565b6101cb61065c565b6101d560006106b6565b565b6001600160a01b03811660009081526002602052604081205460609190818167ffffffffffffffff81111561020e5761020e610c47565b604051908082528060200260200182016040528015610237578160200160208202803683370190505b50905060015b8284146102aa576000818152600160205260409020546001600160a01b031680156102a157806001600160a01b0316876001600160a01b0316036102a1578183868060010197508151811061029457610294610c5d565b6020026020010181815250505b5060010161023d565b50949350505050565b60005b818110156102f9576102f18383838181106102d3576102d3610c5d565b90506020020160208101906102e89190610c8a565b61ffff1661071e565b6001016102b6565b506001600160a01b03831660009081526002602052604081208054839290610322908490610cbb565b90915550506040516001906001600160a01b038516907f5690b364d1ff865b3f1997b2b15fdde57f7863184c0fc67fe6731678535da5c1906103679086908690610cce565b60405180910390a3505050565b60005b8181101561039c576103948383838181106102d3576102d3610c5d565b600101610377565b5033600090815260026020526040812080548392906103bc908490610cbb565b909155505060405160019033907f5690b364d1ff865b3f1997b2b15fdde57f7863184c0fc67fe6731678535da5c1906103f89086908690610cce565b60405180910390a35050565b606060008267ffffffffffffffff81111561042157610421610c47565b60405190808252806020026020018201604052801561046657816020015b604080518082019091526000808252602082015281526020019060019003908161043f5790505b50905060005b8381101561050e576001600086868481811061048a5761048a610c5d565b905060200201602081019061049f9190610c8a565b61ffff16815260208082019290925260409081016000208151808301909252546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff169181019190915282518390839081106104fb576104fb610c5d565b602090810291909101015260010161046c565b5090505b92915050565b60005b8181101561055e5761055683838381811061053857610538610c5d565b905060200201602081019061054d9190610c8a565b61ffff166108d5565b60010161051b565b50336000908152600260205260408120805483929061057e908490610d15565b909155505060405160009033907f5690b364d1ff865b3f1997b2b15fdde57f7863184c0fc67fe6731678535da5c1906103f89086908690610cce565b6105c261065c565b600355565b6105cf61065c565b6001600160a01b0381166106505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610659816106b6565b50565b6000546001600160a01b031633146101d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018290527f0000000000000000000000003404684960fb687f2217b6e44a547130f4119c596001600160a01b031690636352211e90602401602060405180830381865afa15801561079c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c09190610d28565b6001600160a01b0316336001600160a01b0316146107f1576040516330cd747160e01b815260040160405180910390fd5b604080518082018252338082526bffffffffffffffffffffffff42811660208085019182526000878152600190915285902093519051909116600160a01b026001600160a01b039182161790925591516323b872dd60e01b81526004810192909252732b75a4b81a65cbe2910f729450170646263339706024830152604482018390527f0000000000000000000000003404684960fb687f2217b6e44a547130f4119c5916906323b872dd90606401600060405180830381600087803b1580156108ba57600080fd5b505af11580156108ce573d6000803e3d6000fd5b5050505050565b6000818152600160209081526040918290208251808401909352546001600160a01b0381168352600160a01b90046bffffffffffffffffffffffff1690820181905260035442916109269190610cbb565b111561095e576040517f912be99f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516001600160a01b03163314610988576040516330cd747160e01b815260040160405180910390fd5b60408051808201825260008082526020808301828152868352600190915290839020915190516bffffffffffffffffffffffff16600160a01b026001600160a01b039182161790915590516323b872dd60e01b8152732b75a4b81a65cbe2910f729450170646263339706004820152336024820152604481018490527f0000000000000000000000003404684960fb687f2217b6e44a547130f4119c59909116906323b872dd90606401600060405180830381600087803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461065957600080fd5b600060208284031215610a8f57600080fd5b8135610a9a81610a68565b9392505050565b6020808252825182820181905260009190848201906040850190845b81811015610ad957835183529284019291840191600101610abd565b50909695505050505050565b60008083601f840112610af757600080fd5b50813567ffffffffffffffff811115610b0f57600080fd5b6020830191508360208260051b8501011115610b2a57600080fd5b9250929050565b600080600060408486031215610b4657600080fd5b8335610b5181610a68565b9250602084013567ffffffffffffffff811115610b6d57600080fd5b610b7986828701610ae5565b9497909650939450505050565b60008060208385031215610b9957600080fd5b823567ffffffffffffffff811115610bb057600080fd5b610bbc85828601610ae5565b90969095509350505050565b602080825282518282018190526000919060409081850190868401855b82811015610c2157815180516001600160a01b031685528601516bffffffffffffffffffffffff16868501529284019290850190600101610be5565b5091979650505050505050565b600060208284031215610c4057600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b803561ffff81168114610c8557600080fd5b919050565b600060208284031215610c9c57600080fd5b610a9a82610c73565b634e487b7160e01b600052601160045260246000fd5b8082018082111561051257610512610ca5565b60208082528181018390526000908460408401835b86811015610d0a5761ffff610cf784610c73565b1682529183019190830190600101610ce3565b509695505050505050565b8181038181111561051257610512610ca5565b600060208284031215610d3a57600080fd5b8151610a9a81610a6856fea2646970667358221220c1d129c78035120b6a0f32aee977823aab5818fb52a0a6697be3fc7c47e630d564736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003404684960fb687f2217b6e44a547130f4119c59
-----Decoded View---------------
Arg [0] : _pandas (address): 0x3404684960fB687F2217B6e44a547130f4119C59
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003404684960fb687f2217b6e44a547130f4119c59
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.