Mumbai Testnet

Contract

0x80c242E98214DD1Ea06746d106c98939F9472F0a
Transaction Hash
Method
Block
From
To
Value
Deposit451636742024-01-25 22:25:21178 days ago1706221521IN
0x80c242E9...9F9472F0a
0 MATIC0.000068321.50000001
Deposit451636742024-01-25 22:25:21178 days ago1706221521IN
0x80c242E9...9F9472F0a
0 MATIC0.000282773.42364326
Deposit451636742024-01-25 22:25:21178 days ago1706221521IN
0x80c242E9...9F9472F0a
0 MATIC0.000233142.82270001
Deposit451636742024-01-25 22:25:21178 days ago1706221521IN
0x80c242E9...9F9472F0a
0 MATIC0.000134181.62454209
Deposit451636742024-01-25 22:25:21178 days ago1706221521IN
0x80c242E9...9F9472F0a
0 MATIC0.000123891.50000001
Deposit451636742024-01-25 22:25:21178 days ago1706221521IN
0x80c242E9...9F9472F0a
0 MATIC0.000141671.71532139
Deposit447324622024-01-13 15:29:36190 days ago1705159776IN
0x80c242E9...9F9472F0a
0 MATIC0.0009085511
Deposit447324622024-01-13 15:29:36190 days ago1705159776IN
0x80c242E9...9F9472F0a
0 MATIC0.0008259610
Deposit443428222024-01-03 11:38:07201 days ago1704281887IN
0x80c242E9...9F9472F0a
0 MATIC0.000382964.63659998
Deposit443428192024-01-03 11:38:01201 days ago1704281881IN
0x80c242E9...9F9472F0a
0 MATIC0.000382964.63659998
Deposit443428172024-01-03 11:37:57201 days ago1704281877IN
0x80c242E9...9F9472F0a
0 MATIC0.000574446.9549
Deposit443428142024-01-03 11:37:49201 days ago1704281869IN
0x80c242E9...9F9472F0a
0 MATIC0.000574446.9549
Deposit443428122024-01-03 11:37:45201 days ago1704281865IN
0x80c242E9...9F9472F0a
0 MATIC0.0032640139.5178
Sponsored Transf...443398752024-01-03 9:44:41201 days ago1704275081IN
0x80c242E9...9F9472F0a
0 MATIC0.0041685390.00000001
Sponsored Transf...443398712024-01-03 9:44:23201 days ago1704275063IN
0x80c242E9...9F9472F0a
0 MATIC0.0041685390.00000001
Sponsored Transf...443398642024-01-03 9:44:09201 days ago1704275049IN
0x80c242E9...9F9472F0a
0 MATIC0.00569699123
Sponsored Transf...443398572024-01-03 9:43:55201 days ago1704275035IN
0x80c242E9...9F9472F0a
0 MATIC0.01000447216
Sponsored Transf...443398512024-01-03 9:43:41201 days ago1704275021IN
0x80c242E9...9F9472F0a
0 MATIC0.0073644159
Sponsored Transf...443376782024-01-03 8:26:11201 days ago1704270371IN
0x80c242E9...9F9472F0a
0 MATIC0.0041663790.00000001
Sponsored Transf...443376712024-01-03 8:25:57201 days ago1704270357IN
0x80c242E9...9F9472F0a
0 MATIC0.0041663790.00000001
Sponsored Transf...443376642024-01-03 8:25:43201 days ago1704270343IN
0x80c242E9...9F9472F0a
0 MATIC0.0041663790.00000001
Sponsored Transf...443376552024-01-03 8:25:23201 days ago1704270323IN
0x80c242E9...9F9472F0a
0 MATIC0.0041663790.00000001
Sponsored Transf...443376472024-01-03 8:25:05201 days ago1704270305IN
0x80c242E9...9F9472F0a
0 MATIC0.0041663790.00000001
Sponsored Transf...443327082024-01-03 5:26:57201 days ago1704259617IN
0x80c242E9...9F9472F0a
0 MATIC0.0048536190.00000001
Deposit443326802024-01-03 5:25:57201 days ago1704259557IN
0x80c242E9...9F9472F0a
0 MATIC0.000187142.4056
View all transactions

Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vault

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : Vault.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.21;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract Vault is ReentrancyGuard, Ownable, Pausable {
    uint256 public totalDeposited;

    mapping(address => mapping(address => mapping(uint256 => uint256)))
        public userDeposits;
    mapping(address => mapping(uint256 => uint256)) public lockedFunds;
    mapping(address => uint256) rollups;

    IERC20 public usdcToken;
    IERC20 public usdtToken;

    event Deposit(
        address indexed user,
        address indexed tokenAddress,
        uint256 rollupId,
        uint256 amount
    );
    event Withdraw(
        address indexed user,
        address indexed tokenAddress,
        uint256 rollupId,
        uint256 amount
    );
    event Transfer(
        address indexed userFrom,
        address indexed userTo,
        address indexed tokenAddress,
        uint256 rollupId,
        uint256 amount
    );
    event FundsLocked(
        address indexed tokenAddress,
        uint256 rollupId,
        uint256 amount
    );
    event FundsUnlocked(
        address indexed tokenAddress,
        uint256 rollupId,
        uint256 amount
    );
    event Pause();
    event Unpause();
    event AddedVirtualRollup(address indexed rollupAddress, uint256 rollupId);
    event EditedVirtualRollup(
        address indexed rollupAddress,
        uint256 oldRollupId,
        uint256 newRollupId
    );
    event DeletedVirtualRollup(
        address indexed rollupAddress,
        uint256 deletedRollupId
    );
    // modifier to restrict actions to owner or rollup contract address
    modifier onlyRollupOrOwner(uint256 _rollupId) {
        require(
            msg.sender == owner() || rollups[msg.sender] == _rollupId,
            "Not authorized"
        );
        _;
    }

    constructor(address _usdcToken, address _usdtToken) {
        require(
            _usdcToken != address(0) && _usdtToken != address(0),
            "Token address cannot be zero"
        );
        require(
            IERC20(_usdcToken).totalSupply() > 0 &&
                IERC20(_usdtToken).totalSupply() > 0,
            "Invalid token contract"
        );
        usdcToken = IERC20(_usdcToken);
        usdtToken = IERC20(_usdtToken);
    }

    function deposit(
        uint256 rollupId,
        address tokenAddress,
        uint256 amount
    ) external whenNotPaused nonReentrant {
        require(amount > 0, "Deposit amount must be greater than 0");
        require(
            tokenAddress == address(usdcToken) ||
                tokenAddress == address(usdtToken),
            "Unsupported token"
        );
        require(
            IERC20(tokenAddress).balanceOf(msg.sender) >= amount,
            "Insufficient token balance"
        );
        require(
            IERC20(tokenAddress).allowance(msg.sender, address(this)) >= amount,
            "Insufficient token allowance"
        );

        require(
            IERC20(tokenAddress).transferFrom(
                msg.sender,
                address(this),
                amount
            ),
            "Token transfer failed"
        );

        userDeposits[msg.sender][tokenAddress][rollupId] += amount;
        totalDeposited += amount;

        emit Deposit(msg.sender, tokenAddress, rollupId, amount);
    }

    function lockFunds(
        address userAddress,
        address tokenAddress,
        uint256 rollupId,
        uint256 amount
    ) external whenNotPaused nonReentrant returns (bool) {
        require(amount > 0, "Lock amount must be greater than 0");
        require(
            userDeposits[userAddress][tokenAddress][rollupId] >= amount,
            "Insufficient unlocked funds"
        );

        userDeposits[userAddress][tokenAddress][rollupId] -= amount;
        lockedFunds[tokenAddress][rollupId] += amount;

        emit FundsLocked(tokenAddress, rollupId, amount);
        return true;
    }

    function unlockFunds(
        address userAddress,
        address tokenAddress,
        uint256 rollupId,
        uint256 amount
    ) external onlyRollupOrOwner(rollupId) whenNotPaused nonReentrant {
        require(amount > 0, "Unlock amount must be greater than 0");
        require(isSupportedToken(tokenAddress), "Unsupported token");
        require(
            lockedFunds[tokenAddress][rollupId] >= amount,
            "Insufficient locked funds"
        );

        lockedFunds[tokenAddress][rollupId] -= amount;
        userDeposits[userAddress][tokenAddress][rollupId] += amount;

        emit FundsUnlocked(tokenAddress, rollupId, amount);
    }

    function withdraw(
        uint256 rollupId,
        address tokenAddress,
        uint256 amount
    ) external whenNotPaused nonReentrant {
        require(amount > 0, "Withdraw amount must be greater than 0");
        require(
            userDeposits[msg.sender][tokenAddress][rollupId] >= amount,
            "Insufficient unlocked funds"
        );
        require(
            tokenAddress == address(usdcToken) ||
                tokenAddress == address(usdtToken),
            "Unsupported token"
        );
        require(
            IERC20(tokenAddress).balanceOf(address(this)) >= amount,
            "Insufficient contract token balance"
        );

        userDeposits[msg.sender][tokenAddress][rollupId] -= amount;
        totalDeposited -= amount;

        require(
            IERC20(tokenAddress).transfer(msg.sender, amount),
            "Token transfer failed"
        );

        emit Withdraw(msg.sender, tokenAddress, rollupId, amount);
    }

    function isSupportedToken(address tokenAddress) public view returns (bool) {
        return
            tokenAddress == address(usdcToken) ||
            tokenAddress == address(usdtToken);
    }

    function sponsoredTransfer(
        uint256 rollupId,
        address tokenAddress,
        uint256 amount,
        address from,
        address to
    ) external onlyOwner whenNotPaused nonReentrant {
        require(amount > 0, "Transfer amount must be greater than 0");
        require(
            userDeposits[from][tokenAddress][rollupId] >= amount,
            "Insufficient unlocked funds"
        );
        require(
            tokenAddress == address(usdcToken) ||
                tokenAddress == address(usdtToken),
            "Unsupported token"
        );
        require(
            IERC20(tokenAddress).balanceOf(address(this)) >= amount,
            "Insufficient contract token balance"
        );

        userDeposits[from][tokenAddress][rollupId] -= amount;
        userDeposits[to][tokenAddress][rollupId] += amount;

        emit Transfer(from, to, tokenAddress, rollupId, amount);
    }

    // function to add virtual rollup details
    function addVirtualRollup(
        address _rollupAddress,
        uint256 _rollupId
    ) public onlyOwner {
        require(rollups[_rollupAddress] == 0, "Rollup address already exists");
        rollups[_rollupAddress] = _rollupId;
        emit AddedVirtualRollup(_rollupAddress, _rollupId);
    }

    // function to edit virtual rollup details
    function editVirtualRollup(
        address _rollupAddress,
        uint256 _newRollupId
    ) public onlyOwner {
        require(rollups[_rollupAddress] != 0, "Rollup address does not exist");
        uint256 oldRollupId = rollups[_rollupAddress];
        rollups[_rollupAddress] = _newRollupId;
        emit EditedVirtualRollup(_rollupAddress, oldRollupId, _newRollupId);
    }

    // function to delete virtual rollup details
    function deleteVirtualRollup(address _rollupAddress) public onlyOwner {
        require(rollups[_rollupAddress] != 0, "Rollup address does not exist");
        uint256 deletedRollupId = rollups[_rollupAddress];
        delete rollups[_rollupAddress];
        emit DeletedVirtualRollup(_rollupAddress, deletedRollupId);
    }

    function pause() external onlyOwner {
        _pause();
        emit Pause();
    }

    function unpause() external onlyOwner {
        _unpause();
        emit Unpause();
    }
}

