Overview
ETH Balance
0.1672 ETH
Eth Value
$545.92 (@ $3,265.09/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 35 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Release | 16406324 | 561 days ago | IN | 0 ETH | 0.00120444 | ||||
Release | 16406312 | 561 days ago | IN | 0 ETH | 0.00115208 | ||||
Release | 15683454 | 662 days ago | IN | 0 ETH | 0.00173674 | ||||
Transfer Ownersh... | 15640687 | 668 days ago | IN | 0 ETH | 0.0004766 | ||||
Transfer Legend ... | 15417755 | 701 days ago | IN | 0 ETH | 0.00038648 | ||||
Mint | 15394034 | 705 days ago | IN | 0.044 ETH | 0.00076509 | ||||
Mint | 15376776 | 708 days ago | IN | 0.044 ETH | 0.00047155 | ||||
Mint | 15288618 | 722 days ago | IN | 0.044 ETH | 0.00068145 | ||||
Mint | 15272438 | 724 days ago | IN | 0.044 ETH | 0.00049607 | ||||
Mint | 15257529 | 727 days ago | IN | 0.132 ETH | 0.00112232 | ||||
Mint | 15257251 | 727 days ago | IN | 0.044 ETH | 0.00151569 | ||||
Mint | 15241772 | 729 days ago | IN | 0.088 ETH | 0.00044632 | ||||
Mint | 15223108 | 732 days ago | IN | 0.044 ETH | 0.0005814 | ||||
Transfer Legend ... | 15220679 | 732 days ago | IN | 0 ETH | 0.00148331 | ||||
Transfer Ownersh... | 15219089 | 733 days ago | IN | 0 ETH | 0.00079981 | ||||
Mint | 15204078 | 735 days ago | IN | 0.176 ETH | 0.00060323 | ||||
Mint | 15201803 | 735 days ago | IN | 0.044 ETH | 0.00119506 | ||||
Mint | 15186575 | 738 days ago | IN | 0.044 ETH | 0.00294573 | ||||
Mint | 15183693 | 738 days ago | IN | 0.044 ETH | 0.0016378 | ||||
Mint | 15182913 | 738 days ago | IN | 0.088 ETH | 0.00097304 | ||||
Mint | 15177937 | 739 days ago | IN | 0.044 ETH | 0.00302256 | ||||
Mint | 15177033 | 739 days ago | IN | 0.088 ETH | 0.00101764 | ||||
Mint | 15176737 | 739 days ago | IN | 0.088 ETH | 0.00218662 | ||||
Mint | 15175906 | 739 days ago | IN | 0.044 ETH | 0.00141255 | ||||
Mint | 15175000 | 740 days ago | IN | 0.088 ETH | 0.00149761 |
Loading...
Loading
Contract Name:
LegendXPriceReduction
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-18 */ // SPDX-License-Identifier: MIT // File: contracts/ILegendX.sol pragma solidity ^0.8.4; interface ILegendX { function transferOwnership(address newOwner) external; function devMint(address[] memory addresses, uint256[] memory numMints) external; } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _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} * * _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) } } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.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 * ==== * * [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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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); } } } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-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); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.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); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @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; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } 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)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } 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"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } 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"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File: contracts/LegendXPriceReduction.sol pragma solidity ^0.8.4; contract LegendXPriceReduction is Ownable, PaymentSplitter { ILegendX LegendX; constructor(ILegendX LegendXInterface) PaymentSplitter(_splitterAddressList, _shareList) { LegendX = LegendXInterface; } address[] private _splitterAddressList = [ 0x492EFaAE6bd47AC479DA908f91ff6f15Bc395371, 0x3E7B68c3896b45808A0dA50B48Cb2A44D11342EF, 0x342b68aDe2384aE1e61A65758d2Af49138dB5224, 0x4Cc1bF50E741Cc7e5A152bB9e5b9D5071cE9f402 ]; uint256[] private _shareList = [10, 15, 15, 60]; uint256 price = 0.044 ether; uint256 maxTxn = 4; bool paused = true; function mint(uint256 mintAmount) public payable { require(!paused, "Mint paused"); require(mintAmount > 0, "Mint Amount Incorrect"); require(msg.value >= price * mintAmount, "Incorrect payment amount!"); require(mintAmount < maxTxn + 1, "Mint Amount Incorrect"); address[] memory sender = new address[](1); uint256[] memory mints = new uint[](1); sender[0] = msg.sender; mints[0] = mintAmount; LegendX.devMint(sender, mints); } function airdrop(address[] memory addresses, uint256[] memory numMints) external onlyOwner { LegendX.devMint(addresses, numMints); } function transferLegendXOwner(address newOwner) external onlyOwner { LegendX.transferOwnership(newOwner); } function setInterface(ILegendX LegendXInterface) external onlyOwner { LegendX = LegendXInterface; } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function setPaused(bool paused_) external onlyOwner { paused = paused_; } function setMaxTxn(uint256 maxTxn_) external onlyOwner { maxTxn = maxTxn_; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract ILegendX","name":"LegendXInterface","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numMints","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ILegendX","name":"LegendXInterface","type":"address"}],"name":"setInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxn_","type":"uint256"}],"name":"setMaxTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused_","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferLegendXOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
61010060405273492efaae6bd47ac479da908f91ff6f15bc3953716080908152733e7b68c3896b45808a0da50b48cb2a44d11342ef60a05273342b68ade2384ae1e61a65758d2af49138db522460c052734cc1bf50e741cc7e5a152bb9e5b9d5071ce9f40260e0526200007790600990600462000560565b5060408051608081018252600a808252600f6020830181905292820192909252603c6060820152620000ac91906004620005ca565b50669c51c4521e0000600b556004600c55600d805460ff19166001179055348015620000d757600080fd5b5060405162001bdc38038062001bdc833981016040819052620000fa9162000624565b60098054806020026020016040519081016040528092919081815260200182805480156200015257602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000133575b5050505050600a805480602002602001604051908101604052809291908181526020018280548015620001a557602002820191906000526020600020905b81548152602001906001019080831162000190575b5050505050620001c4620001be6200031f60201b60201c565b62000323565b8051825114620002365760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002895760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200022d565b60005b8251811015620002f557620002e0838281518110620002af57620002af620006a5565b6020026020010151838381518110620002cc57620002cc620006a5565b60200260200101516200037360201b60201c565b80620002ec8162000671565b9150506200028c565b5050600880546001600160a01b0319166001600160a01b03939093169290921790915550620006bb565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620003e05760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200022d565b60008111620004325760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200022d565b6001600160a01b03821660009081526003602052604090205415620004ae5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200022d565b6005805460018082019092557f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556000908152600360205260409020829055546200051790829062000656565b600155604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054828255906000526020600020908101928215620005b8579160200282015b82811115620005b857825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000581565b50620005c69291506200060d565b5090565b828054828255906000526020600020908101928215620005b8579160200282015b82811115620005b8578251829060ff16905591602001919060010190620005eb565b5b80821115620005c657600081556001016200060e565b6000602082840312156200063757600080fd5b81516001600160a01b03811681146200064f57600080fd5b9392505050565b600082198211156200066c576200066c6200068f565b500190565b60006000198214156200068857620006886200068f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61151180620006cb6000396000f3fe60806040526004361061012e5760003560e01c806397492c46116100ab578063ce7c2ac21161006f578063ce7c2ac21461039c578063d153c725146103d2578063d79779b2146103f2578063e33b7de314610428578063f2fde38b1461043d578063fc588c041461045d57600080fd5b806397492c46146102f35780639852595c14610313578063a0712d6814610349578063a3f8eace1461035c578063c45ac0501461037c57600080fd5b806367243482116100f25780636724348214610248578063715018a6146102685780638b83209b1461027d5780638da5cb5b146102b557806391b7f5ed146102d357600080fd5b806316c38b3c1461017c578063191655871461019e5780633a98ef39146101be578063406072a9146101e257806348b750441461022857600080fd5b36610177577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561018857600080fd5b5061019c610197366004611185565b61047d565b005b3480156101aa57600080fd5b5061019c6101b936600461109f565b610498565b3480156101ca57600080fd5b506001545b6040519081526020015b60405180910390f35b3480156101ee57600080fd5b506101cf6101fd3660046111bf565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561023457600080fd5b5061019c6102433660046111bf565b610597565b34801561025457600080fd5b5061019c6102633660046110bc565b6106b7565b34801561027457600080fd5b5061019c610727565b34801561028957600080fd5b5061029d6102983660046111f8565b61073b565b6040516001600160a01b0390911681526020016101d9565b3480156102c157600080fd5b506000546001600160a01b031661029d565b3480156102df57600080fd5b5061019c6102ee3660046111f8565b61076b565b3480156102ff57600080fd5b5061019c61030e36600461109f565b610778565b34801561031f57600080fd5b506101cf61032e36600461109f565b6001600160a01b031660009081526004602052604090205490565b61019c6103573660046111f8565b6107a2565b34801561036857600080fd5b506101cf61037736600461109f565b6109dd565b34801561038857600080fd5b506101cf6103973660046111bf565b610a25565b3480156103a857600080fd5b506101cf6103b736600461109f565b6001600160a01b031660009081526003602052604090205490565b3480156103de57600080fd5b5061019c6103ed36600461109f565b610aff565b3480156103fe57600080fd5b506101cf61040d36600461109f565b6001600160a01b031660009081526006602052604090205490565b34801561043457600080fd5b506002546101cf565b34801561044957600080fd5b5061019c61045836600461109f565b610b69565b34801561046957600080fd5b5061019c6104783660046111f8565b610be2565b610485610bef565b600d805460ff1916911515919091179055565b6001600160a01b0381166000908152600360205260409020546104d65760405162461bcd60e51b81526004016104cd906112f0565b60405180910390fd5b60006104e1826109dd565b9050806105005760405162461bcd60e51b81526004016104cd90611336565b6001600160a01b038216600090815260046020526040812080548392906105289084906113d6565b92505081905550806002600082825461054191906113d6565b9091555061055190508282610c49565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6001600160a01b0381166000908152600360205260409020546105cc5760405162461bcd60e51b81526004016104cd906112f0565b60006105d88383610a25565b9050806105f75760405162461bcd60e51b81526004016104cd90611336565b6001600160a01b0380841660009081526007602090815260408083209386168352929052908120805483929061062e9084906113d6565b90915550506001600160a01b0383166000908152600660205260408120805483929061065b9084906113d6565b9091555061066c9050838383610d67565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6106bf610bef565b600854604051632446548f60e01b81526001600160a01b0390911690632446548f906106f19085908590600401611246565b600060405180830381600087803b15801561070b57600080fd5b505af115801561071f573d6000803e3d6000fd5b505050505050565b61072f610bef565b6107396000610db9565b565b6000600582815481106107505761075061148c565b6000918252602090912001546001600160a01b031692915050565b610773610bef565b600b55565b610780610bef565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600d5460ff16156107e35760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b60448201526064016104cd565b6000811161082b5760405162461bcd60e51b8152602060048201526015602482015274135a5b9d08105b5bdd5b9d08125b98dbdc9c9958dd605a1b60448201526064016104cd565b80600b546108399190611410565b3410156108885760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207061796d656e7420616d6f756e74210000000000000060448201526064016104cd565b600c546108969060016113d6565b81106108dc5760405162461bcd60e51b8152602060048201526015602482015274135a5b9d08105b5bdd5b9d08125b98dbdc9c9958dd605a1b60448201526064016104cd565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033826000815181106109355761093561148c565b60200260200101906001600160a01b031690816001600160a01b03168152505082816000815181106109695761096961148c565b6020908102919091010152600854604051632446548f60e01b81526001600160a01b0390911690632446548f906109a69085908590600401611246565b600060405180830381600087803b1580156109c057600080fd5b505af11580156109d4573d6000803e3d6000fd5b50505050505050565b6000806109e960025490565b6109f390476113d6565b9050610a1e8382610a19866001600160a01b031660009081526004602052604090205490565b610e09565b9392505050565b6001600160a01b03821660009081526006602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a082319060240160206040518083038186803b158015610a7f57600080fd5b505afa158015610a93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab79190611211565b610ac191906113d6565b6001600160a01b03808616600090815260076020908152604080832093881683529290522054909150610af79084908390610e09565b949350505050565b610b07610bef565b60085460405163f2fde38b60e01b81526001600160a01b0383811660048301529091169063f2fde38b90602401600060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b5050505050565b610b71610bef565b6001600160a01b038116610bd65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104cd565b610bdf81610db9565b50565b610bea610bef565b600c55565b6000546001600160a01b031633146107395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104cd565b80471015610c995760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016104cd565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ce6576040519150601f19603f3d011682016040523d82523d6000602084013e610ceb565b606091505b5050905080610d625760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016104cd565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d62908490610e47565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546001600160a01b03841660009081526003602052604081205490918391610e339086611410565b610e3d91906113ee565b610af7919061142f565b6000610e9c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f199092919063ffffffff16565b805190915015610d625780806020019051810190610eba91906111a2565b610d625760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104cd565b6060610af78484600085856001600160a01b0385163b610f7b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104cd565b600080866001600160a01b03168587604051610f97919061122a565b60006040518083038185875af1925050503d8060008114610fd4576040519150601f19603f3d011682016040523d82523d6000602084013e610fd9565b606091505b5091509150610fe9828286610ff4565b979650505050505050565b60608315611003575081610a1e565b8251156110135782518084602001fd5b8160405162461bcd60e51b81526004016104cd91906112bd565b600082601f83011261103e57600080fd5b8135602061105361104e836113b2565b611381565b80838252828201915082860187848660051b890101111561107357600080fd5b60005b8581101561109257813584529284019290840190600101611076565b5090979650505050505050565b6000602082840312156110b157600080fd5b8135610a1e816114b8565b600080604083850312156110cf57600080fd5b823567ffffffffffffffff808211156110e757600080fd5b818501915085601f8301126110fb57600080fd5b8135602061110b61104e836113b2565b8083825282820191508286018a848660051b890101111561112b57600080fd5b600096505b84871015611157578035611143816114b8565b835260019690960195918301918301611130565b509650508601359250508082111561116e57600080fd5b5061117b8582860161102d565b9150509250929050565b60006020828403121561119757600080fd5b8135610a1e816114cd565b6000602082840312156111b457600080fd5b8151610a1e816114cd565b600080604083850312156111d257600080fd5b82356111dd816114b8565b915060208301356111ed816114b8565b809150509250929050565b60006020828403121561120a57600080fd5b5035919050565b60006020828403121561122357600080fd5b5051919050565b6000825161123c818460208701611446565b9190910192915050565b604080825283519082018190526000906020906060840190828701845b828110156112885781516001600160a01b031684529284019290840190600101611263565b5050508381038285015284518082528583019183019060005b81811015611092578351835292840192918401916001016112a1565b60208152600082518060208401526112dc816040850160208701611446565b601f01601f19169190910160400192915050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156113aa576113aa6114a2565b604052919050565b600067ffffffffffffffff8211156113cc576113cc6114a2565b5060051b60200190565b600082198211156113e9576113e9611476565b500190565b60008261140b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561142a5761142a611476565b500290565b60008282101561144157611441611476565b500390565b60005b83811015611461578181015183820152602001611449565b83811115611470576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610bdf57600080fd5b8015158114610bdf57600080fdfea264697066735822122094e8c1daab93b9c2eaa3d41b10889b0115c81b8e472747cef99cced2b7dfc0d764736f6c63430008070033000000000000000000000000d433f1601574b2288c32e60ccd2423384fcfd699
Deployed Bytecode
0x60806040526004361061012e5760003560e01c806397492c46116100ab578063ce7c2ac21161006f578063ce7c2ac21461039c578063d153c725146103d2578063d79779b2146103f2578063e33b7de314610428578063f2fde38b1461043d578063fc588c041461045d57600080fd5b806397492c46146102f35780639852595c14610313578063a0712d6814610349578063a3f8eace1461035c578063c45ac0501461037c57600080fd5b806367243482116100f25780636724348214610248578063715018a6146102685780638b83209b1461027d5780638da5cb5b146102b557806391b7f5ed146102d357600080fd5b806316c38b3c1461017c578063191655871461019e5780633a98ef39146101be578063406072a9146101e257806348b750441461022857600080fd5b36610177577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561018857600080fd5b5061019c610197366004611185565b61047d565b005b3480156101aa57600080fd5b5061019c6101b936600461109f565b610498565b3480156101ca57600080fd5b506001545b6040519081526020015b60405180910390f35b3480156101ee57600080fd5b506101cf6101fd3660046111bf565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561023457600080fd5b5061019c6102433660046111bf565b610597565b34801561025457600080fd5b5061019c6102633660046110bc565b6106b7565b34801561027457600080fd5b5061019c610727565b34801561028957600080fd5b5061029d6102983660046111f8565b61073b565b6040516001600160a01b0390911681526020016101d9565b3480156102c157600080fd5b506000546001600160a01b031661029d565b3480156102df57600080fd5b5061019c6102ee3660046111f8565b61076b565b3480156102ff57600080fd5b5061019c61030e36600461109f565b610778565b34801561031f57600080fd5b506101cf61032e36600461109f565b6001600160a01b031660009081526004602052604090205490565b61019c6103573660046111f8565b6107a2565b34801561036857600080fd5b506101cf61037736600461109f565b6109dd565b34801561038857600080fd5b506101cf6103973660046111bf565b610a25565b3480156103a857600080fd5b506101cf6103b736600461109f565b6001600160a01b031660009081526003602052604090205490565b3480156103de57600080fd5b5061019c6103ed36600461109f565b610aff565b3480156103fe57600080fd5b506101cf61040d36600461109f565b6001600160a01b031660009081526006602052604090205490565b34801561043457600080fd5b506002546101cf565b34801561044957600080fd5b5061019c61045836600461109f565b610b69565b34801561046957600080fd5b5061019c6104783660046111f8565b610be2565b610485610bef565b600d805460ff1916911515919091179055565b6001600160a01b0381166000908152600360205260409020546104d65760405162461bcd60e51b81526004016104cd906112f0565b60405180910390fd5b60006104e1826109dd565b9050806105005760405162461bcd60e51b81526004016104cd90611336565b6001600160a01b038216600090815260046020526040812080548392906105289084906113d6565b92505081905550806002600082825461054191906113d6565b9091555061055190508282610c49565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6001600160a01b0381166000908152600360205260409020546105cc5760405162461bcd60e51b81526004016104cd906112f0565b60006105d88383610a25565b9050806105f75760405162461bcd60e51b81526004016104cd90611336565b6001600160a01b0380841660009081526007602090815260408083209386168352929052908120805483929061062e9084906113d6565b90915550506001600160a01b0383166000908152600660205260408120805483929061065b9084906113d6565b9091555061066c9050838383610d67565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6106bf610bef565b600854604051632446548f60e01b81526001600160a01b0390911690632446548f906106f19085908590600401611246565b600060405180830381600087803b15801561070b57600080fd5b505af115801561071f573d6000803e3d6000fd5b505050505050565b61072f610bef565b6107396000610db9565b565b6000600582815481106107505761075061148c565b6000918252602090912001546001600160a01b031692915050565b610773610bef565b600b55565b610780610bef565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600d5460ff16156107e35760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b60448201526064016104cd565b6000811161082b5760405162461bcd60e51b8152602060048201526015602482015274135a5b9d08105b5bdd5b9d08125b98dbdc9c9958dd605a1b60448201526064016104cd565b80600b546108399190611410565b3410156108885760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374207061796d656e7420616d6f756e74210000000000000060448201526064016104cd565b600c546108969060016113d6565b81106108dc5760405162461bcd60e51b8152602060048201526015602482015274135a5b9d08105b5bdd5b9d08125b98dbdc9c9958dd605a1b60448201526064016104cd565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033826000815181106109355761093561148c565b60200260200101906001600160a01b031690816001600160a01b03168152505082816000815181106109695761096961148c565b6020908102919091010152600854604051632446548f60e01b81526001600160a01b0390911690632446548f906109a69085908590600401611246565b600060405180830381600087803b1580156109c057600080fd5b505af11580156109d4573d6000803e3d6000fd5b50505050505050565b6000806109e960025490565b6109f390476113d6565b9050610a1e8382610a19866001600160a01b031660009081526004602052604090205490565b610e09565b9392505050565b6001600160a01b03821660009081526006602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a082319060240160206040518083038186803b158015610a7f57600080fd5b505afa158015610a93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab79190611211565b610ac191906113d6565b6001600160a01b03808616600090815260076020908152604080832093881683529290522054909150610af79084908390610e09565b949350505050565b610b07610bef565b60085460405163f2fde38b60e01b81526001600160a01b0383811660048301529091169063f2fde38b90602401600060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b5050505050565b610b71610bef565b6001600160a01b038116610bd65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104cd565b610bdf81610db9565b50565b610bea610bef565b600c55565b6000546001600160a01b031633146107395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104cd565b80471015610c995760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016104cd565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ce6576040519150601f19603f3d011682016040523d82523d6000602084013e610ceb565b606091505b5050905080610d625760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016104cd565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d62908490610e47565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546001600160a01b03841660009081526003602052604081205490918391610e339086611410565b610e3d91906113ee565b610af7919061142f565b6000610e9c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f199092919063ffffffff16565b805190915015610d625780806020019051810190610eba91906111a2565b610d625760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104cd565b6060610af78484600085856001600160a01b0385163b610f7b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104cd565b600080866001600160a01b03168587604051610f97919061122a565b60006040518083038185875af1925050503d8060008114610fd4576040519150601f19603f3d011682016040523d82523d6000602084013e610fd9565b606091505b5091509150610fe9828286610ff4565b979650505050505050565b60608315611003575081610a1e565b8251156110135782518084602001fd5b8160405162461bcd60e51b81526004016104cd91906112bd565b600082601f83011261103e57600080fd5b8135602061105361104e836113b2565b611381565b80838252828201915082860187848660051b890101111561107357600080fd5b60005b8581101561109257813584529284019290840190600101611076565b5090979650505050505050565b6000602082840312156110b157600080fd5b8135610a1e816114b8565b600080604083850312156110cf57600080fd5b823567ffffffffffffffff808211156110e757600080fd5b818501915085601f8301126110fb57600080fd5b8135602061110b61104e836113b2565b8083825282820191508286018a848660051b890101111561112b57600080fd5b600096505b84871015611157578035611143816114b8565b835260019690960195918301918301611130565b509650508601359250508082111561116e57600080fd5b5061117b8582860161102d565b9150509250929050565b60006020828403121561119757600080fd5b8135610a1e816114cd565b6000602082840312156111b457600080fd5b8151610a1e816114cd565b600080604083850312156111d257600080fd5b82356111dd816114b8565b915060208301356111ed816114b8565b809150509250929050565b60006020828403121561120a57600080fd5b5035919050565b60006020828403121561122357600080fd5b5051919050565b6000825161123c818460208701611446565b9190910192915050565b604080825283519082018190526000906020906060840190828701845b828110156112885781516001600160a01b031684529284019290840190600101611263565b5050508381038285015284518082528583019183019060005b81811015611092578351835292840192918401916001016112a1565b60208152600082518060208401526112dc816040850160208701611446565b601f01601f19169190910160400192915050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156113aa576113aa6114a2565b604052919050565b600067ffffffffffffffff8211156113cc576113cc6114a2565b5060051b60200190565b600082198211156113e9576113e9611476565b500190565b60008261140b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561142a5761142a611476565b500290565b60008282101561144157611441611476565b500390565b60005b83811015611461578181015183820152602001611449565b83811115611470576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610bdf57600080fd5b8015158114610bdf57600080fdfea264697066735822122094e8c1daab93b9c2eaa3d41b10889b0115c81b8e472747cef99cced2b7dfc0d764736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d433f1601574b2288c32e60ccd2423384fcfd699
-----Decoded View---------------
Arg [0] : LegendXInterface (address): 0xd433F1601574B2288c32E60cCD2423384fCFd699
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d433f1601574b2288c32e60ccd2423384fcfd699
Deployed Bytecode Sourcemap
41695:1868:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34052:40;30553:10;34052:40;;;-1:-1:-1;;;;;5144:32:1;;;5126:51;;34082:9:0;5208:2:1;5193:18;;5186:34;5099:18;34052:40:0;;;;;;;41695:1868;;;;;43375:87;;;;;;;;;;-1:-1:-1;43375:87:0;;;;;:::i;:::-;;:::i;:::-;;36573:453;;;;;;;;;;-1:-1:-1;36573:453:0;;;;;:::i;:::-;;:::i;34183:91::-;;;;;;;;;;-1:-1:-1;34254:12:0;;34183:91;;;11819:25:1;;;11807:2;11792:18;34183:91:0;;;;;;;;35312:135;;;;;;;;;;-1:-1:-1;35312:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;35409:21:0;;;35382:7;35409:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;35312:135;37294:514;;;;;;;;;;-1:-1:-1;37294:514:0;;;;;:::i;:::-;;:::i;42873:146::-;;;;;;;;;;-1:-1:-1;42873:146:0;;;;;:::i;:::-;;:::i;40789:103::-;;;;;;;;;;;;;:::i;35538:100::-;;;;;;;;;;-1:-1:-1;35538:100:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4900:32:1;;;4882:51;;4870:2;4855:18;35538:100:0;4736:203:1;40141:87:0;;;;;;;;;;-1:-1:-1;40187:7:0;40214:6;-1:-1:-1;;;;;40214:6:0;40141:87;;43277:90;;;;;;;;;;-1:-1:-1;43277:90:0;;;;;:::i;:::-;;:::i;43156:113::-;;;;;;;;;;-1:-1:-1;43156:113:0;;;;;:::i;:::-;;:::i;35034:109::-;;;;;;;;;;-1:-1:-1;35034:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;35117:18:0;35090:7;35117:18;;;:9;:18;;;;;;;35034:109;42344:521;;;;;;:::i;:::-;;:::i;35728:225::-;;;;;;;;;;-1:-1:-1;35728:225:0;;;;;:::i;:::-;;:::i;36113:260::-;;;;;;;;;;-1:-1:-1;36113:260:0;;;;;:::i;:::-;;:::i;34830:105::-;;;;;;;;;;-1:-1:-1;34830:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;34911:16:0;34884:7;34911:16;;;:7;:16;;;;;;;34830:105;43027:121;;;;;;;;;;-1:-1:-1;43027:121:0;;;;;:::i;:::-;;:::i;34620:119::-;;;;;;;;;;-1:-1:-1;34620:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;34705:26:0;34678:7;34705:26;;;:19;:26;;;;;;;34620:119;34368:95;;;;;;;;;;-1:-1:-1;34441:14:0;;34368:95;;41047:201;;;;;;;;;;-1:-1:-1;41047:201:0;;;;;:::i;:::-;;:::i;43470:90::-;;;;;;;;;;-1:-1:-1;43470:90:0;;;;;:::i;:::-;;:::i;43375:87::-;40027:13;:11;:13::i;:::-;43438:6:::1;:16:::0;;-1:-1:-1;;43438:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;43375:87::o;36573:453::-;-1:-1:-1;;;;;36649:16:0;;36668:1;36649:16;;;:7;:16;;;;;;36641:71;;;;-1:-1:-1;;;36641:71:0;;;;;;;:::i;:::-;;;;;;;;;36725:15;36743:19;36754:7;36743:10;:19::i;:::-;36725:37;-1:-1:-1;36783:12:0;36775:68;;;;-1:-1:-1;;;36775:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36856:18:0;;;;;;:9;:18;;;;;:29;;36878:7;;36856:18;:29;;36878:7;;36856:29;:::i;:::-;;;;;;;;36914:7;36896:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;36934:35:0;;-1:-1:-1;36952:7:0;36961;36934:17;:35::i;:::-;36985:33;;;-1:-1:-1;;;;;5144:32:1;;5126:51;;5208:2;5193:18;;5186:34;;;36985:33:0;;5099:18:1;36985:33:0;;;;;;;36630:396;36573:453;:::o;37294:514::-;-1:-1:-1;;;;;37376:16:0;;37395:1;37376:16;;;:7;:16;;;;;;37368:71;;;;-1:-1:-1;;;37368:71:0;;;;;;;:::i;:::-;37452:15;37470:26;37481:5;37488:7;37470:10;:26::i;:::-;37452:44;-1:-1:-1;37517:12:0;37509:68;;;;-1:-1:-1;;;37509:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;37590:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;37624:7;;37590:21;:41;;37624:7;;37590:41;:::i;:::-;;;;-1:-1:-1;;;;;;;37642:26:0;;;;;;:19;:26;;;;;:37;;37672:7;;37642:26;:37;;37672:7;;37642:37;:::i;:::-;;;;-1:-1:-1;37692:47:0;;-1:-1:-1;37715:5:0;37722:7;37731;37692:22;:47::i;:::-;37755:45;;;-1:-1:-1;;;;;5144:32:1;;;5126:51;;5208:2;5193:18;;5186:34;;;37755:45:0;;;;;5099:18:1;37755:45:0;;;;;;;37357:451;37294:514;;:::o;42873:146::-;40027:13;:11;:13::i;:::-;42975:7:::1;::::0;:36:::1;::::0;-1:-1:-1;;;42975:36:0;;-1:-1:-1;;;;;42975:7:0;;::::1;::::0;:15:::1;::::0;:36:::1;::::0;42991:9;;43002:8;;42975:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;42873:146:::0;;:::o;40789:103::-;40027:13;:11;:13::i;:::-;40854:30:::1;40881:1;40854:18;:30::i;:::-;40789:103::o:0;35538:100::-;35589:7;35616;35624:5;35616:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;35616:14:0;;35538:100;-1:-1:-1;;35538:100:0:o;43277:90::-;40027:13;:11;:13::i;:::-;43343:5:::1;:16:::0;43277:90::o;43156:113::-;40027:13;:11;:13::i;:::-;43235:7:::1;:26:::0;;-1:-1:-1;;;;;;43235:26:0::1;-1:-1:-1::0;;;;;43235:26:0;;;::::1;::::0;;;::::1;::::0;;43156:113::o;42344:521::-;42436:6;;;;42435:7;42427:31;;;;-1:-1:-1;;;42427:31:0;;10055:2:1;42427:31:0;;;10037:21:1;10094:2;10074:18;;;10067:30;-1:-1:-1;;;10113:18:1;;;10106:41;10164:18;;42427:31:0;9853:335:1;42427:31:0;42490:1;42477:10;:14;42469:48;;;;-1:-1:-1;;;42469:48:0;;10395:2:1;42469:48:0;;;10377:21:1;10434:2;10414:18;;;10407:30;-1:-1:-1;;;10453:18:1;;;10446:51;10514:18;;42469:48:0;10193:345:1;42469:48:0;42557:10;42549:5;;:18;;;;:::i;:::-;42536:9;:31;;42528:69;;;;-1:-1:-1;;;42528:69:0;;8097:2:1;42528:69:0;;;8079:21:1;8136:2;8116:18;;;8109:30;8175:27;8155:18;;;8148:55;8220:18;;42528:69:0;7895:349:1;42528:69:0;42629:6;;:10;;42638:1;42629:10;:::i;:::-;42616;:23;42608:57;;;;-1:-1:-1;;;42608:57:0;;10395:2:1;42608:57:0;;;10377:21:1;10434:2;10414:18;;;10407:30;-1:-1:-1;;;10453:18:1;;;10446:51;10514:18;;42608:57:0;10193:345:1;42608:57:0;42702:16;;;42716:1;42702:16;;;;;;;;;42676:23;;42702:16;;;;;;;;;-1:-1:-1;;42745:13:0;;;42756:1;42745:13;;;;;;;;;42676:42;;-1:-1:-1;42720:22:0;;42745:13;-1:-1:-1;42745:13:0;;;;;;;;;;;-1:-1:-1;42745:13:0;42720:38;;42781:10;42769:6;42776:1;42769:9;;;;;;;;:::i;:::-;;;;;;:22;-1:-1:-1;;;;;42769:22:0;;;-1:-1:-1;;;;;42769:22:0;;;;;42804:10;42793:5;42799:1;42793:8;;;;;;;;:::i;:::-;;;;;;;;;;:21;42827:7;;:30;;-1:-1:-1;;;42827:30:0;;-1:-1:-1;;;;;42827:7:0;;;;:15;;:30;;42843:6;;42851:5;;42827:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42416:449;;42344:521;:::o;35728:225::-;35786:7;35806:21;35854:15;34441:14;;;34368:95;35854:15;35830:39;;:21;:39;:::i;:::-;35806:63;;35887:58;35903:7;35912:13;35927:17;35936:7;-1:-1:-1;;;;;35117:18:0;35090:7;35117:18;;;:9;:18;;;;;;;35034:109;35927:17;35887:15;:58::i;:::-;35880:65;35728:225;-1:-1:-1;;;35728:225:0:o;36113:260::-;-1:-1:-1;;;;;34705:26:0;;36185:7;34705:26;;;:19;:26;;;;;;36185:7;;36229:30;;-1:-1:-1;;;36229:30:0;;36253:4;36229:30;;;4882:51:1;-1:-1:-1;;;;;36229:15:0;;;;;4855:18:1;;36229:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;35409:21:0;;;35382:7;35409:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;36205:77;;-1:-1:-1;36300:65:0;;36316:7;;36205:77;;35887:15;:58::i;36300:65::-;36293:72;36113:260;-1:-1:-1;;;;36113:260:0:o;43027:121::-;40027:13;:11;:13::i;:::-;43105:7:::1;::::0;:35:::1;::::0;-1:-1:-1;;;43105:35:0;;-1:-1:-1;;;;;4900:32:1;;;43105:35:0::1;::::0;::::1;4882:51:1::0;43105:7:0;;::::1;::::0;:25:::1;::::0;4855:18:1;;43105:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;43027:121:::0;:::o;41047:201::-;40027:13;:11;:13::i;:::-;-1:-1:-1;;;;;41136:22:0;::::1;41128:73;;;::::0;-1:-1:-1;;;41128:73:0;;7283:2:1;41128:73:0::1;::::0;::::1;7265:21:1::0;7322:2;7302:18;;;7295:30;7361:34;7341:18;;;7334:62;-1:-1:-1;;;7412:18:1;;;7405:36;7458:19;;41128:73:0::1;7081:402:1::0;41128:73:0::1;41212:28;41231:8;41212:18;:28::i;:::-;41047:201:::0;:::o;43470:90::-;40027:13;:11;:13::i;:::-;43536:6:::1;:16:::0;43470:90::o;40306:132::-;40187:7;40214:6;-1:-1:-1;;;;;40214:6:0;30553:10;40370:23;40362:68;;;;-1:-1:-1;;;40362:68:0;;10745:2:1;40362:68:0;;;10727:21:1;;;10764:18;;;10757:30;10823:34;10803:18;;;10796:62;10875:18;;40362:68:0;10543:356:1;13987:317:0;14102:6;14077:21;:31;;14069:73;;;;-1:-1:-1;;;14069:73:0;;8878:2:1;14069:73:0;;;8860:21:1;8917:2;8897:18;;;8890:30;8956:31;8936:18;;;8929:59;9005:18;;14069:73:0;8676:353:1;14069:73:0;14156:12;14174:9;-1:-1:-1;;;;;14174:14:0;14196:6;14174:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14155:52;;;14226:7;14218:78;;;;-1:-1:-1;;;14218:78:0;;8451:2:1;14218:78:0;;;8433:21:1;8490:2;8470:18;;;8463:30;8529:34;8509:18;;;8502:62;8600:28;8580:18;;;8573:56;8646:19;;14218:78:0;8249:422:1;14218:78:0;14058:246;13987:317;;:::o;26004:211::-;26148:58;;;-1:-1:-1;;;;;5144:32:1;;26148:58:0;;;5126:51:1;5193:18;;;;5186:34;;;26148:58:0;;;;;;;;;;5099:18:1;;;;26148:58:0;;;;;;;;-1:-1:-1;;;;;26148:58:0;-1:-1:-1;;;26148:58:0;;;26121:86;;26141:5;;26121:19;:86::i;41408:191::-;41482:16;41501:6;;-1:-1:-1;;;;;41518:17:0;;;-1:-1:-1;;;;;;41518:17:0;;;;;;41551:40;;41501:6;;;;;;;41551:40;;41482:16;41551:40;41471:128;41408:191;:::o;37986:248::-;38196:12;;-1:-1:-1;;;;;38176:16:0;;38132:7;38176:16;;;:7;:16;;;;;;38132:7;;38211:15;;38160:32;;:13;:32;:::i;:::-;38159:49;;;;:::i;:::-;:67;;;;:::i;29071:716::-;29495:23;29521:69;29549:4;29521:69;;;;;;;;;;;;;;;;;29529:5;-1:-1:-1;;;;;29521:27:0;;;:69;;;;;:::i;:::-;29605:17;;29495:95;;-1:-1:-1;29605:21:0;29601:179;;29702:10;29691:30;;;;;;;;;;;;:::i;:::-;29683:85;;;;-1:-1:-1;;;29683:85:0;;11464:2:1;29683:85:0;;;11446:21:1;11503:2;11483:18;;;11476:30;11542:34;11522:18;;;11515:62;-1:-1:-1;;;11593:18:1;;;11586:40;11643:19;;29683:85:0;11262:406:1;15471:229:0;15608:12;15640:52;15662:6;15670:4;15676:1;15679:12;15608;-1:-1:-1;;;;;13021:19:0;;;16878:60;;;;-1:-1:-1;;;16878:60:0;;11106:2:1;16878:60:0;;;11088:21:1;11145:2;11125:18;;;11118:30;11184:31;11164:18;;;11157:59;11233:18;;16878:60:0;10904:353:1;16878:60:0;16952:12;16966:23;16993:6;-1:-1:-1;;;;;16993:11:0;17012:5;17019:4;16993:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16951:73;;;;17042:51;17059:7;17068:10;17080:12;17042:16;:51::i;:::-;17035:58;16591:510;-1:-1:-1;;;;;;;16591:510:0:o;19277:762::-;19427:12;19456:7;19452:580;;;-1:-1:-1;19487:10:0;19480:17;;19452:580;19601:17;;:21;19597:424;;19849:10;19843:17;19910:15;19897:10;19893:2;19889:19;19882:44;19597:424;19992:12;19985:20;;-1:-1:-1;;;19985:20:0;;;;;;;;:::i;14:673:1:-;68:5;121:3;114:4;106:6;102:17;98:27;88:55;;139:1;136;129:12;88:55;175:6;162:20;201:4;225:60;241:43;281:2;241:43;:::i;:::-;225:60;:::i;:::-;307:3;331:2;326:3;319:15;359:2;354:3;350:12;343:19;;394:2;386:6;382:15;446:3;441:2;435;432:1;428:10;420:6;416:23;412:32;409:41;406:61;;;463:1;460;453:12;406:61;485:1;495:163;509:2;506:1;503:9;495:163;;;566:17;;554:30;;604:12;;;;636;;;;527:1;520:9;495:163;;;-1:-1:-1;676:5:1;;14:673;-1:-1:-1;;;;;;;14:673:1:o;692:247::-;751:6;804:2;792:9;783:7;779:23;775:32;772:52;;;820:1;817;810:12;772:52;859:9;846:23;878:31;903:5;878:31;:::i;1204:1226::-;1322:6;1330;1383:2;1371:9;1362:7;1358:23;1354:32;1351:52;;;1399:1;1396;1389:12;1351:52;1439:9;1426:23;1468:18;1509:2;1501:6;1498:14;1495:34;;;1525:1;1522;1515:12;1495:34;1563:6;1552:9;1548:22;1538:32;;1608:7;1601:4;1597:2;1593:13;1589:27;1579:55;;1630:1;1627;1620:12;1579:55;1666:2;1653:16;1688:4;1712:60;1728:43;1768:2;1728:43;:::i;1712:60::-;1794:3;1818:2;1813:3;1806:15;1846:2;1841:3;1837:12;1830:19;;1877:2;1873;1869:11;1925:7;1920:2;1914;1911:1;1907:10;1903:2;1899:19;1895:28;1892:41;1889:61;;;1946:1;1943;1936:12;1889:61;1968:1;1959:10;;1978:238;1992:2;1989:1;1986:9;1978:238;;;2063:3;2050:17;2080:31;2105:5;2080:31;:::i;:::-;2124:18;;2010:1;2003:9;;;;;2162:12;;;;2194;;1978:238;;;-1:-1:-1;2235:5:1;-1:-1:-1;;2278:18:1;;2265:32;;-1:-1:-1;;2309:16:1;;;2306:36;;;2338:1;2335;2328:12;2306:36;;2361:63;2416:7;2405:8;2394:9;2390:24;2361:63;:::i;:::-;2351:73;;;1204:1226;;;;;:::o;2435:241::-;2491:6;2544:2;2532:9;2523:7;2519:23;2515:32;2512:52;;;2560:1;2557;2550:12;2512:52;2599:9;2586:23;2618:28;2640:5;2618:28;:::i;2681:245::-;2748:6;2801:2;2789:9;2780:7;2776:23;2772:32;2769:52;;;2817:1;2814;2807:12;2769:52;2849:9;2843:16;2868:28;2890:5;2868:28;:::i;3198:403::-;3281:6;3289;3342:2;3330:9;3321:7;3317:23;3313:32;3310:52;;;3358:1;3355;3348:12;3310:52;3397:9;3384:23;3416:31;3441:5;3416:31;:::i;:::-;3466:5;-1:-1:-1;3523:2:1;3508:18;;3495:32;3536:33;3495:32;3536:33;:::i;:::-;3588:7;3578:17;;;3198:403;;;;;:::o;3873:180::-;3932:6;3985:2;3973:9;3964:7;3960:23;3956:32;3953:52;;;4001:1;3998;3991:12;3953:52;-1:-1:-1;4024:23:1;;3873:180;-1:-1:-1;3873:180:1:o;4058:184::-;4128:6;4181:2;4169:9;4160:7;4156:23;4152:32;4149:52;;;4197:1;4194;4187:12;4149:52;-1:-1:-1;4220:16:1;;4058:184;-1:-1:-1;4058:184:1:o;4247:274::-;4376:3;4414:6;4408:13;4430:53;4476:6;4471:3;4464:4;4456:6;4452:17;4430:53;:::i;:::-;4499:16;;;;;4247:274;-1:-1:-1;;4247:274:1:o;5510:1178::-;5778:2;5790:21;;;5860:13;;5763:18;;;5882:22;;;5730:4;;5957;;5935:2;5920:18;;;5984:15;;;5730:4;6027:195;6041:6;6038:1;6035:13;6027:195;;;6106:13;;-1:-1:-1;;;;;6102:39:1;6090:52;;6162:12;;;;6197:15;;;;6138:1;6056:9;6027:195;;;-1:-1:-1;;;6258:19:1;;;6238:18;;;6231:47;6328:13;;6350:21;;;6426:15;;;;6389:12;;;6461:1;6471:189;6487:8;6482:3;6479:17;6471:189;;;6556:15;;6542:30;;6633:17;;;;6594:14;;;;6515:1;6506:11;6471:189;;6693:383;6842:2;6831:9;6824:21;6805:4;6874:6;6868:13;6917:6;6912:2;6901:9;6897:18;6890:34;6933:66;6992:6;6987:2;6976:9;6972:18;6967:2;6959:6;6955:15;6933:66;:::i;:::-;7060:2;7039:15;-1:-1:-1;;7035:29:1;7020:45;;;;7067:2;7016:54;;6693:383;-1:-1:-1;;6693:383:1:o;7488:402::-;7690:2;7672:21;;;7729:2;7709:18;;;7702:30;7768:34;7763:2;7748:18;;7741:62;-1:-1:-1;;;7834:2:1;7819:18;;7812:36;7880:3;7865:19;;7488:402::o;9441:407::-;9643:2;9625:21;;;9682:2;9662:18;;;9655:30;9721:34;9716:2;9701:18;;9694:62;-1:-1:-1;;;9787:2:1;9772:18;;9765:41;9838:3;9823:19;;9441:407::o;11855:275::-;11926:2;11920:9;11991:2;11972:13;;-1:-1:-1;;11968:27:1;11956:40;;12026:18;12011:34;;12047:22;;;12008:62;12005:88;;;12073:18;;:::i;:::-;12109:2;12102:22;11855:275;;-1:-1:-1;11855:275:1:o;12135:183::-;12195:4;12228:18;12220:6;12217:30;12214:56;;;12250:18;;:::i;:::-;-1:-1:-1;12295:1:1;12291:14;12307:4;12287:25;;12135:183::o;12323:128::-;12363:3;12394:1;12390:6;12387:1;12384:13;12381:39;;;12400:18;;:::i;:::-;-1:-1:-1;12436:9:1;;12323:128::o;12456:217::-;12496:1;12522;12512:132;;12566:10;12561:3;12557:20;12554:1;12547:31;12601:4;12598:1;12591:15;12629:4;12626:1;12619:15;12512:132;-1:-1:-1;12658:9:1;;12456:217::o;12678:168::-;12718:7;12784:1;12780;12776:6;12772:14;12769:1;12766:21;12761:1;12754:9;12747:17;12743:45;12740:71;;;12791:18;;:::i;:::-;-1:-1:-1;12831:9:1;;12678:168::o;12851:125::-;12891:4;12919:1;12916;12913:8;12910:34;;;12924:18;;:::i;:::-;-1:-1:-1;12961:9:1;;12851:125::o;12981:258::-;13053:1;13063:113;13077:6;13074:1;13071:13;13063:113;;;13153:11;;;13147:18;13134:11;;;13127:39;13099:2;13092:10;13063:113;;;13194:6;13191:1;13188:13;13185:48;;;13229:1;13220:6;13215:3;13211:16;13204:27;13185:48;;12981:258;;;:::o;13244:127::-;13305:10;13300:3;13296:20;13293:1;13286:31;13336:4;13333:1;13326:15;13360:4;13357:1;13350:15;13376:127;13437:10;13432:3;13428:20;13425:1;13418:31;13468:4;13465:1;13458:15;13492:4;13489:1;13482:15;13508:127;13569:10;13564:3;13560:20;13557:1;13550:31;13600:4;13597:1;13590:15;13624:4;13621:1;13614:15;13640:131;-1:-1:-1;;;;;13715:31:1;;13705:42;;13695:70;;13761:1;13758;13751:12;13776:118;13862:5;13855:13;13848:21;13841:5;13838:32;13828:60;;13884:1;13881;13874:12
Swarm Source
ipfs://94e8c1daab93b9c2eaa3d41b10889b0115c81b8e472747cef99cced2b7dfc0d7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,265.06 | 0.1672 | $545.92 |
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.