Contract 0x8E4dd1749dfD63538Ca3ceF29b10f9E25605A4cc

 

Contract Overview

Archly : ERC20 Transfer Handler
Balance:
0 frxETH

frxETHValue:
$0.00

Token:
Txn Hash Method
Block
From
To
Value
0x12f654e51b33e6d6f87648ccb88b5918cba3a6f042ff495e74b7b39decfd6b3eSet Tx Fee Rate25845722024-04-01 13:57:3557 days 12 hrs ago0xf087491dbb6d94a1332501bc087390b887b3ec92 IN  Archly : ERC20 Transfer Handler0 frxETH0.0000034912110.001000254
0xe9cf2486e0a5fa9e4c773dcc17de612a55c0451adc7c250e9b88fd19bba09ed1Enable Mint Burn18498202024-03-15 13:45:5174 days 13 hrs ago0xf087491dbb6d94a1332501bc087390b887b3ec92 IN  Archly : ERC20 Transfer Handler0 frxETH0.0000050505550.001000254
0x6a1c27bcf2b2b72d668643f7c2cbe2f3996dc5ce30ad02e29f2f6e57c4ff16090x6080604018497862024-03-15 13:44:4374 days 13 hrs ago0xf087491dbb6d94a1332501bc087390b887b3ec92 IN  Create: Erc20TransferHandler0 frxETH0.0005236667630.001000254
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Erc20TransferHandler

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 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);
    }
}

File 2 of 19 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

import "./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);
    }
}

File 3 of 19 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 5 of 19 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 6 of 19 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 8 of 19 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../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));
    }
}

File 9 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 10 of 19 : 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 11 of 19 : ArcBase.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

