ETH Price: $2,718.41 (+3.01%)

Contract

0x1502Fb51A6Bf1884b33DCdA38958E8C1E818146E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake217777882025-02-05 4:04:116 days ago1738728251IN
0x1502Fb51...1E818146E
0 ETH0.00013471.29422086
Unstake Tokens217777842025-02-05 4:03:236 days ago1738728203IN
0x1502Fb51...1E818146E
0 ETH0.000174381.37473458
Stake216561392025-01-19 4:26:5923 days ago1737260819IN
0x1502Fb51...1E818146E
0 ETH0.0015829112.72419514
Stake216364802025-01-16 10:34:3525 days ago1737023675IN
0x1502Fb51...1E818146E
0 ETH0.000331373.18407661
Unstake Tokens216355962025-01-16 7:36:2325 days ago1737012983IN
0x1502Fb51...1E818146E
0 ETH0.000364112.49356758
Stake216297072025-01-15 11:53:1126 days ago1736941991IN
0x1502Fb51...1E818146E
0 ETH0.000232522.23429298
Stake216278822025-01-15 5:45:2327 days ago1736919923IN
0x1502Fb51...1E818146E
0 ETH0.000246922.37258178
Unstake Tokens216278782025-01-15 5:44:3527 days ago1736919875IN
0x1502Fb51...1E818146E
0 ETH0.000306692.38029787
Unstake Tokens216177802025-01-13 19:53:3528 days ago1736798015IN
0x1502Fb51...1E818146E
0 ETH0.000743535.76796315
Unstake Tokens216075322025-01-12 9:31:5929 days ago1736674319IN
0x1502Fb51...1E818146E
0 ETH0.000430162.94643343
Unstake Tokens216072972025-01-12 8:44:4729 days ago1736671487IN
0x1502Fb51...1E818146E
0 ETH0.000366872.89112256
Unstake Tokens216070422025-01-12 7:53:3529 days ago1736668415IN
0x1502Fb51...1E818146E
0 ETH0.000267771.85926728
Stake215953922025-01-10 16:52:5931 days ago1736527979IN
0x1502Fb51...1E818146E
0 ETH0.000780267.49640471
Unstake Tokens215953762025-01-10 16:49:4731 days ago1736527787IN
0x1502Fb51...1E818146E
0 ETH0.001020478.04030325
Stake215887872025-01-09 18:44:1132 days ago1736448251IN
0x1502Fb51...1E818146E
0 ETH0.000903798.85331034
Stake215818202025-01-08 19:22:1133 days ago1736364131IN
0x1502Fb51...1E818146E
0 ETH0.001104038.87557025
Stake215751682025-01-07 21:05:4734 days ago1736283947IN
0x1502Fb51...1E818146E
0 ETH0.0019779915.90000943
Stake215579972025-01-05 11:32:1136 days ago1736076731IN
0x1502Fb51...1E818146E
0 ETH0.000534875.13937918
Unstake Tokens215579862025-01-05 11:29:5936 days ago1736076599IN
0x1502Fb51...1E818146E
0 ETH0.000755845.1788462
Stake214482802024-12-21 3:44:1152 days ago1734752651IN
0x1502Fb51...1E818146E
0 ETH0.000794237.63065356
Unstake Tokens214482762024-12-21 3:43:2352 days ago1734752603IN
0x1502Fb51...1E818146E
0 ETH0.001060018.3565637
Stake213845892024-12-12 6:19:3560 days ago1733984375IN
0x1502Fb51...1E818146E
0 ETH0.0019329215.53769886
Unstake Tokens213836702024-12-12 3:14:4761 days ago1733973287IN
0x1502Fb51...1E818146E
0 ETH0.0020018313.90085409
Unstake Tokens213747612024-12-10 21:22:3562 days ago1733865755IN
0x1502Fb51...1E818146E
0 ETH0.0028514720.37069981
Stake213704402024-12-10 6:53:3562 days ago1733813615IN
0x1502Fb51...1E818146E
0 ETH0.0012676512.17903458
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
217777882025-02-05 4:04:116 days ago1738728251
0x1502Fb51...1E818146E
0 ETH
217777882025-02-05 4:04:116 days ago1738728251
0x1502Fb51...1E818146E
0 ETH
217777882025-02-05 4:04:116 days ago1738728251
0x1502Fb51...1E818146E
0 ETH
217777842025-02-05 4:03:236 days ago1738728203
0x1502Fb51...1E818146E
0 ETH
217777842025-02-05 4:03:236 days ago1738728203
0x1502Fb51...1E818146E
0 ETH
217777842025-02-05 4:03:236 days ago1738728203
0x1502Fb51...1E818146E
0 ETH
216561392025-01-19 4:26:5923 days ago1737260819
0x1502Fb51...1E818146E
0 ETH
216561392025-01-19 4:26:5923 days ago1737260819
0x1502Fb51...1E818146E
0 ETH
216561392025-01-19 4:26:5923 days ago1737260819
0x1502Fb51...1E818146E
0 ETH
216364802025-01-16 10:34:3525 days ago1737023675
0x1502Fb51...1E818146E
0 ETH
216364802025-01-16 10:34:3525 days ago1737023675
0x1502Fb51...1E818146E
0 ETH
216364802025-01-16 10:34:3525 days ago1737023675
0x1502Fb51...1E818146E
0 ETH
216355962025-01-16 7:36:2325 days ago1737012983
0x1502Fb51...1E818146E
0 ETH
216355962025-01-16 7:36:2325 days ago1737012983
0x1502Fb51...1E818146E
0 ETH
216355962025-01-16 7:36:2325 days ago1737012983
0x1502Fb51...1E818146E
0 ETH
216297072025-01-15 11:53:1126 days ago1736941991
0x1502Fb51...1E818146E
0 ETH
216297072025-01-15 11:53:1126 days ago1736941991
0x1502Fb51...1E818146E
0 ETH
216297072025-01-15 11:53:1126 days ago1736941991
0x1502Fb51...1E818146E
0 ETH
216278822025-01-15 5:45:2327 days ago1736919923
0x1502Fb51...1E818146E
0 ETH
216278822025-01-15 5:45:2327 days ago1736919923
0x1502Fb51...1E818146E
0 ETH
216278822025-01-15 5:45:2327 days ago1736919923
0x1502Fb51...1E818146E
0 ETH
216278782025-01-15 5:44:3527 days ago1736919875
0x1502Fb51...1E818146E
0 ETH
216278782025-01-15 5:44:3527 days ago1736919875
0x1502Fb51...1E818146E
0 ETH
216278782025-01-15 5:44:3527 days ago1736919875
0x1502Fb51...1E818146E
0 ETH
216177802025-01-13 19:53:3528 days ago1736798015
0x1502Fb51...1E818146E
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakeSTATE

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity Multiple files format)

File 1 of 8: StateStaking.sol
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./SafeMath.sol";
import "./IERC20.sol";
import "./ReentrancyGuard.sol";
import "./TransferHelper.sol";

contract StateContext {
    using TransferHelper for IERC20;
    
    bool public isStakeActive = true;
    bool public isUnStakeActive = true;
    bool public apyEnabled = true;
    
    uint256 public apyTier = 1618;
    uint256 public totalStaked;

    IERC20 public token;
    address public rewardingWallet;
    mapping(address => User) public deposit;

    struct User {
        uint256 stakedAmount;
        uint256 totalAmount;
        uint256 depositTime;
        uint256 lastClaimTime;
        uint256 reward;
    }

    event Stake(address indexed staker, uint256 _amount, uint256 _lockPeriod);
    event Unstake(address indexed unstaker, uint256 unstakeTime);
    event Emergencyunstake(address indexed unstaker, uint256 unstakeTime);
    event Withdraw(address indexed withdrawer);
    event WithdrawToken(address indexed withdrawer, uint256 amount);
    event Claim(address staker, uint256 reward);
}

