Contract 0x154de9bdfbc8046e17191593db20e63bfb876842

Contract Overview

Balance:
0 HT
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0b9f24771b85ad6a88fa1d160401ff71cef9adfd5119074d66ad1cf3738f7205Initialize136569132022-03-21 11:17:52104 days 2 hrs ago0x881251dc2fbd2d5bd9b6b45c16ed2f2df14e81a9 IN 0x154de9bdfbc8046e17191593db20e63bfb8768420 HT0.000068034 1
0xabd12ecae0c7b0755208e2241a65db5505b28c1a684fe97488cd41aac19b0c7f0x60806040136558552022-03-21 10:24:58104 days 3 hrs ago0x881251dc2fbd2d5bd9b6b45c16ed2f2df14e81a9 IN  Create: AssetsHandler0 HT0.0018027475 2.5
[ Download CSV Export 
Latest 9 internal transactions
Parent Txn Hash Block From To Value
0x2a35a5b4209cd6b8c5e63d6e67adbc03bf18b9f537808b74effe0ad41ff0e0ff136591912022-03-21 13:11:46104 days 1 hr ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0xd17bb34095ce091938f2cdd0644106b7f480e95183563b1995511c3526bc5aae136591442022-03-21 13:09:25104 days 1 hr ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0x4d742628ae620f66dc99304e9cc850bb5ba6f86c51abd7bfc487dfbf4aa4c691136590332022-03-21 13:03:52104 days 1 hr ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0xf21c2b28f3305f33e0727e7c23af748360bde083ab7ede6d34d0474c16686d46136589672022-03-21 13:00:34104 days 1 hr ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0x834476cf28c27258c191dc64ada45469ca09506e20890315129feb64d70bb315136588322022-03-21 12:53:49104 days 1 hr ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0xcf40be691868909be8de9291bcf91cdd6ad26fe0904c23bb9a5d5eb6fe9dbce2136573442022-03-21 11:39:25104 days 2 hrs ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0x3b57bcad4d7ce2fc9f393048d07f025f5e8d652615ca72beceafb7307e83d422136569972022-03-21 11:22:04104 days 2 hrs ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0xa1ed060eb851fdc229019179246a3305a8bd48559101c21bbf67e0e08cbd0bc2136568012022-03-21 11:12:16104 days 3 hrs ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
0x69169f9d528b5e2e8b6d78fbee9cd4d4baa6d51982071b84d9f31ae466a5d60f136561162022-03-21 10:38:01104 days 3 hrs ago 0x648415d68ba1d2c70e850e799f6e609df9c138e30x154de9bdfbc8046e17191593db20e63bfb8768420 HT
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AssetsHandler

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2022-03-21
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;
    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;
    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized");
        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
        }
    }
    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }
    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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 Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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);
            }
        }
    }
}

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


/**
 * @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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see `ERC20Detailed`.
 */
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.
     *
     * > 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);
}


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

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(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.

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

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

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

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// Assets transfer, withdraw smart contract
contract AssetsHandler is Initializable, OwnableUpgradeable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    mapping(address => bool) whitelist;
    
    event WhitelistedAddressAdded(address indexed addr);
    event WhitelistedAddressRemoved(address indexed addr);

    //deposit(address _tokenAddress, uint256 _amount)
    event Deposit(address indexed user, address indexed tokenAddress, uint256 indexed amount);
    //withdraw(address _recipient, address _tokenAddress, uint256 _amount)
    event Withdraw(address indexed recipient, address indexed tokenAddress, uint256 indexed amount);

    function initialize() public initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    /**
     * @dev add an address to the whitelist
     * @param _addr address
     */
    function addAddressToWhitelist(address _addr) public onlyOwner {
        require(!whitelist[_addr], "address is already in whitelist");
        whitelist[_addr] = true;
        emit WhitelistedAddressAdded(_addr);
  }

    /**
     * @dev remove an address from the whitelist
     * @param _addr address
     */
     function removeAddressFromWhitelist(address _addr) public onlyOwner {
        require(whitelist[_addr], "address is already removed from whitelist");
        whitelist[_addr] = false;
        emit WhitelistedAddressRemoved(_addr);
    }

    /**
    * @dev check whether the address is in whitelist
    * @param _addr The address to check if is in whitelist.
    * @return A bool representing whether the given address is in whitelist.
    */
    function isInWhitelist(address _addr) public view returns(bool) {
        return whitelist[_addr];
    }

    modifier onlyWhitelisted() {
        require(isInWhitelist(msg.sender));
        _;
    }

    /**
     * @dev transfer token to contract
     * @param _tokenAddr Address for token contract.
     * @param _amount Amount of token to transfer.
     */
    function deposit(address _tokenAddr, uint256 _amount) public {
        require(_amount > 0, "cannot transfer token less or equal to zero");
        uint256 balanceOfSender = balanceOfToken(_tokenAddr, address(msg.sender));
        require(_amount <= balanceOfSender, "insufficient funds");
        IERC20 erc20Token = IERC20(_tokenAddr);
        erc20Token.safeTransferFrom(address(msg.sender), address(this), _amount);
        emit Deposit(msg.sender, _tokenAddr, _amount);
    }

    /**
     * @dev withdraw token
     * @param _recipient Address for receiver
     * @param _tokenAddr Address for token contract.
     * @param _amount Amount of token to withdraw
     */
    function withdraw(address _recipient, address _tokenAddr, uint256 _amount) onlyWhitelisted public {
        uint256 balanceOfSender = balanceOfToken(_tokenAddr, address(this));
        require(balanceOfSender >= _amount, "not enough balance");
        IERC20 erc20Token = IERC20(_tokenAddr);
        erc20Token.safeTransfer(address(_recipient), _amount);
        emit Withdraw(_recipient, _tokenAddr, _amount);
    }

    /**
     * @dev get balanceOf token with token address and 
     * @param _tokenAddr Address for token contract.
     * @param _accountAddr Address for account to look up.
     * Returns a value of uint256.
     */
    function balanceOfToken(address _tokenAddr, address _accountAddr) public view returns (uint256) {
        return IERC20(_tokenAddr).balanceOf(_accountAddr);
    }

}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","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":true,"internalType":"address","name":"addr","type":"address"}],"name":"WhitelistedAddressAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"WhitelistedAddressRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addAddressToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"address","name":"_accountAddr","type":"address"}],"name":"balanceOfToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"isInWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeAddressFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610c14806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638129fc1c116100665780638129fc1c1461010e5780638da5cb5b14610116578063d9caed1214610131578063f2fde38b14610144578063f59e38b7146101575761009e565b806309fd8212146100a3578063286dd3f5146100cb57806347e7ef24146100e0578063715018a6146100f35780637b9417c8146100fb575b600080fd5b6100b66100b1366004610a3d565b610178565b60405190151581526020015b60405180910390f35b6100de6100d9366004610a3d565b61019a565b005b6100de6100ee366004610ac4565b610290565b6100de61039b565b6100de610109366004610a3d565b6103d1565b6100de6104b0565b6033546040516001600160a01b0390911681526020016100c2565b6100de61013f366004610a89565b610579565b6100de610152366004610a3d565b61063b565b61016a610165366004610a57565b6106d3565b6040519081526020016100c2565b6001600160a01b03811660009081526065602052604090205460ff165b919050565b6033546001600160a01b031633146101cd5760405162461bcd60e51b81526004016101c490610b5e565b60405180910390fd5b6001600160a01b03811660009081526065602052604090205460ff166102475760405162461bcd60e51b815260206004820152602960248201527f6164647265737320697320616c72656164792072656d6f7665642066726f6d206044820152681dda1a5d195b1a5cdd60ba1b60648201526084016101c4565b6001600160a01b038116600081815260656020526040808220805460ff19169055517ff1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a9190a250565b600081116102f45760405162461bcd60e51b815260206004820152602b60248201527f63616e6e6f74207472616e7366657220746f6b656e206c657373206f7220657160448201526a75616c20746f207a65726f60a81b60648201526084016101c4565b600061030083336106d3565b9050808211156103475760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064016101c4565b8261035d6001600160a01b038216333086610757565b60405183906001600160a01b0386169033907f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6290600090a450505050565b6033546001600160a01b031633146103c55760405162461bcd60e51b81526004016101c490610b5e565b6103cf60006107c8565b565b6033546001600160a01b031633146103fb5760405162461bcd60e51b81526004016101c490610b5e565b6001600160a01b03811660009081526065602052604090205460ff16156104645760405162461bcd60e51b815260206004820152601f60248201527f6164647265737320697320616c726561647920696e2077686974656c6973740060448201526064016101c4565b6001600160a01b038116600081815260656020526040808220805460ff19166001179055517fd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f9190a250565b600054610100900460ff166104cb5760005460ff16156104cf565b303b155b6105325760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101c4565b600054610100900460ff16158015610554576000805461ffff19166101011790555b61055c61081a565b610564610841565b8015610576576000805461ff00191690555b50565b61058233610178565b61058b57600080fd5b600061059783306106d3565b9050818110156105de5760405162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b60448201526064016101c4565b826105f36001600160a01b0382168685610871565b82846001600160a01b0316866001600160a01b03167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb60405160405180910390a45050505050565b6033546001600160a01b031633146106655760405162461bcd60e51b81526004016101c490610b5e565b6001600160a01b0381166106ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101c4565b610576816107c8565b6040516370a0823160e01b81526001600160a01b038281166004830152600091908416906370a082319060240160206040518083038186803b15801561071857600080fd5b505afa15801561072c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107509190610b0d565b9392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526107c29085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526108a6565b50505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166103cf5760405162461bcd60e51b81526004016101c490610b93565b600054610100900460ff166108685760405162461bcd60e51b81526004016101c490610b93565b6103cf336107c8565b6040516001600160a01b0383166024820152604481018290526108a190849063a9059cbb60e01b9060640161078b565b505050565b6001600160a01b0382163b6108fd5760405162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740060448201526064016101c4565b600080836001600160a01b0316836040516109189190610b25565b6000604051808303816000865af19150503d8060008114610955576040519150601f19603f3d011682016040523d82523d6000602084013e61095a565b606091505b5091509150816109ac5760405162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656460448201526064016101c4565b8051156107c257808060200190518101906109c79190610aed565b6107c25760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101c4565b80356001600160a01b038116811461019557600080fd5b600060208284031215610a4e578081fd5b61075082610a26565b60008060408385031215610a69578081fd5b610a7283610a26565b9150610a8060208401610a26565b90509250929050565b600080600060608486031215610a9d578081fd5b610aa684610a26565b9250610ab460208501610a26565b9150604084013590509250925092565b60008060408385031215610ad6578182fd5b610adf83610a26565b946020939093013593505050565b600060208284031215610afe578081fd5b81518015158114610750578182fd5b600060208284031215610b1e578081fd5b5051919050565b60008251815b81811015610b455760208186018101518583015201610b2b565b81811115610b535782828501525b509190910192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea264697066735822122040456e9e23973145cdf5d5128a5e6fbe7e38f7826f77a4455dca1354e779db6064736f6c63430008030033

