ETH Price: $3,295.80 (-3.79%)
Gas: 12 Gwei

Contract

0x4790a39d5615BFbdAD0e91A58c8B7391D48FfB9a
 
Transaction Hash
Method
Block
From
To
Value
0x887691c5aefadba4d927ecbaff894b44360504012e98e57511b397dde7cf51bb Deposit(pending)2024-06-30 1:20:003 days ago1719710400IN
Galxe: Smart Balance
0.003 ETH(Pending)(Pending)
0xa7c61c395e70dc7d2bc45b47204274759dd607edbfcd30ce4aec8b543d03f2b7 Deposit(pending)2024-06-30 1:14:253 days ago1719710065IN
Galxe: Smart Balance
0 ETH(Pending)(Pending)
Deposit201740582024-06-26 6:25:237 days ago1719383123IN
Galxe: Smart Balance
0.001 ETH0.000035581.45755764
Deposit201109892024-06-17 10:44:2316 days ago1718621063IN
Galxe: Smart Balance
0.002 ETH0.000422084.85497844
Deposit200847722024-06-13 18:45:5919 days ago1718304359IN
Galxe: Smart Balance
0 ETH0.0008331710.15793569
Deposit200847272024-06-13 18:36:5919 days ago1718303819IN
Galxe: Smart Balance
0 ETH0.0019150612.73126664
Withdraw Token200803292024-06-13 3:49:4720 days ago1718250587IN
Galxe: Smart Balance
0 ETH0.0005394913.87587771
Withdraw Token200803232024-06-13 3:48:3520 days ago1718250515IN
Galxe: Smart Balance
0 ETH0.001188317.12480365
Deposit200781802024-06-12 20:37:3520 days ago1718224655IN
Galxe: Smart Balance
0.001 ETH0.0004933422.64714615
Deposit200739702024-06-12 6:31:1121 days ago1718173871IN
Galxe: Smart Balance
0.002 ETH0.00045995.34681332
Deposit200735732024-06-12 5:10:4721 days ago1718169047IN
Galxe: Smart Balance
0.002 ETH0.000595696.92556045
Deposit200733422024-06-12 4:24:1121 days ago1718166251IN
Galxe: Smart Balance
0.001 ETH0.0002895.57649113
Deposit200732102024-06-12 3:57:4721 days ago1718164667IN
Galxe: Smart Balance
0.014 ETH0.000568256.60659516
Deposit200731802024-06-12 3:51:4721 days ago1718164307IN
Galxe: Smart Balance
0.002 ETH0.000578476.72532599
Deposit200731272024-06-12 3:41:1121 days ago1718163671IN
Galxe: Smart Balance
0 ETH0.000681396.11548803
Deposit200730862024-06-12 3:32:5921 days ago1718163179IN
Galxe: Smart Balance
0 ETH0.000827817.12271646
Deposit200729672024-06-12 3:08:5921 days ago1718161739IN
Galxe: Smart Balance
0.003 ETH0.000360966.96494542
Deposit200729662024-06-12 3:08:4721 days ago1718161727IN
Galxe: Smart Balance
0.003 ETH0.000575886.69430669
Deposit200729532024-06-12 3:06:1121 days ago1718161571IN
Galxe: Smart Balance
0.001 ETH0.000602287.0012057
Deposit200725642024-06-12 1:48:1121 days ago1718156891IN
Galxe: Smart Balance
0.003 ETH0.000853699.92364671
Deposit200721222024-06-12 0:18:5921 days ago1718151539IN
Galxe: Smart Balance
0.002 ETH0.000643267.4785607
Deposit200719892024-06-11 23:52:1121 days ago1718149931IN
Galxe: Smart Balance
0.003 ETH0.000795159.24320966
Deposit200715932024-06-11 22:32:5921 days ago1718145179IN
Galxe: Smart Balance
0.001 ETH0.0009661411.23083502
Deposit200713402024-06-11 21:42:2321 days ago1718142143IN
Galxe: Smart Balance
0.014 ETH0.0011602513.48913778
Deposit200711612024-06-11 21:06:1121 days ago1718139971IN
Galxe: Smart Balance
0.002 ETH0.0011331213.1737786
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
201109892024-06-17 10:44:2316 days ago1718621063
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200803292024-06-13 3:49:4720 days ago1718250587
Galxe: Smart Balance
52.302 ETH
200739702024-06-12 6:31:1121 days ago1718173871
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200735732024-06-12 5:10:4721 days ago1718169047
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200733422024-06-12 4:24:1121 days ago1718166251
Galxe: Smart Balance
Galxe: Smart Balance
0.001 ETH
200732102024-06-12 3:57:4721 days ago1718164667
Galxe: Smart Balance
Galxe: Smart Balance
0.014 ETH
200731802024-06-12 3:51:4721 days ago1718164307
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200729672024-06-12 3:08:5921 days ago1718161739
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200729662024-06-12 3:08:4721 days ago1718161727
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200729532024-06-12 3:06:1121 days ago1718161571
Galxe: Smart Balance
Galxe: Smart Balance
0.001 ETH
200725642024-06-12 1:48:1121 days ago1718156891
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200721222024-06-12 0:18:5921 days ago1718151539
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200719892024-06-11 23:52:1121 days ago1718149931
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200715932024-06-11 22:32:5921 days ago1718145179
Galxe: Smart Balance
Galxe: Smart Balance
0.001 ETH
200713402024-06-11 21:42:2321 days ago1718142143
Galxe: Smart Balance
Galxe: Smart Balance
0.014 ETH
200711612024-06-11 21:06:1121 days ago1718139971
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200707652024-06-11 19:46:2321 days ago1718135183
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200705712024-06-11 19:06:5921 days ago1718132819
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200704652024-06-11 18:45:4721 days ago1718131547
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200703872024-06-11 18:30:1121 days ago1718130611
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200701062024-06-11 17:33:5922 days ago1718127239
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200700132024-06-11 17:15:2322 days ago1718126123
Galxe: Smart Balance
Galxe: Smart Balance
0.002 ETH
200697562024-06-11 16:23:3522 days ago1718123015
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200690592024-06-11 14:03:3522 days ago1718114615
Galxe: Smart Balance
Galxe: Smart Balance
0.003 ETH
200689492024-06-11 13:41:3522 days ago1718113295
Galxe: Smart Balance
Galxe: Smart Balance
0.001 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SmartBalance

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, Apache-2.0 license
File 1 of 7 : SmartBalance.sol
// SPDX-License-Identifier: Apache-2.0

/*
     Copyright 2023 Galxe.

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
 */

pragma solidity ^0.8.0;

import "IERC20.sol";
import "SafeERC20.sol";
import "Ownable.sol";
import "Pausable.sol";

/**
 * @title SmartBalance
 * @author Galxe
 *
 * SmartBalance contract allows Galxe to charge and keep track of Galxe user balances.
 */