contract StakeSTATE is StateContext, Ownable, ReentrancyGuard {

    using SafeMath for uint256;

    constructor(IERC20 _token, address wallet) {
        token = _token;
        rewardingWallet = wallet;
    }

    receive() external payable {}
    
    /**
      * function to Enable or Disable the Reward
      */
    function flipApyEnabled() public onlyOwner {
        apyEnabled = !apyEnabled;
    }

    /**
      * function to set the apy. It takes one argument and it should be multiplied with 100.
      */
    function setApy(uint256 apy) public onlyOwner {
        apyTier = apy;
    }
    
    /**
      * function to set the rewarding Wallet. It takes one argument as address of wallet.
      */
    function setRewardingWallet(address wallet) public onlyOwner {
        rewardingWallet = wallet;
    }

    /**
      * function to change the state of staking. Enable or Disable staking.
      */
    function flipStakeState() public onlyOwner {
        isStakeActive = !isStakeActive;
    }

    /**
      * function to change the state of Unstaking. Enable or Disable Unstaking.
      */
    function flipUnStakeState() public onlyOwner {
        isUnStakeActive = !isUnStakeActive;
    }
    
    /**
      * function to set the Token Address. It takes one argument of token address.
      */
    function setTokenAddress(IERC20 _token) public onlyOwner {
        token = _token;
    }
    
    /**
      * Public function to stake the $STATE tokens. It takes one argument of amount as input.
      */
    function stake(uint256 _amount) public nonReentrant {
        require(token.balanceOf(_msgSender()) >= _amount, "You Do Not Have Sufficient Balance");
        require(token.allowance(_msgSender(), address(this)) >= _amount, "Tokens Not Approved");
        require(isStakeActive, "Staking Is Paused");

        _stakeTokens(_amount);
    }

    /**
      * Internal function to stake the $STATE tokens. It takes one argument of amount as input and called from public function.
      */
    function _stakeTokens(uint256 _amount) internal {        
        User storage wUser = deposit[_msgSender()];
        uint256 prevReward = checkReward(_msgSender());

        wUser.stakedAmount = wUser.stakedAmount.add(_amount);
        wUser.totalAmount = wUser.stakedAmount.add(_amount).add(prevReward);
        wUser.depositTime = block.timestamp;
        wUser.lastClaimTime = block.timestamp;
        wUser.reward = prevReward;

        TransferHelper.safeTransferFrom(address(token), _msgSender(), address(this), _amount);

        totalStaked += _amount;
      
        emit Stake(_msgSender(), _amount, block.timestamp);
    }

    /**
      * Public function to unstake the tokens. It takes one argument as an input.
      */
    function UnstakeTokens(uint256 amount) public nonReentrant {
        require(isUnStakeActive, "Unstaking Is Paused");

        _unstakeTokens(_msgSender(), amount);
    }

    /**
      * Internal function to unstake the tokens. It takes one argument as an input and called from public function.
      */
    function _unstakeTokens(address _address, uint256 amount) internal {
        User storage wUser = deposit[_address];
        require(wUser.stakedAmount >= amount, "Stake First To Unstake Tokens");

        if(apyEnabled) {
            _claim(_address);
        }
      
        token.transfer(_address, amount);

        totalStaked -= amount;

        wUser.stakedAmount = wUser.stakedAmount.sub(amount);
        wUser.totalAmount = wUser.totalAmount.sub(amount);
        wUser.depositTime = block.timestamp;

        emit Unstake(_address, block.timestamp);
    }

    /**
      * Intenal function to claim the token reward. It takes one argument of staker wallet address.
      */
    function _claim(address _address) internal {
        User storage info = deposit[_address];
        
        uint256 claimcurrentReward = checkReward(_address);
        claimcurrentReward = claimcurrentReward.add(info.reward);
        info.totalAmount = info.totalAmount.sub(claimcurrentReward);

        if(claimcurrentReward <= pendingRewards()) {
            TransferHelper.safeTransferFrom(address(token), rewardingWallet, _address, claimcurrentReward);
        } else {
            require(false, "Pending Rewards Not Allocated");
        }
        
        info.lastClaimTime = block.timestamp;
        info.reward = 0;
        
        emit Claim(_address, claimcurrentReward);
    }

    /**
      * Public function to claim the token reward.
      */
    function claim() public nonReentrant {
        User memory info = deposit[_msgSender()];
        require(info.stakedAmount > 0, "Not Staked");
        require(apyEnabled, "APY is not enabled");

        uint256 reward = checkReward(_msgSender());
        reward = reward.add(info.reward);
        require(reward > 0, "Current Reward Is 0");
        
        _claim(_msgSender());
    }

    /**
      * function to check the pending or approved rewarding amount of tokens.
      */
    function pendingRewards() public view returns (uint256) {
        return token.allowance(rewardingWallet, address(this));
    }

    /**
      * To withdraw tokens stuck in the smart contract. Only owner of contract can call this method.
      */
    function withdrawAnyTokens(address _token, address recipient, uint256 amount) public onlyOwner {
        IERC20 anyToken = IERC20(_token);
        anyToken.transfer(recipient, amount);
        
        emit WithdrawToken(recipient, amount);
    }

    /**
      * To withdraw Eth stuck in the contract. Only owner of contract can call this method.
      */
    function withdrawFunds() public onlyOwner {
       payable(_msgSender()).transfer(address(this).balance);
       
       emit Withdraw(_msgSender());
    }

    /**
      * function to get the ETH Balance of contract
      */
    function contracEthBalance() public view returns (uint256) {
        return address(this).balance;
    }

    /**
      * Public function to check the Reward of staker wallet. It takes one argument as input and returns the rewarding amoun.
      */
    function checkReward(address _address) public view returns (uint256) {
        User memory cUser = deposit[_address];
        
        if(block.timestamp + 1 days > cUser.lastClaimTime) {
            uint256 stakedtime = (block.timestamp).sub(cUser.lastClaimTime);
            stakedtime = stakedtime / 1 days;

            uint256 reward = apyTier.mul(stakedtime).mul(cUser.stakedAmount).div(10000).div(365);
            
            return reward;
        } else {
            return 0;
        }
    }
}

File 2 of 8: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

File 3 of 8: IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 8: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

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

File 5 of 8: Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

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

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

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 8: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 7 of 8: SafeMath.sol
pragma solidity ^0.8.0;
// SPDX-License-Identifier: Unlicense

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) {
    // Solidity only automatically asserts when dividing by 0
    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;
  }
}