Deployed ByteCode Sourcemap

25453:3538:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27096:106;;;;;;:::i;:::-;;:::i;:::-;;;3248:14:1;;3241:22;3223:41;;3211:2;3196:18;27096:106:0;;;;;;;;26638:240;;;;;;:::i;:::-;;:::i;:::-;;27474:487;;;;;;:::i;:::-;;:::i;13099:103::-;;;:::i;26311:221::-;;;;;;:::i;:::-;;:::i;26088:123::-;;;:::i;12448:87::-;12521:6;;12448:87;;-1:-1:-1;;;;;12521:6:0;;;2362:51:1;;2350:2;2335:18;12448:87:0;2317:102:1;28167:422:0;;;;;;:::i;:::-;;:::i;13357:201::-;;;;;;:::i;:::-;;:::i;28822:164::-;;;;;;:::i;:::-;;:::i;:::-;;;8024:25:1;;;8012:2;7997:18;28822:164:0;7979:76:1;27096:106:0;-1:-1:-1;;;;;27178:16:0;;27154:4;27178:16;;;:9;:16;;;;;;;;27096:106;;;;:::o;26638:240::-;12521:6;;-1:-1:-1;;;;;12521:6:0;10905:10;12668:23;12660:68;;;;-1:-1:-1;;;12660:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;26725:16:0;::::1;;::::0;;;:9:::1;:16;::::0;;;;;::::1;;26717:70;;;::::0;-1:-1:-1;;;26717:70:0;;6898:2:1;26717:70:0::1;::::0;::::1;6880:21:1::0;6937:2;6917:18;;;6910:30;6976:34;6956:18;;;6949:62;-1:-1:-1;;;7027:18:1;;;7020:39;7076:19;;26717:70:0::1;6870:231:1::0;26717:70:0::1;-1:-1:-1::0;;;;;26798:16:0;::::1;26817:5;26798:16:::0;;;:9:::1;:16;::::0;;;;;:24;;-1:-1:-1;;26798:24:0::1;::::0;;26838:32;::::1;::::0;26817:5;26838:32:::1;26638:240:::0;:::o;27474:487::-;27564:1;27554:7;:11;27546:67;;;;-1:-1:-1;;;27546:67:0;;7308:2:1;27546:67:0;;;7290:21:1;7347:2;7327:18;;;7320:30;7386:34;7366:18;;;7359:62;-1:-1:-1;;;7437:18:1;;;7430:41;7488:19;;27546:67:0;7280:233:1;27546:67:0;27624:23;27650:47;27665:10;27685;27650:14;:47::i;:::-;27624:73;;27727:15;27716:7;:26;;27708:57;;;;-1:-1:-1;;;27708:57:0;;5728:2:1;27708:57:0;;;5710:21:1;5767:2;5747:18;;;5740:30;-1:-1:-1;;;5786:18:1;;;5779:48;5844:18;;27708:57:0;5700:168:1;27708:57:0;27803:10;27825:72;-1:-1:-1;;;;;27825:27:0;;27861:10;27882:4;27889:7;27825:27;:72::i;:::-;27913:40;;27945:7;;-1:-1:-1;;;;;27913:40:0;;;27921:10;;27913:40;;;;;27474:487;;;;:::o;13099:103::-;12521:6;;-1:-1:-1;;;;;12521:6:0;10905:10;12668:23;12660:68;;;;-1:-1:-1;;;12660:68:0;;;;;;;:::i;:::-;13164:30:::1;13191:1;13164:18;:30::i;:::-;13099:103::o:0;26311:221::-;12521:6;;-1:-1:-1;;;;;12521:6:0;10905:10;12668:23;12660:68;;;;-1:-1:-1;;;12660:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26394:16:0;::::1;;::::0;;;:9:::1;:16;::::0;;;;;::::1;;26393:17;26385:61;;;::::0;-1:-1:-1;;;26385:61:0;;4592:2:1;26385:61:0::1;::::0;::::1;4574:21:1::0;4631:2;4611:18;;;4604:30;4670:33;4650:18;;;4643:61;4721:18;;26385:61:0::1;4564:181:1::0;26385:61:0::1;-1:-1:-1::0;;;;;26457:16:0;::::1;;::::0;;;:9:::1;:16;::::0;;;;;:23;;-1:-1:-1;;26457:23:0::1;26476:4;26457:23;::::0;;26496:30;::::1;::::0;26457:16;26496:30:::1;26311:221:::0;:::o;26088:123::-;2279:13;;;;;;;:48;;2315:12;;;;2314:13;2279:48;;;3072:4;4106:20;4154:8;2295:16;2271:107;;;;-1:-1:-1;;;2271:107:0;;4952:2:1;2271:107:0;;;4934:21:1;4991:2;4971:18;;;4964:30;5030:34;5010:18;;;5003:62;-1:-1:-1;;;5081:18:1;;;5074:44;5135:19;;2271:107:0;4924:236:1;2271:107:0;2389:19;2412:13;;;;;;2411:14;2436:101;;;;2471:13;:20;;-1:-1:-1;;2506:19:0;;;;;2436:101;26140:26:::1;:24;:26::i;:::-;26177;:24;:26::i;:::-;2563:14:::0;2559:68;;;2610:5;2594:21;;-1:-1:-1;;2594:21:0;;;2559:68;26088:123;:::o;28167:422::-;27256:25;27270:10;27256:13;:25::i;:::-;27248:34;;;;;;28276:23:::1;28302:41;28317:10;28337:4;28302:14;:41::i;:::-;28276:67;;28381:7;28362:15;:26;;28354:57;;;::::0;-1:-1:-1;;;28354:57:0;;4245:2:1;28354:57:0::1;::::0;::::1;4227:21:1::0;4284:2;4264:18;;;4257:30;-1:-1:-1;;;4303:18:1;;;4296:48;4361:18;;28354:57:0::1;4217:168:1::0;28354:57:0::1;28449:10:::0;28471:53:::1;-1:-1:-1::0;;;;;28471:23:0;::::1;28503:10:::0;28516:7;28471:23:::1;:53::i;:::-;28573:7;28561:10;-1:-1:-1::0;;;;;28540:41:0::1;28549:10;-1:-1:-1::0;;;;;28540:41:0::1;;;;;;;;;;;27293:1;;28167:422:::0;;;:::o;13357:201::-;12521:6;;-1:-1:-1;;;;;12521:6:0;10905:10;12668:23;12660:68;;;;-1:-1:-1;;;12660:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;13446:22:0;::::1;13438:73;;;::::0;-1:-1:-1;;;13438:73:0;;3477:2:1;13438:73:0::1;::::0;::::1;3459:21:1::0;3516:2;3496:18;;;3489:30;3555:34;3535:18;;;3528:62;-1:-1:-1;;;3606:18:1;;;3599:36;3652:19;;13438:73:0::1;3449:228:1::0;13438:73:0::1;13522:28;13541:8;13522:18;:28::i;28822:164::-:0;28936:42;;-1:-1:-1;;;28936:42:0;;-1:-1:-1;;;;;2380:32:1;;;28936:42:0;;;2362:51:1;28909:7:0;;28936:28;;;;;;2335:18:1;;28936:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28929:49;28822:164;-1:-1:-1;;;28822:164:0:o;17754:204::-;17881:68;;-1:-1:-1;;;;;2682:15:1;;;17881:68:0;;;2664:34:1;2734:15;;2714:18;;;2707:43;2766:18;;;2759:34;;;17855:95:0;;17874:5;;-1:-1:-1;;;17904:27:0;2599:18:1;;17881:68:0;;;;-1:-1:-1;;17881:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;17881:68:0;-1:-1:-1;;;;;;17881:68:0;;;;;;;;;;17855:18;:95::i;:::-;17754:204;;;;:::o;13718:191::-;13811:6;;;-1:-1:-1;;;;;13828:17:0;;;-1:-1:-1;;;;;;13828:17:0;;;;;;;13861:40;;13811:6;;;13828:17;13811:6;;13861:40;;13792:16;;13861:40;13718:191;;:::o;10749:70::-;2874:13;;;;;;;2866:69;;;;-1:-1:-1;;;2866:69:0;;;;;;;:::i;12254:113::-;2874:13;;;;;;;2866:69;;;;-1:-1:-1;;;2866:69:0;;;;;;;:::i;:::-;12327:32:::1;10905:10:::0;12327:18:::1;:32::i;17570:176::-:0;17679:58;;-1:-1:-1;;;;;2996:32:1;;17679:58:0;;;2978:51:1;3045:18;;;3038:34;;;17653:85:0;;17672:5;;-1:-1:-1;;;17702:23:0;2951:18:1;;17679:58:0;2933:145:1;17653:85:0;17570:176;;;:::o;19564:1114::-;-1:-1:-1;;;;;20168:25:0;;4106:20;20160:71;;;;-1:-1:-1;;;20160:71:0;;7720:2:1;20160:71:0;;;7702:21:1;7759:2;7739:18;;;7732:30;7798:33;7778:18;;;7771:61;7849:18;;20160:71:0;7692:181:1;20160:71:0;20305:12;20319:23;20354:5;-1:-1:-1;;;;;20346:19:0;20366:4;20346:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20304:67;;;;20390:7;20382:52;;;;-1:-1:-1;;;20382:52:0;;3884:2:1;20382:52:0;;;3866:21:1;;;3903:18;;;3896:30;3962:34;3942:18;;;3935:62;4014:18;;20382:52:0;3856:182:1;20382:52:0;20451:17;;:21;20447:224;;20593:10;20582:30;;;;;;;;;;;;:::i;:::-;20574:85;;;;-1:-1:-1;;;20574:85:0;;6487:2:1;20574:85:0;;;6469:21:1;6526:2;6506:18;;;6499:30;6565:34;6545:18;;;6538:62;-1:-1:-1;;;6616:18:1;;;6609:40;6666:19;;20574:85:0;6459:232:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:196;;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;;;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;;;;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;;;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:297::-;;1400:2;1388:9;1379:7;1375:23;1371:32;1368:2;;;1421:6;1413;1406:22;1368:2;1458:9;1452:16;1511:5;1504:13;1497:21;1490:5;1487:32;1477:2;;1538:6;1530;1523:22;1582:194;;1705:2;1693:9;1684:7;1680:23;1676:32;1673:2;;;1726:6;1718;1711:22;1673:2;-1:-1:-1;1754:16:1;;1663:113;-1:-1:-1;1663:113:1:o;1781:430::-;;1948:6;1942:13;1973:3;1985:129;1999:6;1996:1;1993:13;1985:129;;;2097:4;2081:14;;;2077:25;;2071:32;2058:11;;;2051:53;2014:12;1985:129;;;2132:6;2129:1;2126:13;2123:2;;;2167:3;2158:6;2153:3;2149:16;2142:29;2123:2;-1:-1:-1;2189:16:1;;;;;1918:293;-1:-1:-1;;1918:293:1:o;5165:356::-;5367:2;5349:21;;;5386:18;;;5379:30;5445:34;5440:2;5425:18;;5418:62;5512:2;5497:18;;5339:182::o;5873:407::-;6075:2;6057:21;;;6114:2;6094:18;;;6087:30;6153:34;6148:2;6133:18;;6126:62;-1:-1:-1;;;6219:2:1;6204:18;;6197:41;6270:3;6255:19;;6047:233::o

Swarm Source

ipfs://40456e9e23973145cdf5d5128a5e6fbe7e38f7826f77a4455dca1354e779db60
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading