ETH Price: $2,367.89 (-0.93%)

Contract

0x628E5081bA93b1c4F58E54e7175088B1ACe58852
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Matching RFQ By ...162268392022-12-20 15:35:11625 days ago1671550511IN
0x628E5081...1ACe58852
0 ETH0.0280912361.41678456
Matching RFQ By ...162090662022-12-18 4:03:47628 days ago1671336227IN
0x628E5081...1ACe58852
0 ETH0.0048221314.55097023
Matching RFQ By ...160670202022-11-28 7:33:59648 days ago1669620839IN
0x628E5081...1ACe58852
0 ETH0.0040006410.79532346
Matching RFQ By ...159192092022-11-07 16:01:47668 days ago1667836907IN
0x628E5081...1ACe58852
0 ETH0.0124114240.5656481
Matching RFQ By ...159190412022-11-07 15:27:59668 days ago1667834879IN
0x628E5081...1ACe58852
0 ETH0.0068862824.78891125
Matching RFQ By ...158522502022-10-29 7:33:11678 days ago1667028791IN
0x628E5081...1ACe58852
0 ETH0.004097168.72389745
Matching RFQ By ...157864082022-10-20 2:44:59687 days ago1666233899IN
0x628E5081...1ACe58852
0 ETH0.0077282519.92844863
Matching RFQ By ...157684402022-10-17 14:32:23689 days ago1666017143IN
0x628E5081...1ACe58852
0 ETH0.013490633.32512366
Matching RFQ By ...157683632022-10-17 14:16:59689 days ago1666016219IN
0x628E5081...1ACe58852
0 ETH0.0096308830.69251074
Matching RFQ By ...157126182022-10-09 19:26:35697 days ago1665343595IN
0x628E5081...1ACe58852
0 ETH0.0086138137.38555914
Matching RFQ By ...155163222022-09-11 18:27:13725 days ago1662920833IN
0x628E5081...1ACe58852
0 ETH0.0038436712.46868807
Matching RFQ By ...154306402022-08-28 23:16:59739 days ago1661728619IN
0x628E5081...1ACe58852
0 ETH0.003860659.59969053
Matching RFQ By ...153711392022-08-19 11:57:39749 days ago1660910259IN
0x628E5081...1ACe58852
0 ETH0.0111592425.84845122
Matching RFQ By ...153710542022-08-19 11:37:39749 days ago1660909059IN
0x628E5081...1ACe58852
0 ETH0.0053877220.74594172
Matching RFQ By ...153706442022-08-19 10:03:57749 days ago1660903437IN
0x628E5081...1ACe58852
0 ETH0.0036533715.0536635
Matching RFQ By ...153705332022-08-19 9:35:39749 days ago1660901739IN
0x628E5081...1ACe58852
0 ETH0.0041501511.84739617
Matching RFQ By ...153586542022-08-17 12:13:34751 days ago1660738414IN
0x628E5081...1ACe58852
0 ETH0.0049272911.60608639
Matching RFQ By ...153194222022-08-11 7:28:17757 days ago1660202897IN
0x628E5081...1ACe58852
0 ETH0.0026476610.1703921
Matching RFQ By ...152748612022-08-04 8:39:01764 days ago1659602341IN
0x628E5081...1ACe58852
0 ETH0.0163373134.22064601
Matching RFQ By ...151976392022-07-23 7:36:36776 days ago1658561796IN
0x628E5081...1ACe58852
0 ETH0.002008275.72931002
Matching RFQ By ...151976192022-07-23 7:33:41776 days ago1658561621IN
0x628E5081...1ACe58852
0 ETH0.003889529.94738265
Matching RFQ By ...151976162022-07-23 7:32:50776 days ago1658561570IN
0x628E5081...1ACe58852
0 ETH0.003102618.37653107
Matching RFQ By ...151974682022-07-23 6:58:25776 days ago1658559505IN
0x628E5081...1ACe58852
0 ETH0.00195486.35055949
Matching RFQ By ...151757132022-07-19 22:11:17779 days ago1658268677IN
0x628E5081...1ACe58852
0 ETH0.0065467526.11537928
Matching RFQ By ...151335342022-07-13 9:39:40786 days ago1657705180IN
0x628E5081...1ACe58852
0 ETH0.0075938515.16674957
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DODOGaslessTrading

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : DODOGaslessTrading.sol
/*
    Copyright 2021 DODO ZOO.
    SPDX-License-Identifier: Apache-2.0
*/

pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import {IDODOApproveProxy} from "./intf/IDODOApproveProxy.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "./lib/SafeERC20.sol";
import {EIP712} from "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