File 8 of 8: TransferHelper.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeApprove: approve failed'
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::transferFrom: transferFrom failed'
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"wallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"unstaker","type":"address"},{"indexed":false,"internalType":"uint256","name":"unstakeTime","type":"uint256"}],"name":"Emergencyunstake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_lockPeriod","type":"uint256"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"unstaker","type":"address"},{"indexed":false,"internalType":"uint256","name":"unstakeTime","type":"uint256"}],"name":"Unstake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"withdrawer","type":"address"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"withdrawer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawToken","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnstakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"apyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apyTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"checkReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contracEthBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"stakedAmount","type":"uint256"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"depositTime","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"reward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipApyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipStakeState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipUnStakeState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isStakeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUnStakeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"apy","type":"uint256"}],"name":"setApy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setRewardingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"setTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawAnyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260016000806101000a81548160ff0219169083151502179055506001600060016101000a81548160ff0219169083151502179055506001600060026101000a81548160ff0219169083151502179055506106526001553480156200006757600080fd5b5060405162002e5738038062002e5783398181016040528101906200008d91906200023b565b620000ad620000a16200013f60201b60201c565b6200014760201b60201c565b600160078190555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002f8565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200021e81620002c4565b92915050565b6000815190506200023581620002de565b92915050565b600080604083850312156200024f57600080fd5b60006200025f8582860162000224565b925050602062000272858286016200020d565b9150509250929050565b60006200028982620002a4565b9050919050565b60006200029d826200027c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002cf816200027c565b8114620002db57600080fd5b50565b620002e98162000290565b8114620002f557600080fd5b50565b612b4f80620003086000396000f3fe60806040526004361061016a5760003560e01c8063960d77ca116100d1578063db7705561161008a578063eded3fda11610064578063eded3fda1461048b578063f2fde38b146104b6578063f340fa01146104df578063fc0c546a1461052057610171565b8063db7705561461041e578063e8bd290614610435578063eb001d5c1461046057610171565b8063960d77ca14610324578063a694fc3a1461034d578063ab2cd27114610376578063c28449b3146103a1578063c3c90e64146103b8578063ce5067ac146103f557610171565b806345da86621161012357806345da86621461024a5780634e71d92d146102755780634fff54021461028c578063715018a6146102b7578063817b1cd2146102ce5780638da5cb5b146102f957610171565b806306bff6d11461017657806324600fc31461018d57806326a4e8d2146101a4578063368a36c4146101cd5780633b3f5e36146101f657806345a15d641461021f57610171565b3661017157005b600080fd5b34801561018257600080fd5b5061018b61054b565b005b34801561019957600080fd5b506101a26105f3565b005b3480156101b057600080fd5b506101cb60048036038101906101c69190611f53565b610709565b005b3480156101d957600080fd5b506101f460048036038101906101ef9190611f7c565b6107c9565b005b34801561020257600080fd5b5061021d60048036038101906102189190611f7c565b61083c565b005b34801561022b57600080fd5b506102346108c2565b6040516102419190612587565b60405180910390f35b34801561025657600080fd5b5061025f6108d3565b60405161026c91906127bf565b60405180910390f35b34801561028157600080fd5b5061028a6108db565b005b34801561029857600080fd5b506102a1610a8c565b6040516102ae9190612587565b60405180910390f35b3480156102c357600080fd5b506102cc610a9f565b005b3480156102da57600080fd5b506102e3610b27565b6040516102f091906127bf565b60405180910390f35b34801561030557600080fd5b5061030e610b2d565b60405161031b91906124e3565b60405180910390f35b34801561033057600080fd5b5061034b60048036038101906103469190611eb2565b610b57565b005b34801561035957600080fd5b50610374600480360381019061036f9190611f7c565b610c17565b005b34801561038257600080fd5b5061038b610e6a565b60405161039891906127bf565b60405180910390f35b3480156103ad57600080fd5b506103b6610e70565b005b3480156103c457600080fd5b506103df60048036038101906103da9190611eb2565b610f15565b6040516103ec91906127bf565b60405180910390f35b34801561040157600080fd5b5061041c60048036038101906104179190611edb565b611049565b005b34801561042a57600080fd5b506104336111ac565b005b34801561044157600080fd5b5061044a611254565b60405161045791906124e3565b60405180910390f35b34801561046c57600080fd5b5061047561127a565b6040516104829190612587565b60405180910390f35b34801561049757600080fd5b506104a061128d565b6040516104ad91906127bf565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190611eb2565b611363565b005b3480156104eb57600080fd5b5061050660048036038101906105019190611eb2565b61145b565b604051610517959493929190612803565b60405180910390f35b34801561052c57600080fd5b50610535611491565b60405161054291906125a2565b60405180910390f35b6105536114b7565b73ffffffffffffffffffffffffffffffffffffffff16610571610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be9061271f565b60405180910390fd5b600060029054906101000a900460ff1615600060026101000a81548160ff021916908315150217905550565b6105fb6114b7565b73ffffffffffffffffffffffffffffffffffffffff16610619610b2d565b73ffffffffffffffffffffffffffffffffffffffff161461066f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106669061271f565b60405180910390fd5b6106776114b7565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156106bc573d6000803e3d6000fd5b506106c56114b7565b73ffffffffffffffffffffffffffffffffffffffff167ff67611512e0a2d90c96fd3f08dca4971bc45fba9dc679eabe839a32abbe58a8e60405160405180910390a2565b6107116114b7565b73ffffffffffffffffffffffffffffffffffffffff1661072f610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077c9061271f565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6107d16114bf565b600060019054906101000a900460ff16610820576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108179061277f565b60405180910390fd5b61083161082b6114b7565b8261150f565b61083961171b565b50565b6108446114b7565b73ffffffffffffffffffffffffffffffffffffffff16610862610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146108b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108af9061271f565b60405180910390fd5b8060018190555050565b60008054906101000a900460ff1681565b600047905090565b6108e36114bf565b6000600560006108f16114b7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008160000151116109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a89061273f565b60405180910390fd5b600060029054906101000a900460ff16610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f79061265f565b60405180910390fd5b6000610a12610a0d6114b7565b610f15565b9050610a2b82608001518261172590919063ffffffff16565b905060008111610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a67906125df565b60405180910390fd5b610a80610a7b6114b7565b611783565b5050610a8a61171b565b565b600060029054906101000a900460ff1681565b610aa76114b7565b73ffffffffffffffffffffffffffffffffffffffff16610ac5610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b129061271f565b60405180910390fd5b610b256000611901565b565b60025481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b5f6114b7565b73ffffffffffffffffffffffffffffffffffffffff16610b7d610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bca9061271f565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c1f6114bf565b80600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231610c666114b7565b6040518263ffffffff1660e01b8152600401610c8291906124e3565b60206040518083038186803b158015610c9a57600080fd5b505afa158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd29190611fa5565b1015610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a906126bf565b60405180910390fd5b80600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e610d5a6114b7565b306040518363ffffffff1660e01b8152600401610d789291906124fe565b60206040518083038186803b158015610d9057600080fd5b505afa158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc89190611fa5565b1015610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e009061279f565b60405180910390fd5b60008054906101000a900460ff16610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d906126df565b60405180910390fd5b610e5f816119c7565b610e6761171b565b50565b60015481565b610e786114b7565b73ffffffffffffffffffffffffffffffffffffffff16610e96610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee39061271f565b60405180910390fd5b60008054906101000a900460ff16156000806101000a81548160ff021916908315150217905550565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905080606001516201518042610faa9190612888565b111561103e576000610fc9826060015142611b3a90919063ffffffff16565b90506201518081610fda91906128de565b9050600061103161016d611023612710611015876000015161100788600154611b8490919063ffffffff16565b611b8490919063ffffffff16565b611bff90919063ffffffff16565b611bff90919063ffffffff16565b9050809350505050611044565b60009150505b919050565b6110516114b7565b73ffffffffffffffffffffffffffffffffffffffff1661106f610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146110c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bc9061271f565b60405180910390fd5b60008390508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b815260040161110592919061255e565b602060405180830381600087803b15801561111f57600080fd5b505af1158015611133573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111579190611f2a565b508273ffffffffffffffffffffffffffffffffffffffff167f992ee874049a42cae0757a765cd7f641b6028cc35c3478bde8330bf417c3a7a98360405161119e91906127bf565b60405180910390a250505050565b6111b46114b7565b73ffffffffffffffffffffffffffffffffffffffff166111d2610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f9061271f565b60405180910390fd5b600060019054906101000a900460ff1615600060016101000a81548160ff021916908315150217905550565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060019054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16306040518363ffffffff1660e01b815260040161130e9291906124fe565b60206040518083038186803b15801561132657600080fd5b505afa15801561133a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135e9190611fa5565b905090565b61136b6114b7565b73ffffffffffffffffffffffffffffffffffffffff16611389610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d69061271f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561144f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611446906125ff565b60405180910390fd5b61145881611901565b50565b60056020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154905085565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60026007541415611505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc9061275f565b60405180910390fd5b6002600781905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015611599576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115909061269f565b60405180910390fd5b600060029054906101000a900460ff16156115b8576115b783611783565b5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b815260040161161592919061255e565b602060405180830381600087803b15801561162f57600080fd5b505af1158015611643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116679190611f2a565b50816002600082825461167a9190612969565b92505081905550611698828260000154611b3a90919063ffffffff16565b81600001819055506116b7828260010154611b3a90919063ffffffff16565b81600101819055504281600201819055508273ffffffffffffffffffffffffffffffffffffffff167f85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd4260405161170e91906127bf565b60405180910390a2505050565b6001600781905550565b60008082846117349190612888565b905083811015611779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117709061261f565b60405180910390fd5b8091505092915050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006117d183610f15565b90506117ea82600401548261172590919063ffffffff16565b9050611803818360010154611b3a90919063ffffffff16565b826001018190555061181361128d565b811161186e57611869600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168584611c49565b6118b0565b60006118af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a69061267f565b60405180910390fd5b5b428260030181905550600082600401819055507f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d483826040516118f492919061255e565b60405180910390a1505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560006119d56114b7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000611a23611a1e6114b7565b610f15565b9050611a3c83836000015461172590919063ffffffff16565b8260000181905550611a6d81611a5f85856000015461172590919063ffffffff16565b61172590919063ffffffff16565b8260010181905550428260020181905550428260030181905550808260040181905550611ac5600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611abe6114b7565b3086611c49565b8260026000828254611ad79190612888565b92505081905550611ae66114b7565b73ffffffffffffffffffffffffffffffffffffffff167f5af417134f72a9d41143ace85b0a26dce6f550f894f2cbc1eeee8810603d91b68442604051611b2d9291906127da565b60405180910390a2505050565b6000611b7c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d82565b905092915050565b600080831415611b975760009050611bf9565b60008284611ba5919061290f565b9050828482611bb491906128de565b14611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb906126ff565b60405180910390fd5b809150505b92915050565b6000611c4183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611de6565b905092915050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611c7d93929190612527565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611ccb91906124cc565b6000604051808303816000865af19150503d8060008114611d08576040519150601f19603f3d011682016040523d82523d6000602084013e611d0d565b606091505b5091509150818015611d3b5750600081511480611d3a575080806020019051810190611d399190611f2a565b5b5b611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d719061263f565b60405180910390fd5b505050505050565b6000838311158290611dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc191906125bd565b60405180910390fd5b5060008385611dd99190612969565b9050809150509392505050565b60008083118290611e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2491906125bd565b60405180910390fd5b5060008385611e3c91906128de565b9050809150509392505050565b600081359050611e5881612abd565b92915050565b600081519050611e6d81612ad4565b92915050565b600081359050611e8281612aeb565b92915050565b600081359050611e9781612b02565b92915050565b600081519050611eac81612b02565b92915050565b600060208284031215611ec457600080fd5b6000611ed284828501611e49565b91505092915050565b600080600060608486031215611ef057600080fd5b6000611efe86828701611e49565b9350506020611f0f86828701611e49565b9250506040611f2086828701611e88565b9150509250925092565b600060208284031215611f3c57600080fd5b6000611f4a84828501611e5e565b91505092915050565b600060208284031215611f6557600080fd5b6000611f7384828501611e73565b91505092915050565b600060208284031215611f8e57600080fd5b6000611f9c84828501611e88565b91505092915050565b600060208284031215611fb757600080fd5b6000611fc584828501611e9d565b91505092915050565b611fd78161299d565b82525050565b611fe6816129af565b82525050565b6000611ff782612856565b612001818561286c565b9350612011818560208601612a1b565b80840191505092915050565b612026816129f7565b82525050565b600061203782612861565b6120418185612877565b9350612051818560208601612a1b565b61205a81612aac565b840191505092915050565b6000612072601383612877565b91507f43757272656e74205265776172642049732030000000000000000000000000006000830152602082019050919050565b60006120b2602683612877565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612118601b83612877565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b6000612158603183612877565b91507f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008301527f616e7366657246726f6d206661696c65640000000000000000000000000000006020830152604082019050919050565b60006121be601283612877565b91507f415059206973206e6f7420656e61626c656400000000000000000000000000006000830152602082019050919050565b60006121fe601d83612877565b91507f50656e64696e672052657761726473204e6f7420416c6c6f63617465640000006000830152602082019050919050565b600061223e601d83612877565b91507f5374616b6520466972737420546f20556e7374616b6520546f6b656e730000006000830152602082019050919050565b600061227e602283612877565b91507f596f7520446f204e6f7420486176652053756666696369656e742042616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122e4601183612877565b91507f5374616b696e67204973205061757365640000000000000000000000000000006000830152602082019050919050565b6000612324602183612877565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061238a602083612877565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006123ca600a83612877565b91507f4e6f74205374616b6564000000000000000000000000000000000000000000006000830152602082019050919050565b600061240a601f83612877565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b600061244a601383612877565b91507f556e7374616b696e6720497320506175736564000000000000000000000000006000830152602082019050919050565b600061248a601383612877565b91507f546f6b656e73204e6f7420417070726f766564000000000000000000000000006000830152602082019050919050565b6124c6816129ed565b82525050565b60006124d88284611fec565b915081905092915050565b60006020820190506124f86000830184611fce565b92915050565b60006040820190506125136000830185611fce565b6125206020830184611fce565b9392505050565b600060608201905061253c6000830186611fce565b6125496020830185611fce565b61255660408301846124bd565b949350505050565b60006040820190506125736000830185611fce565b61258060208301846124bd565b9392505050565b600060208201905061259c6000830184611fdd565b92915050565b60006020820190506125b7600083018461201d565b92915050565b600060208201905081810360008301526125d7818461202c565b905092915050565b600060208201905081810360008301526125f881612065565b9050919050565b60006020820190508181036000830152612618816120a5565b9050919050565b600060208201905081810360008301526126388161210b565b9050919050565b600060208201905081810360008301526126588161214b565b9050919050565b60006020820190508181036000830152612678816121b1565b9050919050565b60006020820190508181036000830152612698816121f1565b9050919050565b600060208201905081810360008301526126b881612231565b9050919050565b600060208201905081810360008301526126d881612271565b9050919050565b600060208201905081810360008301526126f8816122d7565b9050919050565b6000602082019050818103600083015261271881612317565b9050919050565b600060208201905081810360008301526127388161237d565b9050919050565b60006020820190508181036000830152612758816123bd565b9050919050565b60006020820190508181036000830152612778816123fd565b9050919050565b600060208201905081810360008301526127988161243d565b9050919050565b600060208201905081810360008301526127b88161247d565b9050919050565b60006020820190506127d460008301846124bd565b92915050565b60006040820190506127ef60008301856124bd565b6127fc60208301846124bd565b9392505050565b600060a08201905061281860008301886124bd565b61282560208301876124bd565b61283260408301866124bd565b61283f60608301856124bd565b61284c60808301846124bd565b9695505050505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612893826129ed565b915061289e836129ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128d3576128d2612a4e565b5b828201905092915050565b60006128e9826129ed565b91506128f4836129ed565b92508261290457612903612a7d565b5b828204905092915050565b600061291a826129ed565b9150612925836129ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561295e5761295d612a4e565b5b828202905092915050565b6000612974826129ed565b915061297f836129ed565b92508282101561299257612991612a4e565b5b828203905092915050565b60006129a8826129cd565b9050919050565b60008115159050919050565b60006129c68261299d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612a0282612a09565b9050919050565b6000612a14826129cd565b9050919050565b60005b83811015612a39578082015181840152602081019050612a1e565b83811115612a48576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b612ac68161299d565b8114612ad157600080fd5b50565b612add816129af565b8114612ae857600080fd5b50565b612af4816129bb565b8114612aff57600080fd5b50565b612b0b816129ed565b8114612b1657600080fd5b5056fea2646970667358221220805ed06da191663d4e0d53bb5d654df6b5684a885aa0c13ebe3e10d5a1977eef64736f6c6343000800003300000000000000000000000000c2999c8b2adf4abc835cc63209533973718eb100000000000000000000000061d966e1a54ff9c6b4cd083b5ec968b366850f65