File 1 of 6 : 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 1 of 6 : 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 1 of 6 : 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 1 of 6 : 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 1 of 6 : 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "paris",
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_usdcToken","type":"address"},{"internalType":"address","name":"_usdtToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rollupAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"rollupId","type":"uint256"}],"name":"AddedVirtualRollup","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rollupAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"deletedRollupId","type":"uint256"}],"name":"DeletedVirtualRollup","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"rollupId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rollupAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldRollupId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRollupId","type":"uint256"}],"name":"EditedVirtualRollup","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"rollupId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"rollupId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsUnlocked","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"userFrom","type":"address"},{"indexed":true,"internalType":"address","name":"userTo","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"rollupId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"rollupId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_rollupAddress","type":"address"},{"internalType":"uint256","name":"_rollupId","type":"uint256"}],"name":"addVirtualRollup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rollupAddress","type":"address"}],"name":"deleteVirtualRollup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rollupId","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rollupAddress","type":"address"},{"internalType":"uint256","name":"_newRollupId","type":"uint256"}],"name":"editVirtualRollup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"isSupportedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"rollupId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lockFunds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockedFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rollupId","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"sponsoredTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalDeposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"rollupId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unlockFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdcToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdtToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rollupId","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620036123803806200361283398181016040528101906200003791906200041e565b60016000819055506200005f62000053620002e660201b60201c565b620002ee60201b60201c565b6000600160146101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015620000e55750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b62000127576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200011e90620004c6565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019b919062000523565b1180156200021a575060008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000218919062000523565b115b6200025c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200025390620005a5565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620005c7565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003e682620003b9565b9050919050565b620003f881620003d9565b81146200040457600080fd5b50565b6000815190506200041881620003ed565b92915050565b60008060408385031215620004385762000437620003b4565b5b6000620004488582860162000407565b92505060206200045b8582860162000407565b9150509250929050565b600082825260208201905092915050565b7f546f6b656e20616464726573732063616e6e6f74206265207a65726f00000000600082015250565b6000620004ae601c8362000465565b9150620004bb8262000476565b602082019050919050565b60006020820190508181036000830152620004e1816200049f565b9050919050565b6000819050919050565b620004fd81620004e8565b81146200050957600080fd5b50565b6000815190506200051d81620004f2565b92915050565b6000602082840312156200053c576200053b620003b4565b5b60006200054c848285016200050c565b91505092915050565b7f496e76616c696420746f6b656e20636f6e747261637400000000000000000000600082015250565b60006200058d60168362000465565b91506200059a8262000555565b602082019050919050565b60006020820190508181036000830152620005c0816200057e565b9050919050565b61303b80620005d76000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806364b3c7d6116100ad578063bc157ac111610071578063bc157ac1146102f7578063d6a4263914610313578063e63697c81461032f578063f2fde38b1461034b578063ff50abdc146103675761012c565b806364b3c7d614610277578063715018a6146102a75780638456cb59146102b15780638da5cb5b146102bb578063a98ad46c146102d95761012c565b80632d8870dc116100f45780632d8870dc146101fb5780633f4ba83a1461021757806356f24b7e146102215780635b2c80451461023d5780635c975abb146102595761012c565b806311eac855146101315780631355d8611461014f578063167f8d721461017f578063240028e8146101af578063241ac54b146101df575b600080fd5b610139610385565b6040516101469190612183565b60405180910390f35b61016960048036038101906101649190612217565b6103ab565b6040516101769190612266565b60405180910390f35b61019960048036038101906101949190612281565b6103d0565b6040516101a69190612266565b60405180910390f35b6101c960048036038101906101c491906122d4565b610402565b6040516101d6919061231c565b60405180910390f35b6101f960048036038101906101f49190612217565b6104b4565b005b61021560048036038101906102109190612337565b6105d4565b005b61021f61092b565b005b61023b60048036038101906102369190612217565b610969565b005b6102576004803603810190610252919061239e565b610ad0565b005b610261610f74565b60405161026e919061231c565b60405180910390f35b610291600480360381019061028c9190612337565b610f8b565b60405161029e919061231c565b60405180910390f35b6102af61121f565b005b6102b9611233565b005b6102c3611271565b6040516102d09190612428565b60405180910390f35b6102e161129b565b6040516102ee9190612183565b60405180910390f35b610311600480360381019061030c9190612443565b6112c1565b005b61032d600480360381019061032891906122d4565b611766565b005b61034960048036038101906103449190612443565b6118c9565b005b610365600480360381019061036091906122d4565b611d7e565b005b61036f611e01565b60405161037c9190612266565b60405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6004602052816000526040600020602052806000526040600020600091509150505481565b600360205282600052604060002060205281600052604060002060205280600052604060002060009250925050505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806104ad5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b6104bc611e07565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461053e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610535906124f3565b60405180910390fd5b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff167fbd74b6eca83130ed6e2f3ddd614f273e3b11f25a2e0c59a83cb31688b1821452826040516105c89190612266565b60405180910390a25050565b816105dd611271565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610654575080600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b610693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068a9061255f565b60405180910390fd5b61069b611e85565b6106a3611ecf565b600082116106e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106dd906125f1565b60405180910390fd5b6106ef84610402565b61072e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107259061265d565b60405180910390fd5b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410156107c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b8906126c9565b60405180910390fd5b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546108219190612718565b9250508190555081600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546108c5919061274c565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f6268af2b600a2157df17341cfcc2cfca468b57eeba8ddcf815d1152f635bb7cd8484604051610914929190612780565b60405180910390a2610924611f1e565b5050505050565b610933611e07565b61093b611f28565b7f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b610971611e07565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054036109f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ea906127f5565b60405180910390fd5b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f88a5b74bf75441903f147393f2d1025e29dc1e9e7fb7d3a5b1fcee17ede1bdf68284604051610ac3929190612780565b60405180910390a2505050565b610ad8611e07565b610ae0611e85565b610ae8611ecf565b60008311610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290612887565b60405180910390fd5b82600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878152602001908152602001600020541015610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf2906128f3565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610ca45750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b610ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cda9061265d565b60405180910390fd5b828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d1d9190612428565b602060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5e9190612928565b1015610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d96906129c7565b60405180910390fd5b82600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254610e3c9190612718565b9250508190555082600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254610ee0919061274c565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac7288598887604051610f5d929190612780565b60405180910390a4610f6d611f1e565b5050505050565b6000600160149054906101000a900460ff16905090565b6000610f95611e85565b610f9d611ecf565b60008211610fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd790612a59565b60405180910390fd5b81600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410156110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a7906128f3565b60405180910390fd5b81600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020600082825461114d9190612718565b9250508190555081600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546111b4919061274c565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167fe52cdcd45f0913116ea4f3de9bab0401ca2bbb5593445d1f6736170f57db75e88484604051611203929190612780565b60405180910390a260019050611217611f1e565b949350505050565b611227611e07565b6112316000611f8b565b565b61123b611e07565b611243612051565b7f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112c9611e85565b6112d1611ecf565b60008111611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90612aeb565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806113bd5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b6113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f39061265d565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016114369190612428565b602060405180830381865afa158015611453573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114779190612928565b10156114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af90612b57565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b81526004016114f4929190612b77565b602060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115359190612928565b1015611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90612bec565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016115b393929190612c0c565b6020604051808303816000875af11580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612c6f565b611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90612ce8565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546116d2919061274c565b9250508190555080600260008282546116eb919061274c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78584604051611751929190612780565b60405180910390a3611761611f1e565b505050565b61176e611e07565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054036117f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e7906127f5565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090558173ffffffffffffffffffffffffffffffffffffffff167f67ddca1a54ee6635443459dd890a8ebedf6332e588e15213ccf0005578ba5928826040516118bd9190612266565b60405180910390a25050565b6118d1611e85565b6118d9611ecf565b6000811161191c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191390612d7a565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410156119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e3906128f3565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480611a955750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb9061265d565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b0e9190612428565b602060405180830381865afa158015611b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4f9190612928565b1015611b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b87906129c7565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206000828254611c2d9190612718565b925050819055508060026000828254611c469190612718565b925050819055508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611c88929190612d9a565b6020604051808303816000875af1158015611ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccb9190612c6f565b611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0190612ce8565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5678584604051611d69929190612780565b60405180910390a3611d79611f1e565b505050565b611d86611e07565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec90612e35565b60405180910390fd5b611dfe81611f8b565b50565b60025481565b611e0f6120b3565b73ffffffffffffffffffffffffffffffffffffffff16611e2d611271565b73ffffffffffffffffffffffffffffffffffffffff1614611e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7a90612ea1565b60405180910390fd5b565b611e8d610f74565b15611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec490612f0d565b60405180910390fd5b565b600260005403611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b90612f79565b60405180910390fd5b6002600081905550565b6001600081905550565b611f306120bb565b6000600160146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f746120b3565b604051611f819190612428565b60405180910390a1565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612059611e85565b60018060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861209c6120b3565b6040516120a99190612428565b60405180910390a1565b600033905090565b6120c3610f74565b612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f990612fe5565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061214961214461213f84612104565b612124565b612104565b9050919050565b600061215b8261212e565b9050919050565b600061216d82612150565b9050919050565b61217d81612162565b82525050565b60006020820190506121986000830184612174565b92915050565b600080fd5b60006121ae82612104565b9050919050565b6121be816121a3565b81146121c957600080fd5b50565b6000813590506121db816121b5565b92915050565b6000819050919050565b6121f4816121e1565b81146121ff57600080fd5b50565b600081359050612211816121eb565b92915050565b6000806040838503121561222e5761222d61219e565b5b600061223c858286016121cc565b925050602061224d85828601612202565b9150509250929050565b612260816121e1565b82525050565b600060208201905061227b6000830184612257565b92915050565b60008060006060848603121561229a5761229961219e565b5b60006122a8868287016121cc565b93505060206122b9868287016121cc565b92505060406122ca86828701612202565b9150509250925092565b6000602082840312156122ea576122e961219e565b5b60006122f8848285016121cc565b91505092915050565b60008115159050919050565b61231681612301565b82525050565b6000602082019050612331600083018461230d565b92915050565b600080600080608085870312156123515761235061219e565b5b600061235f878288016121cc565b9450506020612370878288016121cc565b935050604061238187828801612202565b925050606061239287828801612202565b91505092959194509250565b600080600080600060a086880312156123ba576123b961219e565b5b60006123c888828901612202565b95505060206123d9888289016121cc565b94505060406123ea88828901612202565b93505060606123fb888289016121cc565b925050608061240c888289016121cc565b9150509295509295909350565b612422816121a3565b82525050565b600060208201905061243d6000830184612419565b92915050565b60008060006060848603121561245c5761245b61219e565b5b600061246a86828701612202565b935050602061247b868287016121cc565b925050604061248c86828701612202565b9150509250925092565b600082825260208201905092915050565b7f526f6c6c7570206164647265737320616c726561647920657869737473000000600082015250565b60006124dd601d83612496565b91506124e8826124a7565b602082019050919050565b6000602082019050818103600083015261250c816124d0565b9050919050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b6000612549600e83612496565b915061255482612513565b602082019050919050565b600060208201905081810360008301526125788161253c565b9050919050565b7f556e6c6f636b20616d6f756e74206d757374206265206772656174657220746860008201527f616e203000000000000000000000000000000000000000000000000000000000602082015250565b60006125db602483612496565b91506125e68261257f565b604082019050919050565b6000602082019050818103600083015261260a816125ce565b9050919050565b7f556e737570706f7274656420746f6b656e000000000000000000000000000000600082015250565b6000612647601183612496565b915061265282612611565b602082019050919050565b600060208201905081810360008301526126768161263a565b9050919050565b7f496e73756666696369656e74206c6f636b65642066756e647300000000000000600082015250565b60006126b3601983612496565b91506126be8261267d565b602082019050919050565b600060208201905081810360008301526126e2816126a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612723826121e1565b915061272e836121e1565b9250828203905081811115612746576127456126e9565b5b92915050565b6000612757826121e1565b9150612762836121e1565b925082820190508082111561277a576127796126e9565b5b92915050565b60006040820190506127956000830185612257565b6127a26020830184612257565b9392505050565b7f526f6c6c7570206164647265737320646f6573206e6f74206578697374000000600082015250565b60006127df601d83612496565b91506127ea826127a9565b602082019050919050565b6000602082019050818103600083015261280e816127d2565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e20300000000000000000000000000000000000000000000000000000602082015250565b6000612871602683612496565b915061287c82612815565b604082019050919050565b600060208201905081810360008301526128a081612864565b9050919050565b7f496e73756666696369656e7420756e6c6f636b65642066756e64730000000000600082015250565b60006128dd601b83612496565b91506128e8826128a7565b602082019050919050565b6000602082019050818103600083015261290c816128d0565b9050919050565b600081519050612922816121eb565b92915050565b60006020828403121561293e5761293d61219e565b5b600061294c84828501612913565b91505092915050565b7f496e73756666696369656e7420636f6e747261637420746f6b656e2062616c6160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b60006129b1602383612496565b91506129bc82612955565b604082019050919050565b600060208201905081810360008301526129e0816129a4565b9050919050565b7f4c6f636b20616d6f756e74206d7573742062652067726561746572207468616e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a43602283612496565b9150612a4e826129e7565b604082019050919050565b60006020820190508181036000830152612a7281612a36565b9050919050565b7f4465706f73697420616d6f756e74206d7573742062652067726561746572207460008201527f68616e2030000000000000000000000000000000000000000000000000000000602082015250565b6000612ad5602583612496565b9150612ae082612a79565b604082019050919050565b60006020820190508181036000830152612b0481612ac8565b9050919050565b7f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000600082015250565b6000612b41601a83612496565b9150612b4c82612b0b565b602082019050919050565b60006020820190508181036000830152612b7081612b34565b9050919050565b6000604082019050612b8c6000830185612419565b612b996020830184612419565b9392505050565b7f496e73756666696369656e7420746f6b656e20616c6c6f77616e636500000000600082015250565b6000612bd6601c83612496565b9150612be182612ba0565b602082019050919050565b60006020820190508181036000830152612c0581612bc9565b9050919050565b6000606082019050612c216000830186612419565b612c2e6020830185612419565b612c3b6040830184612257565b949350505050565b612c4c81612301565b8114612c5757600080fd5b50565b600081519050612c6981612c43565b92915050565b600060208284031215612c8557612c8461219e565b5b6000612c9384828501612c5a565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000612cd2601583612496565b9150612cdd82612c9c565b602082019050919050565b60006020820190508181036000830152612d0181612cc5565b9050919050565b7f576974686472617720616d6f756e74206d75737420626520677265617465722060008201527f7468616e20300000000000000000000000000000000000000000000000000000602082015250565b6000612d64602683612496565b9150612d6f82612d08565b604082019050919050565b60006020820190508181036000830152612d9381612d57565b9050919050565b6000604082019050612daf6000830185612419565b612dbc6020830184612257565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612e1f602683612496565b9150612e2a82612dc3565b604082019050919050565b60006020820190508181036000830152612e4e81612e12565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612e8b602083612496565b9150612e9682612e55565b602082019050919050565b60006020820190508181036000830152612eba81612e7e565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612ef7601083612496565b9150612f0282612ec1565b602082019050919050565b60006020820190508181036000830152612f2681612eea565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612f63601f83612496565b9150612f6e82612f2d565b602082019050919050565b60006020820190508181036000830152612f9281612f56565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612fcf601483612496565b9150612fda82612f99565b602082019050919050565b60006020820190508181036000830152612ffe81612fc2565b905091905056fea26469706673582212202750ca3ff0267f24fa9b5144a1b5d7b64a06af982196ddf1ffbbd6b01cb241b564736f6c634300081500330000000000000000000000002be62e7117967ea61ac6371ac2f50318e58ecaf90000000000000000000000009e73b96431f3126f3c652cbd6f8ceeeae7994df8

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806364b3c7d6116100ad578063bc157ac111610071578063bc157ac1146102f7578063d6a4263914610313578063e63697c81461032f578063f2fde38b1461034b578063ff50abdc146103675761012c565b806364b3c7d614610277578063715018a6146102a75780638456cb59146102b15780638da5cb5b146102bb578063a98ad46c146102d95761012c565b80632d8870dc116100f45780632d8870dc146101fb5780633f4ba83a1461021757806356f24b7e146102215780635b2c80451461023d5780635c975abb146102595761012c565b806311eac855146101315780631355d8611461014f578063167f8d721461017f578063240028e8146101af578063241ac54b146101df575b600080fd5b610139610385565b6040516101469190612183565b60405180910390f35b61016960048036038101906101649190612217565b6103ab565b6040516101769190612266565b60405180910390f35b61019960048036038101906101949190612281565b6103d0565b6040516101a69190612266565b60405180910390f35b6101c960048036038101906101c491906122d4565b610402565b6040516101d6919061231c565b60405180910390f35b6101f960048036038101906101f49190612217565b6104b4565b005b61021560048036038101906102109190612337565b6105d4565b005b61021f61092b565b005b61023b60048036038101906102369190612217565b610969565b005b6102576004803603810190610252919061239e565b610ad0565b005b610261610f74565b60405161026e919061231c565b60405180910390f35b610291600480360381019061028c9190612337565b610f8b565b60405161029e919061231c565b60405180910390f35b6102af61121f565b005b6102b9611233565b005b6102c3611271565b6040516102d09190612428565b60405180910390f35b6102e161129b565b6040516102ee9190612183565b60405180910390f35b610311600480360381019061030c9190612443565b6112c1565b005b61032d600480360381019061032891906122d4565b611766565b005b61034960048036038101906103449190612443565b6118c9565b005b610365600480360381019061036091906122d4565b611d7e565b005b61036f611e01565b60405161037c9190612266565b60405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6004602052816000526040600020602052806000526040600020600091509150505481565b600360205282600052604060002060205281600052604060002060205280600052604060002060009250925050505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806104ad5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b6104bc611e07565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461053e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610535906124f3565b60405180910390fd5b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff167fbd74b6eca83130ed6e2f3ddd614f273e3b11f25a2e0c59a83cb31688b1821452826040516105c89190612266565b60405180910390a25050565b816105dd611271565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610654575080600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b610693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068a9061255f565b60405180910390fd5b61069b611e85565b6106a3611ecf565b600082116106e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106dd906125f1565b60405180910390fd5b6106ef84610402565b61072e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107259061265d565b60405180910390fd5b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410156107c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b8906126c9565b60405180910390fd5b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546108219190612718565b9250508190555081600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546108c5919061274c565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f6268af2b600a2157df17341cfcc2cfca468b57eeba8ddcf815d1152f635bb7cd8484604051610914929190612780565b60405180910390a2610924611f1e565b5050505050565b610933611e07565b61093b611f28565b7f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b610971611e07565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054036109f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ea906127f5565b60405180910390fd5b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f88a5b74bf75441903f147393f2d1025e29dc1e9e7fb7d3a5b1fcee17ede1bdf68284604051610ac3929190612780565b60405180910390a2505050565b610ad8611e07565b610ae0611e85565b610ae8611ecf565b60008311610b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290612887565b60405180910390fd5b82600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878152602001908152602001600020541015610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf2906128f3565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610ca45750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b610ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cda9061265d565b60405180910390fd5b828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d1d9190612428565b602060405180830381865afa158015610d3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5e9190612928565b1015610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d96906129c7565b60405180910390fd5b82600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254610e3c9190612718565b9250508190555082600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000206000828254610ee0919061274c565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac7288598887604051610f5d929190612780565b60405180910390a4610f6d611f1e565b5050505050565b6000600160149054906101000a900460ff16905090565b6000610f95611e85565b610f9d611ecf565b60008211610fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd790612a59565b60405180910390fd5b81600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410156110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a7906128f3565b60405180910390fd5b81600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020600082825461114d9190612718565b9250508190555081600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546111b4919061274c565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167fe52cdcd45f0913116ea4f3de9bab0401ca2bbb5593445d1f6736170f57db75e88484604051611203929190612780565b60405180910390a260019050611217611f1e565b949350505050565b611227611e07565b6112316000611f8b565b565b61123b611e07565b611243612051565b7f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112c9611e85565b6112d1611ecf565b60008111611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b90612aeb565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806113bd5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b6113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f39061265d565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016114369190612428565b602060405180830381865afa158015611453573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114779190612928565b10156114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af90612b57565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b81526004016114f4929190612b77565b602060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115359190612928565b1015611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90612bec565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016115b393929190612c0c565b6020604051808303816000875af11580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612c6f565b611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90612ce8565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008282546116d2919061274c565b9250508190555080600260008282546116eb919061274c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78584604051611751929190612780565b60405180910390a3611761611f1e565b505050565b61176e611e07565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054036117f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e7906127f5565b60405180910390fd5b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090558173ffffffffffffffffffffffffffffffffffffffff167f67ddca1a54ee6635443459dd890a8ebedf6332e588e15213ccf0005578ba5928826040516118bd9190612266565b60405180910390a25050565b6118d1611e85565b6118d9611ecf565b6000811161191c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191390612d7a565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205410156119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e3906128f3565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480611a955750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb9061265d565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b0e9190612428565b602060405180830381865afa158015611b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4f9190612928565b1015611b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b87906129c7565b60405180910390fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206000828254611c2d9190612718565b925050819055508060026000828254611c469190612718565b925050819055508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611c88929190612d9a565b6020604051808303816000875af1158015611ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccb9190612c6f565b611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0190612ce8565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ff341246adaac6f497bc2a656f546ab9e182111d630394f0c57c710a59a2cb5678584604051611d69929190612780565b60405180910390a3611d79611f1e565b505050565b611d86611e07565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec90612e35565b60405180910390fd5b611dfe81611f8b565b50565b60025481565b611e0f6120b3565b73ffffffffffffffffffffffffffffffffffffffff16611e2d611271565b73ffffffffffffffffffffffffffffffffffffffff1614611e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7a90612ea1565b60405180910390fd5b565b611e8d610f74565b15611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec490612f0d565b60405180910390fd5b565b600260005403611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b90612f79565b60405180910390fd5b6002600081905550565b6001600081905550565b611f306120bb565b6000600160146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611f746120b3565b604051611f819190612428565b60405180910390a1565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612059611e85565b60018060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861209c6120b3565b6040516120a99190612428565b60405180910390a1565b600033905090565b6120c3610f74565b612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f990612fe5565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061214961214461213f84612104565b612124565b612104565b9050919050565b600061215b8261212e565b9050919050565b600061216d82612150565b9050919050565b61217d81612162565b82525050565b60006020820190506121986000830184612174565b92915050565b600080fd5b60006121ae82612104565b9050919050565b6121be816121a3565b81146121c957600080fd5b50565b6000813590506121db816121b5565b92915050565b6000819050919050565b6121f4816121e1565b81146121ff57600080fd5b50565b600081359050612211816121eb565b92915050565b6000806040838503121561222e5761222d61219e565b5b600061223c858286016121cc565b925050602061224d85828601612202565b9150509250929050565b612260816121e1565b82525050565b600060208201905061227b6000830184612257565b92915050565b60008060006060848603121561229a5761229961219e565b5b60006122a8868287016121cc565b93505060206122b9868287016121cc565b92505060406122ca86828701612202565b9150509250925092565b6000602082840312156122ea576122e961219e565b5b60006122f8848285016121cc565b91505092915050565b60008115159050919050565b61231681612301565b82525050565b6000602082019050612331600083018461230d565b92915050565b600080600080608085870312156123515761235061219e565b5b600061235f878288016121cc565b9450506020612370878288016121cc565b935050604061238187828801612202565b925050606061239287828801612202565b91505092959194509250565b600080600080600060a086880312156123ba576123b961219e565b5b60006123c888828901612202565b95505060206123d9888289016121cc565b94505060406123ea88828901612202565b93505060606123fb888289016121cc565b925050608061240c888289016121cc565b9150509295509295909350565b612422816121a3565b82525050565b600060208201905061243d6000830184612419565b92915050565b60008060006060848603121561245c5761245b61219e565b5b600061246a86828701612202565b935050602061247b868287016121cc565b925050604061248c86828701612202565b9150509250925092565b600082825260208201905092915050565b7f526f6c6c7570206164647265737320616c726561647920657869737473000000600082015250565b60006124dd601d83612496565b91506124e8826124a7565b602082019050919050565b6000602082019050818103600083015261250c816124d0565b9050919050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b6000612549600e83612496565b915061255482612513565b602082019050919050565b600060208201905081810360008301526125788161253c565b9050919050565b7f556e6c6f636b20616d6f756e74206d757374206265206772656174657220746860008201527f616e203000000000000000000000000000000000000000000000000000000000602082015250565b60006125db602483612496565b91506125e68261257f565b604082019050919050565b6000602082019050818103600083015261260a816125ce565b9050919050565b7f556e737570706f7274656420746f6b656e000000000000000000000000000000600082015250565b6000612647601183612496565b915061265282612611565b602082019050919050565b600060208201905081810360008301526126768161263a565b9050919050565b7f496e73756666696369656e74206c6f636b65642066756e647300000000000000600082015250565b60006126b3601983612496565b91506126be8261267d565b602082019050919050565b600060208201905081810360008301526126e2816126a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612723826121e1565b915061272e836121e1565b9250828203905081811115612746576127456126e9565b5b92915050565b6000612757826121e1565b9150612762836121e1565b925082820190508082111561277a576127796126e9565b5b92915050565b60006040820190506127956000830185612257565b6127a26020830184612257565b9392505050565b7f526f6c6c7570206164647265737320646f6573206e6f74206578697374000000600082015250565b60006127df601d83612496565b91506127ea826127a9565b602082019050919050565b6000602082019050818103600083015261280e816127d2565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e20300000000000000000000000000000000000000000000000000000602082015250565b6000612871602683612496565b915061287c82612815565b604082019050919050565b600060208201905081810360008301526128a081612864565b9050919050565b7f496e73756666696369656e7420756e6c6f636b65642066756e64730000000000600082015250565b60006128dd601b83612496565b91506128e8826128a7565b602082019050919050565b6000602082019050818103600083015261290c816128d0565b9050919050565b600081519050612922816121eb565b92915050565b60006020828403121561293e5761293d61219e565b5b600061294c84828501612913565b91505092915050565b7f496e73756666696369656e7420636f6e747261637420746f6b656e2062616c6160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b60006129b1602383612496565b91506129bc82612955565b604082019050919050565b600060208201905081810360008301526129e0816129a4565b9050919050565b7f4c6f636b20616d6f756e74206d7573742062652067726561746572207468616e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a43602283612496565b9150612a4e826129e7565b604082019050919050565b60006020820190508181036000830152612a7281612a36565b9050919050565b7f4465706f73697420616d6f756e74206d7573742062652067726561746572207460008201527f68616e2030000000000000000000000000000000000000000000000000000000602082015250565b6000612ad5602583612496565b9150612ae082612a79565b604082019050919050565b60006020820190508181036000830152612b0481612ac8565b9050919050565b7f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000600082015250565b6000612b41601a83612496565b9150612b4c82612b0b565b602082019050919050565b60006020820190508181036000830152612b7081612b34565b9050919050565b6000604082019050612b8c6000830185612419565b612b996020830184612419565b9392505050565b7f496e73756666696369656e7420746f6b656e20616c6c6f77616e636500000000600082015250565b6000612bd6601c83612496565b9150612be182612ba0565b602082019050919050565b60006020820190508181036000830152612c0581612bc9565b9050919050565b6000606082019050612c216000830186612419565b612c2e6020830185612419565b612c3b6040830184612257565b949350505050565b612c4c81612301565b8114612c5757600080fd5b50565b600081519050612c6981612c43565b92915050565b600060208284031215612c8557612c8461219e565b5b6000612c9384828501612c5a565b91505092915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000612cd2601583612496565b9150612cdd82612c9c565b602082019050919050565b60006020820190508181036000830152612d0181612cc5565b9050919050565b7f576974686472617720616d6f756e74206d75737420626520677265617465722060008201527f7468616e20300000000000000000000000000000000000000000000000000000602082015250565b6000612d64602683612496565b9150612d6f82612d08565b604082019050919050565b60006020820190508181036000830152612d9381612d57565b9050919050565b6000604082019050612daf6000830185612419565b612dbc6020830184612257565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612e1f602683612496565b9150612e2a82612dc3565b604082019050919050565b60006020820190508181036000830152612e4e81612e12565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612e8b602083612496565b9150612e9682612e55565b602082019050919050565b60006020820190508181036000830152612eba81612e7e565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612ef7601083612496565b9150612f0282612ec1565b602082019050919050565b60006020820190508181036000830152612f2681612eea565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612f63601f83612496565b9150612f6e82612f2d565b602082019050919050565b60006020820190508181036000830152612f9281612f56565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612fcf601483612496565b9150612fda82612f99565b602082019050919050565b60006020820190508181036000830152612ffe81612fc2565b905091905056fea26469706673582212202750ca3ff0267f24fa9b5144a1b5d7b64a06af982196ddf1ffbbd6b01cb241b564736f6c63430008150033

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

0000000000000000000000002be62e7117967ea61ac6371ac2f50318e58ecaf90000000000000000000000009e73b96431f3126f3c652cbd6f8ceeeae7994df8

-----Decoded View---------------
Arg [0] : _usdcToken (address): 0x2be62e7117967ea61aC6371Ac2F50318e58Ecaf9
Arg [1] : _usdtToken (address): 0x9e73b96431f3126f3c652cBd6f8ceeEae7994Df8

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002be62e7117967ea61ac6371ac2f50318e58ecaf9
Arg [1] : 0000000000000000000000009e73b96431f3126f3c652cbd6f8ceeeae7994df8


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

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