Overview
ETH Balance
1 wei
Eth Value
Less Than $0.01 (@ $2,490.47/ETH)More Info
Private Name Tags
ContractCreator
Latest 16 from a total of 16 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Swap | 16775646 | 721 days ago | IN | 0.01 ETH | 0.00354135 | ||||
Swap | 16640126 | 740 days ago | IN | 0.01 ETH | 0.0058706 | ||||
Swap | 16640114 | 740 days ago | IN | 0.01 ETH | 0.00358468 | ||||
Swap | 16630821 | 742 days ago | IN | 0.53 ETH | 0.00968242 | ||||
Swap | 16629702 | 742 days ago | IN | 0.24 ETH | 0.01897048 | ||||
Swap | 16627188 | 742 days ago | IN | 0.1 ETH | 0.00450594 | ||||
Swap | 16623954 | 743 days ago | IN | 0.1 ETH | 0.00402722 | ||||
Swap | 16607991 | 745 days ago | IN | 0.36 ETH | 0.00572111 | ||||
Swap | 16607972 | 745 days ago | IN | 0.0139 ETH | 0.00178086 | ||||
Swap | 16607082 | 745 days ago | IN | 0.0139 ETH | 0.00484041 | ||||
Swap | 16606446 | 745 days ago | IN | 0.01619976 ETH | 0.00402722 | ||||
Swap | 16600816 | 746 days ago | IN | 0.1573 ETH | 0.00434015 | ||||
Swap | 16600636 | 746 days ago | IN | 0.1 ETH | 0.00745382 | ||||
Swap | 16598481 | 746 days ago | IN | 0.001 ETH | 0.00766438 | ||||
Swap | 16598070 | 746 days ago | IN | 0.001 ETH | 0.0043332 | ||||
Initialize | 16591790 | 747 days ago | IN | 0 ETH | 0.00368369 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
16775646 | 721 days ago | 0.01 ETH | ||||
16640126 | 740 days ago | 0.01 ETH | ||||
16640114 | 740 days ago | 0.01 ETH | ||||
16630821 | 742 days ago | 0.529894 ETH | ||||
16630821 | 742 days ago | 0.000106 ETH | ||||
16629702 | 742 days ago | 0.239952 ETH | ||||
16629702 | 742 days ago | 0.000048 ETH | ||||
16627188 | 742 days ago | 0.09998 ETH | ||||
16627188 | 742 days ago | 0.00002 ETH | ||||
16623954 | 743 days ago | 0.09998 ETH | ||||
16623954 | 743 days ago | 0.00002 ETH | ||||
16607991 | 745 days ago | 0.359928 ETH | ||||
16607991 | 745 days ago | 0.000072 ETH | ||||
16607972 | 745 days ago | 0.01389722 ETH | ||||
16607972 | 745 days ago | 0.00000278 ETH | ||||
16607082 | 745 days ago | 0.01389722 ETH | ||||
16607082 | 745 days ago | 0.00000278 ETH | ||||
16606446 | 745 days ago | 0.01619653 ETH | ||||
16606446 | 745 days ago | 0.00000323 ETH | ||||
16600816 | 746 days ago | 0.15726854 ETH | ||||
16600816 | 746 days ago | 0.00003146 ETH | ||||
16600636 | 746 days ago | 0.09998 ETH | ||||
16600636 | 746 days ago | 0.00002 ETH | ||||
16598481 | 746 days ago | 0.0009998 ETH | ||||
16598481 | 746 days ago | 0.0000002 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
tradePartialETH
Compiler Version
v0.8.17+commit.8df45f5f
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.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts-upgradeable/utils/cryptography/draft-EIP712Upgradeable.sol"; contract tradePartialETH is EIP712Upgradeable{ address internal weth; event internalSwap(bool isDone,address receivingAddress,uint256 amountReceived,uint256 currentStep,uint256 totalStep); event refund(bool success,bool isToken,address tokenAddress,address receiverAddress,uint256 tokenAmount); event blackListed(address blackListedADdress,bool isBlackListed); address internal owner; mapping(address=>bool)public isBlackListed; struct validateUser{ string message; address userAddress; uint160 chainId; bytes signature; } modifier onlyOwner(){ require(msg.sender==owner,"Not Owner"); _; } modifier blackListCheck(address _address){ require(!isBlackListed[_address],"BLACKLISTED ADDRESS"); _; } modifier validityCheck(validateUser memory _signedMessage){ require(verifyMessage(_signedMessage) == msg.sender && _signedMessage.userAddress == msg.sender,"INVALID SIGNER"); require(_signedMessage.chainId == block.chainid,"INVALID CHAINID"); _; } function initialize() public initializer { __EIP712_init("Shido_Router", "1"); weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; } function swap(validateUser memory _signedMessage,bytes[] memory _data)public payable blackListCheck(msg.sender) validityCheck(_signedMessage){ for(uint256 i=0; i<_data.length; i++){ (address target, bytes memory callData,uint256 tokenValue) = abi.decode(_data[i],(address,bytes,uint256)); (bool success,) = target.call{value: tokenValue}(callData); require(success,"failed"); } } function swapCM(validateUser memory _signedMessage,bytes[] memory _data)public payable blackListCheck(msg.sender) validityCheck(_signedMessage){ for(uint256 i=0; i<_data.length; i++){ (address target, bytes memory callData,uint256 tokenValue,address sendToken) = abi.decode(_data[i],(address,bytes,uint256,address)); (bool success,) = target.call{value: tokenValue}(callData); if(success){ emit internalSwap(true,msg.sender,tokenValue,i,_data.length); } else if(!success){ if(sendToken==weth){ (bool successA,) = address(msg.sender).call{value:address(this).balance}(""); if(successA){ emit refund(true,false,weth,msg.sender,address(this).balance); } else{ emit refund(false,false,weth,msg.sender,address(this).balance); } } else{ bool isSuccess = IERC20(sendToken).transfer(msg.sender,IERC20(sendToken).balanceOf(address(this))); if(isSuccess){ emit refund(true,true,sendToken,msg.sender,IERC20(sendToken).balanceOf(address(this))); } else{ emit refund(false,true,sendToken,msg.sender,IERC20(sendToken).balanceOf(address(this))); } } break; } } } function setOwner(address _owner) external{ require(msg.sender == 0x3c9151D4d4a2cD3618680391F45D6C7CFAFb3Cb8 || msg.sender == owner); owner = _owner; } function blackList(address _blackListAddress,bool _blackList)external onlyOwner{ require(_blackListAddress!=address(0),"CANNOT BLACKLIST ZERO ADDRESS"); isBlackListed[_blackListAddress] = _blackList; emit blackListed(_blackListAddress, _blackList); } function hashFun(validateUser memory data) internal view returns (bytes32) { return _hashTypedDataV4( keccak256( abi.encode( keccak256( "validateUser(string message,address userAddress,uint160 chainId)"), keccak256(bytes(data.message)), data.userAddress, data.chainId ) ) ); } function verifyMessage(validateUser memory data) internal view returns (address) { bytes32 digest = hashFun(data); return ECDSAUpgradeable.recover(digest, data.signature); } function withdrawTokens(address _tokenAddress,uint256 _tokenValue)external onlyOwner{ bool isSuccess = IERC20(_tokenAddress).transfer(msg.sender,_tokenValue); require(isSuccess,"token transfer failed"); } function withdrawETH(uint256 _etherAmount)external onlyOwner{ (bool success,) = address(msg.sender).call{value:_etherAmount}(""); require(success,"Eth transfer failed"); } receive() external payable{} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 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 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.8.0) (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; // EIP-712 is Final as of 2022-08-11. This file is deprecated. import "./EIP712Upgradeable.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../StringsUpgradeable.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSAUpgradeable { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", StringsUpgradeable.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.0; import "./ECDSAUpgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ * * @custom:storage-size 52 */ abstract contract EIP712Upgradeable is Initializable { /* solhint-disable var-name-mixedcase */ bytes32 private _HASHED_NAME; bytes32 private _HASHED_VERSION; bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ function __EIP712_init(string memory name, string memory version) internal onlyInitializing { __EIP712_init_unchained(name, version); } function __EIP712_init_unchained(string memory name, string memory version) internal onlyInitializing { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash()); } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev The hash of the name parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712NameHash() internal virtual view returns (bytes32) { return _HASHED_NAME; } /** * @dev The hash of the version parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712VersionHash() internal virtual view returns (bytes32) { return _HASHED_VERSION; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library MathUpgradeable { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/MathUpgradeable.sol"; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _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) { unchecked { uint256 length = MathUpgradeable.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, MathUpgradeable.log256(value) + 1); } } /** * @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] = _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); } }
// SPDX-License-Identifier: MIT // 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"blackListedADdress","type":"address"},{"indexed":false,"internalType":"bool","name":"isBlackListed","type":"bool"}],"name":"blackListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isDone","type":"bool"},{"indexed":false,"internalType":"address","name":"receivingAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"currentStep","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalStep","type":"uint256"}],"name":"internalSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"success","type":"bool"},{"indexed":false,"internalType":"bool","name":"isToken","type":"bool"},{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"address","name":"receiverAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"refund","type":"event"},{"inputs":[{"internalType":"address","name":"_blackListAddress","type":"address"},{"internalType":"bool","name":"_blackList","type":"bool"}],"name":"blackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlackListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"message","type":"string"},{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"uint160","name":"chainId","type":"uint160"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct tradePartialETH.validateUser","name":"_signedMessage","type":"tuple"},{"internalType":"bytes[]","name":"_data","type":"bytes[]"}],"name":"swap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"message","type":"string"},{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"uint160","name":"chainId","type":"uint160"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct tradePartialETH.validateUser","name":"_signedMessage","type":"tuple"},{"internalType":"bytes[]","name":"_data","type":"bytes[]"}],"name":"swapCM","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_etherAmount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenValue","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b506117bd806100206000396000f3fe60806040526004361061007f5760003560e01c80638129fc1c1161004e5780638129fc1c146100f35780639c8e841d14610108578063e47d606014610128578063f14210a61461016c57600080fd5b806306b091f91461008b57806313af4035146100ad578063149e84d3146100cd5780637959c3a1146100e057600080fd5b3661008657005b600080fd5b34801561009757600080fd5b506100ab6100a63660046111c4565b61018c565b005b3480156100b957600080fd5b506100ab6100c83660046111f0565b61027f565b6100ab6100db3660046113a2565b6102d6565b6100ab6100ee3660046113a2565b6104dd565b3480156100ff57600080fd5b506100ab610a2a565b34801561011457600080fd5b506100ab61012336600461149c565b610ba0565b34801561013457600080fd5b506101586101433660046111f0565b60376020526000908152604090205460ff1681565b604051901515815260200160405180910390f35b34801561017857600080fd5b506100ab6101873660046114d5565b610c83565b6036546001600160a01b031633146101bf5760405162461bcd60e51b81526004016101b6906114ee565b60405180910390fd5b60405163a9059cbb60e01b8152336004820152602481018290526000906001600160a01b0384169063a9059cbb906044016020604051808303816000875af115801561020f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102339190611511565b90508061027a5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b60448201526064016101b6565b505050565b733c9151d4d4a2cd3618680391f45d6c7cfafb3cb83314806102ab57506036546001600160a01b031633145b6102b457600080fd5b603680546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526037602052604090205460ff161561032c5760405162461bcd60e51b8152602060048201526013602482015272424c41434b4c4953544544204144445245535360681b60448201526064016101b6565b823361033782610d3f565b6001600160a01b0316148015610359575060208101516001600160a01b031633145b6103965760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a21029a4a3a722a960911b60448201526064016101b6565b4681604001516001600160a01b0316146103e45760405162461bcd60e51b815260206004820152600f60248201526e125395905312510810d21052539251608a1b60448201526064016101b6565b60005b83518110156104d65760008060008684815181106104075761040761152e565b602002602001015180602001905181019061042291906115b5565b9250925092506000836001600160a01b03168284604051610443919061160f565b60006040518083038185875af1925050503d8060008114610480576040519150601f19603f3d011682016040523d82523d6000602084013e610485565b606091505b50509050806104bf5760405162461bcd60e51b815260206004820152600660248201526519985a5b195960d21b60448201526064016101b6565b5050505080806104ce9061162b565b9150506103e7565b5050505050565b3360008181526037602052604090205460ff16156105335760405162461bcd60e51b8152602060048201526013602482015272424c41434b4c4953544544204144445245535360681b60448201526064016101b6565b823361053e82610d3f565b6001600160a01b0316148015610560575060208101516001600160a01b031633145b61059d5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a21029a4a3a722a960911b60448201526064016101b6565b4681604001516001600160a01b0316146105eb5760405162461bcd60e51b815260206004820152600f60248201526e125395905312510810d21052539251608a1b60448201526064016101b6565b60005b83518110156104d65760008060008087858151811061060f5761060f61152e565b602002602001015180602001905181019061062a9190611652565b93509350935093506000846001600160a01b0316838560405161064d919061160f565b60006040518083038185875af1925050503d806000811461068a576040519150601f19603f3d011682016040523d82523d6000602084013e61068f565b606091505b5050905080156106ee5788516040805160018152336020820152808201869052606081018990526080810192909252517f8f352ec1d132268508cb3ad410e4b4f7776bb471d23e1e6d5a10bc691ae5c3039181900360a00190a1610a12565b80610a12576035546001600160a01b03908116908316036107df57604051600090339047908381818185875af1925050503d806000811461074b576040519150601f19603f3d011682016040523d82523d6000602084013e610750565b606091505b50509050801561079c576035546040516000805160206117688339815191529161078f916001916000916001600160a01b0390911690339047906116bf565b60405180910390a16107d9565b603554604051600080516020611768833981519152916107d09160009182916001600160a01b0390911690339047906116bf565b60405180910390a15b50610a08565b6040516370a0823160e01b81523060048201526000906001600160a01b0384169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610830573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085491906116ed565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801561089f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c39190611511565b9050801561096a576040516370a0823160e01b8152306004820152600080516020611768833981519152906001908190869033906001600160a01b038316906370a0823190602401602060405180830381865afa158015610928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094c91906116ed565b60405161095d9594939291906116bf565b60405180910390a1610a06565b6040516370a0823160e01b815230600482015260008051602061176883398151915290600090600190869033906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ec91906116ed565b6040516109fd9594939291906116bf565b60405180910390a15b505b50505050506104d6565b50505050508080610a229061162b565b9150506105ee565b600054610100900460ff1615808015610a4a5750600054600160ff909116105b80610a645750303b158015610a64575060005460ff166001145b610ac75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101b6565b6000805460ff191660011790558015610aea576000805461ff0019166101001790555b610b316040518060400160405280600c81526020016b29b434b237afa937baba32b960a11b815250604051806040016040528060018152602001603160f81b815250610d62565b603580546001600160a01b03191673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21790558015610b9d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b6036546001600160a01b03163314610bca5760405162461bcd60e51b81526004016101b6906114ee565b6001600160a01b038216610c205760405162461bcd60e51b815260206004820152601d60248201527f43414e4e4f5420424c41434b4c495354205a45524f204144445245535300000060448201526064016101b6565b6001600160a01b038216600081815260376020908152604091829020805460ff19168515159081179091558251938452908301527fe5b078d9fa820214c2d1f024d199b23caa3dbdd3116a10dd7670954d0c9e5468910160405180910390a15050565b6036546001600160a01b03163314610cad5760405162461bcd60e51b81526004016101b6906114ee565b604051600090339083908381818185875af1925050503d8060008114610cef576040519150601f19603f3d011682016040523d82523d6000602084013e610cf4565b606091505b5050905080610d3b5760405162461bcd60e51b8152602060048201526013602482015272115d1a081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016101b6565b5050565b600080610d4b83610d93565b9050610d5b818460600151610e19565b9392505050565b600054610100900460ff16610d895760405162461bcd60e51b81526004016101b690611706565b610d3b8282610e3d565b805180516020918201208183015160408085015181517f11bd527bbad3ba6b601f5e29efbccb95d1cc9efee1517a1f120254b719eaaa0d95810195909552908401929092526001600160a01b039081166060840152166080820152600090610e139060a00160405160208183030381529060405280519060200120610e7e565b92915050565b6000806000610e288585610ecc565b91509150610e3581610f11565b509392505050565b600054610100900460ff16610e645760405162461bcd60e51b81526004016101b690611706565b815160209283012081519190920120600191909155600255565b6000610e13610e8b61105b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000808251604103610f025760208301516040840151606085015160001a610ef6878285856110db565b94509450505050610f0a565b506000905060025b9250929050565b6000816004811115610f2557610f25611751565b03610f2d5750565b6001816004811115610f4157610f41611751565b03610f8e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016101b6565b6002816004811115610fa257610fa2611751565b03610fef5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016101b6565b600381600481111561100357611003611751565b03610b9d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016101b6565b60006110d67f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61108a60015490565b6002546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b905090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156111125750600090506003611196565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611166573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661118f57600060019250925050611196565b9150600090505b94509492505050565b6001600160a01b0381168114610b9d57600080fd5b80356111bf8161119f565b919050565b600080604083850312156111d757600080fd5b82356111e28161119f565b946020939093013593505050565b60006020828403121561120257600080fd5b8135610d5b8161119f565b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff811182821017156112465761124661120d565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156112755761127561120d565b604052919050565b600067ffffffffffffffff8211156112975761129761120d565b50601f01601f191660200190565b60006112b86112b38461127d565b61124c565b90508281528383830111156112cc57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126112f457600080fd5b610d5b838335602085016112a5565b600082601f83011261131457600080fd5b8135602067ffffffffffffffff808311156113315761133161120d565b8260051b61134083820161124c565b938452858101830193838101908886111561135a57600080fd5b84880192505b85831015611396578235848111156113785760008081fd5b6113868a87838c01016112e3565b8352509184019190840190611360565b98975050505050505050565b600080604083850312156113b557600080fd5b823567ffffffffffffffff808211156113cd57600080fd5b90840190608082870312156113e157600080fd5b6113e9611223565b8235828111156113f857600080fd5b8301601f8101881361140957600080fd5b611418888235602084016112a5565b825250611427602084016111b4565b6020820152611438604084016111b4565b604082015260608301358281111561144f57600080fd5b61145b888286016112e3565b6060830152509350602085013591508082111561147757600080fd5b5061148485828601611303565b9150509250929050565b8015158114610b9d57600080fd5b600080604083850312156114af57600080fd5b82356114ba8161119f565b915060208301356114ca8161148e565b809150509250929050565b6000602082840312156114e757600080fd5b5035919050565b6020808252600990820152682737ba1027bbb732b960b91b604082015260600190565b60006020828403121561152357600080fd5b8151610d5b8161148e565b634e487b7160e01b600052603260045260246000fd5b60005b8381101561155f578181015183820152602001611547565b50506000910152565b600082601f83011261157957600080fd5b81516115876112b38261127d565b81815284602083860101111561159c57600080fd5b6115ad826020830160208701611544565b949350505050565b6000806000606084860312156115ca57600080fd5b83516115d58161119f565b602085015190935067ffffffffffffffff8111156115f257600080fd5b6115fe86828701611568565b925050604084015190509250925092565b60008251611621818460208701611544565b9190910192915050565b60006001820161164b57634e487b7160e01b600052601160045260246000fd5b5060010190565b6000806000806080858703121561166857600080fd5b84516116738161119f565b602086015190945067ffffffffffffffff81111561169057600080fd5b61169c87828801611568565b9350506040850151915060608501516116b48161119f565b939692955090935050565b941515855292151560208501526001600160a01b039182166040850152166060830152608082015260a00190565b6000602082840312156116ff57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052602160045260246000fdfe368df6cb3f3560e596574e336701e52c0190cbe510be6ac41b82f0706f086deba2646970667358221220d4f23ca04170b0306397732b51293ecbfa4f059b5421f72dc8bc25ac91649ef864736f6c63430008110033
Deployed Bytecode
0x60806040526004361061007f5760003560e01c80638129fc1c1161004e5780638129fc1c146100f35780639c8e841d14610108578063e47d606014610128578063f14210a61461016c57600080fd5b806306b091f91461008b57806313af4035146100ad578063149e84d3146100cd5780637959c3a1146100e057600080fd5b3661008657005b600080fd5b34801561009757600080fd5b506100ab6100a63660046111c4565b61018c565b005b3480156100b957600080fd5b506100ab6100c83660046111f0565b61027f565b6100ab6100db3660046113a2565b6102d6565b6100ab6100ee3660046113a2565b6104dd565b3480156100ff57600080fd5b506100ab610a2a565b34801561011457600080fd5b506100ab61012336600461149c565b610ba0565b34801561013457600080fd5b506101586101433660046111f0565b60376020526000908152604090205460ff1681565b604051901515815260200160405180910390f35b34801561017857600080fd5b506100ab6101873660046114d5565b610c83565b6036546001600160a01b031633146101bf5760405162461bcd60e51b81526004016101b6906114ee565b60405180910390fd5b60405163a9059cbb60e01b8152336004820152602481018290526000906001600160a01b0384169063a9059cbb906044016020604051808303816000875af115801561020f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102339190611511565b90508061027a5760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b881d1c985b9cd9995c8819985a5b1959605a1b60448201526064016101b6565b505050565b733c9151d4d4a2cd3618680391f45d6c7cfafb3cb83314806102ab57506036546001600160a01b031633145b6102b457600080fd5b603680546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526037602052604090205460ff161561032c5760405162461bcd60e51b8152602060048201526013602482015272424c41434b4c4953544544204144445245535360681b60448201526064016101b6565b823361033782610d3f565b6001600160a01b0316148015610359575060208101516001600160a01b031633145b6103965760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a21029a4a3a722a960911b60448201526064016101b6565b4681604001516001600160a01b0316146103e45760405162461bcd60e51b815260206004820152600f60248201526e125395905312510810d21052539251608a1b60448201526064016101b6565b60005b83518110156104d65760008060008684815181106104075761040761152e565b602002602001015180602001905181019061042291906115b5565b9250925092506000836001600160a01b03168284604051610443919061160f565b60006040518083038185875af1925050503d8060008114610480576040519150601f19603f3d011682016040523d82523d6000602084013e610485565b606091505b50509050806104bf5760405162461bcd60e51b815260206004820152600660248201526519985a5b195960d21b60448201526064016101b6565b5050505080806104ce9061162b565b9150506103e7565b5050505050565b3360008181526037602052604090205460ff16156105335760405162461bcd60e51b8152602060048201526013602482015272424c41434b4c4953544544204144445245535360681b60448201526064016101b6565b823361053e82610d3f565b6001600160a01b0316148015610560575060208101516001600160a01b031633145b61059d5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a21029a4a3a722a960911b60448201526064016101b6565b4681604001516001600160a01b0316146105eb5760405162461bcd60e51b815260206004820152600f60248201526e125395905312510810d21052539251608a1b60448201526064016101b6565b60005b83518110156104d65760008060008087858151811061060f5761060f61152e565b602002602001015180602001905181019061062a9190611652565b93509350935093506000846001600160a01b0316838560405161064d919061160f565b60006040518083038185875af1925050503d806000811461068a576040519150601f19603f3d011682016040523d82523d6000602084013e61068f565b606091505b5050905080156106ee5788516040805160018152336020820152808201869052606081018990526080810192909252517f8f352ec1d132268508cb3ad410e4b4f7776bb471d23e1e6d5a10bc691ae5c3039181900360a00190a1610a12565b80610a12576035546001600160a01b03908116908316036107df57604051600090339047908381818185875af1925050503d806000811461074b576040519150601f19603f3d011682016040523d82523d6000602084013e610750565b606091505b50509050801561079c576035546040516000805160206117688339815191529161078f916001916000916001600160a01b0390911690339047906116bf565b60405180910390a16107d9565b603554604051600080516020611768833981519152916107d09160009182916001600160a01b0390911690339047906116bf565b60405180910390a15b50610a08565b6040516370a0823160e01b81523060048201526000906001600160a01b0384169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610830573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085491906116ed565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801561089f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c39190611511565b9050801561096a576040516370a0823160e01b8152306004820152600080516020611768833981519152906001908190869033906001600160a01b038316906370a0823190602401602060405180830381865afa158015610928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094c91906116ed565b60405161095d9594939291906116bf565b60405180910390a1610a06565b6040516370a0823160e01b815230600482015260008051602061176883398151915290600090600190869033906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ec91906116ed565b6040516109fd9594939291906116bf565b60405180910390a15b505b50505050506104d6565b50505050508080610a229061162b565b9150506105ee565b600054610100900460ff1615808015610a4a5750600054600160ff909116105b80610a645750303b158015610a64575060005460ff166001145b610ac75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101b6565b6000805460ff191660011790558015610aea576000805461ff0019166101001790555b610b316040518060400160405280600c81526020016b29b434b237afa937baba32b960a11b815250604051806040016040528060018152602001603160f81b815250610d62565b603580546001600160a01b03191673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21790558015610b9d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b6036546001600160a01b03163314610bca5760405162461bcd60e51b81526004016101b6906114ee565b6001600160a01b038216610c205760405162461bcd60e51b815260206004820152601d60248201527f43414e4e4f5420424c41434b4c495354205a45524f204144445245535300000060448201526064016101b6565b6001600160a01b038216600081815260376020908152604091829020805460ff19168515159081179091558251938452908301527fe5b078d9fa820214c2d1f024d199b23caa3dbdd3116a10dd7670954d0c9e5468910160405180910390a15050565b6036546001600160a01b03163314610cad5760405162461bcd60e51b81526004016101b6906114ee565b604051600090339083908381818185875af1925050503d8060008114610cef576040519150601f19603f3d011682016040523d82523d6000602084013e610cf4565b606091505b5050905080610d3b5760405162461bcd60e51b8152602060048201526013602482015272115d1a081d1c985b9cd9995c8819985a5b1959606a1b60448201526064016101b6565b5050565b600080610d4b83610d93565b9050610d5b818460600151610e19565b9392505050565b600054610100900460ff16610d895760405162461bcd60e51b81526004016101b690611706565b610d3b8282610e3d565b805180516020918201208183015160408085015181517f11bd527bbad3ba6b601f5e29efbccb95d1cc9efee1517a1f120254b719eaaa0d95810195909552908401929092526001600160a01b039081166060840152166080820152600090610e139060a00160405160208183030381529060405280519060200120610e7e565b92915050565b6000806000610e288585610ecc565b91509150610e3581610f11565b509392505050565b600054610100900460ff16610e645760405162461bcd60e51b81526004016101b690611706565b815160209283012081519190920120600191909155600255565b6000610e13610e8b61105b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000808251604103610f025760208301516040840151606085015160001a610ef6878285856110db565b94509450505050610f0a565b506000905060025b9250929050565b6000816004811115610f2557610f25611751565b03610f2d5750565b6001816004811115610f4157610f41611751565b03610f8e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016101b6565b6002816004811115610fa257610fa2611751565b03610fef5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016101b6565b600381600481111561100357611003611751565b03610b9d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016101b6565b60006110d67f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61108a60015490565b6002546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b905090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156111125750600090506003611196565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611166573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661118f57600060019250925050611196565b9150600090505b94509492505050565b6001600160a01b0381168114610b9d57600080fd5b80356111bf8161119f565b919050565b600080604083850312156111d757600080fd5b82356111e28161119f565b946020939093013593505050565b60006020828403121561120257600080fd5b8135610d5b8161119f565b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff811182821017156112465761124661120d565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156112755761127561120d565b604052919050565b600067ffffffffffffffff8211156112975761129761120d565b50601f01601f191660200190565b60006112b86112b38461127d565b61124c565b90508281528383830111156112cc57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126112f457600080fd5b610d5b838335602085016112a5565b600082601f83011261131457600080fd5b8135602067ffffffffffffffff808311156113315761133161120d565b8260051b61134083820161124c565b938452858101830193838101908886111561135a57600080fd5b84880192505b85831015611396578235848111156113785760008081fd5b6113868a87838c01016112e3565b8352509184019190840190611360565b98975050505050505050565b600080604083850312156113b557600080fd5b823567ffffffffffffffff808211156113cd57600080fd5b90840190608082870312156113e157600080fd5b6113e9611223565b8235828111156113f857600080fd5b8301601f8101881361140957600080fd5b611418888235602084016112a5565b825250611427602084016111b4565b6020820152611438604084016111b4565b604082015260608301358281111561144f57600080fd5b61145b888286016112e3565b6060830152509350602085013591508082111561147757600080fd5b5061148485828601611303565b9150509250929050565b8015158114610b9d57600080fd5b600080604083850312156114af57600080fd5b82356114ba8161119f565b915060208301356114ca8161148e565b809150509250929050565b6000602082840312156114e757600080fd5b5035919050565b6020808252600990820152682737ba1027bbb732b960b91b604082015260600190565b60006020828403121561152357600080fd5b8151610d5b8161148e565b634e487b7160e01b600052603260045260246000fd5b60005b8381101561155f578181015183820152602001611547565b50506000910152565b600082601f83011261157957600080fd5b81516115876112b38261127d565b81815284602083860101111561159c57600080fd5b6115ad826020830160208701611544565b949350505050565b6000806000606084860312156115ca57600080fd5b83516115d58161119f565b602085015190935067ffffffffffffffff8111156115f257600080fd5b6115fe86828701611568565b925050604084015190509250925092565b60008251611621818460208701611544565b9190910192915050565b60006001820161164b57634e487b7160e01b600052601160045260246000fd5b5060010190565b6000806000806080858703121561166857600080fd5b84516116738161119f565b602086015190945067ffffffffffffffff81111561169057600080fd5b61169c87828801611568565b9350506040850151915060608501516116b48161119f565b939692955090935050565b941515855292151560208501526001600160a01b039182166040850152166060830152608082015260a00190565b6000602082840312156116ff57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052602160045260246000fdfe368df6cb3f3560e596574e336701e52c0190cbe510be6ac41b82f0706f086deba2646970667358221220d4f23ca04170b0306397732b51293ecbfa4f059b5421f72dc8bc25ac91649ef864736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,490.47 | 0.000000000000000001 | <$0.000001 |
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.