false
false
100

Contract Address Details

0x9d1A576EF61e734CD0272a8652Fad5A18FB1337F

Contract Name
TestHandler
Creator
0xf08749–b3ec92 at 0x54492a–177764
Balance
0 KAVA ( )
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
11603210
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
TestHandler




Optimization enabled
true
Compiler version
v0.8.19+commit.7dd6d404




Optimization runs
10000
EVM Version
default




Verified at
2023-10-02T05:55:58.733402Z

Constructor Arguments

0x0000000000000000000000009de5b4928296d96f48fe67ebb2ca1556827fc6a9

Arg [0] (address) : 0x9de5b4928296d96f48fe67ebb2ca1556827fc6a9

              

Contract source code

// Sources flattened with hardhat v2.17.1 https://hardhat.org

// SPDX-License-Identifier: BUSL-1.1 AND MIT

// File @openzeppelin/contracts/utils/Context.sol@v4.9.3

// Original license: 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 @openzeppelin/contracts/access/Ownable.sol@v4.9.3

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/access/Ownable2Step.sol@v4.9.3

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/security/Pausable.sol@v4.9.3

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.9.3

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol@v4.9.3

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/security/ReentrancyGuard.sol@v4.9.3

// Original license: 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 contracts/bases/ArcBase.sol

// Original license: SPDX_License_Identifier: BUSL-1.1
pragma solidity 0.8.19;




/**
 * 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 contracts/interfaces/IArc.sol

// Original license: SPDX_License_Identifier: BUSL-1.1
pragma solidity 0.8.19;

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


// File contracts/interfaces/IRainbowRoad.sol

// Original license: SPDX_License_Identifier: BUSL-1.1
pragma solidity 0.8.19;

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;
}


// File contracts/bases/ArcBaseWithRainbowRoad.sol

// Original license: SPDX_License_Identifier: BUSL-1.1
pragma solidity 0.8.19;


/**
 * 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 contracts/interfaces/IHandler.sol

// Original license: 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 contracts/handlers/TestHandler.sol

// Original license: SPDX_License_Identifier: BUSL-1.1
pragma solidity 0.8.19;



/**
 * Test Handler
 */