Deployed Bytecode

0x60806040526004361061016a5760003560e01c8063960d77ca116100d1578063db7705561161008a578063eded3fda11610064578063eded3fda1461048b578063f2fde38b146104b6578063f340fa01146104df578063fc0c546a1461052057610171565b8063db7705561461041e578063e8bd290614610435578063eb001d5c1461046057610171565b8063960d77ca14610324578063a694fc3a1461034d578063ab2cd27114610376578063c28449b3146103a1578063c3c90e64146103b8578063ce5067ac146103f557610171565b806345da86621161012357806345da86621461024a5780634e71d92d146102755780634fff54021461028c578063715018a6146102b7578063817b1cd2146102ce5780638da5cb5b146102f957610171565b806306bff6d11461017657806324600fc31461018d57806326a4e8d2146101a4578063368a36c4146101cd5780633b3f5e36146101f657806345a15d641461021f57610171565b3661017157005b600080fd5b34801561018257600080fd5b5061018b61054b565b005b34801561019957600080fd5b506101a26105f3565b005b3480156101b057600080fd5b506101cb60048036038101906101c69190611f53565b610709565b005b3480156101d957600080fd5b506101f460048036038101906101ef9190611f7c565b6107c9565b005b34801561020257600080fd5b5061021d60048036038101906102189190611f7c565b61083c565b005b34801561022b57600080fd5b506102346108c2565b6040516102419190612587565b60405180910390f35b34801561025657600080fd5b5061025f6108d3565b60405161026c91906127bf565b60405180910390f35b34801561028157600080fd5b5061028a6108db565b005b34801561029857600080fd5b506102a1610a8c565b6040516102ae9190612587565b60405180910390f35b3480156102c357600080fd5b506102cc610a9f565b005b3480156102da57600080fd5b506102e3610b27565b6040516102f091906127bf565b60405180910390f35b34801561030557600080fd5b5061030e610b2d565b60405161031b91906124e3565b60405180910390f35b34801561033057600080fd5b5061034b60048036038101906103469190611eb2565b610b57565b005b34801561035957600080fd5b50610374600480360381019061036f9190611f7c565b610c17565b005b34801561038257600080fd5b5061038b610e6a565b60405161039891906127bf565b60405180910390f35b3480156103ad57600080fd5b506103b6610e70565b005b3480156103c457600080fd5b506103df60048036038101906103da9190611eb2565b610f15565b6040516103ec91906127bf565b60405180910390f35b34801561040157600080fd5b5061041c60048036038101906104179190611edb565b611049565b005b34801561042a57600080fd5b506104336111ac565b005b34801561044157600080fd5b5061044a611254565b60405161045791906124e3565b60405180910390f35b34801561046c57600080fd5b5061047561127a565b6040516104829190612587565b60405180910390f35b34801561049757600080fd5b506104a061128d565b6040516104ad91906127bf565b60405180910390f35b3480156104c257600080fd5b506104dd60048036038101906104d89190611eb2565b611363565b005b3480156104eb57600080fd5b5061050660048036038101906105019190611eb2565b61145b565b604051610517959493929190612803565b60405180910390f35b34801561052c57600080fd5b50610535611491565b60405161054291906125a2565b60405180910390f35b6105536114b7565b73ffffffffffffffffffffffffffffffffffffffff16610571610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be9061271f565b60405180910390fd5b600060029054906101000a900460ff1615600060026101000a81548160ff021916908315150217905550565b6105fb6114b7565b73ffffffffffffffffffffffffffffffffffffffff16610619610b2d565b73ffffffffffffffffffffffffffffffffffffffff161461066f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106669061271f565b60405180910390fd5b6106776114b7565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156106bc573d6000803e3d6000fd5b506106c56114b7565b73ffffffffffffffffffffffffffffffffffffffff167ff67611512e0a2d90c96fd3f08dca4971bc45fba9dc679eabe839a32abbe58a8e60405160405180910390a2565b6107116114b7565b73ffffffffffffffffffffffffffffffffffffffff1661072f610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077c9061271f565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6107d16114bf565b600060019054906101000a900460ff16610820576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108179061277f565b60405180910390fd5b61083161082b6114b7565b8261150f565b61083961171b565b50565b6108446114b7565b73ffffffffffffffffffffffffffffffffffffffff16610862610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146108b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108af9061271f565b60405180910390fd5b8060018190555050565b60008054906101000a900460ff1681565b600047905090565b6108e36114bf565b6000600560006108f16114b7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060008160000151116109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a89061273f565b60405180910390fd5b600060029054906101000a900460ff16610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f79061265f565b60405180910390fd5b6000610a12610a0d6114b7565b610f15565b9050610a2b82608001518261172590919063ffffffff16565b905060008111610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a67906125df565b60405180910390fd5b610a80610a7b6114b7565b611783565b5050610a8a61171b565b565b600060029054906101000a900460ff1681565b610aa76114b7565b73ffffffffffffffffffffffffffffffffffffffff16610ac5610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b129061271f565b60405180910390fd5b610b256000611901565b565b60025481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b5f6114b7565b73ffffffffffffffffffffffffffffffffffffffff16610b7d610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bca9061271f565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c1f6114bf565b80600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231610c666114b7565b6040518263ffffffff1660e01b8152600401610c8291906124e3565b60206040518083038186803b158015610c9a57600080fd5b505afa158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd29190611fa5565b1015610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a906126bf565b60405180910390fd5b80600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e610d5a6114b7565b306040518363ffffffff1660e01b8152600401610d789291906124fe565b60206040518083038186803b158015610d9057600080fd5b505afa158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc89190611fa5565b1015610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e009061279f565b60405180910390fd5b60008054906101000a900460ff16610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d906126df565b60405180910390fd5b610e5f816119c7565b610e6761171b565b50565b60015481565b610e786114b7565b73ffffffffffffffffffffffffffffffffffffffff16610e96610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee39061271f565b60405180910390fd5b60008054906101000a900460ff16156000806101000a81548160ff021916908315150217905550565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905080606001516201518042610faa9190612888565b111561103e576000610fc9826060015142611b3a90919063ffffffff16565b90506201518081610fda91906128de565b9050600061103161016d611023612710611015876000015161100788600154611b8490919063ffffffff16565b611b8490919063ffffffff16565b611bff90919063ffffffff16565b611bff90919063ffffffff16565b9050809350505050611044565b60009150505b919050565b6110516114b7565b73ffffffffffffffffffffffffffffffffffffffff1661106f610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146110c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bc9061271f565b60405180910390fd5b60008390508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b815260040161110592919061255e565b602060405180830381600087803b15801561111f57600080fd5b505af1158015611133573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111579190611f2a565b508273ffffffffffffffffffffffffffffffffffffffff167f992ee874049a42cae0757a765cd7f641b6028cc35c3478bde8330bf417c3a7a98360405161119e91906127bf565b60405180910390a250505050565b6111b46114b7565b73ffffffffffffffffffffffffffffffffffffffff166111d2610b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f9061271f565b60405180910390fd5b600060019054906101000a900460ff1615600060016101000a81548160ff021916908315150217905550565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060019054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16306040518363ffffffff1660e01b815260040161130e9291906124fe565b60206040518083038186803b15801561132657600080fd5b505afa15801561133a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135e9190611fa5565b905090565b61136b6114b7565b73ffffffffffffffffffffffffffffffffffffffff16611389610b2d565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d69061271f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561144f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611446906125ff565b60405180910390fd5b61145881611901565b50565b60056020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154905085565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60026007541415611505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc9061275f565b60405180910390fd5b6002600781905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015611599576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115909061269f565b60405180910390fd5b600060029054906101000a900460ff16156115b8576115b783611783565b5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b815260040161161592919061255e565b602060405180830381600087803b15801561162f57600080fd5b505af1158015611643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116679190611f2a565b50816002600082825461167a9190612969565b92505081905550611698828260000154611b3a90919063ffffffff16565b81600001819055506116b7828260010154611b3a90919063ffffffff16565b81600101819055504281600201819055508273ffffffffffffffffffffffffffffffffffffffff167f85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd4260405161170e91906127bf565b60405180910390a2505050565b6001600781905550565b60008082846117349190612888565b905083811015611779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117709061261f565b60405180910390fd5b8091505092915050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006117d183610f15565b90506117ea82600401548261172590919063ffffffff16565b9050611803818360010154611b3a90919063ffffffff16565b826001018190555061181361128d565b811161186e57611869600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168584611c49565b6118b0565b60006118af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a69061267f565b60405180910390fd5b5b428260030181905550600082600401819055507f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d483826040516118f492919061255e565b60405180910390a1505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560006119d56114b7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000611a23611a1e6114b7565b610f15565b9050611a3c83836000015461172590919063ffffffff16565b8260000181905550611a6d81611a5f85856000015461172590919063ffffffff16565b61172590919063ffffffff16565b8260010181905550428260020181905550428260030181905550808260040181905550611ac5600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611abe6114b7565b3086611c49565b8260026000828254611ad79190612888565b92505081905550611ae66114b7565b73ffffffffffffffffffffffffffffffffffffffff167f5af417134f72a9d41143ace85b0a26dce6f550f894f2cbc1eeee8810603d91b68442604051611b2d9291906127da565b60405180910390a2505050565b6000611b7c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d82565b905092915050565b600080831415611b975760009050611bf9565b60008284611ba5919061290f565b9050828482611bb491906128de565b14611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb906126ff565b60405180910390fd5b809150505b92915050565b6000611c4183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611de6565b905092915050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611c7d93929190612527565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611ccb91906124cc565b6000604051808303816000865af19150503d8060008114611d08576040519150601f19603f3d011682016040523d82523d6000602084013e611d0d565b606091505b5091509150818015611d3b5750600081511480611d3a575080806020019051810190611d399190611f2a565b5b5b611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d719061263f565b60405180910390fd5b505050505050565b6000838311158290611dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc191906125bd565b60405180910390fd5b5060008385611dd99190612969565b9050809150509392505050565b60008083118290611e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2491906125bd565b60405180910390fd5b5060008385611e3c91906128de565b9050809150509392505050565b600081359050611e5881612abd565b92915050565b600081519050611e6d81612ad4565b92915050565b600081359050611e8281612aeb565b92915050565b600081359050611e9781612b02565b92915050565b600081519050611eac81612b02565b92915050565b600060208284031215611ec457600080fd5b6000611ed284828501611e49565b91505092915050565b600080600060608486031215611ef057600080fd5b6000611efe86828701611e49565b9350506020611f0f86828701611e49565b9250506040611f2086828701611e88565b9150509250925092565b600060208284031215611f3c57600080fd5b6000611f4a84828501611e5e565b91505092915050565b600060208284031215611f6557600080fd5b6000611f7384828501611e73565b91505092915050565b600060208284031215611f8e57600080fd5b6000611f9c84828501611e88565b91505092915050565b600060208284031215611fb757600080fd5b6000611fc584828501611e9d565b91505092915050565b611fd78161299d565b82525050565b611fe6816129af565b82525050565b6000611ff782612856565b612001818561286c565b9350612011818560208601612a1b565b80840191505092915050565b612026816129f7565b82525050565b600061203782612861565b6120418185612877565b9350612051818560208601612a1b565b61205a81612aac565b840191505092915050565b6000612072601383612877565b91507f43757272656e74205265776172642049732030000000000000000000000000006000830152602082019050919050565b60006120b2602683612877565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612118601b83612877565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b6000612158603183612877565b91507f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008301527f616e7366657246726f6d206661696c65640000000000000000000000000000006020830152604082019050919050565b60006121be601283612877565b91507f415059206973206e6f7420656e61626c656400000000000000000000000000006000830152602082019050919050565b60006121fe601d83612877565b91507f50656e64696e672052657761726473204e6f7420416c6c6f63617465640000006000830152602082019050919050565b600061223e601d83612877565b91507f5374616b6520466972737420546f20556e7374616b6520546f6b656e730000006000830152602082019050919050565b600061227e602283612877565b91507f596f7520446f204e6f7420486176652053756666696369656e742042616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122e4601183612877565b91507f5374616b696e67204973205061757365640000000000000000000000000000006000830152602082019050919050565b6000612324602183612877565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061238a602083612877565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006123ca600a83612877565b91507f4e6f74205374616b6564000000000000000000000000000000000000000000006000830152602082019050919050565b600061240a601f83612877565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b600061244a601383612877565b91507f556e7374616b696e6720497320506175736564000000000000000000000000006000830152602082019050919050565b600061248a601383612877565b91507f546f6b656e73204e6f7420417070726f766564000000000000000000000000006000830152602082019050919050565b6124c6816129ed565b82525050565b60006124d88284611fec565b915081905092915050565b60006020820190506124f86000830184611fce565b92915050565b60006040820190506125136000830185611fce565b6125206020830184611fce565b9392505050565b600060608201905061253c6000830186611fce565b6125496020830185611fce565b61255660408301846124bd565b949350505050565b60006040820190506125736000830185611fce565b61258060208301846124bd565b9392505050565b600060208201905061259c6000830184611fdd565b92915050565b60006020820190506125b7600083018461201d565b92915050565b600060208201905081810360008301526125d7818461202c565b905092915050565b600060208201905081810360008301526125f881612065565b9050919050565b60006020820190508181036000830152612618816120a5565b9050919050565b600060208201905081810360008301526126388161210b565b9050919050565b600060208201905081810360008301526126588161214b565b9050919050565b60006020820190508181036000830152612678816121b1565b9050919050565b60006020820190508181036000830152612698816121f1565b9050919050565b600060208201905081810360008301526126b881612231565b9050919050565b600060208201905081810360008301526126d881612271565b9050919050565b600060208201905081810360008301526126f8816122d7565b9050919050565b6000602082019050818103600083015261271881612317565b9050919050565b600060208201905081810360008301526127388161237d565b9050919050565b60006020820190508181036000830152612758816123bd565b9050919050565b60006020820190508181036000830152612778816123fd565b9050919050565b600060208201905081810360008301526127988161243d565b9050919050565b600060208201905081810360008301526127b88161247d565b9050919050565b60006020820190506127d460008301846124bd565b92915050565b60006040820190506127ef60008301856124bd565b6127fc60208301846124bd565b9392505050565b600060a08201905061281860008301886124bd565b61282560208301876124bd565b61283260408301866124bd565b61283f60608301856124bd565b61284c60808301846124bd565b9695505050505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612893826129ed565b915061289e836129ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128d3576128d2612a4e565b5b828201905092915050565b60006128e9826129ed565b91506128f4836129ed565b92508261290457612903612a7d565b5b828204905092915050565b600061291a826129ed565b9150612925836129ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561295e5761295d612a4e565b5b828202905092915050565b6000612974826129ed565b915061297f836129ed565b92508282101561299257612991612a4e565b5b828203905092915050565b60006129a8826129cd565b9050919050565b60008115159050919050565b60006129c68261299d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612a0282612a09565b9050919050565b6000612a14826129cd565b9050919050565b60005b83811015612a39578082015181840152602081019050612a1e565b83811115612a48576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b612ac68161299d565b8114612ad157600080fd5b50565b612add816129af565b8114612ae857600080fd5b50565b612af4816129bb565b8114612aff57600080fd5b50565b612b0b816129ed565b8114612b1657600080fd5b5056fea2646970667358221220805ed06da191663d4e0d53bb5d654df6b5684a885aa0c13ebe3e10d5a1977eef64736f6c63430008000033

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

