ETH Price: $3,084.84 (+0.43%)
Gas: 7 Gwei

Token

Rangers Protocol Gas (RPG)
 

Overview

Max Total Supply

21,000,000 RPG

Holders

477

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RPGTokenWithProtection

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, BSD-2-Clause license, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at Etherscan.io on 2021-10-07
*/

pragma solidity 0.5.17;

/**
 * Utility library of inline functions on addresses
 */
library Address {
    /**
     * Returns whether the target address is a contract
     * @dev This function will return false if invoked during the constructor of a contract,
     * as the code is not actually created until after the constructor finishes.
     * @param account address of the account to check
     * @return whether the target address is a contract
     */
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        // XXX Currently there is no better way to check if there is a contract in an address
        // than to check the size of the code at that address.
        // See https://ethereum.stackexchange.com/a/14016/36603
        // for more details about how this works.
        // TODO Check this again before the Serenity release, because all addresses will be
        // contracts then.
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}

contract BurnRole {
    using Roles for Roles.Role;

    event BurnerAdded(address indexed account);
    event BurnerRemoved(address indexed account);

    Roles.Role private _burners;

    constructor () internal {
        _addBurner(msg.sender);
    }

    modifier onlyBurner() {
        require(isBurner(msg.sender));
        _;
    }

    function isBurner(address account) public view returns (bool) {
        return _burners.has(account);
    }

    function addBurner(address account) public onlyBurner {
        _addBurner(account);
    }

    function renounceBurner() public {
        _removeBurner(msg.sender);
    }

    function _addBurner(address account) internal {
        _burners.add(account);
        emit BurnerAdded(account);
    }

    function _removeBurner(address account) internal {
        _burners.remove(account);
        emit BurnerRemoved(account);
    }
}


/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error.
 */
library SafeMath {
    /**
     * @dev Multiplies two unsigned integers, reverts on 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-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

    /**
     * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Adds two unsigned integers, reverts on overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a);

        return c;
    }

    /**
     * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
     * reverts when dividing by zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}


/**
 * @title ERC20 interface
 * @dev see https://eips.ethereum.org/EIPS/eip-20
 */
interface IERC20 {
    function transfer(address to, uint256 value) external returns (bool);

    function approve(address spender, uint256 value) external returns (bool);

    function transferFrom(address from, address to, uint256 value) external returns (bool);

    function totalSupply() external view returns (uint256);

    function balanceOf(address who) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}


/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://eips.ethereum.org/EIPS/eip-20
 * Originally based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 *
 * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for
 * all accounts just by listening to said events. Note that this isn't required by the specification, and other
 * compliant implementations may not do it.
 */
contract ERC20 is IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    /**
     * @dev Total number of tokens in existence.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner The address to query the balance of.
     * @return A uint256 representing the amount owned by the passed address.
     */
    function balanceOf(address owner) public view returns (uint256) {
        return _balances[owner];
    }

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param owner address The address which owns the funds.
     * @param spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowed[owner][spender];
    }

    /**
     * @dev Transfer token to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     * 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
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value) public returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another.
     * Note that while this function emits an Approval event, this is not required as per the specification,
     * and other compliant implementations may not emit the event.
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to transfer to
     * @param value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _transfer(from, to, value);
        _approve(from, msg.sender, _allowed[from][msg.sender].sub(value));
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To decrement
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue));
        return true;
    }

    /**
     * @dev Transfer token for a specified addresses.
     * @param from The address to transfer from.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function _transfer(address from, address to, uint256 value) internal {
        require(to != address(0));

        _balances[from] = _balances[from].sub(value);
        _balances[to] = _balances[to].add(value);
        emit Transfer(from, to, value);
    }

    /**
     * @dev Internal function that mints an amount of the token and assigns it to
     * an account. This encapsulates the modification of balances such that the
     * proper events are emitted.
     * @param account The account that will receive the created tokens.
     * @param value The amount that will be created.
     */
    function _mint(address account, uint256 value) internal {
        require(account != address(0));

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

    /**
     * @dev Internal function that burns an amount of the token of a given
     * account.
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burn(address account, uint256 value) internal {
        require(account != address(0));

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

    /**
     * @dev Approve an address to spend another addresses' tokens.
     * @param owner The address that owns the tokens.
     * @param spender The address that will spend the tokens.
     * @param value The number of tokens that can be spent.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        require(spender != address(0));
        require(owner != address(0));

        _allowed[owner][spender] = value;
        emit Approval(owner, spender, value);
    }
}


/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract ERC20Burnable is ERC20, BurnRole{
    /**
     * @dev Burns a specific amount of tokens.
     * @param value The amount of token to be burned.
     */
    function burn(uint256 value) public onlyBurner returns (bool){
        _burn(msg.sender, value);
        return true;
    }
}


contract MinterRole {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(msg.sender);
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender));
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) external onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(msg.sender);
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}



/**
 * @title ERC20Mintable
 * @dev ERC20 minting logic.
 */
contract ERC20Mintable is ERC20, MinterRole{
    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param value The amount of tokens to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(address to, uint256 value) external onlyMinter returns (bool) {
        _mint(to, value);
        return true;
    }
}


/**
 * @title Capped token
 * @dev Mintable token with a token cap.
 */
contract ERC20Capped is ERC20Mintable {
    uint256 private _cap;

    constructor (uint256 cap) public {
        require(cap > 0);
        _cap = cap;
    }

    /**
     * @return the cap for the token minting.
     */
    function cap() public view returns (uint256) {
        return _cap;
    }

    function _mint(address account, uint256 value) internal {
        require(totalSupply().add(value) <= _cap);
        super._mint(account, value);
    }
}


/**
 * @title ERC20Detailed token
 * @dev The decimals are only for visualization purposes.
 * All the operations are done using the smallest and indivisible token unit,
 * just as on Ethereum all the operations are done in wei.
 */
contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

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

    /**
     * @return the symbol of the token.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @return the number of decimals of the token.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}



/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
    address private _owner;

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

    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    constructor () internal {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner());
        _;
    }

    /**
     * @return true if `msg.sender` is the owner of the contract.
     */
    function isOwner() public view returns (bool) {
        return msg.sender == _owner;
    }

    /**
     * @dev Allows the current owner to relinquish control of the contract.
     * It will not be possible to call the functions with the `onlyOwner`
     * modifier anymore.
     * @notice Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0));
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(account != address(0));
        require(!has(role, account));

        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(account != address(0));
        require(has(role, account));

        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0));
        return role.bearer[account];
    }
}


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

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.

        require(address(token).isContract());

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

        if (returndata.length > 0) { // Return data is optional
            require(abi.decode(returndata, (bool)));
        }
    }
}

contract RPGBurn is Ownable {
    using Address for address;
    using SafeMath for uint256;

    ERC20Burnable private _token;

    constructor(ERC20Burnable token) public {
        _token = token;
    }

    function burn(uint256 value) onlyOwner public {
        _token.burn(value);
    }
}


contract RPG is
    ERC20,
    ERC20Detailed,
    ERC20Burnable,
    ERC20Capped,
    Ownable
{
    using Address for address;
    uint256 public constant INITIAL_SUPPLY = 21000000 * (10**18);
    mapping(address => uint8) public limit;
    RPGBurn public burnContract;

    constructor(string memory name, string memory symbol)
        public
        Ownable()
        ERC20Capped(INITIAL_SUPPLY)
        ERC20Burnable()
        ERC20Detailed(name, symbol, 18)
        ERC20()
    {
        // mint all tokens
        _mint(msg.sender, INITIAL_SUPPLY);

        // create burner contract
        burnContract = new RPGBurn(this);
        addBurner(address(burnContract));
    }

    /**
     * Set target address transfer limit
     * @param addr target address
     * @param mode limit mode (0: no limit, 1: can not transfer token, 2: can not receive token)
     */
    function setTransferLimit(address addr, uint8 mode) public onlyOwner {
        require(mode == 0 || mode == 1 || mode == 2);

        if (mode == 0) {
            delete limit[addr];
        } else {
            limit[addr] = mode;
        }
    }

    /**
     * @dev Transfer token to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function transfer(address to, uint256 value) public returns (bool) {
        require(limit[msg.sender] != 1, 'from address is limited.');
        require(limit[to] != 2, 'to address is limited.');

        _transfer(msg.sender, to, value);

        return true;
    }

    function burnFromContract(uint256 value) onlyBurner public {
        burnContract.burn(value);
    }
}

contract RPGVesting is Ownable {
    using Address for address;
    using SafeMath for uint256;

    RPG private _token;
    RPGVestingA private _investors = RPGVestingA(0);
    RPGVestingB private _incubator_adviser;
    RPGVestingC private _development;
    RPGVestingD private _community;
    RPGVestingE private _fund;

    uint256 public INITIAL_SUPPLY;

    event event_debug(uint256 amount);

    constructor() public {

    }

    function init(
        RPG token,RPGVestingA investors_addr,RPGVestingB incubator_adviser_addr,RPGVestingC development_addr,RPGVestingD community_addr,RPGVestingE fund_addr,
        address[] memory investors,          //10%-----A
        uint256[] memory investors_number,
        address[] memory incubator_advisers, //7%-----B
        uint256[] memory incubator_advisers_number,
        address developments,               //14%----C
        address community,                  //49%----D  mutisigncontract address
        address[3] memory fund              //20%----E
    ) public onlyOwner {
        require(address(_investors) == address(0));     //run once

        //para check
        require(address(token) != address(0));
        require(address(investors_addr) != address(0));
        require(address(incubator_adviser_addr) != address(0));
        require(address(development_addr) != address(0));
        require(address(community_addr) != address(0));
        require(address(fund_addr) != address(0));
        require(investors.length == investors_number.length);
        require(incubator_advisers.length == incubator_advisers_number.length);
        require(developments != address(0));
        require(community != address(0));
        require(fund[0] != address(0));
        require(fund[1] != address(0));
        require(fund[2] != address(0));
        //run check

        _token = token;
        _investors = investors_addr;
        _incubator_adviser = incubator_adviser_addr;
        _development = development_addr;
        _community = community_addr;
        _fund = fund_addr;
        INITIAL_SUPPLY = _token.INITIAL_SUPPLY();
        require(_token.balanceOf(address(this)) == INITIAL_SUPPLY);

        // create all vesting contracts
        // _investors          = new RPGVestingA(_token,INITIAL_SUPPLY.mul(9).div(100));
        // _incubator_adviser  = new RPGVestingB(_token,INITIAL_SUPPLY.mul(7).div(100));
        // _development        = new RPGVestingB(_token,INITIAL_SUPPLY.mul(14).div(100));
        // _community          = new RPGVestingC(_token,community,INITIAL_SUPPLY.mul(49).div(100));
        // _fund               = new RPGVestingD(_token,fund,INITIAL_SUPPLY.mul(21).div(100));

        //init
        require(_investors.init(_token,INITIAL_SUPPLY.mul(10).div(100),investors,investors_number));
        require(_incubator_adviser.init(_token,INITIAL_SUPPLY.mul(7).div(100),incubator_advisers,incubator_advisers_number));
        require(_development.init(_token,developments,INITIAL_SUPPLY.mul(14).div(100)));
        require(_community.init(_token,community,INITIAL_SUPPLY.mul(49).div(100)));
        require(_fund.init(_token,fund,INITIAL_SUPPLY.mul(20).div(100)));

        //transfer tokens to vesting contracts
        _token.transfer(address(_investors)         , _investors.total());
        _token.transfer(address(_incubator_adviser) , _incubator_adviser.total());
        _token.transfer(address(_development)       , _development.total());
        _token.transfer(address(_community)         , _community.total());
        _token.transfer(address(_fund)              , _fund.total());

    }

    function StartIDO(uint256 start) public onlyOwner {
        require(start >= block.timestamp);

        _investors.setStart(start);
        _fund.setStart(start);
    }

    function StartMainnet(uint256 start) public onlyOwner {
        require(start >= block.timestamp);
        require(start >= _investors.start());

        _incubator_adviser.setStart(start);
        _development.setStart(start);
        _community.setStart(start);
    }

    function StartInvestorsClaim() public onlyOwner {
        require(_investors.start() > 0 && _investors.start() < block.timestamp);

        _investors.setcanclaim();
    }

    function investors() public view returns (address) {
        return address(_investors);
    }

    function incubator_adviser() public view returns (address) {
        return address(_incubator_adviser);
    }

    function development() public view returns (address) {
        return address(_development);
    }

    function community() public view returns (address) {
        return address(_community);
    }

    function fund() public view returns (address) {
        return address(_fund);
    }

    ////calc vesting number/////////////////////////////
    function unlocked_investors_vesting(address user) public view returns(uint256) {
        return _investors.calcvesting(user);
    }

    function unlocked_incubator_adviser_vesting(address user) public view returns(uint256) {
        return _incubator_adviser.calcvesting(user);
    }

    function unlocked_development_vesting() public view returns(uint256) {
        return _development.calcvesting();
    }

    function unlocked_community_vesting() public view returns(uint256) {
        return _community.calcvesting();
    }

    // function calc_fund_vesting() public view returns(uint256) {
    //     return _fund.calcvesting();
    // }

    ///////claimed amounts//////////////////////////////
    function claimed_investors(address user) public view returns(uint256){
        return _investors.claimed(user);
    }

    function claimed_incubator_adviser(address user) public view returns(uint256){
        return _incubator_adviser.claimed(user);
    }

    function claimed_development() public view returns(uint256){
        return _development.claimed();
    }

    function claimed_community() public view returns(uint256){
        return _community.claimed();
    }

    //////change address/////////////////////////////////
    function investors_changeaddress(address oldaddr,address newaddr) onlyOwner public{
        require(newaddr != address(0));

        _investors.changeaddress(oldaddr,newaddr);
    }

    function incubator_adviser_changeaddress(address oldaddr,address newaddr) onlyOwner public{
        require(newaddr != address(0));

        _incubator_adviser.changeaddress(oldaddr,newaddr);
    }

    function community_changeaddress(address newaddr) onlyOwner public{
        require(newaddr != address(0));

        _community.changeaddress(newaddr);
    }

}

contract RPGVestingA {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    address _vestingaddr;
    IERC20 private _token;
    uint256 private _total;
    uint256 private _start = 0;
    bool    private _canclaim = false;
    address[] private _beneficiarys;
    uint256 constant _duration = 86400;
    uint256 constant _releasealldays = 400;
    mapping(address => uint256) private _beneficiary_total;
    mapping(address => uint256) private _released;

    //event
    event event_set_can_claim();
    event event_claimed(address user,uint256 amount);
    event event_change_address(address oldaddr,address newaddr);

    constructor(address addr) public {
        require(addr != address(0));

        _vestingaddr = addr;
    }

    function init(IERC20 token, uint256 total,address[] memory beneficiarys,uint256[] memory amounts) public returns(bool) {
        require(_vestingaddr == msg.sender);
        require(_beneficiarys.length == 0);     //run once

        require(address(token) != address(0));
        require(total > 0);
        require(beneficiarys.length == amounts.length);

        _token = token;
        _total = total;

        uint256 all = 0;
        for(uint256 i = 0 ; i < amounts.length; i++)
        {
            all = all.add(amounts[i]);
        }
        require(all == _total);

        _beneficiarys = beneficiarys;
        for(uint256 i = 0 ; i < _beneficiarys.length; i++)
        {
            _beneficiary_total[_beneficiarys[i]] = amounts[i];
            _released[_beneficiarys[i]] = 0;
        }
        return true;
    }

    function setStart(uint256 newStart) public {
        require(_vestingaddr == msg.sender);
        require(newStart > 0 && _start == 0);

        _start = newStart;
    }

    /**
    * @return the start time of the token vesting.
    */
    function start() public view returns (uint256) {
        return _start;
    }

    /**
     * @return the beneficiary of the tokens.
     */
    function beneficiary() public view returns (address[] memory) {
        return _beneficiarys;
    }

    /**
     * @return total tokens of the beneficiary address.
     */
    function beneficiarytotal(address addr) public view returns (uint256) {
    	require(_beneficiary_total[addr] != 0,'not in beneficiary list');
        return _beneficiary_total[addr];
    }

    /**
     * @return total of the tokens.
     */
    function total() public view returns (uint256) {
        return _total;
    }

    /**
     * @return canclaim.
     */
    function canclaim() public view returns (bool) {
        return _canclaim;
    }

    function setcanclaim() public {
        require(_vestingaddr == msg.sender);
        require(!_canclaim,'_canclaim is not false!');

        _canclaim = true;

        emit event_set_can_claim();
    }

    /**
     * @return total number can release to now.
     */
    function calcvesting(address user) public view returns(uint256) {
        require(_start > 0);
        require(block.timestamp >= _start);
        require(_beneficiary_total[user] > 0);

        uint256 daynum = block.timestamp.sub(_start).div(_duration);

        if(daynum <= _releasealldays)
        {
            return _beneficiary_total[user].mul(daynum).div(_releasealldays);
        }
        else
        {
            return _beneficiary_total[user];
        }
    }

    /**
     * claim all the tokens to now
     * @return claim number this time .
     */
    function claim() public returns(uint256) {
        require(_start > 0);
        require(_beneficiary_total[msg.sender] > 0);
        require(_canclaim,'claim not allowed!');

        uint256 amount = calcvesting(msg.sender).sub(_released[msg.sender]);
        if(amount > 0)
        {
            _released[msg.sender] = _released[msg.sender].add(amount);
            _token.safeTransfer(msg.sender,amount);
            emit event_claimed(msg.sender,amount);
        }
        return amount;
    }

    /**
     * @return all number has claimed
     */
    function claimed(address user) public view returns(uint256) {
        require(_start > 0);

        return _released[user];
    }

    function changeaddress(address oldaddr,address newaddr) public {
        require(_beneficiarys.length > 0);
        require(_beneficiary_total[newaddr] == 0);

        if(msg.sender == _vestingaddr)
        {
            for(uint256 i = 0 ; i < _beneficiarys.length; i++)
            {
                if(_beneficiarys[i] == oldaddr)
                {
                    _beneficiarys[i] = newaddr;
                    _beneficiary_total[newaddr] = _beneficiary_total[oldaddr];
                    _beneficiary_total[oldaddr] = 0;
                    _released[newaddr] = _released[oldaddr];
                    _released[oldaddr] = 0;

                    emit event_change_address(oldaddr,newaddr);
                    return;
                }
            }
        }
        else
        {
            require(msg.sender == oldaddr);

            for(uint256 i = 0 ; i < _beneficiarys.length; i++)
            {
                if(_beneficiarys[i] == msg.sender)
                {
                    _beneficiarys[i] = newaddr;
                    _beneficiary_total[newaddr] = _beneficiary_total[msg.sender];
                    _beneficiary_total[msg.sender] = 0;
                    _released[newaddr] = _released[msg.sender];
                    _released[msg.sender] = 0;

                    emit event_change_address(msg.sender,newaddr);
                    return;
                }
            }
        }
    }
}


contract RPGVestingB {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    address _vestingaddr;
    IERC20 private _token;
    address[] private _beneficiarys;
    uint256 private _total;
    uint256 private _start = 0;
    uint256 constant _duration = 86400;
    uint256 constant _releaseperiod = 180;
    mapping(address => uint256) private _beneficiary_total;
    mapping(address => uint256) private _released;

    //event
    event event_claimed(address user,uint256 amount);
    event event_change_address(address oldaddr,address newaddr);

    constructor(address addr) public {
        require(addr != address(0));

        _vestingaddr = addr;
    }

    function init(IERC20 token,uint256 total,address[] memory beneficiarys,uint256[] memory amounts) public returns(bool) {
        require(_vestingaddr == msg.sender);
        require(_beneficiarys.length == 0); //run once

        require(address(token) != address(0));
        require(total > 0);
        require(beneficiarys.length == amounts.length);

        _token = token;
        _total = total;

        uint256 all = 0;
        for(uint256 i = 0 ; i < amounts.length; i++)
        {
            all = all.add(amounts[i]);
        }
        require(all == _total);

        _beneficiarys = beneficiarys;
        for(uint256 i = 0 ; i < _beneficiarys.length; i++)
        {
            _beneficiary_total[_beneficiarys[i]] = amounts[i];
            _released[_beneficiarys[i]] = 0;
        }
        return true;
    }

    /**
     * @return the beneficiary of the tokens.
     */
    function beneficiary() public view returns (address[] memory) {
        return _beneficiarys;
    }

    /**
     * @return total tokens of the beneficiary address.
     */
    function beneficiarytotal(address addr) public view returns (uint256) {
    	require(_beneficiary_total[addr] != 0,'not in beneficiary list');
        return _beneficiary_total[addr];
    }

    /**
     * @return total of the tokens.
     */
    function total() public view returns (uint256) {
        return _total;
    }

    /**
     * @return the start time of the token vesting.
     */
    function start() public view returns (uint256) {
        return _start;
    }

    function setStart(uint256 newStart) public {
        require(_vestingaddr == msg.sender);
        require(newStart > 0 && _start == 0);

        _start = newStart;
    }

    /**
     * @return number to now.
     */
    function calcvesting(address user) public view returns(uint256) {
        require(_start > 0);
        require(block.timestamp >= _start);
        require(_beneficiary_total[user] > 0);

        uint256 daynum = block.timestamp.sub(_start).div(_duration);

        uint256 counts180 = daynum.div(_releaseperiod);
        uint256 dayleft = daynum.mod(_releaseperiod);
        uint256 amount180 = 0;
        uint256 thistotal = _beneficiary_total[user].mul(8).div(100);
        for(uint256 i = 0; i< counts180; i++)
        {
            amount180 = amount180.add(thistotal);
            thistotal = thistotal.mul(92).div(100);     //thistotal.mul(100).div(8).mul(92).div(100).mul(8).div(100);     //next is thistotal/(0.08)*0.92*0.08
        }

        return amount180.add(thistotal.mul(dayleft).div(_releaseperiod));
    }

    /**
     * claim all the tokens to now
     * @return claim number this time .
     */
    function claim() public returns(uint256) {
        require(_start > 0);
        require(_beneficiary_total[msg.sender] > 0);

        uint256 amount = calcvesting(msg.sender).sub(_released[msg.sender]);
        if(amount > 0)
        {
            _released[msg.sender] = _released[msg.sender].add(amount);
            _token.safeTransfer(msg.sender,amount);
            emit event_claimed(msg.sender,amount);
        }
        return amount;
    }

    /**
     * @return all number has claimed
     */
    function claimed(address user) public view returns(uint256) {
        require(_start > 0);

        return _released[user];
    }

    function changeaddress(address oldaddr,address newaddr) public {
        require(_beneficiarys.length > 0);
        require(_beneficiary_total[newaddr] == 0);

        if(msg.sender == _vestingaddr)
        {
            for(uint256 i = 0 ; i < _beneficiarys.length; i++)
            {
                if(_beneficiarys[i] == oldaddr)
                {
                    _beneficiarys[i] = newaddr;
                    _beneficiary_total[newaddr] = _beneficiary_total[oldaddr];
                    _beneficiary_total[oldaddr] = 0;
                    _released[newaddr] = _released[oldaddr];
                    _released[oldaddr] = 0;

                    emit event_change_address(oldaddr,newaddr);
                    return;
                }
            }
        }
        else
        {
            require(msg.sender == oldaddr);

            for(uint256 i = 0 ; i < _beneficiarys.length; i++)
            {
                if(_beneficiarys[i] == msg.sender)
                {
                    _beneficiarys[i] = newaddr;
                    _beneficiary_total[newaddr] = _beneficiary_total[msg.sender];
                    _beneficiary_total[msg.sender] = 0;
                    _released[newaddr] = _released[msg.sender];
                    _released[msg.sender] = 0;

                    emit event_change_address(msg.sender,newaddr);
                    return;
                }
            }
        }
    }
}

