Contract 0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0xb3c12905e394d8bf35ba9d6bae446c901dd883a0b416772fcf1fb9b4490280f093042162021-07-19 21:40:0814 days 21 hrs ago0x8d8aa4f2390dd31add06ce6a9374542020272d6b IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0.000000000000001 BNB0.00011665
0x4662c9d9f9a3f8fb80e571561ce39c7bf9dbb23e741696aa5d38ffb885d0af4f93042122021-07-19 21:39:5614 days 21 hrs ago0x8d8aa4f2390dd31add06ce6a9374542020272d6b IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0xd59ca7043fb4313f39f6ea6076b4f71743814dd45b8cab145a2903cffc63c13d93042092021-07-19 21:39:4714 days 21 hrs ago0x8d8aa4f2390dd31add06ce6a9374542020272d6b IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011653
0xbb2cc676663579f1d83a032829cb923ca301d1de22a879cc7deca8d89620ff8188876422021-07-05 10:05:2929 days 8 hrs ago0xf059f81617a9db6ee7baa973be9a77ff21bea373 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0x96f7c9454c322bd79f56a52ce0e8466843df28626f7c6573193db385c62b289a87527202021-06-30 16:39:4034 days 2 hrs ago0x83d13a9e4ed55d123afd108965da68cc7cd5b41d IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0xebf6e54cf68cd4df2bc335b69d303f37ace7eaacbcc5db249e58f95d528c1df985796022021-06-24 15:38:5540 days 3 hrs ago0xa87be03172978784a430ae111f0d6e547faeaf80 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x3eb7321178ad563bcfe3714677fb0c9eb168f33dc1bf78dab5270ebd04dedce085296222021-06-22 21:50:0841 days 21 hrs ago0xa36511278feea368462f3dc6ab1b2edde8dd0ff6 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0x4a5534ecfa9343661c17e08ce474e9fe77627c917e566bb908f687508537544a84039822021-06-18 12:35:0646 days 6 hrs ago0x6a3749a16a498d40ee1dc24429a18d91f40ec234 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0.001 BNB0.00011689
0xba88e581fc169fd1a28fcd4484613f5171a285f15a53365783f00eec587f2b1883626022021-06-17 1:46:2747 days 17 hrs ago0x711af96e740de850294d6c8056309203a0db9b14 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0x0bb238e1552da867c1a3cca478fddad47669ef0e704e778f0d361c3d1cd7938383493542021-06-16 14:40:4048 days 4 hrs ago0xcf6ce7d893c0b2125f9c860f977cfbcf3cb39b12 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0.01 BNB0.00011683
0xd6bb01d5ace473fe9829337d4d75944066b44b682267770650b1fceca5bcc0a182686302021-06-13 18:33:4151 days 21 mins ago0x0917555c0457633de5a95690dc48ea4b2640fb90 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0x3708f98bd9b691bb65dbbb5c3f294e32388910c6e91b6c47cb9bcfc6e27dd58c81748912021-06-10 11:59:1954 days 6 hrs ago0x4ec0cdef7d4034dc2f8c2fb14889e8e873b48f32 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0x112d63e5bea1d3229ffe92de6a850e7bc60c3a264279f12efc4fadf7295d08e781549522021-06-09 19:19:0954 days 23 hrs ago0xde4b9c7d88c35652131f01e93b47634d59f87402 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0.05 BNB0.00011683
0xde4b6f279028290fe7eab507a5541e34b784067c3d402eded1020b378cb569de81312992021-06-08 23:32:3755 days 19 hrs ago0xcccb8483cb31b9cfbd5309a6ab189220e114e6a5 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x83d0c14d442c32642df331903df2e993631d875d87cfcd785874134ad800da0381276272021-06-08 20:28:0655 days 22 hrs ago0x31aa158fd19033d38e917d8e64a7875cffc06187 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0xc855802e0b761f8c491fe6de3c4110d18171f9dc698be6ae74a5bfe9de77a40e80648752021-06-06 16:06:1558 days 2 hrs ago0xa156595d91a0d252936f1225ca2ca2f1f8621bc1 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.00011591
0x2941940fa7497c00e627aa02efbc80044f3e6f836f724ac62bb55629321fefd380635852021-06-06 15:01:4558 days 3 hrs ago0xbd549491e72ef4848b9a112c73a569384130f680 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x1ff65520c2a2627ec9d17cfce4427899fdfe0b8b51fb3319227ec1bd2eed6e9179965082021-06-04 7:01:2060 days 11 hrs ago0xe6c5bd2a1eabdd06d4e65493bc3a3d66ba6e3707 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0.12 BNB0.00011689
0x640f540962dac0a6b956fa9751cb36473fcf15c977ef372d5bc3fc01a6d6c0c279921142021-06-04 3:20:3360 days 15 hrs ago0x22fd33b266111b0073edd020cd36c46c43ffcc0d IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x150f015cfa5361efd2593acf4129fbad3bb35b1c676d7b4d420c854c36aca1d579549232021-06-02 20:13:2461 days 22 hrs ago0xe2caf6a78361fe2869887b3b3c0fdfe581d5fba8 IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x7be8b9b0d1107a37069dd57ccd706e37ea9fb27376b60b887bf9f2115bee432479241152021-06-01 18:28:2063 days 27 mins ago0x0b8b3bbca73a3863dbf206cc6e2b6dfc4d80133f IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x47aa27861245b48f85d437d4aa152fe18e8ca849fe879fef9905fd0da2955d8978269602021-05-29 9:11:5466 days 9 hrs ago0xfedde14ac70ed6aec56f955d204355196427e09f IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x44f4d73e1f64c3b40fcd8d5f0b40b9450018693dae17125488a521a918d91f7178254932021-05-29 7:58:2466 days 10 hrs ago0xff8dcf6dc86bb29e87c29c133d1e577150f40acc IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0.12 BNB0.00011689
0x24b829fe378e2206a18bd562e2e28d8867283440e9a532ea174825848cb7be2978247592021-05-29 7:21:4266 days 11 hrs ago0x11a6ae23f113d65bd12ce95199f3a5004f5e505e IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
0x609a7f80d06da4de7a930fa5915fe01ea6358d471e3a54c947f83d6bc3f16e6377939022021-05-28 5:34:1367 days 13 hrs ago0x0a798808079aaf1d9444e41841bea2603daec10e IN  0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83e0 BNB0.000271215
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xc42e423ebddf8501e3f645b2f5accbc20aa59dfb6fa84e6989bd07f88a1541fa75478032021-05-19 15:24:2876 days 3 hrs ago 0x8dccc967d7acc893c09ee4f56231c2fd1c1ef83eWault Finance: Deployer549.99993636363636 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x21f5817adf266bb872460c2ab4845cc27302378d

