ETH Price: $3,404.32 (+1.03%)
Gas: 5.31 Gwei

Contract

0x97802f9ADD100218ac46b757CD27cEc7e6d45622
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Tokens199857112024-05-30 22:43:47210 days ago1717109027IN
0x97802f9A...7e6d45622
0 ETH0.001140877.88814104
Withdraw Tokens198203962024-05-07 19:52:35233 days ago1715111555IN
0x97802f9A...7e6d45622
0 ETH0.0080515855.66942322
Withdraw Tokens198201602024-05-07 19:05:11233 days ago1715108711IN
0x97802f9A...7e6d45622
0 ETH0.0083396857.66140516
Withdraw Tokens185052512023-11-05 10:35:59418 days ago1699180559IN
0x97802f9A...7e6d45622
0 ETH0.0030653621.19599952
Withdraw Tokens185052392023-11-05 10:33:35418 days ago1699180415IN
0x97802f9A...7e6d45622
0 ETH0.0031437721.73820369
Withdraw Tokens185052312023-11-05 10:31:59418 days ago1699180319IN
0x97802f9A...7e6d45622
0 ETH0.0030851921.33137859
Withdraw Tokens185052192023-11-05 10:29:35418 days ago1699180175IN
0x97802f9A...7e6d45622
0 ETH0.003026420.92484319
Withdraw Tokens185052022023-11-05 10:26:11418 days ago1699179971IN
0x97802f9A...7e6d45622
0 ETH0.0031327221.66179271
Withdraw Tokens185051942023-11-05 10:24:35418 days ago1699179875IN
0x97802f9A...7e6d45622
0 ETH0.0028660319.81603507
Withdraw Tokens185051782023-11-05 10:21:23418 days ago1699179683IN
0x97802f9A...7e6d45622
0 ETH0.0030635721.18364444
Withdraw Tokens185051592023-11-05 10:17:35418 days ago1699179455IN
0x97802f9A...7e6d45622
0 ETH0.002637718.23738049
Withdraw Tokens185040862023-11-05 6:40:59418 days ago1699166459IN
0x97802f9A...7e6d45622
0 ETH0.0030101420.81242059
Withdraw Tokens184911812023-11-03 11:17:11419 days ago1699010231IN
0x97802f9A...7e6d45622
0 ETH0.0025422617.5774587
Withdraw Tokens183496862023-10-14 16:03:11439 days ago1697299391IN
0x97802f9A...7e6d45622
0 ETH0.001127937.79863763
Withdraw Tokens158547902022-10-29 16:05:35789 days ago1667059535IN
0x97802f9A...7e6d45622
0 ETH0.0042048229.0726105
Withdraw Tokens152368762022-07-29 10:37:20882 days ago1659091040IN
0x97802f9A...7e6d45622
0 ETH0.000186257.83940375
Withdraw Tokens152368502022-07-29 10:32:49882 days ago1659090769IN
0x97802f9A...7e6d45622
0 ETH0.000223689.41929992
Withdraw Tokens152366412022-07-29 9:50:02882 days ago1659088202IN
0x97802f9A...7e6d45622
0 ETH0.0003725715.68146589
Make Deposit146221742022-04-20 13:24:42981 days ago1650461082IN
0x97802f9A...7e6d45622
0 ETH0.0012331145.7454577
Make Deposit146220882022-04-20 13:06:25981 days ago1650459985IN
0x97802f9A...7e6d45622
0 ETH0.0015133656.14197053
Make Deposit146220882022-04-20 13:06:25981 days ago1650459985IN
0x97802f9A...7e6d45622
0 ETH0.0015133656.14197053
Set Active146220832022-04-20 13:05:16981 days ago1650459916IN
0x97802f9A...7e6d45622
0 ETH0.0011507843.43254867
Make Deposit146220832022-04-20 13:05:16981 days ago1650459916IN
0x97802f9A...7e6d45622
0 ETH0.0141220243.93254867
Make Deposit146220832022-04-20 13:05:16981 days ago1650459916IN
0x97802f9A...7e6d45622
0 ETH0.014227844.93254867
Make Deposit146220812022-04-20 13:05:08981 days ago1650459908IN
0x97802f9A...7e6d45622
0 ETH0.0160641449.97430527
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InfinityDeposit

Compiler Version
v0.6.2+commit.bacdbe57

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : InfinityDeposit.sol
pragma solidity ^0.6.2;

/*
    TENSET IS THE BEST !!!
    DIAMOND HANDS
*/

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import "./Package.sol";
import "./RetrieveTokensFeature.sol";