import {Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol";
import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/**
 * Provides set of properties, functions, and modifiers to help with 
 * security and access control of extending contracts
 */
contract ArcBase is Ownable2Step, Pausable, ReentrancyGuard
{
    function pause() public onlyOwner
    {
        _pause();
    }
    
    function unpause() public onlyOwner
    {
        _unpause();
    }

    function withdrawNative(address beneficiary) public onlyOwner {
        uint256 amount = address(this).balance;
        (bool sent, ) = beneficiary.call{value: amount}("");
        require(sent, 'Unable to withdraw');
    }

    function withdrawToken(address beneficiary, address token) public onlyOwner {
        uint256 amount = IERC20(token).balanceOf(address(this));
        IERC20(token).transfer(beneficiary, amount);
    }
}

File 12 of 19 : ArcBaseWithRainbowRoad.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

import {ArcBase} from "./ArcBase.sol";
import {IRainbowRoad} from "../interfaces/IRainbowRoad.sol";

/**
 * Extends the ArcBase contract to provide
 * for interactions with the Rainbow Road
 */
contract ArcBaseWithRainbowRoad is ArcBase
{
    IRainbowRoad public rainbowRoad;
    
    constructor(address _rainbowRoad)
    {
        require(_rainbowRoad != address(0), 'Rainbow Road cannot be zero address');
        rainbowRoad = IRainbowRoad(_rainbowRoad);
    }
    
    function setRainbowRoad(address _rainbowRoad) external onlyOwner
    {
        require(_rainbowRoad != address(0), 'Rainbow Road cannot be zero address');
        rainbowRoad = IRainbowRoad(_rainbowRoad);
    }
    
    /// @dev Only calls from the Rainbow Road are accepted.
    modifier onlyRainbowRoad() 
    {
        require(msg.sender == address(rainbowRoad), 'Must be called by Rainbow Road');
        _;
    }
}

File 13 of 19 : Erc20TransferHandler.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import {ArcBaseWithRainbowRoad} from "../bases/ArcBaseWithRainbowRoad.sol";
import {IHandler} from "../interfaces/IHandler.sol";
import {IFeeCollectorFactory} from "../interfaces/IFeeCollectorFactory.sol";
import {IFeeCollector} from "../interfaces/IFeeCollector.sol";
import {IMintBurn} from "../interfaces/IMintBurn.sol";

/**
 * ERC20 Transfer Handler
 */
contract Erc20TransferHandler is ArcBaseWithRainbowRoad, IHandler
{
    using SafeERC20 for IERC20;
    
    bool public chargeTxFee;
    uint256 public txFeeRate;
    uint256 public bribeFeeRate;
    uint256 public constant MAX_TX_FEE_RATE = 200; // 20%
    uint256 public constant MAX_BRIBE_FEE_RATE = 1000; // 100%
    uint256 public constant MAX_FEE_ON_TRANSFER_PCT_RATE = 1000; // 100%
    address public bribeCollector;
    IFeeCollectorFactory public feeCollectorFactory;
    mapping(string => address) public feeCollectors;
    mapping(string => uint256) public feeOnTransferFlatRate;
    mapping(string => uint256) public feeOnTransferPercentageRate;
    mapping(string => bool) public isMintBurn;
    
    constructor(address _rainbowRoad, address _feeCollectorFactory) ArcBaseWithRainbowRoad(_rainbowRoad)
    {
        require(_feeCollectorFactory != address(0), 'Fee Collector Factory cannot be zero address');
        
        chargeTxFee = true;
        txFeeRate = 25; // 25 bps = 2.5%
        bribeFeeRate = 300; // 300 bps = 30%
        bribeCollector = 0x1d9E69A851b2c439A964d8dc3d611781440fd658;
        feeCollectorFactory = IFeeCollectorFactory(_feeCollectorFactory);
    }
    
    function enableTxFeeCharge() external onlyOwner
    {
        require(!chargeTxFee, 'Charge tx fee is enabled');
        chargeTxFee = true;
    }
    
    function disableTxFeeCharge() external onlyOwner
    {
        require(chargeTxFee, 'Charge tx fee is disabled');
        chargeTxFee = false;
    }
    
    function enableMintBurn(string calldata tokenSymbol) external onlyOwner
    {
        require(!isMintBurn[tokenSymbol], 'Mint and burn is enabled');
        isMintBurn[tokenSymbol] = true;
    }
    
    function disableMintBurn(string calldata tokenSymbol) external onlyOwner
    {
        require(isMintBurn[tokenSymbol], 'Mint and burn is disabled');
        isMintBurn[tokenSymbol] = false;
    }
    
    function setTxFeeRate(uint256 _txFeeRate) external {
        require(rainbowRoad.feeManagers(msg.sender), 'Invalid fee manager');
        require(_txFeeRate <= MAX_TX_FEE_RATE, 'Tx fee rate too high');
        txFeeRate = _txFeeRate;
    }
    
    function setBribeFeeRate(uint256 _bribeFeeRate) external {
        require(rainbowRoad.feeManagers(msg.sender), 'Invalid fee manager');
        require(_bribeFeeRate <= MAX_BRIBE_FEE_RATE, 'Bribe fee rate too high');
        bribeFeeRate = _bribeFeeRate;
    }
    
    function setFeeOnTransferFlatRate(string calldata tokenSymbol, uint256 _feeOnTransferFlatRate) external {
        require(rainbowRoad.feeManagers(msg.sender), 'Invalid fee manager');
        
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token must be whitelisted');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        feeOnTransferFlatRate[tokenSymbol] = _feeOnTransferFlatRate;
    }
    
    function setFeeOnTransferPercentageRate(string calldata tokenSymbol, uint256 _feeOnTransferPercentageRate) external {
        require(rainbowRoad.feeManagers(msg.sender), 'Invalid fee manager');
        
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token must be whitelisted');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        require(_feeOnTransferPercentageRate <= MAX_FEE_ON_TRANSFER_PCT_RATE, 'Fee on transfer rate too high');
        feeOnTransferPercentageRate[tokenSymbol] = _feeOnTransferPercentageRate;
    }
    
    function setBribeCollector(address _bribeCollector) external onlyOwner {
        bribeCollector = _bribeCollector;
    }
    
    function setFeeCollectorFactory(address _feeCollectorFactory) external onlyOwner
    {
        require(_feeCollectorFactory != address(0), 'Fee Collector Factory cannot be zero address');
        feeCollectorFactory = IFeeCollectorFactory(_feeCollectorFactory);
    }
    
    function setFeeCollector(string calldata tokenSymbol, address feeCollectorAddress) external onlyOwner
    {
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token must be whitelisted');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        require(feeCollectorAddress != address(0), 'Fee collector cannot be zero address');
        
        feeCollectors[tokenSymbol] = feeCollectorAddress;
    }
    
    function encodePayload(string calldata tokenSymbol, uint256 amount) view external returns (bytes memory payload)
    {
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token must be whitelisted');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        require(amount > 0, 'Invalid amount');
        
        uint256 amountToSend = amount;
        
        if(feeOnTransferPercentageRate[tokenSymbol] > 0) {
            uint256 transferFee = (feeOnTransferPercentageRate[tokenSymbol] * amount) / 1000;
            require(amountToSend > transferFee, 'Insufficient amount to send : Percent Rate');
            amountToSend = amountToSend - transferFee;
        }
        
        if(feeOnTransferFlatRate[tokenSymbol] > 0) {
            require(amountToSend > feeOnTransferFlatRate[tokenSymbol], 'Insufficient amount to send : Flat Rate');
            amountToSend = amountToSend - feeOnTransferFlatRate[tokenSymbol];
        }
        
        return abi.encode(tokenSymbol, amountToSend, amount - amountToSend);
    }
    
    function handleReceive(address target, bytes calldata payload) external onlyRainbowRoad whenNotPaused nonReentrant
    {
        (string memory tokenSymbol, uint256 amount) = abi.decode(payload, (string, uint256));
        require(amount > 0, 'Invalid amount');
        
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token must be whitelisted');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        
        if(isMintBurn[tokenSymbol]) {
            IMintBurn(tokenAddress).mint(address(this), amount);
        }
        
        IERC20 token = IERC20(tokenAddress);
        require(token.balanceOf(address(this)) >= amount, 'Insufficient funds for transfer');
        
        uint256 txFee = 0;
        if(chargeTxFee) {
            txFee = (txFeeRate * amount) / 1000;
            uint256 bribeFee = (bribeFeeRate * txFee) / 1000;
            uint256 lpFee = txFee - bribeFee;
            
            if(bribeFee > 0) {
                token.safeTransfer(bribeCollector, bribeFee);
            }
            
            if(feeCollectors[tokenSymbol] == address(0)) {
                feeCollectors[tokenSymbol] = feeCollectorFactory.createFeeCollector(address(rainbowRoad), address(this));
            }
            
            if(lpFee > 0) {
                token.approve(feeCollectors[tokenSymbol], lpFee);
                IFeeCollector(feeCollectors[tokenSymbol]).notifyRewardAmount(tokenAddress, lpFee);
            }
        }
        
        token.safeTransfer(target, amount - txFee);
    }
    
    function handleSend(address target, bytes calldata payload) external onlyRainbowRoad whenNotPaused nonReentrant
    {
        (string memory tokenSymbol, uint256 amount, uint256 feeOnTransferAmount) = abi.decode(payload, (string, uint256, uint256));
        require(amount > 0, 'Invalid amount');
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token must be whitelisted');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        
        uint256 feeOnTransfer = feeOnTransferAmount;
        
        if(feeOnTransferPercentageRate[tokenSymbol] > 0) {
            uint256 transferFee = (feeOnTransferPercentageRate[tokenSymbol] * (amount + feeOnTransferAmount)) / 1000;
            require(feeOnTransfer >= transferFee, 'Insufficient amount to send : Percent Rate');
            feeOnTransfer = feeOnTransfer - transferFee;
        }
        
        if(feeOnTransferFlatRate[tokenSymbol] > 0) {
            require(feeOnTransfer >= feeOnTransferFlatRate[tokenSymbol], 'Insufficient amount to send : Flat Rate');
            feeOnTransfer = feeOnTransfer - feeOnTransferFlatRate[tokenSymbol];
        }
        
        require(feeOnTransfer == 0, 'Invalid fee on transfer amount');
        
        uint256 amountToSend = amount + feeOnTransferAmount;
        
        IERC20 token = IERC20(tokenAddress);
        require(token.balanceOf(target) >= amountToSend, 'Target has insufficient balance for transfer');
        uint256 preTransferBalance = token.balanceOf(address(this));
        token.safeTransferFrom(target, address(this), amountToSend);
        uint256 postTransferBalance = token.balanceOf(address(this));
        uint256 diffTransferBalance = postTransferBalance - preTransferBalance;
        require(diffTransferBalance >= amount, 'Invalid transfer amount');
        
        if(isMintBurn[tokenSymbol]) {
            IMintBurn(tokenAddress).burn(amountToSend);
        }
    }
    
    function deposit(string calldata tokenSymbol, uint256 amount) external nonReentrant
    {
        require(rainbowRoad.tokens(tokenSymbol) != address(0), 'Token must be whitelisted');
        require(amount > 0, 'Invalid amount');
        
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token address cannot be zero address');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        
        if(feeCollectors[tokenSymbol] == address(0)) {
            feeCollectors[tokenSymbol] = feeCollectorFactory.createFeeCollector(address(rainbowRoad), address(this));
        }
        
        IERC20 token = IERC20(tokenAddress);
        uint256 preDepositBalance = token.balanceOf(address(this));
        token.safeTransferFrom(msg.sender, address(this), amount);
        uint256 postDepositBalance = token.balanceOf(address(this));
        uint256 diffDepositBalance = postDepositBalance - preDepositBalance;
        
        IFeeCollector(feeCollectors[tokenSymbol]).deposit(msg.sender, diffDepositBalance);
    }
    
    function withdraw(string calldata tokenSymbol, uint256 amount) external nonReentrant
    {
        require(rainbowRoad.tokens(tokenSymbol) != address(0), 'Token must be whitelisted');
        require(amount > 0, 'Invalid amount');
        
        address tokenAddress = rainbowRoad.tokens(tokenSymbol);
        require(tokenAddress != address(0), 'Token address cannot be zero address');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        require(feeCollectors[tokenSymbol] != address(0), 'No fee collector found');
       
        IERC20 token = IERC20(tokenAddress);
        require(token.balanceOf(address(this)) >= amount, 'Insufficient liquidity for withdrawal');
        
        IFeeCollector feeCollector = IFeeCollector(feeCollectors[tokenSymbol]);
        require(feeCollector.balanceOf(msg.sender) >= amount, 'Insufficient account balance for withdrawal');
        feeCollector.withdraw(msg.sender, amount);
        token.safeTransfer(msg.sender, amount);
    }
}

File 14 of 19 : IArc.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

interface IArc {
    function approve(address _spender, uint _value) external returns (bool);
    function burn(uint amount) external;
    function mint(address account, uint amount) external;
    function transfer(address, uint) external returns (bool);
    function transferFrom(address _from, address _to, uint _value) external;
}

File 15 of 19 : IFeeCollector.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

interface IFeeCollector {
    function balanceLockExpires(address account) external view returns (uint);
    function balanceOf(address account) external returns (uint);
    function deposit(address account, uint amount) external;
    function earned(address token, address account) external view returns (uint);
    function getEpochStart(uint timestamp) external pure returns (uint);
    function getReward(address[] memory tokens) external;
    function isBalanceLockExpired(address account) external view returns (bool);
    function left(address token) external view returns (uint);
    function notifyRewardAmount(address token, uint amount) external;
    function withdraw(address account, uint amount) external;
}

File 16 of 19 : IFeeCollectorFactory.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

interface IFeeCollectorFactory {
    function createFeeCollector(address rainbowRoad, address authorizedAccount) external returns (address);
}

File 17 of 19 : IHandler.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

interface IHandler {
    function handleReceive(address target, bytes calldata payload) external;
    function handleSend(address target, bytes calldata payload) external;
}

File 18 of 19 : IMintBurn.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

interface IMintBurn {
    function burn(uint amount) external;
    function mint(address account, uint amount) external;
}

File 19 of 19 : IRainbowRoad.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;

import {IArc} from "./IArc.sol";

interface IRainbowRoad {
    
    function acceptTeam() external;
    function actionHandlers(string calldata action) external view returns (address);
    function arc() external view returns (IArc);
    function blockToken(address tokenAddress) external;
    function disableFeeManager(address feeManager) external;
    function disableOpenTokenWhitelisting() external;
    function disableReceiver(address receiver) external;
    function disableSender(address sender) external;
    function disableSendFeeBurn() external;
    function disableSendFeeCharge() external;
    function disableWhitelistingFeeBurn() external;
    function disableWhitelistingFeeCharge() external;
    function enableFeeManager(address feeManager) external;
    function enableOpenTokenWhitelisting() external;
    function enableReceiver(address receiver) external;
    function enableSendFeeBurn() external;
    function enableSender(address sender) external;
    function enableSendFeeCharge() external;
    function enableWhitelistingFeeBurn() external;
    function enableWhitelistingFeeCharge() external;
    function sendFee() external view returns (uint256);
    function whitelistingFee() external view returns (uint256);
    function chargeSendFee() external view returns (bool);
    function chargeWhitelistingFee() external view returns (bool);
    function burnSendFee() external view returns (bool);
    function burnWhitelistingFee() external view returns (bool);
    function openTokenWhitelisting() external view returns (bool);
    function config(string calldata configName) external view returns (bytes memory);
    function blockedTokens(address tokenAddress) external view returns (bool);
    function feeManagers(address feeManager) external view returns (bool);
    function receiveAction(string calldata action, address to, bytes calldata payload) external;
    function sendAction(string calldata action, address from, bytes calldata payload) external;
    function setActionHandler(string memory action, address handler) external;
    function setArc(address _arc) external;
    function setSendFee(uint256 _fee) external;
    function setTeam(address _team) external;
    function setTeamRate(uint256 _teamRate) external;
    function setToken(string calldata tokenSymbol, address tokenAddress) external;
    function setWhitelistingFee(uint256 _fee) external;
    function team() external view returns (address);
    function teamRate() external view returns (uint256);
    function tokens(string calldata tokenSymbol) external view returns (address);
    function MAX_TEAM_RATE() external view returns (uint256);
    function receivers(address receiver) external view returns (bool);
    function senders(address sender) external view returns (bool);
    function unblockToken(address tokenAddress) external;
    function whitelist(address tokenAddress) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rainbowRoad","type":"address"},{"internalType":"address","name":"_feeCollectorFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_BRIBE_FEE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE_ON_TRANSFER_PCT_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX_FEE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bribeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bribeFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chargeTxFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"}],"name":"disableMintBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTxFeeCharge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"}],"name":"enableMintBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTxFeeCharge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"encodePayload","outputs":[{"internalType":"bytes","name":"payload","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeCollectorFactory","outputs":[{"internalType":"contract IFeeCollectorFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"feeCollectors","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"feeOnTransferFlatRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"feeOnTransferPercentageRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"handleReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"handleSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"isMintBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rainbowRoad","outputs":[{"internalType":"contract IRainbowRoad","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bribeCollector","type":"address"}],"name":"setBribeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bribeFeeRate","type":"uint256"}],"name":"setBribeFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"address","name":"feeCollectorAddress","type":"address"}],"name":"setFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeCollectorFactory","type":"address"}],"name":"setFeeCollectorFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint256","name":"_feeOnTransferFlatRate","type":"uint256"}],"name":"setFeeOnTransferFlatRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint256","name":"_feeOnTransferPercentageRate","type":"uint256"}],"name":"setFeeOnTransferPercentageRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rainbowRoad","type":"address"}],"name":"setRainbowRoad","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txFeeRate","type":"uint256"}],"name":"setTxFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"address","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620047083803806200470883398101604081905262000034916200022c565b816200004033620001a1565b6001805460ff60a01b191681556002556001600160a01b038116620000b85760405162461bcd60e51b815260206004820152602360248201527f5261696e626f7720526f61642063616e6e6f74206265207a65726f206164647260448201526265737360e81b60648201526084015b60405180910390fd5b600380546001600160a01b0319166001600160a01b039283161790558116620001395760405162461bcd60e51b815260206004820152602c60248201527f46656520436f6c6c6563746f7220466163746f72792063616e6e6f742062652060448201526b7a65726f206164647265737360a01b6064820152608401620000af565b6003805460ff60a01b1916600160a01b179055601960045561012c600555600680546001600160a01b0319908116731d9e69a851b2c439a964d8dc3d611781440fd65817909155600780546001600160a01b0393909316929091169190911790555062000264565b600180546001600160a01b0319169055620001bc81620001bf565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200022757600080fd5b919050565b600080604083850312156200024057600080fd5b6200024b836200020f565b91506200025b602084016200020f565b90509250929050565b61449480620002746000396000f3fe608060405234801561001057600080fd5b50600436106102c85760003560e01c80637bd6f4001161017b578063bc2ae74a116100d8578063cd38b8171161008c578063e30c397811610071578063e30c3978146105ef578063f2fde38b14610600578063f31573161461061357600080fd5b8063cd38b817146105c9578063df1c351b146105dc57600080fd5b8063c06eb8f8116100bd578063c06eb8f8146105a5578063c18272fc146105ae578063cd10fce2146105c157600080fd5b8063bc2ae74a14610567578063bfb5944a1461059257600080fd5b80638da5cb5b1161012f5780638f9419f3116101145780638f9419f3146105415780639ce5768b146104f9578063ae6c076f1461055457600080fd5b80638da5cb5b1461051d5780638e27d7191461052e57600080fd5b806381bcc5b01161016057806381bcc5b0146104f95780638456cb591461050257806387f113391461050a57600080fd5b80637bd6f400146104b85780638135f3bd146104e657600080fd5b80633aeac4e111610229578063626fa41d116101dd5780636a936817116101c25780636a93681714610495578063715018a6146104a857806379ba5097146104b057600080fd5b8063626fa41d1461046f57806367647e431461048257600080fd5b80633f3a42501161020e5780633f3a42501461043c5780633f4ba83a146104445780635c975abb1461044c57600080fd5b80633aeac4e1146104165780633ed0da7f1461042957600080fd5b80631eb27019116102805780632d430312116102655780632d430312146103dd5780632f622e6b146103f057806330b39a621461040357600080fd5b80631eb270191461035c5780631fc23082146103a857600080fd5b806314d2769f116102b157806314d2769f146102fe5780631614f7e0146103295780631bd8ad991461033c57600080fd5b806305a1d44d146102cd5780630973da3c146102e2575b600080fd5b6102e06102db366004613ec1565b61061b565b005b6102eb60055481565b6040519081526020015b60405180910390f35b6102eb61030c366004613fdd565b8051602081830181018051600a8252928201919093012091525481565b6102e0610337366004614012565b6106f0565b61034f61034a366004614012565b6109f5565b6040516102f591906140cc565b61039061036a366004613fdd565b80516020818301810180516008825292820191909301209152546001600160a01b031681565b6040516001600160a01b0390911681526020016102f5565b6003546103cd9074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020016102f5565b6102e06103eb3660046140e6565b610e18565b6102e06103fe366004614114565b610f40565b6102e0610411366004614012565b610ff0565b6102e0610424366004614131565b61163c565b6102e061043736600461416a565b61175e565b6102e0611f49565b6102e0611ffd565b60015474010000000000000000000000000000000000000000900460ff166103cd565b6102e061047d3660046141bf565b61200f565b6102e06104903660046140e6565b6122ab565b600354610390906001600160a01b031681565b6102e06123d2565b6102e06123e4565b6103cd6104c6366004613fdd565b8051602081830181018051600b8252928201919093012091525460ff1681565b6102e06104f4366004614114565b612472565b6102eb6103e881565b6102e0612530565b600654610390906001600160a01b031681565b6000546001600160a01b0316610390565b6102e061053c366004614012565b612540565b600754610390906001600160a01b031681565b6102e0610562366004613ec1565b612b56565b6102eb610575366004613fdd565b805160208183018101805160098252928201919093012091525481565b6102e06105a0366004614114565b612be3565b6102eb60045481565b6102e06105bc36600461416a565b612ca1565b6102e06133cf565b6102e06105d7366004614012565b61346b565b6102e06105ea366004614114565b613708565b6001546001600160a01b0316610390565b6102e061060e366004614114565b61374a565b6102eb60c881565b6106236137d3565b600b8282604051610635929190614216565b9081526040519081900360200190205460ff161561069a5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420616e64206275726e20697320656e61626c6564000000000000000060448201526064015b60405180910390fd5b6001600b83836040516106ae929190614216565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107759190614226565b6107c15760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b9061080d9087908790600401614291565b602060405180830381865afa15801561082a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084e91906142a5565b90506001600160a01b0381166108a65760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015610909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092d9190614226565b1561097a5760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b6103e88211156109cc5760405162461bcd60e51b815260206004820152601d60248201527f466565206f6e207472616e73666572207261746520746f6f20686967680000006044820152606401610691565b81600a85856040516109df929190614216565b9081526040519081900360200190205550505050565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526060916000916001600160a01b03909116906304c2320b90610a469088908890600401614291565b602060405180830381865afa158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8791906142a5565b90506001600160a01b038116610adf5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190614226565b15610bb35760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60008311610c035760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b60008390506000600a8787604051610c1c929190614216565b9081526020016040518091039020541115610cf15760006103e885600a8989604051610c49929190614216565b908152602001604051809103902054610c6291906142f1565b610c6c919061430e565b9050808211610ce35760405162461bcd60e51b815260206004820152602a60248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20506560448201527f7263656e742052617465000000000000000000000000000000000000000000006064820152608401610691565b610ced8183614349565b9150505b600060098787604051610d05929190614216565b9081526020016040518091039020541115610dde5760098686604051610d2c929190614216565b9081526020016040518091039020548111610daf5760405162461bcd60e51b815260206004820152602760248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20466c60448201527f61742052617465000000000000000000000000000000000000000000000000006064820152608401610691565b60098686604051610dc1929190614216565b90815260200160405180910390205481610ddb9190614349565b90505b858582610deb8188614349565b604051602001610dfe949392919061435c565b604051602081830303815290604052925050509392505050565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190614226565b610ee95760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b6103e8811115610f3b5760405162461bcd60e51b815260206004820152601760248201527f427269626520666565207261746520746f6f20686967680000000000000000006044820152606401610691565b600555565b610f486137d3565b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610f95576040519150601f19603f3d011682016040523d82523d6000602084013e610f9a565b606091505b5050905080610feb5760405162461bcd60e51b815260206004820152601260248201527f556e61626c6520746f20776974686472617700000000000000000000000000006044820152606401610691565b505050565b610ff861382d565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906110449087908790600401614291565b602060405180830381865afa158015611061573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108591906142a5565b6001600160a01b0316036110db5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6000811161112b5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906111779087908790600401614291565b602060405180830381865afa158015611194573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b891906142a5565b90506001600160a01b0381166112355760405162461bcd60e51b8152602060048201526024808201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015611298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bc9190614226565b156113095760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60006001600160a01b031660088585604051611326929190614216565b908152604051908190036020019020546001600160a01b03160361138c5760405162461bcd60e51b815260206004820152601660248201527f4e6f2066656520636f6c6c6563746f7220666f756e64000000000000000000006044820152606401610691565b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152819083906001600160a01b038316906370a0823190602401602060405180830381865afa1580156113ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114119190614383565b10156114855760405162461bcd60e51b815260206004820152602560248201527f496e73756666696369656e74206c697175696469747920666f7220776974686460448201527f726177616c0000000000000000000000000000000000000000000000000000006064820152608401610691565b600060088686604051611499929190614216565b908152604051908190036020018120547f70a082310000000000000000000000000000000000000000000000000000000082523360048301526001600160a01b03169150849082906370a08231906024016020604051808303816000875af1158015611509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152d9190614383565b10156115a15760405162461bcd60e51b815260206004820152602b60248201527f496e73756666696369656e74206163636f756e742062616c616e636520666f7260448201527f207769746864726177616c0000000000000000000000000000000000000000006064820152608401610691565b6040517ff3fef3a3000000000000000000000000000000000000000000000000000000008152336004820152602481018590526001600160a01b0382169063f3fef3a390604401600060405180830381600087803b15801561160257600080fd5b505af1158015611616573d6000803e3d6000fd5b5061162f925050506001600160a01b0383163386613884565b505050610feb6001600255565b6116446137d3565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156116a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c89190614383565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015611734573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117589190614226565b50505050565b6003546001600160a01b031633146117b85760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610691565b6117c061394b565b6117c861382d565b600080806117d88486018661439c565b9250925092506000821161182e5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906118789087906004016140cc565b602060405180830381865afa158015611895573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b991906142a5565b90506001600160a01b0381166119115760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015611974573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119989190614226565b156119e55760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60008290506000600a866040516119fc91906143ea565b9081526020016040518091039020541115611ad95760006103e8611a208587614406565b600a88604051611a3091906143ea565b908152602001604051809103902054611a4991906142f1565b611a53919061430e565b905080821015611acb5760405162461bcd60e51b815260206004820152602a60248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20506560448201527f7263656e742052617465000000000000000000000000000000000000000000006064820152608401610691565b611ad58183614349565b9150505b6000600986604051611aeb91906143ea565b9081526020016040518091039020541115611bc157600985604051611b1091906143ea565b908152602001604051809103902054811015611b945760405162461bcd60e51b815260206004820152602760248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20466c60448201527f61742052617465000000000000000000000000000000000000000000000000006064820152608401610691565b600985604051611ba491906143ea565b90815260200160405180910390205481611bbe9190614349565b90505b8015611c0f5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420666565206f6e207472616e7366657220616d6f756e7400006044820152606401610691565b6000611c1b8486614406565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038b8116600483015291925084918391908316906370a0823190602401602060405180830381865afa158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca69190614383565b1015611d1a5760405162461bcd60e51b815260206004820152602c60248201527f5461726765742068617320696e73756666696369656e742062616c616e63652060448201527f666f72207472616e7366657200000000000000000000000000000000000000006064820152608401610691565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9e9190614383565b9050611db56001600160a01b0383168c30866139b6565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611e15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e399190614383565b90506000611e478383614349565b905088811015611e995760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964207472616e7366657220616d6f756e740000000000000000006044820152606401610691565b600b8a604051611ea991906143ea565b9081526040519081900360200190205460ff1615611f35576040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018690526001600160a01b038816906342966c6890602401600060405180830381600087803b158015611f1c57600080fd5b505af1158015611f30573d6000803e3d6000fd5b505050505b50505050505050505050610feb6001600255565b611f516137d3565b60035474010000000000000000000000000000000000000000900460ff1615611fbc5760405162461bcd60e51b815260206004820152601860248201527f4368617267652074782066656520697320656e61626c656400000000000000006044820152606401610691565b600380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6120056137d3565b61200d613a07565b565b6120176137d3565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906120639087908790600401614291565b602060405180830381865afa158015612080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a491906142a5565b90506001600160a01b0381166120fc5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa15801561215f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121839190614226565b156121d05760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b6001600160a01b03821661224b5760405162461bcd60e51b8152602060048201526024808201527f46656520636f6c6c6563746f722063616e6e6f74206265207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b816008858560405161225e929190614216565b90815260405190819003602001902080546001600160a01b03929092167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905550505050565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa15801561230c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123309190614226565b61237c5760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b60c88111156123cd5760405162461bcd60e51b815260206004820152601460248201527f547820666565207261746520746f6f20686967680000000000000000000000006044820152606401610691565b600455565b6123da6137d3565b61200d6000613a77565b60015433906001600160a01b031681146124665760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610691565b61246f81613a77565b50565b61247a6137d3565b6001600160a01b0381166124f65760405162461bcd60e51b815260206004820152602c60248201527f46656520436f6c6c6563746f7220466163746f72792063616e6e6f742062652060448201527f7a65726f206164647265737300000000000000000000000000000000000000006064820152608401610691565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6125386137d3565b61200d613aa8565b61254861382d565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906125949087908790600401614291565b602060405180830381865afa1580156125b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d591906142a5565b6001600160a01b03160361262b5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6000811161267b5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906126c79087908790600401614291565b602060405180830381865afa1580156126e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270891906142a5565b90506001600160a01b0381166127855760405162461bcd60e51b8152602060048201526024808201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa1580156127e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280c9190614226565b156128595760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60006001600160a01b031660088585604051612876929190614216565b908152604051908190036020019020546001600160a01b03160361297f576007546003546040517fbeb905d70000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015230602482015291169063beb905d7906044016020604051808303816000875af1158015612901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292591906142a5565b60088585604051612937929190614216565b90815260405190819003602001902080546001600160a01b03929092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790555b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156129e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a059190614383565b9050612a1c6001600160a01b0383163330876139b6565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015612a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa09190614383565b90506000612aae8383614349565b905060088888604051612ac2929190614216565b908152604051908190036020018120547f47e7ef24000000000000000000000000000000000000000000000000000000008252336004830152602482018390526001600160a01b0316906347e7ef2490604401600060405180830381600087803b158015612b2f57600080fd5b505af1158015612b43573d6000803e3d6000fd5b505050505050505050610feb6001600255565b612b5e6137d3565b600b8282604051612b70929190614216565b9081526040519081900360200190205460ff16612bcf5760405162461bcd60e51b815260206004820152601960248201527f4d696e7420616e64206275726e2069732064697361626c6564000000000000006044820152606401610691565b6000600b83836040516106ae929190614216565b612beb6137d3565b6001600160a01b038116612c675760405162461bcd60e51b815260206004820152602360248201527f5261696e626f7720526f61642063616e6e6f74206265207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610691565b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6003546001600160a01b03163314612cfb5760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610691565b612d0361394b565b612d0b61382d565b600080612d1a83850185614419565b9150915060008111612d6e5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b90612db89086906004016140cc565b602060405180830381865afa158015612dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df991906142a5565b90506001600160a01b038116612e515760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015612eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed89190614226565b15612f255760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b600b83604051612f3591906143ea565b9081526040519081900360200190205460ff1615612fc7576040517f40c10f19000000000000000000000000000000000000000000000000000000008152306004820152602481018390526001600160a01b038216906340c10f1990604401600060405180830381600087803b158015612fae57600080fd5b505af1158015612fc2573d6000803e3d6000fd5b505050505b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152819083906001600160a01b038316906370a0823190602401602060405180830381865afa158015613028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304c9190614383565b101561309a5760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e742066756e647320666f72207472616e73666572006044820152606401610691565b60035460009074010000000000000000000000000000000000000000900460ff16156133a1576103e8846004546130d191906142f1565b6130db919061430e565b905060006103e8826005546130f091906142f1565b6130fa919061430e565b905060006131088284614349565b9050811561312a5760065461312a906001600160a01b03868116911684613884565b60006001600160a01b031660088860405161314591906143ea565b908152604051908190036020019020546001600160a01b03160361324c576007546003546040517fbeb905d70000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015230602482015291169063beb905d7906044016020604051808303816000875af11580156131d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f491906142a5565b60088860405161320491906143ea565b90815260405190819003602001902080546001600160a01b03929092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790555b801561339e57836001600160a01b031663095ea7b360088960405161327191906143ea565b908152604051908190036020018120547fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1682526001600160a01b03166004820152602481018490526044016020604051808303816000875af11580156132e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133059190614226565b5060088760405161331691906143ea565b908152604051908190036020018120547fb66503cf0000000000000000000000000000000000000000000000000000000082526001600160a01b03878116600484015260248301849052169063b66503cf90604401600060405180830381600087803b15801561338557600080fd5b505af1158015613399573d6000803e3d6000fd5b505050505b50505b6133c0886133af8387614349565b6001600160a01b0385169190613884565b5050505050610feb6001600255565b6133d76137d3565b60035474010000000000000000000000000000000000000000900460ff166134415760405162461bcd60e51b815260206004820152601960248201527f436861726765207478206665652069732064697361626c6564000000000000006044820152606401610691565b600380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa1580156134cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134f09190614226565b61353c5760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906135889087908790600401614291565b602060405180830381865afa1580156135a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135c991906142a5565b90506001600160a01b0381166136215760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015613684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136a89190614226565b156136f55760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b81600985856040516109df929190614216565b6137106137d3565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6137526137d3565b600180546001600160a01b0383167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561379b6000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000546001600160a01b0316331461200d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b600280540361387e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610691565b60028055565b6040516001600160a01b038316602482015260448101829052610feb9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613b17565b60015474010000000000000000000000000000000000000000900460ff161561200d5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b6040516001600160a01b03808516602483015283166044820152606481018290526117589085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016138c9565b613a0f613bff565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561246f81613c69565b613ab061394b565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613a5a3390565b6000613b6c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613cd19092919063ffffffff16565b9050805160001480613b8d575080806020019051810190613b8d9190614226565b610feb5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610691565b60015474010000000000000000000000000000000000000000900460ff1661200d5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610691565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060613ce08484600085613ce8565b949350505050565b606082471015613d605760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610691565b600080866001600160a01b03168587604051613d7c91906143ea565b60006040518083038185875af1925050503d8060008114613db9576040519150601f19603f3d011682016040523d82523d6000602084013e613dbe565b606091505b5091509150613dcf87838387613dda565b979650505050505050565b60608315613e49578251600003613e42576001600160a01b0385163b613e425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610691565b5081613ce0565b613ce08383815115613e5e5781518083602001fd5b8060405162461bcd60e51b815260040161069191906140cc565b60008083601f840112613e8a57600080fd5b50813567ffffffffffffffff811115613ea257600080fd5b602083019150836020828501011115613eba57600080fd5b9250929050565b60008060208385031215613ed457600080fd5b823567ffffffffffffffff811115613eeb57600080fd5b613ef785828601613e78565b90969095509350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112613f4357600080fd5b813567ffffffffffffffff80821115613f5e57613f5e613f03565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613fa457613fa4613f03565b81604052838152866020858801011115613fbd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215613fef57600080fd5b813567ffffffffffffffff81111561400657600080fd5b613ce084828501613f32565b60008060006040848603121561402757600080fd5b833567ffffffffffffffff81111561403e57600080fd5b61404a86828701613e78565b909790965060209590950135949350505050565b60005b83811015614079578181015183820152602001614061565b50506000910152565b6000815180845261409a81602086016020860161405e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006140df6020830184614082565b9392505050565b6000602082840312156140f857600080fd5b5035919050565b6001600160a01b038116811461246f57600080fd5b60006020828403121561412657600080fd5b81356140df816140ff565b6000806040838503121561414457600080fd5b823561414f816140ff565b9150602083013561415f816140ff565b809150509250929050565b60008060006040848603121561417f57600080fd5b833561418a816140ff565b9250602084013567ffffffffffffffff8111156141a657600080fd5b6141b286828701613e78565b9497909650939450505050565b6000806000604084860312156141d457600080fd5b833567ffffffffffffffff8111156141eb57600080fd5b6141f786828701613e78565b909450925050602084013561420b816140ff565b809150509250925092565b8183823760009101908152919050565b60006020828403121561423857600080fd5b815180151581146140df57600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b602081526000613ce0602083018486614248565b6000602082840312156142b757600080fd5b81516140df816140ff565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417614308576143086142c2565b92915050565b600082614344577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115614308576143086142c2565b606081526000614370606083018688614248565b6020830194909452506040015292915050565b60006020828403121561439557600080fd5b5051919050565b6000806000606084860312156143b157600080fd5b833567ffffffffffffffff8111156143c857600080fd5b6143d486828701613f32565b9660208601359650604090950135949350505050565b600082516143fc81846020870161405e565b9190910192915050565b80820180821115614308576143086142c2565b6000806040838503121561442c57600080fd5b823567ffffffffffffffff81111561444357600080fd5b61444f85828601613f32565b9560209490940135945050505056fea264697066735822122026a8ee2441c6e5eea30cff657d7817644def17fde8d9dadefe381ad286958dca64736f6c634300081300330000000000000000000000009412316dc6c882ffc4fa1a01413b0c701b147b9e000000000000000000000000b17906d2c9f0457492077d2952f0ca333fe70b6f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102c85760003560e01c80637bd6f4001161017b578063bc2ae74a116100d8578063cd38b8171161008c578063e30c397811610071578063e30c3978146105ef578063f2fde38b14610600578063f31573161461061357600080fd5b8063cd38b817146105c9578063df1c351b146105dc57600080fd5b8063c06eb8f8116100bd578063c06eb8f8146105a5578063c18272fc146105ae578063cd10fce2146105c157600080fd5b8063bc2ae74a14610567578063bfb5944a1461059257600080fd5b80638da5cb5b1161012f5780638f9419f3116101145780638f9419f3146105415780639ce5768b146104f9578063ae6c076f1461055457600080fd5b80638da5cb5b1461051d5780638e27d7191461052e57600080fd5b806381bcc5b01161016057806381bcc5b0146104f95780638456cb591461050257806387f113391461050a57600080fd5b80637bd6f400146104b85780638135f3bd146104e657600080fd5b80633aeac4e111610229578063626fa41d116101dd5780636a936817116101c25780636a93681714610495578063715018a6146104a857806379ba5097146104b057600080fd5b8063626fa41d1461046f57806367647e431461048257600080fd5b80633f3a42501161020e5780633f3a42501461043c5780633f4ba83a146104445780635c975abb1461044c57600080fd5b80633aeac4e1146104165780633ed0da7f1461042957600080fd5b80631eb27019116102805780632d430312116102655780632d430312146103dd5780632f622e6b146103f057806330b39a621461040357600080fd5b80631eb270191461035c5780631fc23082146103a857600080fd5b806314d2769f116102b157806314d2769f146102fe5780631614f7e0146103295780631bd8ad991461033c57600080fd5b806305a1d44d146102cd5780630973da3c146102e2575b600080fd5b6102e06102db366004613ec1565b61061b565b005b6102eb60055481565b6040519081526020015b60405180910390f35b6102eb61030c366004613fdd565b8051602081830181018051600a8252928201919093012091525481565b6102e0610337366004614012565b6106f0565b61034f61034a366004614012565b6109f5565b6040516102f591906140cc565b61039061036a366004613fdd565b80516020818301810180516008825292820191909301209152546001600160a01b031681565b6040516001600160a01b0390911681526020016102f5565b6003546103cd9074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020016102f5565b6102e06103eb3660046140e6565b610e18565b6102e06103fe366004614114565b610f40565b6102e0610411366004614012565b610ff0565b6102e0610424366004614131565b61163c565b6102e061043736600461416a565b61175e565b6102e0611f49565b6102e0611ffd565b60015474010000000000000000000000000000000000000000900460ff166103cd565b6102e061047d3660046141bf565b61200f565b6102e06104903660046140e6565b6122ab565b600354610390906001600160a01b031681565b6102e06123d2565b6102e06123e4565b6103cd6104c6366004613fdd565b8051602081830181018051600b8252928201919093012091525460ff1681565b6102e06104f4366004614114565b612472565b6102eb6103e881565b6102e0612530565b600654610390906001600160a01b031681565b6000546001600160a01b0316610390565b6102e061053c366004614012565b612540565b600754610390906001600160a01b031681565b6102e0610562366004613ec1565b612b56565b6102eb610575366004613fdd565b805160208183018101805160098252928201919093012091525481565b6102e06105a0366004614114565b612be3565b6102eb60045481565b6102e06105bc36600461416a565b612ca1565b6102e06133cf565b6102e06105d7366004614012565b61346b565b6102e06105ea366004614114565b613708565b6001546001600160a01b0316610390565b6102e061060e366004614114565b61374a565b6102eb60c881565b6106236137d3565b600b8282604051610635929190614216565b9081526040519081900360200190205460ff161561069a5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420616e64206275726e20697320656e61626c6564000000000000000060448201526064015b60405180910390fd5b6001600b83836040516106ae929190614216565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107759190614226565b6107c15760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b9061080d9087908790600401614291565b602060405180830381865afa15801561082a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084e91906142a5565b90506001600160a01b0381166108a65760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015610909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092d9190614226565b1561097a5760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b6103e88211156109cc5760405162461bcd60e51b815260206004820152601d60248201527f466565206f6e207472616e73666572207261746520746f6f20686967680000006044820152606401610691565b81600a85856040516109df929190614216565b9081526040519081900360200190205550505050565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526060916000916001600160a01b03909116906304c2320b90610a469088908890600401614291565b602060405180830381865afa158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8791906142a5565b90506001600160a01b038116610adf5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190614226565b15610bb35760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60008311610c035760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b60008390506000600a8787604051610c1c929190614216565b9081526020016040518091039020541115610cf15760006103e885600a8989604051610c49929190614216565b908152602001604051809103902054610c6291906142f1565b610c6c919061430e565b9050808211610ce35760405162461bcd60e51b815260206004820152602a60248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20506560448201527f7263656e742052617465000000000000000000000000000000000000000000006064820152608401610691565b610ced8183614349565b9150505b600060098787604051610d05929190614216565b9081526020016040518091039020541115610dde5760098686604051610d2c929190614216565b9081526020016040518091039020548111610daf5760405162461bcd60e51b815260206004820152602760248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20466c60448201527f61742052617465000000000000000000000000000000000000000000000000006064820152608401610691565b60098686604051610dc1929190614216565b90815260200160405180910390205481610ddb9190614349565b90505b858582610deb8188614349565b604051602001610dfe949392919061435c565b604051602081830303815290604052925050509392505050565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190614226565b610ee95760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b6103e8811115610f3b5760405162461bcd60e51b815260206004820152601760248201527f427269626520666565207261746520746f6f20686967680000000000000000006044820152606401610691565b600555565b610f486137d3565b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610f95576040519150601f19603f3d011682016040523d82523d6000602084013e610f9a565b606091505b5050905080610feb5760405162461bcd60e51b815260206004820152601260248201527f556e61626c6520746f20776974686472617700000000000000000000000000006044820152606401610691565b505050565b610ff861382d565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906110449087908790600401614291565b602060405180830381865afa158015611061573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108591906142a5565b6001600160a01b0316036110db5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6000811161112b5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906111779087908790600401614291565b602060405180830381865afa158015611194573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b891906142a5565b90506001600160a01b0381166112355760405162461bcd60e51b8152602060048201526024808201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015611298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bc9190614226565b156113095760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60006001600160a01b031660088585604051611326929190614216565b908152604051908190036020019020546001600160a01b03160361138c5760405162461bcd60e51b815260206004820152601660248201527f4e6f2066656520636f6c6c6563746f7220666f756e64000000000000000000006044820152606401610691565b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152819083906001600160a01b038316906370a0823190602401602060405180830381865afa1580156113ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114119190614383565b10156114855760405162461bcd60e51b815260206004820152602560248201527f496e73756666696369656e74206c697175696469747920666f7220776974686460448201527f726177616c0000000000000000000000000000000000000000000000000000006064820152608401610691565b600060088686604051611499929190614216565b908152604051908190036020018120547f70a082310000000000000000000000000000000000000000000000000000000082523360048301526001600160a01b03169150849082906370a08231906024016020604051808303816000875af1158015611509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152d9190614383565b10156115a15760405162461bcd60e51b815260206004820152602b60248201527f496e73756666696369656e74206163636f756e742062616c616e636520666f7260448201527f207769746864726177616c0000000000000000000000000000000000000000006064820152608401610691565b6040517ff3fef3a3000000000000000000000000000000000000000000000000000000008152336004820152602481018590526001600160a01b0382169063f3fef3a390604401600060405180830381600087803b15801561160257600080fd5b505af1158015611616573d6000803e3d6000fd5b5061162f925050506001600160a01b0383163386613884565b505050610feb6001600255565b6116446137d3565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156116a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c89190614383565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af1158015611734573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117589190614226565b50505050565b6003546001600160a01b031633146117b85760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610691565b6117c061394b565b6117c861382d565b600080806117d88486018661439c565b9250925092506000821161182e5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906118789087906004016140cc565b602060405180830381865afa158015611895573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b991906142a5565b90506001600160a01b0381166119115760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015611974573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119989190614226565b156119e55760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60008290506000600a866040516119fc91906143ea565b9081526020016040518091039020541115611ad95760006103e8611a208587614406565b600a88604051611a3091906143ea565b908152602001604051809103902054611a4991906142f1565b611a53919061430e565b905080821015611acb5760405162461bcd60e51b815260206004820152602a60248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20506560448201527f7263656e742052617465000000000000000000000000000000000000000000006064820152608401610691565b611ad58183614349565b9150505b6000600986604051611aeb91906143ea565b9081526020016040518091039020541115611bc157600985604051611b1091906143ea565b908152602001604051809103902054811015611b945760405162461bcd60e51b815260206004820152602760248201527f496e73756666696369656e7420616d6f756e7420746f2073656e64203a20466c60448201527f61742052617465000000000000000000000000000000000000000000000000006064820152608401610691565b600985604051611ba491906143ea565b90815260200160405180910390205481611bbe9190614349565b90505b8015611c0f5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420666565206f6e207472616e7366657220616d6f756e7400006044820152606401610691565b6000611c1b8486614406565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038b8116600483015291925084918391908316906370a0823190602401602060405180830381865afa158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca69190614383565b1015611d1a5760405162461bcd60e51b815260206004820152602c60248201527f5461726765742068617320696e73756666696369656e742062616c616e63652060448201527f666f72207472616e7366657200000000000000000000000000000000000000006064820152608401610691565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9e9190614383565b9050611db56001600160a01b0383168c30866139b6565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611e15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e399190614383565b90506000611e478383614349565b905088811015611e995760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964207472616e7366657220616d6f756e740000000000000000006044820152606401610691565b600b8a604051611ea991906143ea565b9081526040519081900360200190205460ff1615611f35576040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018690526001600160a01b038816906342966c6890602401600060405180830381600087803b158015611f1c57600080fd5b505af1158015611f30573d6000803e3d6000fd5b505050505b50505050505050505050610feb6001600255565b611f516137d3565b60035474010000000000000000000000000000000000000000900460ff1615611fbc5760405162461bcd60e51b815260206004820152601860248201527f4368617267652074782066656520697320656e61626c656400000000000000006044820152606401610691565b600380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6120056137d3565b61200d613a07565b565b6120176137d3565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906120639087908790600401614291565b602060405180830381865afa158015612080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a491906142a5565b90506001600160a01b0381166120fc5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa15801561215f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121839190614226565b156121d05760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b6001600160a01b03821661224b5760405162461bcd60e51b8152602060048201526024808201527f46656520636f6c6c6563746f722063616e6e6f74206265207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b816008858560405161225e929190614216565b90815260405190819003602001902080546001600160a01b03929092167fffffffffffffffffffffffff000000000000000000000000000000000000000090921691909117905550505050565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa15801561230c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123309190614226565b61237c5760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b60c88111156123cd5760405162461bcd60e51b815260206004820152601460248201527f547820666565207261746520746f6f20686967680000000000000000000000006044820152606401610691565b600455565b6123da6137d3565b61200d6000613a77565b60015433906001600160a01b031681146124665760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610691565b61246f81613a77565b50565b61247a6137d3565b6001600160a01b0381166124f65760405162461bcd60e51b815260206004820152602c60248201527f46656520436f6c6c6563746f7220466163746f72792063616e6e6f742062652060448201527f7a65726f206164647265737300000000000000000000000000000000000000006064820152608401610691565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6125386137d3565b61200d613aa8565b61254861382d565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906125949087908790600401614291565b602060405180830381865afa1580156125b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d591906142a5565b6001600160a01b03160361262b5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6000811161267b5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906126c79087908790600401614291565b602060405180830381865afa1580156126e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270891906142a5565b90506001600160a01b0381166127855760405162461bcd60e51b8152602060048201526024808201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa1580156127e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280c9190614226565b156128595760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b60006001600160a01b031660088585604051612876929190614216565b908152604051908190036020019020546001600160a01b03160361297f576007546003546040517fbeb905d70000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015230602482015291169063beb905d7906044016020604051808303816000875af1158015612901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292591906142a5565b60088585604051612937929190614216565b90815260405190819003602001902080546001600160a01b03929092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790555b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156129e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a059190614383565b9050612a1c6001600160a01b0383163330876139b6565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015612a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa09190614383565b90506000612aae8383614349565b905060088888604051612ac2929190614216565b908152604051908190036020018120547f47e7ef24000000000000000000000000000000000000000000000000000000008252336004830152602482018390526001600160a01b0316906347e7ef2490604401600060405180830381600087803b158015612b2f57600080fd5b505af1158015612b43573d6000803e3d6000fd5b505050505050505050610feb6001600255565b612b5e6137d3565b600b8282604051612b70929190614216565b9081526040519081900360200190205460ff16612bcf5760405162461bcd60e51b815260206004820152601960248201527f4d696e7420616e64206275726e2069732064697361626c6564000000000000006044820152606401610691565b6000600b83836040516106ae929190614216565b612beb6137d3565b6001600160a01b038116612c675760405162461bcd60e51b815260206004820152602360248201527f5261696e626f7720526f61642063616e6e6f74206265207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610691565b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6003546001600160a01b03163314612cfb5760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610691565b612d0361394b565b612d0b61382d565b600080612d1a83850185614419565b9150915060008111612d6e5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b90612db89086906004016140cc565b602060405180830381865afa158015612dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df991906142a5565b90506001600160a01b038116612e515760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015612eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed89190614226565b15612f255760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b600b83604051612f3591906143ea565b9081526040519081900360200190205460ff1615612fc7576040517f40c10f19000000000000000000000000000000000000000000000000000000008152306004820152602481018390526001600160a01b038216906340c10f1990604401600060405180830381600087803b158015612fae57600080fd5b505af1158015612fc2573d6000803e3d6000fd5b505050505b6040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152819083906001600160a01b038316906370a0823190602401602060405180830381865afa158015613028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304c9190614383565b101561309a5760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e742066756e647320666f72207472616e73666572006044820152606401610691565b60035460009074010000000000000000000000000000000000000000900460ff16156133a1576103e8846004546130d191906142f1565b6130db919061430e565b905060006103e8826005546130f091906142f1565b6130fa919061430e565b905060006131088284614349565b9050811561312a5760065461312a906001600160a01b03868116911684613884565b60006001600160a01b031660088860405161314591906143ea565b908152604051908190036020019020546001600160a01b03160361324c576007546003546040517fbeb905d70000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015230602482015291169063beb905d7906044016020604051808303816000875af11580156131d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f491906142a5565b60088860405161320491906143ea565b90815260405190819003602001902080546001600160a01b03929092167fffffffffffffffffffffffff00000000000000000000000000000000000000009092169190911790555b801561339e57836001600160a01b031663095ea7b360088960405161327191906143ea565b908152604051908190036020018120547fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1682526001600160a01b03166004820152602481018490526044016020604051808303816000875af11580156132e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133059190614226565b5060088760405161331691906143ea565b908152604051908190036020018120547fb66503cf0000000000000000000000000000000000000000000000000000000082526001600160a01b03878116600484015260248301849052169063b66503cf90604401600060405180830381600087803b15801561338557600080fd5b505af1158015613399573d6000803e3d6000fd5b505050505b50505b6133c0886133af8387614349565b6001600160a01b0385169190613884565b5050505050610feb6001600255565b6133d76137d3565b60035474010000000000000000000000000000000000000000900460ff166134415760405162461bcd60e51b815260206004820152601960248201527f436861726765207478206665652069732064697361626c6564000000000000006044820152606401610691565b600380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6003546040517fef897f070000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063ef897f0790602401602060405180830381865afa1580156134cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134f09190614226565b61353c5760405162461bcd60e51b815260206004820152601360248201527f496e76616c696420666565206d616e61676572000000000000000000000000006044820152606401610691565b6003546040517f04c2320b0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906304c2320b906135889087908790600401614291565b602060405180830381865afa1580156135a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135c991906142a5565b90506001600160a01b0381166136215760405162461bcd60e51b815260206004820152601960248201527f546f6b656e206d7573742062652077686974656c6973746564000000000000006044820152606401610691565b6003546040517f39b599580000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152909116906339b5995890602401602060405180830381865afa158015613684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136a89190614226565b156136f55760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610691565b81600985856040516109df929190614216565b6137106137d3565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6137526137d3565b600180546001600160a01b0383167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561379b6000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000546001600160a01b0316331461200d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610691565b600280540361387e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610691565b60028055565b6040516001600160a01b038316602482015260448101829052610feb9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613b17565b60015474010000000000000000000000000000000000000000900460ff161561200d5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610691565b6040516001600160a01b03808516602483015283166044820152606481018290526117589085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016138c9565b613a0f613bff565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561246f81613c69565b613ab061394b565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613a5a3390565b6000613b6c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613cd19092919063ffffffff16565b9050805160001480613b8d575080806020019051810190613b8d9190614226565b610feb5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610691565b60015474010000000000000000000000000000000000000000900460ff1661200d5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610691565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060613ce08484600085613ce8565b949350505050565b606082471015613d605760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610691565b600080866001600160a01b03168587604051613d7c91906143ea565b60006040518083038185875af1925050503d8060008114613db9576040519150601f19603f3d011682016040523d82523d6000602084013e613dbe565b606091505b5091509150613dcf87838387613dda565b979650505050505050565b60608315613e49578251600003613e42576001600160a01b0385163b613e425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610691565b5081613ce0565b613ce08383815115613e5e5781518083602001fd5b8060405162461bcd60e51b815260040161069191906140cc565b60008083601f840112613e8a57600080fd5b50813567ffffffffffffffff811115613ea257600080fd5b602083019150836020828501011115613eba57600080fd5b9250929050565b60008060208385031215613ed457600080fd5b823567ffffffffffffffff811115613eeb57600080fd5b613ef785828601613e78565b90969095509350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112613f4357600080fd5b813567ffffffffffffffff80821115613f5e57613f5e613f03565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613fa457613fa4613f03565b81604052838152866020858801011115613fbd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215613fef57600080fd5b813567ffffffffffffffff81111561400657600080fd5b613ce084828501613f32565b60008060006040848603121561402757600080fd5b833567ffffffffffffffff81111561403e57600080fd5b61404a86828701613e78565b909790965060209590950135949350505050565b60005b83811015614079578181015183820152602001614061565b50506000910152565b6000815180845261409a81602086016020860161405e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006140df6020830184614082565b9392505050565b6000602082840312156140f857600080fd5b5035919050565b6001600160a01b038116811461246f57600080fd5b60006020828403121561412657600080fd5b81356140df816140ff565b6000806040838503121561414457600080fd5b823561414f816140ff565b9150602083013561415f816140ff565b809150509250929050565b60008060006040848603121561417f57600080fd5b833561418a816140ff565b9250602084013567ffffffffffffffff8111156141a657600080fd5b6141b286828701613e78565b9497909650939450505050565b6000806000604084860312156141d457600080fd5b833567ffffffffffffffff8111156141eb57600080fd5b6141f786828701613e78565b909450925050602084013561420b816140ff565b809150509250925092565b8183823760009101908152919050565b60006020828403121561423857600080fd5b815180151581146140df57600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b602081526000613ce0602083018486614248565b6000602082840312156142b757600080fd5b81516140df816140ff565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417614308576143086142c2565b92915050565b600082614344577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115614308576143086142c2565b606081526000614370606083018688614248565b6020830194909452506040015292915050565b60006020828403121561439557600080fd5b5051919050565b6000806000606084860312156143b157600080fd5b833567ffffffffffffffff8111156143c857600080fd5b6143d486828701613f32565b9660208601359650604090950135949350505050565b600082516143fc81846020870161405e565b9190910192915050565b80820180821115614308576143086142c2565b6000806040838503121561442c57600080fd5b823567ffffffffffffffff81111561444357600080fd5b61444f85828601613f32565b9560209490940135945050505056fea264697066735822122026a8ee2441c6e5eea30cff657d7817644def17fde8d9dadefe381ad286958dca64736f6c63430008130033

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

0000000000000000000000009412316dc6c882ffc4fa1a01413b0c701b147b9e000000000000000000000000b17906d2c9f0457492077d2952f0ca333fe70b6f

-----Decoded View---------------
Arg [0] : _rainbowRoad (address): 0x9412316DC6C882ffc4FA1A01413b0C701b147B9E
Arg [1] : _feeCollectorFactory (address): 0xb17906D2C9F0457492077D2952f0cA333Fe70B6F

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009412316dc6c882ffc4fa1a01413b0c701b147b9e
Arg [1] : 000000000000000000000000b17906d2c9f0457492077d2952f0ca333fe70b6f


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.