contract SmartBalance is Pausable, Ownable {
    using SafeERC20 for IERC20;

    /* ============ Events ============ */

    event UpdateTreasurer(address indexed newTreasurer);

    event Deposit(
        bytes32 indexed _galxeId,
        address indexed token,
        uint256 _amount,
        address indexed depositor
    );

    event Withdraw(
        bytes32 indexed _galxeId,
        address token,
        uint256 indexed _amount,
        address indexed recipient
    );

    event AllowToken(address indexed token);

    event DisallowToken(address indexed token);

    /* ============ Modifiers ============ */

    modifier onlyTreasurer() {
        _onlyTreasurer();
        _;
    }

    modifier onlyAllowedToken(address token) {
        _onlyAllowedToken(token);
        _;
    }

    function _onlyTreasurer() internal view {
        require(msg.sender == treasurer, "Must be treasurer");
    }

    function _onlyAllowedToken(address token) internal view {
        require(tokenAllowlist[token] == true, "Must be allowed token");
    }

    /* ============ State Variables ============ */

    // Contract factory
    address public factory;

    // Galxe treasurer
    address public treasurer;

    // Galxe ID => token => current balance
    mapping(bytes32 => mapping(address => uint256)) public userTokenBalance;

    // Galxe ID => token => total deposited amount
    mapping(bytes32 => mapping(address => uint256)) public userTotalDeposits;

    // Allowed tokens
    mapping(address => bool) public tokenAllowlist;

    // Token balance
    mapping(address => uint256) public tokenBalance;

    /* ============ Constructor ============ */

    constructor() {
        factory = msg.sender;
    }

    /* ============ Initializer ============ */

    function initialize(address owner, address _treasurer) external {
        require(msg.sender == factory, "Forbidden");
        treasurer = _treasurer;
        transferOwnership(owner);
    }

    /* ============ External Functions ============ */

    function setTreasurer(address _treasurer) external onlyOwner {
        require(
            _treasurer != address(0),
            "Treasurer address must not be null address"
        );
        treasurer = _treasurer;
        emit UpdateTreasurer(_treasurer);
    }

    function allowToken(address _token) external onlyOwner {
        tokenAllowlist[_token] = true;

        emit AllowToken(_token);
    }

    function disallowToken(address _token) external onlyOwner {
        tokenAllowlist[_token] = false;

        emit DisallowToken(_token);
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function isTokenAllowed(address _token) public view returns (bool) {
        return tokenAllowlist[_token];
    }

    function balanceOf(
        bytes32 _galxeId,
        address _token
    ) public view returns (uint256) {
        return userTokenBalance[_galxeId][_token];
    }

    /**
     * @notice
     *  Returns accumulated token disposit amount for galxe ID.
     */
    function totalDepositOf(
        bytes32 _galxeId,
        address _token
    ) public view returns (uint256) {
        return userTotalDeposits[_galxeId][_token];
    }

    function deposit(
        bytes32 _galxeId,
        address _token,
        uint256 _amount
    ) external payable whenNotPaused onlyAllowedToken(_token) {
        if (_token == address(0)) {
            _depositNative(_galxeId, _amount);
        } else {
            _depositERC20(_galxeId, _token, _amount);
        }
    }

    function withdrawToken(
        address _token,
        address _recipient
    ) external whenNotPaused onlyTreasurer {
        uint256 _amount = tokenBalance[_token];
        require(_amount > 0, "Cannot withdraw a non-positive amount");
        tokenBalance[_token] -= _amount;
        _doWithdraw(_token, _amount, _recipient);
        emit Withdraw(bytes32(0), _token, _amount, _recipient);
    }

    function withdrawToken(
        address _token,
        address _recipient,
        uint256 _amount
    ) external whenNotPaused onlyTreasurer {
        require(_amount > 0, "Cannot withdraw a non-positive amount");
        require(
            tokenBalance[_token] >= _amount,
            "Token amount must be greater than withdraw amount"
        );
        tokenBalance[_token] -= _amount;
        _doWithdraw(_token, _amount, _recipient);
        emit Withdraw(bytes32(0), _token, _amount, _recipient);
    }

    function withdraw(
        bytes32 _galxeId,
        address _token,
        address _recipient
    ) external whenNotPaused onlyTreasurer {
        uint256 _amount = userTokenBalance[_galxeId][_token];
        _withdraw(_galxeId, _token, _amount, _recipient);
    }

    function withdraw(
        bytes32 _galxeId,
        address _token,
        uint256 _amount,
        address _recipient
    ) external whenNotPaused onlyTreasurer {
        _withdraw(_galxeId, _token, _amount, _recipient);
    }

    function withdrawBatch(
        bytes32 _galxeId,
        address[] calldata _tokens,
        address _recipient
    ) external whenNotPaused onlyTreasurer {
        uint256[] memory _amounts = new uint256[](_tokens.length);
        for (uint256 i = 0; i < _tokens.length; ++i) {
            _amounts[i] = userTokenBalance[_galxeId][_tokens[i]];
        }
        _withdrawBatch(_galxeId, _tokens, _amounts, _recipient);
    }

    function withdrawBatch(
        bytes32 _galxeId,
        address[] calldata _tokens,
        uint256[] memory _amounts,
        address _recipient
    ) external whenNotPaused onlyTreasurer {
        _withdrawBatch(_galxeId, _tokens, _amounts, _recipient);
    }


    receive() external payable {
        if (msg.sender == address(this)) {
            return;
        }
        // anonymous transfer: to treasury_manager
        (bool success, ) = treasurer.call{value: msg.value}(
            new bytes(0)
        );
        require(success, "Transfer failed");
    }

    fallback() external payable {
        if (msg.sender == address(this)) {
            return;
        }
        if (msg.value > 0) {
            // call non exist function: send to treasury_manager
            (bool success, ) = treasurer.call{value: msg.value}(new bytes(0));
            require(success, "Transfer failed");
        }
    }

    /* ============ Internal Functions ============ */

    function _depositERC20(
        bytes32 _galxeId,
        address _token,
        uint256 _amount
    ) internal {
        require(
            IERC20(_token).balanceOf(msg.sender) >= _amount,
            "Your token amount must be greater then you are trying to deposit"
        );
        require(
            IERC20(_token).allowance(msg.sender, address(this)) >= _amount,
            "Approve tokens first!"
        );
        IERC20(_token).safeTransferFrom(msg.sender, address(this), _amount);

        _deposit(_galxeId, _token, _amount, msg.sender);
    }

    function _depositNative(
        bytes32 _galxeId,
        uint256 _amount
    ) internal {
        require(
            msg.value >= _amount,
            "Your token amount must be greater then you are trying to deposit"
        );

        (bool success, ) = address(this).call{value: msg.value}(
            new bytes(0)
        );
        require(success, "Deposit native token failed");
        _deposit(_galxeId, address(0), _amount, msg.sender);
    }

    function _deposit(
        bytes32 _galxeId,
        address _token,
        uint256 _amount,
        address _depositor
    ) private {
        userTokenBalance[_galxeId][_token] += _amount;
        userTotalDeposits[_galxeId][_token] += _amount;
        tokenBalance[_token] += _amount;

        emit Deposit(_galxeId, _token, _amount, _depositor);
    }

    function _withdrawBatch(
        bytes32 _galxeId,
        address[] calldata _tokens,
        uint256[] memory _amounts,
        address _recipient
    ) internal {
        require(
            _tokens.length == _amounts.length,
            "Tokens and amounts length mismatch"
        );
        for (uint256 i = 0; i < _amounts.length; ++i) {
            _withdraw(_galxeId, _tokens[i], _amounts[i], _recipient);
        }
    }

    function _withdraw(
        bytes32 _galxeId,
        address _token,
        uint256 _amount,
        address _recipient
    ) internal {
        require(_amount > 0, "Cannot withdraw a non-positive amount");
        require(
            userTokenBalance[_galxeId][_token] >= _amount,
            "Token amount must be greater than withdraw amount"
        );
        userTokenBalance[_galxeId][_token] -= _amount;
        tokenBalance[_token] -= _amount;
        _doWithdraw(_token, _amount, _recipient);
        emit Withdraw(_galxeId, _token, _amount, _recipient);
    }

    function _doWithdraw(address _token, uint256 _amount, address _recipient) private {
        if (_token == address(0)) {
            require(address(this).balance >= _amount, "Contract insufficient balance");
            (bool success, ) = _recipient.call{value: _amount}(
                new bytes(0)
            );
            require(success, "Withdraw native token failed");
        } else {
            IERC20(_token).safeTransfer(_recipient, _amount);
        }
    }
}

File 2 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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);
}

