Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 329 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 19374311 | 297 days ago | IN | 0 ETH | 0.00171212 | ||||
Toggle Presale | 19307203 | 306 days ago | IN | 0 ETH | 0.00101812 | ||||
Presale Entry | 19307155 | 306 days ago | IN | 1.5 ETH | 0.00287708 | ||||
Presale Entry | 19307118 | 306 days ago | IN | 0.05 ETH | 0.00245918 | ||||
Presale Entry | 19307049 | 306 days ago | IN | 0.1 ETH | 0.00241329 | ||||
Presale Entry | 19307013 | 306 days ago | IN | 0.1 ETH | 0.00306616 | ||||
Presale Entry | 19306906 | 306 days ago | IN | 0.1 ETH | 0.00238371 | ||||
Presale Entry | 19306748 | 306 days ago | IN | 0.1 ETH | 0.00233205 | ||||
Presale Entry | 19306610 | 306 days ago | IN | 0.1 ETH | 0.00193579 | ||||
Presale Entry | 19306550 | 306 days ago | IN | 0.1 ETH | 0.00193361 | ||||
Presale Entry | 19306536 | 306 days ago | IN | 0.1 ETH | 0.0018254 | ||||
Presale Entry | 19306455 | 306 days ago | IN | 0.05 ETH | 0.00217436 | ||||
Presale Entry | 19306384 | 306 days ago | IN | 0.15 ETH | 0.00207855 | ||||
Presale Entry | 19306357 | 306 days ago | IN | 0.05 ETH | 0.00211644 | ||||
Presale Entry | 19306100 | 307 days ago | IN | 0.1 ETH | 0.00247183 | ||||
Presale Entry | 19305949 | 307 days ago | IN | 0.1 ETH | 0.00239337 | ||||
Presale Entry | 19305898 | 307 days ago | IN | 0.05 ETH | 0.00236297 | ||||
Presale Entry | 19305797 | 307 days ago | IN | 0.1 ETH | 0.00241253 | ||||
Presale Entry | 19305796 | 307 days ago | IN | 0.05 ETH | 0.00244308 | ||||
Presale Entry | 19305776 | 307 days ago | IN | 0.05 ETH | 0.00247634 | ||||
Presale Entry | 19305773 | 307 days ago | IN | 0.1 ETH | 0.00256735 | ||||
Presale Entry | 19305764 | 307 days ago | IN | 0.1 ETH | 0.00254138 | ||||
Presale Entry | 19305718 | 307 days ago | IN | 0.1 ETH | 0.00141333 | ||||
Set Root | 19305716 | 307 days ago | IN | 0 ETH | 0.00119797 | ||||
Presale Entry | 19305665 | 307 days ago | IN | 0.1 ETH | 0.00277283 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
19374311 | 297 days ago | 49.6 ETH |
Loading...
Loading
Contract Name:
PreFreedom
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract PreFreedom is Ownable, ReentrancyGuard{ uint256 public totalAllowed = 5000; uint256 public fee = 0.05 ether; uint256 public totalEntered = 0; // booleans bool public presaleEnabled = false; // mappings mapping(address => uint256) public enteredAmount; // merkle root bytes32 public root; constructor () {} function presaleEntry(uint256 _quantity, bytes32[] calldata proof) external payable nonReentrant { require(isValid(proof, keccak256(abi.encodePacked(msg.sender, _quantity))), "Not a part of whitelist"); require(msg.value >= (_quantity * fee), "Error: Not enough ether sent"); require(presaleEnabled, "Error: Presale is currently paused"); require(enteredAmount[msg.sender] == 0, "Error: Cannot enter more than allowed"); require(totalEntered + _quantity <= totalAllowed, "Error: Cannot go over total allowed presale entries"); totalEntered += _quantity; enteredAmount[msg.sender] = _quantity; } function isValid(bytes32[] calldata proof, bytes32 leaf) public view returns(bool) { return MerkleProof.verify(proof, root, leaf); } function togglePresale() external onlyOwner nonReentrant { presaleEnabled = !presaleEnabled; } function setTotalAllowed(uint256 _totalAllowed) external onlyOwner nonReentrant { totalAllowed = _totalAllowed; } function setFee(uint256 _fee) external onlyOwner nonReentrant { fee = _fee; } function setRoot(bytes32 _root) external onlyOwner nonReentrant { root = _root; } function withdraw() external onlyOwner nonReentrant { payable(owner()).transfer(address(this).balance); } function withdrawPercentage(uint256 _percent, address _to) external onlyOwner nonReentrant { require(_percent <= 100, "Percent cannot be greater than 100"); payable(_to).transfer(address(this).balance * _percent / 100); } }
// 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.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"enteredAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleEntry","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalAllowed","type":"uint256"}],"name":"setTotalAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEntered","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261138860025566b1a2bc2ec500006003555f6004556005805460ff1916905534801561002e575f80fd5b5061003833610041565b60018055610090565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610c008061009d5f395ff3fe608060405260043610610109575f3560e01c80638da5cb5b116100a1578063dab5f34011610071578063e58951a511610057578063e58951a5146102b0578063ebf0c717146102c5578063f2fde38b146102da575f80fd5b8063dab5f3401461027c578063ddca3f431461029b575f80fd5b80638da5cb5b1461020f57806390e3b35c14610235578063b8a20ed01461024a578063cb2c53a414610269575f80fd5b806369fe0e2d116100dc57806369fe0e2d1461019e5780636a3d3f17146101bd578063715018a6146101dc578063851e103f146101f0575f80fd5b8063143b237f1461010d578063343937431461013b5780633ccfd60b146101515780636591e6db14610165575b5f80fd5b348015610118575f80fd5b506005546101269060ff1681565b60405190151581526020015b60405180910390f35b348015610146575f80fd5b5061014f6102f9565b005b34801561015c575f80fd5b5061014f610326565b348015610170575f80fd5b5061019061017f366004610a0f565b60066020525f908152604090205481565b604051908152602001610132565b3480156101a9575f80fd5b5061014f6101b8366004610a28565b610377565b3480156101c8575f80fd5b5061014f6101d7366004610a3f565b610398565b3480156101e7575f80fd5b5061014f61047a565b3480156101fb575f80fd5b5061014f61020a366004610a28565b61048b565b34801561021a575f80fd5b505f546040516001600160a01b039091168152602001610132565b348015610240575f80fd5b5061019060025481565b348015610255575f80fd5b50610126610264366004610ab1565b6104a9565b61014f610277366004610af9565b6104f2565b348015610287575f80fd5b5061014f610296366004610a28565b61079e565b3480156102a6575f80fd5b5061019060035481565b3480156102bb575f80fd5b5061019060045481565b3480156102d0575f80fd5b5061019060075481565b3480156102e5575f80fd5b5061014f6102f4366004610a0f565b6107bc565b610301610849565b6103096108a2565b6005805460ff19811660ff9091161517905561032460018055565b565b61032e610849565b6103366108a2565b5f80546040516001600160a01b03909116914780156108fc02929091818181858888f1935050505015801561036d573d5f803e3d5ffd5b5061032460018055565b61037f610849565b6103876108a2565b600381905561039560018055565b50565b6103a0610849565b6103a86108a2565b60648211156104245760405162461bcd60e51b815260206004820152602260248201527f50657263656e742063616e6e6f742062652067726561746572207468616e203160448201527f303000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6001600160a01b0381166108fc606461043d8547610b55565b6104479190610b6c565b6040518115909202915f818181858888f1935050505015801561046c573d5f803e3d5ffd5b5061047660018055565b5050565b610482610849565b6103245f6108fb565b610493610849565b61049b6108a2565b600281905561039560018055565b5f6104ea8484808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506007549150859050610962565b949350505050565b6104fa6108a2565b6040516bffffffffffffffffffffffff193360601b166020820152603481018490526105429083908390605401604051602081830303815290604052805190602001206104a9565b61058e5760405162461bcd60e51b815260206004820152601760248201527f4e6f7420612070617274206f662077686974656c697374000000000000000000604482015260640161041b565b60035461059b9084610b55565b3410156105ea5760405162461bcd60e51b815260206004820152601c60248201527f4572726f723a204e6f7420656e6f7567682065746865722073656e7400000000604482015260640161041b565b60055460ff166106625760405162461bcd60e51b815260206004820152602260248201527f4572726f723a2050726573616c652069732063757272656e746c79207061757360448201527f6564000000000000000000000000000000000000000000000000000000000000606482015260840161041b565b335f90815260066020526040902054156106e45760405162461bcd60e51b815260206004820152602560248201527f4572726f723a2043616e6e6f7420656e746572206d6f7265207468616e20616c60448201527f6c6f776564000000000000000000000000000000000000000000000000000000606482015260840161041b565b600254836004546106f59190610b8b565b11156107695760405162461bcd60e51b815260206004820152603360248201527f4572726f723a2043616e6e6f7420676f206f76657220746f74616c20616c6c6f60448201527f7765642070726573616c6520656e747269657300000000000000000000000000606482015260840161041b565b8260045f82825461077a9190610b8b565b9091555050335f90815260066020526040902083905561079960018055565b505050565b6107a6610849565b6107ae6108a2565b600781905561039560018055565b6107c4610849565b6001600160a01b0381166108405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161041b565b610395816108fb565b5f546001600160a01b031633146103245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161041b565b6002600154036108f45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161041b565b6002600155565b5f80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f8261096e8584610977565b14949350505050565b5f81815b84518110156109bb576109a78286838151811061099a5761099a610b9e565b60200260200101516109c5565b9150806109b381610bb2565b91505061097b565b5090505b92915050565b5f8183106109df575f8281526020849052604090206109ed565b5f8381526020839052604090205b9392505050565b80356001600160a01b0381168114610a0a575f80fd5b919050565b5f60208284031215610a1f575f80fd5b6109ed826109f4565b5f60208284031215610a38575f80fd5b5035919050565b5f8060408385031215610a50575f80fd5b82359150610a60602084016109f4565b90509250929050565b5f8083601f840112610a79575f80fd5b50813567ffffffffffffffff811115610a90575f80fd5b6020830191508360208260051b8501011115610aaa575f80fd5b9250929050565b5f805f60408486031215610ac3575f80fd5b833567ffffffffffffffff811115610ad9575f80fd5b610ae586828701610a69565b909790965060209590950135949350505050565b5f805f60408486031215610b0b575f80fd5b83359250602084013567ffffffffffffffff811115610b28575f80fd5b610b3486828701610a69565b9497909650939450505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109bf576109bf610b41565b5f82610b8657634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109bf576109bf610b41565b634e487b7160e01b5f52603260045260245ffd5b5f60018201610bc357610bc3610b41565b506001019056fea2646970667358221220e965a39f369893275985aca0b984466061b428ee6c06998cd69134208f1d82c664736f6c63430008140033
Deployed Bytecode
0x608060405260043610610109575f3560e01c80638da5cb5b116100a1578063dab5f34011610071578063e58951a511610057578063e58951a5146102b0578063ebf0c717146102c5578063f2fde38b146102da575f80fd5b8063dab5f3401461027c578063ddca3f431461029b575f80fd5b80638da5cb5b1461020f57806390e3b35c14610235578063b8a20ed01461024a578063cb2c53a414610269575f80fd5b806369fe0e2d116100dc57806369fe0e2d1461019e5780636a3d3f17146101bd578063715018a6146101dc578063851e103f146101f0575f80fd5b8063143b237f1461010d578063343937431461013b5780633ccfd60b146101515780636591e6db14610165575b5f80fd5b348015610118575f80fd5b506005546101269060ff1681565b60405190151581526020015b60405180910390f35b348015610146575f80fd5b5061014f6102f9565b005b34801561015c575f80fd5b5061014f610326565b348015610170575f80fd5b5061019061017f366004610a0f565b60066020525f908152604090205481565b604051908152602001610132565b3480156101a9575f80fd5b5061014f6101b8366004610a28565b610377565b3480156101c8575f80fd5b5061014f6101d7366004610a3f565b610398565b3480156101e7575f80fd5b5061014f61047a565b3480156101fb575f80fd5b5061014f61020a366004610a28565b61048b565b34801561021a575f80fd5b505f546040516001600160a01b039091168152602001610132565b348015610240575f80fd5b5061019060025481565b348015610255575f80fd5b50610126610264366004610ab1565b6104a9565b61014f610277366004610af9565b6104f2565b348015610287575f80fd5b5061014f610296366004610a28565b61079e565b3480156102a6575f80fd5b5061019060035481565b3480156102bb575f80fd5b5061019060045481565b3480156102d0575f80fd5b5061019060075481565b3480156102e5575f80fd5b5061014f6102f4366004610a0f565b6107bc565b610301610849565b6103096108a2565b6005805460ff19811660ff9091161517905561032460018055565b565b61032e610849565b6103366108a2565b5f80546040516001600160a01b03909116914780156108fc02929091818181858888f1935050505015801561036d573d5f803e3d5ffd5b5061032460018055565b61037f610849565b6103876108a2565b600381905561039560018055565b50565b6103a0610849565b6103a86108a2565b60648211156104245760405162461bcd60e51b815260206004820152602260248201527f50657263656e742063616e6e6f742062652067726561746572207468616e203160448201527f303000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6001600160a01b0381166108fc606461043d8547610b55565b6104479190610b6c565b6040518115909202915f818181858888f1935050505015801561046c573d5f803e3d5ffd5b5061047660018055565b5050565b610482610849565b6103245f6108fb565b610493610849565b61049b6108a2565b600281905561039560018055565b5f6104ea8484808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506007549150859050610962565b949350505050565b6104fa6108a2565b6040516bffffffffffffffffffffffff193360601b166020820152603481018490526105429083908390605401604051602081830303815290604052805190602001206104a9565b61058e5760405162461bcd60e51b815260206004820152601760248201527f4e6f7420612070617274206f662077686974656c697374000000000000000000604482015260640161041b565b60035461059b9084610b55565b3410156105ea5760405162461bcd60e51b815260206004820152601c60248201527f4572726f723a204e6f7420656e6f7567682065746865722073656e7400000000604482015260640161041b565b60055460ff166106625760405162461bcd60e51b815260206004820152602260248201527f4572726f723a2050726573616c652069732063757272656e746c79207061757360448201527f6564000000000000000000000000000000000000000000000000000000000000606482015260840161041b565b335f90815260066020526040902054156106e45760405162461bcd60e51b815260206004820152602560248201527f4572726f723a2043616e6e6f7420656e746572206d6f7265207468616e20616c60448201527f6c6f776564000000000000000000000000000000000000000000000000000000606482015260840161041b565b600254836004546106f59190610b8b565b11156107695760405162461bcd60e51b815260206004820152603360248201527f4572726f723a2043616e6e6f7420676f206f76657220746f74616c20616c6c6f60448201527f7765642070726573616c6520656e747269657300000000000000000000000000606482015260840161041b565b8260045f82825461077a9190610b8b565b9091555050335f90815260066020526040902083905561079960018055565b505050565b6107a6610849565b6107ae6108a2565b600781905561039560018055565b6107c4610849565b6001600160a01b0381166108405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161041b565b610395816108fb565b5f546001600160a01b031633146103245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161041b565b6002600154036108f45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161041b565b6002600155565b5f80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f8261096e8584610977565b14949350505050565b5f81815b84518110156109bb576109a78286838151811061099a5761099a610b9e565b60200260200101516109c5565b9150806109b381610bb2565b91505061097b565b5090505b92915050565b5f8183106109df575f8281526020849052604090206109ed565b5f8381526020839052604090205b9392505050565b80356001600160a01b0381168114610a0a575f80fd5b919050565b5f60208284031215610a1f575f80fd5b6109ed826109f4565b5f60208284031215610a38575f80fd5b5035919050565b5f8060408385031215610a50575f80fd5b82359150610a60602084016109f4565b90509250929050565b5f8083601f840112610a79575f80fd5b50813567ffffffffffffffff811115610a90575f80fd5b6020830191508360208260051b8501011115610aaa575f80fd5b9250929050565b5f805f60408486031215610ac3575f80fd5b833567ffffffffffffffff811115610ad9575f80fd5b610ae586828701610a69565b909790965060209590950135949350505050565b5f805f60408486031215610b0b575f80fd5b83359250602084013567ffffffffffffffff811115610b28575f80fd5b610b3486828701610a69565b9497909650939450505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109bf576109bf610b41565b5f82610b8657634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109bf576109bf610b41565b634e487b7160e01b5f52603260045260245ffd5b5f60018201610bc357610bc3610b41565b506001019056fea2646970667358221220e965a39f369893275985aca0b984466061b428ee6c06998cd69134208f1d82c664736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.