contract RPGVestingC {
    // The vesting schedule is time-based (i.e. using block timestamps as opposed to e.g. block numbers), and is
    // therefore sensitive to timestamp manipulation (which is something miners can do, to a certain degree). Therefore,
    // it is recommended to avoid using short time durations (less than a minute).
    // solhint-disable not-rely-on-time

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    address _vestingaddr;

    event event_claimed(address user,uint256 amount);

    IERC20 private _token;
    uint256 private _total;
    uint256 constant _duration = 86400;
    uint256 constant _releaseperiod = 180;
    uint256 private _released = 0;

    // beneficiary of tokens after they are released
    address private _beneficiary = address(0);
    uint256 private _start = 0;

    constructor (address addr) public {
        require(addr != address(0));

        _vestingaddr = addr;
    }

    function init(IERC20 token,address beneficiary, uint256 total) public returns(bool){
        require(_vestingaddr == msg.sender);
        require(_beneficiary == address(0));    //run once

        require(address(token) != address(0));
        require(beneficiary != address(0));
        require(total > 0);

        _token = token;
        _beneficiary = beneficiary;
        _total = total;
        return true;
    }

    /**
     * @return the beneficiary of the tokens.
     */
    function beneficiary() public view returns (address) {
        return _beneficiary;
    }

    /**
     * @return the start time of the token vesting.
     */
    function start() public view returns (uint256) {
        return _start;
    }

    /**
     * @return total of the tokens.
     */
    function total() public view returns (uint256) {
        return _total;
    }

    function setStart(uint256 newStart) public {
        require(_vestingaddr == msg.sender);
        require(newStart > 0 && _start == 0);

        _start = newStart;
    }

    /**
     * @return number to now.
     */
    function calcvesting() public view returns(uint256) {
        require(_start > 0);
        require(block.timestamp >= _start);

        uint256 daynum = block.timestamp.sub(_start).div(_duration);

        uint256 counts180 = daynum.div(_releaseperiod);
        uint256 dayleft = daynum.mod(_releaseperiod);
        uint256 amount180 = 0;
        uint256 thistotal = _total.mul(8).div(100);
        for(uint256 i = 0; i< counts180; i++)
        {
            amount180 = amount180.add(thistotal);
            thistotal = thistotal.mul(92).div(100);         //thistotal.mul(100).div(8).mul(92).div(100).mul(8).div(100);     //next is thistotal/(0.08)*0.92*0.08
        }

        return amount180.add(thistotal.mul(dayleft).div(_releaseperiod));
    }

    /**
     * @return number of this claim
     */
    function claim() public returns(uint256) {
        require(_start > 0);

        uint256 amount = calcvesting().sub(_released);
        if(amount > 0)
        {
            _released = _released.add(amount);
            _token.safeTransfer(_beneficiary,amount);
            emit event_claimed(msg.sender,amount);
        }
        return amount;
    }

    /**
     * @return all number has claimed
     */
    function claimed() public view returns(uint256) {
        require(_start > 0);

        return _released;
    }
}

contract RPGVestingD {
    // The vesting schedule is time-based (i.e. using block timestamps as opposed to e.g. block numbers), and is
    // therefore sensitive to timestamp manipulation (which is something miners can do, to a certain degree). Therefore,
    // it is recommended to avoid using short time durations (less than a minute).
    // solhint-disable not-rely-on-time

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    address _vestingaddr;

    event event_claimed(address user,uint256 amount);

    IERC20 private _token;
    uint256 private _total;
    uint256 constant _duration = 86400;
    uint256 constant _releaseperiod = 180;
    uint256 private _released = 0;

    // beneficiary of tokens after they are released
    address private _beneficiary = address(0);
    uint256 private _start = 0;

    constructor (address addr) public {
        require(addr != address(0));

        _vestingaddr = addr;

    }

    function init(IERC20 token,address beneficiary, uint256 total) public returns(bool){
        require(_vestingaddr == msg.sender);
        require(_beneficiary == address(0));    //run once

        require(address(token) != address(0));
        require(beneficiary != address(0));
        require(total > 0);

        _token = token;
        _beneficiary = beneficiary;
        _total = total;
        return true;
    }

    /**
     * @return the beneficiary of the tokens.
     */
    function beneficiary() public view returns (address) {
        return _beneficiary;
    }

    /**
     * @return the start time of the token vesting.
     */
    function start() public view returns (uint256) {
        return _start;
    }

    /**
     * @return total of the tokens.
     */
    function total() public view returns (uint256) {
        return _total;
    }

    function setStart(uint256 newStart) public {
        require(_vestingaddr == msg.sender);
        require(newStart > 0 && _start == 0);

        _start = newStart;
    }

    /**
     * @return number to now.
     */
    function calcvesting() public view returns(uint256) {
        require(_start > 0);
        require(block.timestamp >= _start);

        uint256 daynum = block.timestamp.sub(_start).div(_duration);

        uint256 counts180 = daynum.div(_releaseperiod);
        uint256 dayleft = daynum.mod(_releaseperiod);
        uint256 amount180 = 0;
        uint256 thistotal = _total.mul(8).div(100);
        for(uint256 i = 0; i< counts180; i++)
        {
            amount180 = amount180.add(thistotal);
            thistotal = thistotal.mul(92).div(100);                //thistotal.mul(100).div(8).mul(92).div(100).mul(8).div(100);     //next is thistotal/(0.08)*0.92*0.08
        }

        return amount180.add(thistotal.mul(dayleft).div(_releaseperiod));
    }

    /**
     * @return number of this claim
     */
    function claim() public returns(uint256) {
        require(_start > 0);

        uint256 amount = calcvesting().sub(_released);
        if(amount > 0)
        {
            _released = _released.add(amount);
            _token.safeTransfer(_beneficiary,amount);
            emit event_claimed(_beneficiary,amount);
        }
        return amount;
    }

    /**
     * @return all number has claimed
     */
    function claimed() public view returns(uint256) {
        require(_start > 0);

        return _released;
    }

    //it must approve , before call this function
    function changeaddress(address newaddr) public {
        require(_beneficiary != address(0));
        require(msg.sender == _vestingaddr);

        _token.safeTransferFrom(_beneficiary,newaddr,_token.balanceOf(_beneficiary));
        _beneficiary = newaddr;
    }
}

contract RPGVestingE {
    // The vesting schedule is time-based (i.e. using block timestamps as opposed to e.g. block numbers), and is
    // therefore sensitive to timestamp manipulation (which is something miners can do, to a certain degree). Therefore,
    // it is recommended to avoid using short time durations (less than a minute).
    // solhint-disable not-rely-on-time

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    address _vestingaddr;

    event event_claimed(address user,uint256 amount);

    IERC20 private _token;
    uint256 private _total;

    // beneficiary of tokens after they are released
    address[3] private _beneficiarys;

    // Durations and timestamps are expressed in UNIX time, the same units as block.timestamp.
    //uint256 private _phase;
    uint256 private _start = 0;
    //uint256 private _duration;

    //bool private _revocable;

    constructor (address addr) public {
        require(addr != address(0));

        _vestingaddr = addr;
    }

    function init(IERC20 token,address[3] memory beneficiarys, uint256 total) public returns(bool){
        require(_vestingaddr == msg.sender);
        require(_beneficiarys[0] == address(0),'Initialize only once!');

        require(address(token) != address(0));
        require(beneficiarys[0] != address(0));
        require(beneficiarys[1] != address(0));
        require(beneficiarys[2] != address(0));
        require(total > 0);

        _token = token;
        _beneficiarys = beneficiarys;
        _total = total;
        return true;
    }

    /**
     * @return the beneficiary of the tokens.
     */
    function beneficiary() public view returns (address[3] memory) {
        return _beneficiarys;
    }

    /**
     * @return the start time of the token vesting.
     */
    function start() public view returns (uint256) {
        return _start;
    }

    /**
     * @return total of the tokens.
     */
    function total() public view returns (uint256) {
        return _total;
    }

    function setStart(uint256 newStart) public {
        require(_vestingaddr == msg.sender);
        require(newStart > 0 && _start == 0);

        _start = newStart;
    }

    /**
     * @notice Transfers tokens to beneficiary.
     */
    function claim() public returns(uint256){
        require(_start > 0);

        _token.safeTransfer(_beneficiarys[0], _total.mul(8).div(20));
        emit event_claimed(_beneficiarys[0],_total.mul(8).div(20));

        _token.safeTransfer(_beneficiarys[1], _total.mul(7).div(20));
        emit event_claimed(_beneficiarys[1],_total.mul(7).div(20));

        _token.safeTransfer(_beneficiarys[2], _total.mul(5).div(20));
        emit event_claimed(_beneficiarys[2],_total.mul(5).div(20));
        return _total;
    }

    /**
     * @return all number has claimed
     */
    function claimed() public view returns(uint256) {
        require(_start > 0);

        uint256 amount0 = _token.balanceOf(_beneficiarys[0]);
        uint256 amount1 = _token.balanceOf(_beneficiarys[1]);
        uint256 amount2 = _token.balanceOf(_beneficiarys[2]);
        return amount0.add(amount1).add(amount2);
    }

}

contract RPGVestingF is Ownable{

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    //address _vestingaddr;
    IERC20 private _token;
    uint256 private _total;
    uint256 private _start = 0;
    address[] private _beneficiarys;
    uint256 constant _duration = 86400;
    uint256 _releasealldays;
    mapping(address => uint256) private _beneficiary_total;
    mapping(address => uint256) private _released;

    //event
    event event_set_can_claim();
    event event_claimed(address user,uint256 amount);
    event event_change_address(address oldaddr,address newaddr);

    constructor(uint256 releasealldays) public {
        require(releasealldays > 0);
		    _releasealldays = releasealldays;
    }

    function init(IERC20 token, uint256 total,address[] calldata beneficiarys,uint256[] calldata amounts) external onlyOwner returns(bool) {
        //require(_vestingaddr == msg.sender);
        require(_beneficiarys.length == 0);     //run once

        require(address(token) != address(0));
        require(total > 0);
        require(beneficiarys.length == amounts.length);

        _token = token;
        _total = total;

        uint256 all = 0;
        for(uint256 i = 0 ; i < amounts.length; i++)
        {
            all = all.add(amounts[i]);
        }
        require(all == _total);

        _beneficiarys = beneficiarys;
        for(uint256 i = 0 ; i < _beneficiarys.length; i++)
        {
            _beneficiary_total[_beneficiarys[i]] = amounts[i];
            _released[_beneficiarys[i]] = 0;
        }
        return true;
    }

    function setStart(uint256 newStart) external onlyOwner{
        //require(_vestingaddr == msg.sender);
        require(newStart > block.timestamp && _start == 0);

        _start = newStart;
    }

    /**
    * @return the start time of the token vesting.
    */
    function start() public view returns (uint256) {
        return _start;
    }

    /**
     * @return the beneficiary of the tokens.
     */
    function beneficiary() public view returns (address[] memory) {
        return _beneficiarys;
    }

    /**
     * @return total tokens of the beneficiary address.
     */
    function beneficiarytotal(address addr) public view returns (uint256) {
    	require(_beneficiary_total[addr] != 0,'not in beneficiary list');
        return _beneficiary_total[addr];
    }

    /**
     * @return total of the tokens.
     */
    function total() public view returns (uint256) {
        return _total;
    }

    /**
     * @return total number can release to now.
     */
    function calcvesting(address user) public view returns(uint256) {
        require(_start > 0);
        require(block.timestamp >= _start);
        require(_beneficiary_total[user] > 0);

        uint256 daynum = block.timestamp.sub(_start).div(_duration);

        if(daynum <= _releasealldays)
        {
            return _beneficiary_total[user].mul(daynum).div(_releasealldays);
        }
        else
        {
            return _beneficiary_total[user];
        }
    }

    /**
     * claim all the tokens to now
     * @return claim number this time .
     */
    function claim() external returns(uint256) {
        require(_start > 0);
        require(_beneficiary_total[msg.sender] > 0);

        uint256 amount = calcvesting(msg.sender).sub(_released[msg.sender]);
        if(amount > 0)
        {
            _released[msg.sender] = _released[msg.sender].add(amount);
            _token.safeTransfer(msg.sender,amount);
            emit event_claimed(msg.sender,amount);
        }
        return amount;
    }

    /**
     * @return all number has claimed
     */
    function claimed(address user) public view returns(uint256) {
        require(_start > 0);

        return _released[user];
    }

    function changeaddress(address oldaddr,address newaddr) external {
        require(newaddr != address(0));
        require(_beneficiarys.length > 0);
        require(_beneficiary_total[newaddr] == 0);

        //if(msg.sender == _vestingaddr)
        if(isOwner())
        {
            for(uint256 i = 0 ; i < _beneficiarys.length; i++)
            {
                if(_beneficiarys[i] == oldaddr)
                {
                    _beneficiarys[i] = newaddr;
                    _beneficiary_total[newaddr] = _beneficiary_total[oldaddr];
                    _beneficiary_total[oldaddr] = 0;
                    _released[newaddr] = _released[oldaddr];
                    _released[oldaddr] = 0;
        
                    emit event_change_address(oldaddr,newaddr);
                    return;
                }
            }
        }
        else
        {
            require(msg.sender == oldaddr);

            for(uint256 i = 0 ; i < _beneficiarys.length; i++)
            {
                if(_beneficiarys[i] == msg.sender)
                {
                    _beneficiarys[i] = newaddr;
                    _beneficiary_total[newaddr] = _beneficiary_total[msg.sender];
                    _beneficiary_total[msg.sender] = 0;
                    _released[newaddr] = _released[msg.sender];
                    _released[msg.sender] = 0;

                    emit event_change_address(msg.sender,newaddr);
                    return;
                }
            }
        }
    }
}

pragma solidity 0.5.17;

interface IPLPS {
    function LiquidityProtection_beforeTokenTransfer(
        address _pool, address _from, address _to, uint _amount) external;
    function isBlocked(address _pool, address _who) external view returns(bool);
    function unblock(address _pool, address[] calldata _whos) external;
}

pragma solidity 0.5.17;

// Exempt from the original UniswapV2Library.
library UniswapV2Library {
    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(bytes32 initCodeHash, address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint160(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                initCodeHash // init code hash
            )))));
    }
}

pragma solidity 0.5.17;

/// @notice based on https://github.com/Uniswap/uniswap-v3-periphery/blob/v1.0.0/contracts/libraries/PoolAddress.sol
/// @notice changed compiler version and lib name.

/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee
library UniswapV3Library {
    bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;

    /// @notice The identifying key of the pool
    struct PoolKey {
        address token0;
        address token1;
        uint24 fee;
    }

    /// @notice Returns PoolKey: the ordered tokens with the matched fee levels
    /// @param tokenA The first token of a pool, unsorted
    /// @param tokenB The second token of a pool, unsorted
    /// @param fee The fee level of the pool
    /// @return Poolkey The pool details with ordered token0 and token1 assignments
    function getPoolKey(
        address tokenA,
        address tokenB,
        uint24 fee
    ) internal pure returns (PoolKey memory) {
        if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
        return PoolKey({token0: tokenA, token1: tokenB, fee: fee});
    }

    /// @notice Deterministically computes the pool address given the factory and PoolKey
    /// @param factory The Uniswap V3 factory contract address
    /// @param key The PoolKey
    /// @return pool The contract address of the V3 pool
    function computeAddress(address factory, PoolKey memory key) internal pure returns (address pool) {
        require(key.token0 < key.token1);
        pool = address(
            uint160(
                uint256(
                    keccak256(
                        abi.encodePacked(
                            hex'ff',
                            factory,
                            keccak256(abi.encode(key.token0, key.token1, key.fee)),
                            POOL_INIT_CODE_HASH
                        )
                    )
                )
            )
        );
    }
}


pragma solidity 0.5.17;

contract UsingLiquidityProtectionService {
    bool private unProtected = false;
    IPLPS private plps;
    uint64 internal constant HUNDRED_PERCENT = 1e18;
    bytes32 internal constant UNISWAP = 0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f;
    bytes32 internal constant PANCAKESWAP = 0x00fb7f630766e6a796048ea87d01acd3068e8ff67d078148a3fa3f4a84f69bd5;
    bytes32 internal constant QUICKSWAP = 0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f;

    enum UniswapVersion {
        V2,
        V3
    }

    enum UniswapV3Fees {
        _005, // 0.05%
        _03, // 0.3%
        _1 // 1%
    }

    modifier onlyProtectionAdmin() {
        protectionAdminCheck();
        _;
    }

    constructor (address _plps) public {
        plps = IPLPS(_plps);
    }

    function LiquidityProtection_setLiquidityProtectionService(IPLPS _plps) external onlyProtectionAdmin() {
        plps = _plps;
    }

    function token_transfer(address from, address to, uint amount) internal;
    function token_balanceOf(address holder) internal view returns(uint);
    function protectionAdminCheck() internal view;
    function uniswapVariety() internal pure returns(bytes32);
    function uniswapVersion() internal pure returns(UniswapVersion);
    function uniswapFactory() internal pure returns(address);
    function counterToken() internal pure returns(address) {
        return 0xdAC17F958D2ee523a2206206994597C13D831ec7; // USDT
    }
    function uniswapV3Fee() internal pure returns(UniswapV3Fees) {
        return UniswapV3Fees._03;
    }
    function protectionChecker() internal view returns(bool) {
        return ProtectionSwitch_manual();
    }

    function lps() private view returns(IPLPS) {
        return plps;
    }

    function LiquidityProtection_beforeTokenTransfer(address _from, address _to, uint _amount) internal {
        if (protectionChecker()) {
            if (unProtected) {
                return;
            }
            lps().LiquidityProtection_beforeTokenTransfer(getLiquidityPool(), _from, _to, _amount);
        }
    }

    function revokeBlocked(address[] calldata _holders, address _revokeTo) external onlyProtectionAdmin() {
        require(isProtected(), 'UsingLiquidityProtectionService: protection removed');
        bool unProtectedOld = unProtected;
        unProtected = true;
        address pool = getLiquidityPool();
        for (uint i = 0; i < _holders.length; i++) {
            address holder = _holders[i];
            if (lps().isBlocked(pool, holder)) {
                token_transfer(holder, _revokeTo, token_balanceOf(holder));
            }
        }
        unProtected = unProtectedOld;
    }

    function LiquidityProtection_unblock(address[] calldata _holders) external onlyProtectionAdmin() {
        require(protectionChecker(), 'UsingLiquidityProtectionService: protection removed');
        address pool = getLiquidityPool();
        lps().unblock(pool, _holders);
    }

    function disableProtection() external onlyProtectionAdmin() {
        unProtected = true;
    }

    function isProtected() public view returns(bool) {
        return not(unProtected);
    }

    function ProtectionSwitch_manual() internal view returns(bool) {
        return isProtected();
    }

    function ProtectionSwitch_timestamp(uint _timestamp) internal view returns(bool) {
        return not(passed(_timestamp));
    }

    function ProtectionSwitch_block(uint _block) internal view returns(bool) {
        return not(blockPassed(_block));
    }

    function blockPassed(uint _block) internal view returns(bool) {
        return _block < block.number;
    }

    function passed(uint _timestamp) internal view returns(bool) {
        return _timestamp < block.timestamp;
    }

    function not(bool _condition) internal pure returns(bool) {
        return !_condition;
    }

    function feeToUint24(UniswapV3Fees _fee) internal pure returns(uint24) {
        if (_fee == UniswapV3Fees._03) return 3000;
        if (_fee == UniswapV3Fees._005) return 500;
        return 10000;
    }

    function getLiquidityPool() public view returns(address) {
        if (uniswapVersion() == UniswapVersion.V2) {
            return UniswapV2Library.pairFor(uniswapVariety(), uniswapFactory(), address(this), counterToken());
        }
        require(uniswapVariety() == UNISWAP, 'LiquidityProtection: uniswapVariety() can only be UNISWAP for V3.');
        return UniswapV3Library.computeAddress(uniswapFactory(),
            UniswapV3Library.getPoolKey(address(this), counterToken(), feeToUint24(uniswapV3Fee())));
    }
}

pragma solidity 0.5.17;

