More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 34 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Release | 18026311 | 432 days ago | IN | 0 ETH | 0.00312336 | ||||
Release | 17807285 | 463 days ago | IN | 0 ETH | 0.00293553 | ||||
Release | 17733860 | 473 days ago | IN | 0 ETH | 0.00205049 | ||||
Release | 17713371 | 476 days ago | IN | 0 ETH | 0.00280101 | ||||
Release | 17707333 | 477 days ago | IN | 0 ETH | 0.00358624 | ||||
Release | 17698313 | 478 days ago | IN | 0 ETH | 0.00166297 | ||||
Release | 17680563 | 480 days ago | IN | 0 ETH | 0.00293421 | ||||
Release | 17678023 | 481 days ago | IN | 0 ETH | 0.00434014 | ||||
Release | 17673519 | 481 days ago | IN | 0 ETH | 0.00167386 | ||||
Release | 17656275 | 484 days ago | IN | 0 ETH | 0.00089524 | ||||
Release | 17646342 | 485 days ago | IN | 0 ETH | 0.00173777 | ||||
Release | 17644032 | 486 days ago | IN | 0 ETH | 0.00958034 | ||||
Release | 17640159 | 486 days ago | IN | 0 ETH | 0.0024014 | ||||
Release | 17639528 | 486 days ago | IN | 0 ETH | 0.00236642 | ||||
Release | 17637695 | 486 days ago | IN | 0 ETH | 0.00264388 | ||||
Release | 17629223 | 488 days ago | IN | 0 ETH | 0.00512451 | ||||
Release | 17621226 | 489 days ago | IN | 0 ETH | 0.00583878 | ||||
Release | 17616820 | 489 days ago | IN | 0 ETH | 0.00254632 | ||||
Release | 17615406 | 490 days ago | IN | 0 ETH | 0.0026895 | ||||
Release | 17613744 | 490 days ago | IN | 0 ETH | 0.00292982 | ||||
Release | 17613493 | 490 days ago | IN | 0 ETH | 0.00525983 | ||||
Release | 17613115 | 490 days ago | IN | 0 ETH | 0.00310121 | ||||
Release | 17613053 | 490 days ago | IN | 0 ETH | 0.00320727 | ||||
Release | 17612647 | 490 days ago | IN | 0 ETH | 0.0039045 | ||||
Release | 17610434 | 490 days ago | IN | 0 ETH | 0.00230755 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
LinearVestingTreeway
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import "../general-components/LinearVestingMerkle.sol"; contract LinearVestingTreeway is LinearVestingMerkle { using SafeERC20 for IERC20; event UserVested(address user, uint256 startEpoch, uint256 totalDays, uint256 totalReward); event UserCollect(address user, uint256 amount); event VestRedirected(address _oldUser, address _newUser); uint256 constant DAY = 86400; //Token IERC20 public bids; //User's collected value mapping(address => uint256) public claimedAmount; constructor(IERC20 _bids) { bids = _bids; } // function vestUser(address _user, uint256 _startEpoch, uint256 _totalDays, uint256 _totalReward) external onlyOwner { // require(!locked, "Contract is locked(forever)"); // require(userInfo[_user].startEpoch == 0, "Already vested"); // require(_startEpoch != 0, "Bad epoch"); // userInfo[_user] = vestInfo(_totalReward,_startEpoch,_totalDays,0); // totalFillable += _totalReward; // emit UserVested(_user,_startEpoch,_totalDays,_totalReward); // } function calculateTotalClaimable(uint256 _startEpoch,uint256 _totalDays, uint256 _totalReward, uint256 _currentEpoch) internal pure returns(uint256){ if(_startEpoch>=_currentEpoch){ return 0; } uint256 _delta = _currentEpoch - _startEpoch; uint256 _doneDays = _delta/DAY; if(_doneDays>=_totalDays){ return _totalReward; } uint256 _rewardPerDay = _totalReward/_totalDays; return _rewardPerDay*_doneDays; } //reentrancy is futile, logic ignores token state variables and transfer is the last operation function release(uint256 _amount,uint256 _totalReward, uint256 _startEpoch, uint256 _totalDays,uint8 _treeId,bytes32[] calldata _merkleProof) external { require(_amount>0,"Please enter amount"); vestInfo memory data = vestInfo(_totalReward,_startEpoch,_totalDays); require(_canClaim(msg.sender,_treeId,data,_merkleProof),"Invalid vesting information"); uint256 _userTotalClaimable = calculateTotalClaimable(_startEpoch,_totalDays,_totalReward,block.timestamp); if(_amount <= _userTotalClaimable-claimedAmount[msg.sender]) { claimedAmount[msg.sender] += _amount; emit UserCollect(msg.sender,_amount); bids.safeTransfer(msg.sender, _amount); } else { revert("Can't release more than max"); } } //returns user's totalReward - calculateTotalClaimable //TODO IMPLEMENT TREEWAY variation function userLockedAmount(address _user, uint256 _totalReward, uint256 _startEpoch, uint256 _totalDays,uint8 _treeId,bytes32[] calldata _merkleProof) external view returns(uint256){ vestInfo memory data = vestInfo(_totalReward,_startEpoch,_totalDays); require(_canClaim(_user,_treeId,data,_merkleProof),"Invalid vesting information"); return data.totalReward - calculateTotalClaimable(data.startEpoch,data.totalDays,data.totalReward,block.timestamp); } //TODO IMPLEMENT TREEWAY variation function userClaimableAmount(address _user, uint256 _totalReward, uint256 _startEpoch, uint256 _totalDays,uint8 _treeId,bytes32[] calldata _merkleProof) external view returns(uint256){ vestInfo memory data = vestInfo(_totalReward,_startEpoch,_totalDays); require(_canClaim(_user,_treeId,data,_merkleProof),"Invalid vesting information"); uint256 _userTotalClaimable = calculateTotalClaimable(data.startEpoch,data.totalDays,data.totalReward,block.timestamp); return _userTotalClaimable - claimedAmount[_user]; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol"; import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import {IERC20, SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; /** * @title MultiRewards * @dev It uses safe guard addresses (e.g., address(0), address(1)) to add a protection layer against operational errors when the operator sets up the merkle roots for each of the existing trees. */ contract LinearVestingMerkle is Pausable, ReentrancyGuard, Ownable { using SafeERC20 for IERC20; struct vestInfo{ uint256 totalReward; uint256 startEpoch; uint256 totalDays; } struct TreeParameter { address safeGuard; // address of the safe guard (e.g., address(0)) bytes32 merkleRoot; // current merkle root } // Standard safe guard vestInfo public SAFE_GUARD_AMOUNT = vestInfo(0,0,0); // Keeps track of number of trees existing in parallel uint8 public numberTrees; // Last paused timestamp uint256 public lastPausedTimestamp; // Keeps track of current parameters of a tree mapping(uint8 => TreeParameter) public treeParameters; // Check whether safe guard address was used mapping(address => bool) public safeGuardUsed; // Checks whether a merkle root was used mapping(bytes32 => bool) public merkleRootUsed; event Claim(address user, uint256 rewardRound, uint256 totalAmount, uint8[] treeIds, uint256[] amounts); event NewTree(uint8 treeId); event UpdateRoot(uint8 treeId,bytes32 root); constructor() {} /** * @notice Update merkle root * @param treeIds array of treeIds * @param merkleRoots array of merkle roots (for each treeId) * @param merkleProofsSafeGuards array of merkle proof for the safe guard addresses */ function updateRoot( uint8[] calldata treeIds, bytes32[] calldata merkleRoots, bytes32[][] calldata merkleProofsSafeGuards ) external onlyOwner { require( treeIds.length > 0 && treeIds.length == merkleRoots.length && treeIds.length == merkleProofsSafeGuards.length, "Owner: Wrong lengths" ); vestInfo memory tempGuard = SAFE_GUARD_AMOUNT; for (uint256 i = 0; i < merkleRoots.length; i++) { require(treeIds[i] < numberTrees, "Owner: Tree nonexistent"); require(!merkleRootUsed[merkleRoots[i]], "Owner: Merkle root already used"); treeParameters[treeIds[i]].merkleRoot = merkleRoots[i]; merkleRootUsed[merkleRoots[i]] = true; bool canSafeGuardClaim = _canClaim( treeParameters[treeIds[i]].safeGuard, treeIds[i], tempGuard, merkleProofsSafeGuards[i] ); require(canSafeGuardClaim, "Owner: Wrong safe guard proofs"); emit UpdateRoot(treeIds[i],merkleRoots[i]); } } /** * @notice Add a new tree * @param safeGuard address of a safe guard user (e.g., address(0), address(1)) * @dev Only for owner. */ function addNewTree(address safeGuard) external onlyOwner { require(!safeGuardUsed[safeGuard], "BidshopHammerRewards: Safe guard already used"); safeGuardUsed[safeGuard] = true; treeParameters[numberTrees].safeGuard = safeGuard; // Emit event and increment number trees emit NewTree(numberTrees++); } /** * @notice Pause distribution * @dev Only for owner. */ function pauseDistribution() external onlyOwner whenNotPaused { lastPausedTimestamp = block.timestamp; _pause(); } /** * @notice Unpause distribution * @dev Only for owner. */ function unpauseDistribution() external onlyOwner whenPaused { _unpause(); } /** * @notice Check whether it is possible to claim and how much based on previous distribution * @param user address of the user * @param treeId id of the merkle tree * @param vestingData struct to create the node * @param merkleProof array with the merkle proof */ function _canClaim( address user, uint8 treeId, vestInfo memory vestingData, bytes32[] calldata merkleProof ) internal view returns (bool) { // Compute the node and verify the merkle proof bytes32 node = keccak256(abi.encodePacked(user, vestingData.totalReward,vestingData.startEpoch,vestingData.totalDays)); bool canUserClaim = MerkleProof.verify(merkleProof, treeParameters[treeId].merkleRoot, node); if (!canUserClaim) { return (false); } else { return (true); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// 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) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// 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 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_bids","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"rewardRound","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"},{"indexed":false,"internalType":"uint8[]","name":"treeIds","type":"uint8[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"treeId","type":"uint8"}],"name":"NewTree","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"treeId","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"UpdateRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UserCollect","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"startEpoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalDays","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalReward","type":"uint256"}],"name":"UserVested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_oldUser","type":"address"},{"indexed":false,"internalType":"address","name":"_newUser","type":"address"}],"name":"VestRedirected","type":"event"},{"inputs":[],"name":"SAFE_GUARD_AMOUNT","outputs":[{"internalType":"uint256","name":"totalReward","type":"uint256"},{"internalType":"uint256","name":"startEpoch","type":"uint256"},{"internalType":"uint256","name":"totalDays","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"safeGuard","type":"address"}],"name":"addNewTree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bids","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPausedTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"merkleRootUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberTrees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_totalReward","type":"uint256"},{"internalType":"uint256","name":"_startEpoch","type":"uint256"},{"internalType":"uint256","name":"_totalDays","type":"uint256"},{"internalType":"uint8","name":"_treeId","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"safeGuardUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"treeParameters","outputs":[{"internalType":"address","name":"safeGuard","type":"address"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpauseDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"treeIds","type":"uint8[]"},{"internalType":"bytes32[]","name":"merkleRoots","type":"bytes32[]"},{"internalType":"bytes32[][]","name":"merkleProofsSafeGuards","type":"bytes32[][]"}],"name":"updateRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_totalReward","type":"uint256"},{"internalType":"uint256","name":"_startEpoch","type":"uint256"},{"internalType":"uint256","name":"_totalDays","type":"uint256"},{"internalType":"uint8","name":"_treeId","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"userClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_totalReward","type":"uint256"},{"internalType":"uint256","name":"_startEpoch","type":"uint256"},{"internalType":"uint256","name":"_totalDays","type":"uint256"},{"internalType":"uint8","name":"_treeId","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"userLockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60e06040526000608081905260a081905260c08190526003819055600481905560055534801561002e57600080fd5b5060405161171838038061171883398101604081905261004d916100db565b6000805460ff191690556001805561006433610089565b600b80546001600160a01b0319166001600160a01b039290921691909117905561010b565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000602082840312156100ed57600080fd5b81516001600160a01b038116811461010457600080fd5b9392505050565b6115fe8061011a6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80638da5cb5b116100ad578063ce2f752a11610071578063ce2f752a146102b2578063d0e1f97f146102c5578063f2fde38b146102f2578063f563c17a14610305578063fa4619741461031857600080fd5b80638da5cb5b1461022c578063a95c56f514610251578063b94ec9d014610274578063ba42590d1461027c578063cc996d1b1461029f57600080fd5b80633488fca2116100f45780633488fca214610195578063545ae117146101a85780635c975abb146101bb578063715018a6146101d25780637663d437146101da57600080fd5b806304e869031461012657806310e57e3314610159578063249c8f5e1461016c57806331cec7a31461018b575b600080fd5b6101466101343660046111e7565b600c6020526000908152604090205481565b6040519081526020015b60405180910390f35b61014661016736600461125f565b610321565b6006546101799060ff1681565b60405160ff9091168152602001610150565b6101936103a1565b005b6101936101a33660046111e7565b6103bf565b6101466101b636600461125f565b6104fa565b60005460ff165b6040519015158152602001610150565b61019361058e565b61020d6101e83660046112e1565b600860205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610150565b6002546001600160a01b03165b6040516001600160a01b039091168152602001610150565b6101c261025f3660046111e7565b60096020526000908152604090205460ff1681565b6101936105a0565b6101c261028a3660046112fc565b600a6020526000908152604090205460ff1681565b600b54610239906001600160a01b031681565b6101936102c0366004611315565b6105b8565b6003546004546005546102d792919083565b60408051938452602084019290925290820152606001610150565b6101936103003660046111e7565b61096f565b6101936103133660046113af565b6109e8565b61014660075481565b604080516060810182528781526020810187905290810185905260009061034b8986838787610b6e565b6103705760405162461bcd60e51b8152600401610367906113ef565b60405180910390fd5b61038881602001518260400151836000015142610c4b565b8151610394919061143c565b9998505050505050505050565b6103a9610cb2565b6103b1610d0c565b426007556103bd610d52565b565b6103c7610cb2565b6001600160a01b03811660009081526009602052604090205460ff16156104465760405162461bcd60e51b815260206004820152602d60248201527f42696473686f7048616d6d6572526577617264733a205361666520677561726460448201526c08185b1c9958591e481d5cd959609a1b6064820152608401610367565b6001600160a01b0381166000818152600960209081526040808320805460ff191660011790556006805460ff9081168552600890935290832080546001600160a01b03191690941790935582547f0cc7daa76db4972d6a17fb9d6aab3dc31eacbe5c2d577977f4cbe162f077c0b1939116916104c18361144f565b91906101000a81548160ff021916908360ff1602179055506040516104ef919060ff91909116815260200190565b60405180910390a150565b60408051606081018252878152602081018790529081018590526000906105248986838787610b6e565b6105405760405162461bcd60e51b8152600401610367906113ef565b600061055a82602001518360400151846000015142610c4b565b6001600160a01b038b166000908152600c6020526040902054909150610580908261143c565b9a9950505050505050505050565b610596610cb2565b6103bd6000610dac565b6105a8610cb2565b6105b0610dfe565b6103bd610e47565b6105c0610cb2565b84158015906105ce57508483145b80156105d957508481145b61061c5760405162461bcd60e51b81526020600482015260146024820152734f776e65723a2057726f6e67206c656e6774687360601b6044820152606401610367565b60408051606081018252600354815260045460208201526005549181019190915260005b848110156109655760065460ff168888838181106106605761066061146e565b905060200201602081019061067591906112e1565b60ff16106106c55760405162461bcd60e51b815260206004820152601760248201527f4f776e65723a2054726565206e6f6e6578697374656e740000000000000000006044820152606401610367565b600a60008787848181106106db576106db61146e565b602090810292909201358352508101919091526040016000205460ff16156107455760405162461bcd60e51b815260206004820152601f60248201527f4f776e65723a204d65726b6c6520726f6f7420616c72656164792075736564006044820152606401610367565b8585828181106107575761075761146e565b90506020020135600860008a8a858181106107745761077461146e565b905060200201602081019061078991906112e1565b60ff1660ff168152602001908152602001600020600101819055506001600a60008888858181106107bc576107bc61146e565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055506000610886600860008b8b868181106108035761080361146e565b905060200201602081019061081891906112e1565b60ff1681526020810191909152604001600020546001600160a01b03168a8a858181106108475761084761146e565b905060200201602081019061085c91906112e1565b8588888781811061086f5761086f61146e565b90506020028101906108819190611484565b610b6e565b9050806108d55760405162461bcd60e51b815260206004820152601e60248201527f4f776e65723a2057726f6e6720736166652067756172642070726f6f667300006044820152606401610367565b7f8f1d81da8132919144db1f74d29ae73edd97a13dae0124bee9cc8d73a49067368989848181106109085761090861146e565b905060200201602081019061091d91906112e1565b88888581811061092f5761092f61146e565b6040805160ff90951685526020918202939093013590840152500160405180910390a1508061095d816114ce565b915050610640565b5050505050505050565b610977610cb2565b6001600160a01b0381166109dc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610367565b6109e581610dac565b50565b60008711610a2e5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948195b9d195c88185b5bdd5b9d606a1b6044820152606401610367565b6040805160608101825287815260208101879052908101859052610a553385838686610b6e565b610a715760405162461bcd60e51b8152600401610367906113ef565b6000610a7f87878a42610c4b565b336000908152600c6020526040902054909150610a9c908261143c565b8911610b1b57336000908152600c6020526040812080548b9290610ac19084906114e7565b909155505060408051338152602081018b90527fcca5c881f42d9145ae26286be37c96df67a15b7ed02b3d28215cf6264a55a41e910160405180910390a1600b54610b16906001600160a01b0316338b610e80565b610b63565b60405162461bcd60e51b815260206004820152601b60248201527f43616e27742072656c65617365206d6f7265207468616e206d617800000000006044820152606401610367565b505050505050505050565b60008086856000015186602001518760400151604051602001610bbe949392919060609490941b6bffffffffffffffffffffffff1916845260148401929092526034830152605482015260740190565b6040516020818303038152906040528051906020012090506000610c29858580806020026020016040519081016040528093929190818152602001838360200280828437600092018290525060ff8d168152600860205260409020600101549250869150610ed79050565b905080610c3b57600092505050610c42565b6001925050505b95945050505050565b6000818510610c5c57506000610caa565b6000610c68868461143c565b90506000610c7962015180836114fa565b9050858110610c8c578492505050610caa565b6000610c9887876114fa565b9050610ca4828261151c565b93505050505b949350505050565b6002546001600160a01b031633146103bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610367565b60005460ff16156103bd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610367565b610d5a610d0c565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d8f3390565b6040516001600160a01b03909116815260200160405180910390a1565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005460ff166103bd5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610367565b610e4f610dfe565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610d8f565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ed2908490610eed565b505050565b600082610ee48584610fc2565b14949350505050565b6000610f42826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110119092919063ffffffff16565b9050805160001480610f63575080806020019051810190610f639190611533565b610ed25760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610367565b600081815b845181101561100757610ff382868381518110610fe657610fe661146e565b6020026020010151611020565b915080610fff816114ce565b915050610fc7565b5090505b92915050565b6060610caa8484600085611052565b600081831061103c57600082815260208490526040902061104b565b60008381526020839052604090205b9392505050565b6060824710156110b35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610367565b600080866001600160a01b031685876040516110cf9190611579565b60006040518083038185875af1925050503d806000811461110c576040519150601f19603f3d011682016040523d82523d6000602084013e611111565b606091505b50915091506111228783838761112d565b979650505050505050565b6060831561119c578251600003611195576001600160a01b0385163b6111955760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610367565b5081610caa565b610caa83838151156111b15781518083602001fd5b8060405162461bcd60e51b81526004016103679190611595565b80356001600160a01b03811681146111e257600080fd5b919050565b6000602082840312156111f957600080fd5b61104b826111cb565b803560ff811681146111e257600080fd5b60008083601f84011261122557600080fd5b50813567ffffffffffffffff81111561123d57600080fd5b6020830191508360208260051b850101111561125857600080fd5b9250929050565b600080600080600080600060c0888a03121561127a57600080fd5b611283886111cb565b96506020880135955060408801359450606088013593506112a660808901611202565b925060a088013567ffffffffffffffff8111156112c257600080fd5b6112ce8a828b01611213565b989b979a50959850939692959293505050565b6000602082840312156112f357600080fd5b61104b82611202565b60006020828403121561130e57600080fd5b5035919050565b6000806000806000806060878903121561132e57600080fd5b863567ffffffffffffffff8082111561134657600080fd5b6113528a838b01611213565b9098509650602089013591508082111561136b57600080fd5b6113778a838b01611213565b9096509450604089013591508082111561139057600080fd5b5061139d89828a01611213565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156113ca57600080fd5b873596506020880135955060408801359450606088013593506112a660808901611202565b6020808252601b908201527f496e76616c69642076657374696e6720696e666f726d6174696f6e0000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561100b5761100b611426565b600060ff821660ff810361146557611465611426565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261149b57600080fd5b83018035915067ffffffffffffffff8211156114b657600080fd5b6020019150600581901b360382131561125857600080fd5b6000600182016114e0576114e0611426565b5060010190565b8082018082111561100b5761100b611426565b60008261151757634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761100b5761100b611426565b60006020828403121561154557600080fd5b8151801515811461104b57600080fd5b60005b83811015611570578181015183820152602001611558565b50506000910152565b6000825161158b818460208701611555565b9190910192915050565b60208152600082518060208401526115b4816040850160208701611555565b601f01601f1916919091016040019291505056fea26469706673582212200c4238432a7831838f2f5e9e5751402f92ef513d41fcf65e26d9fc32afd3080464736f6c63430008130033000000000000000000000000a53e968b8d8a5be52d66e5bb35d9b6b6b5a5cd2f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c80638da5cb5b116100ad578063ce2f752a11610071578063ce2f752a146102b2578063d0e1f97f146102c5578063f2fde38b146102f2578063f563c17a14610305578063fa4619741461031857600080fd5b80638da5cb5b1461022c578063a95c56f514610251578063b94ec9d014610274578063ba42590d1461027c578063cc996d1b1461029f57600080fd5b80633488fca2116100f45780633488fca214610195578063545ae117146101a85780635c975abb146101bb578063715018a6146101d25780637663d437146101da57600080fd5b806304e869031461012657806310e57e3314610159578063249c8f5e1461016c57806331cec7a31461018b575b600080fd5b6101466101343660046111e7565b600c6020526000908152604090205481565b6040519081526020015b60405180910390f35b61014661016736600461125f565b610321565b6006546101799060ff1681565b60405160ff9091168152602001610150565b6101936103a1565b005b6101936101a33660046111e7565b6103bf565b6101466101b636600461125f565b6104fa565b60005460ff165b6040519015158152602001610150565b61019361058e565b61020d6101e83660046112e1565b600860205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610150565b6002546001600160a01b03165b6040516001600160a01b039091168152602001610150565b6101c261025f3660046111e7565b60096020526000908152604090205460ff1681565b6101936105a0565b6101c261028a3660046112fc565b600a6020526000908152604090205460ff1681565b600b54610239906001600160a01b031681565b6101936102c0366004611315565b6105b8565b6003546004546005546102d792919083565b60408051938452602084019290925290820152606001610150565b6101936103003660046111e7565b61096f565b6101936103133660046113af565b6109e8565b61014660075481565b604080516060810182528781526020810187905290810185905260009061034b8986838787610b6e565b6103705760405162461bcd60e51b8152600401610367906113ef565b60405180910390fd5b61038881602001518260400151836000015142610c4b565b8151610394919061143c565b9998505050505050505050565b6103a9610cb2565b6103b1610d0c565b426007556103bd610d52565b565b6103c7610cb2565b6001600160a01b03811660009081526009602052604090205460ff16156104465760405162461bcd60e51b815260206004820152602d60248201527f42696473686f7048616d6d6572526577617264733a205361666520677561726460448201526c08185b1c9958591e481d5cd959609a1b6064820152608401610367565b6001600160a01b0381166000818152600960209081526040808320805460ff191660011790556006805460ff9081168552600890935290832080546001600160a01b03191690941790935582547f0cc7daa76db4972d6a17fb9d6aab3dc31eacbe5c2d577977f4cbe162f077c0b1939116916104c18361144f565b91906101000a81548160ff021916908360ff1602179055506040516104ef919060ff91909116815260200190565b60405180910390a150565b60408051606081018252878152602081018790529081018590526000906105248986838787610b6e565b6105405760405162461bcd60e51b8152600401610367906113ef565b600061055a82602001518360400151846000015142610c4b565b6001600160a01b038b166000908152600c6020526040902054909150610580908261143c565b9a9950505050505050505050565b610596610cb2565b6103bd6000610dac565b6105a8610cb2565b6105b0610dfe565b6103bd610e47565b6105c0610cb2565b84158015906105ce57508483145b80156105d957508481145b61061c5760405162461bcd60e51b81526020600482015260146024820152734f776e65723a2057726f6e67206c656e6774687360601b6044820152606401610367565b60408051606081018252600354815260045460208201526005549181019190915260005b848110156109655760065460ff168888838181106106605761066061146e565b905060200201602081019061067591906112e1565b60ff16106106c55760405162461bcd60e51b815260206004820152601760248201527f4f776e65723a2054726565206e6f6e6578697374656e740000000000000000006044820152606401610367565b600a60008787848181106106db576106db61146e565b602090810292909201358352508101919091526040016000205460ff16156107455760405162461bcd60e51b815260206004820152601f60248201527f4f776e65723a204d65726b6c6520726f6f7420616c72656164792075736564006044820152606401610367565b8585828181106107575761075761146e565b90506020020135600860008a8a858181106107745761077461146e565b905060200201602081019061078991906112e1565b60ff1660ff168152602001908152602001600020600101819055506001600a60008888858181106107bc576107bc61146e565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055506000610886600860008b8b868181106108035761080361146e565b905060200201602081019061081891906112e1565b60ff1681526020810191909152604001600020546001600160a01b03168a8a858181106108475761084761146e565b905060200201602081019061085c91906112e1565b8588888781811061086f5761086f61146e565b90506020028101906108819190611484565b610b6e565b9050806108d55760405162461bcd60e51b815260206004820152601e60248201527f4f776e65723a2057726f6e6720736166652067756172642070726f6f667300006044820152606401610367565b7f8f1d81da8132919144db1f74d29ae73edd97a13dae0124bee9cc8d73a49067368989848181106109085761090861146e565b905060200201602081019061091d91906112e1565b88888581811061092f5761092f61146e565b6040805160ff90951685526020918202939093013590840152500160405180910390a1508061095d816114ce565b915050610640565b5050505050505050565b610977610cb2565b6001600160a01b0381166109dc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610367565b6109e581610dac565b50565b60008711610a2e5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948195b9d195c88185b5bdd5b9d606a1b6044820152606401610367565b6040805160608101825287815260208101879052908101859052610a553385838686610b6e565b610a715760405162461bcd60e51b8152600401610367906113ef565b6000610a7f87878a42610c4b565b336000908152600c6020526040902054909150610a9c908261143c565b8911610b1b57336000908152600c6020526040812080548b9290610ac19084906114e7565b909155505060408051338152602081018b90527fcca5c881f42d9145ae26286be37c96df67a15b7ed02b3d28215cf6264a55a41e910160405180910390a1600b54610b16906001600160a01b0316338b610e80565b610b63565b60405162461bcd60e51b815260206004820152601b60248201527f43616e27742072656c65617365206d6f7265207468616e206d617800000000006044820152606401610367565b505050505050505050565b60008086856000015186602001518760400151604051602001610bbe949392919060609490941b6bffffffffffffffffffffffff1916845260148401929092526034830152605482015260740190565b6040516020818303038152906040528051906020012090506000610c29858580806020026020016040519081016040528093929190818152602001838360200280828437600092018290525060ff8d168152600860205260409020600101549250869150610ed79050565b905080610c3b57600092505050610c42565b6001925050505b95945050505050565b6000818510610c5c57506000610caa565b6000610c68868461143c565b90506000610c7962015180836114fa565b9050858110610c8c578492505050610caa565b6000610c9887876114fa565b9050610ca4828261151c565b93505050505b949350505050565b6002546001600160a01b031633146103bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610367565b60005460ff16156103bd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610367565b610d5a610d0c565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d8f3390565b6040516001600160a01b03909116815260200160405180910390a1565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005460ff166103bd5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610367565b610e4f610dfe565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610d8f565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ed2908490610eed565b505050565b600082610ee48584610fc2565b14949350505050565b6000610f42826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110119092919063ffffffff16565b9050805160001480610f63575080806020019051810190610f639190611533565b610ed25760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610367565b600081815b845181101561100757610ff382868381518110610fe657610fe661146e565b6020026020010151611020565b915080610fff816114ce565b915050610fc7565b5090505b92915050565b6060610caa8484600085611052565b600081831061103c57600082815260208490526040902061104b565b60008381526020839052604090205b9392505050565b6060824710156110b35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610367565b600080866001600160a01b031685876040516110cf9190611579565b60006040518083038185875af1925050503d806000811461110c576040519150601f19603f3d011682016040523d82523d6000602084013e611111565b606091505b50915091506111228783838761112d565b979650505050505050565b6060831561119c578251600003611195576001600160a01b0385163b6111955760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610367565b5081610caa565b610caa83838151156111b15781518083602001fd5b8060405162461bcd60e51b81526004016103679190611595565b80356001600160a01b03811681146111e257600080fd5b919050565b6000602082840312156111f957600080fd5b61104b826111cb565b803560ff811681146111e257600080fd5b60008083601f84011261122557600080fd5b50813567ffffffffffffffff81111561123d57600080fd5b6020830191508360208260051b850101111561125857600080fd5b9250929050565b600080600080600080600060c0888a03121561127a57600080fd5b611283886111cb565b96506020880135955060408801359450606088013593506112a660808901611202565b925060a088013567ffffffffffffffff8111156112c257600080fd5b6112ce8a828b01611213565b989b979a50959850939692959293505050565b6000602082840312156112f357600080fd5b61104b82611202565b60006020828403121561130e57600080fd5b5035919050565b6000806000806000806060878903121561132e57600080fd5b863567ffffffffffffffff8082111561134657600080fd5b6113528a838b01611213565b9098509650602089013591508082111561136b57600080fd5b6113778a838b01611213565b9096509450604089013591508082111561139057600080fd5b5061139d89828a01611213565b979a9699509497509295939492505050565b600080600080600080600060c0888a0312156113ca57600080fd5b873596506020880135955060408801359450606088013593506112a660808901611202565b6020808252601b908201527f496e76616c69642076657374696e6720696e666f726d6174696f6e0000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561100b5761100b611426565b600060ff821660ff810361146557611465611426565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261149b57600080fd5b83018035915067ffffffffffffffff8211156114b657600080fd5b6020019150600581901b360382131561125857600080fd5b6000600182016114e0576114e0611426565b5060010190565b8082018082111561100b5761100b611426565b60008261151757634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761100b5761100b611426565b60006020828403121561154557600080fd5b8151801515811461104b57600080fd5b60005b83811015611570578181015183820152602001611558565b50506000910152565b6000825161158b818460208701611555565b9190910192915050565b60208152600082518060208401526115b4816040850160208701611555565b601f01601f1916919091016040019291505056fea26469706673582212200c4238432a7831838f2f5e9e5751402f92ef513d41fcf65e26d9fc32afd3080464736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a53e968b8d8a5be52d66e5bb35d9b6b6b5a5cd2f
-----Decoded View---------------
Arg [0] : _bids (address): 0xA53e968b8d8a5Be52d66e5BB35d9b6B6B5A5CD2F
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a53e968b8d8a5be52d66e5bb35d9b6b6b5a5cd2f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.