Contract 0x5405e8f3a4c166d00ea44bb51e1bcec10b3b0da2

Contract Overview

Balance:
0 HT
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x802ce3e2f2e2eb2de39519a6dba1b6e076d8a6d93d7e14f8f64bfe3a0fe9cc4fWithdraw136005022022-03-19 12:17:1960 days 4 hrs ago0x881251dc2fbd2d5bd9b6b45c16ed2f2df14e81a9 IN 0x5405e8f3a4c166d00ea44bb51e1bcec10b3b0da20 HT0.000030645 1
0x84860a4f9f70d34120c9525320b350c51764390285d6494549ffee5467135461Add Address To W...135995172022-03-19 11:28:0460 days 5 hrs ago0x881251dc2fbd2d5bd9b6b45c16ed2f2df14e81a9 IN 0x5405e8f3a4c166d00ea44bb51e1bcec10b3b0da20 HT0.000047689 1
0x824ab7bc80f361cd2c69d0a9dd4945608d9742624005d3127467c2ca5c1cb1990x60806040135994392022-03-19 11:24:1060 days 5 hrs ago0x881251dc2fbd2d5bd9b6b45c16ed2f2df14e81a9 IN  Create: AssetsHandler0 HT0.0020181975 2.5
[ Download CSV Export 
Latest 3 internal transactions
Parent Txn Hash Block From To Value
0x50d501c5064dc47d3b3145ad274a948a76b4c6a91cca711d4f6fa36d840714e5136024552022-03-19 13:54:5860 days 2 hrs ago 0x481bd4e77ed82a8cf5e60da2b0a667181917c73e0x5405e8f3a4c166d00ea44bb51e1bcec10b3b0da20 HT
0x802ce3e2f2e2eb2de39519a6dba1b6e076d8a6d93d7e14f8f64bfe3a0fe9cc4f136005022022-03-19 12:17:1960 days 4 hrs ago 0x5405e8f3a4c166d00ea44bb51e1bcec10b3b0da20x425a2d7c3df8a7872f05405dc6e34b6d9cd714be0 HT
0xe7996f55e2fd3eb5d4ef8c65366adcccad4db5d1e1cf0668ee7304d2aa489350135995952022-03-19 11:31:5860 days 5 hrs ago 0x481bd4e77ed82a8cf5e60da2b0a667181917c73e0x5405e8f3a4c166d00ea44bb51e1bcec10b3b0da20 HT
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AssetsHandler

Compiler Version
v0.5.0+commit.1d4f565a

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-19
*/

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

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

/**
 * @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.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be aplied to your functions to restrict their use to
 * the owner.
 */
contract Ownable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return msg.sender == _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 onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}

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

    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 Ownable {

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

    /**
     * @dev add an address to the whitelist
     * @param _addr address
     */
    function addAddressToWhitelist(address _addr) onlyOwner public {
        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) onlyOwner public {
        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

[{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"isInWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"removeAddressFromWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddr","type":"address"},{"name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"addAddressToWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_tokenAddr","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenAddr","type":"address"},{"name":"_accountAddr","type":"address"}],"name":"balanceOfToken","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"}],"name":"WhitelistedAddressAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"}],"name":"WhitelistedAddressRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":true,"name":"tokenAddress","type":"address"},{"indexed":true,"name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"recipient","type":"address"},{"indexed":true,"name":"tokenAddress","type":"address"},{"indexed":true,"name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

6080604081905260008054600160a060020a0319163317808255600160a060020a0316917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3610d3d806100576000396000f3fe6080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166309fd821281146100a8578063286dd3f5146100ef57806347e7ef2414610124578063715018a61461015d5780637b9417c8146101725780638da5cb5b146101a55780638f32d59b146101d6578063d9caed12146101eb578063f2fde38b1461022e578063f59e38b714610261575b600080fd5b3480156100b457600080fd5b506100db600480360360208110156100cb57600080fd5b5035600160a060020a03166102ae565b604080519115158252519081900360200190f35b3480156100fb57600080fd5b506101226004803603602081101561011257600080fd5b5035600160a060020a03166102cc565b005b34801561013057600080fd5b506101226004803603604081101561014757600080fd5b50600160a060020a0381351690602001356103f9565b34801561016957600080fd5b50610122610537565b34801561017e57600080fd5b506101226004803603602081101561019557600080fd5b5035600160a060020a03166105da565b3480156101b157600080fd5b506101ba6106e6565b60408051600160a060020a039092168252519081900360200190f35b3480156101e257600080fd5b506100db6106f5565b3480156101f757600080fd5b506101226004803603606081101561020e57600080fd5b50600160a060020a03813581169160208101359091169060400135610706565b34801561023a57600080fd5b506101226004803603602081101561025157600080fd5b5035600160a060020a03166107e3565b34801561026d57600080fd5b5061029c6004803603604081101561028457600080fd5b50600160a060020a038135811691602001351661083b565b60408051918252519081900360200190f35b600160a060020a031660009081526001602052604090205460ff1690565b6102d46106f5565b1515610318576040805160e560020a62461bcd0281526020600482018190526024820152600080516020610cf2833981519152604482015290519081900360640190fd5b600160a060020a03811660009081526001602052604090205460ff1615156103b0576040805160e560020a62461bcd02815260206004820152602960248201527f6164647265737320697320616c72656164792072656d6f7665642066726f6d2060448201527f77686974656c6973740000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a038116600081815260016020526040808220805460ff19169055517ff1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a9190a250565b60008111610477576040805160e560020a62461bcd02815260206004820152602b60248201527f63616e6e6f74207472616e7366657220746f6b656e206c657373206f7220657160448201527f75616c20746f207a65726f000000000000000000000000000000000000000000606482015290519081900360840190fd5b6000610483833361083b565b9050808211156104dd576040805160e560020a62461bcd02815260206004820152601260248201527f696e73756666696369656e742066756e64730000000000000000000000000000604482015290519081900360640190fd5b826104f9600160a060020a03821633308663ffffffff6108e216565b6040518390600160a060020a0386169033907f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6290600090a450505050565b61053f6106f5565b1515610583576040805160e560020a62461bcd0281526020600482018190526024820152600080516020610cf2833981519152604482015290519081900360640190fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6105e26106f5565b1515610626576040805160e560020a62461bcd0281526020600482018190526024820152600080516020610cf2833981519152604482015290519081900360640190fd5b600160a060020a03811660009081526001602052604090205460ff1615610697576040805160e560020a62461bcd02815260206004820152601f60248201527f6164647265737320697320616c726561647920696e2077686974656c69737400604482015290519081900360640190fd5b600160a060020a0381166000818152600160208190526040808320805460ff1916909217909155517fd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f9190a250565b600054600160a060020a031690565b600054600160a060020a0316331490565b61070f336102ae565b151561071a57600080fd5b6000610726833061083b565b905081811015610780576040805160e560020a62461bcd02815260206004820152601260248201527f6e6f7420656e6f7567682062616c616e63650000000000000000000000000000604482015290519081900360640190fd5b8261079b600160a060020a038216868563ffffffff61097016565b8284600160a060020a031686600160a060020a03167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb60405160405180910390a45050505050565b6107eb6106f5565b151561082f576040805160e560020a62461bcd0281526020600482018190526024820152600080516020610cf2833981519152604482015290519081900360640190fd5b610838816109f5565b50565b600082600160a060020a03166370a08231836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a0316815260200191505060206040518083038186803b1580156108af57600080fd5b505afa1580156108c3573d6000803e3d6000fd5b505050506040513d60208110156108d957600080fd5b50519392505050565b60408051600160a060020a0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261096a908590610ae3565b50505050565b60408051600160a060020a038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526109f0908490610ae3565b505050565b600160a060020a0381161515610a7b576040805160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b610af582600160a060020a0316610ce9565b1515610b4b576040805160e560020a62461bcd02815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b6000606083600160a060020a0316836040518082805190602001908083835b60208310610b895780518252601f199092019160209182019101610b6a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610beb576040519150601f19603f3d011682016040523d82523d6000602084013e610bf0565b606091505b5091509150811515610c4c576040805160e560020a62461bcd02815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b60008151111561096a57808060200190516020811015610c6b57600080fd5b5051151561096a576040805160e560020a62461bcd02815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015290519081900360840190fd5b6000903b119056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a165627a7a723058206e3c52ca2282bf88c3d8339c4510202c2436320a820fed6d2bd267ac25eda52d0029

Deployed ByteCode Sourcemap

14696:3381:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16182:106;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16182:106:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16182:106:0;-1:-1:-1;;;;;16182:106:0;;;;;;;;;;;;;;;;;;;;;15724:240;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15724:240:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15724:240:0;-1:-1:-1;;;;;15724:240:0;;;;;16560:487;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16560:487:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16560:487:0;;;;;;;;;4470:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4470:140:0;;;;15397:221;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15397:221:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15397:221:0;-1:-1:-1;;;;;15397:221:0;;;3659:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3659:79:0;;;;;;;;-1:-1:-1;;;;;3659:79:0;;;;;;;;;;;;;;4025:92;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4025:92:0;;;;17253:422;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17253:422:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17253:422:0;;;;;;;;;;;;;;;;;;4765:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4765:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4765:109:0;-1:-1:-1;;;;;4765:109:0;;;17908:164;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17908:164:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17908:164:0;;;;;;;;;;;;;;;;;;;;;;;;;;;16182:106;-1:-1:-1;;;;;16264:16:0;16240:4;16264:16;;;:9;:16;;;;;;;;;16182:106::o;15724:240::-;3871:9;:7;:9::i;:::-;3863:54;;;;;;;-1:-1:-1;;;;;3863:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3863:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;15811:16:0;;;;;;:9;:16;;;;;;;;15803:70;;;;;;;-1:-1:-1;;;;;15803:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15884:16:0;;15903:5;15884:16;;;:9;:16;;;;;;:24;;-1:-1:-1;;15884:24:0;;;15924:32;;;15903:5;15924:32;15724:240;:::o;16560:487::-;16650:1;16640:11;;16632:67;;;;;-1:-1:-1;;;;;16632:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16710:23;16736:47;16751:10;16771;16736:14;:47::i;:::-;16710:73;-1:-1:-1;16802:26:0;;;;16794:57;;;;;-1:-1:-1;;;;;16794:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16889:10;16911:72;-1:-1:-1;;;;;16911:27:0;;16947:10;16968:4;16975:7;16911:72;:27;:72;:::i;:::-;16999:40;;17031:7;;-1:-1:-1;;;;;16999:40:0;;;17007:10;;16999:40;;;;;16560:487;;;;:::o;4470:140::-;3871:9;:7;:9::i;:::-;3863:54;;;;;;;-1:-1:-1;;;;;3863:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3863:54:0;;;;;;;;;;;;;;;4569:1;4553:6;;4532:40;;-1:-1:-1;;;;;4553:6:0;;;;4532:40;;4569:1;;4532:40;4600:1;4583:19;;-1:-1:-1;;4583:19:0;;;4470:140::o;15397:221::-;3871:9;:7;:9::i;:::-;3863:54;;;;;;;-1:-1:-1;;;;;3863:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3863:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;15480:16:0;;;;;;:9;:16;;;;;;;;15479:17;15471:61;;;;;-1:-1:-1;;;;;15471:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15543:16:0;;;;;;15562:4;15543:16;;;;;;;;:23;;-1:-1:-1;;15543:23:0;;;;;;;15582:30;;;15543:16;15582:30;15397:221;:::o;3659:79::-;3697:7;3724:6;-1:-1:-1;;;;;3724:6:0;3659:79;:::o;4025:92::-;4065:4;4103:6;-1:-1:-1;;;;;4103:6:0;4089:10;:20;;4025:92::o;17253:422::-;16342:25;16356:10;16342:13;:25::i;:::-;16334:34;;;;;;;;17362:23;17388:41;17403:10;17423:4;17388:14;:41::i;:::-;17362:67;-1:-1:-1;17448:26:0;;;;17440:57;;;;;-1:-1:-1;;;;;17440:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17535:10;17557:53;-1:-1:-1;;;;;17557:23:0;;17589:10;17602:7;17557:53;:23;:53;:::i;:::-;17659:7;17647:10;-1:-1:-1;;;;;17626:41:0;17635:10;-1:-1:-1;;;;;17626:41:0;;;;;;;;;;;16379:1;;17253:422;;;:::o;4765:109::-;3871:9;:7;:9::i;:::-;3863:54;;;;;;;-1:-1:-1;;;;;3863:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3863:54:0;;;;;;;;;;;;;;;4838:28;4857:8;4838:18;:28::i;:::-;4765:109;:::o;17908:164::-;17995:7;18029:10;-1:-1:-1;;;;;18022:28:0;;18051:12;18022:42;;;;;;;;;;;;;-1:-1:-1;;;;;18022:42:0;-1:-1:-1;;;;;18022:42:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18022:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;18022:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18022:42:0;;17908:164;-1:-1:-1;;;17908:164:0:o;6997:204::-;7124:68;;;-1:-1:-1;;;;;7124:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;7124:68:0;;;;;;;;25:18:-1;;61:17;;7124:68:0;182:15:-1;7147:27:0;179:29:-1;160:49;;7098:95:0;;7117:5;;7098:18;:95::i;:::-;6997:204;;;;:::o;6813:176::-;6922:58;;;-1:-1:-1;;;;;6922:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;6922:58:0;;;;;;;;25:18:-1;;61:17;;6922:58:0;182:15:-1;6945:23:0;179:29:-1;160:49;;6896:85:0;;6915:5;;6896:18;:85::i;:::-;6813:176;;;:::o;4980:229::-;-1:-1:-1;;;;;5054:22:0;;;;5046:73;;;;;-1:-1:-1;;;;;5046:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5156:6;;;5135:38;;-1:-1:-1;;;;;5135:38:0;;;;5156:6;;;5135:38;;;5184:6;:17;;-1:-1:-1;;5184:17:0;-1:-1:-1;;;;;5184:17:0;;;;;;;;;;4980:229::o;8807:1114::-;9411:27;9419:5;-1:-1:-1;;;;;9411:25:0;;:27::i;:::-;9403:71;;;;;;;-1:-1:-1;;;;;9403:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9548:12;9562:23;9597:5;-1:-1:-1;;;;;9589:19:0;9609:4;9589:25;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;9589:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;9547:67:0;;;;9633:7;9625:52;;;;;;;-1:-1:-1;;;;;9625:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9714:1;9694:10;:17;:21;9690:224;;;9836:10;9825:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9825:30:0;9817:85;;;;;;;-1:-1:-1;;;;;9817:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5826:422;5886:4;6193:20;;6232:8;;5826:422::o

Swarm Source

bzzr://6e3c52ca2282bf88c3d8339c4510202c2436320a820fed6d2bd267ac25eda52d
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading