Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 337 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Reclaim Token | 18731662 | 205 days ago | IN | 0 ETH | 0.00086785 | ||||
Buy Tokens | 18728416 | 205 days ago | IN | 0 ETH | 0.00918568 | ||||
Buy Tokens | 18728240 | 205 days ago | IN | 0 ETH | 0.00922285 | ||||
Buy Tokens | 18728229 | 205 days ago | IN | 0 ETH | 0.01053155 | ||||
Buy Tokens | 18728203 | 205 days ago | IN | 0 ETH | 0.00871368 | ||||
Buy Tokens | 18728199 | 205 days ago | IN | 0 ETH | 0.00991155 | ||||
Buy Tokens | 18728166 | 205 days ago | IN | 0 ETH | 0.00842542 | ||||
Buy Tokens | 18728163 | 205 days ago | IN | 0 ETH | 0.00401943 | ||||
Buy Tokens | 18728150 | 205 days ago | IN | 0 ETH | 0.00915141 | ||||
Buy Tokens | 18728144 | 205 days ago | IN | 0 ETH | 0.00545078 | ||||
Buy Tokens | 18728143 | 205 days ago | IN | 0 ETH | 0.00926137 | ||||
Buy Tokens | 18728142 | 205 days ago | IN | 0 ETH | 0.00957888 | ||||
Buy Tokens | 18728138 | 205 days ago | IN | 0 ETH | 0.01027015 | ||||
Buy Tokens | 18728138 | 205 days ago | IN | 0 ETH | 0.00491647 | ||||
Buy Tokens | 18728137 | 205 days ago | IN | 0 ETH | 0.00900024 | ||||
Buy Tokens | 18728136 | 205 days ago | IN | 0 ETH | 0.00938916 | ||||
Buy Tokens | 18728136 | 205 days ago | IN | 0 ETH | 0.00551795 | ||||
Buy Tokens | 18728134 | 205 days ago | IN | 0 ETH | 0.0057208 | ||||
Buy Tokens | 18728132 | 205 days ago | IN | 0 ETH | 0.00996414 | ||||
Buy Tokens | 18728131 | 205 days ago | IN | 0 ETH | 0.00619966 | ||||
Buy Tokens | 18728130 | 205 days ago | IN | 0 ETH | 0.00909179 | ||||
Buy Tokens | 18728129 | 205 days ago | IN | 0 ETH | 0.00595789 | ||||
Buy Tokens | 18728129 | 205 days ago | IN | 0 ETH | 0.01020297 | ||||
Buy Tokens | 18728127 | 205 days ago | IN | 0 ETH | 0.01055563 | ||||
Buy Tokens | 18728127 | 205 days ago | IN | 0 ETH | 0.00489716 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
18712311 | 208 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
TokenSale
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract TokenSale { address public multisig; uint public tokenSaleStage = 0; // 0 = Omega, 1 = Alpha, 2 = Whitelist uint public refPercentage = 1000; //10% bytes32[3] public merkleRoots; address public usdc = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; uint public priceMultiplier = 2; // $0.5/LNDX 1e6 = 5e5 = (x = 1e6 / 5e5) = 2 mapping(address => uint256) public allocation; mapping(address => bool) public contributed; address[] public contributors; uint public available = 3000000 * 10 ** 6; // LNDX 6 decimals event Contribution(uint256 amount, address contributor); event Referral(uint256 amount, uint256 refAmount, address contributor, address referrer); constructor() { multisig = msg.sender; merkleRoots[0] = 0x1f2ede652390c98d48f086e75cf059697b65eb6f58199258a061e1eb38f00772; merkleRoots[1] = 0x223353dd9538fe9acd7e7469920d5a4a9c83b82a2377246f1c14ea09e43f9353; merkleRoots[2] = 0xbaef4c074bdf663e724d3cd4ca9fafa42527b8582c0f30e3998ca4ed8568ce11; } function checkProof(address _user, bytes32[] calldata _merkleProof) public view returns(bool) { bytes32 leaf = keccak256(abi.encodePacked(_user)); bool result = MerkleProof.verify(_merkleProof, merkleRoots[tokenSaleStage], leaf); return result; } function buyTokens(uint _amountUSDC, bytes32[] calldata _merkleProof, address referrer) external { if (tokenSaleStage != 2) { require(checkProof(msg.sender, _merkleProof) == true, "Merkle proof does not validate"); } IERC20(usdc).transferFrom(msg.sender, address(this), _amountUSDC); if (referrer != address(0) && tokenSaleStage == 2) { uint256 refAmount = _amountUSDC / 10000 * refPercentage; IERC20(usdc).transfer(referrer, refAmount); emit Referral(_amountUSDC, refAmount, msg.sender, referrer); } uint lndxOut = _amountUSDC * priceMultiplier; require (available - lndxOut >= 0, "sold out"); available -= lndxOut; if (contributed[msg.sender] == false) { contributors.push(msg.sender); } contributed[msg.sender] = true; allocation[msg.sender] += lndxOut; emit Contribution(_amountUSDC, msg.sender); } function updateMultisig(address _multisig) external { require(msg.sender == multisig, "only multisig has access"); multisig = _multisig; } function updateMerkleRoots(uint _tokenSaleStage, bytes32 _omegaRoot, bytes32 _alphaRoot, bytes32 _whitelistRoot) external { require(msg.sender == multisig, "only multisig has access"); tokenSaleStage = _tokenSaleStage; merkleRoots[0] = _omegaRoot; merkleRoots[1] = _alphaRoot; merkleRoots[2] = _whitelistRoot; } function updatePrice(uint _priceMultiplier) external { require(msg.sender == multisig, "only multisig has access"); priceMultiplier = _priceMultiplier; } function updateRefPercentage(uint _percentage) external { require(msg.sender == multisig, "only multisig has access"); refPercentage = _percentage; } function updateTokens(address _usdc) external { require(msg.sender == multisig, "only multisig has access"); usdc = _usdc; } function reclaimToken(IERC20 token) external { require(msg.sender == multisig, "only multisig has access"); require(address(token) != address(0)); uint256 balance = token.balanceOf(address(this)); token.transfer(msg.sender, balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (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 rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from 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) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { 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 rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from 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) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { 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) } } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"contributor","type":"address"}],"name":"Contribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"refAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"contributor","type":"address"},{"indexed":false,"internalType":"address","name":"referrer","type":"address"}],"name":"Referral","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountUSDC","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"address","name":"referrer","type":"address"}],"name":"buyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"checkProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contributed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"contributors","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"merkleRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multisig","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"reclaimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"refPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSaleStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenSaleStage","type":"uint256"},{"internalType":"bytes32","name":"_omegaRoot","type":"bytes32"},{"internalType":"bytes32","name":"_alphaRoot","type":"bytes32"},{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"updateMerkleRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_multisig","type":"address"}],"name":"updateMultisig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_priceMultiplier","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"updateRefPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_usdc","type":"address"}],"name":"updateTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260006001556103e86002908155600680546001600160a01b03191673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb481790556007556502ba7def3000600b5534801561005057600080fd5b5060008054336001600160a01b03199091161790557f1f2ede652390c98d48f086e75cf059697b65eb6f58199258a061e1eb38f007726003557f223353dd9538fe9acd7e7469920d5a4a9c83b82a2377246f1c14ea09e43f93536004557fbaef4c074bdf663e724d3cd4ca9fafa42527b8582c0f30e3998ca4ed8568ce11600555610c78806100e06000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063615d3cb5116100a2578063995c5e9d11610071578063995c5e9d1461023b578063b81b86301461025e578063d50cb88b1461027e578063e5bb8a1514610287578063e5c468691461029a57600080fd5b8063615d3cb5146101f957806371c5ecb11461020257806377345f8d146102155780638d6cc56d1461022857600080fd5b80633cb5d100116100e95780633cb5d100146101695780633e413bee1461019957806340f805bf146101ac5780634783c35b146101cf57806348a0d754146101e257600080fd5b806317ffc3201461011b5780631d2002e7146101305780632929c25c146101435780632e50b55c14610156575b600080fd5b61012e6101293660046109bc565b6102a3565b005b61012e61013e3660046109d9565b6103cd565b61012e6101513660046109bc565b6103fc565b61012e6101643660046109bc565b610448565b61017c6101773660046109d9565b610494565b6040516001600160a01b0390911681526020015b60405180910390f35b60065461017c906001600160a01b031681565b6101bf6101ba366004610a3e565b6104be565b6040519015158152602001610190565b60005461017c906001600160a01b031681565b6101eb600b5481565b604051908152602001610190565b6101eb60015481565b6101eb6102103660046109d9565b61055a565b61012e610223366004610a93565b610571565b61012e6102363660046109d9565b6108a0565b6101bf6102493660046109bc565b60096020526000908152604090205460ff1681565b6101eb61026c3660046109bc565b60086020526000908152604090205481565b6101eb60075481565b61012e610295366004610af2565b6108cf565b6101eb60025481565b6000546001600160a01b031633146102d65760405162461bcd60e51b81526004016102cd90610b24565b60405180910390fd5b6001600160a01b0381166102e957600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103549190610b5b565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af11580156103a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c89190610b74565b505050565b6000546001600160a01b031633146103f75760405162461bcd60e51b81526004016102cd90610b24565b600255565b6000546001600160a01b031633146104265760405162461bcd60e51b81526004016102cd90610b24565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104725760405162461bcd60e51b81526004016102cd90610b24565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a81815481106104a457600080fd5b6000918252602090912001546001600160a01b0316905081565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060006105508585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060015460039250905081811061054857610548610b96565b01548461090d565b9695505050505050565b6003816003811061056a57600080fd5b0154905081565b6001546002146105d7576105863384846104be565b15156001146105d75760405162461bcd60e51b815260206004820152601e60248201527f4d65726b6c652070726f6f6620646f6573206e6f742076616c6964617465000060448201526064016102cd565b6006546040516323b872dd60e01b8152336004820152306024820152604481018690526001600160a01b03909116906323b872dd906064016020604051808303816000875af115801561062e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190610b74565b506001600160a01b0381161580159061066d57506001546002145b156107585760025460009061068461271087610bc2565b61068e9190610be4565b60065460405163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af11580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107079190610b74565b50604080518681526020810183905233818301526001600160a01b038416606082015290517fa2c5126ee26ece0b5fbb2a047e361c9920cc9010bad026b346e7973b8cb7ef909181900360800190a1505b6000600754856107689190610be4565b9050600081600b5461077a9190610c03565b10156107b35760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016102cd565b80600b60008282546107c59190610c03565b90915550503360009081526009602052604081205460ff161515900361082857600a80546001810182556000919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b031916331790555b336000908152600960209081526040808320805460ff1916600117905560089091528120805483929061085c908490610c16565b9091555050604080518681523360208201527f04e75fda068b8e114d7658bdff74280a0fd65586b7e026a034eae29dd5a9e68b910160405180910390a15050505050565b6000546001600160a01b031633146108ca5760405162461bcd60e51b81526004016102cd90610b24565b600755565b6000546001600160a01b031633146108f95760405162461bcd60e51b81526004016102cd90610b24565b600193909355600391909155600455600555565b60008261091a8584610923565b14949350505050565b600081815b8451811015610968576109548286838151811061094757610947610b96565b6020026020010151610972565b91508061096081610c29565b915050610928565b5090505b92915050565b600081831061098e57600082815260208490526040902061099d565b60008381526020839052604090205b9392505050565b6001600160a01b03811681146109b957600080fd5b50565b6000602082840312156109ce57600080fd5b813561099d816109a4565b6000602082840312156109eb57600080fd5b5035919050565b60008083601f840112610a0457600080fd5b50813567ffffffffffffffff811115610a1c57600080fd5b6020830191508360208260051b8501011115610a3757600080fd5b9250929050565b600080600060408486031215610a5357600080fd5b8335610a5e816109a4565b9250602084013567ffffffffffffffff811115610a7a57600080fd5b610a86868287016109f2565b9497909650939450505050565b60008060008060608587031215610aa957600080fd5b84359350602085013567ffffffffffffffff811115610ac757600080fd5b610ad3878288016109f2565b9094509250506040850135610ae7816109a4565b939692955090935050565b60008060008060808587031215610b0857600080fd5b5050823594602084013594506040840135936060013592509050565b60208082526018908201527f6f6e6c79206d756c746973696720686173206163636573730000000000000000604082015260600190565b600060208284031215610b6d57600080fd5b5051919050565b600060208284031215610b8657600080fd5b8151801515811461099d57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082610bdf57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610bfe57610bfe610bac565b500290565b8181038181111561096c5761096c610bac565b8082018082111561096c5761096c610bac565b600060018201610c3b57610c3b610bac565b506001019056fea26469706673582212209503767c8baa4d2529c343b46882068481d68ecc9c1da646a0c677329f5a611164736f6c63430008100033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063615d3cb5116100a2578063995c5e9d11610071578063995c5e9d1461023b578063b81b86301461025e578063d50cb88b1461027e578063e5bb8a1514610287578063e5c468691461029a57600080fd5b8063615d3cb5146101f957806371c5ecb11461020257806377345f8d146102155780638d6cc56d1461022857600080fd5b80633cb5d100116100e95780633cb5d100146101695780633e413bee1461019957806340f805bf146101ac5780634783c35b146101cf57806348a0d754146101e257600080fd5b806317ffc3201461011b5780631d2002e7146101305780632929c25c146101435780632e50b55c14610156575b600080fd5b61012e6101293660046109bc565b6102a3565b005b61012e61013e3660046109d9565b6103cd565b61012e6101513660046109bc565b6103fc565b61012e6101643660046109bc565b610448565b61017c6101773660046109d9565b610494565b6040516001600160a01b0390911681526020015b60405180910390f35b60065461017c906001600160a01b031681565b6101bf6101ba366004610a3e565b6104be565b6040519015158152602001610190565b60005461017c906001600160a01b031681565b6101eb600b5481565b604051908152602001610190565b6101eb60015481565b6101eb6102103660046109d9565b61055a565b61012e610223366004610a93565b610571565b61012e6102363660046109d9565b6108a0565b6101bf6102493660046109bc565b60096020526000908152604090205460ff1681565b6101eb61026c3660046109bc565b60086020526000908152604090205481565b6101eb60075481565b61012e610295366004610af2565b6108cf565b6101eb60025481565b6000546001600160a01b031633146102d65760405162461bcd60e51b81526004016102cd90610b24565b60405180910390fd5b6001600160a01b0381166102e957600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103549190610b5b565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af11580156103a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c89190610b74565b505050565b6000546001600160a01b031633146103f75760405162461bcd60e51b81526004016102cd90610b24565b600255565b6000546001600160a01b031633146104265760405162461bcd60e51b81526004016102cd90610b24565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104725760405162461bcd60e51b81526004016102cd90610b24565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600a81815481106104a457600080fd5b6000918252602090912001546001600160a01b0316905081565b6040516bffffffffffffffffffffffff19606085901b166020820152600090819060340160405160208183030381529060405280519060200120905060006105508585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060015460039250905081811061054857610548610b96565b01548461090d565b9695505050505050565b6003816003811061056a57600080fd5b0154905081565b6001546002146105d7576105863384846104be565b15156001146105d75760405162461bcd60e51b815260206004820152601e60248201527f4d65726b6c652070726f6f6620646f6573206e6f742076616c6964617465000060448201526064016102cd565b6006546040516323b872dd60e01b8152336004820152306024820152604481018690526001600160a01b03909116906323b872dd906064016020604051808303816000875af115801561062e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190610b74565b506001600160a01b0381161580159061066d57506001546002145b156107585760025460009061068461271087610bc2565b61068e9190610be4565b60065460405163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af11580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107079190610b74565b50604080518681526020810183905233818301526001600160a01b038416606082015290517fa2c5126ee26ece0b5fbb2a047e361c9920cc9010bad026b346e7973b8cb7ef909181900360800190a1505b6000600754856107689190610be4565b9050600081600b5461077a9190610c03565b10156107b35760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016102cd565b80600b60008282546107c59190610c03565b90915550503360009081526009602052604081205460ff161515900361082857600a80546001810182556000919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b031916331790555b336000908152600960209081526040808320805460ff1916600117905560089091528120805483929061085c908490610c16565b9091555050604080518681523360208201527f04e75fda068b8e114d7658bdff74280a0fd65586b7e026a034eae29dd5a9e68b910160405180910390a15050505050565b6000546001600160a01b031633146108ca5760405162461bcd60e51b81526004016102cd90610b24565b600755565b6000546001600160a01b031633146108f95760405162461bcd60e51b81526004016102cd90610b24565b600193909355600391909155600455600555565b60008261091a8584610923565b14949350505050565b600081815b8451811015610968576109548286838151811061094757610947610b96565b6020026020010151610972565b91508061096081610c29565b915050610928565b5090505b92915050565b600081831061098e57600082815260208490526040902061099d565b60008381526020839052604090205b9392505050565b6001600160a01b03811681146109b957600080fd5b50565b6000602082840312156109ce57600080fd5b813561099d816109a4565b6000602082840312156109eb57600080fd5b5035919050565b60008083601f840112610a0457600080fd5b50813567ffffffffffffffff811115610a1c57600080fd5b6020830191508360208260051b8501011115610a3757600080fd5b9250929050565b600080600060408486031215610a5357600080fd5b8335610a5e816109a4565b9250602084013567ffffffffffffffff811115610a7a57600080fd5b610a86868287016109f2565b9497909650939450505050565b60008060008060608587031215610aa957600080fd5b84359350602085013567ffffffffffffffff811115610ac757600080fd5b610ad3878288016109f2565b9094509250506040850135610ae7816109a4565b939692955090935050565b60008060008060808587031215610b0857600080fd5b5050823594602084013594506040840135936060013592509050565b60208082526018908201527f6f6e6c79206d756c746973696720686173206163636573730000000000000000604082015260600190565b600060208284031215610b6d57600080fd5b5051919050565b600060208284031215610b8657600080fd5b8151801515811461099d57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082610bdf57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610bfe57610bfe610bac565b500290565b8181038181111561096c5761096c610bac565b8082018082111561096c5761096c610bac565b600060018201610c3b57610c3b610bac565b506001019056fea26469706673582212209503767c8baa4d2529c343b46882068481d68ecc9c1da646a0c677329f5a611164736f6c63430008100033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.