contract InfinityDeposit is RetrieveTokensFeature, Package {
    using SafeMath for uint256;

    IERC20 public Tenset;
    struct Deposit {
        address withdrawalAddress;
        uint256 tokenAmount;
        uint256 unlockTime;
        uint256 idxPackage;
        bool    withdrawn;
    }

    uint256 public depositId;
    uint256[] public allDepositIds;
    uint256 public totalUsersBalance;

    mapping (address => uint256[]) public depositsByWithdrawalAddress;
    mapping (uint256 => Deposit) public lockedToken;
    mapping(address => uint256) public walletTokenBalance;

    event LogWithdrawal(uint256 Id, uint256 IndexPackage, address WithdrawalAddress, uint256 Amount);
    event LogDeposit(uint256 Id, uint256 IndexPackage, address WithdrawalAddress, uint256 Amount, uint256 BonusAmount, uint256 UnlockTime);

    constructor(address addrToken) public {
        Tenset = IERC20(addrToken);
    }

    function makeDeposit(address _withdrawalAddress, uint256 _idxPackage, uint256 _amount) public canBuy(_idxPackage, _amount) returns(uint256 _id) {
        //update balance in address
        uint256 tensetFixedBalance = _amount.sub(_decreaseAmountFee(_amount));

        walletTokenBalance[_withdrawalAddress] = walletTokenBalance[_withdrawalAddress].add(tensetFixedBalance);
        totalUsersBalance += tensetFixedBalance;

        _id = ++depositId;
        lockedToken[_id].withdrawalAddress = _withdrawalAddress;
        lockedToken[_id].tokenAmount = tensetFixedBalance;
        lockedToken[_id].unlockTime = _deltaTimestamp(_idxPackage);
        lockedToken[_id].idxPackage = _idxPackage;
        lockedToken[_id].withdrawn = false;

        allDepositIds.push(_id);
        depositsByWithdrawalAddress[_withdrawalAddress].push(_id);

        // transfer tokens into contract
        require(Tenset.transferFrom(msg.sender, address(this), _amount));
        // Count bonus from package without decrease fee
        uint256 WithBonusAmount = tensetFixedBalance.mul(availablePackage[_idxPackage].dailyPercentage).div(100).add(tensetFixedBalance);
        emit LogDeposit(_id, _idxPackage, _withdrawalAddress, tensetFixedBalance, WithBonusAmount, lockedToken[_id].unlockTime);
    }

    /**
     *Extend lock Duration
    */
    function extendLockDuration(uint256 _id) public {
        require(!lockedToken[_id].withdrawn);
        require(msg.sender == lockedToken[_id].withdrawalAddress);
        require(activePackage(lockedToken[_id].idxPackage), "Package is not active");

        //set new unlock time
        lockedToken[_id].unlockTime = _deltaTimestamp(lockedToken[_id].idxPackage);
    }

    /**
     *withdraw tokens
    */
    function withdrawTokens(uint256 _id) public {
        require(block.timestamp >= lockedToken[_id].unlockTime);
        require(msg.sender == lockedToken[_id].withdrawalAddress);
        require(!lockedToken[_id].withdrawn);

        lockedToken[_id].withdrawn = true;
        uint256 _idPackage = lockedToken[_id].idxPackage;
        //update balance in address
        walletTokenBalance[msg.sender] = walletTokenBalance[msg.sender].sub(lockedToken[_id].tokenAmount);
        totalUsersBalance -= lockedToken[_id].tokenAmount;

        //remove this id from this address
        uint256 j;
        uint256 arrLength = depositsByWithdrawalAddress[lockedToken[_id].withdrawalAddress].length;

        for (j=0; j<arrLength; j++) {
            if (depositsByWithdrawalAddress[lockedToken[_id].withdrawalAddress][j] == _id) {
                depositsByWithdrawalAddress[lockedToken[_id].withdrawalAddress][j] = depositsByWithdrawalAddress[lockedToken[_id].withdrawalAddress][arrLength - 1];
                depositsByWithdrawalAddress[lockedToken[_id].withdrawalAddress].pop();
                break;
            }
        }

        // transfer tokens to wallet address
        require(Tenset.transfer(msg.sender, lockedToken[_id].tokenAmount));
        LogWithdrawal(_id, _idPackage, msg.sender, lockedToken[_id].tokenAmount);
    }

    function getTotalTokenBalance() view public returns (uint256) {
        return Tenset.balanceOf(address(this));
    }

    /*get total token balance by address*/
    function getTokenBalanceByAddress(address _walletAddress) view public returns (uint256) {
        return walletTokenBalance[_walletAddress];
    }

    /*get allDepositIds*/
    function getAllDepositIds() view public returns (uint256[] memory) {
        return allDepositIds;
    }

    /*get getDepositDetails*/
    function getDepositDetails(uint256 _id) view public returns (address _withdrawalAddress, uint256 _tokenAmount, uint256 _unlockTime, bool _withdrawn) {
        return(lockedToken[_id].withdrawalAddress,lockedToken[_id].tokenAmount, lockedToken[_id].unlockTime,lockedToken[_id].withdrawn);
    }

    /*get DepositsByWithdrawalAddress*/
    function getDepositsByWithdrawalAddress(address _withdrawalAddress) view public returns (uint256[] memory) {
        return depositsByWithdrawalAddress[_withdrawalAddress];
    }

    function retrieveTokensFromStaking(address to) public onlyOwner() {
        RetrieveTokensFeature.retrieveTokens(to, address(Tenset), getStakingPool());
    }

    function getStakingPool() public view returns(uint256 _pool) {
        _pool = getTotalTokenBalance().sub(totalUsersBalance);
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

import "../utils/Context.sol";

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

pragma solidity >=0.6.0 <0.8.0;

import "../utils/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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

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

pragma solidity >=0.6.0 <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 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

File 7 of 8 : Package.sol
pragma solidity ^0.6.2;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";

contract Package is Ownable {
    using SafeMath for uint256;

    function _decreaseAmountFee(uint256 _oldAmount) internal pure returns(uint256 _newAmount) {
        uint256 scaledFee = 2;
        uint256 scalledPercentage = 100;
        return _oldAmount.mul(scaledFee).div(scalledPercentage);
    }

    modifier canBuy(uint256 _idxPackage, uint256 _amount) {
        require(_idxPackage < availablePackage.length, "Index out of range");
        require(_amount > 0);
        require(availablePackage.length >= _idxPackage, "Package doesn't exists");
        require(availablePackage[_idxPackage].active, "Package is not active ");
        require(_amount.sub(_decreaseAmountFee(_amount)) > availablePackage[_idxPackage].minTokenAmount, "Amount is too small");
            _;
    }

    struct PackageItem {
        string  aliasName;
        uint256 daysLock;
        uint256 minTokenAmount;
        uint256 dailyPercentage;
        bool    active;
    }
    PackageItem[] public availablePackage;

    function showPackageDetail(uint16 _index) public view returns(string memory, uint256, uint256, uint256, bool) {
        require(_index < availablePackage.length, "Index out of range");
        return (
            availablePackage[_index].aliasName,
            availablePackage[_index].daysLock,
            availablePackage[_index].minTokenAmount,
            availablePackage[_index].dailyPercentage,
            availablePackage[_index].active
        );
    }

    function pushPackageDetail(
        string memory _aliasName,
        uint256 _daysLock,
        uint256 _minTokenAmount,
        uint256 _dailyPercentage
    ) public onlyOwner {
        PackageItem memory pkg = PackageItem({
            aliasName: _aliasName,
            daysLock: _daysLock,
            minTokenAmount: _minTokenAmount,
            dailyPercentage: _dailyPercentage,
            active: true
        });
        availablePackage.push(pkg);
    }

    function getLengthPackage() public view returns(uint256) {
        return availablePackage.length;
    }

    function _deltaTimestamp(uint256 _idxPackage) internal view returns(uint) {
        return availablePackage[_idxPackage].daysLock * 1 days + now;
    }

    function setActive(uint256 _idxPackage, bool _active) public onlyOwner {
        require(_idxPackage < availablePackage.length, "Index out of range");
        availablePackage[_idxPackage].active = _active;
    }

    function activePackage(uint _idxPackage) internal view returns(bool) {
        return availablePackage[_idxPackage].active;
    }
}

File 8 of 8 : RetrieveTokensFeature.sol
pragma solidity ^0.6.2;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract RetrieveTokensFeature is Context, Ownable {

    function retrieveTokens(address to, address anotherToken, uint256 amount) virtual public onlyOwner() {
        IERC20 alienToken = IERC20(anotherToken);
        alienToken.transfer(to, amount);
    }

    function retriveETH(address payable to) virtual public onlyOwner() {
        to.transfer(address(this).balance);
    }

}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"addrToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"Id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"IndexPackage","type":"uint256"},{"indexed":false,"internalType":"address","name":"WithdrawalAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"Amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"BonusAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"UnlockTime","type":"uint256"}],"name":"LogDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"Id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"IndexPackage","type":"uint256"},{"indexed":false,"internalType":"address","name":"WithdrawalAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"Amount","type":"uint256"}],"name":"LogWithdrawal","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"},{"inputs":[],"name":"Tenset","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allDepositIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"availablePackage","outputs":[{"internalType":"string","name":"aliasName","type":"string"},{"internalType":"uint256","name":"daysLock","type":"uint256"},{"internalType":"uint256","name":"minTokenAmount","type":"uint256"},{"internalType":"uint256","name":"dailyPercentage","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"depositsByWithdrawalAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"extendLockDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllDepositIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getDepositDetails","outputs":[{"internalType":"address","name":"_withdrawalAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"uint256","name":"_unlockTime","type":"uint256"},{"internalType":"bool","name":"_withdrawn","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawalAddress","type":"address"}],"name":"getDepositsByWithdrawalAddress","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLengthPackage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingPool","outputs":[{"internalType":"uint256","name":"_pool","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_walletAddress","type":"address"}],"name":"getTokenBalanceByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockedToken","outputs":[{"internalType":"address","name":"withdrawalAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"idxPackage","type":"uint256"},{"internalType":"bool","name":"withdrawn","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawalAddress","type":"address"},{"internalType":"uint256","name":"_idxPackage","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"makeDeposit","outputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_aliasName","type":"string"},{"internalType":"uint256","name":"_daysLock","type":"uint256"},{"internalType":"uint256","name":"_minTokenAmount","type":"uint256"},{"internalType":"uint256","name":"_dailyPercentage","type":"uint256"}],"name":"pushPackageDetail","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"anotherToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"retrieveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"retrieveTokensFromStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"retriveETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_idxPackage","type":"uint256"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_index","type":"uint16"}],"name":"showPackageDetail","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalUsersBalance","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":"","type":"address"}],"name":"walletTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002f4238038062002f42833981810160405260208110156200003757600080fd5b810190808051906020019092919050505060006200005a6200014060201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000148565b600033905090565b612dea80620001586000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063822b686e116100f9578063c9028aff11610097578063e0cb4c1011610071578063e0cb4c1014610a04578063e60a955d14610a4e578063f2fde38b14610a88578063f4df7b9614610acc576101a9565b8063c9028aff146108d9578063d02d450e1461091b578063d69eca4c146109e6576101a9565b80639852099c116100d35780639852099c146107365780639a13ba2914610754578063a053ad3514610772578063bb941cff1461084b576101a9565b8063822b686e1461059e578063890db72f146106655780638da5cb5b146106ec576101a9565b806345946334116101665780636473b1eb116101405780636473b1eb146104835780636ba03924146104c7578063715018a6146105265780637b0e1c5714610530576101a9565b806345946334146103d55780634847fdd1146103f3578063530680d814610421576101a9565b806305462c78146101ae5780630bd59ad3146101f2578063210e200a1461028b5780632440fdc2146102e3578063315a095d1461034f57806339e4ea631461037d575b600080fd5b6101f0600480360360208110156101c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610aea565b005b6102346004803603602081101561020857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bd0565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561027757808201518184015260208101905061025c565b505050509050019250505060405180910390f35b6102cd600480360360208110156102a157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c67565b6040518082815260200191505060405180910390f35b610339600480360360608110156102f957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610c7f565b6040518082815260200191505060405180910390f35b61037b6004803603602081101561036557600080fd5b8101908080359060200190929190505050611338565b005b6103bf6004803603602081101561039357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061198b565b6040518082815260200191505060405180910390f35b6103dd6119d4565b6040518082815260200191505060405180910390f35b61041f6004803603602081101561040957600080fd5b81019080803590602001909291905050506119f7565b005b61046d6004803603604081101561043757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611b60565b6040518082815260200191505060405180910390f35b6104c56004803603602081101561049957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b8e565b005b6104cf611c87565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156105125780820151818401526020810190506104f7565b505050509050019250505060405180910390f35b61052e611cdf565b005b61059c6004803603606081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611e4d565b005b6105ca600480360360208110156105b457600080fd5b8101908080359060200190929190505050611fca565b604051808060200186815260200185815260200184815260200183151515158152602001828103825287818151815260200191508051906020019080838360005b8381101561062657808201518184015260208101905061060b565b50505050905090810190601f1680156106535780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6106916004803603602081101561067b57600080fd5b81019080803590602001909291905050506120b2565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018215151515815260200194505050505060405180910390f35b6106f4612150565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61073e612179565b6040518082815260200191505060405180910390f35b61075c61217f565b6040518082815260200191505060405180910390f35b6108496004803603608081101561078857600080fd5b81019080803590602001906401000000008111156107a557600080fd5b8201836020820111156107b757600080fd5b803590602001918460018302840111640100000000831117156107d957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291908035906020019092919080359060200190929190505050612185565b005b6108776004803603602081101561086157600080fd5b81019080803590602001909291905050506122f8565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001838152602001821515151581526020019550505050505060405180910390f35b610905600480360360208110156108ef57600080fd5b810190808035906020019092919050505061235b565b6040518082815260200191505060405180910390f35b61094b6004803603602081101561093157600080fd5b81019080803561ffff16906020019092919050505061237c565b604051808060200186815260200185815260200184815260200183151515158152602001828103825287818151815260200191508051906020019080838360005b838110156109a757808201518184015260208101905061098c565b50505050905090810190601f1680156109d45780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6109ee61256c565b6040518082815260200191505060405180910390f35b610a0c61264d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a8660048036036040811015610a6457600080fd5b8101908080359060200190929190803515159060200190929190505050612673565b005b610aca60048036036020811015610a9e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127d6565b005b610ad46129c9565b6040518082815260200191505060405180910390f35b610af26129d6565b73ffffffffffffffffffffffffffffffffffffffff16610b10612150565b73ffffffffffffffffffffffffffffffffffffffff1614610b99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610bcd81600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610bc86119d4565b611e4d565b50565b6060600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610c5b57602002820191906000526020600020905b815481526020019060010190808311610c47575b50505050509050919050565b60086020528060005260406000206000915090505481565b600082826001805490508210610cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e646578206f7574206f662072616e6765000000000000000000000000000081525060200191505060405180910390fd5b60008111610d0a57600080fd5b816001805490501015610d85576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f5061636b61676520646f65736e2774206578697374730000000000000000000081525060200191505060405180910390fd5b60018281548110610d9257fe5b906000526020600020906005020160040160009054906101000a900460ff16610e23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f5061636b616765206973206e6f7420616374697665200000000000000000000081525060200191505060405180910390fd5b60018281548110610e3057fe5b906000526020600020906005020160020154610e5d610e4e836129de565b83612a1990919063ffffffff16565b11610ed0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f416d6f756e7420697320746f6f20736d616c6c0000000000000000000000000081525060200191505060405180910390fd5b6000610eed610ede866129de565b86612a1990919063ffffffff16565b9050610f4181600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a9c90919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806005600082825401925050819055506003600081546001019190508190559350866007600086815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760008681526020019081526020016000206001018190555061101e86612b24565b600760008681526020019081526020016000206002018190555085600760008681526020019081526020016000206003018190555060006007600086815260200190815260200160002060040160006101000a81548160ff0219169083151502179055506004849080600181540180825580915050600190039060005260206000200160009091909190915055600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020849080600181540180825580915050600190039060005260206000200160009091909190915055600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330886040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156111ee57600080fd5b505af1158015611202573d6000803e3d6000fd5b505050506040513d602081101561121857600080fd5b810190808051906020019092919050505061123257600080fd5b600061128a8261127c606461126e60018c8154811061124d57fe5b90600052602060002090600502016003015487612b5390919063ffffffff16565b612bd990919063ffffffff16565b612a9c90919063ffffffff16565b90507fab95e8b0b0ddc202528b40025c5594cfda4f0b23026cb1b7c8e2eb9ae9131b3885888a8585600760008c815260200190815260200160002060020154604051808781526020018681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001828152602001965050505050505060405180910390a1505050509392505050565b600760008281526020019081526020016000206002015442101561135b57600080fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113c957600080fd5b6007600082815260200190815260200160002060040160009054906101000a900460ff16156113f757600080fd5b60016007600083815260200190815260200160002060040160006101000a81548160ff0219169083151502179055506000600760008381526020019081526020016000206003015490506114a96007600084815260200190815260200160002060010154600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a1990919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506007600083815260200190815260200160002060010154600560008282540392505081905550600080600660006007600087815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600091505b808210156117f15783600660006007600088815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061161e57fe5b906000526020600020015414156117e457600660006007600087815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060018203815481106116b257fe5b9060005260206000200154600660006007600088815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061173d57fe5b9060005260206000200181905550600660006007600087815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806117c957fe5b600190038181906000526020600020016000905590556117f1565b8180600101925050611595565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3360076000888152602001908152602001600020600101546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156118b057600080fd5b505af11580156118c4573d6000803e3d6000fd5b505050506040513d60208110156118da57600080fd5b81019080805190602001909291905050506118f457600080fd5b7f5881498f95d2bf33420866eeead2c535ba75b61cdbf7faab60300faa4828d1308484336007600089815260200190815260200160002060010154604051808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a150505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006119f26005546119e461256c565b612a1990919063ffffffff16565b905090565b6007600082815260200190815260200160002060040160009054906101000a900460ff1615611a2557600080fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a9357600080fd5b611ab26007600083815260200190815260200160002060030154612c62565b611b24576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f5061636b616765206973206e6f7420616374697665000000000000000000000081525060200191505060405180910390fd5b611b436007600083815260200190815260200160002060030154612b24565b600760008381526020019081526020016000206002018190555050565b60066020528160005260406000208181548110611b7957fe5b90600052602060002001600091509150505481565b611b966129d6565b73ffffffffffffffffffffffffffffffffffffffff16611bb4612150565b73ffffffffffffffffffffffffffffffffffffffff1614611c3d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611c83573d6000803e3d6000fd5b5050565b60606004805480602002602001604051908101604052809291908181526020018280548015611cd557602002820191906000526020600020905b815481526020019060010190808311611cc1575b5050505050905090565b611ce76129d6565b73ffffffffffffffffffffffffffffffffffffffff16611d05612150565b73ffffffffffffffffffffffffffffffffffffffff1614611d8e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611e556129d6565b73ffffffffffffffffffffffffffffffffffffffff16611e73612150565b73ffffffffffffffffffffffffffffffffffffffff1614611efc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611f8857600080fd5b505af1158015611f9c573d6000803e3d6000fd5b505050506040513d6020811015611fb257600080fd5b81019080805190602001909291905050505050505050565b60018181548110611fd757fe5b9060005260206000209060050201600091509050806000018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120835780601f1061205857610100808354040283529160200191612083565b820191906000526020600020905b81548152906001019060200180831161206657829003601f168201915b5050505050908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b6000806000806007600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760008781526020019081526020016000206001015460076000888152602001908152602001600020600201546007600089815260200190815260200160002060040160009054906101000a900460ff1693509350935093509193509193565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60035481565b60055481565b61218d6129d6565b73ffffffffffffffffffffffffffffffffffffffff166121ab612150565b73ffffffffffffffffffffffffffffffffffffffff1614612234576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61223c612c97565b6040518060a00160405280868152602001858152602001848152602001838152602001600115158152509050600181908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000190805190602001906122b0929190612cc8565b5060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690831515021790555050505050505050565b60076020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b6004818154811061236857fe5b906000526020600020016000915090505481565b60606000806000806001805490508661ffff1610612402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e646578206f7574206f662072616e6765000000000000000000000000000081525060200191505060405180910390fd5b60018661ffff168154811061241357fe5b906000526020600020906005020160000160018761ffff168154811061243557fe5b90600052602060002090600502016001015460018861ffff168154811061245857fe5b90600052602060002090600502016002015460018961ffff168154811061247b57fe5b90600052602060002090600502016003015460018a61ffff168154811061249e57fe5b906000526020600020906005020160040160009054906101000a900460ff16848054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156125525780601f1061252757610100808354040283529160200191612552565b820191906000526020600020905b81548152906001019060200180831161253557829003601f168201915b505050505094509450945094509450945091939590929450565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561260d57600080fd5b505afa158015612621573d6000803e3d6000fd5b505050506040513d602081101561263757600080fd5b8101908080519060200190929190505050905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61267b6129d6565b73ffffffffffffffffffffffffffffffffffffffff16612699612150565b73ffffffffffffffffffffffffffffffffffffffff1614612722576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600180549050821061279c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e646578206f7574206f662072616e6765000000000000000000000000000081525060200191505060405180910390fd5b80600183815481106127aa57fe5b906000526020600020906005020160040160006101000a81548160ff0219169083151502179055505050565b6127de6129d6565b73ffffffffffffffffffffffffffffffffffffffff166127fc612150565b73ffffffffffffffffffffffffffffffffffffffff1614612885576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561290b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612d6e6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600180549050905090565b600033905090565b60008060029050600060649050612a1081612a028487612b5390919063ffffffff16565b612bd990919063ffffffff16565b92505050919050565b600082821115612a91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015612b1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000426201518060018481548110612b3857fe5b90600052602060002090600502016001015402019050919050565b600080831415612b665760009050612bd3565b6000828402905082848281612b7757fe5b0414612bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612d946021913960400191505060405180910390fd5b809150505b92915050565b6000808211612c50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381612c5957fe5b04905092915050565b600060018281548110612c7157fe5b906000526020600020906005020160040160009054906101000a900460ff169050919050565b6040518060a00160405280606081526020016000815260200160008152602001600081526020016000151581525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d0957805160ff1916838001178555612d37565b82800160010185558215612d37579182015b82811115612d36578251825591602001919060010190612d1b565b5b509050612d449190612d48565b5090565b612d6a91905b80821115612d66576000816000905550600101612d4e565b5090565b9056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212204529a4d4cf9734a7ed0b3a9c39b3f089747054dd68533bdeb045e3adf2b4950364736f6c634300060200330000000000000000000000007ff4169a6b5122b664c51c95727d87750ec07c84

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063822b686e116100f9578063c9028aff11610097578063e0cb4c1011610071578063e0cb4c1014610a04578063e60a955d14610a4e578063f2fde38b14610a88578063f4df7b9614610acc576101a9565b8063c9028aff146108d9578063d02d450e1461091b578063d69eca4c146109e6576101a9565b80639852099c116100d35780639852099c146107365780639a13ba2914610754578063a053ad3514610772578063bb941cff1461084b576101a9565b8063822b686e1461059e578063890db72f146106655780638da5cb5b146106ec576101a9565b806345946334116101665780636473b1eb116101405780636473b1eb146104835780636ba03924146104c7578063715018a6146105265780637b0e1c5714610530576101a9565b806345946334146103d55780634847fdd1146103f3578063530680d814610421576101a9565b806305462c78146101ae5780630bd59ad3146101f2578063210e200a1461028b5780632440fdc2146102e3578063315a095d1461034f57806339e4ea631461037d575b600080fd5b6101f0600480360360208110156101c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610aea565b005b6102346004803603602081101561020857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bd0565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561027757808201518184015260208101905061025c565b505050509050019250505060405180910390f35b6102cd600480360360208110156102a157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c67565b6040518082815260200191505060405180910390f35b610339600480360360608110156102f957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610c7f565b6040518082815260200191505060405180910390f35b61037b6004803603602081101561036557600080fd5b8101908080359060200190929190505050611338565b005b6103bf6004803603602081101561039357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061198b565b6040518082815260200191505060405180910390f35b6103dd6119d4565b6040518082815260200191505060405180910390f35b61041f6004803603602081101561040957600080fd5b81019080803590602001909291905050506119f7565b005b61046d6004803603604081101561043757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611b60565b6040518082815260200191505060405180910390f35b6104c56004803603602081101561049957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b8e565b005b6104cf611c87565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156105125780820151818401526020810190506104f7565b505050509050019250505060405180910390f35b61052e611cdf565b005b61059c6004803603606081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611e4d565b005b6105ca600480360360208110156105b457600080fd5b8101908080359060200190929190505050611fca565b604051808060200186815260200185815260200184815260200183151515158152602001828103825287818151815260200191508051906020019080838360005b8381101561062657808201518184015260208101905061060b565b50505050905090810190601f1680156106535780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6106916004803603602081101561067b57600080fd5b81019080803590602001909291905050506120b2565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018215151515815260200194505050505060405180910390f35b6106f4612150565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61073e612179565b6040518082815260200191505060405180910390f35b61075c61217f565b6040518082815260200191505060405180910390f35b6108496004803603608081101561078857600080fd5b81019080803590602001906401000000008111156107a557600080fd5b8201836020820111156107b757600080fd5b803590602001918460018302840111640100000000831117156107d957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291908035906020019092919080359060200190929190505050612185565b005b6108776004803603602081101561086157600080fd5b81019080803590602001909291905050506122f8565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001838152602001821515151581526020019550505050505060405180910390f35b610905600480360360208110156108ef57600080fd5b810190808035906020019092919050505061235b565b6040518082815260200191505060405180910390f35b61094b6004803603602081101561093157600080fd5b81019080803561ffff16906020019092919050505061237c565b604051808060200186815260200185815260200184815260200183151515158152602001828103825287818151815260200191508051906020019080838360005b838110156109a757808201518184015260208101905061098c565b50505050905090810190601f1680156109d45780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b6109ee61256c565b6040518082815260200191505060405180910390f35b610a0c61264d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a8660048036036040811015610a6457600080fd5b8101908080359060200190929190803515159060200190929190505050612673565b005b610aca60048036036020811015610a9e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127d6565b005b610ad46129c9565b6040518082815260200191505060405180910390f35b610af26129d6565b73ffffffffffffffffffffffffffffffffffffffff16610b10612150565b73ffffffffffffffffffffffffffffffffffffffff1614610b99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610bcd81600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610bc86119d4565b611e4d565b50565b6060600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610c5b57602002820191906000526020600020905b815481526020019060010190808311610c47575b50505050509050919050565b60086020528060005260406000206000915090505481565b600082826001805490508210610cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e646578206f7574206f662072616e6765000000000000000000000000000081525060200191505060405180910390fd5b60008111610d0a57600080fd5b816001805490501015610d85576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f5061636b61676520646f65736e2774206578697374730000000000000000000081525060200191505060405180910390fd5b60018281548110610d9257fe5b906000526020600020906005020160040160009054906101000a900460ff16610e23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f5061636b616765206973206e6f7420616374697665200000000000000000000081525060200191505060405180910390fd5b60018281548110610e3057fe5b906000526020600020906005020160020154610e5d610e4e836129de565b83612a1990919063ffffffff16565b11610ed0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f416d6f756e7420697320746f6f20736d616c6c0000000000000000000000000081525060200191505060405180910390fd5b6000610eed610ede866129de565b86612a1990919063ffffffff16565b9050610f4181600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a9c90919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806005600082825401925050819055506003600081546001019190508190559350866007600086815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760008681526020019081526020016000206001018190555061101e86612b24565b600760008681526020019081526020016000206002018190555085600760008681526020019081526020016000206003018190555060006007600086815260200190815260200160002060040160006101000a81548160ff0219169083151502179055506004849080600181540180825580915050600190039060005260206000200160009091909190915055600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020849080600181540180825580915050600190039060005260206000200160009091909190915055600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330886040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156111ee57600080fd5b505af1158015611202573d6000803e3d6000fd5b505050506040513d602081101561121857600080fd5b810190808051906020019092919050505061123257600080fd5b600061128a8261127c606461126e60018c8154811061124d57fe5b90600052602060002090600502016003015487612b5390919063ffffffff16565b612bd990919063ffffffff16565b612a9c90919063ffffffff16565b90507fab95e8b0b0ddc202528b40025c5594cfda4f0b23026cb1b7c8e2eb9ae9131b3885888a8585600760008c815260200190815260200160002060020154604051808781526020018681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001828152602001965050505050505060405180910390a1505050509392505050565b600760008281526020019081526020016000206002015442101561135b57600080fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113c957600080fd5b6007600082815260200190815260200160002060040160009054906101000a900460ff16156113f757600080fd5b60016007600083815260200190815260200160002060040160006101000a81548160ff0219169083151502179055506000600760008381526020019081526020016000206003015490506114a96007600084815260200190815260200160002060010154600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a1990919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506007600083815260200190815260200160002060010154600560008282540392505081905550600080600660006007600087815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050600091505b808210156117f15783600660006007600088815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061161e57fe5b906000526020600020015414156117e457600660006007600087815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060018203815481106116b257fe5b9060005260206000200154600660006007600088815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061173d57fe5b9060005260206000200181905550600660006007600087815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806117c957fe5b600190038181906000526020600020016000905590556117f1565b8180600101925050611595565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3360076000888152602001908152602001600020600101546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156118b057600080fd5b505af11580156118c4573d6000803e3d6000fd5b505050506040513d60208110156118da57600080fd5b81019080805190602001909291905050506118f457600080fd5b7f5881498f95d2bf33420866eeead2c535ba75b61cdbf7faab60300faa4828d1308484336007600089815260200190815260200160002060010154604051808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a150505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006119f26005546119e461256c565b612a1990919063ffffffff16565b905090565b6007600082815260200190815260200160002060040160009054906101000a900460ff1615611a2557600080fd5b6007600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a9357600080fd5b611ab26007600083815260200190815260200160002060030154612c62565b611b24576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f5061636b616765206973206e6f7420616374697665000000000000000000000081525060200191505060405180910390fd5b611b436007600083815260200190815260200160002060030154612b24565b600760008381526020019081526020016000206002018190555050565b60066020528160005260406000208181548110611b7957fe5b90600052602060002001600091509150505481565b611b966129d6565b73ffffffffffffffffffffffffffffffffffffffff16611bb4612150565b73ffffffffffffffffffffffffffffffffffffffff1614611c3d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611c83573d6000803e3d6000fd5b5050565b60606004805480602002602001604051908101604052809291908181526020018280548015611cd557602002820191906000526020600020905b815481526020019060010190808311611cc1575b5050505050905090565b611ce76129d6565b73ffffffffffffffffffffffffffffffffffffffff16611d05612150565b73ffffffffffffffffffffffffffffffffffffffff1614611d8e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611e556129d6565b73ffffffffffffffffffffffffffffffffffffffff16611e73612150565b73ffffffffffffffffffffffffffffffffffffffff1614611efc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611f8857600080fd5b505af1158015611f9c573d6000803e3d6000fd5b505050506040513d6020811015611fb257600080fd5b81019080805190602001909291905050505050505050565b60018181548110611fd757fe5b9060005260206000209060050201600091509050806000018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120835780601f1061205857610100808354040283529160200191612083565b820191906000526020600020905b81548152906001019060200180831161206657829003601f168201915b5050505050908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b6000806000806007600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760008781526020019081526020016000206001015460076000888152602001908152602001600020600201546007600089815260200190815260200160002060040160009054906101000a900460ff1693509350935093509193509193565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60035481565b60055481565b61218d6129d6565b73ffffffffffffffffffffffffffffffffffffffff166121ab612150565b73ffffffffffffffffffffffffffffffffffffffff1614612234576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61223c612c97565b6040518060a00160405280868152602001858152602001848152602001838152602001600115158152509050600181908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000190805190602001906122b0929190612cc8565b5060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690831515021790555050505050505050565b60076020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b6004818154811061236857fe5b906000526020600020016000915090505481565b60606000806000806001805490508661ffff1610612402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e646578206f7574206f662072616e6765000000000000000000000000000081525060200191505060405180910390fd5b60018661ffff168154811061241357fe5b906000526020600020906005020160000160018761ffff168154811061243557fe5b90600052602060002090600502016001015460018861ffff168154811061245857fe5b90600052602060002090600502016002015460018961ffff168154811061247b57fe5b90600052602060002090600502016003015460018a61ffff168154811061249e57fe5b906000526020600020906005020160040160009054906101000a900460ff16848054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156125525780601f1061252757610100808354040283529160200191612552565b820191906000526020600020905b81548152906001019060200180831161253557829003601f168201915b505050505094509450945094509450945091939590929450565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561260d57600080fd5b505afa158015612621573d6000803e3d6000fd5b505050506040513d602081101561263757600080fd5b8101908080519060200190929190505050905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61267b6129d6565b73ffffffffffffffffffffffffffffffffffffffff16612699612150565b73ffffffffffffffffffffffffffffffffffffffff1614612722576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600180549050821061279c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e646578206f7574206f662072616e6765000000000000000000000000000081525060200191505060405180910390fd5b80600183815481106127aa57fe5b906000526020600020906005020160040160006101000a81548160ff0219169083151502179055505050565b6127de6129d6565b73ffffffffffffffffffffffffffffffffffffffff166127fc612150565b73ffffffffffffffffffffffffffffffffffffffff1614612885576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561290b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612d6e6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600180549050905090565b600033905090565b60008060029050600060649050612a1081612a028487612b5390919063ffffffff16565b612bd990919063ffffffff16565b92505050919050565b600082821115612a91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015612b1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000426201518060018481548110612b3857fe5b90600052602060002090600502016001015402019050919050565b600080831415612b665760009050612bd3565b6000828402905082848281612b7757fe5b0414612bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612d946021913960400191505060405180910390fd5b809150505b92915050565b6000808211612c50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381612c5957fe5b04905092915050565b600060018281548110612c7157fe5b906000526020600020906005020160040160009054906101000a900460ff169050919050565b6040518060a00160405280606081526020016000815260200160008152602001600081526020016000151581525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d0957805160ff1916838001178555612d37565b82800160010185558215612d37579182015b82811115612d36578251825591602001919060010190612d1b565b5b509050612d449190612d48565b5090565b612d6a91905b80821115612d66576000816000905550600101612d4e565b5090565b9056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212204529a4d4cf9734a7ed0b3a9c39b3f089747054dd68533bdeb045e3adf2b4950364736f6c63430006020033

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

0000000000000000000000007ff4169a6b5122b664c51c95727d87750ec07c84

-----Decoded View---------------
Arg [0] : addrToken (address): 0x7FF4169a6B5122b664c51c95727d87750eC07c84

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007ff4169a6b5122b664c51c95727d87750ec07c84


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.