contract TestHandler is ArcBaseWithRainbowRoad, IHandler
{
    address private lastTargetSent;
    string private lastTokenSent;
    address private lastTokenAddressSent;
    uint256 private lastAmountSent;
    uint256 private lastTokenIdSent;
    
    address private lastTargetReceived;
    string private lastTokenReceived;
    address private lastTokenAddressReceived;
    uint256 private lastAmountReceived;
    uint256 private lastTokenIdReceived;
    
    constructor(address _rainbowRoad) ArcBaseWithRainbowRoad(_rainbowRoad)
    {
        _transferOwnership(rainbowRoad.team());
    }
    
    function encodePayload(string calldata token, uint256 amount, uint256 tokenId) view external returns (bytes memory payload)
    {
        address tokenAddress = rainbowRoad.tokens(token);
        require(tokenAddress != address(0), 'Token cannot be zero address');
        require(!rainbowRoad.blockedTokens(tokenAddress), 'Token is blocked');
        return abi.encode(token, amount, tokenId);
    }
    
    function handleSend(address target, bytes calldata payload) external onlyRainbowRoad whenNotPaused
    {
        require(target != address(0), 'Target cannot be zero address');
        lastTargetSent = target;
        (lastTokenSent, lastAmountSent, lastTokenIdSent) = abi.decode(payload, (string, uint256, uint256));
        lastTokenAddressSent = rainbowRoad.tokens(lastTokenSent);
        require(lastTokenAddressSent != address(0), 'Token cannot be zero address');
        require(!rainbowRoad.blockedTokens(lastTokenAddressSent), 'Token is blocked');
    }
    
    function handleReceive(address target, bytes calldata payload) external onlyRainbowRoad whenNotPaused
    {
        require(target != address(0), 'Target cannot be zero address');
        lastTargetReceived = target;
        (lastTokenReceived, lastAmountReceived, lastTokenIdReceived) = abi.decode(payload, (string, uint256, uint256));
        lastTokenAddressReceived = rainbowRoad.tokens(lastTokenReceived);
        require(lastTokenAddressReceived != address(0), 'Token cannot be zero address');
        require(!rainbowRoad.blockedTokens(lastTokenAddressReceived), 'Token is blocked');
    }
    
    function getLastSendDetails() external view returns (address target, string memory token, string memory tokenName, string memory tokenSymbol, address tokenAddress, uint256 amount, uint256 tokenId)
    {
        return (lastTargetSent, lastTokenSent, IERC20Metadata(lastTokenAddressSent).name(), IERC20Metadata(lastTokenAddressSent).symbol(), lastTokenAddressSent, lastAmountSent, lastTokenIdSent);
    }
    
    function getLastReceiveDetails() external view returns (address target, string memory token, string memory tokenName, string memory tokenSymbol, address tokenAddress, uint256 amount, uint256 tokenId)
    {
        return (lastTargetReceived, lastTokenReceived, IERC20Metadata(lastTokenAddressReceived).name(), IERC20Metadata(lastTokenAddressReceived).symbol(), lastTokenAddressReceived, lastAmountReceived, lastTokenIdReceived);
    }
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_rainbowRoad","internalType":"address"}]},{"type":"event","name":"OwnershipTransferStarted","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"acceptOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes","name":"payload","internalType":"bytes"}],"name":"encodePayload","inputs":[{"type":"string","name":"token","internalType":"string"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"target","internalType":"address"},{"type":"string","name":"token","internalType":"string"},{"type":"string","name":"tokenName","internalType":"string"},{"type":"string","name":"tokenSymbol","internalType":"string"},{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"tokenId","internalType":"uint256"}],"name":"getLastReceiveDetails","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"target","internalType":"address"},{"type":"string","name":"token","internalType":"string"},{"type":"string","name":"tokenName","internalType":"string"},{"type":"string","name":"tokenSymbol","internalType":"string"},{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"tokenId","internalType":"uint256"}],"name":"getLastSendDetails","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"handleReceive","inputs":[{"type":"address","name":"target","internalType":"address"},{"type":"bytes","name":"payload","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"handleSend","inputs":[{"type":"address","name":"target","internalType":"address"},{"type":"bytes","name":"payload","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pendingOwner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IRainbowRoad"}],"name":"rainbowRoad","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRainbowRoad","inputs":[{"type":"address","name":"_rainbowRoad","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawNative","inputs":[{"type":"address","name":"beneficiary","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawToken","inputs":[{"type":"address","name":"beneficiary","internalType":"address"},{"type":"address","name":"token","internalType":"address"}]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b5060405162001ea538038062001ea58339810160408190526200003491620001b8565b8062000046336200014a565b6200014a565b6001805460ff60a01b191681556002556001600160a01b038116620000bd5760405162461bcd60e51b815260206004820152602360248201527f5261696e626f7720526f61642063616e6e6f74206265207a65726f206164647260448201526265737360e81b606482015260840160405180910390fd5b600380546001600160a01b039092166001600160a01b031990921682179055604080516342f9577960e11b815290516200014392916385f2aef29160048083019260209291908290030181865afa1580156200011d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000409190620001b8565b50620001ea565b600180546001600160a01b0319169055620001658162000168565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620001cb57600080fd5b81516001600160a01b0381168114620001e357600080fd5b9392505050565b611cab80620001fa6000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c806379ba5097116100b2578063b62b724d11610081578063c18272fc11610066578063c18272fc1461026b578063e30c39781461027e578063f2fde38b1461029c57600080fd5b8063b62b724d14610238578063bfb5944a1461025857600080fd5b806379ba5097146102025780638456cb591461020a57806384dc6c76146102125780638da5cb5b1461021a57600080fd5b80633f4ba83a116100ee5780633f4ba83a1461017f5780635c975abb146101875780636a936817146101b5578063715018a6146101fa57600080fd5b80630857f52c146101205780632f622e6b146101445780633aeac4e1146101595780633ed0da7f1461016c575b600080fd5b6101286102af565b60405161013b97969594939291906115e1565b60405180910390f35b610157610152366004611678565b6104d0565b005b61015761016736600461169c565b610592565b61015761017a36600461171e565b6106ce565b610157610a12565b60015474010000000000000000000000000000000000000000900460ff16604051901515815260200161013b565b6003546101d59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161013b565b610157610a24565b610157610a36565b610157610ad1565b610128610ae1565b60005473ffffffffffffffffffffffffffffffffffffffff166101d5565b61024b610246366004611773565b610c6b565b60405161013b91906117c4565b610157610266366004611678565b610e81565b61015761027936600461171e565b610f59565b60015473ffffffffffffffffffffffffffffffffffffffff166101d5565b6101576102aa366004611678565b611213565b600060608060606000806000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa15801561034d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610375919081019061185f565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261040a919081019061185f565b600654600754600854855473ffffffffffffffffffffffffffffffffffffffff909316928690610439906118db565b80601f0160208091040260200160405190810160405280929190818152602001828054610465906118db565b80156104b25780601f10610487576101008083540402835291602001916104b2565b820191906000526020600020905b81548152906001019060200180831161049557829003601f168201915b50505050509550965096509650965096509650965090919293949596565b6104d86112c3565b604051479060009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114610532576040519150601f19603f3d011682016040523d82523d6000602084013e610537565b606091505b505090508061058d5760405162461bcd60e51b815260206004820152601260248201527f556e61626c6520746f207769746864726177000000000000000000000000000060448201526064015b60405180910390fd5b505050565b61059a6112c3565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b919061192e565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af11580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611947565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146107355760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610584565b61073d61132a565b73ffffffffffffffffffffffffffffffffffffffff83166107a05760405162461bcd60e51b815260206004820152601d60248201527f5461726765742063616e6e6f74206265207a65726f20616464726573730000006044820152606401610584565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790556107ec82820183611969565b6008819055600782905560056108028482611a45565b50506003546040517f04c2320b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911692506304c2320b915061085d90600590600401611b41565b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611bea565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216918217905561092e5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610584565b6003546006546040517f39b5995800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201529116906339b59958906024015b602060405180830381865afa1580156109a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c59190611947565b1561058d5760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610584565b610a1a6112c3565b610a22611395565b565b610a2c6112c3565b610a226000611412565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610ac55760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610584565b610ace81611412565b50565b610ad96112c3565b610a22611443565b600060608060606000806000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa158015610b7f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba7919081019061185f565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3c919081019061185f565b600b54600c54600d54855473ffffffffffffffffffffffffffffffffffffffff909316928690610439906118db565b6003546040517f04c2320b00000000000000000000000000000000000000000000000000000000815260609160009173ffffffffffffffffffffffffffffffffffffffff909116906304c2320b90610cc99089908990600401611c32565b602060405180830381865afa158015610ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0a9190611bea565b905073ffffffffffffffffffffffffffffffffffffffff8116610d6f5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610584565b6003546040517f39b5995800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152909116906339b5995890602401602060405180830381865afa158015610ddf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e039190611947565b15610e505760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610584565b85858585604051602001610e679493929190611c4e565b604051602081830303815290604052915050949350505050565b610e896112c3565b73ffffffffffffffffffffffffffffffffffffffff8116610f125760405162461bcd60e51b815260206004820152602360248201527f5261696e626f7720526f61642063616e6e6f74206265207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610584565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff163314610fc05760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610584565b610fc861132a565b73ffffffffffffffffffffffffffffffffffffffff831661102b5760405162461bcd60e51b815260206004820152601d60248201527f5461726765742063616e6e6f74206265207a65726f20616464726573730000006044820152606401610584565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851617905561107782820183611969565b600d819055600c829055600a61108d8482611a45565b50506003546040517f04c2320b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911692506304c2320b91506110e890600a90600401611b41565b602060405180830381865afa158015611105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111299190611bea565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691821790556111b95760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610584565b600354600b546040517f39b5995800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201529116906339b5995890602401610984565b61121b6112c3565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561127e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610584565b60015474010000000000000000000000000000000000000000900460ff1615610a225760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610584565b61139d6114b2565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610ace8161151c565b61144b61132a565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113e83390565b60015474010000000000000000000000000000000000000000900460ff16610a225760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610584565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b838110156115ac578181015183820152602001611594565b50506000910152565b600081518084526115cd816020860160208601611591565b601f01601f19169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff808a16835260e0602084015261161160e084018a6115b5565b8381036040850152611623818a6115b5565b9050838103606085015261163781896115b5565b91909616608084015260a08301949094525060c0015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610ace57600080fd5b60006020828403121561168a57600080fd5b813561169581611656565b9392505050565b600080604083850312156116af57600080fd5b82356116ba81611656565b915060208301356116ca81611656565b809150509250929050565b60008083601f8401126116e757600080fd5b50813567ffffffffffffffff8111156116ff57600080fd5b60208301915083602082850101111561171757600080fd5b9250929050565b60008060006040848603121561173357600080fd5b833561173e81611656565b9250602084013567ffffffffffffffff81111561175a57600080fd5b611766868287016116d5565b9497909650939450505050565b6000806000806060858703121561178957600080fd5b843567ffffffffffffffff8111156117a057600080fd5b6117ac878288016116d5565b90989097506020870135966040013595509350505050565b60208152600061169560208301846115b5565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561182f5761182f6117d7565b604052919050565b600067ffffffffffffffff821115611851576118516117d7565b50601f01601f191660200190565b60006020828403121561187157600080fd5b815167ffffffffffffffff81111561188857600080fd5b8201601f8101841361189957600080fd5b80516118ac6118a782611837565b611806565b8181528560208385010111156118c157600080fd5b6118d2826020830160208601611591565b95945050505050565b600181811c908216806118ef57607f821691505b602082108103611928577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006020828403121561194057600080fd5b5051919050565b60006020828403121561195957600080fd5b8151801515811461169557600080fd5b60008060006060848603121561197e57600080fd5b833567ffffffffffffffff81111561199557600080fd5b8401601f810186136119a657600080fd5b80356119b46118a782611837565b8181528760208385010111156119c957600080fd5b8160208401602083013760006020838301015280955050505060208401359150604084013590509250925092565b601f82111561058d57600081815260208120601f850160051c81016020861015611a1e5750805b601f850160051c820191505b81811015611a3d57828155600101611a2a565b505050505050565b815167ffffffffffffffff811115611a5f57611a5f6117d7565b611a7381611a6d84546118db565b846119f7565b602080601f831160018114611ac65760008415611a905750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611a3d565b600085815260208120601f198616915b82811015611af557888601518255948401946001909101908401611ad6565b5085821015611b3157878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b6000602080835260008454611b55816118db565b80848701526040600180841660008114611b765760018114611bae57611bdc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a01019550611bdc565b896000528660002060005b85811015611bd45781548b8201860152908301908801611bb9565b8a0184019650505b509398975050505050505050565b600060208284031215611bfc57600080fd5b815161169581611656565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b602081526000611c46602083018486611c07565b949350505050565b606081526000611c62606083018688611c07565b602083019490945250604001529291505056fea26469706673582212209b6d82f4e7a6488325187c79a4173eaa7138c49d345873c668966636396c7f7e64736f6c634300081300330000000000000000000000009de5b4928296d96f48fe67ebb2ca1556827fc6a9

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061011b5760003560e01c806379ba5097116100b2578063b62b724d11610081578063c18272fc11610066578063c18272fc1461026b578063e30c39781461027e578063f2fde38b1461029c57600080fd5b8063b62b724d14610238578063bfb5944a1461025857600080fd5b806379ba5097146102025780638456cb591461020a57806384dc6c76146102125780638da5cb5b1461021a57600080fd5b80633f4ba83a116100ee5780633f4ba83a1461017f5780635c975abb146101875780636a936817146101b5578063715018a6146101fa57600080fd5b80630857f52c146101205780632f622e6b146101445780633aeac4e1146101595780633ed0da7f1461016c575b600080fd5b6101286102af565b60405161013b97969594939291906115e1565b60405180910390f35b610157610152366004611678565b6104d0565b005b61015761016736600461169c565b610592565b61015761017a36600461171e565b6106ce565b610157610a12565b60015474010000000000000000000000000000000000000000900460ff16604051901515815260200161013b565b6003546101d59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161013b565b610157610a24565b610157610a36565b610157610ad1565b610128610ae1565b60005473ffffffffffffffffffffffffffffffffffffffff166101d5565b61024b610246366004611773565b610c6b565b60405161013b91906117c4565b610157610266366004611678565b610e81565b61015761027936600461171e565b610f59565b60015473ffffffffffffffffffffffffffffffffffffffff166101d5565b6101576102aa366004611678565b611213565b600060608060606000806000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa15801561034d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610375919081019061185f565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103e2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261040a919081019061185f565b600654600754600854855473ffffffffffffffffffffffffffffffffffffffff909316928690610439906118db565b80601f0160208091040260200160405190810160405280929190818152602001828054610465906118db565b80156104b25780601f10610487576101008083540402835291602001916104b2565b820191906000526020600020905b81548152906001019060200180831161049557829003601f168201915b50505050509550965096509650965096509650965090919293949596565b6104d86112c3565b604051479060009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114610532576040519150601f19603f3d011682016040523d82523d6000602084013e610537565b606091505b505090508061058d5760405162461bcd60e51b815260206004820152601260248201527f556e61626c6520746f207769746864726177000000000000000000000000000060448201526064015b60405180910390fd5b505050565b61059a6112c3565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b919061192e565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af11580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611947565b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146107355760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610584565b61073d61132a565b73ffffffffffffffffffffffffffffffffffffffff83166107a05760405162461bcd60e51b815260206004820152601d60248201527f5461726765742063616e6e6f74206265207a65726f20616464726573730000006044820152606401610584565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790556107ec82820183611969565b6008819055600782905560056108028482611a45565b50506003546040517f04c2320b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911692506304c2320b915061085d90600590600401611b41565b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611bea565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216918217905561092e5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610584565b6003546006546040517f39b5995800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201529116906339b59958906024015b602060405180830381865afa1580156109a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c59190611947565b1561058d5760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610584565b610a1a6112c3565b610a22611395565b565b610a2c6112c3565b610a226000611412565b600154339073ffffffffffffffffffffffffffffffffffffffff168114610ac55760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610584565b610ace81611412565b50565b610ad96112c3565b610a22611443565b600060608060606000806000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa158015610b7f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba7919081019061185f565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610c14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3c919081019061185f565b600b54600c54600d54855473ffffffffffffffffffffffffffffffffffffffff909316928690610439906118db565b6003546040517f04c2320b00000000000000000000000000000000000000000000000000000000815260609160009173ffffffffffffffffffffffffffffffffffffffff909116906304c2320b90610cc99089908990600401611c32565b602060405180830381865afa158015610ce6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0a9190611bea565b905073ffffffffffffffffffffffffffffffffffffffff8116610d6f5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610584565b6003546040517f39b5995800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152909116906339b5995890602401602060405180830381865afa158015610ddf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e039190611947565b15610e505760405162461bcd60e51b815260206004820152601060248201527f546f6b656e20697320626c6f636b6564000000000000000000000000000000006044820152606401610584565b85858585604051602001610e679493929190611c4e565b604051602081830303815290604052915050949350505050565b610e896112c3565b73ffffffffffffffffffffffffffffffffffffffff8116610f125760405162461bcd60e51b815260206004820152602360248201527f5261696e626f7720526f61642063616e6e6f74206265207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610584565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff163314610fc05760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652063616c6c6564206279205261696e626f7720526f616400006044820152606401610584565b610fc861132a565b73ffffffffffffffffffffffffffffffffffffffff831661102b5760405162461bcd60e51b815260206004820152601d60248201527f5461726765742063616e6e6f74206265207a65726f20616464726573730000006044820152606401610584565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851617905561107782820183611969565b600d819055600c829055600a61108d8482611a45565b50506003546040517f04c2320b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911692506304c2320b91506110e890600a90600401611b41565b602060405180830381865afa158015611105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111299190611bea565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691821790556111b95760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610584565b600354600b546040517f39b5995800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201529116906339b5995890602401610984565b61121b6112c3565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561127e60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610584565b60015474010000000000000000000000000000000000000000900460ff1615610a225760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610584565b61139d6114b2565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055610ace8161151c565b61144b61132a565b600180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113e83390565b60015474010000000000000000000000000000000000000000900460ff16610a225760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610584565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b838110156115ac578181015183820152602001611594565b50506000910152565b600081518084526115cd816020860160208601611591565b601f01601f19169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff808a16835260e0602084015261161160e084018a6115b5565b8381036040850152611623818a6115b5565b9050838103606085015261163781896115b5565b91909616608084015260a08301949094525060c0015295945050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610ace57600080fd5b60006020828403121561168a57600080fd5b813561169581611656565b9392505050565b600080604083850312156116af57600080fd5b82356116ba81611656565b915060208301356116ca81611656565b809150509250929050565b60008083601f8401126116e757600080fd5b50813567ffffffffffffffff8111156116ff57600080fd5b60208301915083602082850101111561171757600080fd5b9250929050565b60008060006040848603121561173357600080fd5b833561173e81611656565b9250602084013567ffffffffffffffff81111561175a57600080fd5b611766868287016116d5565b9497909650939450505050565b6000806000806060858703121561178957600080fd5b843567ffffffffffffffff8111156117a057600080fd5b6117ac878288016116d5565b90989097506020870135966040013595509350505050565b60208152600061169560208301846115b5565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561182f5761182f6117d7565b604052919050565b600067ffffffffffffffff821115611851576118516117d7565b50601f01601f191660200190565b60006020828403121561187157600080fd5b815167ffffffffffffffff81111561188857600080fd5b8201601f8101841361189957600080fd5b80516118ac6118a782611837565b611806565b8181528560208385010111156118c157600080fd5b6118d2826020830160208601611591565b95945050505050565b600181811c908216806118ef57607f821691505b602082108103611928577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006020828403121561194057600080fd5b5051919050565b60006020828403121561195957600080fd5b8151801515811461169557600080fd5b60008060006060848603121561197e57600080fd5b833567ffffffffffffffff81111561199557600080fd5b8401601f810186136119a657600080fd5b80356119b46118a782611837565b8181528760208385010111156119c957600080fd5b8160208401602083013760006020838301015280955050505060208401359150604084013590509250925092565b601f82111561058d57600081815260208120601f850160051c81016020861015611a1e5750805b601f850160051c820191505b81811015611a3d57828155600101611a2a565b505050505050565b815167ffffffffffffffff811115611a5f57611a5f6117d7565b611a7381611a6d84546118db565b846119f7565b602080601f831160018114611ac65760008415611a905750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611a3d565b600085815260208120601f198616915b82811015611af557888601518255948401946001909101908401611ad6565b5085821015611b3157878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b6000602080835260008454611b55816118db565b80848701526040600180841660008114611b765760018114611bae57611bdc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01528284151560051b8a01019550611bdc565b896000528660002060005b85811015611bd45781548b8201860152908301908801611bb9565b8a0184019650505b509398975050505050505050565b600060208284031215611bfc57600080fd5b815161169581611656565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b602081526000611c46602083018486611c07565b949350505050565b606081526000611c62606083018688611c07565b602083019490945250604001529291505056fea26469706673582212209b6d82f4e7a6488325187c79a4173eaa7138c49d345873c668966636396c7f7e64736f6c63430008130033