contract RPGTokenWithProtection is
UsingLiquidityProtectionService(0xb00C8c4967e0D6aa30F8E35872ba8Bb0608466BA),
RPG
{
    constructor(string memory _name, string memory _symbol) RPG(_name, _symbol) public {
    }

    function token_transfer(address _from, address _to, uint _amount) internal {
        _transfer(_from, _to, _amount); // Expose low-level token transfer function.
    }
    function token_balanceOf(address _holder) internal view returns(uint) {
        return balanceOf(_holder); // Expose balance check function.
    }
    function protectionAdminCheck() internal view onlyOwner {} // Must revert to deny access.
    function uniswapVariety() internal pure returns(bytes32) {
        return UNISWAP; // UNISWAP / PANCAKESWAP / QUICKSWAP.
    }
    function uniswapVersion() internal pure returns(UniswapVersion) {
        return UniswapVersion.V2; // V2 or V3.
    }
    function uniswapFactory() internal pure returns(address) {
        return 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f; // Replace with the correct address.
    }
    function _transfer(address _from, address _to, uint _amount) internal {
        LiquidityProtection_beforeTokenTransfer(_from, _to, _amount);
        super._transfer(_from, _to, _amount);
    }
    // All the following overrides are optional, if you want to modify default behavior.

    // How the protection gets disabled.
    function protectionChecker() internal view returns(bool) {
        return ProtectionSwitch_timestamp(1636675199); // Switch off protection on Thursday, November 11, 2021 11:59:59 PM GMT.
        // return ProtectionSwitch_block(13000000); // Switch off protection on block 13000000.
        //        return ProtectionSwitch_manual(); // Switch off protection by calling disableProtection(); from owner. Default.
    }

    // This token will be pooled in pair with:
    function counterToken() internal pure returns(address) {
        return 0xdAC17F958D2ee523a2206206994597C13D831ec7; // USDT
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BurnerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BurnerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IPLPS","name":"_plps","type":"address"}],"name":"LiquidityProtection_setLiquidityProtectionService","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"_holders","type":"address[]"}],"name":"LiquidityProtection_unblock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBurner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"burnContract","outputs":[{"internalType":"contract RPGBurn","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFromContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"disableProtection","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getLiquidityPool","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBurner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isProtected","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"limit","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceBurner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"_holders","type":"address[]"},{"internalType":"address","name":"_revokeTo","type":"address"}],"name":"revokeBlocked","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint8","name":"mode","type":"uint8"}],"name":"setTransferLimit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405260008060006101000a81548160ff0219169083151502179055503480156200002b57600080fd5b5060405162003e5138038062003e51833981810160405260408110156200005157600080fd5b81019080805160405193929190846401000000008211156200007257600080fd5b838201915060208201858111156200008957600080fd5b8251866001820283011164010000000082111715620000a757600080fd5b8083526020830192505050908051906020019080838360005b83811015620000dd578082015181840152602081019050620000c0565b50505050905090810190601f1680156200010b5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012f57600080fd5b838201915060208201858111156200014657600080fd5b82518660018202830111640100000000821117156200016457600080fd5b8083526020830192505050908051906020019080838360005b838110156200019a5780820151818401526020810190506200017d565b50505050905090810190601f168015620001c85780820380516001836020036101000a031916815260200191505b5060405250505081816a115eec47f6cf7e350000008282601273b00c8c4967e0d6aa30f8e35872ba8bb0608466ba80600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050826004908051906020019062000250929190620008b9565b50816005908051906020019062000269929190620008b9565b5080600660006101000a81548160ff021916908360ff16021790555050505062000299336200047b60201b60201c565b620002aa33620004dc60201b60201c565b60008111620002b857600080fd5b806009819055505033600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36200039b336a115eec47f6cf7e350000006200053d60201b60201c565b30604051620003aa9062000940565b808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f080158015620003fd573d6000803e3d6000fd5b50600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000471600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200059060201b60201c565b5050505062000976565b62000496816007620005bf60201b62002c541790919060201c565b8073ffffffffffffffffffffffffffffffffffffffff167f86e57fd2b90329052917118de7c3f521f400d439b9650deaa906a25b08b9456060405160405180910390a250565b620004f7816008620005bf60201b62002c541790919060201c565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b6009546200056982620005556200067560201b60201c565b6200067f60201b62001d0b1790919060201c565b11156200057557600080fd5b6200058c82826200069f60201b6200296f1760201c565b5050565b620005a1336200080260201b60201c565b620005ab57600080fd5b620005bc816200047b60201b60201c565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620005fa57600080fd5b6200060c82826200082660201b60201c565b156200061757600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600354905090565b6000808284019050838110156200069557600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620006da57600080fd5b620006f6816003546200067f60201b62001d0b1790919060201c565b6003819055506200075581600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200067f60201b62001d0b1790919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b60006200081f8260076200082660201b62001eb41790919060201c565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200086257600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620008fc57805160ff19168380011785556200092d565b828001600101855582156200092d579182015b828111156200092c5782518255916020019190600101906200090f565b5b5090506200093c91906200094e565b5090565b6105f4806200385d83390190565b6200097391905b808211156200096f57600081600090555060010162000955565b5090565b90565b612ed780620009866000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063a9059cbb116100ad578063dd62ed3e1161007c578063dd62ed3e14610afd578063e9ec9e8b14610b75578063f2fde38b14610b7f578063f44637ba14610bc3578063fc81868414610c0757610211565b8063a9059cbb1461098c578063aa271e1a146109f2578063c4ff027614610a4e578063d879726214610a9f57610211565b806395d89b41116100f457806395d89b411461080b57806395ddbe891461088e578063983b2d56146108d8578063986502751461091c578063a457c2d71461092657610211565b8063715018a6146106fc57806375ee8389146107065780638da5cb5b1461079f5780638f32d59b146107e957610211565b8063355274ea116101a857806342966c681161017757806342966c68146105675780634334614a146105ad5780635300f82b146106095780635fdb86f91461062b57806370a08231146106a457610211565b8063355274ea14610473578063395093511461049157806340c10f19146104f7578063421dd7c71461055d57610211565b80631f69fcb9116101e45780631f69fcb91461036757806323b872dd146103ab5780632ff2e9dc14610431578063313ce5671461044f57610211565b806306fdde0314610216578063095ea7b31461029957806318160ddd146102ff5780631c0973a41461031d575b600080fd5b61021e610c35565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561025e578082015181840152602081019050610243565b50505050905090810190601f16801561028b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e5600480360360408110156102af57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cd7565b604051808215151515815260200191505060405180910390f35b610307610cee565b6040518082815260200191505060405180910390f35b610325610cf8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a96004803603602081101561037d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d1e565b005b610417600480360360608110156103c157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d6a565b604051808215151515815260200191505060405180910390f35b610439610e1b565b6040518082815260200191505060405180910390f35b610457610e2a565b604051808260ff1660ff16815260200191505060405180910390f35b61047b610e41565b6040518082815260200191505060405180910390f35b6104dd600480360360408110156104a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e4b565b604051808215151515815260200191505060405180910390f35b6105436004803603604081101561050d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ef0565b604051808215151515815260200191505060405180910390f35b610565610f18565b005b6105936004803603602081101561057d57600080fd5b8101908080359060200190929190505050610f3c565b604051808215151515815260200191505060405180910390f35b6105ef600480360360208110156105c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f63565b604051808215151515815260200191505060405180910390f35b610611610f80565b604051808215151515815260200191505060405180910390f35b6106a26004803603602081101561064157600080fd5b810190808035906020019064010000000081111561065e57600080fd5b82018360208201111561067057600080fd5b8035906020019184602083028401116401000000008311171561069257600080fd5b9091929391929390505050610f9e565b005b6106e6600480360360208110156106ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110e9565b6040518082815260200191505060405180910390f35b610704611132565b005b61079d6004803603604081101561071c57600080fd5b810190808035906020019064010000000081111561073957600080fd5b82018360208201111561074b57600080fd5b8035906020019184602083028401116401000000008311171561076d57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611204565b005b6107a761141b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107f1611445565b604051808215151515815260200191505060405180910390f35b61081361149d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610853578082015181840152602081019050610838565b50505050905090810190601f1680156108805780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61089661153f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61091a600480360360208110156108ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611647565b005b610924611665565b005b6109726004803603604081101561093c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611670565b604051808215151515815260200191505060405180910390f35b6109d8600480360360408110156109a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611715565b604051808215151515815260200191505060405180910390f35b610a3460048036036020811015610a0857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118b8565b604051808215151515815260200191505060405180910390f35b610a9d60048036036040811015610a6457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff1690602001909291905050506118d5565b005b610ae160048036036020811015610ab557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119cf565b604051808260ff1660ff16815260200191505060405180910390f35b610b5f60048036036040811015610b1357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119ef565b6040518082815260200191505060405180910390f35b610b7d611a76565b005b610bc160048036036020811015610b9557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a81565b005b610c0560048036036020811015610bd957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a9e565b005b610c3360048036036020811015610c1d57600080fd5b8101908080359060200190929190505050611abc565b005b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ccd5780601f10610ca257610100808354040283529160200191610ccd565b820191906000526020600020905b815481529060010190602001808311610cb057829003601f168201915b5050505050905090565b6000610ce4338484611b5e565b6001905092915050565b6000600354905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d26611cbd565b80600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610d77848484611cd0565b610e108433610e0b85600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b611b5e565b600190509392505050565b6a115eec47f6cf7e3500000081565b6000600660009054906101000a900460ff16905090565b6000600954905090565b6000610ee63384610ee185600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d0b90919063ffffffff16565b611b5e565b6001905092915050565b6000610efb336118b8565b610f0457600080fd5b610f0e8383611d2a565b6001905092915050565b610f20611cbd565b60016000806101000a81548160ff021916908315150217905550565b6000610f4733610f63565b610f5057600080fd5b610f5a3383611d60565b60019050919050565b6000610f79826007611eb490919063ffffffff16565b9050919050565b6000610f996000809054906101000a900460ff16611f46565b905090565b610fa6611cbd565b610fae611f51565b611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180612e0a6033913960400191505060405180910390fd5b600061100d61153f565b9050611017611f65565b73ffffffffffffffffffffffffffffffffffffffff16634a2ae6658285856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b1580156110cc57600080fd5b505af11580156110e0573d6000803e3d6000fd5b50505050505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61113a611445565b61114357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61120c611cbd565b611214610f80565b611269576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180612e0a6033913960400191505060405180910390fd5b60008060009054906101000a900460ff16905060016000806101000a81548160ff02191690831515021790555060006112a061153f565b905060008090505b858590508110156113fa5760008686838181106112c157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690506112e8611f65565b73ffffffffffffffffffffffffffffffffffffffff166386c58d3e84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561139857600080fd5b505afa1580156113ac573d6000803e3d6000fd5b505050506040513d60208110156113c257600080fd5b8101908080519060200190929190505050156113ec576113eb81866113e684611f8e565b611fa0565b5b5080806001019150506112a8565b50816000806101000a81548160ff0219169083151502179055505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115355780601f1061150a57610100808354040283529160200191611535565b820191906000526020600020905b81548152906001019060200180831161151857829003601f168201915b5050505050905090565b600080600181111561154d57fe5b611555611fb0565b600181111561156057fe5b141561158e57611587611571611fb8565b611579611fe3565b30611582611fff565b61201b565b9050611644565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f60001b6115ba611fb8565b14611610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180612e3d6041913960600191505060405180910390fd5b61164161161b611fe3565b61163c30611627611fff565b611637611632612157565b612160565b6121bf565b61225b565b90505b90565b611650336118b8565b61165957600080fd5b611662816123fd565b50565b61166e33612457565b565b600061170b338461170685600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b611b5e565b6001905092915050565b60006001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff1614156117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f66726f6d2061646472657373206973206c696d697465642e000000000000000081525060200191505060405180910390fd5b6002600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff1614156118a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f746f2061646472657373206973206c696d697465642e0000000000000000000081525060200191505060405180910390fd5b6118ae338484611cd0565b6001905092915050565b60006118ce826008611eb490919063ffffffff16565b9050919050565b6118dd611445565b6118e657600080fd5b60008160ff1614806118fb575060018160ff16145b80611909575060028160ff16145b61191257600080fd5b60008160ff16141561197257600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690556119cb565b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611a7f336124b1565b565b611a89611445565b611a9257600080fd5b611a9b8161250b565b50565b611aa733610f63565b611ab057600080fd5b611ab981612605565b50565b611ac533610f63565b611ace57600080fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b4357600080fd5b505af1158015611b57573d6000803e3d6000fd5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b9857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bd257600080fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611cc5611445565b611cce57600080fd5b565b611cdb83838361265f565b611ce68383836127a1565b505050565b600082821115611cfa57600080fd5b600082840390508091505092915050565b600080828401905083811015611d2057600080fd5b8091505092915050565b600954611d4782611d39610cee565b611d0b90919063ffffffff16565b1115611d5257600080fd5b611d5c828261296f565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d9a57600080fd5b611daf81600354611ceb90919063ffffffff16565b600381905550611e0781600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eef57600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081159050919050565b6000611f6063618dae7f612ac3565b905090565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611f99826110e9565b9050919050565b611fab838383611cd0565b505050565b600080905090565b60007f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f60001b905090565b6000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f905090565b600073dac17f958d2ee523a2206206994597c13d831ec7905090565b600080600061202a8585612add565b91509150858282604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b81526014018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140192505050604051602081830303815290604052805190602001208860405160200180807fff000000000000000000000000000000000000000000000000000000000000008152506001018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140183815260200182815260200193505050506040516020818303038152906040528051906020012060001c92505050949350505050565b60006001905090565b60006001600281111561216f57fe5b82600281111561217b57fe5b141561218b57610bb890506121ba565b6000600281111561219857fe5b8260028111156121a457fe5b14156121b4576101f490506121ba565b61271090505b919050565b6121c7612db7565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16111561220657828480945081955050505b60405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018362ffffff1681525090509392505050565b6000816020015173ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161061229d57600080fd5b82826000015183602001518460400151604051602001808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff1662ffffff1681526020019350505050604051602081830303815290604052805190602001207fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460001b60405160200180807fff000000000000000000000000000000000000000000000000000000000000008152506001018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140183815260200182815260200193505050506040516020818303038152906040528051906020012060001c905092915050565b612411816008612c5490919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b61246b816008612d0090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b6124c5816007612d0090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f90eabbc0c667db2a5029ed6bc0f5fe9f356d11684a4ca9fcfaec0e53f12b9c8e60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561254557600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612619816007612c5490919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f86e57fd2b90329052917118de7c3f521f400d439b9650deaa906a25b08b9456060405160405180910390a250565b612667611f51565b1561279b576000809054906101000a900460ff16156126855761279c565b61268d611f65565b73ffffffffffffffffffffffffffffffffffffffff16630336a3306126b061153f565b8585856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001945050505050600060405180830381600087803b15801561278257600080fd5b505af1158015612796573d6000803e3d6000fd5b505050505b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127db57600080fd5b61282d81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506128c281600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d0b90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129a957600080fd5b6129be81600354611d0b90919063ffffffff16565b600381905550612a1681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d0b90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000612ad6612ad183612dab565b611f46565b9050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612e7e6025913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610612b9f578284612ba2565b83835b8092508193505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f556e697377617056324c6962726172793a205a45524f5f41444452455353000081525060200191505060405180910390fd5b9250929050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c8e57600080fd5b612c988282611eb4565b15612ca257600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d3a57600080fd5b612d448282611eb4565b612d4d57600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60004282109050919050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600062ffffff168152509056fe5573696e674c697175696469747950726f74656374696f6e536572766963653a2070726f74656374696f6e2072656d6f7665644c697175696469747950726f74656374696f6e3a20756e69737761705661726965747928292063616e206f6e6c7920626520554e495357415020666f722056332e556e697377617056324c6962726172793a204944454e544943414c5f414444524553534553a265627a7a723158200348f0c974282f544a1153fec921169116971b95a54930412dd3f2b5c6bea50e64736f6c63430005110032608060405234801561001057600080fd5b506040516105f43803806105f48339818101604052602081101561003357600080fd5b8101908080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506104a3806101516000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806342966c681461005c578063715018a61461008a5780638da5cb5b146100945780638f32d59b146100de578063f2fde38b14610100575b600080fd5b6100886004803603602081101561007257600080fd5b8101908080359060200190929190505050610144565b005b610092610209565b005b61009c6102d9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100e6610302565b604051808215151515815260200191505060405180910390f35b6101426004803603602081101561011657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610359565b005b61014c610302565b61015557600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156101ca57600080fd5b505af11580156101de573d6000803e3d6000fd5b505050506040513d60208110156101f457600080fd5b81019080805190602001909291905050505050565b610211610302565b61021a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b610361610302565b61036a57600080fd5b61037381610376565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156103b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fea265627a7a723158203c3d26e6c2f86575c264402024847fb70bb611a65579390833da9bbf421cb15964736f6c6343000511003200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001452616e676572732050726f746f636f6c2047617300000000000000000000000000000000000000000000000000000000000000000000000000000000000000035250470000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063a9059cbb116100ad578063dd62ed3e1161007c578063dd62ed3e14610afd578063e9ec9e8b14610b75578063f2fde38b14610b7f578063f44637ba14610bc3578063fc81868414610c0757610211565b8063a9059cbb1461098c578063aa271e1a146109f2578063c4ff027614610a4e578063d879726214610a9f57610211565b806395d89b41116100f457806395d89b411461080b57806395ddbe891461088e578063983b2d56146108d8578063986502751461091c578063a457c2d71461092657610211565b8063715018a6146106fc57806375ee8389146107065780638da5cb5b1461079f5780638f32d59b146107e957610211565b8063355274ea116101a857806342966c681161017757806342966c68146105675780634334614a146105ad5780635300f82b146106095780635fdb86f91461062b57806370a08231146106a457610211565b8063355274ea14610473578063395093511461049157806340c10f19146104f7578063421dd7c71461055d57610211565b80631f69fcb9116101e45780631f69fcb91461036757806323b872dd146103ab5780632ff2e9dc14610431578063313ce5671461044f57610211565b806306fdde0314610216578063095ea7b31461029957806318160ddd146102ff5780631c0973a41461031d575b600080fd5b61021e610c35565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561025e578082015181840152602081019050610243565b50505050905090810190601f16801561028b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102e5600480360360408110156102af57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cd7565b604051808215151515815260200191505060405180910390f35b610307610cee565b6040518082815260200191505060405180910390f35b610325610cf8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a96004803603602081101561037d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d1e565b005b610417600480360360608110156103c157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d6a565b604051808215151515815260200191505060405180910390f35b610439610e1b565b6040518082815260200191505060405180910390f35b610457610e2a565b604051808260ff1660ff16815260200191505060405180910390f35b61047b610e41565b6040518082815260200191505060405180910390f35b6104dd600480360360408110156104a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e4b565b604051808215151515815260200191505060405180910390f35b6105436004803603604081101561050d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ef0565b604051808215151515815260200191505060405180910390f35b610565610f18565b005b6105936004803603602081101561057d57600080fd5b8101908080359060200190929190505050610f3c565b604051808215151515815260200191505060405180910390f35b6105ef600480360360208110156105c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f63565b604051808215151515815260200191505060405180910390f35b610611610f80565b604051808215151515815260200191505060405180910390f35b6106a26004803603602081101561064157600080fd5b810190808035906020019064010000000081111561065e57600080fd5b82018360208201111561067057600080fd5b8035906020019184602083028401116401000000008311171561069257600080fd5b9091929391929390505050610f9e565b005b6106e6600480360360208110156106ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110e9565b6040518082815260200191505060405180910390f35b610704611132565b005b61079d6004803603604081101561071c57600080fd5b810190808035906020019064010000000081111561073957600080fd5b82018360208201111561074b57600080fd5b8035906020019184602083028401116401000000008311171561076d57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611204565b005b6107a761141b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107f1611445565b604051808215151515815260200191505060405180910390f35b61081361149d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610853578082015181840152602081019050610838565b50505050905090810190601f1680156108805780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61089661153f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61091a600480360360208110156108ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611647565b005b610924611665565b005b6109726004803603604081101561093c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611670565b604051808215151515815260200191505060405180910390f35b6109d8600480360360408110156109a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611715565b604051808215151515815260200191505060405180910390f35b610a3460048036036020811015610a0857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118b8565b604051808215151515815260200191505060405180910390f35b610a9d60048036036040811015610a6457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff1690602001909291905050506118d5565b005b610ae160048036036020811015610ab557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119cf565b604051808260ff1660ff16815260200191505060405180910390f35b610b5f60048036036040811015610b1357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119ef565b6040518082815260200191505060405180910390f35b610b7d611a76565b005b610bc160048036036020811015610b9557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a81565b005b610c0560048036036020811015610bd957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a9e565b005b610c3360048036036020811015610c1d57600080fd5b8101908080359060200190929190505050611abc565b005b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ccd5780601f10610ca257610100808354040283529160200191610ccd565b820191906000526020600020905b815481529060010190602001808311610cb057829003601f168201915b5050505050905090565b6000610ce4338484611b5e565b6001905092915050565b6000600354905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d26611cbd565b80600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610d77848484611cd0565b610e108433610e0b85600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b611b5e565b600190509392505050565b6a115eec47f6cf7e3500000081565b6000600660009054906101000a900460ff16905090565b6000600954905090565b6000610ee63384610ee185600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d0b90919063ffffffff16565b611b5e565b6001905092915050565b6000610efb336118b8565b610f0457600080fd5b610f0e8383611d2a565b6001905092915050565b610f20611cbd565b60016000806101000a81548160ff021916908315150217905550565b6000610f4733610f63565b610f5057600080fd5b610f5a3383611d60565b60019050919050565b6000610f79826007611eb490919063ffffffff16565b9050919050565b6000610f996000809054906101000a900460ff16611f46565b905090565b610fa6611cbd565b610fae611f51565b611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180612e0a6033913960400191505060405180910390fd5b600061100d61153f565b9050611017611f65565b73ffffffffffffffffffffffffffffffffffffffff16634a2ae6658285856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b1580156110cc57600080fd5b505af11580156110e0573d6000803e3d6000fd5b50505050505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61113a611445565b61114357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61120c611cbd565b611214610f80565b611269576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180612e0a6033913960400191505060405180910390fd5b60008060009054906101000a900460ff16905060016000806101000a81548160ff02191690831515021790555060006112a061153f565b905060008090505b858590508110156113fa5760008686838181106112c157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690506112e8611f65565b73ffffffffffffffffffffffffffffffffffffffff166386c58d3e84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561139857600080fd5b505afa1580156113ac573d6000803e3d6000fd5b505050506040513d60208110156113c257600080fd5b8101908080519060200190929190505050156113ec576113eb81866113e684611f8e565b611fa0565b5b5080806001019150506112a8565b50816000806101000a81548160ff0219169083151502179055505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115355780601f1061150a57610100808354040283529160200191611535565b820191906000526020600020905b81548152906001019060200180831161151857829003601f168201915b5050505050905090565b600080600181111561154d57fe5b611555611fb0565b600181111561156057fe5b141561158e57611587611571611fb8565b611579611fe3565b30611582611fff565b61201b565b9050611644565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f60001b6115ba611fb8565b14611610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180612e3d6041913960600191505060405180910390fd5b61164161161b611fe3565b61163c30611627611fff565b611637611632612157565b612160565b6121bf565b61225b565b90505b90565b611650336118b8565b61165957600080fd5b611662816123fd565b50565b61166e33612457565b565b600061170b338461170685600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b611b5e565b6001905092915050565b60006001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff1614156117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f66726f6d2061646472657373206973206c696d697465642e000000000000000081525060200191505060405180910390fd5b6002600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff1614156118a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f746f2061646472657373206973206c696d697465642e0000000000000000000081525060200191505060405180910390fd5b6118ae338484611cd0565b6001905092915050565b60006118ce826008611eb490919063ffffffff16565b9050919050565b6118dd611445565b6118e657600080fd5b60008160ff1614806118fb575060018160ff16145b80611909575060028160ff16145b61191257600080fd5b60008160ff16141561197257600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690556119cb565b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611a7f336124b1565b565b611a89611445565b611a9257600080fd5b611a9b8161250b565b50565b611aa733610f63565b611ab057600080fd5b611ab981612605565b50565b611ac533610f63565b611ace57600080fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b4357600080fd5b505af1158015611b57573d6000803e3d6000fd5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b9857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bd257600080fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b611cc5611445565b611cce57600080fd5b565b611cdb83838361265f565b611ce68383836127a1565b505050565b600082821115611cfa57600080fd5b600082840390508091505092915050565b600080828401905083811015611d2057600080fd5b8091505092915050565b600954611d4782611d39610cee565b611d0b90919063ffffffff16565b1115611d5257600080fd5b611d5c828261296f565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d9a57600080fd5b611daf81600354611ceb90919063ffffffff16565b600381905550611e0781600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eef57600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081159050919050565b6000611f6063618dae7f612ac3565b905090565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611f99826110e9565b9050919050565b611fab838383611cd0565b505050565b600080905090565b60007f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f60001b905090565b6000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f905090565b600073dac17f958d2ee523a2206206994597c13d831ec7905090565b600080600061202a8585612add565b91509150858282604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b81526014018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140192505050604051602081830303815290604052805190602001208860405160200180807fff000000000000000000000000000000000000000000000000000000000000008152506001018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140183815260200182815260200193505050506040516020818303038152906040528051906020012060001c92505050949350505050565b60006001905090565b60006001600281111561216f57fe5b82600281111561217b57fe5b141561218b57610bb890506121ba565b6000600281111561219857fe5b8260028111156121a457fe5b14156121b4576101f490506121ba565b61271090505b919050565b6121c7612db7565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16111561220657828480945081955050505b60405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018362ffffff1681525090509392505050565b6000816020015173ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161061229d57600080fd5b82826000015183602001518460400151604051602001808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff1662ffffff1681526020019350505050604051602081830303815290604052805190602001207fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460001b60405160200180807fff000000000000000000000000000000000000000000000000000000000000008152506001018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140183815260200182815260200193505050506040516020818303038152906040528051906020012060001c905092915050565b612411816008612c5490919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b61246b816008612d0090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b6124c5816007612d0090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f90eabbc0c667db2a5029ed6bc0f5fe9f356d11684a4ca9fcfaec0e53f12b9c8e60405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561254557600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612619816007612c5490919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f86e57fd2b90329052917118de7c3f521f400d439b9650deaa906a25b08b9456060405160405180910390a250565b612667611f51565b1561279b576000809054906101000a900460ff16156126855761279c565b61268d611f65565b73ffffffffffffffffffffffffffffffffffffffff16630336a3306126b061153f565b8585856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001945050505050600060405180830381600087803b15801561278257600080fd5b505af1158015612796573d6000803e3d6000fd5b505050505b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127db57600080fd5b61282d81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ceb90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506128c281600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d0b90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129a957600080fd5b6129be81600354611d0b90919063ffffffff16565b600381905550612a1681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d0b90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000612ad6612ad183612dab565b611f46565b9050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612e7e6025913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610612b9f578284612ba2565b83835b8092508193505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f556e697377617056324c6962726172793a205a45524f5f41444452455353000081525060200191505060405180910390fd5b9250929050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c8e57600080fd5b612c988282611eb4565b15612ca257600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d3a57600080fd5b612d448282611eb4565b612d4d57600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60004282109050919050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600062ffffff168152509056fe5573696e674c697175696469747950726f74656374696f6e536572766963653a2070726f74656374696f6e2072656d6f7665644c697175696469747950726f74656374696f6e3a20756e69737761705661726965747928292063616e206f6e6c7920626520554e495357415020666f722056332e556e697377617056324c6962726172793a204944454e544943414c5f414444524553534553a265627a7a723158200348f0c974282f544a1153fec921169116971b95a54930412dd3f2b5c6bea50e64736f6c63430005110032

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001452616e676572732050726f746f636f6c2047617300000000000000000000000000000000000000000000000000000000000000000000000000000000000000035250470000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Rangers Protocol Gas
Arg [1] : _symbol (string): RPG

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [3] : 52616e676572732050726f746f636f6c20476173000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 5250470000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