Contract Name:
WaultLaunchpadPresale

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-26
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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;
    }
}

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

/**
 * @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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
/**
 * @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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

    /**
     * @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'
        // 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, "SafeERC20: decreased allowance below zero");
        _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
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
//WAULT LAUNCHPAD
contract WaultLaunchpadPresale is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    
    IERC20 public token;
    
    mapping (address => uint256) public whitelistedAddresses;

    uint256 public tokenTarget;
    uint256 public weiTarget;
    uint256 public multiplier;
    bool public startUnlocked;
    bool public endUnlocked;
    bool public claimUnlocked;

    uint256 public totalOwed;
    mapping(address => uint256) public claimable;
    uint256 public weiRaised;
    
    uint256 public participants;
    
    constructor(
        IERC20 _token,
        uint256 _tokenTarget,
        uint256 _weiTarget
    ) {
        token = _token;
        tokenTarget = _tokenTarget;
        weiTarget = _weiTarget;
        multiplier = tokenTarget.div(weiTarget);
    }
    
    event StartUnlockedEvent(uint256 startTimestamp);
    event EndUnlockedEvent(uint256 endTimestamp);
    event ClaimUnlockedEvent(uint256 claimTimestamp);
    
    function setTokenTarget(uint256 _tokenTarget) external onlyOwner {
        require(!startUnlocked, 'Presale already started!');
        tokenTarget = _tokenTarget;
        multiplier = tokenTarget.div(weiTarget);
    }
    
    function setWeiTarget(uint256 _weiTarget) external onlyOwner {
        require(!startUnlocked, 'Presale already started!');
        weiTarget = _weiTarget;
        multiplier = tokenTarget.div(weiTarget);
    }
    
    function unlockStart() external onlyOwner {
        require(!startUnlocked, 'Presale already started!');
        startUnlocked = true;
        StartUnlockedEvent(block.timestamp);
    }
    function unlockEnd() external onlyOwner {
        require(!endUnlocked, 'Presale already ended!');
        endUnlocked = true;
        EndUnlockedEvent(block.timestamp);
    }
    function unlockClaim() external onlyOwner { 
        require(!claimUnlocked, 'Claim already allowed!');
        claimUnlocked = true; 
        ClaimUnlockedEvent(block.timestamp);
    }
    
    function addWhitelistedAddress(address _address, uint256 _allocation) external onlyOwner {
        whitelistedAddresses[_address] = _allocation;
    }
    
    function addMultipleWhitelistedAddresses(address[] calldata _addresses, uint256 _allocation) external onlyOwner {
         for (uint i=0; i<_addresses.length; i++) {
             whitelistedAddresses[_addresses[i]] = _allocation;
         }
    }

    function removeWhitelistedAddress(address _address) external onlyOwner {
        whitelistedAddresses[_address] = 0;
    }
    
    function withdrawWei(uint256 amount) public onlyOwner {
        require(endUnlocked, 'presale has not yet ended');
        msg.sender.transfer(amount);   
    }
    
    function claimableAmount(address user) external view returns (uint256) {
        return claimable[user].mul(multiplier);
    }

    function withdrawToken() external onlyOwner {
        require(endUnlocked, "presale has not yet ended");
        token.safeTransfer(msg.sender, token.balanceOf(address(this)).sub(totalOwed));
    }

    function claim() external {
        require(claimUnlocked, "claiming not allowed yet");
        require(claimable[msg.sender] > 0, "nothing to claim");

        uint256 amount = claimable[msg.sender].mul(multiplier);

        claimable[msg.sender] = 0;
        totalOwed = totalOwed.sub(amount);

        token.safeTransfer(msg.sender, amount);
    }

    function buy() public payable {
        require(startUnlocked, "presale has not yet started");
        require(!endUnlocked, "presale already ended");
        require(msg.value >= 0, "amount too low");
        require(weiRaised.add(msg.value) <= weiTarget, "target already hit");
        require(whitelistedAddresses[msg.sender] > 0, "you are not whitelisted");
        require(whitelistedAddresses[msg.sender] >= msg.value, "amount too high");
        
        uint256 amount = msg.value.mul(multiplier);
        require(totalOwed.add(amount) <= token.balanceOf(address(this)), "sold out");
        require(claimable[msg.sender].add(msg.value) <= whitelistedAddresses[msg.sender], "maximum purchase cap hit");
        
        if(claimable[msg.sender] == 0)
            participants = participants.add(1);

        claimable[msg.sender] = claimable[msg.sender].add(msg.value);
        totalOwed = totalOwed.add(amount);
        weiRaised = weiRaised.add(msg.value);
    }
    
    fallback() external payable { buy(); }
    receive() external payable { buy(); }
}

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_tokenTarget","type":"uint256"},{"internalType":"uint256","name":"_weiTarget","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"claimTimestamp","type":"uint256"}],"name":"ClaimUnlockedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"endTimestamp","type":"uint256"}],"name":"EndUnlockedEvent","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":"uint256","name":"startTimestamp","type":"uint256"}],"name":"StartUnlockedEvent","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256","name":"_allocation","type":"uint256"}],"name":"addMultipleWhitelistedAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_allocation","type":"uint256"}],"name":"addWhitelistedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimUnlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"claimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endUnlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"participants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhitelistedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenTarget","type":"uint256"}],"name":"setTokenTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_weiTarget","type":"uint256"}],"name":"setWeiTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startUnlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenTarget","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalOwed","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":"unlockClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockEnd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weiRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weiTarget","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162002d5238038062002d52833981810160405260608110156200003757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919050505060006200006e6200018860201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160038190555080600481905550620001796004546003546200019060201b620024081790919060201c565b6005819055505050506200021b565b600033905090565b600080821162000208576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816200021257fe5b04905092915050565b612b27806200022b6000396000f3fe6080604052600436106101bb5760003560e01c80638da5cb5b116100ec578063e7fa9f7d1161008a578063f6072f6811610064578063f6072f6814610736578063fc0c546a14610771578063fe1cce9c146107b2578063feafaa6b146107c9576101ca565b8063e7fa9f7d1461068f578063f2fde38b146106ba578063f4eb46321461070b576101ca565b8063a6f2ae3a116100c6578063a6f2ae3a146105c7578063ca628c78146105d1578063d12416a6146105e8578063e6e25d1014610678576101ca565b80638da5cb5b146104f05780638db3b7d9146105315780639d92cdf91461058c576101ca565b80634e71d92d116101595780636c4470fb116101335780636c4470fb1461041e578063715018a614610449578063782e1e6c14610460578063898850491461048b576101ca565b80634e71d92d1461038957806350e49764146103a0578063530cd5ab146103cd576101ca565b80631d8e59d9116101955780631d8e59d91461029f578063402914f5146102cc5780634042b66f14610331578063450135461461035c576101ca565b806306c933d8146101d45780630d6f8563146102395780631b3ed72214610274576101ca565b366101ca576101c86107e0565b005b6101d26107e0565b005b3480156101e057600080fd5b50610223600480360360208110156101f757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ef1565b6040518082815260200191505060405180910390f35b34801561024557600080fd5b506102726004803603602081101561025c57600080fd5b8101908080359060200190929190505050610f09565b005b34801561028057600080fd5b50610289611084565b6040518082815260200191505060405180910390f35b3480156102ab57600080fd5b506102b461108a565b60405180821515815260200191505060405180910390f35b3480156102d857600080fd5b5061031b600480360360208110156102ef57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061109d565b6040518082815260200191505060405180910390f35b34801561033d57600080fd5b506103466110b5565b6040518082815260200191505060405180910390f35b34801561036857600080fd5b506103716110bb565b60405180821515815260200191505060405180910390f35b34801561039557600080fd5b5061039e6110ce565b005b3480156103ac57600080fd5b506103b561130d565b60405180821515815260200191505060405180910390f35b3480156103d957600080fd5b5061041c600480360360208110156103f057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611320565b005b34801561042a57600080fd5b50610433611417565b6040518082815260200191505060405180910390f35b34801561045557600080fd5b5061045e61141d565b005b34801561046c57600080fd5b5061047561158a565b6040518082815260200191505060405180910390f35b34801561049757600080fd5b506104da600480360360208110156104ae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611590565b6040518082815260200191505060405180910390f35b3480156104fc57600080fd5b506105056115ed565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053d57600080fd5b5061058a6004803603604081101561055457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611616565b005b34801561059857600080fd5b506105c5600480360360208110156105af57600080fd5b810190808035906020019092919050505061170d565b005b6105cf6107e0565b005b3480156105dd57600080fd5b506105e6611866565b005b3480156105f457600080fd5b506106766004803603604081101561060b57600080fd5b810190808035906020019064010000000081111561062857600080fd5b82018360208201111561063a57600080fd5b8035906020019184602083028401116401000000008311171561065c57600080fd5b909192939192939080359060200190929190505050611abd565b005b34801561068457600080fd5b5061068d611bf9565b005b34801561069b57600080fd5b506106a4611d7f565b6040518082815260200191505060405180910390f35b3480156106c657600080fd5b50610709600480360360208110156106dd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d85565b005b34801561071757600080fd5b50610720611f77565b6040518082815260200191505060405180910390f35b34801561074257600080fd5b5061076f6004803603602081101561075957600080fd5b8101908080359060200190929190505050611f7d565b005b34801561077d57600080fd5b506107866120d6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156107be57600080fd5b506107c76120fc565b005b3480156107d557600080fd5b506107de612282565b005b600660009054906101000a900460ff16610862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f70726573616c6520686173206e6f74207965742073746172746564000000000081525060200191505060405180910390fd5b600660019054906101000a900460ff16156108e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f70726573616c6520616c726561647920656e646564000000000000000000000081525060200191505060405180910390fd5b600034101561095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f616d6f756e7420746f6f206c6f7700000000000000000000000000000000000081525060200191505060405180910390fd5b6004546109743460095461249190919063ffffffff16565b11156109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f74617267657420616c726561647920686974000000000000000000000000000081525060200191505060405180910390fd5b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610a9d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f796f7520617265206e6f742077686974656c697374656400000000000000000081525060200191505060405180910390fd5b34600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610b52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f616d6f756e7420746f6f2068696768000000000000000000000000000000000081525060200191505060405180910390fd5b6000610b696005543461251990919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bf457600080fd5b505afa158015610c08573d6000803e3d6000fd5b505050506040513d6020811015610c1e57600080fd5b8101908080519060200190929190505050610c448260075461249190919063ffffffff16565b1115610cb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f736f6c64206f757400000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d4a34600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461249190919063ffffffff16565b1115610dbe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f6d6178696d756d2070757263686173652063617020686974000000000000000081525060200191505060405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610e2357610e1c6001600a5461249190919063ffffffff16565b600a819055505b610e7534600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461249190919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ecd8160075461249190919063ffffffff16565b600781905550610ee83460095461249190919063ffffffff16565b60098190555050565b60026020528060005260406000206000915090505481565b610f1161259f565b73ffffffffffffffffffffffffffffffffffffffff16610f2f6115ed565b73ffffffffffffffffffffffffffffffffffffffff1614610fb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660019054906101000a900460ff1661103a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f70726573616c6520686173206e6f742079657420656e6465640000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611080573d6000803e3d6000fd5b5050565b60055481565b600660019054906101000a900460ff1681565b60086020528060005260406000206000915090505481565b60095481565b600660009054906101000a900460ff1681565b600660029054906101000a900460ff16611150576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f636c61696d696e67206e6f7420616c6c6f77656420796574000000000000000081525060200191505060405180910390fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f6e6f7468696e6720746f20636c61696d0000000000000000000000000000000081525060200191505060405180910390fd5b600061125b600554600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461251990919063ffffffff16565b90506000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112b7816007546125a790919063ffffffff16565b60078190555061130a3382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661262a9092919063ffffffff16565b50565b600660029054906101000a900460ff1681565b61132861259f565b73ffffffffffffffffffffffffffffffffffffffff166113466115ed565b73ffffffffffffffffffffffffffffffffffffffff16146113cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600a5481565b61142561259f565b73ffffffffffffffffffffffffffffffffffffffff166114436115ed565b73ffffffffffffffffffffffffffffffffffffffff16146114cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60035481565b60006115e6600554600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461251990919063ffffffff16565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61161e61259f565b73ffffffffffffffffffffffffffffffffffffffff1661163c6115ed565b73ffffffffffffffffffffffffffffffffffffffff16146116c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61171561259f565b73ffffffffffffffffffffffffffffffffffffffff166117336115ed565b73ffffffffffffffffffffffffffffffffffffffff16146117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660009054906101000a900460ff161561183f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726573616c6520616c7265616479207374617274656421000000000000000081525060200191505060405180910390fd5b8060048190555061185d60045460035461240890919063ffffffff16565b60058190555050565b61186e61259f565b73ffffffffffffffffffffffffffffffffffffffff1661188c6115ed565b73ffffffffffffffffffffffffffffffffffffffff1614611915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660019054906101000a900460ff16611997576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f70726573616c6520686173206e6f742079657420656e6465640000000000000081525060200191505060405180910390fd5b611abb33611a73600754600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611a2a57600080fd5b505afa158015611a3e573d6000803e3d6000fd5b505050506040513d6020811015611a5457600080fd5b81019080805190602001909291905050506125a790919063ffffffff16565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661262a9092919063ffffffff16565b565b611ac561259f565b73ffffffffffffffffffffffffffffffffffffffff16611ae36115ed565b73ffffffffffffffffffffffffffffffffffffffff1614611b6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60005b83839050811015611bf3578160026000868685818110611b8b57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080600101915050611b6f565b50505050565b611c0161259f565b73ffffffffffffffffffffffffffffffffffffffff16611c1f6115ed565b73ffffffffffffffffffffffffffffffffffffffff1614611ca8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660019054906101000a900460ff1615611d2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f50726573616c6520616c726561647920656e646564210000000000000000000081525060200191505060405180910390fd5b6001600660016101000a81548160ff0219169083151502179055507fdbb898b65754de938e81c6a509625c23cc027521dca30ed62fce6f2e8f838c7a426040518082815260200191505060405180910390a1565b60075481565b611d8d61259f565b73ffffffffffffffffffffffffffffffffffffffff16611dab6115ed565b73ffffffffffffffffffffffffffffffffffffffff1614611e34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a5b6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b611f8561259f565b73ffffffffffffffffffffffffffffffffffffffff16611fa36115ed565b73ffffffffffffffffffffffffffffffffffffffff161461202c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660009054906101000a900460ff16156120af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726573616c6520616c7265616479207374617274656421000000000000000081525060200191505060405180910390fd5b806003819055506120cd60045460035461240890919063ffffffff16565b60058190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61210461259f565b73ffffffffffffffffffffffffffffffffffffffff166121226115ed565b73ffffffffffffffffffffffffffffffffffffffff16146121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660009054906101000a900460ff161561222e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726573616c6520616c7265616479207374617274656421000000000000000081525060200191505060405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f84e9d69e36bf0400bf55f47df29cb3bf3b4e5a1579629eadc03e106b95cf7426426040518082815260200191505060405180910390a1565b61228a61259f565b73ffffffffffffffffffffffffffffffffffffffff166122a86115ed565b73ffffffffffffffffffffffffffffffffffffffff1614612331576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600660029054906101000a900460ff16156123b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f436c61696d20616c726561647920616c6c6f776564210000000000000000000081525060200191505060405180910390fd5b6001600660026101000a81548160ff0219169083151502179055507fbf01c8d8fad1389764a49c6e5e5adf4be677b9063611e7354ffa2c3b342c7600426040518082815260200191505060405180910390a1565b600080821161247f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161248857fe5b04905092915050565b60008082840190508381101561250f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561252c5760009050612599565b600082840290508284828161253d57fe5b0414612594576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612aa76021913960400191505060405180910390fd5b809150505b92915050565b600033905090565b60008282111561261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6126c78363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506126cc565b505050565b600061272e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127bb9092919063ffffffff16565b90506000815111156127b65780806020019051602081101561274f57600080fd5b81019080805190602001909291905050506127b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612ac8602a913960400191505060405180910390fd5b5b505050565b60606127ca84846000856127d3565b90509392505050565b60608247101561282e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a816026913960400191505060405180910390fd5b6128378561297b565b6128a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106128f857805182526020820191506020810190506020830392506128d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461295a576040519150601f19603f3d011682016040523d82523d6000602084013e61295f565b606091505b509150915061296f82828661298e565b92505050949350505050565b600080823b905060008111915050919050565b6060831561299e57829050612a53565b6000835111156129b15782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a185780820151818401526020810190506129fd565b50505050905090810190601f168015612a455780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b5f48f3597f9199ca5ffe42f9410419c3bc294747bcc956a8f7f0680ec0ed51c64736f6c634300070600330000000000000000000000003920123482070c1a2dff73aad695c60e7c6f6862000000000000000000000000000000000000000000108af3f65e54cab5600000000000000000000000000000000000000000000000000025f273933db5700000

Deployed ByteCode Sourcemap

35798:4576:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40363:5;:3;:5::i;:::-;35798:4576;;40320:5;:3;:5::i;:::-;35798:4576;35951:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38401:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36080:25;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36144:23;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36239:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36290:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36112:25;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38920:360;;;;;;;;;;;;;:::i;:::-;;36174:25;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38265:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36327:27;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31595:148;;;;;;;;;;;;;:::i;:::-;;36016:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38576:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30944:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37843:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37036:214;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;39288:990;;;:::i;:::-;;38712:200;;;;;;;;;;;;;:::i;:::-;;38007:250;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37457:179;;;;;;;;;;;;;:::i;:::-;;36208:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31898:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36049:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36802:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35919:19;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37262:189;;;;;;;;;;;;;:::i;:::-;;37642;;;;;;;;;;;;;:::i;:::-;;39288:990;39337:13;;;;;;;;;;;39329:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39402:11;;;;;;;;;;;39401:12;39393:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39471:1;39458:9;:14;;39450:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39538:9;;39510:24;39524:9;39510;;:13;;:24;;;;:::i;:::-;:37;;39502:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39624:1;39589:20;:32;39610:10;39589:32;;;;;;;;;;;;;;;;:36;39581:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39708:9;39672:20;:32;39693:10;39672:32;;;;;;;;;;;;;;;;:45;;39664:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39758:14;39775:25;39789:10;;39775:9;:13;;:25;;;;:::i;:::-;39758:42;;39844:5;;;;;;;;;;;:15;;;39868:4;39844:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39819:21;39833:6;39819:9;;:13;;:21;;;;:::i;:::-;:55;;39811:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39946:20;:32;39967:10;39946:32;;;;;;;;;;;;;;;;39906:36;39932:9;39906;:21;39916:10;39906:21;;;;;;;;;;;;;;;;:25;;:36;;;;:::i;:::-;:72;;39898:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40056:1;40031:9;:21;40041:10;40031:21;;;;;;;;;;;;;;;;:26;40028:78;;;40087:19;40104:1;40087:12;;:16;;:19;;;;:::i;:::-;40072:12;:34;;;;40028:78;40143:36;40169:9;40143;:21;40153:10;40143:21;;;;;;;;;;;;;;;;:25;;:36;;;;:::i;:::-;40119:9;:21;40129:10;40119:21;;;;;;;;;;;;;;;:60;;;;40202:21;40216:6;40202:9;;:13;;:21;;;;:::i;:::-;40190:9;:33;;;;40246:24;40260:9;40246;;:13;;:24;;;;:::i;:::-;40234:9;:36;;;;39288:990;:::o;35951:56::-;;;;;;;;;;;;;;;;;:::o;38401:163::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38474:11:::1;;;;;;;;;;;38466:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38526:10;:19;;:27;38546:6;38526:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;38401:163:::0;:::o;36080:25::-;;;;:::o;36144:23::-;;;;;;;;;;;;;:::o;36239:44::-;;;;;;;;;;;;;;;;;:::o;36290:24::-;;;;:::o;36112:25::-;;;;;;;;;;;;;:::o;38920:360::-;38965:13;;;;;;;;;;;38957:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39050:1;39026:9;:21;39036:10;39026:21;;;;;;;;;;;;;;;;:25;39018:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39085:14;39102:37;39128:10;;39102:9;:21;39112:10;39102:21;;;;;;;;;;;;;;;;:25;;:37;;;;:::i;:::-;39085:54;;39176:1;39152:9;:21;39162:10;39152:21;;;;;;;;;;;;;;;:25;;;;39200:21;39214:6;39200:9;;:13;;:21;;;;:::i;:::-;39188:9;:33;;;;39234:38;39253:10;39265:6;39234:5;;;;;;;;;;;:18;;;;:38;;;;;:::i;:::-;38920:360;:::o;36174:25::-;;;;;;;;;;;;;:::o;38265:124::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38380:1:::1;38347:20;:30;38368:8;38347:30;;;;;;;;;;;;;;;:34;;;;38265:124:::0;:::o;36327:27::-;;;;:::o;31595:148::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31702:1:::1;31665:40;;31686:6;::::0;::::1;;;;;;;;31665:40;;;;;;;;;;;;31733:1;31716:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;31595:148::o:0;36016:26::-;;;;:::o;38576:128::-;38638:7;38665:31;38685:10;;38665:9;:15;38675:4;38665:15;;;;;;;;;;;;;;;;:19;;:31;;;;:::i;:::-;38658:38;;38576:128;;;:::o;30944:87::-;30990:7;31017:6;;;;;;;;;;;31010:13;;30944:87;:::o;37843:152::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37976:11:::1;37943:20;:30;37964:8;37943:30;;;;;;;;;;;;;;;:44;;;;37843:152:::0;;:::o;37036:214::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37117:13:::1;;;;;;;;;;;37116:14;37108:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37182:10;37170:9;:22;;;;37216:26;37232:9;;37216:11;;:15;;:26;;;;:::i;:::-;37203:10;:39;;;;37036:214:::0;:::o;38712:200::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38775:11:::1;;;;;;;;;;;38767:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38827:77;38846:10;38858:45;38893:9;;38858:5;;;;;;;;;;;:15;;;38882:4;38858:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:34;;:45;;;;:::i;:::-;38827:5;;;;;;;;;;;:18;;;;:77;;;;;:::i;:::-;38712:200::o:0;38007:250::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38136:6:::1;38131:119;38148:10;;:17;;38146:1;:19;38131:119;;;38226:11;38188:20;:35;38209:10;;38220:1;38209:13;;;;;;;;;;;;;;;38188:35;;;;;;;;;;;;;;;:49;;;;38167:3;;;;;;;38131:119;;;;38007:250:::0;;;:::o;37457:179::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37517:11:::1;;;;;;;;;;;37516:12;37508:47;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37580:4;37566:11;;:18;;;;;;;;;;;;;;;;;;37595:33;37612:15;37595:33;;;;;;;;;;;;;;;;;;37457:179::o:0;36208:24::-;;;;:::o;31898:244::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32007:1:::1;31987:22;;:8;:22;;;;31979:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32097:8;32068:38;;32089:6;::::0;::::1;;;;;;;;32068:38;;;;;;;;;;;;32126:8;32117:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;31898:244:::0;:::o;36049:24::-;;;;:::o;36802:222::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36887:13:::1;;;;;;;;;;;36886:14;36878:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36954:12;36940:11;:26;;;;36990;37006:9;;36990:11;;:15;;:26;;;;:::i;:::-;36977:10;:39;;;;36802:222:::0;:::o;35919:19::-;;;;;;;;;;;;;:::o;37262:189::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37324:13:::1;;;;;;;;;;;37323:14;37315:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37393:4;37377:13;;:20;;;;;;;;;;;;;;;;;;37408:35;37427:15;37408:35;;;;;;;;;;;;;;;;;;37262:189::o:0;37642:::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37705:13:::1;;;;;;;;;;;37704:14;37696:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37772:4;37756:13;;:20;;;;;;;;;;;;;;;;;;37788:35;37807:15;37788:35;;;;;;;;;;;;;;;;;;37642:189::o:0;7961:153::-;8019:7;8051:1;8047;:5;8039:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8105:1;8101;:5;;;;;;8094:12;;7961:153;;;;:::o;6384:179::-;6442:7;6462:9;6478:1;6474;:5;6462:17;;6503:1;6498;:6;;6490:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6554:1;6547:8;;;6384:179;;;;:::o;7263:220::-;7321:7;7350:1;7345;:6;7341:20;;;7360:1;7353:8;;;;7341:20;7372:9;7388:1;7384;:5;7372:17;;7417:1;7412;7408;:5;;;;;;:10;7400:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7474:1;7467:8;;;7263:220;;;;;:::o;613:106::-;666:15;701:10;694:17;;613:106;:::o;6846:158::-;6904:7;6937:1;6932;:6;;6924:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6995:1;6991;:5;6984:12;;6846:158;;;;:::o;32708:177::-;32791:86;32811:5;32841:23;;;32866:2;32870:5;32818:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32791:19;:86::i;:::-;32708:177;;;:::o;35013:761::-;35437:23;35463:69;35491:4;35463:69;;;;;;;;;;;;;;;;;35471:5;35463:27;;;;:69;;;;;:::i;:::-;35437:95;;35567:1;35547:10;:17;:21;35543:224;;;35689:10;35678:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35670:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35543:224;35013:761;;;:::o;25588:195::-;25691:12;25723:52;25745:6;25753:4;25759:1;25762:12;25723:21;:52::i;:::-;25716:59;;25588:195;;;;;:::o;26640:530::-;26767:12;26825:5;26800:21;:30;;26792:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26892:18;26903:6;26892:10;:18::i;:::-;26884:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27018:12;27032:23;27059:6;:11;;27079:5;27087:4;27059:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27017:75;;;;27110:52;27128:7;27137:10;27149:12;27110:17;:52::i;:::-;27103:59;;;;26640:530;;;;;;:::o;22670:422::-;22730:4;22938:12;23049:7;23037:20;23029:28;;23083:1;23076:4;:8;23069:15;;;22670:422;;;:::o;29180:742::-;29295:12;29324:7;29320:595;;;29355:10;29348:17;;;;29320:595;29489:1;29469:10;:17;:21;29465:439;;;29732:10;29726:17;29793:15;29780:10;29776:2;29772:19;29765:44;29680:148;29875:12;29868:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29180:742;;;;;;:::o

Swarm Source

ipfs://b5f48f3597f9199ca5ffe42f9410419c3bc294747bcc956a8f7f0680ec0ed51c
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.