File 3 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";
import "Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 7 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 7 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 7 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

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

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        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());
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "SmartBalance.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"AllowToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"depositor","type":"address"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"DisallowToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasurer","type":"address"}],"name":"UpdateTreasurer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"Withdraw","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"allowToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"disallowToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"_treasurer","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isTokenAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasurer","type":"address"}],"name":"setTreasurer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"}],"name":"totalDepositOf","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":[],"name":"treasurer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"userTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"userTotalDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"withdrawBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_galxeId","type":"bytes32"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"withdrawBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506000805460ff191690556100243361003b565b600180546001600160a01b03191633179055610094565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b611e95806100a36000396000f3fe6080604052600436106101855760003560e01c80638b77f7b2116100d1578063d954863c1161008a578063eedc966a11610064578063eedc966a146105a9578063f2fde38b146105d6578063f9eaee0d146105f6578063fda49eb41461062f57610250565b8063d954863c14610556578063d989401714610569578063e79767af1461058957610250565b80638b77f7b21461045c5780638da5cb5b1461047c578063b53472ef146104b3578063c2038236146104d3578063c45a0155146104f3578063ca5447e51461051357610250565b80635c975abb1161013e578063715018a611610118578063715018a6146103ca5780638135369a146103df5780638456cb591461040f5780638aa2d7e71461042457610250565b80635c975abb14610366578063671d64291461038a57806368284a9c146103aa57610250565b806301e336671461028657806331cd3ca2146102a65780633aeac4e1146102f15780633cc47be9146103115780633f4ba83a14610331578063485cc9551461034657610250565b366102505730330361019357005b6002546040805160008082526020820190925290916001600160a01b0316903490835b506040516101c49190611903565b60006040518083038185875af1925050503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b505090508061024e5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b005b30330361025957005b341561024e576002546040805160008082526020820190925290916001600160a01b0316903490836101b6565b34801561029257600080fd5b5061024e6102a136600461193b565b61064f565b3480156102b257600080fd5b506102de6102c1366004611977565b600360209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b3480156102fd57600080fd5b5061024e61030c3660046119a3565b610755565b34801561031d57600080fd5b5061024e61032c366004611a19565b6107b6565b34801561033d57600080fd5b5061024e6108cc565b34801561035257600080fd5b5061024e6103613660046119a3565b610906565b34801561037257600080fd5b5060005460ff165b60405190151581526020016102e8565b34801561039657600080fd5b5061024e6103a5366004611a77565b610974565b3480156103b657600080fd5b5061024e6103c5366004611a92565b610a57565b3480156103d657600080fd5b5061024e610a94565b3480156103eb57600080fd5b5061037a6103fa366004611a77565b60056020526000908152604090205460ff1681565b34801561041b57600080fd5b5061024e610ace565b34801561043057600080fd5b506102de61043f366004611977565b600460209081526000928352604080842090915290825290205481565b34801561046857600080fd5b5061024e610477366004611acd565b610b06565b34801561048857600080fd5b5060005461010090046001600160a01b03165b6040516001600160a01b0390911681526020016102e8565b3480156104bf57600080fd5b5061024e6104ce366004611a77565b610b3e565b3480156104df57600080fd5b506102de6104ee366004611977565b610bba565b3480156104ff57600080fd5b5060015461049b906001600160a01b031681565b34801561051f57600080fd5b506102de61052e366004611977565b60009182526004602090815260408084206001600160a01b0393909316845291905290205490565b61024e610564366004611bd2565b610be4565b34801561057557600080fd5b5061024e610584366004611bf7565b610c39565b34801561059557600080fd5b5061024e6105a4366004611a77565b610c93565b3480156105b557600080fd5b506102de6105c4366004611a77565b60066020526000908152604090205481565b3480156105e257600080fd5b5061024e6105f1366004611a77565b610d0c565b34801561060257600080fd5b5061037a610611366004611a77565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561063b57600080fd5b5060025461049b906001600160a01b031681565b60005460ff16156106725760405162461bcd60e51b815260040161024590611c33565b61067a610dad565b6000811161069a5760405162461bcd60e51b815260040161024590611c5d565b6001600160a01b0383166000908152600660205260409020548111156106d25760405162461bcd60e51b815260040161024590611ca2565b6001600160a01b038316600090815260066020526040812080548392906106fa908490611d09565b9091555061070b9050838284610dfb565b6040516001600160a01b03848116825283169082906000907f244357ef985e4838e46c063590f65f43f90e7c0dbbe451022be3d2e242bf7fd99060200160405180910390a4505050565b60005460ff16156107785760405162461bcd60e51b815260040161024590611c33565b610780610dad565b6001600160a01b038216600090815260066020526040902054806106d25760405162461bcd60e51b815260040161024590611c5d565b60005460ff16156107d95760405162461bcd60e51b815260040161024590611c33565b6107e1610dad565b60008267ffffffffffffffff8111156107fc576107fc6118c9565b604051908082528060200260200182016040528015610825578160200160208202803683370190505b50905060005b838110156108b75760008681526003602052604081209086868481811061085457610854611d1c565b90506020020160208101906108699190611a77565b6001600160a01b03166001600160a01b031681526020019081526020016000205482828151811061089c5761089c611d1c565b60209081029190910101526108b081611d32565b905061082b565b506108c58585858486610f2f565b5050505050565b6000546001600160a01b036101009091041633146108fc5760405162461bcd60e51b815260040161024590611d4b565b610904610ff9565b565b6001546001600160a01b0316331461094c5760405162461bcd60e51b81526020600482015260096024820152682337b93134b23232b760b91b6044820152606401610245565b600280546001600160a01b0319166001600160a01b03831617905561097082610d0c565b5050565b6000546001600160a01b036101009091041633146109a45760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116610a0d5760405162461bcd60e51b815260206004820152602a60248201527f5472656173757265722061646472657373206d757374206e6f74206265206e756044820152696c6c206164647265737360b01b6064820152608401610245565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fb960d21a40e1e9192ff378717d1040cc2afeeed3169aff1cb0e07bba6be47dc190600090a250565b60005460ff1615610a7a5760405162461bcd60e51b815260040161024590611c33565b610a82610dad565b610a8e8484848461108c565b50505050565b6000546001600160a01b03610100909104163314610ac45760405162461bcd60e51b815260040161024590611d4b565b61090460006111a9565b6000546001600160a01b03610100909104163314610afe5760405162461bcd60e51b815260040161024590611d4b565b610904611202565b60005460ff1615610b295760405162461bcd60e51b815260040161024590611c33565b610b31610dad565b6108c58585858585610f2f565b6000546001600160a01b03610100909104163314610b6e5760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116600081815260056020526040808220805460ff19166001179055517f14009112f2dcb15cad32dab6bf972d6d85286e4ae1178f27323ffe25359459e69190a250565b60008281526003602090815260408083206001600160a01b03851684529091529020545b92915050565b60005460ff1615610c075760405162461bcd60e51b815260040161024590611c33565b81610c118161125a565b6001600160a01b038316610c2e57610c2984836112bf565b610a8e565b610a8e8484846113a0565b60005460ff1615610c5c5760405162461bcd60e51b815260040161024590611c33565b610c64610dad565b60008381526003602090815260408083206001600160a01b0386168452909152902054610a8e8484838561108c565b6000546001600160a01b03610100909104163314610cc35760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116600081815260056020526040808220805460ff19169055517f0ea8fbb1a70b45f7b0b3074e314f8b420f8a6ea6595b4b872bd47e75dbdc04d59190a250565b6000546001600160a01b03610100909104163314610d3c5760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116610da15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610245565b610daa816111a9565b50565b6002546001600160a01b031633146109045760405162461bcd60e51b815260206004820152601160248201527026bab9ba103132903a3932b0b9bab932b960791b6044820152606401610245565b6001600160a01b038316610f165781471015610e595760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637420696e73756666696369656e742062616c616e63650000006044820152606401610245565b604080516000808252602082019092526001600160a01b038316908490604051610e839190611903565b60006040518083038185875af1925050503d8060008114610ec0576040519150601f19603f3d011682016040523d82523d6000602084013e610ec5565b606091505b5050905080610a8e5760405162461bcd60e51b815260206004820152601c60248201527f5769746864726177206e617469766520746f6b656e206661696c6564000000006044820152606401610245565b610f2a6001600160a01b03841682846114ff565b505050565b81518314610f8a5760405162461bcd60e51b815260206004820152602260248201527f546f6b656e7320616e6420616d6f756e7473206c656e677468206d69736d61746044820152610c6d60f31b6064820152608401610245565b60005b8251811015610ff157610fe186868684818110610fac57610fac611d1c565b9050602002016020810190610fc19190611a77565b858481518110610fd357610fd3611d1c565b60200260200101518561108c565b610fea81611d32565b9050610f8d565b505050505050565b60005460ff166110425760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610245565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600082116110ac5760405162461bcd60e51b815260040161024590611c5d565b60008481526003602090815260408083206001600160a01b03871684529091529020548211156110ee5760405162461bcd60e51b815260040161024590611ca2565b60008481526003602090815260408083206001600160a01b038716845290915281208054849290611120908490611d09565b90915550506001600160a01b0383166000908152600660205260408120805484929061114d908490611d09565b9091555061115e9050838383610dfb565b6040516001600160a01b038481168252821690839086907f244357ef985e4838e46c063590f65f43f90e7c0dbbe451022be3d2e242bf7fd9906020015b60405180910390a450505050565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b60005460ff16156112255760405162461bcd60e51b815260040161024590611c33565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861106f3390565b6001600160a01b03811660009081526005602052604090205460ff161515600114610daa5760405162461bcd60e51b815260206004820152601560248201527426bab9ba1031329030b63637bbb2b2103a37b5b2b760591b6044820152606401610245565b803410156112df5760405162461bcd60e51b815260040161024590611d80565b60408051600080825260208201909252309034906040516113009190611903565b60006040518083038185875af1925050503d806000811461133d576040519150601f19603f3d011682016040523d82523d6000602084013e611342565b606091505b50509050806113935760405162461bcd60e51b815260206004820152601b60248201527f4465706f736974206e617469766520746f6b656e206661696c656400000000006044820152606401610245565b610f2a8360008433611562565b6040516370a0823160e01b815233600482015281906001600160a01b038416906370a0823190602401602060405180830381865afa1580156113e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140a9190611dde565b10156114285760405162461bcd60e51b815260040161024590611d80565b604051636eb1769f60e11b815233600482015230602482015281906001600160a01b0384169063dd62ed3e90604401602060405180830381865afa158015611474573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114989190611dde565b10156114de5760405162461bcd60e51b8152602060048201526015602482015274417070726f766520746f6b656e732066697273742160581b6044820152606401610245565b6114f36001600160a01b038316333084611645565b610f2a83838333611562565b6040516001600160a01b038316602482015260448101829052610f2a90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261167d565b60008481526003602090815260408083206001600160a01b038716845290915281208054849290611594908490611df7565b909155505060008481526004602090815260408083206001600160a01b0387168452909152812080548492906115cb908490611df7565b90915550506001600160a01b038316600090815260066020526040812080548492906115f8908490611df7565b92505081905550806001600160a01b0316836001600160a01b0316857fb25817d51bf1faf024f38337136f66fa778e7da5a20888ec58560d655ed824478560405161119b91815260200190565b6040516001600160a01b0380851660248301528316604482015260648101829052610a8e9085906323b872dd60e01b9060840161152b565b60006116d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661174f9092919063ffffffff16565b805190915015610f2a57808060200190518101906116f09190611e0a565b610f2a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610245565b606061175e8484600085611768565b90505b9392505050565b6060824710156117c95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610245565b843b6118175760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610245565b600080866001600160a01b031685876040516118339190611903565b60006040518083038185875af1925050503d8060008114611870576040519150601f19603f3d011682016040523d82523d6000602084013e611875565b606091505b5091509150611885828286611890565b979650505050505050565b6060831561189f575081611761565b8251156118af5782518084602001fd5b8160405162461bcd60e51b81526004016102459190611e2c565b634e487b7160e01b600052604160045260246000fd5b60005b838110156118fa5781810151838201526020016118e2565b50506000910152565b600082516119158184602087016118df565b9190910192915050565b80356001600160a01b038116811461193657600080fd5b919050565b60008060006060848603121561195057600080fd5b6119598461191f565b92506119676020850161191f565b9150604084013590509250925092565b6000806040838503121561198a57600080fd5b8235915061199a6020840161191f565b90509250929050565b600080604083850312156119b657600080fd5b6119bf8361191f565b915061199a6020840161191f565b60008083601f8401126119df57600080fd5b50813567ffffffffffffffff8111156119f757600080fd5b6020830191508360208260051b8501011115611a1257600080fd5b9250929050565b60008060008060608587031215611a2f57600080fd5b84359350602085013567ffffffffffffffff811115611a4d57600080fd5b611a59878288016119cd565b9094509250611a6c90506040860161191f565b905092959194509250565b600060208284031215611a8957600080fd5b6117618261191f565b60008060008060808587031215611aa857600080fd5b84359350611ab86020860161191f565b925060408501359150611a6c6060860161191f565b600080600080600060808688031215611ae557600080fd5b8535945060208087013567ffffffffffffffff80821115611b0557600080fd5b611b118a838b016119cd565b90975095506040890135915080821115611b2a57600080fd5b818901915089601f830112611b3e57600080fd5b813581811115611b5057611b506118c9565b8060051b604051601f19603f83011681018181108582111715611b7557611b756118c9565b60405291825284820192508381018501918c831115611b9357600080fd5b938501935b82851015611bb157843584529385019392850192611b98565b809750505050505050611bc66060870161191f565b90509295509295909350565b600080600060608486031215611be757600080fd5b833592506119676020850161191f565b600080600060608486031215611c0c57600080fd5b83359250611c1c6020850161191f565b9150611c2a6040850161191f565b90509250925092565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f43616e6e6f742077697468647261772061206e6f6e2d706f73697469766520616040820152641b5bdd5b9d60da1b606082015260800190565b60208082526031908201527f546f6b656e20616d6f756e74206d7573742062652067726561746572207468616040820152701b881dda5d1a191c985dc8185b5bdd5b9d607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610bde57610bde611cf3565b634e487b7160e01b600052603260045260246000fd5b600060018201611d4457611d44611cf3565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260409082018190527f596f757220746f6b656e20616d6f756e74206d75737420626520677265617465908201527f72207468656e20796f752061726520747279696e6720746f206465706f736974606082015260800190565b600060208284031215611df057600080fd5b5051919050565b80820180821115610bde57610bde611cf3565b600060208284031215611e1c57600080fd5b8151801515811461176157600080fd5b6020815260008251806020840152611e4b8160408501602087016118df565b601f01601f1916919091016040019291505056fea2646970667358221220f4327478b7ff939dcde4dc220477e63a3c1041910be44eeaaf1ee3d852e99d1d64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101855760003560e01c80638b77f7b2116100d1578063d954863c1161008a578063eedc966a11610064578063eedc966a146105a9578063f2fde38b146105d6578063f9eaee0d146105f6578063fda49eb41461062f57610250565b8063d954863c14610556578063d989401714610569578063e79767af1461058957610250565b80638b77f7b21461045c5780638da5cb5b1461047c578063b53472ef146104b3578063c2038236146104d3578063c45a0155146104f3578063ca5447e51461051357610250565b80635c975abb1161013e578063715018a611610118578063715018a6146103ca5780638135369a146103df5780638456cb591461040f5780638aa2d7e71461042457610250565b80635c975abb14610366578063671d64291461038a57806368284a9c146103aa57610250565b806301e336671461028657806331cd3ca2146102a65780633aeac4e1146102f15780633cc47be9146103115780633f4ba83a14610331578063485cc9551461034657610250565b366102505730330361019357005b6002546040805160008082526020820190925290916001600160a01b0316903490835b506040516101c49190611903565b60006040518083038185875af1925050503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b505090508061024e5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b005b30330361025957005b341561024e576002546040805160008082526020820190925290916001600160a01b0316903490836101b6565b34801561029257600080fd5b5061024e6102a136600461193b565b61064f565b3480156102b257600080fd5b506102de6102c1366004611977565b600360209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b3480156102fd57600080fd5b5061024e61030c3660046119a3565b610755565b34801561031d57600080fd5b5061024e61032c366004611a19565b6107b6565b34801561033d57600080fd5b5061024e6108cc565b34801561035257600080fd5b5061024e6103613660046119a3565b610906565b34801561037257600080fd5b5060005460ff165b60405190151581526020016102e8565b34801561039657600080fd5b5061024e6103a5366004611a77565b610974565b3480156103b657600080fd5b5061024e6103c5366004611a92565b610a57565b3480156103d657600080fd5b5061024e610a94565b3480156103eb57600080fd5b5061037a6103fa366004611a77565b60056020526000908152604090205460ff1681565b34801561041b57600080fd5b5061024e610ace565b34801561043057600080fd5b506102de61043f366004611977565b600460209081526000928352604080842090915290825290205481565b34801561046857600080fd5b5061024e610477366004611acd565b610b06565b34801561048857600080fd5b5060005461010090046001600160a01b03165b6040516001600160a01b0390911681526020016102e8565b3480156104bf57600080fd5b5061024e6104ce366004611a77565b610b3e565b3480156104df57600080fd5b506102de6104ee366004611977565b610bba565b3480156104ff57600080fd5b5060015461049b906001600160a01b031681565b34801561051f57600080fd5b506102de61052e366004611977565b60009182526004602090815260408084206001600160a01b0393909316845291905290205490565b61024e610564366004611bd2565b610be4565b34801561057557600080fd5b5061024e610584366004611bf7565b610c39565b34801561059557600080fd5b5061024e6105a4366004611a77565b610c93565b3480156105b557600080fd5b506102de6105c4366004611a77565b60066020526000908152604090205481565b3480156105e257600080fd5b5061024e6105f1366004611a77565b610d0c565b34801561060257600080fd5b5061037a610611366004611a77565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561063b57600080fd5b5060025461049b906001600160a01b031681565b60005460ff16156106725760405162461bcd60e51b815260040161024590611c33565b61067a610dad565b6000811161069a5760405162461bcd60e51b815260040161024590611c5d565b6001600160a01b0383166000908152600660205260409020548111156106d25760405162461bcd60e51b815260040161024590611ca2565b6001600160a01b038316600090815260066020526040812080548392906106fa908490611d09565b9091555061070b9050838284610dfb565b6040516001600160a01b03848116825283169082906000907f244357ef985e4838e46c063590f65f43f90e7c0dbbe451022be3d2e242bf7fd99060200160405180910390a4505050565b60005460ff16156107785760405162461bcd60e51b815260040161024590611c33565b610780610dad565b6001600160a01b038216600090815260066020526040902054806106d25760405162461bcd60e51b815260040161024590611c5d565b60005460ff16156107d95760405162461bcd60e51b815260040161024590611c33565b6107e1610dad565b60008267ffffffffffffffff8111156107fc576107fc6118c9565b604051908082528060200260200182016040528015610825578160200160208202803683370190505b50905060005b838110156108b75760008681526003602052604081209086868481811061085457610854611d1c565b90506020020160208101906108699190611a77565b6001600160a01b03166001600160a01b031681526020019081526020016000205482828151811061089c5761089c611d1c565b60209081029190910101526108b081611d32565b905061082b565b506108c58585858486610f2f565b5050505050565b6000546001600160a01b036101009091041633146108fc5760405162461bcd60e51b815260040161024590611d4b565b610904610ff9565b565b6001546001600160a01b0316331461094c5760405162461bcd60e51b81526020600482015260096024820152682337b93134b23232b760b91b6044820152606401610245565b600280546001600160a01b0319166001600160a01b03831617905561097082610d0c565b5050565b6000546001600160a01b036101009091041633146109a45760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116610a0d5760405162461bcd60e51b815260206004820152602a60248201527f5472656173757265722061646472657373206d757374206e6f74206265206e756044820152696c6c206164647265737360b01b6064820152608401610245565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fb960d21a40e1e9192ff378717d1040cc2afeeed3169aff1cb0e07bba6be47dc190600090a250565b60005460ff1615610a7a5760405162461bcd60e51b815260040161024590611c33565b610a82610dad565b610a8e8484848461108c565b50505050565b6000546001600160a01b03610100909104163314610ac45760405162461bcd60e51b815260040161024590611d4b565b61090460006111a9565b6000546001600160a01b03610100909104163314610afe5760405162461bcd60e51b815260040161024590611d4b565b610904611202565b60005460ff1615610b295760405162461bcd60e51b815260040161024590611c33565b610b31610dad565b6108c58585858585610f2f565b6000546001600160a01b03610100909104163314610b6e5760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116600081815260056020526040808220805460ff19166001179055517f14009112f2dcb15cad32dab6bf972d6d85286e4ae1178f27323ffe25359459e69190a250565b60008281526003602090815260408083206001600160a01b03851684529091529020545b92915050565b60005460ff1615610c075760405162461bcd60e51b815260040161024590611c33565b81610c118161125a565b6001600160a01b038316610c2e57610c2984836112bf565b610a8e565b610a8e8484846113a0565b60005460ff1615610c5c5760405162461bcd60e51b815260040161024590611c33565b610c64610dad565b60008381526003602090815260408083206001600160a01b0386168452909152902054610a8e8484838561108c565b6000546001600160a01b03610100909104163314610cc35760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116600081815260056020526040808220805460ff19169055517f0ea8fbb1a70b45f7b0b3074e314f8b420f8a6ea6595b4b872bd47e75dbdc04d59190a250565b6000546001600160a01b03610100909104163314610d3c5760405162461bcd60e51b815260040161024590611d4b565b6001600160a01b038116610da15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610245565b610daa816111a9565b50565b6002546001600160a01b031633146109045760405162461bcd60e51b815260206004820152601160248201527026bab9ba103132903a3932b0b9bab932b960791b6044820152606401610245565b6001600160a01b038316610f165781471015610e595760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637420696e73756666696369656e742062616c616e63650000006044820152606401610245565b604080516000808252602082019092526001600160a01b038316908490604051610e839190611903565b60006040518083038185875af1925050503d8060008114610ec0576040519150601f19603f3d011682016040523d82523d6000602084013e610ec5565b606091505b5050905080610a8e5760405162461bcd60e51b815260206004820152601c60248201527f5769746864726177206e617469766520746f6b656e206661696c6564000000006044820152606401610245565b610f2a6001600160a01b03841682846114ff565b505050565b81518314610f8a5760405162461bcd60e51b815260206004820152602260248201527f546f6b656e7320616e6420616d6f756e7473206c656e677468206d69736d61746044820152610c6d60f31b6064820152608401610245565b60005b8251811015610ff157610fe186868684818110610fac57610fac611d1c565b9050602002016020810190610fc19190611a77565b858481518110610fd357610fd3611d1c565b60200260200101518561108c565b610fea81611d32565b9050610f8d565b505050505050565b60005460ff166110425760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610245565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600082116110ac5760405162461bcd60e51b815260040161024590611c5d565b60008481526003602090815260408083206001600160a01b03871684529091529020548211156110ee5760405162461bcd60e51b815260040161024590611ca2565b60008481526003602090815260408083206001600160a01b038716845290915281208054849290611120908490611d09565b90915550506001600160a01b0383166000908152600660205260408120805484929061114d908490611d09565b9091555061115e9050838383610dfb565b6040516001600160a01b038481168252821690839086907f244357ef985e4838e46c063590f65f43f90e7c0dbbe451022be3d2e242bf7fd9906020015b60405180910390a450505050565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b60005460ff16156112255760405162461bcd60e51b815260040161024590611c33565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861106f3390565b6001600160a01b03811660009081526005602052604090205460ff161515600114610daa5760405162461bcd60e51b815260206004820152601560248201527426bab9ba1031329030b63637bbb2b2103a37b5b2b760591b6044820152606401610245565b803410156112df5760405162461bcd60e51b815260040161024590611d80565b60408051600080825260208201909252309034906040516113009190611903565b60006040518083038185875af1925050503d806000811461133d576040519150601f19603f3d011682016040523d82523d6000602084013e611342565b606091505b50509050806113935760405162461bcd60e51b815260206004820152601b60248201527f4465706f736974206e617469766520746f6b656e206661696c656400000000006044820152606401610245565b610f2a8360008433611562565b6040516370a0823160e01b815233600482015281906001600160a01b038416906370a0823190602401602060405180830381865afa1580156113e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140a9190611dde565b10156114285760405162461bcd60e51b815260040161024590611d80565b604051636eb1769f60e11b815233600482015230602482015281906001600160a01b0384169063dd62ed3e90604401602060405180830381865afa158015611474573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114989190611dde565b10156114de5760405162461bcd60e51b8152602060048201526015602482015274417070726f766520746f6b656e732066697273742160581b6044820152606401610245565b6114f36001600160a01b038316333084611645565b610f2a83838333611562565b6040516001600160a01b038316602482015260448101829052610f2a90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261167d565b60008481526003602090815260408083206001600160a01b038716845290915281208054849290611594908490611df7565b909155505060008481526004602090815260408083206001600160a01b0387168452909152812080548492906115cb908490611df7565b90915550506001600160a01b038316600090815260066020526040812080548492906115f8908490611df7565b92505081905550806001600160a01b0316836001600160a01b0316857fb25817d51bf1faf024f38337136f66fa778e7da5a20888ec58560d655ed824478560405161119b91815260200190565b6040516001600160a01b0380851660248301528316604482015260648101829052610a8e9085906323b872dd60e01b9060840161152b565b60006116d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661174f9092919063ffffffff16565b805190915015610f2a57808060200190518101906116f09190611e0a565b610f2a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610245565b606061175e8484600085611768565b90505b9392505050565b6060824710156117c95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610245565b843b6118175760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610245565b600080866001600160a01b031685876040516118339190611903565b60006040518083038185875af1925050503d8060008114611870576040519150601f19603f3d011682016040523d82523d6000602084013e611875565b606091505b5091509150611885828286611890565b979650505050505050565b6060831561189f575081611761565b8251156118af5782518084602001fd5b8160405162461bcd60e51b81526004016102459190611e2c565b634e487b7160e01b600052604160045260246000fd5b60005b838110156118fa5781810151838201526020016118e2565b50506000910152565b600082516119158184602087016118df565b9190910192915050565b80356001600160a01b038116811461193657600080fd5b919050565b60008060006060848603121561195057600080fd5b6119598461191f565b92506119676020850161191f565b9150604084013590509250925092565b6000806040838503121561198a57600080fd5b8235915061199a6020840161191f565b90509250929050565b600080604083850312156119b657600080fd5b6119bf8361191f565b915061199a6020840161191f565b60008083601f8401126119df57600080fd5b50813567ffffffffffffffff8111156119f757600080fd5b6020830191508360208260051b8501011115611a1257600080fd5b9250929050565b60008060008060608587031215611a2f57600080fd5b84359350602085013567ffffffffffffffff811115611a4d57600080fd5b611a59878288016119cd565b9094509250611a6c90506040860161191f565b905092959194509250565b600060208284031215611a8957600080fd5b6117618261191f565b60008060008060808587031215611aa857600080fd5b84359350611ab86020860161191f565b925060408501359150611a6c6060860161191f565b600080600080600060808688031215611ae557600080fd5b8535945060208087013567ffffffffffffffff80821115611b0557600080fd5b611b118a838b016119cd565b90975095506040890135915080821115611b2a57600080fd5b818901915089601f830112611b3e57600080fd5b813581811115611b5057611b506118c9565b8060051b604051601f19603f83011681018181108582111715611b7557611b756118c9565b60405291825284820192508381018501918c831115611b9357600080fd5b938501935b82851015611bb157843584529385019392850192611b98565b809750505050505050611bc66060870161191f565b90509295509295909350565b600080600060608486031215611be757600080fd5b833592506119676020850161191f565b600080600060608486031215611c0c57600080fd5b83359250611c1c6020850161191f565b9150611c2a6040850161191f565b90509250925092565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f43616e6e6f742077697468647261772061206e6f6e2d706f73697469766520616040820152641b5bdd5b9d60da1b606082015260800190565b60208082526031908201527f546f6b656e20616d6f756e74206d7573742062652067726561746572207468616040820152701b881dda5d1a191c985dc8185b5bdd5b9d607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610bde57610bde611cf3565b634e487b7160e01b600052603260045260246000fd5b600060018201611d4457611d44611cf3565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260409082018190527f596f757220746f6b656e20616d6f756e74206d75737420626520677265617465908201527f72207468656e20796f752061726520747279696e6720746f206465706f736974606082015260800190565b600060208284031215611df057600080fd5b5051919050565b80820180821115610bde57610bde611cf3565b600060208284031215611e1c57600080fd5b8151801515811461176157600080fd5b6020815260008251806020840152611e4b8160408501602087016118df565b601f01601f1916919091016040019291505056fea2646970667358221220f4327478b7ff939dcde4dc220477e63a3c1041910be44eeaaf1ee3d852e99d1d64736f6c63430008110033

Deployed Bytecode Sourcemap

895:9340:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6704:4;6682:10;:27;6678:64;;895:9340;6678:64;6821:9;;6867:12;;;6803;6867;;;;;;;;;6803;;-1:-1:-1;;;;;6821:9:6;;6843;;6803:12;6867;;6821:68;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6802:87;;;6907:7;6899:35;;;;-1:-1:-1;;;6899:35:6;;895:2:7;6899:35:6;;;877:21:7;934:2;914:18;;;907:30;-1:-1:-1;;;953:18:7;;;946:45;1008:18;;6899:35:6;;;;;;;;;6668:273;895:9340;7011:4;6989:10;:27;6985:64;;895:9340;6985:64;7062:9;:13;7058:223;;7175:9;;7208:12;;;7157;7208;;;;;;;;;7157;;-1:-1:-1;;;;;7175:9:6;;7197;;7157:12;7208;;4913:513;;;;;;;;;;-1:-1:-1;4913:513:6;;;;;:::i;:::-;;:::i;2160:71::-;;;;;;;;;;-1:-1:-1;2160:71:6;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;1953:25:7;;;1941:2;1926:18;2160:71:6;;;;;;;;4508:399;;;;;;;;;;-1:-1:-1;4508:399:6;;;;;:::i;:::-;;:::i;5939:426::-;;;;;;;;;;-1:-1:-1;5939:426:6;;;;;:::i;:::-;;:::i;3550:63::-;;;;;;;;;;;;;:::i;2673:190::-;;;;;;;;;;-1:-1:-1;2673:190:6;;;;;:::i;:::-;;:::i;1032:84:4:-;;;;;;;;;;-1:-1:-1;1079:4:4;1102:7;;;1032:84;;;3375:14:7;;3368:22;3350:41;;3338:2;3323:18;1032:84:4;3210:187:7;2925:265:6;;;;;;;;;;-1:-1:-1;2925:265:6;;;;;:::i;:::-;;:::i;5704:229::-;;;;;;;;;;-1:-1:-1;5704:229:6;;;;;:::i;:::-;;:::i;1596:92:3:-;;;;;;;;;;;;;:::i;2390:46:6:-;;;;;;;;;;-1:-1:-1;2390:46:6;;;;;:::i;:::-;;;;;;;;;;;;;;;;3485:59;;;;;;;;;;;;;:::i;2289:72::-;;;;;;;;;;-1:-1:-1;2289:72:6;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;6371:263;;;;;;;;;;-1:-1:-1;6371:263:6;;;;;:::i;:::-;;:::i;964:85:3:-;;;;;;;;;;-1:-1:-1;1010:7:3;1036:6;;;;-1:-1:-1;;;;;1036:6:3;964:85;;;-1:-1:-1;;;;;5737:32:7;;;5719:51;;5707:2;5692:18;964:85:3;5573:203:7;3196:135:6;;;;;;;;;;-1:-1:-1;3196:135:6;;;;;:::i;:::-;;:::i;3738:163::-;;;;;;;;;;-1:-1:-1;3738:163:6;;;;;:::i;:::-;;:::i;2033:22::-;;;;;;;;;;-1:-1:-1;2033:22:6;;;;-1:-1:-1;;;;;2033:22:6;;;4002:169;;;;;;;;;;-1:-1:-1;4002:169:6;;;;;:::i;:::-;4103:7;4129:27;;;:17;:27;;;;;;;;-1:-1:-1;;;;;4129:35:6;;;;;;;;;;;;;4002:169;4177:325;;;;;;:::i;:::-;;:::i;5432:266::-;;;;;;;;;;-1:-1:-1;5432:266:6;;;;;:::i;:::-;;:::i;3337:142::-;;;;;;;;;;-1:-1:-1;3337:142:6;;;;;:::i;:::-;;:::i;2464:47::-;;;;;;;;;;-1:-1:-1;2464:47:6;;;;;:::i;:::-;;;;;;;;;;;;;;1837:189:3;;;;;;;;;;-1:-1:-1;1837:189:3;;;;;:::i;:::-;;:::i;3619:113:6:-;;;;;;;;;;-1:-1:-1;3619:113:6;;;;;:::i;:::-;-1:-1:-1;;;;;3703:22:6;3680:4;3703:22;;;:14;:22;;;;;;;;;3619:113;2085:24;;;;;;;;;;-1:-1:-1;2085:24:6;;;;-1:-1:-1;;;;;2085:24:6;;;4913:513;1079:4:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;1559:16:6::1;:14;:16::i;:::-;5084:1:::2;5074:7;:11;5066:61;;;;-1:-1:-1::0;;;5066:61:6::2;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;5158:20:6;::::2;;::::0;;;:12:::2;:20;::::0;;;;;:31;-1:-1:-1;5158:31:6::2;5137:127;;;;-1:-1:-1::0;;;5137:127:6::2;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;5274:20:6;::::2;;::::0;;;:12:::2;:20;::::0;;;;:31;;5298:7;;5274:20;:31:::2;::::0;5298:7;;5274:31:::2;:::i;:::-;::::0;;;-1:-1:-1;5315:40:6::2;::::0;-1:-1:-1;5327:6:6;5335:7;5344:10;5315:11:::2;:40::i;:::-;5370:49;::::0;-1:-1:-1;;;;;5737:32:7;;;5719:51;;5370:49:6;::::2;::::0;5399:7;;5387:1:::2;::::0;5370:49:::2;::::0;5707:2:7;5692:18;5370:49:6::2;;;;;;;4913:513:::0;;;:::o;4508:399::-;1079:4:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;1559:16:6::1;:14;:16::i;:::-;-1:-1:-1::0;;;;;4654:20:6;::::2;4636:15;4654:20:::0;;;:12:::2;:20;::::0;;;;;4692:11;4684:61:::2;;;;-1:-1:-1::0;;;4684:61:6::2;;;;;;;:::i;5939:426::-:0;1079:4:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;1559:16:6::1;:14;:16::i;:::-;6105:25:::2;6147:7:::0;6133:29:::2;::::0;::::2;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;6133:29:6::2;;6105:57;;6177:9;6172:122;6192:18:::0;;::::2;6172:122;;;6245:26;::::0;;;:16:::2;:26;::::0;;;;;6272:7;;6280:1;6272:10;;::::2;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;6245:38:6::2;-1:-1:-1::0;;;;;6245:38:6::2;;;;;;;;;;;;;6231:8;6240:1;6231:11;;;;;;;;:::i;:::-;;::::0;;::::2;::::0;;;;;:52;6212:3:::2;::::0;::::2;:::i;:::-;;;6172:122;;;;6303:55;6318:8;6328:7;;6337:8;6347:10;6303:14;:55::i;:::-;6095:270;5939:426:::0;;;;:::o;3550:63::-;1010:7:3;1036:6;-1:-1:-1;;;;;1036:6:3;;;;;665:10:1;1176:23:3;1168:68;;;;-1:-1:-1;;;1168:68:3;;;;;;;:::i;:::-;3596:10:6::1;:8;:10::i;:::-;3550:63::o:0;2673:190::-;2769:7;;-1:-1:-1;;;;;2769:7:6;2755:10;:21;2747:43;;;;-1:-1:-1;;;2747:43:6;;8710:2:7;2747:43:6;;;8692:21:7;8749:1;8729:18;;;8722:29;-1:-1:-1;;;8767:18:7;;;8760:39;8816:18;;2747:43:6;8508:332:7;2747:43:6;2800:9;:22;;-1:-1:-1;;;;;;2800:22:6;-1:-1:-1;;;;;2800:22:6;;;;;2832:24;2850:5;2832:17;:24::i;:::-;2673:190;;:::o;2925:265::-;1010:7:3;1036:6;-1:-1:-1;;;;;1036:6:3;;;;;665:10:1;1176:23:3;1168:68;;;;-1:-1:-1;;;1168:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;3017:24:6;::::1;2996:113;;;::::0;-1:-1:-1;;;2996:113:6;;9047:2:7;2996:113:6::1;::::0;::::1;9029:21:7::0;9086:2;9066:18;;;9059:30;9125:34;9105:18;;;9098:62;-1:-1:-1;;;9176:18:7;;;9169:40;9226:19;;2996:113:6::1;8845:406:7::0;2996:113:6::1;3119:9;:22:::0;;-1:-1:-1;;;;;;3119:22:6::1;-1:-1:-1::0;;;;;3119:22:6;::::1;::::0;;::::1;::::0;;;3156:27:::1;::::0;::::1;::::0;-1:-1:-1;;3156:27:6::1;2925:265:::0;:::o;5704:229::-;1079:4:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;1559:16:6::1;:14;:16::i;:::-;5878:48:::2;5888:8;5898:6;5906:7;5915:10;5878:9;:48::i;:::-;5704:229:::0;;;;:::o;1596:92:3:-;1010:7;1036:6;-1:-1:-1;;;;;1036:6:3;;;;;665:10:1;1176:23:3;1168:68;;;;-1:-1:-1;;;1168:68:3;;;;;;;:::i;:::-;1660:21:::1;1678:1;1660:9;:21::i;3485:59:6:-:0;1010:7:3;1036:6;-1:-1:-1;;;;;1036:6:3;;;;;665:10:1;1176:23:3;1168:68;;;;-1:-1:-1;;;1168:68:3;;;;;;;:::i;:::-;3529:8:6::1;:6;:8::i;6371:263::-:0;1079:4:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;1559:16:6::1;:14;:16::i;:::-;6572:55:::2;6587:8;6597:7;;6606:8;6616:10;6572:14;:55::i;3196:135::-:0;1010:7:3;1036:6;-1:-1:-1;;;;;1036:6:3;;;;;665:10:1;1176:23:3;1168:68;;;;-1:-1:-1;;;1168:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;3261:22:6;::::1;;::::0;;;:14:::1;:22;::::0;;;;;:29;;-1:-1:-1;;3261:29:6::1;3286:4;3261:29;::::0;;3306:18;::::1;::::0;3261:22;3306:18:::1;3196:135:::0;:::o;3738:163::-;3834:7;3860:26;;;:16;:26;;;;;;;;-1:-1:-1;;;;;3860:34:6;;;;;;;;;;3738:163;;;;;:::o;4177:325::-;1079:4:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;4323:6:6::1;1650:24;1668:5;1650:17;:24::i;:::-;-1:-1:-1::0;;;;;4345:20:6;::::2;4341:155;;4381:33;4396:8;4406:7;4381:14;:33::i;:::-;4341:155;;;4445:40;4459:8;4469:6;4477:7;4445:13;:40::i;5432:266::-:0;1079:4:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;1559:16:6::1;:14;:16::i;:::-;5581:15:::2;5599:26:::0;;;:16:::2;:26;::::0;;;;;;;-1:-1:-1;;;;;5599:34:6;::::2;::::0;;;;;;;;5643:48:::2;5616:8:::0;5626:6;5599:34;5680:10;5643:9:::2;:48::i;3337:142::-:0;1010:7:3;1036:6;-1:-1:-1;;;;;1036:6:3;;;;;665:10:1;1176:23:3;1168:68;;;;-1:-1:-1;;;1168:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;3405:22:6;::::1;3430:5;3405:22:::0;;;:14:::1;:22;::::0;;;;;:30;;-1:-1:-1;;3405:30:6::1;::::0;;3451:21;::::1;::::0;3430:5;3451:21:::1;3337:142:::0;:::o;1837:189:3:-;1010:7;1036:6;-1:-1:-1;;;;;1036:6:3;;;;;665:10:1;1176:23:3;1168:68;;;;-1:-1:-1;;;1168:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;1925:22:3;::::1;1917:73;;;::::0;-1:-1:-1;;;1917:73:3;;9458:2:7;1917:73:3::1;::::0;::::1;9440:21:7::0;9497:2;9477:18;;;9470:30;9536:34;9516:18;;;9509:62;-1:-1:-1;;;9587:18:7;;;9580:36;9633:19;;1917:73:3::1;9256:402:7::0;1917:73:3::1;2000:19;2010:8;2000:9;:19::i;:::-;1837:189:::0;:::o;1698:110:6:-;1770:9;;-1:-1:-1;;;;;1770:9:6;1756:10;:23;1748:53;;;;-1:-1:-1;;;1748:53:6;;9865:2:7;1748:53:6;;;9847:21:7;9904:2;9884:18;;;9877:30;-1:-1:-1;;;9923:18:7;;;9916:47;9980:18;;1748:53:6;9663:341:7;9761:472:6;-1:-1:-1;;;;;9857:20:6;;9853:374;;9926:7;9901:21;:32;;9893:74;;;;-1:-1:-1;;;9893:74:6;;10211:2:7;9893:74:6;;;10193:21:7;10250:2;10230:18;;;10223:30;10289:31;10269:18;;;10262:59;10338:18;;9893:74:6;10009:353:7;9893:74:6;10049:12;;;9982;10049;;;;;;;;;-1:-1:-1;;;;;10000:15:6;;;10023:7;;10000:75;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9981:94;;;10097:7;10089:48;;;;-1:-1:-1;;;10089:48:6;;10569:2:7;10089:48:6;;;10551:21:7;10608:2;10588:18;;;10581:30;10647;10627:18;;;10620:58;10695:18;;10089:48:6;10367:352:7;9853:374:6;10168:48;-1:-1:-1;;;;;10168:27:6;;10196:10;10208:7;10168:27;:48::i;:::-;9761:472;;;:::o;8744:431::-;8957:15;;8939:33;;8918:114;;;;-1:-1:-1;;;8918:114:6;;10926:2:7;8918:114:6;;;10908:21:7;10965:2;10945:18;;;10938:30;11004:34;10984:18;;;10977:62;-1:-1:-1;;;11055:18:7;;;11048:32;11097:19;;8918:114:6;10724:398:7;8918:114:6;9047:9;9042:127;9066:8;:15;9062:1;:19;9042:127;;;9102:56;9112:8;9122:7;;9130:1;9122:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;9134:8;9143:1;9134:11;;;;;;;;:::i;:::-;;;;;;;9147:10;9102:9;:56::i;:::-;9083:3;;;:::i;:::-;;;9042:127;;;;8744:431;;;;;:::o;2044:117:4:-;1079:4;1102:7;;;1603:41;;;;-1:-1:-1;;;1603:41:4;;11329:2:7;1603:41:4;;;11311:21:7;11368:2;11348:18;;;11341:30;-1:-1:-1;;;11387:18:7;;;11380:50;11447:18;;1603:41:4;11127:344:7;1603:41:4;2112:5:::1;2102:15:::0;;-1:-1:-1;;2102:15:4::1;::::0;;2132:22:::1;665:10:1::0;2141:12:4::1;2132:22;::::0;-1:-1:-1;;;;;5737:32:7;;;5719:51;;5707:2;5692:18;2132:22:4::1;;;;;;;2044:117::o:0;9181:574:6:-;9346:1;9336:7;:11;9328:61;;;;-1:-1:-1;;;9328:61:6;;;;;;;:::i;:::-;9420:26;;;;:16;:26;;;;;;;;-1:-1:-1;;;;;9420:34:6;;;;;;;;;;:45;-1:-1:-1;9420:45:6;9399:141;;;;-1:-1:-1;;;9399:141:6;;;;;;;:::i;:::-;9550:26;;;;:16;:26;;;;;;;;-1:-1:-1;;;;;9550:34:6;;;;;;;;;:45;;9588:7;;9550:26;:45;;9588:7;;9550:45;:::i;:::-;;;;-1:-1:-1;;;;;;;9605:20:6;;;;;;:12;:20;;;;;:31;;9629:7;;9605:20;:31;;9629:7;;9605:31;:::i;:::-;;;;-1:-1:-1;9646:40:6;;-1:-1:-1;9658:6:6;9666:7;9675:10;9646:11;:40::i;:::-;9701:47;;-1:-1:-1;;;;;5737:32:7;;;5719:51;;9701:47:6;;;9728:7;;9710:8;;9701:47;;5707:2:7;5692:18;9701:47:6;;;;;;;;9181:574;;;;:::o;2032:169:3:-;2087:16;2106:6;;-1:-1:-1;;;;;2122:17:3;;;2106:6;2122:17;;;-1:-1:-1;;;;;;2122:17:3;;;;;2154:40;;2106:6;;;;;;;2122:17;;2106:6;;2154:40;;;2077:124;2032:169;:::o;1797:115:4:-;1079:4;1102:7;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:4;;;;;;;:::i;:::-;1856:7:::1;:14:::0;;-1:-1:-1;;1856:14:4::1;1866:4;1856:14;::::0;;1885:20:::1;1892:12;665:10:1::0;;586:96;1814:136:6;-1:-1:-1;;;;;1888:21:6;;;;;;:14;:21;;;;;;;;:29;;:21;:29;1880:63;;;;-1:-1:-1;;;1880:63:6;;11678:2:7;1880:63:6;;;11660:21:7;11717:2;11697:18;;;11690:30;-1:-1:-1;;;11736:18:7;;;11729:51;11797:18;;1880:63:6;11476:345:7;7918:458:6;8052:7;8039:9;:20;;8018:131;;;;-1:-1:-1;;;8018:131:6;;;;;;;:::i;:::-;8229:12;;;8161;8229;;;;;;;;;8187:4;;8205:9;;8179:72;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8160:91;;;8269:7;8261:47;;;;-1:-1:-1;;;8261:47:6;;12461:2:7;8261:47:6;;;12443:21:7;12500:2;12480:18;;;12473:30;12539:29;12519:18;;;12512:57;12586:18;;8261:47:6;12259:351:7;8261:47:6;8318:51;8327:8;8345:1;8349:7;8358:10;8318:8;:51::i;7349:563::-;7493:36;;-1:-1:-1;;;7493:36:6;;7518:10;7493:36;;;5719:51:7;7533:7:6;;-1:-1:-1;;;;;7493:24:6;;;;;5692:18:7;;7493:36:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;7472:158;;;;-1:-1:-1;;;7472:158:6;;;;;;;:::i;:::-;7661:51;;-1:-1:-1;;;7661:51:6;;7686:10;7661:51;;;13016:34:7;7706:4:6;13066:18:7;;;13059:43;7716:7:6;;-1:-1:-1;;;;;7661:24:6;;;;;12951:18:7;;7661:51:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;;7640:130;;;;-1:-1:-1;;;7640:130:6;;13315:2:7;7640:130:6;;;13297:21:7;13354:2;13334:18;;;13327:30;-1:-1:-1;;;13373:18:7;;;13366:51;13434:18;;7640:130:6;13113:345:7;7640:130:6;7780:67;-1:-1:-1;;;;;7780:31:6;;7812:10;7832:4;7839:7;7780:31;:67::i;:::-;7858:47;7867:8;7877:6;7885:7;7894:10;7858:8;:47::i;616:205:5:-;755:58;;-1:-1:-1;;;;;13655:32:7;;755:58:5;;;13637:51:7;13704:18;;;13697:34;;;728:86:5;;748:5;;-1:-1:-1;;;778:23:5;13610:18:7;;755:58:5;;;;-1:-1:-1;;755:58:5;;;;;;;;;;;;;;-1:-1:-1;;;;;755:58:5;-1:-1:-1;;;;;;755:58:5;;;;;;;;;;728:19;:86::i;8382:356:6:-;8527:26;;;;:16;:26;;;;;;;;-1:-1:-1;;;;;8527:34:6;;;;;;;;;:45;;8565:7;;8527:26;:45;;8565:7;;8527:45;:::i;:::-;;;;-1:-1:-1;;8582:27:6;;;;:17;:27;;;;;;;;-1:-1:-1;;;;;8582:35:6;;;;;;;;;:46;;8621:7;;8582:27;:46;;8621:7;;8582:46;:::i;:::-;;;;-1:-1:-1;;;;;;;8638:20:6;;;;;;:12;:20;;;;;:31;;8662:7;;8638:20;:31;;8662:7;;8638:31;:::i;:::-;;;;;;;;8720:10;-1:-1:-1;;;;;8685:46:6;8703:6;-1:-1:-1;;;;;8685:46:6;8693:8;8685:46;8711:7;8685:46;;;;1953:25:7;;1941:2;1926:18;;1807:177;827:241:5;992:68;;-1:-1:-1;;;;;14130:15:7;;;992:68:5;;;14112:34:7;14182:15;;14162:18;;;14155:43;14214:18;;;14207:34;;;965:96:5;;985:5;;-1:-1:-1;;;1015:27:5;14047:18:7;;992:68:5;13872:375:7;3122:706:5;3541:23;3567:69;3595:4;3567:69;;;;;;;;;;;;;;;;;3575:5;-1:-1:-1;;;;;3567:27:5;;;:69;;;;;:::i;:::-;3650:17;;3541:95;;-1:-1:-1;3650:21:5;3646:176;;3745:10;3734:30;;;;;;;;;;;;:::i;:::-;3726:85;;;;-1:-1:-1;;;3726:85:5;;14736:2:7;3726:85:5;;;14718:21:7;14775:2;14755:18;;;14748:30;14814:34;14794:18;;;14787:62;-1:-1:-1;;;14865:18:7;;;14858:40;14915:19;;3726:85:5;14534:406:7;3461:223:0;3594:12;3625:52;3647:6;3655:4;3661:1;3664:12;3625:21;:52::i;:::-;3618:59;;3461:223;;;;;;:::o;4548:500::-;4713:12;4770:5;4745:21;:30;;4737:81;;;;-1:-1:-1;;;4737:81:0;;15147:2:7;4737:81:0;;;15129:21:7;15186:2;15166:18;;;15159:30;15225:34;15205:18;;;15198:62;-1:-1:-1;;;15276:18:7;;;15269:36;15322:19;;4737:81:0;14945:402:7;4737:81:0;1034:20;;4828:60;;;;-1:-1:-1;;;4828:60:0;;15554:2:7;4828:60:0;;;15536:21:7;15593:2;15573:18;;;15566:30;15632:31;15612:18;;;15605:59;15681:18;;4828:60:0;15352:353:7;4828:60:0;4900:12;4914:23;4941:6;-1:-1:-1;;;;;4941:11:0;4960:5;4967:4;4941:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4899:73;;;;4989:52;5007:7;5016:10;5028:12;4989:17;:52::i;:::-;4982:59;4548:500;-1:-1:-1;;;;;;;4548:500:0:o;6950:692::-;7096:12;7124:7;7120:516;;;-1:-1:-1;7154:10:0;7147:17;;7120:516;7265:17;;:21;7261:365;;7459:10;7453:17;7519:15;7506:10;7502:2;7498:19;7491:44;7261:365;7598:12;7591:20;;-1:-1:-1;;;7591:20:0;;;;;;;;:::i;14:127:7:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:250;231:1;241:113;255:6;252:1;249:13;241:113;;;331:11;;;325:18;312:11;;;305:39;277:2;270:10;241:113;;;-1:-1:-1;;388:1:7;370:16;;363:27;146:250::o;401:287::-;530:3;568:6;562:13;584:66;643:6;638:3;631:4;623:6;619:17;584:66;:::i;:::-;666:16;;;;;401:287;-1:-1:-1;;401:287:7:o;1037:173::-;1105:20;;-1:-1:-1;;;;;1154:31:7;;1144:42;;1134:70;;1200:1;1197;1190:12;1134:70;1037:173;;;:::o;1215:328::-;1292:6;1300;1308;1361:2;1349:9;1340:7;1336:23;1332:32;1329:52;;;1377:1;1374;1367:12;1329:52;1400:29;1419:9;1400:29;:::i;:::-;1390:39;;1448:38;1482:2;1471:9;1467:18;1448:38;:::i;:::-;1438:48;;1533:2;1522:9;1518:18;1505:32;1495:42;;1215:328;;;;;:::o;1548:254::-;1616:6;1624;1677:2;1665:9;1656:7;1652:23;1648:32;1645:52;;;1693:1;1690;1683:12;1645:52;1729:9;1716:23;1706:33;;1758:38;1792:2;1781:9;1777:18;1758:38;:::i;:::-;1748:48;;1548:254;;;;;:::o;1989:260::-;2057:6;2065;2118:2;2106:9;2097:7;2093:23;2089:32;2086:52;;;2134:1;2131;2124:12;2086:52;2157:29;2176:9;2157:29;:::i;:::-;2147:39;;2205:38;2239:2;2228:9;2224:18;2205:38;:::i;2254:367::-;2317:8;2327:6;2381:3;2374:4;2366:6;2362:17;2358:27;2348:55;;2399:1;2396;2389:12;2348:55;-1:-1:-1;2422:20:7;;2465:18;2454:30;;2451:50;;;2497:1;2494;2487:12;2451:50;2534:4;2526:6;2522:17;2510:29;;2594:3;2587:4;2577:6;2574:1;2570:14;2562:6;2558:27;2554:38;2551:47;2548:67;;;2611:1;2608;2601:12;2548:67;2254:367;;;;;:::o;2626:579::-;2730:6;2738;2746;2754;2807:2;2795:9;2786:7;2782:23;2778:32;2775:52;;;2823:1;2820;2813:12;2775:52;2859:9;2846:23;2836:33;;2920:2;2909:9;2905:18;2892:32;2947:18;2939:6;2936:30;2933:50;;;2979:1;2976;2969:12;2933:50;3018:70;3080:7;3071:6;3060:9;3056:22;3018:70;:::i;:::-;3107:8;;-1:-1:-1;2992:96:7;-1:-1:-1;3161:38:7;;-1:-1:-1;3195:2:7;3180:18;;3161:38;:::i;:::-;3151:48;;2626:579;;;;;;;:::o;3402:186::-;3461:6;3514:2;3502:9;3493:7;3489:23;3485:32;3482:52;;;3530:1;3527;3520:12;3482:52;3553:29;3572:9;3553:29;:::i;3593:397::-;3679:6;3687;3695;3703;3756:3;3744:9;3735:7;3731:23;3727:33;3724:53;;;3773:1;3770;3763:12;3724:53;3809:9;3796:23;3786:33;;3838:38;3872:2;3861:9;3857:18;3838:38;:::i;:::-;3828:48;;3923:2;3912:9;3908:18;3895:32;3885:42;;3946:38;3980:2;3969:9;3965:18;3946:38;:::i;3995:1573::-;4133:6;4141;4149;4157;4165;4218:3;4206:9;4197:7;4193:23;4189:33;4186:53;;;4235:1;4232;4225:12;4186:53;4271:9;4258:23;4248:33;;4300:2;4353;4342:9;4338:18;4325:32;4376:18;4417:2;4409:6;4406:14;4403:34;;;4433:1;4430;4423:12;4403:34;4472:70;4534:7;4525:6;4514:9;4510:22;4472:70;:::i;:::-;4561:8;;-1:-1:-1;4446:96:7;-1:-1:-1;4649:2:7;4634:18;;4621:32;;-1:-1:-1;4665:16:7;;;4662:36;;;4694:1;4691;4684:12;4662:36;4732:8;4721:9;4717:24;4707:34;;4779:7;4772:4;4768:2;4764:13;4760:27;4750:55;;4801:1;4798;4791:12;4750:55;4837:2;4824:16;4859:2;4855;4852:10;4849:36;;;4865:18;;:::i;:::-;4911:2;4908:1;4904:10;4943:2;4937:9;5006:2;5002:7;4997:2;4993;4989:11;4985:25;4977:6;4973:38;5061:6;5049:10;5046:22;5041:2;5029:10;5026:18;5023:46;5020:72;;;5072:18;;:::i;:::-;5108:2;5101:22;5158:18;;;5192:15;;;;-1:-1:-1;5234:11:7;;;5230:20;;;5262:19;;;5259:39;;;5294:1;5291;5284:12;5259:39;5318:11;;;;5338:142;5354:6;5349:3;5346:15;5338:142;;;5420:17;;5408:30;;5371:12;;;;5458;;;;5338:142;;;5499:6;5489:16;;;;;;;;5524:38;5558:2;5547:9;5543:18;5524:38;:::i;:::-;5514:48;;3995:1573;;;;;;;;:::o;5781:322::-;5858:6;5866;5874;5927:2;5915:9;5906:7;5902:23;5898:32;5895:52;;;5943:1;5940;5933:12;5895:52;5979:9;5966:23;5956:33;;6008:38;6042:2;6031:9;6027:18;6008:38;:::i;6108:328::-;6185:6;6193;6201;6254:2;6242:9;6233:7;6229:23;6225:32;6222:52;;;6270:1;6267;6260:12;6222:52;6306:9;6293:23;6283:33;;6335:38;6369:2;6358:9;6354:18;6335:38;:::i;:::-;6325:48;;6392:38;6426:2;6415:9;6411:18;6392:38;:::i;:::-;6382:48;;6108:328;;;;;:::o;6441:340::-;6643:2;6625:21;;;6682:2;6662:18;;;6655:30;-1:-1:-1;;;6716:2:7;6701:18;;6694:46;6772:2;6757:18;;6441:340::o;6786:401::-;6988:2;6970:21;;;7027:2;7007:18;;;7000:30;7066:34;7061:2;7046:18;;7039:62;-1:-1:-1;;;7132:2:7;7117:18;;7110:35;7177:3;7162:19;;6786:401::o;7192:413::-;7394:2;7376:21;;;7433:2;7413:18;;;7406:30;7472:34;7467:2;7452:18;;7445:62;-1:-1:-1;;;7538:2:7;7523:18;;7516:47;7595:3;7580:19;;7192:413::o;7610:127::-;7671:10;7666:3;7662:20;7659:1;7652:31;7702:4;7699:1;7692:15;7726:4;7723:1;7716:15;7742:128;7809:9;;;7830:11;;;7827:37;;;7844:18;;:::i;7875:127::-;7936:10;7931:3;7927:20;7924:1;7917:31;7967:4;7964:1;7957:15;7991:4;7988:1;7981:15;8007:135;8046:3;8067:17;;;8064:43;;8087:18;;:::i;:::-;-1:-1:-1;8134:1:7;8123:13;;8007:135::o;8147:356::-;8349:2;8331:21;;;8368:18;;;8361:30;8427:34;8422:2;8407:18;;8400:62;8494:2;8479:18;;8147:356::o;11826:428::-;12028:2;12010:21;;;12067:2;12047:18;;;12040:30;;;12106:34;12086:18;;;12079:62;12177:34;12172:2;12157:18;;12150:62;12244:3;12229:19;;11826:428::o;12615:184::-;12685:6;12738:2;12726:9;12717:7;12713:23;12709:32;12706:52;;;12754:1;12751;12744:12;12706:52;-1:-1:-1;12777:16:7;;12615:184;-1:-1:-1;12615:184:7:o;13742:125::-;13807:9;;;13828:10;;;13825:36;;;13841:18;;:::i;14252:277::-;14319:6;14372:2;14360:9;14351:7;14347:23;14343:32;14340:52;;;14388:1;14385;14378:12;14340:52;14420:9;14414:16;14473:5;14466:13;14459:21;14452:5;14449:32;14439:60;;14495:1;14492;14485:12;15710:396;15859:2;15848:9;15841:21;15822:4;15891:6;15885:13;15934:6;15929:2;15918:9;15914:18;15907:34;15950:79;16022:6;16017:2;16006:9;16002:18;15997:2;15989:6;15985:15;15950:79;:::i;:::-;16090:2;16069:15;-1:-1:-1;;16065:29:7;16050:45;;;;16097:2;16046:54;;15710:396;-1:-1:-1;;15710:396:7:o

Swarm Source

ipfs://f4327478b7ff939dcde4dc220477e63a3c1041910be44eeaaf1ee3d852e99d1d

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Smart Balance a financial hub within the Galxe ecosystem. It's a feature designed to simplify transactions, reduce fees, and give a streamlined way to manage user's experience on Galxe.

Validator Index Block Amount
View All Withdrawals

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

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