Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
CrossWrapper
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2025-02-12 */ // SPDX-License-Identifier: MIT // File @openzeppelin/contracts/utils/introspection/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/token/ERC1155/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] calldata accounts, uint256[] calldata ids ) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // File @openzeppelin/contracts/token/ERC1155/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/utils/introspection/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/token/ERC1155/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId); } } // File @openzeppelin/contracts/token/ERC1155/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol) pragma solidity ^0.8.0; /** * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens. * * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be * stuck. * * @dev _Available since v3.1._ */ contract ERC1155Holder is ERC1155Receiver { function onERC1155Received( address, address, uint256, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] memory, uint256[] memory, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155BatchReceived.selector; } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File @openzeppelin/contracts/token/ERC20/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File @openzeppelin/contracts/token/ERC20/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.3) (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; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // File @openzeppelin/contracts/token/ERC721/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File @openzeppelin/contracts/token/ERC721/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/utils/ERC721Holder.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}. */ contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) { return this.onERC721Received.selector; } } // File contracts/components/CrossWrapper.sol // Original license: SPDX_License_Identifier: MIT /* Copyright 2023 Wanchain Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // _ _ _ // __ ____ _ _ __ ___| |__ __ _(_)_ __ __| | _____ __ // \ \ /\ / / _` | '_ \ / __| '_ \ / _` | | '_ \@/ _` |/ _ \ \ / / // \ V V / (_| | | | | (__| | | | (_| | | | | | (_| | __/\ V / // \_/\_/ \__,_|_| |_|\___|_| |_|\__,_|_|_| |_|\__,_|\___| \_/ // // pragma solidity 0.8.18; interface ICross { function currentChainID() external view returns (uint); function getPartners() external view returns(address tokenManager, address smgAdminProxy, address smgFeeProxy, address quota, address sigVerifier); function userLock(bytes32 smgID, uint tokenPairID, uint value, bytes calldata userAccount) external payable; function userBurn(bytes32 smgID, uint tokenPairID, uint value, uint fee, address tokenAccount, bytes calldata userAccount) external payable; function userLockNFT(bytes32 smgID, uint tokenPairID, uint[] memory tokenIDs, uint[] memory tokenValues, bytes memory userAccount) external payable; function userBurnNFT(bytes32 smgID, uint tokenPairID, uint[] memory tokenIDs, uint[] memory tokenValues, address tokenAccount, bytes memory userAccount) external payable; } interface ITokenManager { function getTokenPairInfo(uint id) external view returns (uint fromChainID, bytes memory fromAccount, uint toChainID, bytes memory toAccount); function mapTokenPairType(uint id) external view returns (uint8); } interface IXDCReceiver { function onXRC721Received(address, address, uint256, bytes calldata) external returns (bytes4); function onXRC1155Received(address, address, uint256, uint256, bytes calldata) external returns (bytes4); function onXRC1155BatchReceived(address, address, uint256[] calldata, uint256[] calldata, bytes calldata) external returns (bytes4); } contract CrossWrapper is IXDCReceiver, ERC721Holder, ERC1155Holder { using SafeERC20 for IERC20; ICross public cross; address public tokenManager; uint public currentChainID; enum TokenCrossType {ERC20, ERC721, ERC1155} event PartnerCross(string indexed partner, string _partner); constructor(address _cross) { cross = ICross(_cross); (tokenManager, , , , ) = cross.getPartners(); currentChainID = cross.currentChainID(); } function userLock(bytes32 smgID, uint tokenPairID, uint value, bytes calldata userAccount, string memory partner) external payable { address tokenAddress = _getTokenAddressFromPairID(tokenPairID); if (tokenAddress != address(0)) { IERC20(tokenAddress).safeTransferFrom(msg.sender, address(this), value); IERC20(tokenAddress).forceApprove(address(cross), value); } cross.userLock{value: msg.value}(smgID, tokenPairID, value, userAccount); emit PartnerCross(partner, partner); } function userBurn(bytes32 smgID, uint tokenPairID, uint value, uint fee, address tokenAccount, bytes calldata userAccount, string memory partner) external payable { address tokenAddress = _getTokenAddressFromPairID(tokenPairID); IERC20(tokenAddress).safeTransferFrom(msg.sender, address(this), value); cross.userBurn{value: msg.value}(smgID, tokenPairID, value, fee, tokenAccount, userAccount); emit PartnerCross(partner, partner); } function userLockNFT(bytes32 smgID, uint tokenPairID, uint[] memory tokenIDs, uint[] memory tokenValues, bytes memory userAccount, string memory partner) external payable { uint8 tokenCrossType = ITokenManager(tokenManager).mapTokenPairType(tokenPairID); address tokenScAddr = _getTokenAddressFromPairID(tokenPairID); if (tokenCrossType == uint8(TokenCrossType.ERC721)) { for(uint idx = 0; idx < tokenIDs.length; ++idx) { IERC721(tokenScAddr).safeTransferFrom(msg.sender, address(this), tokenIDs[idx], ""); } IERC721(tokenScAddr).setApprovalForAll(address(cross), true); } else if(tokenCrossType == uint8(TokenCrossType.ERC1155)) { IERC1155(tokenScAddr).safeBatchTransferFrom(msg.sender, address(this), tokenIDs, tokenValues, ""); IERC1155(tokenScAddr).setApprovalForAll(address(cross), true); } else { require(false, "Invalid NFT type"); } cross.userLockNFT{value: msg.value}(smgID, tokenPairID, tokenIDs, tokenValues, userAccount); emit PartnerCross(partner, partner); } function userBurnNFT(bytes32 smgID, uint tokenPairID, uint[] memory tokenIDs, uint[] memory tokenValues, address tokenAccount, bytes memory userAccount, string memory partner) external payable { uint8 tokenCrossType = ITokenManager(tokenManager).mapTokenPairType(tokenPairID); address tokenScAddr = _getTokenAddressFromPairID(tokenPairID); if (tokenCrossType == uint8(TokenCrossType.ERC721)) { for(uint idx = 0; idx < tokenIDs.length; ++idx) { IERC721(tokenScAddr).safeTransferFrom(msg.sender, address(this), tokenIDs[idx], ""); } } else if(tokenCrossType == uint8(TokenCrossType.ERC1155)) { IERC1155(tokenScAddr).safeBatchTransferFrom(msg.sender, address(this), tokenIDs, tokenValues, ""); } else { require(false, "Invalid NFT type"); } cross.userBurnNFT{value: msg.value}(smgID, tokenPairID, tokenIDs, tokenValues, tokenAccount, userAccount); emit PartnerCross(partner, partner); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155Receiver) returns (bool) { return interfaceId == type(IERC721Receiver).interfaceId || interfaceId == type(IERC1155Receiver).interfaceId || interfaceId == type(IERC165).interfaceId || interfaceId == type(IXDCReceiver).interfaceId || super.supportsInterface(interfaceId); } function onXRC721Received(address, address, uint256, bytes calldata) external pure returns (bytes4) { return this.onXRC721Received.selector; } function onXRC1155Received(address, address, uint256, uint256, bytes calldata) external pure returns(bytes4) { return this.onXRC1155Received.selector; } function onXRC1155BatchReceived(address, address, uint256[] calldata, uint256[] calldata, bytes calldata) external pure returns(bytes4) { return this.onXRC1155BatchReceived.selector; } function _getTokenAddressFromPairID(uint tokenPairID) internal view returns (address) { (uint fromChainID, bytes memory fromAccount, uint toChainID, bytes memory toAccount) = ITokenManager(tokenManager).getTokenPairInfo(tokenPairID); if (currentChainID == fromChainID) { return _bytesToAddress(fromAccount); } else if (currentChainID == toChainID) { return _bytesToAddress(toAccount); } else { revert("Invalid token pair ID"); } } function _bytesToAddress(bytes memory b) internal pure returns (address addr) { assembly { addr := mload(add(b,20)) } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_cross","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"partner","type":"string"},{"indexed":false,"internalType":"string","name":"_partner","type":"string"}],"name":"PartnerCross","type":"event"},{"inputs":[],"name":"cross","outputs":[{"internalType":"contract ICross","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentChainID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onXRC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onXRC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onXRC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"smgID","type":"bytes32"},{"internalType":"uint256","name":"tokenPairID","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"address","name":"tokenAccount","type":"address"},{"internalType":"bytes","name":"userAccount","type":"bytes"},{"internalType":"string","name":"partner","type":"string"}],"name":"userBurn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"smgID","type":"bytes32"},{"internalType":"uint256","name":"tokenPairID","type":"uint256"},{"internalType":"uint256[]","name":"tokenIDs","type":"uint256[]"},{"internalType":"uint256[]","name":"tokenValues","type":"uint256[]"},{"internalType":"address","name":"tokenAccount","type":"address"},{"internalType":"bytes","name":"userAccount","type":"bytes"},{"internalType":"string","name":"partner","type":"string"}],"name":"userBurnNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"smgID","type":"bytes32"},{"internalType":"uint256","name":"tokenPairID","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"userAccount","type":"bytes"},{"internalType":"string","name":"partner","type":"string"}],"name":"userLock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"smgID","type":"bytes32"},{"internalType":"uint256","name":"tokenPairID","type":"uint256"},{"internalType":"uint256[]","name":"tokenIDs","type":"uint256[]"},{"internalType":"uint256[]","name":"tokenValues","type":"uint256[]"},{"internalType":"bytes","name":"userAccount","type":"bytes"},{"internalType":"string","name":"partner","type":"string"}],"name":"userLockNFT","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001d8238038062001d82833981016040819052620000349162000164565b600080546001600160a01b0319166001600160a01b038316908117909155604080516373e29b0d60e01b815290516373e29b0d9160048082019260a0929091908290030181865afa1580156200008e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b4919062000189565b5050600180546001600160a01b0319166001600160a01b0394851617905550506000546040805163b179e1e760e01b81529051919092169163b179e1e79160048083019260209291908290030181865afa15801562000117573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013d9190620001f9565b6002555062000213565b80516001600160a01b03811681146200015f57600080fd5b919050565b6000602082840312156200017757600080fd5b620001828262000147565b9392505050565b600080600080600060a08688031215620001a257600080fd5b620001ad8662000147565b9450620001bd6020870162000147565b9350620001cd6040870162000147565b9250620001dd6060870162000147565b9150620001ed6080870162000147565b90509295509295909350565b6000602082840312156200020c57600080fd5b5051919050565b611b5f80620002236000396000f3fe6080604052600436106100dd5760003560e01c8063656a3e8d1161007f578063bc197c8111610059578063bc197c8114610256578063e82388f314610282578063f23a6e61146102ae578063fa074d03146102da57600080fd5b8063656a3e8d146101f2578063a266dcdf1461021f578063b179e1e71461023257600080fd5b806318d9a776116100bb57806318d9a776146101655780632a709b141461017857806334e13068146101b05780634109bdf8146101c357600080fd5b806301ffc9a7146100e2578063116f0fc514610117578063150b7a021461012c575b600080fd5b3480156100ee57600080fd5b506101026100fd366004610fce565b6102fa565b60405190151581526020015b60405180910390f35b61012a610125366004611126565b610376565b005b34801561013857600080fd5b5061014c6101473660046111c5565b61044e565b6040516001600160e01b0319909116815260200161010e565b61012a6101733660046112a0565b61045f565b34801561018457600080fd5b50600154610198906001600160a01b031681565b6040516001600160a01b03909116815260200161010e565b61012a6101be36600461135e565b6107af565b3480156101cf57600080fd5b5061014c6101de366004611472565b63082137bf60e31b98975050505050505050565b3480156101fe57600080fd5b5061014c61020d36600461152c565b63656a3e8d60e01b9695505050505050565b61012a61022d3660046115a3565b610a10565b34801561023e57600080fd5b5061024860025481565b60405190815260200161010e565b34801561026257600080fd5b5061014c61027136600461160d565b63bc197c8160e01b95945050505050565b34801561028e57600080fd5b5061014c61029d3660046116b6565b63e82388f360e01b95945050505050565b3480156102ba57600080fd5b5061014c6102c9366004611724565b63f23a6e6160e01b95945050505050565b3480156102e657600080fd5b50600054610198906001600160a01b031681565b60006001600160e01b03198216630a85bd0160e11b148061032b57506001600160e01b03198216630271189760e51b145b8061034657506001600160e01b031982166301ffc9a760e01b145b8061036157506001600160e01b0319821663662005c360e11b145b80610370575061037082610b0b565b92915050565b600061038188610b40565b90506103986001600160a01b03821633308a610c2e565b60005460405163107fc6f360e21b81526001600160a01b03909116906341ff1bcc9034906103d6908d908d908d908d908d908d908d906004016117b1565b6000604051808303818588803b1580156103ef57600080fd5b505af1158015610403573d6000803e3d6000fd5b505050505081604051610416919061181c565b6040518091039020600080516020611b0a8339815191528360405161043b9190611864565b60405180910390a2505050505050505050565b630a85bd0160e11b5b949350505050565b6001546040516375d2e27d60e01b8152600481018790526000916001600160a01b0316906375d2e27d90602401602060405180830381865afa1580156104a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cd9190611877565b905060006104da87610b40565b905060001960ff8316016106155760005b86518110156105a857816001600160a01b031663b88d4fde33308a85815181106105175761051761189a565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152608060648201526000608482015260a401600060405180830381600087803b15801561057f57600080fd5b505af1158015610593573d6000803e3d6000fd5b50505050806105a1906118b0565b90506104eb565b5060005460405163a22cb46560e01b81526001600160a01b039182166004820152600160248201529082169063a22cb465906044015b600060405180830381600087803b1580156105f857600080fd5b505af115801561060c573d6000803e3d6000fd5b505050506106fe565b60011960ff8316016106be57604051631759616b60e11b81526001600160a01b03821690632eb2c2d69061065390339030908b908b90600401611912565b600060405180830381600087803b15801561066d57600080fd5b505af1158015610681573d6000803e3d6000fd5b505060005460405163a22cb46560e01b81526001600160a01b03918216600482015260016024820152908416925063a22cb46591506044016105de565b60405162461bcd60e51b815260206004820152601060248201526f496e76616c6964204e4654207479706560801b60448201526064015b60405180910390fd5b60005460405163b64ed6db60e01b81526001600160a01b039091169063b64ed6db903490610738908c908c908c908c908c9060040161196d565b6000604051808303818588803b15801561075157600080fd5b505af1158015610765573d6000803e3d6000fd5b505050505082604051610778919061181c565b6040518091039020600080516020611b0a8339815191528460405161079d9190611864565b60405180910390a25050505050505050565b6001546040516375d2e27d60e01b8152600481018890526000916001600160a01b0316906375d2e27d90602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611877565b9050600061082a88610b40565b905060001960ff8316016108fe5760005b87518110156108f857816001600160a01b031663b88d4fde33308b85815181106108675761086761189a565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152608060648201526000608482015260a401600060405180830381600087803b1580156108cf57600080fd5b505af11580156108e3573d6000803e3d6000fd5b50505050806108f1906118b0565b905061083b565b5061096f565b60011960ff8316016106be57604051631759616b60e11b81526001600160a01b03821690632eb2c2d69061093c90339030908c908c90600401611912565b600060405180830381600087803b15801561095657600080fd5b505af115801561096a573d6000803e3d6000fd5b505050505b60005460405163380b7ba360e21b81526001600160a01b039091169063e02dee8c9034906109ab908d908d908d908d908d908d906004016119be565b6000604051808303818588803b1580156109c457600080fd5b505af11580156109d8573d6000803e3d6000fd5b5050505050826040516109eb919061181c565b6040518091039020600080516020611b0a8339815191528460405161043b9190611864565b6000610a1b86610b40565b90506001600160a01b03811615610a5b57610a416001600160a01b038216333088610c2e565b600054610a5b906001600160a01b03838116911687610c9f565b6000546040516312b808db60e11b81526001600160a01b039091169063257011b6903490610a95908b908b908b908b908b90600401611a12565b6000604051808303818588803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505081604051610ad5919061181c565b6040518091039020600080516020611b0a83398151915283604051610afa9190611864565b60405180910390a250505050505050565b60006001600160e01b03198216630271189760e51b148061037057506301ffc9a760e01b6001600160e01b0319831614610370565b600154604051635c83993b60e11b81526004810183905260009182918291829182916001600160a01b03169063b907327690602401600060405180830381865afa158015610b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bba9190810190611a7d565b93509350935093508360025403610bdb5760148301515b9695505050505050565b8160025403610bee576014810151610bd1565b60405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a59081d1bdad95b881c185a5c881251605a1b60448201526064016106f5565b6040516001600160a01b0380851660248301528316604482015260648101829052610c999085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d2a565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610cf08482610e04565b610c99576040516001600160a01b038416602482015260006044820152610d2490859063095ea7b360e01b90606401610c62565b610c9984825b6000610d7f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610eab9092919063ffffffff16565b9050805160001480610da0575080806020019051810190610da09190611ae7565b610dff5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106f5565b505050565b6000806000846001600160a01b031684604051610e21919061181c565b6000604051808303816000865af19150503d8060008114610e5e576040519150601f19603f3d011682016040523d82523d6000602084013e610e63565b606091505b5091509150818015610e8d575080511580610e8d575080806020019051810190610e8d9190611ae7565b8015610ea257506001600160a01b0385163b15155b95945050505050565b6060610457848460008585600080866001600160a01b03168587604051610ed2919061181c565b60006040518083038185875af1925050503d8060008114610f0f576040519150601f19603f3d011682016040523d82523d6000602084013e610f14565b606091505b5091509150610f2587838387610f30565b979650505050505050565b60608315610f9f578251600003610f98576001600160a01b0385163b610f985760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106f5565b5081610457565b6104578383815115610fb45781518083602001fd5b8060405162461bcd60e51b81526004016106f59190611864565b600060208284031215610fe057600080fd5b81356001600160e01b031981168114610ff857600080fd5b9392505050565b80356001600160a01b038116811461101657600080fd5b919050565b60008083601f84011261102d57600080fd5b5081356001600160401b0381111561104457600080fd5b60208301915083602082850101111561105c57600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156110a1576110a1611063565b604052919050565b60006001600160401b038211156110c2576110c2611063565b50601f01601f191660200190565b600082601f8301126110e157600080fd5b81356110f46110ef826110a9565b611079565b81815284602083860101111561110957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060008060e0898b03121561114257600080fd5b8835975060208901359650604089013595506060890135945061116760808a01610fff565b935060a08901356001600160401b038082111561118357600080fd5b61118f8c838d0161101b565b909550935060c08b01359150808211156111a857600080fd5b506111b58b828c016110d0565b9150509295985092959890939650565b600080600080608085870312156111db57600080fd5b6111e485610fff565b93506111f260208601610fff565b92506040850135915060608501356001600160401b0381111561121457600080fd5b611220878288016110d0565b91505092959194509250565b600082601f83011261123d57600080fd5b813560206001600160401b0382111561125857611258611063565b8160051b611267828201611079565b928352848101820192828101908785111561128157600080fd5b83870192505b84831015610f2557823582529183019190830190611287565b60008060008060008060c087890312156112b957600080fd5b863595506020870135945060408701356001600160401b03808211156112de57600080fd5b6112ea8a838b0161122c565b9550606089013591508082111561130057600080fd5b61130c8a838b0161122c565b9450608089013591508082111561132257600080fd5b61132e8a838b016110d0565b935060a089013591508082111561134457600080fd5b5061135189828a016110d0565b9150509295509295509295565b600080600080600080600060e0888a03121561137957600080fd5b873596506020880135955060408801356001600160401b038082111561139e57600080fd5b6113aa8b838c0161122c565b965060608a01359150808211156113c057600080fd5b6113cc8b838c0161122c565b95506113da60808b01610fff565b945060a08a01359150808211156113f057600080fd5b6113fc8b838c016110d0565b935060c08a013591508082111561141257600080fd5b5061141f8a828b016110d0565b91505092959891949750929550565b60008083601f84011261144057600080fd5b5081356001600160401b0381111561145757600080fd5b6020830191508360208260051b850101111561105c57600080fd5b60008060008060008060008060a0898b03121561148e57600080fd5b61149789610fff565b97506114a560208a01610fff565b965060408901356001600160401b03808211156114c157600080fd5b6114cd8c838d0161142e565b909850965060608b01359150808211156114e657600080fd5b6114f28c838d0161142e565b909650945060808b013591508082111561150b57600080fd5b506115188b828c0161101b565b999c989b5096995094979396929594505050565b60008060008060008060a0878903121561154557600080fd5b61154e87610fff565b955061155c60208801610fff565b9450604087013593506060870135925060808701356001600160401b0381111561158557600080fd5b61159189828a0161101b565b979a9699509497509295939492505050565b60008060008060008060a087890312156115bc57600080fd5b86359550602087013594506040870135935060608701356001600160401b03808211156115e857600080fd5b6115f48a838b0161101b565b9095509350608089013591508082111561134457600080fd5b600080600080600060a0868803121561162557600080fd5b61162e86610fff565b945061163c60208701610fff565b935060408601356001600160401b038082111561165857600080fd5b61166489838a0161122c565b9450606088013591508082111561167a57600080fd5b61168689838a0161122c565b9350608088013591508082111561169c57600080fd5b506116a9888289016110d0565b9150509295509295909350565b6000806000806000608086880312156116ce57600080fd5b6116d786610fff565b94506116e560208701610fff565b93506040860135925060608601356001600160401b0381111561170757600080fd5b6117138882890161101b565b969995985093965092949392505050565b600080600080600060a0868803121561173c57600080fd5b61174586610fff565b945061175360208701610fff565b9350604086013592506060860135915060808601356001600160401b0381111561177c57600080fd5b6116a9888289016110d0565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b87815286602082015285604082015284606082015260018060a01b038416608082015260c060a082015260006117eb60c083018486611788565b9998505050505050505050565b60005b838110156118135781810151838201526020016117fb565b50506000910152565b6000825161182e8184602087016117f8565b9190910192915050565b600081518084526118508160208601602086016117f8565b601f01601f19169290920160200192915050565b602081526000610ff86020830184611838565b60006020828403121561188957600080fd5b815160ff81168114610ff857600080fd5b634e487b7160e01b600052603260045260246000fd5b6000600182016118d057634e487b7160e01b600052601160045260246000fd5b5060010190565b600081518084526020808501945080840160005b83811015611907578151875295820195908201906001016118eb565b509495945050505050565b6001600160a01b0385811682528416602082015260a06040820181905260009061193e908301856118d7565b828103606084015261195081856118d7565b838103608090940193909352505060008152602001949350505050565b85815284602082015260a06040820152600061198c60a08301866118d7565b828103606084015261199e81866118d7565b905082810360808401526119b28185611838565b98975050505050505050565b86815285602082015260c0604082015260006119dd60c08301876118d7565b82810360608401526119ef81876118d7565b6001600160a01b038616608085015283810360a085015290506117eb8185611838565b858152846020820152836040820152608060608201526000610f25608083018486611788565b600082601f830112611a4957600080fd5b8151611a576110ef826110a9565b818152846020838601011115611a6c57600080fd5b6104578260208301602087016117f8565b60008060008060808587031215611a9357600080fd5b8451935060208501516001600160401b0380821115611ab157600080fd5b611abd88838901611a38565b9450604087015193506060870151915080821115611ada57600080fd5b5061122087828801611a38565b600060208284031215611af957600080fd5b81518015158114610ff857600080fdfe17ba93f2a0259c141a88c97e1a27d16ab13edfdc0624735941601e12047b838da2646970667358221220ef2bb0d81c9c52ffda6ac73185141e0e95808a62842b63f6623bf2d1d6f1102c64736f6c63430008120033000000000000000000000000fceaaaeb8d564a9d0e71ef36f027b9d162bc334e
Deployed Bytecode
0x6080604052600436106100dd5760003560e01c8063656a3e8d1161007f578063bc197c8111610059578063bc197c8114610256578063e82388f314610282578063f23a6e61146102ae578063fa074d03146102da57600080fd5b8063656a3e8d146101f2578063a266dcdf1461021f578063b179e1e71461023257600080fd5b806318d9a776116100bb57806318d9a776146101655780632a709b141461017857806334e13068146101b05780634109bdf8146101c357600080fd5b806301ffc9a7146100e2578063116f0fc514610117578063150b7a021461012c575b600080fd5b3480156100ee57600080fd5b506101026100fd366004610fce565b6102fa565b60405190151581526020015b60405180910390f35b61012a610125366004611126565b610376565b005b34801561013857600080fd5b5061014c6101473660046111c5565b61044e565b6040516001600160e01b0319909116815260200161010e565b61012a6101733660046112a0565b61045f565b34801561018457600080fd5b50600154610198906001600160a01b031681565b6040516001600160a01b03909116815260200161010e565b61012a6101be36600461135e565b6107af565b3480156101cf57600080fd5b5061014c6101de366004611472565b63082137bf60e31b98975050505050505050565b3480156101fe57600080fd5b5061014c61020d36600461152c565b63656a3e8d60e01b9695505050505050565b61012a61022d3660046115a3565b610a10565b34801561023e57600080fd5b5061024860025481565b60405190815260200161010e565b34801561026257600080fd5b5061014c61027136600461160d565b63bc197c8160e01b95945050505050565b34801561028e57600080fd5b5061014c61029d3660046116b6565b63e82388f360e01b95945050505050565b3480156102ba57600080fd5b5061014c6102c9366004611724565b63f23a6e6160e01b95945050505050565b3480156102e657600080fd5b50600054610198906001600160a01b031681565b60006001600160e01b03198216630a85bd0160e11b148061032b57506001600160e01b03198216630271189760e51b145b8061034657506001600160e01b031982166301ffc9a760e01b145b8061036157506001600160e01b0319821663662005c360e11b145b80610370575061037082610b0b565b92915050565b600061038188610b40565b90506103986001600160a01b03821633308a610c2e565b60005460405163107fc6f360e21b81526001600160a01b03909116906341ff1bcc9034906103d6908d908d908d908d908d908d908d906004016117b1565b6000604051808303818588803b1580156103ef57600080fd5b505af1158015610403573d6000803e3d6000fd5b505050505081604051610416919061181c565b6040518091039020600080516020611b0a8339815191528360405161043b9190611864565b60405180910390a2505050505050505050565b630a85bd0160e11b5b949350505050565b6001546040516375d2e27d60e01b8152600481018790526000916001600160a01b0316906375d2e27d90602401602060405180830381865afa1580156104a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cd9190611877565b905060006104da87610b40565b905060001960ff8316016106155760005b86518110156105a857816001600160a01b031663b88d4fde33308a85815181106105175761051761189a565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152608060648201526000608482015260a401600060405180830381600087803b15801561057f57600080fd5b505af1158015610593573d6000803e3d6000fd5b50505050806105a1906118b0565b90506104eb565b5060005460405163a22cb46560e01b81526001600160a01b039182166004820152600160248201529082169063a22cb465906044015b600060405180830381600087803b1580156105f857600080fd5b505af115801561060c573d6000803e3d6000fd5b505050506106fe565b60011960ff8316016106be57604051631759616b60e11b81526001600160a01b03821690632eb2c2d69061065390339030908b908b90600401611912565b600060405180830381600087803b15801561066d57600080fd5b505af1158015610681573d6000803e3d6000fd5b505060005460405163a22cb46560e01b81526001600160a01b03918216600482015260016024820152908416925063a22cb46591506044016105de565b60405162461bcd60e51b815260206004820152601060248201526f496e76616c6964204e4654207479706560801b60448201526064015b60405180910390fd5b60005460405163b64ed6db60e01b81526001600160a01b039091169063b64ed6db903490610738908c908c908c908c908c9060040161196d565b6000604051808303818588803b15801561075157600080fd5b505af1158015610765573d6000803e3d6000fd5b505050505082604051610778919061181c565b6040518091039020600080516020611b0a8339815191528460405161079d9190611864565b60405180910390a25050505050505050565b6001546040516375d2e27d60e01b8152600481018890526000916001600160a01b0316906375d2e27d90602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611877565b9050600061082a88610b40565b905060001960ff8316016108fe5760005b87518110156108f857816001600160a01b031663b88d4fde33308b85815181106108675761086761189a565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152608060648201526000608482015260a401600060405180830381600087803b1580156108cf57600080fd5b505af11580156108e3573d6000803e3d6000fd5b50505050806108f1906118b0565b905061083b565b5061096f565b60011960ff8316016106be57604051631759616b60e11b81526001600160a01b03821690632eb2c2d69061093c90339030908c908c90600401611912565b600060405180830381600087803b15801561095657600080fd5b505af115801561096a573d6000803e3d6000fd5b505050505b60005460405163380b7ba360e21b81526001600160a01b039091169063e02dee8c9034906109ab908d908d908d908d908d908d906004016119be565b6000604051808303818588803b1580156109c457600080fd5b505af11580156109d8573d6000803e3d6000fd5b5050505050826040516109eb919061181c565b6040518091039020600080516020611b0a8339815191528460405161043b9190611864565b6000610a1b86610b40565b90506001600160a01b03811615610a5b57610a416001600160a01b038216333088610c2e565b600054610a5b906001600160a01b03838116911687610c9f565b6000546040516312b808db60e11b81526001600160a01b039091169063257011b6903490610a95908b908b908b908b908b90600401611a12565b6000604051808303818588803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505081604051610ad5919061181c565b6040518091039020600080516020611b0a83398151915283604051610afa9190611864565b60405180910390a250505050505050565b60006001600160e01b03198216630271189760e51b148061037057506301ffc9a760e01b6001600160e01b0319831614610370565b600154604051635c83993b60e11b81526004810183905260009182918291829182916001600160a01b03169063b907327690602401600060405180830381865afa158015610b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bba9190810190611a7d565b93509350935093508360025403610bdb5760148301515b9695505050505050565b8160025403610bee576014810151610bd1565b60405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a59081d1bdad95b881c185a5c881251605a1b60448201526064016106f5565b6040516001600160a01b0380851660248301528316604482015260648101829052610c999085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d2a565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610cf08482610e04565b610c99576040516001600160a01b038416602482015260006044820152610d2490859063095ea7b360e01b90606401610c62565b610c9984825b6000610d7f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610eab9092919063ffffffff16565b9050805160001480610da0575080806020019051810190610da09190611ae7565b610dff5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106f5565b505050565b6000806000846001600160a01b031684604051610e21919061181c565b6000604051808303816000865af19150503d8060008114610e5e576040519150601f19603f3d011682016040523d82523d6000602084013e610e63565b606091505b5091509150818015610e8d575080511580610e8d575080806020019051810190610e8d9190611ae7565b8015610ea257506001600160a01b0385163b15155b95945050505050565b6060610457848460008585600080866001600160a01b03168587604051610ed2919061181c565b60006040518083038185875af1925050503d8060008114610f0f576040519150601f19603f3d011682016040523d82523d6000602084013e610f14565b606091505b5091509150610f2587838387610f30565b979650505050505050565b60608315610f9f578251600003610f98576001600160a01b0385163b610f985760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106f5565b5081610457565b6104578383815115610fb45781518083602001fd5b8060405162461bcd60e51b81526004016106f59190611864565b600060208284031215610fe057600080fd5b81356001600160e01b031981168114610ff857600080fd5b9392505050565b80356001600160a01b038116811461101657600080fd5b919050565b60008083601f84011261102d57600080fd5b5081356001600160401b0381111561104457600080fd5b60208301915083602082850101111561105c57600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156110a1576110a1611063565b604052919050565b60006001600160401b038211156110c2576110c2611063565b50601f01601f191660200190565b600082601f8301126110e157600080fd5b81356110f46110ef826110a9565b611079565b81815284602083860101111561110957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060008060e0898b03121561114257600080fd5b8835975060208901359650604089013595506060890135945061116760808a01610fff565b935060a08901356001600160401b038082111561118357600080fd5b61118f8c838d0161101b565b909550935060c08b01359150808211156111a857600080fd5b506111b58b828c016110d0565b9150509295985092959890939650565b600080600080608085870312156111db57600080fd5b6111e485610fff565b93506111f260208601610fff565b92506040850135915060608501356001600160401b0381111561121457600080fd5b611220878288016110d0565b91505092959194509250565b600082601f83011261123d57600080fd5b813560206001600160401b0382111561125857611258611063565b8160051b611267828201611079565b928352848101820192828101908785111561128157600080fd5b83870192505b84831015610f2557823582529183019190830190611287565b60008060008060008060c087890312156112b957600080fd5b863595506020870135945060408701356001600160401b03808211156112de57600080fd5b6112ea8a838b0161122c565b9550606089013591508082111561130057600080fd5b61130c8a838b0161122c565b9450608089013591508082111561132257600080fd5b61132e8a838b016110d0565b935060a089013591508082111561134457600080fd5b5061135189828a016110d0565b9150509295509295509295565b600080600080600080600060e0888a03121561137957600080fd5b873596506020880135955060408801356001600160401b038082111561139e57600080fd5b6113aa8b838c0161122c565b965060608a01359150808211156113c057600080fd5b6113cc8b838c0161122c565b95506113da60808b01610fff565b945060a08a01359150808211156113f057600080fd5b6113fc8b838c016110d0565b935060c08a013591508082111561141257600080fd5b5061141f8a828b016110d0565b91505092959891949750929550565b60008083601f84011261144057600080fd5b5081356001600160401b0381111561145757600080fd5b6020830191508360208260051b850101111561105c57600080fd5b60008060008060008060008060a0898b03121561148e57600080fd5b61149789610fff565b97506114a560208a01610fff565b965060408901356001600160401b03808211156114c157600080fd5b6114cd8c838d0161142e565b909850965060608b01359150808211156114e657600080fd5b6114f28c838d0161142e565b909650945060808b013591508082111561150b57600080fd5b506115188b828c0161101b565b999c989b5096995094979396929594505050565b60008060008060008060a0878903121561154557600080fd5b61154e87610fff565b955061155c60208801610fff565b9450604087013593506060870135925060808701356001600160401b0381111561158557600080fd5b61159189828a0161101b565b979a9699509497509295939492505050565b60008060008060008060a087890312156115bc57600080fd5b86359550602087013594506040870135935060608701356001600160401b03808211156115e857600080fd5b6115f48a838b0161101b565b9095509350608089013591508082111561134457600080fd5b600080600080600060a0868803121561162557600080fd5b61162e86610fff565b945061163c60208701610fff565b935060408601356001600160401b038082111561165857600080fd5b61166489838a0161122c565b9450606088013591508082111561167a57600080fd5b61168689838a0161122c565b9350608088013591508082111561169c57600080fd5b506116a9888289016110d0565b9150509295509295909350565b6000806000806000608086880312156116ce57600080fd5b6116d786610fff565b94506116e560208701610fff565b93506040860135925060608601356001600160401b0381111561170757600080fd5b6117138882890161101b565b969995985093965092949392505050565b600080600080600060a0868803121561173c57600080fd5b61174586610fff565b945061175360208701610fff565b9350604086013592506060860135915060808601356001600160401b0381111561177c57600080fd5b6116a9888289016110d0565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b87815286602082015285604082015284606082015260018060a01b038416608082015260c060a082015260006117eb60c083018486611788565b9998505050505050505050565b60005b838110156118135781810151838201526020016117fb565b50506000910152565b6000825161182e8184602087016117f8565b9190910192915050565b600081518084526118508160208601602086016117f8565b601f01601f19169290920160200192915050565b602081526000610ff86020830184611838565b60006020828403121561188957600080fd5b815160ff81168114610ff857600080fd5b634e487b7160e01b600052603260045260246000fd5b6000600182016118d057634e487b7160e01b600052601160045260246000fd5b5060010190565b600081518084526020808501945080840160005b83811015611907578151875295820195908201906001016118eb565b509495945050505050565b6001600160a01b0385811682528416602082015260a06040820181905260009061193e908301856118d7565b828103606084015261195081856118d7565b838103608090940193909352505060008152602001949350505050565b85815284602082015260a06040820152600061198c60a08301866118d7565b828103606084015261199e81866118d7565b905082810360808401526119b28185611838565b98975050505050505050565b86815285602082015260c0604082015260006119dd60c08301876118d7565b82810360608401526119ef81876118d7565b6001600160a01b038616608085015283810360a085015290506117eb8185611838565b858152846020820152836040820152608060608201526000610f25608083018486611788565b600082601f830112611a4957600080fd5b8151611a576110ef826110a9565b818152846020838601011115611a6c57600080fd5b6104578260208301602087016117f8565b60008060008060808587031215611a9357600080fd5b8451935060208501516001600160401b0380821115611ab157600080fd5b611abd88838901611a38565b9450604087015193506060870151915080821115611ada57600080fd5b5061122087828801611a38565b600060208284031215611af957600080fd5b81518015158114610ff857600080fdfe17ba93f2a0259c141a88c97e1a27d16ab13edfdc0624735941601e12047b838da2646970667358221220ef2bb0d81c9c52ffda6ac73185141e0e95808a62842b63f6623bf2d1d6f1102c64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fceaaaeb8d564a9d0e71ef36f027b9d162bc334e
-----Decoded View---------------
Arg [0] : _cross (address): 0xfCeAAaEB8D564a9D0e71Ef36f027b9D162bC334e
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fceaaaeb8d564a9d0e71ef36f027b9d162bc334e
Deployed Bytecode Sourcemap
42259:5507:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45996:437;;;;;;;;;;-1:-1:-1;45996:437:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;45996:437:0;;;;;;;;43325:474;;;;;;:::i;:::-;;:::i;:::-;;39540:164;;;;;;;;;;-1:-1:-1;39540:164:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;3790:33:1;;;3772:52;;3760:2;3745:18;39540:164:0;3628:202:1;43807:1144:0;;;;;;:::i;:::-;;:::i;42394:27::-;;;;;;;;;;-1:-1:-1;42394:27:0;;;;-1:-1:-1;;;;;42394:27:0;;;;;;-1:-1:-1;;;;;5854:32:1;;;5836:51;;5824:2;5809:18;42394:27:0;5690:203:1;44959:1029:0;;;;;;:::i;:::-;;:::i;46843:230::-;;;;;;;;;;-1:-1:-1;46843:230:0;;;;;:::i;:::-;-1:-1:-1;;;46843:230:0;;;;;;;;;;;46637:198;;;;;;;;;;-1:-1:-1;46637:198:0;;;;;:::i;:::-;-1:-1:-1;;;46637:198:0;;;;;;;;;42765:552;;;;;;:::i;:::-;;:::i;42428:26::-;;;;;;;;;;;;;;;;;;;10385:25:1;;;10373:2;10358:18;42428:26:0;10239:177:1;10347:255:0;;;;;;;;;;-1:-1:-1;10347:255:0;;;;;:::i;:::-;-1:-1:-1;;;10347:255:0;;;;;;;;46441:188;;;;;;;;;;-1:-1:-1;46441:188:0;;;;;:::i;:::-;-1:-1:-1;;;46441:188:0;;;;;;;;10112:227;;;;;;;;;;-1:-1:-1;10112:227:0;;;;;:::i;:::-;-1:-1:-1;;;10112:227:0;;;;;;;;42368:19;;;;;;;;;;-1:-1:-1;42368:19:0;;;;-1:-1:-1;;;;;42368:19:0;;;45996:437;46098:4;-1:-1:-1;;;;;;46135:48:0;;-1:-1:-1;;;46135:48:0;;:115;;-1:-1:-1;;;;;;;46201:49:0;;-1:-1:-1;;;46201:49:0;46135:115;:173;;;-1:-1:-1;;;;;;;46268:40:0;;-1:-1:-1;;;46268:40:0;46135:173;:236;;;-1:-1:-1;;;;;;;46326:45:0;;-1:-1:-1;;;46326:45:0;46135:236;:290;;;;46389:36;46413:11;46389:23;:36::i;:::-;46115:310;45996:437;-1:-1:-1;;45996:437:0:o;43325:474::-;43499:20;43522:39;43549:11;43522:26;:39::i;:::-;43499:62;-1:-1:-1;43572:71:0;-1:-1:-1;;;;;43572:37:0;;43610:10;43630:4;43637:5;43572:37;:71::i;:::-;43654:5;;:91;;-1:-1:-1;;;43654:91:0;;-1:-1:-1;;;;;43654:5:0;;;;:14;;43676:9;;43654:91;;43687:5;;43694:11;;43707:5;;43714:3;;43719:12;;43733:11;;;;43654:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43774:7;43761:30;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;;;;;;;43783:7:0;43761:30;;;;;;:::i;:::-;;;;;;;;43488:311;43325:474;;;;;;;;:::o;39540:164::-;-1:-1:-1;;;39540:164:0;;;;;;;:::o;43807:1144::-;44026:12;;44012:57;;-1:-1:-1;;;44012:57:0;;;;;10385:25:1;;;43989:20:0;;-1:-1:-1;;;;;44026:12:0;;44012:44;;10358:18:1;;44012:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43989:80;;44080:19;44102:39;44129:11;44102:26;:39::i;:::-;44080:61;-1:-1:-1;;;44156:46:0;;;;44152:644;;44223:8;44219:166;44243:8;:15;44237:3;:21;44219:166;;;44294:11;-1:-1:-1;;;;;44286:37:0;;44324:10;44344:4;44351:8;44360:3;44351:13;;;;;;;;:::i;:::-;;;;;;;;;;;44286:83;;-1:-1:-1;;;;;;44286:83:0;;;;;;;-1:-1:-1;;;;;15656:15:1;;;44286:83:0;;;15638:34:1;15708:15;;;;15688:18;;;15681:43;15740:18;;;15733:34;15803:3;15783:18;;;15776:31;-1:-1:-1;15823:19:1;;;15816:30;15863:19;;44286:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44260:5;;;;:::i;:::-;;;44219:166;;;-1:-1:-1;44446:5:0;;44399:60;;-1:-1:-1;;;44399:60:0;;-1:-1:-1;;;;;44446:5:0;;;44399:60;;;16298:51:1;44446:5:0;16365:18:1;;;16358:50;44399:38:0;;;;;;16271:18:1;;44399:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44152:644;;;-1:-1:-1;;44480:47:0;;;;44477:319;;44544:97;;-1:-1:-1;;;44544:97:0;;-1:-1:-1;;;;;44544:43:0;;;;;:97;;44588:10;;44608:4;;44615:8;;44625:11;;44544:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44704:5:0;;44656:61;;-1:-1:-1;;;44656:61:0;;-1:-1:-1;;;;;44704:5:0;;;44656:61;;;16298:51:1;44704:5:0;16365:18:1;;;16358:50;44656:39:0;;;;-1:-1:-1;44656:39:0;;-1:-1:-1;16271:18:1;;44656:61:0;16130:284:1;44477:319:0;44750:34;;-1:-1:-1;;;44750:34:0;;17955:2:1;44750:34:0;;;17937:21:1;17994:2;17974:18;;;17967:30;-1:-1:-1;;;18013:18:1;;;18006:46;18069:18;;44750:34:0;;;;;;;;;44806:5;;:91;;-1:-1:-1;;;44806:91:0;;-1:-1:-1;;;;;44806:5:0;;;;:17;;44831:9;;44806:91;;44842:5;;44849:11;;44862:8;;44872:11;;44885;;44806:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44926:7;44913:30;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;;;;;;;44935:7:0;44913:30;;;;;;:::i;:::-;;;;;;;;43978:973;;43807:1144;;;;;;:::o;44959:1029::-;45200:12;;45186:57;;-1:-1:-1;;;45186:57:0;;;;;10385:25:1;;;45163:20:0;;-1:-1:-1;;;;;45200:12:0;;45186:44;;10358:18:1;;45186:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45163:80;;45254:19;45276:39;45303:11;45276:26;:39::i;:::-;45254:61;-1:-1:-1;;;45330:46:0;;;;45326:493;;45397:8;45393:166;45417:8;:15;45411:3;:21;45393:166;;;45468:11;-1:-1:-1;;;;;45460:37:0;;45498:10;45518:4;45525:8;45534:3;45525:13;;;;;;;;:::i;:::-;;;;;;;;;;;45460:83;;-1:-1:-1;;;;;;45460:83:0;;;;;;;-1:-1:-1;;;;;15656:15:1;;;45460:83:0;;;15638:34:1;15708:15;;;;15688:18;;;15681:43;15740:18;;;15733:34;15803:3;15783:18;;;15776:31;-1:-1:-1;15823:19:1;;;15816:30;15863:19;;45460:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45434:5;;;;:::i;:::-;;;45393:166;;;;45326:493;;;-1:-1:-1;;45579:47:0;;;;45576:243;;45643:97;;-1:-1:-1;;;45643:97:0;;-1:-1:-1;;;;;45643:43:0;;;;;:97;;45687:10;;45707:4;;45714:8;;45724:11;;45643:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45773:34;45829:5;;:105;;-1:-1:-1;;;45829:105:0;;-1:-1:-1;;;;;45829:5:0;;;;:17;;45854:9;;45829:105;;45865:5;;45872:11;;45885:8;;45895:11;;45908:12;;45922:11;;45829:105;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45963:7;45950:30;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;;;;;;;45972:7:0;45950:30;;;;;;:::i;42765:552::-;42907:20;42930:39;42957:11;42930:26;:39::i;:::-;42907:62;-1:-1:-1;;;;;;42984:26:0;;;42980:201;;43027:71;-1:-1:-1;;;;;43027:37:0;;43065:10;43085:4;43092:5;43027:37;:71::i;:::-;43155:5;;43113:56;;-1:-1:-1;;;;;43113:33:0;;;;43155:5;43163;43113:33;:56::i;:::-;43191:5;;:72;;-1:-1:-1;;;43191:72:0;;-1:-1:-1;;;;;43191:5:0;;;;:14;;43213:9;;43191:72;;43224:5;;43231:11;;43244:5;;43251:11;;;;43191:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43292:7;43279:30;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;;;;;;;43301:7:0;43279:30;;;;;;:::i;:::-;;;;;;;;42896:421;42765:552;;;;;;:::o;9302:223::-;9404:4;-1:-1:-1;;;;;;9428:49:0;;-1:-1:-1;;;9428:49:0;;:89;;-1:-1:-1;;;;;;;;;;8829:40:0;;;9481:36;8720:157;47081:519;47279:12;;47265:57;;-1:-1:-1;;;47265:57:0;;;;;10385:25:1;;;47158:7:0;;;;;;;;;;-1:-1:-1;;;;;47279:12:0;;47265:44;;10358:18:1;;47265:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47265:57:0;;;;;;;;;;;;:::i;:::-;47178:144;;;;;;;;47355:11;47337:14;;:29;47333:260;;47741:2;47735:9;;47729:16;47390:28;47383:35;47081:519;-1:-1:-1;;;;;;47081:519:0:o;47333:260::-;47458:9;47440:14;;:27;47436:157;;47741:2;47735:9;;47729:16;47491:26;47608:155;47436:157;47550:31;;-1:-1:-1;;;47550:31:0;;21547:2:1;47550:31:0;;;21529:21:1;21586:2;21566:18;;;21559:30;-1:-1:-1;;;21605:18:1;;;21598:51;21666:18;;47550:31:0;21345:345:1;27005:205:0;27133:68;;-1:-1:-1;;;;;21953:15:1;;;27133:68:0;;;21935:34:1;22005:15;;21985:18;;;21978:43;22037:18;;;22030:34;;;27106:96:0;;27126:5;;-1:-1:-1;;;27156:27:0;21870:18:1;;27133:68:0;;;;-1:-1:-1;;27133:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;27133:68:0;-1:-1:-1;;;;;;27133:68:0;;;;;;;;;;27106:19;:96::i;:::-;27005:205;;;;:::o;29477:417::-;29593:62;;;-1:-1:-1;;;;;22267:32:1;;29593:62:0;;;22249:51:1;22316:18;;;;22309:34;;;29593:62:0;;;;;;;;;;22222:18:1;;;;29593:62:0;;;;;;;;-1:-1:-1;;;;;29593:62:0;-1:-1:-1;;;29593:62:0;;;29673:44;29697:5;29593:62;29673:23;:44::i;:::-;29668:219;;29761:58;;-1:-1:-1;;;;;22552:32:1;;29761:58:0;;;22534:51:1;29817:1:0;22601:18:1;;;22594:45;29734:86:0;;29754:5;;-1:-1:-1;;;29784:22:0;22507:18:1;;29761:58:0;22354:291:1;29734:86:0;29835:40;29855:5;29862:12;30929:649;31353:23;31379:69;31407:4;31379:69;;;;;;;;;;;;;;;;;31387:5;-1:-1:-1;;;;;31379:27:0;;;:69;;;;;:::i;:::-;31353:95;;31467:10;:17;31488:1;31467:22;:56;;;;31504:10;31493:30;;;;;;;;;;;;:::i;:::-;31459:111;;;;-1:-1:-1;;;31459:111:0;;23134:2:1;31459:111:0;;;23116:21:1;23173:2;23153:18;;;23146:30;23212:34;23192:18;;;23185:62;-1:-1:-1;;;23263:18:1;;;23256:40;23313:19;;31459:111:0;22932:406:1;31459:111:0;30999:579;30929:649;;:::o;32089:602::-;32172:4;32479:12;32493:23;32528:5;-1:-1:-1;;;;;32520:19:0;32540:4;32520:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32478:67;;;;32576:7;:69;;;;-1:-1:-1;32588:17:0;;:22;;:56;;;32625:10;32614:30;;;;;;;;;;;;:::i;:::-;32576:107;;;;-1:-1:-1;;;;;;17762:19:0;;;:23;;32649:34;32556:127;32089:602;-1:-1:-1;;;;;32089:602:0:o;20222:229::-;20359:12;20391:52;20413:6;20421:4;20427:1;20430:12;20359;21596;21610:23;21637:6;-1:-1:-1;;;;;21637:11:0;21656:5;21663:4;21637:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21595:73;;;;21686:69;21713:6;21721:7;21730:10;21742:12;21686:26;:69::i;:::-;21679:76;21308:455;-1:-1:-1;;;;;;;21308:455:0:o;23881:644::-;24066:12;24095:7;24091:427;;;24123:10;:17;24144:1;24123:22;24119:290;;-1:-1:-1;;;;;17762:19:0;;;24333:60;;;;-1:-1:-1;;;24333:60:0;;24244:2:1;24333:60:0;;;24226:21:1;24283:2;24263:18;;;24256:30;24322:31;24302:18;;;24295:59;24371:18;;24333:60:0;24042:353:1;24333:60:0;-1:-1:-1;24430:10:0;24423:17;;24091:427;24473:33;24481:10;24493:12;25228:17;;:21;25224:388;;25460:10;25454:17;25517:15;25504:10;25500:2;25496:19;25489:44;25224:388;25587:12;25580:20;;-1:-1:-1;;;25580:20:0;;;;;;;;:::i;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;199:71;289:5;14:286;-1:-1:-1;;;14:286:1:o;497:173::-;565:20;;-1:-1:-1;;;;;614:31:1;;604:42;;594:70;;660:1;657;650:12;594:70;497:173;;;:::o;675:347::-;726:8;736:6;790:3;783:4;775:6;771:17;767:27;757:55;;808:1;805;798:12;757:55;-1:-1:-1;831:20:1;;-1:-1:-1;;;;;863:30:1;;860:50;;;906:1;903;896:12;860:50;943:4;935:6;931:17;919:29;;995:3;988:4;979:6;971;967:19;963:30;960:39;957:59;;;1012:1;1009;1002:12;957:59;675:347;;;;;:::o;1027:127::-;1088:10;1083:3;1079:20;1076:1;1069:31;1119:4;1116:1;1109:15;1143:4;1140:1;1133:15;1159:275;1230:2;1224:9;1295:2;1276:13;;-1:-1:-1;;1272:27:1;1260:40;;-1:-1:-1;;;;;1315:34:1;;1351:22;;;1312:62;1309:88;;;1377:18;;:::i;:::-;1413:2;1406:22;1159:275;;-1:-1:-1;1159:275:1:o;1439:187::-;1488:4;-1:-1:-1;;;;;1513:6:1;1510:30;1507:56;;;1543:18;;:::i;:::-;-1:-1:-1;1609:2:1;1588:15;-1:-1:-1;;1584:29:1;1615:4;1580:40;;1439:187::o;1631:464::-;1674:5;1727:3;1720:4;1712:6;1708:17;1704:27;1694:55;;1745:1;1742;1735:12;1694:55;1781:6;1768:20;1812:49;1828:32;1857:2;1828:32;:::i;:::-;1812:49;:::i;:::-;1886:2;1877:7;1870:19;1932:3;1925:4;1920:2;1912:6;1908:15;1904:26;1901:35;1898:55;;;1949:1;1946;1939:12;1898:55;2014:2;2007:4;1999:6;1995:17;1988:4;1979:7;1975:18;1962:55;2062:1;2037:16;;;2055:4;2033:27;2026:38;;;;2041:7;1631:464;-1:-1:-1;;;1631:464:1:o;2100:980::-;2234:6;2242;2250;2258;2266;2274;2282;2290;2343:3;2331:9;2322:7;2318:23;2314:33;2311:53;;;2360:1;2357;2350:12;2311:53;2396:9;2383:23;2373:33;;2453:2;2442:9;2438:18;2425:32;2415:42;;2504:2;2493:9;2489:18;2476:32;2466:42;;2555:2;2544:9;2540:18;2527:32;2517:42;;2578:39;2612:3;2601:9;2597:19;2578:39;:::i;:::-;2568:49;;2668:3;2657:9;2653:19;2640:33;-1:-1:-1;;;;;2733:2:1;2725:6;2722:14;2719:34;;;2749:1;2746;2739:12;2719:34;2788:58;2838:7;2829:6;2818:9;2814:22;2788:58;:::i;:::-;2865:8;;-1:-1:-1;2762:84:1;-1:-1:-1;2953:3:1;2938:19;;2925:33;;-1:-1:-1;2970:16:1;;;2967:36;;;2999:1;2996;2989:12;2967:36;;3022:52;3066:7;3055:8;3044:9;3040:24;3022:52;:::i;:::-;3012:62;;;2100:980;;;;;;;;;;;:::o;3085:538::-;3180:6;3188;3196;3204;3257:3;3245:9;3236:7;3232:23;3228:33;3225:53;;;3274:1;3271;3264:12;3225:53;3297:29;3316:9;3297:29;:::i;:::-;3287:39;;3345:38;3379:2;3368:9;3364:18;3345:38;:::i;:::-;3335:48;;3430:2;3419:9;3415:18;3402:32;3392:42;;3485:2;3474:9;3470:18;3457:32;-1:-1:-1;;;;;3504:6:1;3501:30;3498:50;;;3544:1;3541;3534:12;3498:50;3567;3609:7;3600:6;3589:9;3585:22;3567:50;:::i;:::-;3557:60;;;3085:538;;;;;;;:::o;3835:712::-;3889:5;3942:3;3935:4;3927:6;3923:17;3919:27;3909:55;;3960:1;3957;3950:12;3909:55;3996:6;3983:20;4022:4;-1:-1:-1;;;;;4041:2:1;4038:26;4035:52;;;4067:18;;:::i;:::-;4113:2;4110:1;4106:10;4136:28;4160:2;4156;4152:11;4136:28;:::i;:::-;4198:15;;;4268;;;4264:24;;;4229:12;;;;4300:15;;;4297:35;;;4328:1;4325;4318:12;4297:35;4364:2;4356:6;4352:15;4341:26;;4376:142;4392:6;4387:3;4384:15;4376:142;;;4458:17;;4446:30;;4409:12;;;;4496;;;;4376:142;;4552:1133;4725:6;4733;4741;4749;4757;4765;4818:3;4806:9;4797:7;4793:23;4789:33;4786:53;;;4835:1;4832;4825:12;4786:53;4871:9;4858:23;4848:33;;4928:2;4917:9;4913:18;4900:32;4890:42;;4983:2;4972:9;4968:18;4955:32;-1:-1:-1;;;;;5047:2:1;5039:6;5036:14;5033:34;;;5063:1;5060;5053:12;5033:34;5086:61;5139:7;5130:6;5119:9;5115:22;5086:61;:::i;:::-;5076:71;;5200:2;5189:9;5185:18;5172:32;5156:48;;5229:2;5219:8;5216:16;5213:36;;;5245:1;5242;5235:12;5213:36;5268:63;5323:7;5312:8;5301:9;5297:24;5268:63;:::i;:::-;5258:73;;5384:3;5373:9;5369:19;5356:33;5340:49;;5414:2;5404:8;5401:16;5398:36;;;5430:1;5427;5420:12;5398:36;5453:52;5497:7;5486:8;5475:9;5471:24;5453:52;:::i;:::-;5443:62;;5558:3;5547:9;5543:19;5530:33;5514:49;;5588:2;5578:8;5575:16;5572:36;;;5604:1;5601;5594:12;5572:36;;5627:52;5671:7;5660:8;5649:9;5645:24;5627:52;:::i;:::-;5617:62;;;4552:1133;;;;;;;;:::o;5898:1208::-;6080:6;6088;6096;6104;6112;6120;6128;6181:3;6169:9;6160:7;6156:23;6152:33;6149:53;;;6198:1;6195;6188:12;6149:53;6234:9;6221:23;6211:33;;6291:2;6280:9;6276:18;6263:32;6253:42;;6346:2;6335:9;6331:18;6318:32;-1:-1:-1;;;;;6410:2:1;6402:6;6399:14;6396:34;;;6426:1;6423;6416:12;6396:34;6449:61;6502:7;6493:6;6482:9;6478:22;6449:61;:::i;:::-;6439:71;;6563:2;6552:9;6548:18;6535:32;6519:48;;6592:2;6582:8;6579:16;6576:36;;;6608:1;6605;6598:12;6576:36;6631:63;6686:7;6675:8;6664:9;6660:24;6631:63;:::i;:::-;6621:73;;6713:39;6747:3;6736:9;6732:19;6713:39;:::i;:::-;6703:49;;6805:3;6794:9;6790:19;6777:33;6761:49;;6835:2;6825:8;6822:16;6819:36;;;6851:1;6848;6841:12;6819:36;6874:52;6918:7;6907:8;6896:9;6892:24;6874:52;:::i;:::-;6864:62;;6979:3;6968:9;6964:19;6951:33;6935:49;;7009:2;6999:8;6996:16;6993:36;;;7025:1;7022;7015:12;6993:36;;7048:52;7092:7;7081:8;7070:9;7066:24;7048:52;:::i;:::-;7038:62;;;5898:1208;;;;;;;;;;:::o;7111:367::-;7174:8;7184:6;7238:3;7231:4;7223:6;7219:17;7215:27;7205:55;;7256:1;7253;7246:12;7205:55;-1:-1:-1;7279:20:1;;-1:-1:-1;;;;;7311:30:1;;7308:50;;;7354:1;7351;7344:12;7308:50;7391:4;7383:6;7379:17;7367:29;;7451:3;7444:4;7434:6;7431:1;7427:14;7419:6;7415:27;7411:38;7408:47;7405:67;;;7468:1;7465;7458:12;7483:1210;7643:6;7651;7659;7667;7675;7683;7691;7699;7752:3;7740:9;7731:7;7727:23;7723:33;7720:53;;;7769:1;7766;7759:12;7720:53;7792:29;7811:9;7792:29;:::i;:::-;7782:39;;7840:38;7874:2;7863:9;7859:18;7840:38;:::i;:::-;7830:48;;7929:2;7918:9;7914:18;7901:32;-1:-1:-1;;;;;7993:2:1;7985:6;7982:14;7979:34;;;8009:1;8006;7999:12;7979:34;8048:70;8110:7;8101:6;8090:9;8086:22;8048:70;:::i;:::-;8137:8;;-1:-1:-1;8022:96:1;-1:-1:-1;8225:2:1;8210:18;;8197:32;;-1:-1:-1;8241:16:1;;;8238:36;;;8270:1;8267;8260:12;8238:36;8309:72;8373:7;8362:8;8351:9;8347:24;8309:72;:::i;:::-;8400:8;;-1:-1:-1;8283:98:1;-1:-1:-1;8488:3:1;8473:19;;8460:33;;-1:-1:-1;8505:16:1;;;8502:36;;;8534:1;8531;8524:12;8502:36;;8573:60;8625:7;8614:8;8603:9;8599:24;8573:60;:::i;:::-;7483:1210;;;;-1:-1:-1;7483:1210:1;;-1:-1:-1;7483:1210:1;;;;;;8652:8;-1:-1:-1;;;7483:1210:1:o;8698:695::-;8804:6;8812;8820;8828;8836;8844;8897:3;8885:9;8876:7;8872:23;8868:33;8865:53;;;8914:1;8911;8904:12;8865:53;8937:29;8956:9;8937:29;:::i;:::-;8927:39;;8985:38;9019:2;9008:9;9004:18;8985:38;:::i;:::-;8975:48;;9070:2;9059:9;9055:18;9042:32;9032:42;;9121:2;9110:9;9106:18;9093:32;9083:42;;9176:3;9165:9;9161:19;9148:33;-1:-1:-1;;;;;9196:6:1;9193:30;9190:50;;;9236:1;9233;9226:12;9190:50;9275:58;9325:7;9316:6;9305:9;9301:22;9275:58;:::i;:::-;8698:695;;;;-1:-1:-1;8698:695:1;;-1:-1:-1;8698:695:1;;9352:8;;8698:695;-1:-1:-1;;;8698:695:1:o;9398:836::-;9514:6;9522;9530;9538;9546;9554;9607:3;9595:9;9586:7;9582:23;9578:33;9575:53;;;9624:1;9621;9614:12;9575:53;9660:9;9647:23;9637:33;;9717:2;9706:9;9702:18;9689:32;9679:42;;9768:2;9757:9;9753:18;9740:32;9730:42;;9823:2;9812:9;9808:18;9795:32;-1:-1:-1;;;;;9887:2:1;9879:6;9876:14;9873:34;;;9903:1;9900;9893:12;9873:34;9942:58;9992:7;9983:6;9972:9;9968:22;9942:58;:::i;:::-;10019:8;;-1:-1:-1;9916:84:1;-1:-1:-1;10107:3:1;10092:19;;10079:33;;-1:-1:-1;10124:16:1;;;10121:36;;;10153:1;10150;10143:12;10421:944;10575:6;10583;10591;10599;10607;10660:3;10648:9;10639:7;10635:23;10631:33;10628:53;;;10677:1;10674;10667:12;10628:53;10700:29;10719:9;10700:29;:::i;:::-;10690:39;;10748:38;10782:2;10771:9;10767:18;10748:38;:::i;:::-;10738:48;;10837:2;10826:9;10822:18;10809:32;-1:-1:-1;;;;;10901:2:1;10893:6;10890:14;10887:34;;;10917:1;10914;10907:12;10887:34;10940:61;10993:7;10984:6;10973:9;10969:22;10940:61;:::i;:::-;10930:71;;11054:2;11043:9;11039:18;11026:32;11010:48;;11083:2;11073:8;11070:16;11067:36;;;11099:1;11096;11089:12;11067:36;11122:63;11177:7;11166:8;11155:9;11151:24;11122:63;:::i;:::-;11112:73;;11238:3;11227:9;11223:19;11210:33;11194:49;;11268:2;11258:8;11255:16;11252:36;;;11284:1;11281;11274:12;11252:36;;11307:52;11351:7;11340:8;11329:9;11325:24;11307:52;:::i;:::-;11297:62;;;10421:944;;;;;;;;:::o;11370:626::-;11467:6;11475;11483;11491;11499;11552:3;11540:9;11531:7;11527:23;11523:33;11520:53;;;11569:1;11566;11559:12;11520:53;11592:29;11611:9;11592:29;:::i;:::-;11582:39;;11640:38;11674:2;11663:9;11659:18;11640:38;:::i;:::-;11630:48;;11725:2;11714:9;11710:18;11697:32;11687:42;;11780:2;11769:9;11765:18;11752:32;-1:-1:-1;;;;;11799:6:1;11796:30;11793:50;;;11839:1;11836;11829:12;11793:50;11878:58;11928:7;11919:6;11908:9;11904:22;11878:58;:::i;:::-;11370:626;;;;-1:-1:-1;11370:626:1;;-1:-1:-1;11955:8:1;;11852:84;11370:626;-1:-1:-1;;;11370:626:1:o;12001:607::-;12105:6;12113;12121;12129;12137;12190:3;12178:9;12169:7;12165:23;12161:33;12158:53;;;12207:1;12204;12197:12;12158:53;12230:29;12249:9;12230:29;:::i;:::-;12220:39;;12278:38;12312:2;12301:9;12297:18;12278:38;:::i;:::-;12268:48;;12363:2;12352:9;12348:18;12335:32;12325:42;;12414:2;12403:9;12399:18;12386:32;12376:42;;12469:3;12458:9;12454:19;12441:33;-1:-1:-1;;;;;12489:6:1;12486:30;12483:50;;;12529:1;12526;12519:12;12483:50;12552;12594:7;12585:6;12574:9;12570:22;12552:50;:::i;12836:266::-;12924:6;12919:3;12912:19;12976:6;12969:5;12962:4;12957:3;12953:14;12940:43;-1:-1:-1;13028:1:1;13003:16;;;13021:4;12999:27;;;12992:38;;;;13084:2;13063:15;;;-1:-1:-1;;13059:29:1;13050:39;;;13046:50;;12836:266::o;13107:629::-;13404:6;13393:9;13386:25;13447:6;13442:2;13431:9;13427:18;13420:34;13490:6;13485:2;13474:9;13470:18;13463:34;13533:6;13528:2;13517:9;13513:18;13506:34;13606:1;13602;13597:3;13593:11;13589:19;13581:6;13577:32;13571:3;13560:9;13556:19;13549:61;13647:3;13641;13630:9;13626:19;13619:32;13367:4;13668:62;13725:3;13714:9;13710:19;13702:6;13694;13668:62;:::i;:::-;13660:70;13107:629;-1:-1:-1;;;;;;;;;13107:629:1:o;13741:250::-;13826:1;13836:113;13850:6;13847:1;13844:13;13836:113;;;13926:11;;;13920:18;13907:11;;;13900:39;13872:2;13865:10;13836:113;;;-1:-1:-1;;13983:1:1;13965:16;;13958:27;13741:250::o;13996:289::-;14127:3;14165:6;14159:13;14181:66;14240:6;14235:3;14228:4;14220:6;14216:17;14181:66;:::i;:::-;14263:16;;;;;13996:289;-1:-1:-1;;13996:289:1:o;14290:271::-;14332:3;14370:5;14364:12;14397:6;14392:3;14385:19;14413:76;14482:6;14475:4;14470:3;14466:14;14459:4;14452:5;14448:16;14413:76;:::i;:::-;14543:2;14522:15;-1:-1:-1;;14518:29:1;14509:39;;;;14550:4;14505:50;;14290:271;-1:-1:-1;;14290:271:1:o;14566:220::-;14715:2;14704:9;14697:21;14678:4;14735:45;14776:2;14765:9;14761:18;14753:6;14735:45;:::i;14791:273::-;14859:6;14912:2;14900:9;14891:7;14887:23;14883:32;14880:52;;;14928:1;14925;14918:12;14880:52;14960:9;14954:16;15010:4;15003:5;14999:16;14992:5;14989:27;14979:55;;15030:1;15027;15020:12;15201:127;15262:10;15257:3;15253:20;15250:1;15243:31;15293:4;15290:1;15283:15;15317:4;15314:1;15307:15;15893:232;15932:3;15953:17;;;15950:140;;16012:10;16007:3;16003:20;16000:1;15993:31;16047:4;16044:1;16037:15;16075:4;16072:1;16065:15;15950:140;-1:-1:-1;16117:1:1;16106:13;;15893:232::o;16419:435::-;16472:3;16510:5;16504:12;16537:6;16532:3;16525:19;16563:4;16592:2;16587:3;16583:12;16576:19;;16629:2;16622:5;16618:14;16650:1;16660:169;16674:6;16671:1;16668:13;16660:169;;;16735:13;;16723:26;;16769:12;;;;16804:15;;;;16696:1;16689:9;16660:169;;;-1:-1:-1;16845:3:1;;16419:435;-1:-1:-1;;;;;16419:435:1:o;16859:889::-;-1:-1:-1;;;;;17310:15:1;;;17292:34;;17362:15;;17357:2;17342:18;;17335:43;17272:3;17409:2;17394:18;;17387:31;;;17235:4;;17441:57;;17478:19;;17470:6;17441:57;:::i;:::-;17546:9;17538:6;17534:22;17529:2;17518:9;17514:18;17507:50;17580:44;17617:6;17609;17580:44;:::i;:::-;17661:22;;;17655:3;17640:19;;;17633:51;;;;-1:-1:-1;;17708:1:1;17693:17;;17739:2;17727:15;;16859:889;-1:-1:-1;;;;16859:889:1:o;18098:771::-;18457:6;18446:9;18439:25;18500:6;18495:2;18484:9;18480:18;18473:34;18543:3;18538:2;18527:9;18523:18;18516:31;18420:4;18570:57;18622:3;18611:9;18607:19;18599:6;18570:57;:::i;:::-;18675:9;18667:6;18663:22;18658:2;18647:9;18643:18;18636:50;18709:44;18746:6;18738;18709:44;:::i;:::-;18695:58;;18802:9;18794:6;18790:22;18784:3;18773:9;18769:19;18762:51;18830:33;18856:6;18848;18830:33;:::i;:::-;18822:41;18098:771;-1:-1:-1;;;;;;;;18098:771:1:o;18874:869::-;19261:6;19250:9;19243:25;19304:6;19299:2;19288:9;19284:18;19277:34;19347:3;19342:2;19331:9;19327:18;19320:31;19224:4;19374:57;19426:3;19415:9;19411:19;19403:6;19374:57;:::i;:::-;19479:9;19471:6;19467:22;19462:2;19451:9;19447:18;19440:50;19513:44;19550:6;19542;19513:44;:::i;:::-;-1:-1:-1;;;;;19594:32:1;;19588:3;19573:19;;19566:61;19664:22;;;19614:3;19643:19;;19636:51;19499:58;-1:-1:-1;19704:33:1;19499:58;19722:6;19704:33;:::i;19748:459::-;19989:6;19978:9;19971:25;20032:6;20027:2;20016:9;20012:18;20005:34;20075:6;20070:2;20059:9;20055:18;20048:34;20118:3;20113:2;20102:9;20098:18;20091:31;19952:4;20139:62;20196:3;20185:9;20181:19;20173:6;20165;20139:62;:::i;20212:442::-;20265:5;20318:3;20311:4;20303:6;20299:17;20295:27;20285:55;;20336:1;20333;20326:12;20285:55;20365:6;20359:13;20396:49;20412:32;20441:2;20412:32;:::i;20396:49::-;20470:2;20461:7;20454:19;20516:3;20509:4;20504:2;20496:6;20492:15;20488:26;20485:35;20482:55;;;20533:1;20530;20523:12;20482:55;20546:77;20620:2;20613:4;20604:7;20600:18;20593:4;20585:6;20581:17;20546:77;:::i;20659:681::-;20774:6;20782;20790;20798;20851:3;20839:9;20830:7;20826:23;20822:33;20819:53;;;20868:1;20865;20858:12;20819:53;20897:9;20891:16;20881:26;;20951:2;20940:9;20936:18;20930:25;-1:-1:-1;;;;;21015:2:1;21007:6;21004:14;21001:34;;;21031:1;21028;21021:12;21001:34;21054:60;21106:7;21097:6;21086:9;21082:22;21054:60;:::i;:::-;21044:70;;21154:2;21143:9;21139:18;21133:25;21123:35;;21204:2;21193:9;21189:18;21183:25;21167:41;;21233:2;21223:8;21220:16;21217:36;;;21249:1;21246;21239:12;21217:36;;21272:62;21326:7;21315:8;21304:9;21300:24;21272:62;:::i;22650:277::-;22717:6;22770:2;22758:9;22749:7;22745:23;22741:32;22738:52;;;22786:1;22783;22776:12;22738:52;22818:9;22812:16;22871:5;22864:13;22857:21;22850:5;22847:32;22837:60;;22893:1;22890;22883:12
Swarm Source
ipfs://ef2bb0d81c9c52ffda6ac73185141e0e95808a62842b63f6623bf2d1d6f1102c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.