Polygon Sponsored slots available. Book your slot here!
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 6,984 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Pay | 70638401 | 6 hrs ago | IN | 0 POL | 0.00220833 | ||||
Pay | 70636489 | 7 hrs ago | IN | 0 POL | 0.00266931 | ||||
Pay | 70631313 | 10 hrs ago | IN | 0.0462 POL | 0.00153744 | ||||
Pay | 70631193 | 10 hrs ago | IN | 0.0462 POL | 0.00153744 | ||||
Pay | 70630774 | 10 hrs ago | IN | 0.046 POL | 0.00153708 | ||||
Pay | 70597145 | 30 hrs ago | IN | 0 POL | 0.00266931 | ||||
Pay | 70586993 | 36 hrs ago | IN | 0 POL | 0.00266931 | ||||
Pay | 70586059 | 37 hrs ago | IN | 0 POL | 0.00579153 | ||||
Pay | 70583929 | 38 hrs ago | IN | 24.964 POL | 0.00514658 | ||||
Pay | 70581604 | 39 hrs ago | IN | 0 POL | 0.00274052 | ||||
Pay | 70580282 | 40 hrs ago | IN | 0 POL | 0.00266961 | ||||
Pay | 70573696 | 44 hrs ago | IN | 0 POL | 0.00318231 | ||||
Pay | 70566087 | 2 days ago | IN | 0 POL | 0.00254628 | ||||
Pay | 70546849 | 2 days ago | IN | 738.313 POL | 0.00523506 | ||||
Pay | 70528268 | 2 days ago | IN | 1,062.834 POL | 0.00573146 | ||||
Pay | 70525813 | 3 days ago | IN | 1,475.152 POL | 0.00559284 | ||||
Pay | 70521537 | 3 days ago | IN | 26.251 POL | 0.0044644 | ||||
Pay | 70510649 | 3 days ago | IN | 0 POL | 0.0030618 | ||||
Pay | 70483537 | 4 days ago | IN | 0 POL | 0.0025488 | ||||
Pay | 70473354 | 4 days ago | IN | 903.553 POL | 0.00553953 | ||||
Pay | 70468458 | 4 days ago | IN | 0 POL | 0.00266931 | ||||
Pay | 70464916 | 4 days ago | IN | 0 POL | 0.00266895 | ||||
Pay | 70463581 | 4 days ago | IN | 0 POL | 0.00611454 | ||||
Pay | 70461078 | 4 days ago | IN | 0 POL | 0.00588537 | ||||
Pay | 70451901 | 4 days ago | IN | 0 POL | 0.0030546 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
70631313 | 10 hrs ago | 0.000693 POL | ||||
70631313 | 10 hrs ago | 0.045507 POL | ||||
70631193 | 10 hrs ago | 0.000693 POL | ||||
70631193 | 10 hrs ago | 0.045507 POL | ||||
70630774 | 10 hrs ago | 0.00069 POL | ||||
70630774 | 10 hrs ago | 0.04531 POL | ||||
70583929 | 38 hrs ago | 0.00039446 POL | ||||
70583929 | 38 hrs ago | 24.964 POL | ||||
70546849 | 2 days ago | 0.00015262 POL | ||||
70546849 | 2 days ago | 738.313 POL | ||||
70528268 | 2 days ago | 1,062.834 POL | ||||
70525813 | 3 days ago | 0.00081016 POL | ||||
70525813 | 3 days ago | 1,475.152 POL | ||||
70521537 | 3 days ago | 0.0008497 POL | ||||
70521537 | 3 days ago | 26.251 POL | ||||
70473354 | 4 days ago | 0.00039121 POL | ||||
70473354 | 4 days ago | 903.553 POL | ||||
70440820 | 5 days ago | 0.00088041 POL | ||||
70440820 | 5 days ago | 54.746 POL | ||||
70423145 | 5 days ago | 0.00073426 POL | ||||
70423145 | 5 days ago | 1,527.593 POL | ||||
70417902 | 5 days ago | 0.00072739 POL | ||||
70417902 | 5 days ago | 1,113.943 POL | ||||
70363557 | 7 days ago | 0.00076275 POL | ||||
70363557 | 7 days ago | 55.899 POL |
Loading...
Loading
Contract Name:
DePayRouterV2
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-09-11 */ // Dependency file: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) // pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // Dependency file: @openzeppelin/contracts/access/Ownable2Step.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/access/Ownable.sol"; /** * @dev Contract module which provides access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner"); _transferOwnership(sender); } } // Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol // 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); } // Dependency file: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol // 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); } // Dependency file: @openzeppelin/contracts/utils/Address.sol // 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); } } } // Dependency file: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol"; // import "@openzeppelin/contracts/utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. 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)); } } // Dependency file: contracts/interfaces/IPermit2.sol // pragma solidity 0.8.18; interface IPermit2 { struct PermitDetails { address token; uint160 amount; uint48 expiration; uint48 nonce; } struct PermitSingle { PermitDetails details; address spender; uint256 sigDeadline; } function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external; function transferFrom(address from, address to, uint160 amount, address token) external; function allowance(address user, address token, address spender) external view returns (uint160 amount, uint48 expiration, uint48 nonce); } // Dependency file: contracts/interfaces/IDePayRouterV2.sol // pragma solidity 0.8.18; // import 'contracts/interfaces/IPermit2.sol'; interface IDePayRouterV2 { struct Payment { uint256 amountIn; bool permit2; uint256 paymentAmount; uint256 feeAmount; address tokenInAddress; address exchangeAddress; address tokenOutAddress; address paymentReceiverAddress; address feeReceiverAddress; uint8 exchangeType; uint8 receiverType; bytes exchangeCallData; bytes receiverCallData; uint256 deadline; } function pay( Payment calldata payment ) external payable returns(bool); function pay( IDePayRouterV2.Payment calldata payment, IPermit2.PermitSingle memory permitSingle, bytes calldata signature ) external payable returns(bool); event Enabled( address indexed exchange ); event Disabled( address indexed exchange ); function enable(address exchange, bool enabled) external returns(bool); function withdraw(address token, uint amount) external returns(bool); } // Dependency file: contracts/interfaces/IDePayForwarderV2.sol // pragma solidity 0.8.18; // import 'contracts/interfaces/IDePayRouterV2.sol'; interface IDePayForwarderV2 { function forward( IDePayRouterV2.Payment calldata payment ) external payable returns(bool); function toggle(bool stop) external returns(bool); } // Root file: contracts/DePayRouterV2.sol pragma solidity 0.8.18; // import "@openzeppelin/contracts/access/Ownable2Step.sol"; // import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; // import 'contracts/interfaces/IPermit2.sol'; // import 'contracts/interfaces/IDePayRouterV2.sol'; // import 'contracts/interfaces/IDePayForwarderV2.sol'; /// @title DePayRouterV2 /// @notice This contract handles payments and token conversions. /// @dev Inherit from Ownable2Step for ownership functionalities. contract DePayRouterV2 is Ownable2Step { using SafeERC20 for IERC20; // Custom errors error PaymentDeadlineReached(); error WrongAmountPaidIn(); error ExchangeNotApproved(); error ExchangeCallMissing(); error ExchangeCallFailed(); error ForwardingPaymentFailed(); error NativePaymentFailed(); error NativeFeePaymentFailed(); error PaymentToZeroAddressNotAllowed(); error InsufficientBalanceInAfterPayment(); error InsufficientBalanceOutAfterPayment(); /// @notice Address representing the NATIVE token (e.g. ETH, BNB, MATIC, etc.) address constant NATIVE = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; /// @notice Address of PERMIT2 address public immutable PERMIT2; /// @notice Address of the payment FORWARDER contract address public immutable FORWARDER; /// @notice List of approved exchanges for conversion. mapping (address => bool) public exchanges; /// @dev Initializes the contract with PERMIT2 and FORWARDER addresses. /// @param _PERMIT2 The address of the PERMIT2 contract. /// @param _FORWARDER The address of the FORWARDER contract. constructor (address _PERMIT2, address _FORWARDER) { PERMIT2 = _PERMIT2; FORWARDER = _FORWARDER; } /// @notice Accepts NATIVE payments, which is required in order to swap from and to NATIVE, especially unwrapping as part of conversions. receive() external payable {} /// @dev Transfer polyfil event for internal transfers. event InternalTransfer( address indexed from, address indexed to, uint256 value ); /// @dev Handles the payment process (tokenIn approval has been granted prior). /// @param payment The payment data. /// @return Returns true if successful. function _pay( IDePayRouterV2.Payment calldata payment ) internal returns(bool){ uint256 balanceInBefore; uint256 balanceOutBefore; (balanceInBefore, balanceOutBefore) = _validatePreConditions(payment); _payIn(payment); _performPayment(payment); _validatePostConditions(payment, balanceInBefore, balanceOutBefore); return true; } /// @notice Handles the payment process for external callers. /// @param payment The payment data. /// @return Returns true if successful. function pay( IDePayRouterV2.Payment calldata payment ) external payable returns(bool){ return _pay(payment); } /// @dev Handles the payment process with permit2 approval (internal). /// @param payment The payment data. /// @param permitSingle The permit single data. /// @param signature The permit signature. /// @return Returns true if successful. function _pay( IDePayRouterV2.Payment calldata payment, IPermit2.PermitSingle memory permitSingle, bytes calldata signature ) internal returns(bool){ uint256 balanceInBefore; uint256 balanceOutBefore; (balanceInBefore, balanceOutBefore) = _validatePreConditions(payment); _permit(permitSingle, signature); _payIn(payment); _performPayment(payment); _validatePostConditions(payment, balanceInBefore, balanceOutBefore); return true; } /// @notice Handles the payment process with permit2 approval for external callers. /// @param payment The payment data. /// @param permitSingle The permit single data. /// @param signature The permit signature. /// @return Returns true if successful. function pay( IDePayRouterV2.Payment calldata payment, IPermit2.PermitSingle memory permitSingle, bytes calldata signature ) external payable returns(bool){ return _pay(payment, permitSingle, signature); } /// @dev Validates the pre-conditions for a payment. /// @param payment The payment data. /// @return balanceInBefore The balance in before the payment. /// @return balanceOutBefore The balance out before the payment. function _validatePreConditions(IDePayRouterV2.Payment calldata payment) internal returns(uint256 balanceInBefore, uint256 balanceOutBefore) { // Make sure payment deadline has not been passed, yet if(payment.deadline < block.timestamp) { revert PaymentDeadlineReached(); } // Store tokenIn balance prior to payment if(payment.tokenInAddress == NATIVE) { balanceInBefore = address(this).balance - msg.value; } else { balanceInBefore = IERC20(payment.tokenInAddress).balanceOf(address(this)); } // Store tokenOut balance prior to payment if(payment.tokenOutAddress == NATIVE) { balanceOutBefore = address(this).balance - msg.value; } else { balanceOutBefore = IERC20(payment.tokenOutAddress).balanceOf(address(this)); } } /// @dev Handles permit2 operations. /// @param permitSingle The permit single data. /// @param signature The permit signature. function _permit( IPermit2.PermitSingle memory permitSingle, bytes calldata signature ) internal { IPermit2(PERMIT2).permit( msg.sender, // owner permitSingle, signature ); } /// @dev Processes the payIn operations. /// @param payment The payment data. function _payIn( IDePayRouterV2.Payment calldata payment ) internal { // Make sure that the sender has paid in the correct token & amount if(payment.tokenInAddress == NATIVE) { if(msg.value != payment.amountIn) { revert WrongAmountPaidIn(); } } else if(payment.permit2) { IPermit2(PERMIT2).transferFrom(msg.sender, address(this), uint160(payment.amountIn), payment.tokenInAddress); } else { IERC20(payment.tokenInAddress).safeTransferFrom(msg.sender, address(this), payment.amountIn); } } /// @dev Processes the payment. /// @param payment The payment data. function _performPayment(IDePayRouterV2.Payment calldata payment) internal { // Perform conversion if required if(payment.exchangeAddress != address(0)) { _convert(payment); } // Perform payment to paymentReceiver _payReceiver(payment); // Perform payment to feeReceiver if(payment.feeReceiverAddress != address(0)) { _payFee(payment); } } /// @dev Validates the post-conditions for a payment. /// @param payment The payment data. /// @param balanceInBefore The balance in before the payment. /// @param balanceOutBefore The balance out before the payment. function _validatePostConditions(IDePayRouterV2.Payment calldata payment, uint256 balanceInBefore, uint256 balanceOutBefore) internal view { // Ensure balances of tokenIn remained if(payment.tokenInAddress == NATIVE) { if(address(this).balance < balanceInBefore) { revert InsufficientBalanceInAfterPayment(); } } else { if(IERC20(payment.tokenInAddress).balanceOf(address(this)) < balanceInBefore) { revert InsufficientBalanceInAfterPayment(); } } // Ensure balances of tokenOut remained if(payment.tokenOutAddress == NATIVE) { if(address(this).balance < balanceOutBefore) { revert InsufficientBalanceOutAfterPayment(); } } else { if(IERC20(payment.tokenOutAddress).balanceOf(address(this)) < balanceOutBefore) { revert InsufficientBalanceOutAfterPayment(); } } } /// @dev Handles token conversions. /// @param payment The payment data. function _convert(IDePayRouterV2.Payment calldata payment) internal { if(!exchanges[payment.exchangeAddress]) { revert ExchangeNotApproved(); } bool success; if(payment.tokenInAddress == NATIVE) { if(payment.exchangeCallData.length == 0) { revert ExchangeCallMissing(); } (success,) = payment.exchangeAddress.call{value: msg.value}(payment.exchangeCallData); } else { if(payment.exchangeType == 1) { // pull IERC20(payment.tokenInAddress).safeApprove(payment.exchangeAddress, payment.amountIn); } else if(payment.exchangeType == 2) { // push IERC20(payment.tokenInAddress).safeTransfer(payment.exchangeAddress, payment.amountIn); } (success,) = payment.exchangeAddress.call(payment.exchangeCallData); if(payment.exchangeType == 1) { // pull IERC20(payment.tokenInAddress).safeApprove(payment.exchangeAddress, 0); } } if(!success){ revert ExchangeCallFailed(); } } /// @dev Processes payment to receiver. /// @param payment The payment data. function _payReceiver(IDePayRouterV2.Payment calldata payment) internal { if(payment.receiverType != 0) { // call receiver contract { bool success; if(payment.tokenOutAddress == NATIVE) { success = IDePayForwarderV2(FORWARDER).forward{value: payment.paymentAmount}(payment); emit InternalTransfer(msg.sender, payment.paymentReceiverAddress, payment.paymentAmount); } else { IERC20(payment.tokenOutAddress).safeTransfer(FORWARDER, payment.paymentAmount); success = IDePayForwarderV2(FORWARDER).forward(payment); } if(!success) { revert ForwardingPaymentFailed(); } } } else { // just send payment to address if(payment.tokenOutAddress == NATIVE) { if(payment.paymentReceiverAddress == address(0)){ revert PaymentToZeroAddressNotAllowed(); } (bool success,) = payment.paymentReceiverAddress.call{value: payment.paymentAmount}(new bytes(0)); if(!success) { revert NativePaymentFailed(); } emit InternalTransfer(msg.sender, payment.paymentReceiverAddress, payment.paymentAmount); } else { IERC20(payment.tokenOutAddress).safeTransfer(payment.paymentReceiverAddress, payment.paymentAmount); } } } /// @dev Processes fee payments. /// @param payment The payment data. function _payFee(IDePayRouterV2.Payment calldata payment) internal { if(payment.tokenOutAddress == NATIVE) { (bool success,) = payment.feeReceiverAddress.call{value: payment.feeAmount}(new bytes(0)); if(!success) { revert NativeFeePaymentFailed(); } emit InternalTransfer(msg.sender, payment.feeReceiverAddress, payment.feeAmount); } else { IERC20(payment.tokenOutAddress).safeTransfer(payment.feeReceiverAddress, payment.feeAmount); } } /// @dev Event emitted if new exchange has been enabled. event Enabled( address indexed exchange ); /// @dev Event emitted if an exchange has been disabled. event Disabled( address indexed exchange ); /// @notice Enables or disables an exchange. /// @param exchange The address of the exchange. /// @param enabled A boolean value to enable or disable the exchange. /// @return Returns true if successful. function enable(address exchange, bool enabled) external onlyOwner returns(bool) { exchanges[exchange] = enabled; if(enabled) { emit Enabled(exchange); } else { emit Disabled(exchange); } return true; } /// @notice Allows the owner to withdraw accidentally sent tokens. /// @param token The token address. /// @param amount The amount to withdraw. function withdraw( address token, uint amount ) external onlyOwner returns(bool) { if(token == NATIVE) { (bool success,) = address(msg.sender).call{value: amount}(new bytes(0)); require(success, 'DePay: withdraw failed!'); } else { IERC20(token).safeTransfer(msg.sender, amount); } return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_PERMIT2","type":"address"},{"internalType":"address","name":"_FORWARDER","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ExchangeCallFailed","type":"error"},{"inputs":[],"name":"ExchangeCallMissing","type":"error"},{"inputs":[],"name":"ExchangeNotApproved","type":"error"},{"inputs":[],"name":"ForwardingPaymentFailed","type":"error"},{"inputs":[],"name":"InsufficientBalanceInAfterPayment","type":"error"},{"inputs":[],"name":"InsufficientBalanceOutAfterPayment","type":"error"},{"inputs":[],"name":"NativeFeePaymentFailed","type":"error"},{"inputs":[],"name":"NativePaymentFailed","type":"error"},{"inputs":[],"name":"PaymentDeadlineReached","type":"error"},{"inputs":[],"name":"PaymentToZeroAddressNotAllowed","type":"error"},{"inputs":[],"name":"WrongAmountPaidIn","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"exchange","type":"address"}],"name":"Disabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"exchange","type":"address"}],"name":"Enabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"InternalTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"FORWARDER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"exchange","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"enable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exchanges","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"bool","name":"permit2","type":"bool"},{"internalType":"uint256","name":"paymentAmount","type":"uint256"},{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"address","name":"tokenInAddress","type":"address"},{"internalType":"address","name":"exchangeAddress","type":"address"},{"internalType":"address","name":"tokenOutAddress","type":"address"},{"internalType":"address","name":"paymentReceiverAddress","type":"address"},{"internalType":"address","name":"feeReceiverAddress","type":"address"},{"internalType":"uint8","name":"exchangeType","type":"uint8"},{"internalType":"uint8","name":"receiverType","type":"uint8"},{"internalType":"bytes","name":"exchangeCallData","type":"bytes"},{"internalType":"bytes","name":"receiverCallData","type":"bytes"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct IDePayRouterV2.Payment","name":"payment","type":"tuple"}],"name":"pay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"bool","name":"permit2","type":"bool"},{"internalType":"uint256","name":"paymentAmount","type":"uint256"},{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"address","name":"tokenInAddress","type":"address"},{"internalType":"address","name":"exchangeAddress","type":"address"},{"internalType":"address","name":"tokenOutAddress","type":"address"},{"internalType":"address","name":"paymentReceiverAddress","type":"address"},{"internalType":"address","name":"feeReceiverAddress","type":"address"},{"internalType":"uint8","name":"exchangeType","type":"uint8"},{"internalType":"uint8","name":"receiverType","type":"uint8"},{"internalType":"bytes","name":"exchangeCallData","type":"bytes"},{"internalType":"bytes","name":"receiverCallData","type":"bytes"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct IDePayRouterV2.Payment","name":"payment","type":"tuple"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IPermit2.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IPermit2.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"pay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040523480156200001157600080fd5b506040516200290c3803806200290c8339810160408190526200003491620000ee565b6200003f3362000057565b6001600160a01b039182166080521660a05262000126565b600180546001600160a01b03191690556200007e8162000081602090811b6200068817901c565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620000e957600080fd5b919050565b600080604083850312156200010257600080fd5b6200010d83620000d1565b91506200011d60208401620000d1565b90509250929050565b60805160a05161279d6200016f60003960008181610204015281816115d6015281816116fc015261176d01526000818161011101528181610bd7015261103d015261279d6000f3fe6080604052600436106100cb5760003560e01c80638da5cb5b11610074578063ec9736421161004e578063ec97364214610251578063f2fde38b14610271578063f3fef3a31461029157600080fd5b80638da5cb5b146101c7578063ca2ad973146101f2578063e30c39781461022657600080fd5b8063715018a6116100a5578063715018a61461016b5780637412dbb31461018257806379ba5097146101b257600080fd5b8063422feecb146100d75780636afdd850146100ff578063705c9b141461015857600080fd5b366100d257005b600080fd5b6100ea6100e5366004611f7a565b6102b1565b60405190151581526020015b60405180910390f35b34801561010b57600080fd5b506101337f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f6565b6100ea6101663660046120da565b6102c2565b34801561017757600080fd5b506101806102db565b005b34801561018e57600080fd5b506100ea61019d366004612201565b60026020526000908152604090205460ff1681565b3480156101be57600080fd5b506101806102ef565b3480156101d357600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610133565b3480156101fe57600080fd5b506101337f000000000000000000000000000000000000000000000000000000000000000081565b34801561023257600080fd5b5060015473ffffffffffffffffffffffffffffffffffffffff16610133565b34801561025d57600080fd5b506100ea61026c36600461223e565b6103a9565b34801561027d57600080fd5b5061018061028c366004612201565b61049c565b34801561029d57600080fd5b506100ea6102ac366004612277565b61054c565b60006102bc826106fd565b92915050565b60006102d085858585610737565b90505b949350505050565b6102e361077f565b6102ed6000610800565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461039d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103a681610800565b50565b60006103b361077f565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001683158015919091179091556104515760405173ffffffffffffffffffffffffffffffffffffffff8416907f44bcce471802f9158ee4390426e4a931d186757cc50d302f6747504c17516d1290600090a2610493565b60405173ffffffffffffffffffffffffffffffffffffffff8416907ff54453d15e2e6aee566733e6da03165ea58500408e802e05aa4e75f2408f59fe90600090a25b50600192915050565b6104a461077f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561050760005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600061055661077f565b7fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff8416016106675760408051600080825260208201909252339084906040516105b491906122c7565b60006040518083038185875af1925050503d80600081146105f1576040519150601f19603f3d011682016040523d82523d6000602084013e6105f6565b606091505b5050905080610661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f44655061793a207769746864726177206661696c6564210000000000000000006044820152606401610394565b50610493565b61049373ffffffffffffffffffffffffffffffffffffffff84163384610831565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061070b8461090a565b909250905061071984610b31565b61072284610cde565b61072d848383610d55565b5060019392505050565b60008060006107458761090a565b9092509050610755868686611000565b61075e87610b31565b61076787610cde565b610772878383610d55565b5060019695505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610394565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556103a681610688565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109059084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526110af565b505050565b60008042836101a00135101561094c576040517f17e0bcd900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61097160a0850160808601612201565b73ffffffffffffffffffffffffffffffffffffffff160361099d5761099634476122e3565b9150610a40565b6109ad60a0840160808501612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d919061231d565b91505b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610a6560e0850160c08601612201565b73ffffffffffffffffffffffffffffffffffffffff1603610a9157610a8a34476122e3565b9050915091565b610aa160e0840160c08501612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8a919061231d565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610b5660a0830160808401612201565b73ffffffffffffffffffffffffffffffffffffffff1603610bab57348135146103a6576040517fed0842e300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bbb6040820160208301612336565b15610ca95773ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166336c7851633308435610c1060a0870160808801612201565b60405160e086901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff9485166004820152928416602484015290831660448301529091166064820152608401600060405180830381600087803b158015610c8e57600080fd5b505af1158015610ca2573d6000803e3d6000fd5b5050505050565b6103a633308335610cc060a0860160808701612201565b73ffffffffffffffffffffffffffffffffffffffff169291906111be565b6000610cf060c0830160a08401612201565b73ffffffffffffffffffffffffffffffffffffffff1614610d1457610d1481611222565b610d1d81611578565b6000610d3161012083016101008401612201565b73ffffffffffffffffffffffffffffffffffffffff16146103a6576103a681611a2f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610d7a60a0850160808601612201565b73ffffffffffffffffffffffffffffffffffffffff1603610dd45781471015610dcf576040517f8425754100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ead565b81610de560a0850160808601612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e75919061231d565b1015610ead576040517f8425754100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610ed260e0850160c08601612201565b73ffffffffffffffffffffffffffffffffffffffff1603610f275780471015610905576040517f808b961200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610f3860e0850160c08601612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc8919061231d565b1015610905576040517f808b961200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f2b67b57000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632b67b5709061107890339087908790879060040161239c565b600060405180830381600087803b15801561109257600080fd5b505af11580156110a6573d6000803e3d6000fd5b50505050505050565b6000611111826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611bd89092919063ffffffff16565b9050805160001480611132575080806020019051810190611132919061241f565b610905576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610394565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261121c9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610883565b50505050565b6002600061123660c0840160a08501612201565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff16611296576040517fc35a393200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6112bd60a0840160808501612201565b73ffffffffffffffffffffffffffffffffffffffff16036113b1576112e661016083018361243c565b9050600003611321576040517f6b8072c900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61133160c0830160a08401612201565b73ffffffffffffffffffffffffffffffffffffffff163461135661016085018561243c565b6040516113649291906124a1565b60006040518083038185875af1925050503d80600081146113a1576040519150601f19603f3d011682016040523d82523d6000602084013e6113a6565b606091505b50508091505061153d565b6113c3610140830161012084016124c2565b60ff166001036114145761140f6113e060c0840160a08501612201565b83356113f260a0860160808701612201565b73ffffffffffffffffffffffffffffffffffffffff169190611be7565b611472565b611426610140830161012084016124c2565b60ff166002036114725761147261144360c0840160a08501612201565b833561145560a0860160808701612201565b73ffffffffffffffffffffffffffffffffffffffff169190610831565b61148260c0830160a08401612201565b73ffffffffffffffffffffffffffffffffffffffff166114a661016084018461243c565b6040516114b49291906124a1565b6000604051808303816000865af19150503d80600081146114f1576040519150601f19603f3d011682016040523d82523d6000602084013e6114f6565b606091505b5090915061150e9050610140830161012084016124c2565b60ff1660010361153d5761153d61152b60c0840160a08501612201565b60006113f260a0860160808701612201565b80611574576040517f6d8040c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b61158a610160820161014083016124c2565b60ff161561181f57600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6115b960e0840160c08501612201565b73ffffffffffffffffffffffffffffffffffffffff16036116f7577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166316ea02af8360400135846040518363ffffffff1660e01b81526004016116329190612541565b60206040518083038185885af1158015611650573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611675919061241f565b9050611688610100830160e08401612201565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe2080c8fc8d86c864d8dc081fadaebf2be7191086615e786f954420f13ed122a84604001356040516116ea91815260200190565b60405180910390a36117e8565b6117307f0000000000000000000000000000000000000000000000000000000000000000604084013561145560e0860160c08701612201565b6040517f16ea02af00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906316ea02af906117a2908590600401612541565b6020604051808303816000875af11580156117c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e5919061241f565b90505b80611574576040517fc797a22400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61184460e0830160c08401612201565b73ffffffffffffffffffffffffffffffffffffffff1603611a06576000611872610100830160e08401612201565b73ffffffffffffffffffffffffffffffffffffffff16036118bf576040517f3943f6f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006118d2610100830160e08401612201565b60408051600081526020810180835273ffffffffffffffffffffffffffffffffffffffff9390931692918501359161190a91906122c7565b60006040518083038185875af1925050503d8060008114611947576040519150601f19603f3d011682016040523d82523d6000602084013e61194c565b606091505b5050905080611987576040517fc7abb1a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611998610100830160e08401612201565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe2080c8fc8d86c864d8dc081fadaebf2be7191086615e786f954420f13ed122a84604001356040516119fa91815260200190565b60405180910390a35050565b6103a6611a1a610100830160e08401612201565b604083013561145560e0850160c08601612201565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee611a5460e0830160c08401612201565b73ffffffffffffffffffffffffffffffffffffffff1603611bae576000611a8361012083016101008401612201565b6040805160008152602081019182905273ffffffffffffffffffffffffffffffffffffffff9290921691606085013591611abd91906122c7565b60006040518083038185875af1925050503d8060008114611afa576040519150601f19603f3d011682016040523d82523d6000602084013e611aff565b606091505b5050905080611b3a576040517f9f06170c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b4c61012083016101008401612201565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe2080c8fc8d86c864d8dc081fadaebf2be7191086615e786f954420f13ed122a84606001356040516119fa91815260200190565b6103a6611bc361012083016101008401612201565b606083013561145560e0850160c08601612201565b60606102d38484600085611d69565b801580611c8757506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c85919061231d565b155b611d13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152608401610394565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109059084907f095ea7b30000000000000000000000000000000000000000000000000000000090606401610883565b606082471015611dfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610394565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611e2491906122c7565b60006040518083038185875af1925050503d8060008114611e61576040519150601f19603f3d011682016040523d82523d6000602084013e611e66565b606091505b5091509150611e7787838387611e82565b979650505050505050565b60608315611f18578251600003611f115773ffffffffffffffffffffffffffffffffffffffff85163b611f11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610394565b50816102d3565b6102d38383815115611f2d5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103949190612716565b60006101c08284031215611f7457600080fd5b50919050565b600060208284031215611f8c57600080fd5b813567ffffffffffffffff811115611fa357600080fd5b6102d384828501611f61565b6040516060810167ffffffffffffffff81118282101715611ff9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b6040516080810167ffffffffffffffff81118282101715611ff9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146103a657600080fd5b803561207681612049565b919050565b803565ffffffffffff8116811461207657600080fd5b60008083601f8401126120a357600080fd5b50813567ffffffffffffffff8111156120bb57600080fd5b6020830191508360208285010111156120d357600080fd5b9250929050565b6000806000808486036101008112156120f257600080fd5b853567ffffffffffffffff8082111561210a57600080fd5b61211689838a01611f61565b96507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08301925060c083121561214b57600080fd5b612153611faf565b9150608083121561216357600080fd5b61216b611fff565b9250602088013561217b81612049565b8352604088013561218b81612049565b602084015261219c6060890161207b565b60408401526121ad6080890161207b565b60608401528282526121c160a0890161206b565b602083015260c0880135604083015281955060e08801359250808311156121e757600080fd5b50506121f587828801612091565b95989497509550505050565b60006020828403121561221357600080fd5b813561221e81612049565b9392505050565b80151581146103a657600080fd5b803561207681612225565b6000806040838503121561225157600080fd5b823561225c81612049565b9150602083013561226c81612225565b809150509250929050565b6000806040838503121561228a57600080fd5b823561229581612049565b946020939093013593505050565b60005b838110156122be5781810151838201526020016122a6565b50506000910152565b600082516122d98184602087016122a3565b9190910192915050565b818103818111156102bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006020828403121561232f57600080fd5b5051919050565b60006020828403121561234857600080fd5b813561221e81612225565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600061010073ffffffffffffffffffffffffffffffffffffffff80881684528651818151166020860152816020820151166040860152604081015165ffffffffffff80821660608801528060608401511660808801525050508060208801511660a085015250604086015160c08401528060e0840152611e778184018587612353565b60006020828403121561243157600080fd5b815161221e81612225565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261247157600080fd5b83018035915067ffffffffffffffff82111561248c57600080fd5b6020019150368190038213156120d357600080fd5b8183823760009101908152919050565b803560ff8116811461207657600080fd5b6000602082840312156124d457600080fd5b61221e826124b1565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261251257600080fd5b830160208101925035905067ffffffffffffffff81111561253257600080fd5b8036038213156120d357600080fd5b6020815281356020820152600061255a60208401612233565b80151560408401525060408301356060830152606083013560808301526125836080840161206b565b73ffffffffffffffffffffffffffffffffffffffff811660a0840152506125ac60a0840161206b565b73ffffffffffffffffffffffffffffffffffffffff811660c0840152506125d560c0840161206b565b73ffffffffffffffffffffffffffffffffffffffff811660e0840152506125fe60e0840161206b565b6101006126228185018373ffffffffffffffffffffffffffffffffffffffff169052565b61262d81860161206b565b9150506101206126548185018373ffffffffffffffffffffffffffffffffffffffff169052565b61265f8186016124b1565b9150506101406126738185018360ff169052565b61267e8186016124b1565b9150506101606126928185018360ff169052565b61269e818601866124dd565b925090506101c061018081818701526126bc6101e087018585612353565b93506126ca818801886124dd565b935090506101a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08786030181880152612705858584612353565b970135919095015250929392505050565b60208152600082518060208401526127358160408501602087016122a3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26469706673582212202a87994a79d43cf2fa0342573bd377c2e30bf72f77c074c8b945f5264234e9ea64736f6c63430008120033000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba30000000000000000000000005a5eb8aca5ebb5d98c752ec2343fae31262b58c9
Deployed Bytecode
0x6080604052600436106100cb5760003560e01c80638da5cb5b11610074578063ec9736421161004e578063ec97364214610251578063f2fde38b14610271578063f3fef3a31461029157600080fd5b80638da5cb5b146101c7578063ca2ad973146101f2578063e30c39781461022657600080fd5b8063715018a6116100a5578063715018a61461016b5780637412dbb31461018257806379ba5097146101b257600080fd5b8063422feecb146100d75780636afdd850146100ff578063705c9b141461015857600080fd5b366100d257005b600080fd5b6100ea6100e5366004611f7a565b6102b1565b60405190151581526020015b60405180910390f35b34801561010b57600080fd5b506101337f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba381565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f6565b6100ea6101663660046120da565b6102c2565b34801561017757600080fd5b506101806102db565b005b34801561018e57600080fd5b506100ea61019d366004612201565b60026020526000908152604090205460ff1681565b3480156101be57600080fd5b506101806102ef565b3480156101d357600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610133565b3480156101fe57600080fd5b506101337f0000000000000000000000005a5eb8aca5ebb5d98c752ec2343fae31262b58c981565b34801561023257600080fd5b5060015473ffffffffffffffffffffffffffffffffffffffff16610133565b34801561025d57600080fd5b506100ea61026c36600461223e565b6103a9565b34801561027d57600080fd5b5061018061028c366004612201565b61049c565b34801561029d57600080fd5b506100ea6102ac366004612277565b61054c565b60006102bc826106fd565b92915050565b60006102d085858585610737565b90505b949350505050565b6102e361077f565b6102ed6000610800565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461039d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103a681610800565b50565b60006103b361077f565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001683158015919091179091556104515760405173ffffffffffffffffffffffffffffffffffffffff8416907f44bcce471802f9158ee4390426e4a931d186757cc50d302f6747504c17516d1290600090a2610493565b60405173ffffffffffffffffffffffffffffffffffffffff8416907ff54453d15e2e6aee566733e6da03165ea58500408e802e05aa4e75f2408f59fe90600090a25b50600192915050565b6104a461077f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561050760005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600061055661077f565b7fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff8416016106675760408051600080825260208201909252339084906040516105b491906122c7565b60006040518083038185875af1925050503d80600081146105f1576040519150601f19603f3d011682016040523d82523d6000602084013e6105f6565b606091505b5050905080610661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f44655061793a207769746864726177206661696c6564210000000000000000006044820152606401610394565b50610493565b61049373ffffffffffffffffffffffffffffffffffffffff84163384610831565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061070b8461090a565b909250905061071984610b31565b61072284610cde565b61072d848383610d55565b5060019392505050565b60008060006107458761090a565b9092509050610755868686611000565b61075e87610b31565b61076787610cde565b610772878383610d55565b5060019695505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610394565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556103a681610688565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109059084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526110af565b505050565b60008042836101a00135101561094c576040517f17e0bcd900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61097160a0850160808601612201565b73ffffffffffffffffffffffffffffffffffffffff160361099d5761099634476122e3565b9150610a40565b6109ad60a0840160808501612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d919061231d565b91505b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610a6560e0850160c08601612201565b73ffffffffffffffffffffffffffffffffffffffff1603610a9157610a8a34476122e3565b9050915091565b610aa160e0840160c08501612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8a919061231d565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610b5660a0830160808401612201565b73ffffffffffffffffffffffffffffffffffffffff1603610bab57348135146103a6576040517fed0842e300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bbb6040820160208301612336565b15610ca95773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3166336c7851633308435610c1060a0870160808801612201565b60405160e086901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff9485166004820152928416602484015290831660448301529091166064820152608401600060405180830381600087803b158015610c8e57600080fd5b505af1158015610ca2573d6000803e3d6000fd5b5050505050565b6103a633308335610cc060a0860160808701612201565b73ffffffffffffffffffffffffffffffffffffffff169291906111be565b6000610cf060c0830160a08401612201565b73ffffffffffffffffffffffffffffffffffffffff1614610d1457610d1481611222565b610d1d81611578565b6000610d3161012083016101008401612201565b73ffffffffffffffffffffffffffffffffffffffff16146103a6576103a681611a2f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610d7a60a0850160808601612201565b73ffffffffffffffffffffffffffffffffffffffff1603610dd45781471015610dcf576040517f8425754100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ead565b81610de560a0850160808601612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e75919061231d565b1015610ead576040517f8425754100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee610ed260e0850160c08601612201565b73ffffffffffffffffffffffffffffffffffffffff1603610f275780471015610905576040517f808b961200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610f3860e0850160c08601612201565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff91909116906370a0823190602401602060405180830381865afa158015610fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc8919061231d565b1015610905576040517f808b961200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f2b67b57000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba31690632b67b5709061107890339087908790879060040161239c565b600060405180830381600087803b15801561109257600080fd5b505af11580156110a6573d6000803e3d6000fd5b50505050505050565b6000611111826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611bd89092919063ffffffff16565b9050805160001480611132575080806020019051810190611132919061241f565b610905576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610394565b60405173ffffffffffffffffffffffffffffffffffffffff8085166024830152831660448201526064810182905261121c9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610883565b50505050565b6002600061123660c0840160a08501612201565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff16611296576040517fc35a393200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6112bd60a0840160808501612201565b73ffffffffffffffffffffffffffffffffffffffff16036113b1576112e661016083018361243c565b9050600003611321576040517f6b8072c900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61133160c0830160a08401612201565b73ffffffffffffffffffffffffffffffffffffffff163461135661016085018561243c565b6040516113649291906124a1565b60006040518083038185875af1925050503d80600081146113a1576040519150601f19603f3d011682016040523d82523d6000602084013e6113a6565b606091505b50508091505061153d565b6113c3610140830161012084016124c2565b60ff166001036114145761140f6113e060c0840160a08501612201565b83356113f260a0860160808701612201565b73ffffffffffffffffffffffffffffffffffffffff169190611be7565b611472565b611426610140830161012084016124c2565b60ff166002036114725761147261144360c0840160a08501612201565b833561145560a0860160808701612201565b73ffffffffffffffffffffffffffffffffffffffff169190610831565b61148260c0830160a08401612201565b73ffffffffffffffffffffffffffffffffffffffff166114a661016084018461243c565b6040516114b49291906124a1565b6000604051808303816000865af19150503d80600081146114f1576040519150601f19603f3d011682016040523d82523d6000602084013e6114f6565b606091505b5090915061150e9050610140830161012084016124c2565b60ff1660010361153d5761153d61152b60c0840160a08501612201565b60006113f260a0860160808701612201565b80611574576040517f6d8040c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b61158a610160820161014083016124c2565b60ff161561181f57600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6115b960e0840160c08501612201565b73ffffffffffffffffffffffffffffffffffffffff16036116f7577f0000000000000000000000005a5eb8aca5ebb5d98c752ec2343fae31262b58c973ffffffffffffffffffffffffffffffffffffffff166316ea02af8360400135846040518363ffffffff1660e01b81526004016116329190612541565b60206040518083038185885af1158015611650573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611675919061241f565b9050611688610100830160e08401612201565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe2080c8fc8d86c864d8dc081fadaebf2be7191086615e786f954420f13ed122a84604001356040516116ea91815260200190565b60405180910390a36117e8565b6117307f0000000000000000000000005a5eb8aca5ebb5d98c752ec2343fae31262b58c9604084013561145560e0860160c08701612201565b6040517f16ea02af00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000005a5eb8aca5ebb5d98c752ec2343fae31262b58c916906316ea02af906117a2908590600401612541565b6020604051808303816000875af11580156117c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e5919061241f565b90505b80611574576040517fc797a22400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61184460e0830160c08401612201565b73ffffffffffffffffffffffffffffffffffffffff1603611a06576000611872610100830160e08401612201565b73ffffffffffffffffffffffffffffffffffffffff16036118bf576040517f3943f6f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006118d2610100830160e08401612201565b60408051600081526020810180835273ffffffffffffffffffffffffffffffffffffffff9390931692918501359161190a91906122c7565b60006040518083038185875af1925050503d8060008114611947576040519150601f19603f3d011682016040523d82523d6000602084013e61194c565b606091505b5050905080611987576040517fc7abb1a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611998610100830160e08401612201565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe2080c8fc8d86c864d8dc081fadaebf2be7191086615e786f954420f13ed122a84604001356040516119fa91815260200190565b60405180910390a35050565b6103a6611a1a610100830160e08401612201565b604083013561145560e0850160c08601612201565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee611a5460e0830160c08401612201565b73ffffffffffffffffffffffffffffffffffffffff1603611bae576000611a8361012083016101008401612201565b6040805160008152602081019182905273ffffffffffffffffffffffffffffffffffffffff9290921691606085013591611abd91906122c7565b60006040518083038185875af1925050503d8060008114611afa576040519150601f19603f3d011682016040523d82523d6000602084013e611aff565b606091505b5050905080611b3a576040517f9f06170c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b4c61012083016101008401612201565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe2080c8fc8d86c864d8dc081fadaebf2be7191086615e786f954420f13ed122a84606001356040516119fa91815260200190565b6103a6611bc361012083016101008401612201565b606083013561145560e0850160c08601612201565b60606102d38484600085611d69565b801580611c8757506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c85919061231d565b155b611d13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152608401610394565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109059084907f095ea7b30000000000000000000000000000000000000000000000000000000090606401610883565b606082471015611dfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610394565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611e2491906122c7565b60006040518083038185875af1925050503d8060008114611e61576040519150601f19603f3d011682016040523d82523d6000602084013e611e66565b606091505b5091509150611e7787838387611e82565b979650505050505050565b60608315611f18578251600003611f115773ffffffffffffffffffffffffffffffffffffffff85163b611f11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610394565b50816102d3565b6102d38383815115611f2d5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103949190612716565b60006101c08284031215611f7457600080fd5b50919050565b600060208284031215611f8c57600080fd5b813567ffffffffffffffff811115611fa357600080fd5b6102d384828501611f61565b6040516060810167ffffffffffffffff81118282101715611ff9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b6040516080810167ffffffffffffffff81118282101715611ff9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146103a657600080fd5b803561207681612049565b919050565b803565ffffffffffff8116811461207657600080fd5b60008083601f8401126120a357600080fd5b50813567ffffffffffffffff8111156120bb57600080fd5b6020830191508360208285010111156120d357600080fd5b9250929050565b6000806000808486036101008112156120f257600080fd5b853567ffffffffffffffff8082111561210a57600080fd5b61211689838a01611f61565b96507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08301925060c083121561214b57600080fd5b612153611faf565b9150608083121561216357600080fd5b61216b611fff565b9250602088013561217b81612049565b8352604088013561218b81612049565b602084015261219c6060890161207b565b60408401526121ad6080890161207b565b60608401528282526121c160a0890161206b565b602083015260c0880135604083015281955060e08801359250808311156121e757600080fd5b50506121f587828801612091565b95989497509550505050565b60006020828403121561221357600080fd5b813561221e81612049565b9392505050565b80151581146103a657600080fd5b803561207681612225565b6000806040838503121561225157600080fd5b823561225c81612049565b9150602083013561226c81612225565b809150509250929050565b6000806040838503121561228a57600080fd5b823561229581612049565b946020939093013593505050565b60005b838110156122be5781810151838201526020016122a6565b50506000910152565b600082516122d98184602087016122a3565b9190910192915050565b818103818111156102bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006020828403121561232f57600080fd5b5051919050565b60006020828403121561234857600080fd5b813561221e81612225565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600061010073ffffffffffffffffffffffffffffffffffffffff80881684528651818151166020860152816020820151166040860152604081015165ffffffffffff80821660608801528060608401511660808801525050508060208801511660a085015250604086015160c08401528060e0840152611e778184018587612353565b60006020828403121561243157600080fd5b815161221e81612225565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261247157600080fd5b83018035915067ffffffffffffffff82111561248c57600080fd5b6020019150368190038213156120d357600080fd5b8183823760009101908152919050565b803560ff8116811461207657600080fd5b6000602082840312156124d457600080fd5b61221e826124b1565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261251257600080fd5b830160208101925035905067ffffffffffffffff81111561253257600080fd5b8036038213156120d357600080fd5b6020815281356020820152600061255a60208401612233565b80151560408401525060408301356060830152606083013560808301526125836080840161206b565b73ffffffffffffffffffffffffffffffffffffffff811660a0840152506125ac60a0840161206b565b73ffffffffffffffffffffffffffffffffffffffff811660c0840152506125d560c0840161206b565b73ffffffffffffffffffffffffffffffffffffffff811660e0840152506125fe60e0840161206b565b6101006126228185018373ffffffffffffffffffffffffffffffffffffffff169052565b61262d81860161206b565b9150506101206126548185018373ffffffffffffffffffffffffffffffffffffffff169052565b61265f8186016124b1565b9150506101406126738185018360ff169052565b61267e8186016124b1565b9150506101606126928185018360ff169052565b61269e818601866124dd565b925090506101c061018081818701526126bc6101e087018585612353565b93506126ca818801886124dd565b935090506101a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08786030181880152612705858584612353565b970135919095015250929392505050565b60208152600082518060208401526127358160408501602087016122a3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26469706673582212202a87994a79d43cf2fa0342573bd377c2e30bf72f77c074c8b945f5264234e9ea64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba30000000000000000000000005a5eb8aca5ebb5d98c752ec2343fae31262b58c9
-----Decoded View---------------
Arg [0] : _PERMIT2 (address): 0x000000000022D473030F116dDEE9F6B43aC78BA3
Arg [1] : _FORWARDER (address): 0x5a5Eb8AcA5Ebb5D98C752eC2343faE31262B58c9
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3
Arg [1] : 0000000000000000000000005a5eb8aca5ebb5d98c752ec2343fae31262b58c9
Deployed Bytecode Sourcemap
30590:11698:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32881:127;;;;;;:::i;:::-;;:::i;:::-;;;797:14:1;;790:22;772:41;;760:2;745:18;32881:127:0;;;;;;;;31281:32;;;;;;;;;;;;;;;;;;1132:42:1;1120:55;;;1102:74;;1090:2;1075:18;31281:32:0;956:226:1;34038:231:0;;;;;;:::i;:::-;;:::i;2884:103::-;;;;;;;;;;;;;:::i;:::-;;31476:42;;;;;;;;;;-1:-1:-1;31476:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;5561:216;;;;;;;;;;;;;:::i;2243:87::-;;;;;;;;;;-1:-1:-1;2289:7:0;2316:6;;;2243:87;;31377:34;;;;;;;;;;;;;;;4649:101;;;;;;;;;;-1:-1:-1;4729:13:0;;;;4649:101;;41528:244;;;;;;;;;;-1:-1:-1;41528:244:0;;;;;:::i;:::-;;:::i;4949:181::-;;;;;;;;;;-1:-1:-1;4949:181:0;;;;;:::i;:::-;;:::i;41932:353::-;;;;;;;;;;-1:-1:-1;41932:353:0;;;;;:::i;:::-;;:::i;32881:127::-;32970:4;32989:13;32994:7;32989:4;:13::i;:::-;32982:20;32881:127;-1:-1:-1;;32881:127:0:o;34038:231::-;34206:4;34225:38;34230:7;34239:12;34253:9;;34225:4;:38::i;:::-;34218:45;;34038:231;;;;;;;:::o;2884:103::-;2129:13;:11;:13::i;:::-;2949:30:::1;2976:1;2949:18;:30::i;:::-;2884:103::o:0;5561:216::-;4729:13;;804:10;;5662:24;4729:13;5662:24;;5654:78;;;;;;;6051:2:1;5654:78:0;;;6033:21:1;6090:2;6070:18;;;6063:30;6129:34;6109:18;;;6102:62;6200:11;6180:18;;;6173:39;6229:19;;5654:78:0;;;;;;;;;5743:26;5762:6;5743:18;:26::i;:::-;5603:174;5561:216::o;41528:244::-;41603:4;2129:13;:11;:13::i;:::-;41616:19:::1;::::0;::::1;;::::0;;;:9:::1;:19;::::0;;;;:29;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;;;41652:97:::1;;41678:17;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;41652:97;;;41723:18;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;41652:97;-1:-1:-1::0;41762:4:0::1;41528:244:::0;;;;:::o;4949:181::-;2129:13;:11;:13::i;:::-;5039::::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;5104:7:::1;2289::::0;2316:6;;;;2243:87;5104:7:::1;5079:43;;;;;;;;;;;;4949:181:::0;:::o;41932:353::-;42020:4;2129:13;:11;:13::i;:::-;42036:15;::::1;::::0;::::1;::::0;42033:229:::1;;42120:12;::::0;;42063::::1;42120::::0;;;::::1;::::0;::::1;::::0;;;42088:10:::1;::::0;42112:6;;42080:53:::1;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42062:71;;;42150:7;42142:43;;;::::0;::::1;::::0;;7008:2:1;42142:43:0::1;::::0;::::1;6990:21:1::0;7047:2;7027:18;;;7020:30;7086:25;7066:18;;;7059:53;7129:18;;42142:43:0::1;6806:347:1::0;42142:43:0::1;42053:140;42033:229;;;42208:46;:26;::::0;::::1;42235:10;42247:6:::0;42208:26:::1;:46::i;3503:191::-:0;3577:16;3596:6;;;3613:17;;;;;;;;;;3646:40;;3596:6;;;;;;;3646:40;;3577:16;3646:40;3566:128;3503:191;:::o;32348:379::-;32430:4;32442:23;32472:24;32543:31;32566:7;32543:22;:31::i;:::-;32505:69;;-1:-1:-1;32505:69:0;-1:-1:-1;32581:15:0;32588:7;32581:6;:15::i;:::-;32603:24;32619:7;32603:15;:24::i;:::-;32634:67;32658:7;32667:15;32684:16;32634:23;:67::i;:::-;-1:-1:-1;32717:4:0;;32348:379;-1:-1:-1;;;32348:379:0:o;33268:497::-;33429:4;33441:23;33471:24;33542:31;33565:7;33542:22;:31::i;:::-;33504:69;;-1:-1:-1;33504:69:0;-1:-1:-1;33580:32:0;33588:12;33602:9;;33580:7;:32::i;:::-;33619:15;33626:7;33619:6;:15::i;:::-;33641:24;33657:7;33641:15;:24::i;:::-;33672:67;33696:7;33705:15;33722:16;33672:23;:67::i;:::-;-1:-1:-1;33755:4:0;;33268:497;-1:-1:-1;;;;;;33268:497:0:o;2408:132::-;2289:7;2316:6;2472:23;2316:6;804:10;2472:23;2464:68;;;;;;;7360:2:1;2464:68:0;;;7342:21:1;;;7379:18;;;7372:30;7438:34;7418:18;;;7411:62;7490:18;;2464:68:0;7158:356:1;5320:156:0;5410:13;5403:20;;;;;;5434:34;5459:8;5434:24;:34::i;21779:177::-;21889:58;;7723:42:1;7711:55;;21889:58:0;;;7693:74:1;7783:18;;;7776:34;;;21862:86:0;;21882:5;;21912:23;;7666:18:1;;21889:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21862:19;:86::i;:::-;21779:177;;;:::o;34505:817::-;34595:23;34620:24;34735:15;34716:7;:16;;;:34;34713:87;;;34768:24;;;;;;;;;;;;;;34713:87;31198:42;34858:22;;;;;;;;:::i;:::-;:32;;;34855:201;;34919:33;34943:9;34919:21;:33;:::i;:::-;34901:51;;34855:201;;;35000:22;;;;;;;;:::i;:::-;34993:55;;;;;35042:4;34993:55;;;1102:74:1;34993:40:0;;;;;;;;1075:18:1;;34993:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;34975:73;;34855:201;31198:42;35115:23;;;;;;;;:::i;:::-;:33;;;35112:205;;35178:33;35202:9;35178:21;:33;:::i;:::-;35159:52;;34505:817;;;:::o;35112:205::-;35260:23;;;;;;;;:::i;:::-;35253:56;;;;;35303:4;35253:56;;;1102:74:1;35253:41:0;;;;;;;;1075:18:1;;35253:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;35778:561::-;31198:42;35937:22;;;;;;;;:::i;:::-;:32;;;35934:400;;35983:9;35996:16;;35983:29;35980:81;;36032:19;;;;;;;;;;;;;;35934:400;36077:15;;;;;;;;:::i;:::-;36074:260;;;36103:30;36112:7;36103:30;;36134:10;36154:4;36169:16;;36188:22;;;;;;;;:::i;:::-;36103:108;;;;;;;;;;8784:42:1;8853:15;;;36103:108:0;;;8835:34:1;8905:15;;;8885:18;;;8878:43;8957:15;;;8937:18;;;8930:43;9009:15;;;8989:18;;;8982:43;8746:19;;36103:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5603:174;5561:216::o;36074:260::-;36234:92;36282:10;36302:4;36309:16;;36241:22;;;;;;;;:::i;:::-;36234:47;;;:92;;:47;:92::i;36420:400::-;36579:1;36544:23;;;;;;;;:::i;:::-;:37;;;36541:76;;36592:17;36601:7;36592:8;:17::i;:::-;36668:21;36681:7;36668:12;:21::i;:::-;36778:1;36740:26;;;;;;;;:::i;:::-;:40;;;36737:78;;36791:16;36799:7;36791;:16::i;37055:900::-;31198:42;37248:22;;;;;;;;:::i;:::-;:32;;;37245:323;;37318:15;37294:21;:39;37291:107;;;37353:35;;;;;;;;;;;;;;37291:107;37245:323;;;37481:15;37430:22;;;;;;;;:::i;:::-;37423:55;;;;;37472:4;37423:55;;;1102:74:1;37423:40:0;;;;;;;;1075:18:1;;37423:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:73;37420:141;;;37516:35;;;;;;;;;;;;;;37420:141;31198:42;37624:23;;;;;;;;:::i;:::-;:33;;;37621:329;;37695:16;37671:21;:40;37668:109;;;37731:36;;;;;;;;;;;;;;37621:329;37861:16;37809:23;;;;;;;;:::i;:::-;37802:56;;;;;37852:4;37802:56;;;1102:74:1;37802:41:0;;;;;;;;1075:18:1;;37802:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;37799:144;;;37897:36;;;;;;;;;;;;;;35465:223;35584:98;;;;;:24;35593:7;35584:24;;;;:98;;35617:10;;35645:12;;35666:9;;;;35584:98;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35465:223;;;:::o;26125:649::-;26549:23;26575:69;26603:4;26575:69;;;;;;;;;;;;;;;;;26583:5;26575:27;;;;:69;;;;;:::i;:::-;26549:95;;26663:10;:17;26684:1;26663:22;:56;;;;26700:10;26689:30;;;;;;;;;;;;:::i;:::-;26655:111;;;;;;;10802:2:1;26655:111:0;;;10784:21:1;10841:2;10821:18;;;10814:30;10880:34;10860:18;;;10853:62;10951:12;10931:18;;;10924:40;10981:19;;26655:111:0;10600:406:1;22201:205:0;22329:68;;11223:42:1;11292:15;;;22329:68:0;;;11274:34:1;11344:15;;11324:18;;;11317:43;11376:18;;;11369:34;;;22302:96:0;;22322:5;;22352:27;;11186:18:1;;22329:68:0;11011:398:1;22302:96:0;22201:205;;;;:::o;38040:1019::-;38119:9;:34;38129:23;;;;;;;;:::i;:::-;38119:34;;;;;;;;;;;;;-1:-1:-1;38119:34:0;;;;38115:85;;38171:21;;;;;;;;;;;;;;38115:85;38206:12;31198:42;38228:22;;;;;;;;:::i;:::-;:32;;;38225:767;;38274:24;;;;:7;:24;:::i;:::-;:31;;38309:1;38274:36;38271:90;;38330:21;;;;;;;;;;;;;;38271:90;38382:23;;;;;;;;:::i;:::-;:28;;38418:9;38429:24;;;;:7;:24;:::i;:::-;38382:72;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38369:85;;;;;38225:767;;;38480:20;;;;;;;;:::i;:::-;:25;;38504:1;38480:25;38477:295;;38526:85;38569:23;;;;;;;;:::i;:::-;38594:16;;38533:22;;;;;;;;:::i;:::-;38526:42;;;:85;:42;:85::i;:::-;38477:295;;;38630:20;;;;;;;;:::i;:::-;:25;;38654:1;38630:25;38627:145;;38676:86;38720:23;;;;;;;;:::i;:::-;38745:16;;38683:22;;;;;;;;:::i;:::-;38676:43;;;:86;:43;:86::i;:::-;38793:23;;;;;;;;:::i;:::-;:28;;38822:24;;;;:7;:24;:::i;:::-;38793:54;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38780:67:0;;-1:-1:-1;38859:20:0;;-1:-1:-1;38859:20:0;;;;;;;:::i;:::-;:25;;38883:1;38859:25;38856:129;;38905:70;38948:23;;;;;;;;:::i;:::-;38973:1;38912:22;;;;;;;;:::i;38905:70::-;39002:7;38998:56;;39026:20;;;;;;;;;;;;;;38998:56;38108:951;38040:1019;:::o;39148:1344::-;39230:20;;;;;;;;:::i;:::-;:25;;;39227:1260;;39305:12;31198:42;39331:23;;;;;;;;:::i;:::-;:33;;;39328:426;;39407:9;39389:36;;;39433:7;:21;;;39456:7;39389:75;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;39379:85;-1:-1:-1;39511:30:0;;;;;;;;:::i;:::-;39482:83;;39499:10;39482:83;;;39543:7;:21;;;39482:83;;;;15625:25:1;;15613:2;15598:18;;15479:177;39482:83:0;;;;;;;;39328:426;;;39596:78;39641:9;39652:21;;;;39603:23;;;;;;;;:::i;39596:78::-;39697:45;;;;;:36;39715:9;39697:36;;;;:45;;39734:7;;39697:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;39687:55;;39328:426;39768:7;39764:70;;39797:25;;;;;;;;;;;;;;39227:1260;31198:42;39904:23;;;;;;;;:::i;:::-;:33;;;39901:579;;39995:1;39953:30;;;;;;;;:::i;:::-;:44;;;39950:112;;40018:32;;;;;;;;;;;;;;39950:112;40073:12;40090:30;;;;;;;;:::i;:::-;40133:21;40156:12;;40166:1;40156:12;;;;;;;;40090:35;;;;;;40133:21;;;;;40090:79;;40156:12;40090:79;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40072:97;;;40184:7;40180:66;;40213:21;;;;;;;;;;;;;;40180:66;40290:30;;;;;;;;:::i;:::-;40261:83;;40278:10;40261:83;;;40322:7;:21;;;40261:83;;;;15625:25:1;;15613:2;15598:18;;15479:177;40261:83:0;;;;;;;;39939:415;5603:174;5561:216::o;39901:579::-;40371:99;40416:30;;;;;;;;:::i;:::-;40448:21;;;;40378:23;;;;;;;;:::i;40574:499::-;31198:42;40651:23;;;;;;;;:::i;:::-;:33;;;40648:420;;40696:12;40713:26;;;;;;;;:::i;:::-;40771:12;;;40781:1;40771:12;;;;;;;;;40713:31;;;;;;40752:17;;;;;40713:71;;40771:12;40713:71;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40695:89;;;40797:7;40793:65;;40824:24;;;;;;;;;;;;;;40793:65;40900:26;;;;;;;;:::i;:::-;40871:75;;40888:10;40871:75;;;40928:7;:17;;;40871:75;;;;15625:25:1;;15613:2;15598:18;;15479:177;40648:420:0;40969:91;41014:26;;;;;;;;:::i;:::-;41042:17;;;;40976:23;;;;;;;;:::i;15268:229::-;15405:12;15437:52;15459:6;15467:4;15473:1;15476:12;15437:21;:52::i;22675:582::-;23005:10;;;23004:62;;-1:-1:-1;23021:39:0;;;;;23045:4;23021:39;;;15896:34:1;23021:15:0;15966::1;;;15946:18;;;15939:43;23021:15:0;;;;;15808:18:1;;23021:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;23004:62;22982:166;;;;;;;16195:2:1;22982:166:0;;;16177:21:1;16234:2;16214:18;;;16207:30;16273:34;16253:18;;;16246:62;16344:24;16324:18;;;16317:52;16386:19;;22982:166:0;15993:418:1;22982:166:0;23186:62;;7723:42:1;7711:55;;23186:62:0;;;7693:74:1;7783:18;;;7776:34;;;23159:90:0;;23179:5;;23209:22;;7666:18:1;;23186:62:0;7519:297:1;16354:455:0;16524:12;16582:5;16557:21;:30;;16549:81;;;;;;;16618:2:1;16549:81:0;;;16600:21:1;16657:2;16637:18;;;16630:30;16696:34;16676:18;;;16669:62;16767:8;16747:18;;;16740:36;16793:19;;16549:81:0;16416:402:1;16549:81:0;16642:12;16656:23;16683:6;:11;;16702:5;16709:4;16683:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16641:73;;;;16732:69;16759:6;16767:7;16776:10;16788:12;16732:26;:69::i;:::-;16725:76;16354:455;-1:-1:-1;;;;;;;16354:455:0:o;18927:644::-;19112:12;19141:7;19137:427;;;19169:10;:17;19190:1;19169:22;19165:290;;12808:19;;;;19379:60;;;;;;;17025:2:1;19379:60:0;;;17007:21:1;17064:2;17044:18;;;17037:30;17103:31;17083:18;;;17076:59;17152:18;;19379:60:0;16823:353:1;19379:60:0;-1:-1:-1;19476:10:0;19469:17;;19137:427;19519:33;19527:10;19539:12;20274:17;;:21;20270:388;;20506:10;20500:17;20563:15;20550:10;20546:2;20542:19;20535:44;20270:388;20633:12;20626:20;;;;;;;;;;;:::i;14:156:1:-;74:5;119:3;110:6;105:3;101:16;97:26;94:46;;;136:1;133;126:12;94:46;-1:-1:-1;158:6:1;14:156;-1:-1:-1;14:156:1:o;175:356::-;261:6;314:2;302:9;293:7;289:23;285:32;282:52;;;330:1;327;320:12;282:52;370:9;357:23;403:18;395:6;392:30;389:50;;;435:1;432;425:12;389:50;458:67;517:7;508:6;497:9;493:22;458:67;:::i;1376:407::-;1448:2;1442:9;1490:4;1478:17;;1525:18;1510:34;;1546:22;;;1507:62;1504:242;;;1602:77;1599:1;1592:88;1703:4;1700:1;1693:15;1731:4;1728:1;1721:15;1504:242;1762:2;1755:22;1376:407;:::o;1788:402::-;1855:2;1849:9;1897:4;1885:17;;1932:18;1917:34;;1953:22;;;1914:62;1911:242;;;2009:77;2006:1;1999:88;2110:4;2107:1;2100:15;2138:4;2135:1;2128:15;2195:154;2281:42;2274:5;2270:54;2263:5;2260:65;2250:93;;2339:1;2336;2329:12;2354:134;2422:20;;2451:31;2422:20;2451:31;:::i;:::-;2354:134;;;:::o;2493:167::-;2560:20;;2620:14;2609:26;;2599:37;;2589:65;;2650:1;2647;2640:12;2665:347;2716:8;2726:6;2780:3;2773:4;2765:6;2761:17;2757:27;2747:55;;2798:1;2795;2788:12;2747:55;-1:-1:-1;2821:20:1;;2864:18;2853:30;;2850:50;;;2896:1;2893;2886:12;2850:50;2933:4;2925:6;2921:17;2909:29;;2985:3;2978:4;2969:6;2961;2957:19;2953:30;2950:39;2947:59;;;3002:1;2999;2992:12;2947:59;2665:347;;;;;:::o;3017:1612::-;3162:6;3170;3178;3186;3230:9;3221:7;3217:23;3260:3;3256:2;3252:12;3249:32;;;3277:1;3274;3267:12;3249:32;3317:9;3304:23;3346:18;3387:2;3379:6;3376:14;3373:34;;;3403:1;3400;3393:12;3373:34;3426:67;3485:7;3476:6;3465:9;3461:22;3426:67;:::i;:::-;3416:77;;3520:66;3516:2;3512:75;3502:85;;3607:4;3603:2;3599:13;3596:33;;;3625:1;3622;3615:12;3596:33;3651:22;;:::i;:::-;3638:35;;3693:4;3689:2;3685:13;3682:33;;;3711:1;3708;3701:12;3682:33;3739:17;;:::i;:::-;3724:32;;3808:2;3797:9;3793:18;3780:32;3821:33;3846:7;3821:33;:::i;:::-;3863:24;;3939:2;3924:18;;3911:32;3952:33;3911:32;3952:33;:::i;:::-;4014:2;4001:16;;3994:33;4061:39;4094:4;4079:20;;4061:39;:::i;:::-;4056:2;4047:7;4043:16;4036:65;4137:39;4170:4;4159:9;4155:20;4137:39;:::i;:::-;4130:4;4121:7;4117:18;4110:67;4200:7;4193:5;4186:22;4240:39;4274:3;4263:9;4259:19;4240:39;:::i;:::-;4235:2;4228:5;4224:14;4217:63;4340:4;4329:9;4325:20;4312:34;4307:2;4300:5;4296:14;4289:58;4366:5;4356:15;;4424:3;4413:9;4409:19;4396:33;4380:49;;4454:2;4444:8;4441:16;4438:36;;;4470:1;4467;4460:12;4438:36;;;4509:60;4561:7;4550:8;4539:9;4535:24;4509:60;:::i;:::-;3017:1612;;;;-1:-1:-1;4588:8:1;-1:-1:-1;;;;3017:1612:1:o;4634:247::-;4693:6;4746:2;4734:9;4725:7;4721:23;4717:32;4714:52;;;4762:1;4759;4752:12;4714:52;4801:9;4788:23;4820:31;4845:5;4820:31;:::i;:::-;4870:5;4634:247;-1:-1:-1;;;4634:247:1:o;4886:118::-;4972:5;4965:13;4958:21;4951:5;4948:32;4938:60;;4994:1;4991;4984:12;5009:128;5074:20;;5103:28;5074:20;5103:28;:::i;5142:382::-;5207:6;5215;5268:2;5256:9;5247:7;5243:23;5239:32;5236:52;;;5284:1;5281;5274:12;5236:52;5323:9;5310:23;5342:31;5367:5;5342:31;:::i;:::-;5392:5;-1:-1:-1;5449:2:1;5434:18;;5421:32;5462:30;5421:32;5462:30;:::i;:::-;5511:7;5501:17;;;5142:382;;;;;:::o;5529:315::-;5597:6;5605;5658:2;5646:9;5637:7;5633:23;5629:32;5626:52;;;5674:1;5671;5664:12;5626:52;5713:9;5700:23;5732:31;5757:5;5732:31;:::i;:::-;5782:5;5834:2;5819:18;;;;5806:32;;-1:-1:-1;;;5529:315:1:o;6259:250::-;6344:1;6354:113;6368:6;6365:1;6362:13;6354:113;;;6444:11;;;6438:18;6425:11;;;6418:39;6390:2;6383:10;6354:113;;;-1:-1:-1;;6501:1:1;6483:16;;6476:27;6259:250::o;6514:287::-;6643:3;6681:6;6675:13;6697:66;6756:6;6751:3;6744:4;6736:6;6732:17;6697:66;:::i;:::-;6779:16;;;;;6514:287;-1:-1:-1;;6514:287:1:o;7821:282::-;7888:9;;;7909:11;;;7906:191;;;7953:77;7950:1;7943:88;8054:4;8051:1;8044:15;8082:4;8079:1;8072:15;8108:184;8178:6;8231:2;8219:9;8210:7;8206:23;8202:32;8199:52;;;8247:1;8244;8237:12;8199:52;-1:-1:-1;8270:16:1;;8108:184;-1:-1:-1;8108:184:1:o;8297:241::-;8353:6;8406:2;8394:9;8385:7;8381:23;8377:32;8374:52;;;8422:1;8419;8412:12;8374:52;8461:9;8448:23;8480:28;8502:5;8480:28;:::i;9036:325::-;9124:6;9119:3;9112:19;9176:6;9169:5;9162:4;9157:3;9153:14;9140:43;;9228:1;9221:4;9212:6;9207:3;9203:16;9199:27;9192:38;9094:3;9350:4;9280:66;9275:2;9267:6;9263:15;9259:88;9254:3;9250:98;9246:109;9239:116;;9036:325;;;;:::o;9366:979::-;9602:4;9631:3;9653:42;9734:2;9726:6;9722:15;9711:9;9704:34;9763:6;9757:13;9821:2;9816;9810:9;9806:18;9801:2;9790:9;9786:18;9779:46;9885:2;9879;9875;9871:11;9865:18;9861:27;9856:2;9845:9;9841:18;9834:55;9932:2;9928;9924:11;9918:18;9955:14;10023:2;10009:12;10005:21;10000:2;9989:9;9985:18;9978:49;10088:2;10082;10078;10074:11;10068:18;10064:27;10058:3;10047:9;10043:19;10036:56;;;;10157:2;10151;10143:6;10139:15;10133:22;10129:31;10123:3;10112:9;10108:19;10101:60;;10216:2;10208:6;10204:15;10198:22;10192:3;10181:9;10177:19;10170:51;10258:2;10252:3;10241:9;10237:19;10230:31;10278:61;10335:2;10324:9;10320:18;10312:6;10304;10278:61;:::i;10350:245::-;10417:6;10470:2;10458:9;10449:7;10445:23;10441:32;10438:52;;;10486:1;10483;10476:12;10438:52;10518:9;10512:16;10537:28;10559:5;10537:28;:::i;11414:580::-;11491:4;11497:6;11557:11;11544:25;11647:66;11636:8;11620:14;11616:29;11612:102;11592:18;11588:127;11578:155;;11729:1;11726;11719:12;11578:155;11756:33;;11808:20;;;-1:-1:-1;11851:18:1;11840:30;;11837:50;;;11883:1;11880;11873:12;11837:50;11916:4;11904:17;;-1:-1:-1;11947:14:1;11943:27;;;11933:38;;11930:58;;;11984:1;11981;11974:12;11999:271;12182:6;12174;12169:3;12156:33;12138:3;12208:16;;12233:13;;;12208:16;11999:271;-1:-1:-1;11999:271:1:o;12275:156::-;12341:20;;12401:4;12390:16;;12380:27;;12370:55;;12421:1;12418;12411:12;12436:182;12493:6;12546:2;12534:9;12525:7;12521:23;12517:32;12514:52;;;12562:1;12559;12552:12;12514:52;12585:27;12602:9;12585:27;:::i;12703:559::-;12761:5;12768:6;12828:3;12815:17;12910:66;12899:8;12883:14;12879:29;12875:102;12855:18;12851:127;12841:155;;12992:1;12989;12982:12;12841:155;13020:33;;13124:4;13111:18;;;-1:-1:-1;13072:21:1;;-1:-1:-1;13152:18:1;13141:30;;13138:50;;;13184:1;13181;13174:12;13138:50;13231:6;13215:14;13211:27;13204:5;13200:39;13197:59;;;13252:1;13249;13242:12;13267:2207;13448:2;13437:9;13430:21;13500:6;13487:20;13482:2;13471:9;13467:18;13460:48;13411:4;13537:32;13565:2;13557:6;13553:15;13537:32;:::i;:::-;606:13;;599:21;13623:2;13608:18;;587:34;13578:49;13688:2;13680:6;13676:15;13663:29;13658:2;13647:9;13643:18;13636:57;13755:2;13747:6;13743:15;13730:29;13724:3;13713:9;13709:19;13702:58;13791:36;13822:3;13814:6;13810:16;13791:36;:::i;:::-;901:42;890:54;;13886:3;13871:19;;878:67;13836:55;13922:36;13953:3;13945:6;13941:16;13922:36;:::i;:::-;901:42;890:54;;14017:3;14002:19;;878:67;13967:55;14053:36;14084:3;14076:6;14072:16;14053:36;:::i;:::-;901:42;890:54;;14148:3;14133:19;;878:67;14098:55;14184:36;14215:3;14207:6;14203:16;14184:36;:::i;:::-;14239:3;14251:54;14301:2;14290:9;14286:18;14270:14;901:42;890:54;878:67;;824:127;14251:54;14336:35;14367:2;14359:6;14355:15;14336:35;:::i;:::-;14314:57;;;14390:3;14402:54;14452:2;14441:9;14437:18;14421:14;901:42;890:54;878:67;;824:127;14402:54;14487:33;14516:2;14508:6;14504:15;14487:33;:::i;:::-;14465:55;;;14539:3;14551:52;14599:2;14588:9;14584:18;14568:14;12690:4;12679:16;12667:29;;12623:75;14551:52;14634:33;14663:2;14655:6;14651:15;14634:33;:::i;:::-;14612:55;;;14686:3;14698:52;14746:2;14735:9;14731:18;14715:14;12690:4;12679:16;12667:29;;12623:75;14698:52;14795:55;14846:2;14838:6;14834:15;14826:6;14795:55;:::i;:::-;14759:91;;;;14869:6;14894:3;14933:2;14928;14917:9;14913:18;14906:30;14959:76;15030:3;15019:9;15015:19;15001:12;14985:14;14959:76;:::i;:::-;14945:90;;15082:55;15133:2;15125:6;15121:15;15113:6;15082:55;:::i;:::-;15044:93;;;;15156:3;15223:66;15211:9;15203:6;15199:22;15195:95;15190:2;15179:9;15175:18;15168:123;15314:65;15372:6;15356:14;15340;15314:65;:::i;:::-;15428:15;;15415:29;15395:18;;;;15388:57;-1:-1:-1;15428:15:1;;15300:79;-1:-1:-1;;;13267:2207:1:o;17181:455::-;17330:2;17319:9;17312:21;17293:4;17362:6;17356:13;17405:6;17400:2;17389:9;17385:18;17378:34;17421:79;17493:6;17488:2;17477:9;17473:18;17468:2;17460:6;17456:15;17421:79;:::i;:::-;17552:2;17540:15;17557:66;17536:88;17521:104;;;;17627:2;17517:113;;17181:455;-1:-1:-1;;17181:455:1:o
Swarm Source
ipfs://2a87994a79d43cf2fa0342573bd377c2e30bf72f77c074c8b945f5264234e9ea
Loading...
Loading
OVERVIEW
DePay's Payment Router enables real-time crypto conversions via decentralized finance, ensuring instant and seamless payments regardless of the sender's or receiver's preferred cryptocurrency.Loading...
Loading
Multichain Portfolio | 34 Chains
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.