00000000000000000000000000c2999c8b2adf4abc835cc63209533973718eb100000000000000000000000061d966e1a54ff9c6b4cd083b5ec968b366850f65

-----Decoded View---------------
Arg [0] : _token (address): 0x00C2999c8B2AdF4ABC835cc63209533973718eB1
Arg [1] : wallet (address): 0x61d966e1a54Ff9C6B4cd083B5Ec968B366850f65

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000c2999c8b2adf4abc835cc63209533973718eb1
Arg [1] : 00000000000000000000000061d966e1a54ff9c6b4cd083b5ec968b366850f65


Deployed Bytecode Sourcemap

1115:6599:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1436:84;;;;;;;;;;;;;:::i;:::-;;6725:155;;;;;;;;;;;;;:::i;:::-;;2429:88;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3866:170;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1636:76;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;269:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6955:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5627:385;;;;;;;;;;;;;:::i;:::-;;347:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1598:92:2;;;;;;;;;;;;;:::i;:::-;;422:26:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;966:85:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1829:102:6;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2638:338;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;387:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2030:90;;;;;;;;;;;;;:::i;:::-;;7208:504;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6364:246;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2223:96;;;;;;;;;;;;;:::i;:::-;;480:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;307:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6113:127;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1839:189:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;516:39:6;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;455:19;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1436:84;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1503:10:6::1;;;;;;;;;;;1502:11;1489:10;;:24;;;;;;;;;;;;;;;;;;1436:84::o:0;6725:155::-;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;6784:12:6::1;:10;:12::i;:::-;6776:30;;:53;6807:21;6776:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;6860:12;:10;:12::i;:::-;6851:22;;;;;;;;;;;;6725:155::o:0;2429:88::-;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2504:6:6::1;2496:5;;:14;;;;;;;;;;;;;;;;;;2429:88:::0;:::o;3866:170::-;2246:21:4;:19;:21::i;:::-;3943:15:6::1;;;;;;;;;;;3935:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;3993:36;4008:12;:10;:12::i;:::-;4022:6;3993:14;:36::i;:::-;2288:20:4::0;:18;:20::i;:::-;3866:170:6;:::o;1636:76::-;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1702:3:6::1;1692:7;:13;;;;1636:76:::0;:::o;269:32::-;;;;;;;;;;;;:::o;6955:104::-;7005:7;7031:21;7024:28;;6955:104;:::o;5627:385::-;2246:21:4;:19;:21::i;:::-;5674:16:6::1;5693:7;:21;5701:12;:10;:12::i;:::-;5693:21;;;;;;;;;;;;;;;5674:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;5752:1;5732:4;:17;;;:21;5724:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;5786:10;;;;;;;;;;;5778:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;5830:14;5847:25;5859:12;:10;:12::i;:::-;5847:11;:25::i;:::-;5830:42;;5891:23;5902:4;:11;;;5891:6;:10;;:23;;;;:::i;:::-;5882:32;;5941:1;5932:6;:10;5924:42;;;;;;;;;;;;:::i;:::-;;;;;;;;;5985:20;5992:12;:10;:12::i;:::-;5985:6;:20::i;:::-;2277:1:4;;2288:20:::0;:18;:20::i;:::-;5627:385:6:o;347:29::-;;;;;;;;;;;;;:::o;1598:92:2:-;1189:12;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;422:26:6:-;;;;:::o;966:85:2:-;1012:7;1038:6;;;;;;;;;;;1031:13;;966:85;:::o;1829:102:6:-;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1918:6:6::1;1900:15;;:24;;;;;;;;;;;;;;;;;;1829:102:::0;:::o;2638:338::-;2246:21:4;:19;:21::i;:::-;2741:7:6::1;2708:5;;;;;;;;;;;:15;;;2724:12;:10;:12::i;:::-;2708:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40;;2700:87;;;;;;;;;;;;:::i;:::-;;;;;;;;;2853:7;2805:5;;;;;;;;;;;:15;;;2821:12;:10;:12::i;:::-;2843:4;2805:44;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:55;;2797:87;;;;;;;;;;;;:::i;:::-;;;;;;;;;2902:13;::::0;::::1;;;;;;;;2894:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;2948:21;2961:7;2948:12;:21::i;:::-;2288:20:4::0;:18;:20::i;:::-;2638:338:6;:::o;387:29::-;;;;:::o;2030:90::-;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2100:13:6::1;::::0;::::1;;;;;;;;2099:14;2083:13;::::0;:30:::1;;;;;;;;;;;;;;;;;;2030:90::o:0;7208:504::-;7268:7;7287:17;7307:7;:17;7315:8;7307:17;;;;;;;;;;;;;;;7287:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7373:5;:19;;;7364:6;7346:15;:24;;;;:::i;:::-;:46;7343:363;;;7408:18;7429:42;7451:5;:19;;;7430:15;7429:21;;:42;;;;:::i;:::-;7408:63;;7511:6;7498:10;:19;;;;:::i;:::-;7485:32;;7532:14;7549:67;7612:3;7549:58;7601:5;7549:47;7577:5;:18;;;7549:23;7561:10;7549:7;;:11;;:23;;;;:::i;:::-;:27;;:47;;;;:::i;:::-;:51;;:58;;;;:::i;:::-;:62;;:67;;;;:::i;:::-;7532:84;;7650:6;7643:13;;;;;;;7343:363;7694:1;7687:8;;;7208:504;;;;:::o;6364:246::-;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;6469:15:6::1;6494:6;6469:32;;6511:8;:17;;;6529:9;6540:6;6511:36;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6585:9;6571:32;;;6596:6;6571:32;;;;;;:::i;:::-;;;;;;;;1248:1:2;6364:246:6::0;;;:::o;2223:96::-;1189:12:2;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2297:15:6::1;;;;;;;;;;;2296:16;2278:15;;:34;;;;;;;;;;;;;;;;;;2223:96::o:0;480:30::-;;;;;;;;;;;;;:::o;307:34::-;;;;;;;;;;;;;:::o;6113:127::-;6160:7;6186:5;;;;;;;;;;;:15;;;6202;;;;;;;;;;;6227:4;6186:47;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6179:54;;6113:127;:::o;1839:189:2:-;1189:12;:10;:12::i;:::-;1178:23;;:7;:5;:7::i;:::-;:23;;;1170:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1947:1:::1;1927:22;;:8;:22;;;;1919:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;2002:19;2012:8;2002:9;:19::i;:::-;1839:189:::0;:::o;516:39:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;455:19::-;;;;;;;;;;;;;:::o;586:96:0:-;639:7;665:10;658:17;;586:96;:::o;2321:287:4:-;1744:1;2453:7;;:19;;2445:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1744:1;2583:7;:18;;;;2321:287::o;4175:565:6:-;4252:18;4273:7;:17;4281:8;4273:17;;;;;;;;;;;;;;;4252:38;;4330:6;4308:5;:18;;;:28;;4300:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;4384:10;;;;;;;;;;;4381:56;;;4410:16;4417:8;4410:6;:16::i;:::-;4381:56;4453:5;;;;;;;;;;;:14;;;4468:8;4478:6;4453:32;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4511:6;4496:11;;:21;;;;;;;:::i;:::-;;;;;;;;4549:30;4572:6;4549:5;:18;;;:22;;:30;;;;:::i;:::-;4528:5;:18;;:51;;;;4609:29;4631:6;4609:5;:17;;;:21;;:29;;;;:::i;:::-;4589:5;:17;;:49;;;;4668:15;4648:5;:17;;:35;;;;4707:8;4699:34;;;4717:15;4699:34;;;;;;:::i;:::-;;;;;;;;4175:565;;;:::o;2614:209:4:-;1701:1;2794:7;:22;;;;2614:209::o;288:162:5:-;346:7;361:9;377:1;373;:5;;;;:::i;:::-;361:17;;397:1;392;:6;;384:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;444:1;437:8;;;288:162;;;;:::o;4863:690:6:-;4916:17;4936:7;:17;4944:8;4936:17;;;;;;;;;;;;;;;4916:37;;4972:26;5001:21;5013:8;5001:11;:21::i;:::-;4972:50;;5053:35;5076:4;:11;;;5053:18;:22;;:35;;;;:::i;:::-;5032:56;;5117:40;5138:18;5117:4;:16;;;:20;;:40;;;;:::i;:::-;5098:4;:16;;:59;;;;5193:16;:14;:16::i;:::-;5171:18;:38;5168:240;;5225:94;5265:5;;;;;;;;;;;5273:15;;;;;;;;;;;5290:8;5300:18;5225:31;:94::i;:::-;5168:240;;;5358:5;5350:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;5168:240;5447:15;5426:4;:18;;:36;;;;5486:1;5472:4;:11;;:15;;;;5511:35;5517:8;5527:18;5511:35;;;;;;;:::i;:::-;;;;;;;;4863:690;;;:::o;2034:169:2:-;2089:16;2108:6;;;;;;;;;;;2089:25;;2133:8;2124:6;;:17;;;;;;;;;;;;;;;;;;2187:8;2156:40;;2177:8;2156:40;;;;;;;;;;;;2034:169;;:::o;3127:634:6:-;3193:18;3214:7;:21;3222:12;:10;:12::i;:::-;3214:21;;;;;;;;;;;;;;;3193:42;;3245:18;3266:25;3278:12;:10;:12::i;:::-;3266:11;:25::i;:::-;3245:46;;3323:31;3346:7;3323:5;:18;;;:22;;:31;;;;:::i;:::-;3302:5;:18;;:52;;;;3384:47;3420:10;3384:31;3407:7;3384:5;:18;;;:22;;:31;;;;:::i;:::-;:35;;:47;;;;:::i;:::-;3364:5;:17;;:67;;;;3461:15;3441:5;:17;;:35;;;;3508:15;3486:5;:19;;:37;;;;3548:10;3533:5;:12;;:25;;;;3569:85;3609:5;;;;;;;;;;;3617:12;:10;:12::i;:::-;3639:4;3646:7;3569:31;:85::i;:::-;3680:7;3665:11;;:22;;;;;;;:::i;:::-;;;;;;;;3715:12;:10;:12::i;:::-;3709:45;;;3729:7;3738:15;3709:45;;;;;;;:::i;:::-;;;;;;;;3127:634;;;:::o;694:128:5:-;752:7;774:43;778:1;781;774:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;767:50;;694:128;;;;:::o;1479:419::-;1537:7;1767:1;1762;:6;1758:35;;;1785:1;1778:8;;;;1758:35;1799:9;1815:1;1811;:5;;;;:::i;:::-;1799:17;;1839:1;1834;1830;:5;;;;:::i;:::-;:10;1822:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;1892:1;1885:8;;;1479:419;;;;;:::o;2329:124::-;2387:7;2409:39;2413:1;2416;2409:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;2402:46;;2329:124;;;;:::o;972:486:7:-;1190:12;1204:17;1225:5;:10;;1259;1271:4;1277:2;1281:5;1236:51;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1225:63;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1189:99;;;;1319:7;:57;;;;;1346:1;1331:4;:11;:16;:44;;;;1362:4;1351:24;;;;;;;;;;;;:::i;:::-;1331:44;1319:57;1298:153;;;;;;;;;;;;:::i;:::-;;;;;;;;;972:486;;;;;;:::o;1086:173:5:-;1172:7;1200:1;1195;:6;;1203:12;1187:29;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;1222:9;1238:1;1234;:5;;;;:::i;:::-;1222:17;;1253:1;1246:8;;;1086:173;;;;;:::o;2904:316::-;2990:7;3079:1;3075;:5;3082:12;3067:28;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;3101:9;3117:1;3113;:5;;;;:::i;:::-;3101:17;;3214:1;3207:8;;;2904:316;;;;;:::o;7:139:8:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:137::-;;237:6;231:13;222:22;;253:30;277:5;253:30;:::i;:::-;212:77;;;;:::o;295:165::-;;392:6;379:20;370:29;;408:46;448:5;408:46;:::i;:::-;360:100;;;;:::o;466:139::-;;550:6;537:20;528:29;;566:33;593:5;566:33;:::i;:::-;518:87;;;;:::o;611:143::-;;699:6;693:13;684:22;;715:33;742:5;715:33;:::i;:::-;674:80;;;;:::o;760:262::-;;868:2;856:9;847:7;843:23;839:32;836:2;;;884:1;881;874:12;836:2;927:1;952:53;997:7;988:6;977:9;973:22;952:53;:::i;:::-;942:63;;898:117;826:196;;;;:::o;1028:552::-;;;;1170:2;1158:9;1149:7;1145:23;1141:32;1138:2;;;1186:1;1183;1176:12;1138:2;1229:1;1254:53;1299:7;1290:6;1279:9;1275:22;1254:53;:::i;:::-;1244:63;;1200:117;1356:2;1382:53;1427:7;1418:6;1407:9;1403:22;1382:53;:::i;:::-;1372:63;;1327:118;1484:2;1510:53;1555:7;1546:6;1535:9;1531:22;1510:53;:::i;:::-;1500:63;;1455:118;1128:452;;;;;:::o;1586:278::-;;1702:2;1690:9;1681:7;1677:23;1673:32;1670:2;;;1718:1;1715;1708:12;1670:2;1761:1;1786:61;1839:7;1830:6;1819:9;1815:22;1786:61;:::i;:::-;1776:71;;1732:125;1660:204;;;;:::o;1870:288::-;;1991:2;1979:9;1970:7;1966:23;1962:32;1959:2;;;2007:1;2004;1997:12;1959:2;2050:1;2075:66;2133:7;2124:6;2113:9;2109:22;2075:66;:::i;:::-;2065:76;;2021:130;1949:209;;;;:::o;2164:262::-;;2272:2;2260:9;2251:7;2247:23;2243:32;2240:2;;;2288:1;2285;2278:12;2240:2;2331:1;2356:53;2401:7;2392:6;2381:9;2377:22;2356:53;:::i;:::-;2346:63;;2302:117;2230:196;;;;:::o;2432:284::-;;2551:2;2539:9;2530:7;2526:23;2522:32;2519:2;;;2567:1;2564;2557:12;2519:2;2610:1;2635:64;2691:7;2682:6;2671:9;2667:22;2635:64;:::i;:::-;2625:74;;2581:128;2509:207;;;;:::o;2722:118::-;2809:24;2827:5;2809:24;:::i;:::-;2804:3;2797:37;2787:53;;:::o;2846:109::-;2927:21;2942:5;2927:21;:::i;:::-;2922:3;2915:34;2905:50;;:::o;2961:373::-;;3093:38;3125:5;3093:38;:::i;:::-;3147:88;3228:6;3223:3;3147:88;:::i;:::-;3140:95;;3244:52;3289:6;3284:3;3277:4;3270:5;3266:16;3244:52;:::i;:::-;3321:6;3316:3;3312:16;3305:23;;3069:265;;;;;:::o;3340:157::-;3440:50;3484:5;3440:50;:::i;:::-;3435:3;3428:63;3418:79;;:::o;3503:364::-;;3619:39;3652:5;3619:39;:::i;:::-;3674:71;3738:6;3733:3;3674:71;:::i;:::-;3667:78;;3754:52;3799:6;3794:3;3787:4;3780:5;3776:16;3754:52;:::i;:::-;3831:29;3853:6;3831:29;:::i;:::-;3826:3;3822:39;3815:46;;3595:272;;;;;:::o;3873:317::-;;4036:67;4100:2;4095:3;4036:67;:::i;:::-;4029:74;;4133:21;4129:1;4124:3;4120:11;4113:42;4181:2;4176:3;4172:12;4165:19;;4019:171;;;:::o;4196:370::-;;4359:67;4423:2;4418:3;4359:67;:::i;:::-;4352:74;;4456:34;4452:1;4447:3;4443:11;4436:55;4522:8;4517:2;4512:3;4508:12;4501:30;4557:2;4552:3;4548:12;4541:19;;4342:224;;;:::o;4572:325::-;;4735:67;4799:2;4794:3;4735:67;:::i;:::-;4728:74;;4832:29;4828:1;4823:3;4819:11;4812:50;4888:2;4883:3;4879:12;4872:19;;4718:179;;;:::o;4903:381::-;;5066:67;5130:2;5125:3;5066:67;:::i;:::-;5059:74;;5163:34;5159:1;5154:3;5150:11;5143:55;5229:19;5224:2;5219:3;5215:12;5208:41;5275:2;5270:3;5266:12;5259:19;;5049:235;;;:::o;5290:316::-;;5453:67;5517:2;5512:3;5453:67;:::i;:::-;5446:74;;5550:20;5546:1;5541:3;5537:11;5530:41;5597:2;5592:3;5588:12;5581:19;;5436:170;;;:::o;5612:327::-;;5775:67;5839:2;5834:3;5775:67;:::i;:::-;5768:74;;5872:31;5868:1;5863:3;5859:11;5852:52;5930:2;5925:3;5921:12;5914:19;;5758:181;;;:::o;5945:327::-;;6108:67;6172:2;6167:3;6108:67;:::i;:::-;6101:74;;6205:31;6201:1;6196:3;6192:11;6185:52;6263:2;6258:3;6254:12;6247:19;;6091:181;;;:::o;6278:366::-;;6441:67;6505:2;6500:3;6441:67;:::i;:::-;6434:74;;6538:34;6534:1;6529:3;6525:11;6518:55;6604:4;6599:2;6594:3;6590:12;6583:26;6635:2;6630:3;6626:12;6619:19;;6424:220;;;:::o;6650:315::-;;6813:67;6877:2;6872:3;6813:67;:::i;:::-;6806:74;;6910:19;6906:1;6901:3;6897:11;6890:40;6956:2;6951:3;6947:12;6940:19;;6796:169;;;:::o;6971:365::-;;7134:67;7198:2;7193:3;7134:67;:::i;:::-;7127:74;;7231:34;7227:1;7222:3;7218:11;7211:55;7297:3;7292:2;7287:3;7283:12;7276:25;7327:2;7322:3;7318:12;7311:19;;7117:219;;;:::o;7342:330::-;;7505:67;7569:2;7564:3;7505:67;:::i;:::-;7498:74;;7602:34;7598:1;7593:3;7589:11;7582:55;7663:2;7658:3;7654:12;7647:19;;7488:184;;;:::o;7678:308::-;;7841:67;7905:2;7900:3;7841:67;:::i;:::-;7834:74;;7938:12;7934:1;7929:3;7925:11;7918:33;7977:2;7972:3;7968:12;7961:19;;7824:162;;;:::o;7992:329::-;;8155:67;8219:2;8214:3;8155:67;:::i;:::-;8148:74;;8252:33;8248:1;8243:3;8239:11;8232:54;8312:2;8307:3;8303:12;8296:19;;8138:183;;;:::o;8327:317::-;;8490:67;8554:2;8549:3;8490:67;:::i;:::-;8483:74;;8587:21;8583:1;8578:3;8574:11;8567:42;8635:2;8630:3;8626:12;8619:19;;8473:171;;;:::o;8650:317::-;;8813:67;8877:2;8872:3;8813:67;:::i;:::-;8806:74;;8910:21;8906:1;8901:3;8897:11;8890:42;8958:2;8953:3;8949:12;8942:19;;8796:171;;;:::o;8973:118::-;9060:24;9078:5;9060:24;:::i;:::-;9055:3;9048:37;9038:53;;:::o;9097:271::-;;9249:93;9338:3;9329:6;9249:93;:::i;:::-;9242:100;;9359:3;9352:10;;9231:137;;;;:::o;9374:222::-;;9505:2;9494:9;9490:18;9482:26;;9518:71;9586:1;9575:9;9571:17;9562:6;9518:71;:::i;:::-;9472:124;;;;:::o;9602:332::-;;9761:2;9750:9;9746:18;9738:26;;9774:71;9842:1;9831:9;9827:17;9818:6;9774:71;:::i;:::-;9855:72;9923:2;9912:9;9908:18;9899:6;9855:72;:::i;:::-;9728:206;;;;;:::o;9940:442::-;;10127:2;10116:9;10112:18;10104:26;;10140:71;10208:1;10197:9;10193:17;10184:6;10140:71;:::i;:::-;10221:72;10289:2;10278:9;10274:18;10265:6;10221:72;:::i;:::-;10303;10371:2;10360:9;10356:18;10347:6;10303:72;:::i;:::-;10094:288;;;;;;:::o;10388:332::-;;10547:2;10536:9;10532:18;10524:26;;10560:71;10628:1;10617:9;10613:17;10604:6;10560:71;:::i;:::-;10641:72;10709:2;10698:9;10694:18;10685:6;10641:72;:::i;:::-;10514:206;;;;;:::o;10726:210::-;;10851:2;10840:9;10836:18;10828:26;;10864:65;10926:1;10915:9;10911:17;10902:6;10864:65;:::i;:::-;10818:118;;;;:::o;10942:248::-;;11086:2;11075:9;11071:18;11063:26;;11099:84;11180:1;11169:9;11165:17;11156:6;11099:84;:::i;:::-;11053:137;;;;:::o;11196:313::-;;11347:2;11336:9;11332:18;11324:26;;11396:9;11390:4;11386:20;11382:1;11371:9;11367:17;11360:47;11424:78;11497:4;11488:6;11424:78;:::i;:::-;11416:86;;11314:195;;;;:::o;11515:419::-;;11719:2;11708:9;11704:18;11696:26;;11768:9;11762:4;11758:20;11754:1;11743:9;11739:17;11732:47;11796:131;11922:4;11796:131;:::i;:::-;11788:139;;11686:248;;;:::o;11940:419::-;;12144:2;12133:9;12129:18;12121:26;;12193:9;12187:4;12183:20;12179:1;12168:9;12164:17;12157:47;12221:131;12347:4;12221:131;:::i;:::-;12213:139;;12111:248;;;:::o;12365:419::-;;12569:2;12558:9;12554:18;12546:26;;12618:9;12612:4;12608:20;12604:1;12593:9;12589:17;12582:47;12646:131;12772:4;12646:131;:::i;:::-;12638:139;;12536:248;;;:::o;12790:419::-;;12994:2;12983:9;12979:18;12971:26;;13043:9;13037:4;13033:20;13029:1;13018:9;13014:17;13007:47;13071:131;13197:4;13071:131;:::i;:::-;13063:139;;12961:248;;;:::o;13215:419::-;;13419:2;13408:9;13404:18;13396:26;;13468:9;13462:4;13458:20;13454:1;13443:9;13439:17;13432:47;13496:131;13622:4;13496:131;:::i;:::-;13488:139;;13386:248;;;:::o;13640:419::-;;13844:2;13833:9;13829:18;13821:26;;13893:9;13887:4;13883:20;13879:1;13868:9;13864:17;13857:47;13921:131;14047:4;13921:131;:::i;:::-;13913:139;;13811:248;;;:::o;14065:419::-;;14269:2;14258:9;14254:18;14246:26;;14318:9;14312:4;14308:20;14304:1;14293:9;14289:17;14282:47;14346:131;14472:4;14346:131;:::i;:::-;14338:139;;14236:248;;;:::o;14490:419::-;;14694:2;14683:9;14679:18;14671:26;;14743:9;14737:4;14733:20;14729:1;14718:9;14714:17;14707:47;14771:131;14897:4;14771:131;:::i;:::-;14763:139;;14661:248;;;:::o;14915:419::-;;15119:2;15108:9;15104:18;15096:26;;15168:9;15162:4;15158:20;15154:1;15143:9;15139:17;15132:47;15196:131;15322:4;15196:131;:::i;:::-;15188:139;;15086:248;;;:::o;15340:419::-;;15544:2;15533:9;15529:18;15521:26;;15593:9;15587:4;15583:20;15579:1;15568:9;15564:17;15557:47;15621:131;15747:4;15621:131;:::i;:::-;15613:139;;15511:248;;;:::o;15765:419::-;;15969:2;15958:9;15954:18;15946:26;;16018:9;16012:4;16008:20;16004:1;15993:9;15989:17;15982:47;16046:131;16172:4;16046:131;:::i;:::-;16038:139;;15936:248;;;:::o;16190:419::-;;16394:2;16383:9;16379:18;16371:26;;16443:9;16437:4;16433:20;16429:1;16418:9;16414:17;16407:47;16471:131;16597:4;16471:131;:::i;:::-;16463:139;;16361:248;;;:::o;16615:419::-;;16819:2;16808:9;16804:18;16796:26;;16868:9;16862:4;16858:20;16854:1;16843:9;16839:17;16832:47;16896:131;17022:4;16896:131;:::i;:::-;16888:139;;16786:248;;;:::o;17040:419::-;;17244:2;17233:9;17229:18;17221:26;;17293:9;17287:4;17283:20;17279:1;17268:9;17264:17;17257:47;17321:131;17447:4;17321:131;:::i;:::-;17313:139;;17211:248;;;:::o;17465:419::-;;17669:2;17658:9;17654:18;17646:26;;17718:9;17712:4;17708:20;17704:1;17693:9;17689:17;17682:47;17746:131;17872:4;17746:131;:::i;:::-;17738:139;;17636:248;;;:::o;17890:222::-;;18021:2;18010:9;18006:18;17998:26;;18034:71;18102:1;18091:9;18087:17;18078:6;18034:71;:::i;:::-;17988:124;;;;:::o;18118:332::-;;18277:2;18266:9;18262:18;18254:26;;18290:71;18358:1;18347:9;18343:17;18334:6;18290:71;:::i;:::-;18371:72;18439:2;18428:9;18424:18;18415:6;18371:72;:::i;:::-;18244:206;;;;;:::o;18456:664::-;;18699:3;18688:9;18684:19;18676:27;;18713:71;18781:1;18770:9;18766:17;18757:6;18713:71;:::i;:::-;18794:72;18862:2;18851:9;18847:18;18838:6;18794:72;:::i;:::-;18876;18944:2;18933:9;18929:18;18920:6;18876:72;:::i;:::-;18958;19026:2;19015:9;19011:18;19002:6;18958:72;:::i;:::-;19040:73;19108:3;19097:9;19093:19;19084:6;19040:73;:::i;:::-;18666:454;;;;;;;;:::o;19126:98::-;;19211:5;19205:12;19195:22;;19184:40;;;:::o;19230:99::-;;19316:5;19310:12;19300:22;;19289:40;;;:::o;19335:147::-;;19473:3;19458:18;;19448:34;;;;:::o;19488:169::-;;19606:6;19601:3;19594:19;19646:4;19641:3;19637:14;19622:29;;19584:73;;;;:::o;19663:305::-;;19722:20;19740:1;19722:20;:::i;:::-;19717:25;;19756:20;19774:1;19756:20;:::i;:::-;19751:25;;19910:1;19842:66;19838:74;19835:1;19832:81;19829:2;;;19916:18;;:::i;:::-;19829:2;19960:1;19957;19953:9;19946:16;;19707:261;;;;:::o;19974:185::-;;20031:20;20049:1;20031:20;:::i;:::-;20026:25;;20065:20;20083:1;20065:20;:::i;:::-;20060:25;;20104:1;20094:2;;20109:18;;:::i;:::-;20094:2;20151:1;20148;20144:9;20139:14;;20016:143;;;;:::o;20165:348::-;;20228:20;20246:1;20228:20;:::i;:::-;20223:25;;20262:20;20280:1;20262:20;:::i;:::-;20257:25;;20450:1;20382:66;20378:74;20375:1;20372:81;20367:1;20360:9;20353:17;20349:105;20346:2;;;20457:18;;:::i;:::-;20346:2;20505:1;20502;20498:9;20487:20;;20213:300;;;;:::o;20519:191::-;;20579:20;20597:1;20579:20;:::i;:::-;20574:25;;20613:20;20631:1;20613:20;:::i;:::-;20608:25;;20652:1;20649;20646:8;20643:2;;;20657:18;;:::i;:::-;20643:2;20702:1;20699;20695:9;20687:17;;20564:146;;;;:::o;20716:96::-;;20782:24;20800:5;20782:24;:::i;:::-;20771:35;;20761:51;;;:::o;20818:90::-;;20895:5;20888:13;20881:21;20870:32;;20860:48;;;:::o;20914:109::-;;20993:24;21011:5;20993:24;:::i;:::-;20982:35;;20972:51;;;:::o;21029:126::-;;21106:42;21099:5;21095:54;21084:65;;21074:81;;;:::o;21161:77::-;;21227:5;21216:16;;21206:32;;;:::o;21244:152::-;;21340:50;21384:5;21340:50;:::i;:::-;21327:63;;21317:79;;;:::o;21402:126::-;;21498:24;21516:5;21498:24;:::i;:::-;21485:37;;21475:53;;;:::o;21534:307::-;21602:1;21612:113;21626:6;21623:1;21620:13;21612:113;;;21711:1;21706:3;21702:11;21696:18;21692:1;21687:3;21683:11;21676:39;21648:2;21645:1;21641:10;21636:15;;21612:113;;;21743:6;21740:1;21737:13;21734:2;;;21823:1;21814:6;21809:3;21805:16;21798:27;21734:2;21583:258;;;;:::o;21847:180::-;21895:77;21892:1;21885:88;21992:4;21989:1;21982:15;22016:4;22013:1;22006:15;22033:180;22081:77;22078:1;22071:88;22178:4;22175:1;22168:15;22202:4;22199:1;22192:15;22219:102;;22311:2;22307:7;22302:2;22295:5;22291:14;22287:28;22277:38;;22267:54;;;:::o;22327:122::-;22400:24;22418:5;22400:24;:::i;:::-;22393:5;22390:35;22380:2;;22439:1;22436;22429:12;22380:2;22370:79;:::o;22455:116::-;22525:21;22540:5;22525:21;:::i;:::-;22518:5;22515:32;22505:2;;22561:1;22558;22551:12;22505:2;22495:76;:::o;22577:148::-;22663:37;22694:5;22663:37;:::i;:::-;22656:5;22653:48;22643:2;;22715:1;22712;22705:12;22643:2;22633:92;:::o;22731:122::-;22804:24;22822:5;22804:24;:::i;:::-;22797:5;22794:35;22784:2;;22843:1;22840;22833:12;22784:2;22774:79;:::o

Swarm Source

ipfs://805ed06da191663d4e0d53bb5d654df6b5684a885aa0c13ebe3e10d5a1977eef

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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