/**
 * @title DODOGaslessTrading
 * @author DODO Breeder
 * @notice DODO Gasless Trading is an insurance service. It is part of DLOP, DODO Limit Order Protocol.
 * The trader signs the order and sends it to DODO's backend service. DODO guarantees that the order
 * will be submitted and filled without any slippage.
 * DODO does not act directly as a counterparty to the trader, but integrates all the on-chain liquidity
 * through DODO's routing system. If the final result is better than the original order, DODO collects
 * these additional token as a premium. Otherwise DODO compensates the difference to the trader.
 * When compensating, DODO will try to pay toToken first. If the insurance inventory is not enough
 * to pay, then the compensation will be paid in the fromToken.
 */

struct GaslessOrder {
    address signer;
    address fromToken;
    address toToken;
    uint256 fromAmount;
    uint256 toAmount;
    uint256 expiration;
    uint256 slot;
}

contract DODOGaslessTrading is
    EIP712("DODO Limit Order Protocol", "1"),
    Ownable
{
    using SafeERC20 for IERC20;

    bytes32 public constant GASLESS_ORDER_TYPEHASH =
        keccak256(
            "Order(address signer,address fromToken,address toToken,uint256 fromAmount,uint256 toAmount,uint256 expiration,uint256 slot)"
        );

    //=============== Storage ===============

    address public _INSURANCE_;
    address public immutable _DODO_APPROVE_;
    address public immutable _DODO_APPROVE_PROXY_;
    mapping(address => bool) public _IS_ADMIN_;
    mapping(bytes32 => bool) public _IS_FILLED_;

    //=============== Events ===============

    event AddAdmin(address admin);

    event RemoveAdmin(address admin);

    event ChangeInsurance(address newInsurance);

    event GaslessOrderFilled(bytes32 orderHash);

    //=============== Functions ===============

    constructor(
        address owner,
        address insurance,
        address dodoApprove,
        address dodoApproveProxy
    ) {
        transferOwnership(owner);
        _INSURANCE_ = insurance;
        _DODO_APPROVE_ = dodoApprove;
        _DODO_APPROVE_PROXY_ = dodoApproveProxy;
    }

    function matchingRFQByPlatform(
        GaslessOrder calldata order,
        bytes calldata signature,
        bytes calldata routeData,
        address route,
        uint256 maxCompensation
    ) external {
        require(_IS_ADMIN_[msg.sender], "ACCESS_DENIED");

        // verify order
        bytes32 orderHash = _hashOrder(order);
        require(
            ECDSA.recover(orderHash, signature) == order.signer,
            "DLOP:INVALID_SIGNATURE"
        );
        require(order.expiration > block.timestamp, "DLOP:ORDER_EXPIRED");
        require(!_IS_FILLED_[orderHash], "DLOP:ORDER_FILLED");

        // flash swap: transfer trader's FROM token in
        IDODOApproveProxy(_DODO_APPROVE_PROXY_).claimTokens(
            order.fromToken,
            order.signer,
            address(this),
            order.fromAmount
        );

        // swap using DODO Route
        uint256 swapResult;
        {
            uint256 originToTokenBalance = IERC20(order.toToken).balanceOf(
                address(this)
            );
            _approveMax(
                IERC20(order.fromToken),
                _DODO_APPROVE_,
                order.fromAmount
            );
            require(route != _DODO_APPROVE_PROXY_, "DLOP:ROUTE_ADDRESS_REJECT");
            (bool success, ) = route.call(routeData);
            require(success, "DLOP:DODO_ROUTE_FAILED");
            uint256 toTokenBalance = IERC20(order.toToken).balanceOf(
                address(this)
            );
            swapResult = toTokenBalance - originToTokenBalance;
        }

        // pay trader TO token
        if (swapResult >= order.toAmount) {
            // fund extra TO token to insurance
            IERC20(order.toToken).safeTransfer(order.signer, order.toAmount);
            IERC20(order.toToken).safeTransfer(
                _INSURANCE_,
                IERC20(order.toToken).balanceOf(address(this))
            );
        } else {
            IERC20(order.toToken).safeTransfer(order.signer, swapResult);
            // compensate the trader
            uint256 compensation = order.toAmount - swapResult;
            require(
                compensation <= maxCompensation,
                "DLOP:COMPENSATION_EXCEED"
            );
            if (IERC20(order.toToken).balanceOf(_INSURANCE_) >= compensation) {
                // compensate TO token if balance enough
                IDODOApproveProxy(_DODO_APPROVE_PROXY_).claimTokens(
                    order.toToken,
                    _INSURANCE_,
                    order.signer,
                    compensation
                );
            } else {
                // otherwise compensate FROM token with the price signed in order
                IDODOApproveProxy(_DODO_APPROVE_PROXY_).claimTokens(
                    order.fromToken,
                    _INSURANCE_,
                    order.signer,
                    (compensation * order.fromAmount) / order.toAmount
                );
            }
        }

        _IS_FILLED_[orderHash] = true;
        emit GaslessOrderFilled(orderHash);
    }

    //============ Ownable ============

    function addAdmin(address userAddr) external onlyOwner {
        _IS_ADMIN_[userAddr] = true;
        emit AddAdmin(userAddr);
    }

    function removeAdmin(address userAddr) external onlyOwner {
        _IS_ADMIN_[userAddr] = false;
        emit RemoveAdmin(userAddr);
    }

    function changeInsurance(address newInsurance) external onlyOwner {
        _INSURANCE_ = newInsurance;
        emit ChangeInsurance(newInsurance);
    }

    //============ Private ============

    function _approveMax(
        IERC20 token,
        address to,
        uint256 amount
    ) private {
        uint256 allowance = token.allowance(address(this), to);
        if (allowance < amount) {
            if (allowance > 0) {
                token.safeApprove(to, 0);
            }
            token.safeApprove(to, type(uint256).max);
        }
    }

    function _hashOrder(GaslessOrder memory order)
        private
        view
        returns (bytes32)
    {
        // keccak256(
        //     abi.encode(
        //         GASLESS_ORDER_TYPEHASH,
        //         order.signer,
        //         order.fromToken,
        //         order.toToken,
        //         order.fromAmount,
        //         order.toAmount
        //         order.expiration,
        //         order.slot
        //     )
        // )
        bytes32 structHash;
        bytes32 orderTypeHash = GASLESS_ORDER_TYPEHASH;
        assembly {
            let start := sub(order, 32)
            let tmp := mload(start)
            // 256 = (1+7)*32
            // [0...32)   bytes: GASLESS_ORDER_TYPEHASH
            // [32...256) bytes: order
            mstore(start, orderTypeHash)
            structHash := keccak256(start, 256)
            mstore(start, tmp)
        }
        return _hashTypedDataV4(structHash);
    }
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 10 : IDODOApproveProxy.sol
/*

    Copyright 2020 DODO ZOO.
    SPDX-License-Identifier: Apache-2.0

*/

pragma solidity 0.8.4;

interface IDODOApproveProxy {
    function claimTokens(address token,address who,address dest,uint256 amount) external;
}

File 4 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 5 of 10 : SafeERC20.sol
/*

    Copyright 2020 DODO ZOO.
    SPDX-License-Identifier: Apache-2.0
    This is a simplified version of OpenZepplin's SafeERC20 library

*/

pragma solidity 0.8.4;
pragma experimental ABIEncoderV2;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeMath} from "./SafeMath.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 ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transferFrom.selector, from, to, value)
        );
    }

    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'
        // solhint-disable-next-line max-line-length
        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 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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 10 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 7 of 10 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 8 of 10 : 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;
    }
}

File 9 of 10 : SafeMath.sol
/*

    Copyright 2020 DODO ZOO.
    SPDX-License-Identifier: Apache-2.0

*/

pragma solidity 0.8.4;
pragma experimental ABIEncoderV2;


/**
 * @title SafeMath
 * @author DODO Breeder
 *
 * @notice Math operations with safety checks that revert on error
 */
library SafeMath {
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "MUL_ERROR");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "DIVIDING_ERROR");
        return a / b;
    }

    function divCeil(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 quotient = div(a, b);
        uint256 remainder = a - quotient * b;
        if (remainder > 0) {
            return quotient + 1;
        } else {
            return quotient;
        }
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SUB_ERROR");
        return a - b;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "ADD_ERROR");
        return c;
    }

    function sqrt(uint256 x) internal pure returns (uint256 y) {
        uint256 z = x / 2 + 1;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

File 10 of 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"insurance","type":"address"},{"internalType":"address","name":"dodoApprove","type":"address"},{"internalType":"address","name":"dodoApproveProxy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"}],"name":"AddAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newInsurance","type":"address"}],"name":"ChangeInsurance","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"orderHash","type":"bytes32"}],"name":"GaslessOrderFilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"}],"name":"RemoveAdmin","type":"event"},{"inputs":[],"name":"GASLESS_ORDER_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_DODO_APPROVE_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_DODO_APPROVE_PROXY_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_INSURANCE_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_IS_ADMIN_","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"_IS_FILLED_","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddr","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newInsurance","type":"address"}],"name":"changeInsurance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"fromToken","type":"address"},{"internalType":"address","name":"toToken","type":"address"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"toAmount","type":"uint256"},{"internalType":"uint256","name":"expiration","type":"uint256"},{"internalType":"uint256","name":"slot","type":"uint256"}],"internalType":"struct GaslessOrder","name":"order","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"routeData","type":"bytes"},{"internalType":"address","name":"route","type":"address"},{"internalType":"uint256","name":"maxCompensation","type":"uint256"}],"name":"matchingRFQByPlatform","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddr","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101806040523480156200001257600080fd5b5060405162001dee38038062001dee8339810160408190526200003591620002e0565b604080518082018252601981527f444f444f204c696d6974204f726465722050726f746f636f6c000000000000006020808301918252835180850190945260018452603160f81b908401528151902060e08190527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66101008190524660a0529192917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001288184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6080523060601b60c05261012052506200014e9250620001489150503390565b6200019e565b6200015984620001ee565b600180546001600160a01b039094166001600160a01b0319909416939093179092556001600160601b0319606091821b81166101405291901b1661016052506200033c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200024e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620002b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000245565b620002c0816200019e565b50565b80516001600160a01b0381168114620002db57600080fd5b919050565b60008060008060808587031215620002f6578384fd5b6200030185620002c3565b93506200031160208601620002c3565b92506200032160408601620002c3565b91506200033160608601620002c3565b905092959194509250565b60805160a05160c05160601c60e05161010051610120516101405160601c6101605160601c611a21620003cd600039600081816101ff015281816105c20152818161072c01528181610afd0152610bac01526000818160ee0152610701015260006114ea01526000611539015260006115140152600061146d01526000611497015260006114c10152611a216000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063937fa7031161008c578063b08d659511610066578063b08d6595146101e7578063eb99be12146101fa578063f2fde38b14610221578063fb63184e1461023457600080fd5b8063937fa7031461016c57806399a12ead1461019f5780639ae78b5a146101d457600080fd5b80631785f53c146100d457806346e74298146100e9578063704802751461012d578063715018a6146101405780638c733318146101485780638da5cb5b1461015b575b600080fd5b6100e76100e2366004611709565b610257565b005b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e761013b366004611709565b6102e2565b6100e7610360565b6100e7610156366004611709565b610396565b6000546001600160a01b0316610110565b61018f61017a366004611709565b60026020526000908152604090205460ff1681565b6040519015158152602001610124565b6101c67f6a8dbbec051463148d27a29a3c9fe4f78c6d0a2b88174d9c44f9be5c3b15fc6081565b604051908152602001610124565b6100e76101e2366004611762565b61040e565b600154610110906001600160a01b031681565b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6100e761022f366004611709565b610ccb565b61018f61024236600461174a565b60036020526000908152604090205460ff1681565b6000546001600160a01b0316331461028a5760405162461bcd60e51b815260040161028190611932565b60405180910390fd5b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527f753f40ca3312b2408759a67875b367955e7baa221daf08aa3d643d96202ac12b91015b60405180910390a150565b6000546001600160a01b0316331461030c5760405162461bcd60e51b815260040161028190611932565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527fad6de4452a631e641cb59902236607946ce9272b9b981f2f80e8d129cb9084ba91016102d7565b6000546001600160a01b0316331461038a5760405162461bcd60e51b815260040161028190611932565b6103946000610d66565b565b6000546001600160a01b031633146103c05760405162461bcd60e51b815260040161028190611932565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f74b2bb8da08ce82e665420ee864fd487d4ccd449434dc6fd13819141bd994454906020016102d7565b3360009081526002602052604090205460ff1661045d5760405162461bcd60e51b815260206004820152600d60248201526c1050d0d154d4d7d11153925151609a1b6044820152606401610281565b6000610476610471368a90038a018a611805565b610db6565b90506104856020890189611709565b6001600160a01b03166104ce8289898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dfe92505050565b6001600160a01b03161461051d5760405162461bcd60e51b8152602060048201526016602482015275444c4f503a494e56414c49445f5349474e415455524560501b6044820152606401610281565b428860a00135116105655760405162461bcd60e51b8152602060048201526012602482015271111313d40e93d491115497d156141254915160721b6044820152606401610281565b60008181526003602052604090205460ff16156105b85760405162461bcd60e51b8152602060048201526011602482015270111313d40e93d491115497d19253131151607a1b6044820152606401610281565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016630a5ea4666105f760408b0160208c01611709565b61060460208c018c611709565b308c606001356040518563ffffffff1660e01b81526004016106299493929190611908565b600060405180830381600087803b15801561064357600080fd5b505af1158015610657573d6000803e3d6000fd5b505050506000808960400160208101906106719190611709565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b1580156106b257600080fd5b505afa1580156106c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ea91906118a7565b905061072a6106ff60408c0160208d01611709565b7f00000000000000000000000000000000000000000000000000000000000000008c60600135610e22565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614156107ac5760405162461bcd60e51b815260206004820152601960248201527f444c4f503a524f5554455f414444524553535f52454a454354000000000000006044820152606401610281565b6000856001600160a01b031688886040516107c89291906118bf565b6000604051808303816000865af19150503d8060008114610805576040519150601f19603f3d011682016040523d82523d6000602084013e61080a565b606091505b50509050806108545760405162461bcd60e51b8152602060048201526016602482015275111313d40e9113d113d7d493d5551157d1905253115160521b6044820152606401610281565b600061086660608d0160408e01611709565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b1580156108a757600080fd5b505afa1580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df91906118a7565b90506108eb83826119be565b9350505050886080013581106109de5761093061090b60208b018b611709565b60808b013561092060608d0160408e01611709565b6001600160a01b03169190610ee6565b6001546109d9906001600160a01b031661095060608c0160408d01611709565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b15801561099157600080fd5b505afa1580156109a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c991906118a7565b61092060608d0160408e01611709565b610c6d565b6109ff6109ee60208b018b611709565b8261092060608d0160408e01611709565b6000610a0f8260808c01356119be565b905083811115610a615760405162461bcd60e51b815260206004820152601860248201527f444c4f503a434f4d50454e534154494f4e5f45584345454400000000000000006044820152606401610281565b80610a7260608c0160408d01611709565b6001546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a082319060240160206040518083038186803b158015610ab657600080fd5b505afa158015610aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aee91906118a7565b10610ba2576001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016630a5ea466610b3260608d0160408e01611709565b6001546001600160a01b0316610b4b60208f018f611709565b856040518563ffffffff1660e01b8152600401610b6b9493929190611908565b600060405180830381600087803b158015610b8557600080fd5b505af1158015610b99573d6000803e3d6000fd5b50505050610c6b565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016630a5ea466610be160408d0160208e01611709565b6001546001600160a01b0316610bfa60208f018f611709565b8e608001358f6060013587610c0f919061199f565b610c19919061197f565b6040518563ffffffff1660e01b8152600401610c389493929190611908565b600060405180830381600087803b158015610c5257600080fd5b505af1158015610c66573d6000803e3d6000fd5b505050505b505b60008281526003602052604090819020805460ff19166001179055517f031a3a58995b193a45e2431fd17d6a328e1e33b06e7327b23db4d355cf96d91790610cb89084815260200190565b60405180910390a1505050505050505050565b6000546001600160a01b03163314610cf55760405162461bcd60e51b815260040161028190611932565b6001600160a01b038116610d5a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610281565b610d6381610d66565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601f19810180517f6a8dbbec051463148d27a29a3c9fe4f78c6d0a2b88174d9c44f9be5c3b15fc60808352610100832091909252600091610df682610f4e565b949350505050565b6000806000610e0d8585610fa2565b91509150610e1a81611012565b509392505050565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e9060440160206040518083038186803b158015610e6d57600080fd5b505afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906118a7565b905081811015610ee0578015610eca57610eca6001600160a01b038516846000611213565b610ee06001600160a01b03851684600019611213565b50505050565b6040516001600160a01b038316602482015260448101829052610f4990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611337565b505050565b6000610f9c610f5b611460565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b92915050565b600080825160411415610fd95760208301516040840151606085015160001a610fcd87828585611587565b9450945050505061100b565b8251604014156110035760208301516040840151610ff8868383611674565b93509350505061100b565b506000905060025b9250929050565b600081600481111561103457634e487b7160e01b600052602160045260246000fd5b141561103d5750565b600181600481111561105f57634e487b7160e01b600052602160045260246000fd5b14156110ad5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610281565b60028160048111156110cf57634e487b7160e01b600052602160045260246000fd5b141561111d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610281565b600381600481111561113f57634e487b7160e01b600052602160045260246000fd5b14156111985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610281565b60048160048111156111ba57634e487b7160e01b600052602160045260246000fd5b1415610d635760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610281565b80158061129c5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561126257600080fd5b505afa158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a91906118a7565b155b6113075760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610281565b6040516001600160a01b038316602482015260448101829052610f4990849063095ea7b360e01b90606401610f12565b600080836001600160a01b03168360405161135291906118cf565b6000604051808303816000865af19150503d806000811461138f576040519150601f19603f3d011682016040523d82523d6000602084013e611394565b606091505b5091509150816113e65760405162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646044820152606401610281565b805115610ee05780806020019051810190611401919061172a565b610ee05760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610281565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156114b957507f000000000000000000000000000000000000000000000000000000000000000046145b156114e357507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156115be575060009050600361166b565b8460ff16601b141580156115d657508460ff16601c14155b156115e7575060009050600461166b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561163b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116645760006001925092505061166b565b9150600090505b94509492505050565b6000806001600160ff1b0383168161169160ff86901c601b611967565b905061169f87828885611587565b935093505050935093915050565b80356001600160a01b03811681146116c457600080fd5b919050565b60008083601f8401126116da578182fd5b50813567ffffffffffffffff8111156116f1578182fd5b60208301915083602082850101111561100b57600080fd5b60006020828403121561171a578081fd5b611723826116ad565b9392505050565b60006020828403121561173b578081fd5b81518015158114611723578182fd5b60006020828403121561175b578081fd5b5035919050565b600080600080600080600087890361016081121561177e578384fd5b60e081121561178b578384fd5b5087965060e088013567ffffffffffffffff808211156117a9578485fd5b6117b58b838c016116c9565b90985096506101008a01359150808211156117ce578485fd5b506117db8a828b016116c9565b90955093506117ef905061012089016116ad565b9150610140880135905092959891949750929550565b600060e08284031215611816578081fd5b60405160e0810181811067ffffffffffffffff8211171561184557634e487b7160e01b83526041600452602483fd5b604052611851836116ad565b815261185f602084016116ad565b6020820152611870604084016116ad565b6040820152606083013560608201526080830135608082015260a083013560a082015260c083013560c08201528091505092915050565b6000602082840312156118b8578081fd5b5051919050565b8183823760009101908152919050565b60008251815b818110156118ef57602081860181015185830152016118d5565b818111156118fd5782828501525b509190910192915050565b6001600160a01b039485168152928416602084015292166040820152606081019190915260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561197a5761197a6119d5565b500190565b60008261199a57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156119b9576119b96119d5565b500290565b6000828210156119d0576119d06119d5565b500390565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220ff5a0f24a70ed07b5d4cf19ed45675740529207f3876de957da9e00cf39592b564736f6c63430008040033000000000000000000000000b37136b338c6cc0e459a35fe9aa036f6b5a147c000000000000000000000000021636e4e877ef8f948d079381811ee6e5f084628000000000000000000000000cb859ea579b28e02b87a1fde08d087ab9dbe5149000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc619

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063937fa7031161008c578063b08d659511610066578063b08d6595146101e7578063eb99be12146101fa578063f2fde38b14610221578063fb63184e1461023457600080fd5b8063937fa7031461016c57806399a12ead1461019f5780639ae78b5a146101d457600080fd5b80631785f53c146100d457806346e74298146100e9578063704802751461012d578063715018a6146101405780638c733318146101485780638da5cb5b1461015b575b600080fd5b6100e76100e2366004611709565b610257565b005b6101107f000000000000000000000000cb859ea579b28e02b87a1fde08d087ab9dbe514981565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e761013b366004611709565b6102e2565b6100e7610360565b6100e7610156366004611709565b610396565b6000546001600160a01b0316610110565b61018f61017a366004611709565b60026020526000908152604090205460ff1681565b6040519015158152602001610124565b6101c67f6a8dbbec051463148d27a29a3c9fe4f78c6d0a2b88174d9c44f9be5c3b15fc6081565b604051908152602001610124565b6100e76101e2366004611762565b61040e565b600154610110906001600160a01b031681565b6101107f000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc61981565b6100e761022f366004611709565b610ccb565b61018f61024236600461174a565b60036020526000908152604090205460ff1681565b6000546001600160a01b0316331461028a5760405162461bcd60e51b815260040161028190611932565b60405180910390fd5b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527f753f40ca3312b2408759a67875b367955e7baa221daf08aa3d643d96202ac12b91015b60405180910390a150565b6000546001600160a01b0316331461030c5760405162461bcd60e51b815260040161028190611932565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527fad6de4452a631e641cb59902236607946ce9272b9b981f2f80e8d129cb9084ba91016102d7565b6000546001600160a01b0316331461038a5760405162461bcd60e51b815260040161028190611932565b6103946000610d66565b565b6000546001600160a01b031633146103c05760405162461bcd60e51b815260040161028190611932565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f74b2bb8da08ce82e665420ee864fd487d4ccd449434dc6fd13819141bd994454906020016102d7565b3360009081526002602052604090205460ff1661045d5760405162461bcd60e51b815260206004820152600d60248201526c1050d0d154d4d7d11153925151609a1b6044820152606401610281565b6000610476610471368a90038a018a611805565b610db6565b90506104856020890189611709565b6001600160a01b03166104ce8289898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dfe92505050565b6001600160a01b03161461051d5760405162461bcd60e51b8152602060048201526016602482015275444c4f503a494e56414c49445f5349474e415455524560501b6044820152606401610281565b428860a00135116105655760405162461bcd60e51b8152602060048201526012602482015271111313d40e93d491115497d156141254915160721b6044820152606401610281565b60008181526003602052604090205460ff16156105b85760405162461bcd60e51b8152602060048201526011602482015270111313d40e93d491115497d19253131151607a1b6044820152606401610281565b6001600160a01b037f000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc61916630a5ea4666105f760408b0160208c01611709565b61060460208c018c611709565b308c606001356040518563ffffffff1660e01b81526004016106299493929190611908565b600060405180830381600087803b15801561064357600080fd5b505af1158015610657573d6000803e3d6000fd5b505050506000808960400160208101906106719190611709565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b1580156106b257600080fd5b505afa1580156106c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ea91906118a7565b905061072a6106ff60408c0160208d01611709565b7f000000000000000000000000cb859ea579b28e02b87a1fde08d087ab9dbe51498c60600135610e22565b7f000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc6196001600160a01b0316856001600160a01b031614156107ac5760405162461bcd60e51b815260206004820152601960248201527f444c4f503a524f5554455f414444524553535f52454a454354000000000000006044820152606401610281565b6000856001600160a01b031688886040516107c89291906118bf565b6000604051808303816000865af19150503d8060008114610805576040519150601f19603f3d011682016040523d82523d6000602084013e61080a565b606091505b50509050806108545760405162461bcd60e51b8152602060048201526016602482015275111313d40e9113d113d7d493d5551157d1905253115160521b6044820152606401610281565b600061086660608d0160408e01611709565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b1580156108a757600080fd5b505afa1580156108bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108df91906118a7565b90506108eb83826119be565b9350505050886080013581106109de5761093061090b60208b018b611709565b60808b013561092060608d0160408e01611709565b6001600160a01b03169190610ee6565b6001546109d9906001600160a01b031661095060608c0160408d01611709565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a082319060240160206040518083038186803b15801561099157600080fd5b505afa1580156109a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c991906118a7565b61092060608d0160408e01611709565b610c6d565b6109ff6109ee60208b018b611709565b8261092060608d0160408e01611709565b6000610a0f8260808c01356119be565b905083811115610a615760405162461bcd60e51b815260206004820152601860248201527f444c4f503a434f4d50454e534154494f4e5f45584345454400000000000000006044820152606401610281565b80610a7260608c0160408d01611709565b6001546040516370a0823160e01b81526001600160a01b0391821660048201529116906370a082319060240160206040518083038186803b158015610ab657600080fd5b505afa158015610aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aee91906118a7565b10610ba2576001600160a01b037f000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc61916630a5ea466610b3260608d0160408e01611709565b6001546001600160a01b0316610b4b60208f018f611709565b856040518563ffffffff1660e01b8152600401610b6b9493929190611908565b600060405180830381600087803b158015610b8557600080fd5b505af1158015610b99573d6000803e3d6000fd5b50505050610c6b565b6001600160a01b037f000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc61916630a5ea466610be160408d0160208e01611709565b6001546001600160a01b0316610bfa60208f018f611709565b8e608001358f6060013587610c0f919061199f565b610c19919061197f565b6040518563ffffffff1660e01b8152600401610c389493929190611908565b600060405180830381600087803b158015610c5257600080fd5b505af1158015610c66573d6000803e3d6000fd5b505050505b505b60008281526003602052604090819020805460ff19166001179055517f031a3a58995b193a45e2431fd17d6a328e1e33b06e7327b23db4d355cf96d91790610cb89084815260200190565b60405180910390a1505050505050505050565b6000546001600160a01b03163314610cf55760405162461bcd60e51b815260040161028190611932565b6001600160a01b038116610d5a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610281565b610d6381610d66565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601f19810180517f6a8dbbec051463148d27a29a3c9fe4f78c6d0a2b88174d9c44f9be5c3b15fc60808352610100832091909252600091610df682610f4e565b949350505050565b6000806000610e0d8585610fa2565b91509150610e1a81611012565b509392505050565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e9060440160206040518083038186803b158015610e6d57600080fd5b505afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906118a7565b905081811015610ee0578015610eca57610eca6001600160a01b038516846000611213565b610ee06001600160a01b03851684600019611213565b50505050565b6040516001600160a01b038316602482015260448101829052610f4990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611337565b505050565b6000610f9c610f5b611460565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b92915050565b600080825160411415610fd95760208301516040840151606085015160001a610fcd87828585611587565b9450945050505061100b565b8251604014156110035760208301516040840151610ff8868383611674565b93509350505061100b565b506000905060025b9250929050565b600081600481111561103457634e487b7160e01b600052602160045260246000fd5b141561103d5750565b600181600481111561105f57634e487b7160e01b600052602160045260246000fd5b14156110ad5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610281565b60028160048111156110cf57634e487b7160e01b600052602160045260246000fd5b141561111d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610281565b600381600481111561113f57634e487b7160e01b600052602160045260246000fd5b14156111985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610281565b60048160048111156111ba57634e487b7160e01b600052602160045260246000fd5b1415610d635760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610281565b80158061129c5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561126257600080fd5b505afa158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a91906118a7565b155b6113075760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610281565b6040516001600160a01b038316602482015260448101829052610f4990849063095ea7b360e01b90606401610f12565b600080836001600160a01b03168360405161135291906118cf565b6000604051808303816000865af19150503d806000811461138f576040519150601f19603f3d011682016040523d82523d6000602084013e611394565b606091505b5091509150816113e65760405162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646044820152606401610281565b805115610ee05780806020019051810190611401919061172a565b610ee05760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610281565b6000306001600160a01b037f000000000000000000000000628e5081ba93b1c4f58e54e7175088b1ace58852161480156114b957507f000000000000000000000000000000000000000000000000000000000000000146145b156114e357507f720f98c0566095454d146058b97f5196b138018563d0993d2b6f1dd31fc8dc3d90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f3b4865bb9be4ea02fb9565c5fc86eb61d7d7709c13cf86345a255dfe3bc7cd5c828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156115be575060009050600361166b565b8460ff16601b141580156115d657508460ff16601c14155b156115e7575060009050600461166b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561163b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116645760006001925092505061166b565b9150600090505b94509492505050565b6000806001600160ff1b0383168161169160ff86901c601b611967565b905061169f87828885611587565b935093505050935093915050565b80356001600160a01b03811681146116c457600080fd5b919050565b60008083601f8401126116da578182fd5b50813567ffffffffffffffff8111156116f1578182fd5b60208301915083602082850101111561100b57600080fd5b60006020828403121561171a578081fd5b611723826116ad565b9392505050565b60006020828403121561173b578081fd5b81518015158114611723578182fd5b60006020828403121561175b578081fd5b5035919050565b600080600080600080600087890361016081121561177e578384fd5b60e081121561178b578384fd5b5087965060e088013567ffffffffffffffff808211156117a9578485fd5b6117b58b838c016116c9565b90985096506101008a01359150808211156117ce578485fd5b506117db8a828b016116c9565b90955093506117ef905061012089016116ad565b9150610140880135905092959891949750929550565b600060e08284031215611816578081fd5b60405160e0810181811067ffffffffffffffff8211171561184557634e487b7160e01b83526041600452602483fd5b604052611851836116ad565b815261185f602084016116ad565b6020820152611870604084016116ad565b6040820152606083013560608201526080830135608082015260a083013560a082015260c083013560c08201528091505092915050565b6000602082840312156118b8578081fd5b5051919050565b8183823760009101908152919050565b60008251815b818110156118ef57602081860181015185830152016118d5565b818111156118fd5782828501525b509190910192915050565b6001600160a01b039485168152928416602084015292166040820152606081019190915260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561197a5761197a6119d5565b500190565b60008261199a57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156119b9576119b96119d5565b500290565b6000828210156119d0576119d06119d5565b500390565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220ff5a0f24a70ed07b5d4cf19ed45675740529207f3876de957da9e00cf39592b564736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000b37136b338c6cc0e459a35fe9aa036f6b5a147c000000000000000000000000021636e4e877ef8f948d079381811ee6e5f084628000000000000000000000000cb859ea579b28e02b87a1fde08d087ab9dbe5149000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc619

-----Decoded View---------------
Arg [0] : owner (address): 0xb37136B338C6cC0E459A35fe9Aa036f6b5A147c0
Arg [1] : insurance (address): 0x21636e4E877EF8F948d079381811eE6e5f084628
Arg [2] : dodoApprove (address): 0xCB859eA579b28e02B87A1FDE08d087ab9dbE5149
Arg [3] : dodoApproveProxy (address): 0x335aC99bb3E51BDbF22025f092Ebc1Cf2c5cC619

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000b37136b338c6cc0e459a35fe9aa036f6b5a147c0
Arg [1] : 00000000000000000000000021636e4e877ef8f948d079381811ee6e5f084628
Arg [2] : 000000000000000000000000cb859ea579b28e02b87a1fde08d087ab9dbe5149
Arg [3] : 000000000000000000000000335ac99bb3e51bdbf22025f092ebc1cf2c5cc619


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.