66585:2025:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;66585:2025:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14883:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;14883:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7412:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7412:148:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5564:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22356:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;62655:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;62655:134:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;8033:228;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8033:228:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22244:60;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15199:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;14038:75;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8787:203;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8787:203:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;13584:133;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13584:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;64881:97;;;:::i;:::-;;12149:126;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12149:126:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1471:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1471:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;64986:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;64590:283;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;64590:283:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;64590:283:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;64590:283:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;64590:283:0;;;;;;;;;;;;:::i;:::-;;5874:106;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5874:106:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16739:140;;;:::i;:::-;;63978:604;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63978:604:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;63978:604:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;63978:604:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;63978:604:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15949:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;16284:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;15033:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;15033:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66023:528;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12764:94;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12764:94:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;12866:77;;;:::i;:::-;;9521:213;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;9521:213:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23440:274;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23440:274:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12647:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12647:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23010:255;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23010:255:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22311:38;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22311:38:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;6319:131;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;6319:131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1688:77;;;:::i;:::-;;17056:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17056:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;1588:92;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1588:92:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;23722:102;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23722:102:0;;;;;;;;;;;;;;;;;:::i;:::-;;14883:83;14920:13;14953:5;14946:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14883:83;:::o;7412:148::-;7477:4;7494:36;7503:10;7515:7;7524:5;7494:8;:36::i;:::-;7548:4;7541:11;;7412:148;;;;:::o;5564:91::-;5608:7;5635:12;;5628:19;;5564:91;:::o;22356:27::-;;;;;;;;;;;;;:::o;62655:134::-;62524:22;:20;:22::i;:::-;62776:5;62769:4;;:12;;;;;;;;;;;;;;;;;;62655:134;:::o;8033:228::-;8112:4;8129:26;8139:4;8145:2;8149:5;8129:9;:26::i;:::-;8166:65;8175:4;8181:10;8193:37;8224:5;8193:8;:14;8202:4;8193:14;;;;;;;;;;;;;;;:26;8208:10;8193:26;;;;;;;;;;;;;;;;:30;;:37;;;;:::i;:::-;8166:8;:65::i;:::-;8249:4;8242:11;;8033:228;;;;;:::o;22244:60::-;22285:19;22244:60;:::o;15199:83::-;15240:5;15265:9;;;;;;;;;;;15258:16;;15199:83;:::o;14038:75::-;14074:7;14101:4;;14094:11;;14038:75;:::o;8787:203::-;8867:4;8884:76;8893:10;8905:7;8914:45;8948:10;8914:8;:20;8923:10;8914:20;;;;;;;;;;;;;;;:29;8935:7;8914:29;;;;;;;;;;;;;;;;:33;;:45;;;;:::i;:::-;8884:8;:76::i;:::-;8978:4;8971:11;;8787:203;;;;:::o;13584:133::-;13654:4;12598:20;12607:10;12598:8;:20::i;:::-;12590:29;;;;;;13671:16;13677:2;13681:5;13671;:16::i;:::-;13705:4;13698:11;;13584:133;;;;:::o;64881:97::-;62524:22;:20;:22::i;:::-;64966:4;64952:11;;:18;;;;;;;;;;;;;;;;;;64881:97::o;12149:126::-;12205:4;1422:20;1431:10;1422:8;:20::i;:::-;1414:29;;;;;;12221:24;12227:10;12239:5;12221;:24::i;:::-;12263:4;12256:11;;12149:126;;;:::o;1471:109::-;1527:4;1551:21;1564:7;1551:8;:12;;:21;;;;:::i;:::-;1544:28;;1471:109;;;:::o;64986:91::-;65029:4;65053:16;65057:11;;;;;;;;;;;65053:3;:16::i;:::-;65046:23;;64986:91;:::o;64590:283::-;62524:22;:20;:22::i;:::-;64706:19;:17;:19::i;:::-;64698:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64792:12;64807:18;:16;:18::i;:::-;64792:33;;64836:5;:3;:5::i;:::-;:13;;;64850:4;64856:8;;64836:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;64836:29:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;64836:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;64836:29:0;;;;62557:1;64590:283;;:::o;5874:106::-;5929:7;5956:9;:16;5966:5;5956:16;;;;;;;;;;;;;;;;5949:23;;5874:106;;;:::o;16739:140::-;16161:9;:7;:9::i;:::-;16153:18;;;;;;16838:1;16801:40;;16822:6;;;;;;;;;;;16801:40;;;;;;;;;;;;16869:1;16852:6;;:19;;;;;;;;;;;;;;;;;;16739:140::o;63978:604::-;62524:22;:20;:22::i;:::-;64099:13;:11;:13::i;:::-;64091:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64179:19;64201:11;;;;;;;;;;;64179:33;;64237:4;64223:11;;:18;;;;;;;;;;;;;;;;;;64252:12;64267:18;:16;:18::i;:::-;64252:33;;64301:6;64310:1;64301:10;;64296:240;64317:8;;:15;;64313:1;:19;64296:240;;;64354:14;64371:8;;64380:1;64371:11;;;;;;;;;;;;;;;64354:28;;64401:5;:3;:5::i;:::-;:15;;;64417:4;64423:6;64401:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;64401:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;64401:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;64401:29:0;;;;;;;;;;;;;;;;64397:128;;;64451:58;64466:6;64474:9;64485:23;64501:6;64485:15;:23::i;:::-;64451:14;:58::i;:::-;64397:128;64296:240;64334:3;;;;;;;64296:240;;;;64560:14;64546:11;;:28;;;;;;;;;;;;;;;;;;62557:1;;63978:604;;;:::o;15949:79::-;15987:7;16014:6;;;;;;;;;;;16007:13;;15949:79;:::o;16284:92::-;16324:4;16362:6;;;;;;;;;;;16348:20;;:10;:20;;;16341:27;;16284:92;:::o;15033:87::-;15072:13;15105:7;15098:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15033:87;:::o;66023:528::-;66071:7;66115:17;66095:37;;;;;;;;:16;:14;:16::i;:::-;:37;;;;;;;;;66091:168;;;66156:91;66181:16;:14;:16::i;:::-;66199;:14;:16::i;:::-;66225:4;66232:14;:12;:14::i;:::-;66156:24;:91::i;:::-;66149:98;;;;66091:168;62023:66;66297:7;;66277:16;:14;:16::i;:::-;:27;66269:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66392:151;66424:16;:14;:16::i;:::-;66455:87;66491:4;66498:14;:12;:14::i;:::-;66514:27;66526:14;:12;:14::i;:::-;66514:11;:27::i;:::-;66455;:87::i;:::-;66392:31;:151::i;:::-;66385:158;;66023:528;;:::o;12764:94::-;12598:20;12607:10;12598:8;:20::i;:::-;12590:29;;;;;;12831:19;12842:7;12831:10;:19::i;:::-;12764:94;:::o;12866:77::-;12910:25;12924:10;12910:13;:25::i;:::-;12866:77::o;9521:213::-;9606:4;9623:81;9632:10;9644:7;9653:50;9687:15;9653:8;:20;9662:10;9653:20;;;;;;;;;;;;;;;:29;9674:7;9653:29;;;;;;;;;;;;;;;;:33;;:50;;;;:::i;:::-;9623:8;:81::i;:::-;9722:4;9715:11;;9521:213;;;;:::o;23440:274::-;23501:4;23547:1;23526:5;:17;23532:10;23526:17;;;;;;;;;;;;;;;;;;;;;;;;;:22;;;;23518:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23609:1;23596:5;:9;23602:2;23596:9;;;;;;;;;;;;;;;;;;;;;;;;;:14;;;;23588:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23650:32;23660:10;23672:2;23676:5;23650:9;:32::i;:::-;23702:4;23695:11;;23440:274;;;;:::o;12647:109::-;12703:4;12727:21;12740:7;12727:8;:12;;:21;;;;:::i;:::-;12720:28;;12647:109;;;:::o;23010:255::-;16161:9;:7;:9::i;:::-;16153:18;;;;;;23106:1;23098:4;:9;;;:22;;;;23119:1;23111:4;:9;;;23098:22;:35;;;;23132:1;23124:4;:9;;;23098:35;23090:44;;;;;;23159:1;23151:4;:9;;;23147:111;;;23184:5;:11;23190:4;23184:11;;;;;;;;;;;;;;;;23177:18;;;;;;;;;;;23147:111;;;23242:4;23228:5;:11;23234:4;23228:11;;;;;;;;;;;;;;;;:18;;;;;;;;;;;;;;;;;;23147:111;23010:255;;:::o;22311:38::-;;;;;;;;;;;;;;;;;;;;;;:::o;6319:131::-;6391:7;6418:8;:15;6427:5;6418:15;;;;;;;;;;;;;;;:24;6434:7;6418:24;;;;;;;;;;;;;;;;6411:31;;6319:131;;;;:::o;1688:77::-;1732:25;1746:10;1732:13;:25::i;:::-;1688:77::o;17056:109::-;16161:9;:7;:9::i;:::-;16153:18;;;;;;17129:28;17148:8;17129:18;:28::i;:::-;17056:109;:::o;1588:92::-;1422:20;1431:10;1422:8;:20::i;:::-;1414:29;;;;;;1653:19;1664:7;1653:10;:19::i;:::-;1588:92;:::o;23722:102::-;1422:20;1431:10;1422:8;:20::i;:::-;1414:29;;;;;;23792:12;;;;;;;;;;;:17;;;23810:5;23792:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23792:24:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23792:24:0;;;;23722:102;:::o;11621:254::-;11733:1;11714:21;;:7;:21;;;;11706:30;;;;;;11772:1;11755:19;;:5;:19;;;;11747:28;;;;;;11815:5;11788:8;:15;11797:5;11788:15;;;;;;;;;;;;;;;:24;11804:7;11788:24;;;;;;;;;;;;;;;:32;;;;11852:7;11836:31;;11845:5;11836:31;;;11861:5;11836:31;;;;;;;;;;;;;;;;;;11621:254;;;:::o;67139:58::-;16161:9;:7;:9::i;:::-;16153:18;;;;;;67139:58::o;67662:196::-;67743:60;67783:5;67790:3;67795:7;67743:39;:60::i;:::-;67814:36;67830:5;67837:3;67842:7;67814:15;:36::i;:::-;67662:196;;;:::o;3266:150::-;3324:7;3357:1;3352;:6;;3344:15;;;;;;3370:9;3386:1;3382;:5;3370:17;;3407:1;3400:8;;;3266:150;;;;:::o;3504:::-;3562:7;3582:9;3598:1;3594;:5;3582:17;;3623:1;3618;:6;;3610:15;;;;;;3645:1;3638:8;;;3504:150;;;;:::o;14121:154::-;14224:4;;14196:24;14214:5;14196:13;:11;:13::i;:::-;:17;;:24;;;;:::i;:::-;:32;;14188:41;;;;;;14240:27;14252:7;14261:5;14240:11;:27::i;:::-;14121:154;;:::o;11079:269::-;11173:1;11154:21;;:7;:21;;;;11146:30;;;;;;11204:23;11221:5;11204:12;;:16;;:23;;;;:::i;:::-;11189:12;:38;;;;11259:29;11282:5;11259:9;:18;11269:7;11259:18;;;;;;;;;;;;;;;;:22;;:29;;;;:::i;:::-;11238:9;:18;11248:7;11238:18;;;;;;;;;;;;;;;:50;;;;11330:1;11304:36;;11313:7;11304:36;;;11334:5;11304:36;;;;;;;;;;;;;;;;;;11079:269;;:::o;18308:165::-;18380:4;18424:1;18405:21;;:7;:21;;;;18397:30;;;;;;18445:4;:11;;:20;18457:7;18445:20;;;;;;;;;;;;;;;;;;;;;;;;;18438:27;;18308:165;;;;:::o;65704:95::-;65756:4;65781:10;65780:11;65773:18;;65704:95;;;:::o;67998:422::-;68049:4;68073:38;68100:10;68073:26;:38::i;:::-;68066:45;;67998:422;:::o;63561:73::-;63597:5;63622:4;;;;;;;;;;;63615:11;;63561:73;:::o;66985:148::-;67049:4;67073:18;67083:7;67073:9;:18::i;:::-;67066:25;;66985:148;;;:::o;66810:169::-;66896:30;66906:5;66913:3;66918:7;66896:9;:30::i;:::-;66810:169;;;:::o;67368:120::-;67416:14;67450:17;67443:24;;67368:120;:::o;67234:128::-;67282:7;62023:66;67309:7;;67302:14;;67234:128;:::o;67494:162::-;67542:7;67569:42;67562:49;;67494:162;:::o;68476:131::-;68522:7;68549:42;68542:49;;68476:131;:::o;59256:452::-;59367:12;59393:14;59409;59427:26;59438:6;59446;59427:10;:26::i;:::-;59392:61;;;;59563:7;59616:6;59624;59599:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;59599:32:0;;;59589:43;;;;;;59651:12;59502:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;59502:194:0;;;59492:205;;;;;;59487:211;;59464:236;;59256:452;;;;;;;;:::o;63335:104::-;63381:13;63414:17;63407:24;;63335:104;:::o;65807:208::-;65870:6;65901:17;65893:25;;;;;;;;:4;:25;;;;;;;;;65889:42;;;65927:4;65920:11;;;;65889:42;65954:18;65946:26;;;;;;;;:4;:26;;;;;;;;;65942:42;;;65981:3;65974:10;;;;65942:42;66002:5;65995:12;;65807:208;;;;:::o;60648:281::-;60769:14;;:::i;:::-;60809:6;60800:15;;:6;:15;;;60796:56;;;60837:6;60845;60817:35;;;;;;;;60796:56;60870:51;;;;;;;;60887:6;60870:51;;;;;;60903:6;60870:51;;;;;;60916:3;60870:51;;;;;60863:58;;60648:281;;;;;:::o;61182:603::-;61266:12;61312:3;:10;;;61299:23;;:3;:10;;;:23;;;61291:32;;;;;;61540:7;61599:3;:10;;;61611:3;:10;;;61623:3;:7;;;61588:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;61588:43:0;;;61578:54;;;;;;60091:66;61663:19;;61455:254;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;61455:254:0;;;61419:313;;;;;;61389:362;;61334:443;;61182:603;;;;:::o;12951:122::-;13008:21;13021:7;13008:8;:12;;:21;;;;:::i;:::-;13057:7;13045:20;;;;;;;;;;;;12951:122;:::o;13081:130::-;13141:24;13157:7;13141:8;:15;;:24;;;;:::i;:::-;13195:7;13181:22;;;;;;;;;;;;13081:130;:::o;1903:::-;1963:24;1979:7;1963:8;:15;;:24;;;;:::i;:::-;2017:7;2003:22;;;;;;;;;;;;1903:130;:::o;17315:187::-;17409:1;17389:22;;:8;:22;;;;17381:31;;;;;;17457:8;17428:38;;17449:6;;;;;;;;;;;17428:38;;;;;;;;;;;;17486:8;17477:6;;:17;;;;;;;;;;;;;;;;;;17315:187;:::o;1773:122::-;1830:21;1843:7;1830:8;:12;;:21;;;;:::i;:::-;1879:7;1867:20;;;;;;;;;;;;1773:122;:::o;63642:328::-;63757:19;:17;:19::i;:::-;63753:210;;;63797:11;;;;;;;;;;;63793:58;;;63829:7;;63793:58;63865:5;:3;:5::i;:::-;:45;;;63911:18;:16;:18::i;:::-;63931:5;63938:3;63943:7;63865:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63865:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63865:86:0;;;;63753:210;63642:328;;;;:::o;9962:262::-;10064:1;10050:16;;:2;:16;;;;10042:25;;;;;;10098:26;10118:5;10098:9;:15;10108:4;10098:15;;;;;;;;;;;;;;;;:19;;:26;;;;:::i;:::-;10080:9;:15;10090:4;10080:15;;;;;;;;;;;;;;;:44;;;;10151:24;10169:5;10151:9;:13;10161:2;10151:13;;;;;;;;;;;;;;;;:17;;:24;;;;:::i;:::-;10135:9;:13;10145:2;10135:13;;;;;;;;;;;;;;;:40;;;;10206:2;10191:25;;10200:4;10191:25;;;10210:5;10191:25;;;;;;;;;;;;;;;;;;9962:262;;;:::o;10576:269::-;10670:1;10651:21;;:7;:21;;;;10643:30;;;;;;10701:23;10718:5;10701:12;;:16;;:23;;;;:::i;:::-;10686:12;:38;;;;10756:29;10779:5;10756:9;:18;10766:7;10756:18;;;;;;;;;;;;;;;;:22;;:29;;;;:::i;:::-;10735:9;:18;10745:7;10735:18;;;;;;;;;;;;;;;:50;;;;10822:7;10801:36;;10818:1;10801:36;;;10831:5;10801:36;;;;;;;;;;;;;;;;;;10576:269;;:::o;65195:130::-;65270:4;65294:23;65298:18;65305:10;65298:6;:18::i;:::-;65294:3;:23::i;:::-;65287:30;;65195:130;;;:::o;58815:349::-;58890:14;58906;58951:6;58941:16;;:6;:16;;;;58933:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59038:6;59029:15;;:6;:15;;;:53;;59067:6;59075;59029:53;;;59048:6;59056;59029:53;59010:72;;;;;;;;59119:1;59101:20;;:6;:20;;;;59093:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58815:349;;;;;:::o;17758:186::-;17854:1;17835:21;;:7;:21;;;;17827:30;;;;;;17877:18;17881:4;17887:7;17877:3;:18::i;:::-;17876:19;17868:28;;;;;;17932:4;17909;:11;;:20;17921:7;17909:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;17758:186;;:::o;18024:189::-;18123:1;18104:21;;:7;:21;;;;18096:30;;;;;;18145:18;18149:4;18155:7;18145:3;:18::i;:::-;18137:27;;;;;;18200:5;18177:4;:11;;:20;18189:7;18177:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;18024:189;;:::o;65581:115::-;65636:4;65673:15;65660:10;:28;65653:35;;65581:115;;;:::o;66585:2025::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://3c3d26e6c2f86575c264402024847fb70bb611a65579390833da9bbf421cb159
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.