ETH Price: $2,992.81 (+0.91%)
Gas: 4 Gwei

Contract

0x9F801c1F02AF03cC240546DadEf8e56Cd46EA2E9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0xf26442dbc0124b9af10d86b0a11d4db3a6b2d78d6af576f595b64e7395b1975bTransfer(pending)2024-05-02 22:24:4013 mins ago1714688680IN
VAIOT: Old VAI Token
0 ETH(Pending)(Pending)
0x21dbb9c452867c5d3695929439e8855798e912ac59fc6ee9e4b2b54642ac39d4Transfer(pending)2024-04-29 10:54:523 days ago1714388092IN
VAIOT: Old VAI Token
0 ETH(Pending)(Pending)
Approve197656242024-04-30 4:05:352 days ago1714449935IN
VAIOT: Old VAI Token
0 ETH0.000188057.11780393
Approve197422772024-04-26 21:43:476 days ago1714167827IN
VAIOT: Old VAI Token
0 ETH0.000155985.90396126
Transfer197171882024-04-23 9:25:479 days ago1713864347IN
VAIOT: Old VAI Token
0 ETH0.000464017.42964797
Approve196987062024-04-20 19:27:1112 days ago1713641231IN
VAIOT: Old VAI Token
0 ETH0.000341587.01353774
Approve196858652024-04-19 0:17:5913 days ago1713485879IN
VAIOT: Old VAI Token
0 ETH0.00037627.76649082
Approve196825982024-04-18 13:19:4714 days ago1713446387IN
VAIOT: Old VAI Token
0 ETH0.0003362111.83005292
Approve196825982024-04-18 13:19:4714 days ago1713446387IN
VAIOT: Old VAI Token
0 ETH0.0003125411.83005292
Transfer196196632024-04-09 17:46:3523 days ago1712684795IN
VAIOT: Old VAI Token
0 ETH0.0020158232.27082761
Transfer196149432024-04-09 1:54:2323 days ago1712627663IN
VAIOT: Old VAI Token
0 ETH0.0013694621.92754127
Transfer196077622024-04-08 1:44:4724 days ago1712540687IN
VAIOT: Old VAI Token
0 ETH0.0008811914.1068338
Approve195967342024-04-06 12:37:5926 days ago1712407079IN
VAIOT: Old VAI Token
0 ETH0.0006868314.1826484
Transfer195861732024-04-05 1:09:1127 days ago1712279351IN
VAIOT: Old VAI Token
0 ETH0.000696511.15234445
Transfer195243812024-03-27 8:08:1136 days ago1711526891IN
VAIOT: Old VAI Token
0 ETH0.0018739527.87377417
Transfer195236062024-03-27 5:27:3536 days ago1711517255IN
VAIOT: Old VAI Token
0 ETH0.0013288321.27698829
Transfer195204382024-03-26 18:39:4737 days ago1711478387IN
VAIOT: Old VAI Token
0 ETH0.0028093545
Transfer195163612024-03-26 4:52:5937 days ago1711428779IN
VAIOT: Old VAI Token
0 ETH0.0012487919.99935363
Transfer195161892024-03-26 4:18:1137 days ago1711426691IN
VAIOT: Old VAI Token
0 ETH0.0006725315.80870126
Approve194862932024-03-21 23:27:1141 days ago1711063631IN
VAIOT: Old VAI Token
0 ETH0.0007342623.43788854
Approve194862032024-03-21 23:08:5941 days ago1711062539IN
VAIOT: Old VAI Token
0 ETH0.0011596623.95798601
Approve194861942024-03-21 23:07:1141 days ago1711062431IN
VAIOT: Old VAI Token
0 ETH0.0006938324.34154872
Approve194861892024-03-21 23:06:1141 days ago1711062371IN
VAIOT: Old VAI Token
0 ETH0.0012366925.54947599
Approve194774262024-03-20 17:33:5943 days ago1710956039IN
VAIOT: Old VAI Token
0 ETH0.0009738936.86215495
Transfer194751782024-03-20 10:00:2343 days ago1710928823IN
VAIOT: Old VAI Token
0 ETH0.0018904944.42588675
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VAIToken

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
constantinople EvmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-13
*/

// File: openzeppelin-solidity/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

// File: openzeppelin-solidity/contracts/token/ERC777/IERC777.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC777Token standard as defined in the EIP.
 *
 * This contract uses the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let
 * token holders and recipients react to token movements by using setting implementers
 * for the associated interfaces in said registry. See {IERC1820Registry} and
 * {ERC1820Implementer}.
 */
interface IERC777 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the smallest part of the token that is not divisible. This
     * means all token operations (creation, movement and destruction) must have
     * amounts that are a multiple of this number.
     *
     * For most token contracts, this value will equal 1.
     */
    function granularity() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * If send or receive hooks are registered for the caller and `recipient`,
     * the corresponding functions will be called with `data` and empty
     * `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits a {Sent} event.
     *
     * Requirements
     *
     * - the caller must have at least `amount` tokens.
     * - `recipient` cannot be the zero address.
     * - if `recipient` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function send(address recipient, uint256 amount, bytes calldata data) external;

    /**
     * @dev Destroys `amount` tokens from the caller's account, reducing the
     * total supply.
     *
     * If a send hook is registered for the caller, the corresponding function
     * will be called with `data` and empty `operatorData`. See {IERC777Sender}.
     *
     * Emits a {Burned} event.
     *
     * Requirements
     *
     * - the caller must have at least `amount` tokens.
     */
    function burn(uint256 amount, bytes calldata data) external;

    /**
     * @dev Returns true if an account is an operator of `tokenHolder`.
     * Operators can send and burn tokens on behalf of their owners. All
     * accounts are their own operator.
     *
     * See {operatorSend} and {operatorBurn}.
     */
    function isOperatorFor(address operator, address tokenHolder) external view returns (bool);

    /**
     * @dev Make an account an operator of the caller.
     *
     * See {isOperatorFor}.
     *
     * Emits an {AuthorizedOperator} event.
     *
     * Requirements
     *
     * - `operator` cannot be calling address.
     */
    function authorizeOperator(address operator) external;

    /**
     * @dev Make an account an operator of the caller.
     *
     * See {isOperatorFor} and {defaultOperators}.
     *
     * Emits a {RevokedOperator} event.
     *
     * Requirements
     *
     * - `operator` cannot be calling address.
     */
    function revokeOperator(address operator) external;

    /**
     * @dev Returns the list of default operators. These accounts are operators
     * for all token holders, even if {authorizeOperator} was never called on
     * them.
     *
     * This list is immutable, but individual holders may revoke these via
     * {revokeOperator}, in which case {isOperatorFor} will return false.
     */
    function defaultOperators() external view returns (address[] memory);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient`. The caller must
     * be an operator of `sender`.
     *
     * If send or receive hooks are registered for `sender` and `recipient`,
     * the corresponding functions will be called with `data` and
     * `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits a {Sent} event.
     *
     * Requirements
     *
     * - `sender` cannot be the zero address.
     * - `sender` must have at least `amount` tokens.
     * - the caller must be an operator for `sender`.
     * - `recipient` cannot be the zero address.
     * - if `recipient` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function operatorSend(
        address sender,
        address recipient,
        uint256 amount,
        bytes calldata data,
        bytes calldata operatorData
    ) external;

    /**
     * @dev Destoys `amount` tokens from `account`, reducing the total supply.
     * The caller must be an operator of `account`.
     *
     * If a send hook is registered for `account`, the corresponding function
     * will be called with `data` and `operatorData`. See {IERC777Sender}.
     *
     * Emits a {Burned} event.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     * - the caller must be an operator for `account`.
     */
    function operatorBurn(
        address account,
        uint256 amount,
        bytes calldata data,
        bytes calldata operatorData
    ) external;

    event Sent(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 amount,
        bytes data,
        bytes operatorData
    );

    event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData);

    event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData);

    event AuthorizedOperator(address indexed operator, address indexed tokenHolder);

    event RevokedOperator(address indexed operator, address indexed tokenHolder);
}

// File: openzeppelin-solidity/contracts/token/ERC777/IERC777Recipient.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP.
 *
 * Accounts can be notified of {IERC777} tokens being sent to them by having a
 * contract implement this interface (contract holders can be their own
 * implementer) and registering it on the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry].
 *
 * See {IERC1820Registry} and {ERC1820Implementer}.
 */
interface IERC777Recipient {
    /**
     * @dev Called by an {IERC777} token contract whenever tokens are being
     * moved or created into a registered account (`to`). The type of operation
     * is conveyed by `from` being the zero address or not.
     *
     * This call occurs _after_ the token contract's state is updated, so
     * {IERC777-balanceOf}, etc., can be used to query the post-operation state.
     *
     * This function may revert to prevent the operation from being executed.
     */
    function tokensReceived(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes calldata userData,
        bytes calldata operatorData
    ) external;
}

// File: openzeppelin-solidity/contracts/token/ERC777/IERC777Sender.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC777TokensSender standard as defined in the EIP.
 *
 * {IERC777} Token holders can be notified of operations performed on their
 * tokens by having a contract implement this interface (contract holders can be
 *  their own implementer) and registering it on the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry].
 *
 * See {IERC1820Registry} and {ERC1820Implementer}.
 */
interface IERC777Sender {
    /**
     * @dev Called by an {IERC777} token contract whenever a registered holder's
     * (`from`) tokens are about to be moved or destroyed. The type of operation
     * is conveyed by `to` being the zero address or not.
     *
     * This call occurs _before_ the token contract's state is updated, so
     * {IERC777-balanceOf}, etc., can be used to query the pre-operation state.
     *
     * This function may revert to prevent the operation from being executed.
     */
    function tokensToSend(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes calldata userData,
        bytes calldata operatorData
    ) external;
}

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: openzeppelin-solidity/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following 
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

// File: openzeppelin-solidity/contracts/introspection/IERC1820Registry.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the global ERC1820 Registry, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register
 * implementers for interfaces in this registry, as well as query support.
 *
 * Implementers may be shared by multiple accounts, and can also implement more
 * than a single interface for each account. Contracts can implement interfaces
 * for themselves, but externally-owned accounts (EOA) must delegate this to a
 * contract.
 *
 * {IERC165} interfaces can also be queried via the registry.
 *
 * For an in-depth explanation and source code analysis, see the EIP text.
 */
interface IERC1820Registry {
    /**
     * @dev Sets `newManager` as the manager for `account`. A manager of an
     * account is able to set interface implementers for it.
     *
     * By default, each account is its own manager. Passing a value of `0x0` in
     * `newManager` will reset the manager to this initial state.
     *
     * Emits a {ManagerChanged} event.
     *
     * Requirements:
     *
     * - the caller must be the current manager for `account`.
     */
    function setManager(address account, address newManager) external;

    /**
     * @dev Returns the manager for `account`.
     *
     * See {setManager}.
     */
    function getManager(address account) external view returns (address);

    /**
     * @dev Sets the `implementer` contract as `account`'s implementer for
     * `interfaceHash`.
     *
     * `account` being the zero address is an alias for the caller's address.
     * The zero address can also be used in `implementer` to remove an old one.
     *
     * See {interfaceHash} to learn how these are created.
     *
     * Emits an {InterfaceImplementerSet} event.
     *
     * Requirements:
     *
     * - the caller must be the current manager for `account`.
     * - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not
     * end in 28 zeroes).
     * - `implementer` must implement {IERC1820Implementer} and return true when
     * queried for support, unless `implementer` is the caller. See
     * {IERC1820Implementer-canImplementInterfaceForAddress}.
     */
    function setInterfaceImplementer(address account, bytes32 interfaceHash, address implementer) external;

    /**
     * @dev Returns the implementer of `interfaceHash` for `account`. If no such
     * implementer is registered, returns the zero address.
     *
     * If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28
     * zeroes), `account` will be queried for support of it.
     *
     * `account` being the zero address is an alias for the caller's address.
     */
    function getInterfaceImplementer(address account, bytes32 interfaceHash) external view returns (address);

    /**
     * @dev Returns the interface hash for an `interfaceName`, as defined in the
     * corresponding
     * https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP].
     */
    function interfaceHash(string calldata interfaceName) external pure returns (bytes32);

    /**
     *  @notice Updates the cache with whether the contract implements an ERC165 interface or not.
     *  @param account Address of the contract for which to update the cache.
     *  @param interfaceId ERC165 interface for which to update the cache.
     */
    function updateERC165Cache(address account, bytes4 interfaceId) external;

    /**
     *  @notice Checks whether a contract implements an ERC165 interface or not.
     *  If the result is not cached a direct lookup on the contract address is performed.
     *  If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling
     *  {updateERC165Cache} with the contract address.
     *  @param account Address of the contract to check.
     *  @param interfaceId ERC165 interface to check.
     *  @return True if `account` implements `interfaceId`, false otherwise.
     */
    function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool);

    /**
     *  @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache.
     *  @param account Address of the contract to check.
     *  @param interfaceId ERC165 interface to check.
     *  @return True if `account` implements `interfaceId`, false otherwise.
     */
    function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool);

    event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer);

    event ManagerChanged(address indexed account, address indexed newManager);
}

// File: openzeppelin-solidity/contracts/token/ERC777/ERC777.sol

pragma solidity ^0.5.0;









/**
 * @dev Implementation of the {IERC777} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * Support for ERC20 is included in this contract, as specified by the EIP: both
 * the ERC777 and ERC20 interfaces can be safely used when interacting with it.
 * Both {IERC777-Sent} and {IERC20-Transfer} events are emitted on token
 * movements.
 *
 * Additionally, the {IERC777-granularity} value is hard-coded to `1`, meaning that there
 * are no special restrictions in the amount of tokens that created, moved, or
 * destroyed. This makes integration with ERC20 applications seamless.
 */
contract ERC777 is Context, IERC777, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    IERC1820Registry constant internal ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);

    mapping(address => uint256) private _balances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    // We inline the result of the following hashes because Solidity doesn't resolve them at compile time.
    // See https://github.com/ethereum/solidity/issues/4024.

    // keccak256("ERC777TokensSender")
    bytes32 constant private TOKENS_SENDER_INTERFACE_HASH =
        0x29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe895;

    // keccak256("ERC777TokensRecipient")
    bytes32 constant private TOKENS_RECIPIENT_INTERFACE_HASH =
        0xb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b;

    // This isn't ever read from - it's only used to respond to the defaultOperators query.
    address[] private _defaultOperatorsArray;

    // Immutable, but accounts may revoke them (tracked in __revokedDefaultOperators).
    mapping(address => bool) private _defaultOperators;

    // For each account, a mapping of its operators and revoked default operators.
    mapping(address => mapping(address => bool)) private _operators;
    mapping(address => mapping(address => bool)) private _revokedDefaultOperators;

    // ERC20-allowances
    mapping (address => mapping (address => uint256)) private _allowances;

    /**
     * @dev `defaultOperators` may be an empty array.
     */
    constructor(
        string memory name,
        string memory symbol,
        address[] memory defaultOperators
    ) public {
        _name = name;
        _symbol = symbol;

        _defaultOperatorsArray = defaultOperators;
        for (uint256 i = 0; i < _defaultOperatorsArray.length; i++) {
            _defaultOperators[_defaultOperatorsArray[i]] = true;
        }

        // register interfaces
        ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC777Token"), address(this));
        ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC20Token"), address(this));
    }

    /**
     * @dev See {IERC777-name}.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC777-symbol}.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {ERC20Detailed-decimals}.
     *
     * Always returns 18, as per the
     * [ERC777 EIP](https://eips.ethereum.org/EIPS/eip-777#backward-compatibility).
     */
    function decimals() public pure returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC777-granularity}.
     *
     * This implementation always returns `1`.
     */
    function granularity() public view returns (uint256) {
        return 1;
    }

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

    /**
     * @dev Returns the amount of tokens owned by an account (`tokenHolder`).
     */
    function balanceOf(address tokenHolder) public view returns (uint256) {
        return _balances[tokenHolder];
    }

    /**
     * @dev See {IERC777-send}.
     *
     * Also emits a {IERC20-Transfer} event for ERC20 compatibility.
     */
    function send(address recipient, uint256 amount, bytes memory data) public {
        _send(_msgSender(), _msgSender(), recipient, amount, data, "", true);
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Unlike `send`, `recipient` is _not_ required to implement the {IERC777Recipient}
     * interface if it is a contract.
     *
     * Also emits a {Sent} event.
     */
    function transfer(address recipient, uint256 amount) public returns (bool) {
        require(recipient != address(0), "ERC777: transfer to the zero address");

        address from = _msgSender();

        _callTokensToSend(from, from, recipient, amount, "", "");

        _move(from, from, recipient, amount, "", "");

        _callTokensReceived(from, from, recipient, amount, "", "", false);

        return true;
    }

    /**
     * @dev See {IERC777-burn}.
     *
     * Also emits a {IERC20-Transfer} event for ERC20 compatibility.
     */
    function burn(uint256 amount, bytes memory data) public {
        _burn(_msgSender(), _msgSender(), amount, data, "");
    }

    /**
     * @dev See {IERC777-isOperatorFor}.
     */
    function isOperatorFor(
        address operator,
        address tokenHolder
    ) public view returns (bool) {
        return operator == tokenHolder ||
            (_defaultOperators[operator] && !_revokedDefaultOperators[tokenHolder][operator]) ||
            _operators[tokenHolder][operator];
    }

    /**
     * @dev See {IERC777-authorizeOperator}.
     */
    function authorizeOperator(address operator) public {
        require(_msgSender() != operator, "ERC777: authorizing self as operator");

        if (_defaultOperators[operator]) {
            delete _revokedDefaultOperators[_msgSender()][operator];
        } else {
            _operators[_msgSender()][operator] = true;
        }

        emit AuthorizedOperator(operator, _msgSender());
    }

    /**
     * @dev See {IERC777-revokeOperator}.
     */
    function revokeOperator(address operator) public {
        require(operator != _msgSender(), "ERC777: revoking self as operator");

        if (_defaultOperators[operator]) {
            _revokedDefaultOperators[_msgSender()][operator] = true;
        } else {
            delete _operators[_msgSender()][operator];
        }

        emit RevokedOperator(operator, _msgSender());
    }

    /**
     * @dev See {IERC777-defaultOperators}.
     */
    function defaultOperators() public view returns (address[] memory) {
        return _defaultOperatorsArray;
    }

    /**
     * @dev See {IERC777-operatorSend}.
     *
     * Emits {Sent} and {IERC20-Transfer} events.
     */
    function operatorSend(
        address sender,
        address recipient,
        uint256 amount,
        bytes memory data,
        bytes memory operatorData
    )
    public
    {
        require(isOperatorFor(_msgSender(), sender), "ERC777: caller is not an operator for holder");
        _send(_msgSender(), sender, recipient, amount, data, operatorData, true);
    }

    /**
     * @dev See {IERC777-operatorBurn}.
     *
     * Emits {Burned} and {IERC20-Transfer} events.
     */
    function operatorBurn(address account, uint256 amount, bytes memory data, bytes memory operatorData) public {
        require(isOperatorFor(_msgSender(), account), "ERC777: caller is not an operator for holder");
        _burn(_msgSender(), account, amount, data, operatorData);
    }

    /**
     * @dev See {IERC20-allowance}.
     *
     * Note that operator and allowance concepts are orthogonal: operators may
     * not have allowance, and accounts with allowance may not be operators
     * themselves.
     */
    function allowance(address holder, address spender) public view returns (uint256) {
        return _allowances[holder][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Note that accounts cannot have allowance issued by their operators.
     */
    function approve(address spender, uint256 value) public returns (bool) {
        address holder = _msgSender();
        _approve(holder, spender, value);
        return true;
    }

   /**
    * @dev See {IERC20-transferFrom}.
    *
    * Note that operator and allowance concepts are orthogonal: operators cannot
    * call `transferFrom` (unless they have allowance), and accounts with
    * allowance cannot call `operatorSend` (unless they are operators).
    *
    * Emits {Sent}, {IERC20-Transfer} and {IERC20-Approval} events.
    */
    function transferFrom(address holder, address recipient, uint256 amount) public returns (bool) {
        require(recipient != address(0), "ERC777: transfer to the zero address");
        require(holder != address(0), "ERC777: transfer from the zero address");

        address spender = _msgSender();

        _callTokensToSend(spender, holder, recipient, amount, "", "");

        _move(spender, holder, recipient, amount, "", "");
        _approve(holder, spender, _allowances[holder][spender].sub(amount, "ERC777: transfer amount exceeds allowance"));

        _callTokensReceived(spender, holder, recipient, amount, "", "", false);

        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * If a send hook is registered for `account`, the corresponding function
     * will be called with `operator`, `data` and `operatorData`.
     *
     * See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits {Minted} and {IERC20-Transfer} events.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - if `account` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function _mint(
        address operator,
        address account,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData
    )
    internal
    {
        require(account != address(0), "ERC777: mint to the zero address");

        // Update state variables
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);

        _callTokensReceived(operator, address(0), account, amount, userData, operatorData, true);

        emit Minted(operator, account, amount, userData, operatorData);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Send tokens
     * @param operator address operator requesting the transfer
     * @param from address token holder address
     * @param to address recipient address
     * @param amount uint256 amount of tokens to transfer
     * @param userData bytes extra information provided by the token holder (if any)
     * @param operatorData bytes extra information provided by the operator (if any)
     * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient
     */
    function _send(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData,
        bool requireReceptionAck
    )
        internal
    {
        require(operator != address(0), "ERC777: operator is the zero address");
        require(from != address(0), "ERC777: send from the zero address");
        require(to != address(0), "ERC777: send to the zero address");

        _callTokensToSend(operator, from, to, amount, userData, operatorData);

        _move(operator, from, to, amount, userData, operatorData);

        _callTokensReceived(operator, from, to, amount, userData, operatorData, requireReceptionAck);
    }

    /**
     * @dev Burn tokens
     * @param operator address operator requesting the operation
     * @param from address token holder address
     * @param amount uint256 amount of tokens to burn
     * @param data bytes extra information provided by the token holder
     * @param operatorData bytes extra information provided by the operator (if any)
     */
    function _burn(
        address operator,
        address from,
        uint256 amount,
        bytes memory data,
        bytes memory operatorData
    )
        internal
    {
        require(from != address(0), "ERC777: burn from the zero address");

        _callTokensToSend(operator, from, address(0), amount, data, operatorData);

        // Update state variables
        _balances[from] = _balances[from].sub(amount, "ERC777: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);

        emit Burned(operator, from, amount, data, operatorData);
        emit Transfer(from, address(0), amount);
    }

    function _move(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData
    )
        private
    {
        _balances[from] = _balances[from].sub(amount, "ERC777: transfer amount exceeds balance");
        _balances[to] = _balances[to].add(amount);

        emit Sent(operator, from, to, amount, userData, operatorData);
        emit Transfer(from, to, amount);
    }

    /**
     * @dev See {ERC20-_approve}.
     *
     * Note that accounts cannot have allowance issued by their operators.
     */
    function _approve(address holder, address spender, uint256 value) internal {
        require(holder != address(0), "ERC777: approve from the zero address");
        require(spender != address(0), "ERC777: approve to the zero address");

        _allowances[holder][spender] = value;
        emit Approval(holder, spender, value);
    }

    /**
     * @dev Call from.tokensToSend() if the interface is registered
     * @param operator address operator requesting the transfer
     * @param from address token holder address
     * @param to address recipient address
     * @param amount uint256 amount of tokens to transfer
     * @param userData bytes extra information provided by the token holder (if any)
     * @param operatorData bytes extra information provided by the operator (if any)
     */
    function _callTokensToSend(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData
    )
        internal
    {
        address implementer = ERC1820_REGISTRY.getInterfaceImplementer(from, TOKENS_SENDER_INTERFACE_HASH);
        if (implementer != address(0)) {
            IERC777Sender(implementer).tokensToSend(operator, from, to, amount, userData, operatorData);
        }
    }

    /**
     * @dev Call to.tokensReceived() if the interface is registered. Reverts if the recipient is a contract but
     * tokensReceived() was not registered for the recipient
     * @param operator address operator requesting the transfer
     * @param from address token holder address
     * @param to address recipient address
     * @param amount uint256 amount of tokens to transfer
     * @param userData bytes extra information provided by the token holder (if any)
     * @param operatorData bytes extra information provided by the operator (if any)
     * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient
     */
    function _callTokensReceived(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData,
        bool requireReceptionAck
    )
        internal
    {
        address implementer = ERC1820_REGISTRY.getInterfaceImplementer(to, TOKENS_RECIPIENT_INTERFACE_HASH);
        if (implementer != address(0)) {
            IERC777Recipient(implementer).tokensReceived(operator, from, to, amount, userData, operatorData);
        } else if (requireReceptionAck) {
            require(!to.isContract(), "ERC777: token recipient contract has no implementer for ERC777TokensRecipient");
        }
    }
}

// File: openzeppelin-solidity/contracts/GSN/IRelayRecipient.sol

pragma solidity ^0.5.0;

/**
 * @dev Base interface for a contract that will be called via the GSN from {IRelayHub}.
 *
 * TIP: You don't need to write an implementation yourself! Inherit from {GSNRecipient} instead.
 */
interface IRelayRecipient {
    /**
     * @dev Returns the address of the {IRelayHub} instance this recipient interacts with.
     */
    function getHubAddr() external view returns (address);

    /**
     * @dev Called by {IRelayHub} to validate if this recipient accepts being charged for a relayed call. Note that the
     * recipient will be charged regardless of the execution result of the relayed call (i.e. if it reverts or not).
     *
     * The relay request was originated by `from` and will be served by `relay`. `encodedFunction` is the relayed call
     * calldata, so its first four bytes are the function selector. The relayed call will be forwarded `gasLimit` gas,
     * and the transaction executed with a gas price of at least `gasPrice`. `relay`'s fee is `transactionFee`, and the
     * recipient will be charged at most `maxPossibleCharge` (in wei). `nonce` is the sender's (`from`) nonce for
     * replay attack protection in {IRelayHub}, and `approvalData` is a optional parameter that can be used to hold a signature
     * over all or some of the previous values.
     *
     * Returns a tuple, where the first value is used to indicate approval (0) or rejection (custom non-zero error code,
     * values 1 to 10 are reserved) and the second one is data to be passed to the other {IRelayRecipient} functions.
     *
     * {acceptRelayedCall} is called with 50k gas: if it runs out during execution, the request will be considered
     * rejected. A regular revert will also trigger a rejection.
     */
    function acceptRelayedCall(
        address relay,
        address from,
        bytes calldata encodedFunction,
        uint256 transactionFee,
        uint256 gasPrice,
        uint256 gasLimit,
        uint256 nonce,
        bytes calldata approvalData,
        uint256 maxPossibleCharge
    )
        external
        view
        returns (uint256, bytes memory);

    /**
     * @dev Called by {IRelayHub} on approved relay call requests, before the relayed call is executed. This allows to e.g.
     * pre-charge the sender of the transaction.
     *
     * `context` is the second value returned in the tuple by {acceptRelayedCall}.
     *
     * Returns a value to be passed to {postRelayedCall}.
     *
     * {preRelayedCall} is called with 100k gas: if it runs out during exection or otherwise reverts, the relayed call
     * will not be executed, but the recipient will still be charged for the transaction's cost.
     */
    function preRelayedCall(bytes calldata context) external returns (bytes32);

    /**
     * @dev Called by {IRelayHub} on approved relay call requests, after the relayed call is executed. This allows to e.g.
     * charge the user for the relayed call costs, return any overcharges from {preRelayedCall}, or perform
     * contract-specific bookkeeping.
     *
     * `context` is the second value returned in the tuple by {acceptRelayedCall}. `success` is the execution status of
     * the relayed call. `actualCharge` is an estimate of how much the recipient will be charged for the transaction,
     * not including any gas used by {postRelayedCall} itself. `preRetVal` is {preRelayedCall}'s return value.
     *
     *
     * {postRelayedCall} is called with 100k gas: if it runs out during execution or otherwise reverts, the relayed call
     * and the call to {preRelayedCall} will be reverted retroactively, but the recipient will still be charged for the
     * transaction's cost.
     */
    function postRelayedCall(bytes calldata context, bool success, uint256 actualCharge, bytes32 preRetVal) external;
}

// File: openzeppelin-solidity/contracts/GSN/IRelayHub.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface for `RelayHub`, the core contract of the GSN. Users should not need to interact with this contract
 * directly.
 *
 * See the https://github.com/OpenZeppelin/openzeppelin-gsn-helpers[OpenZeppelin GSN helpers] for more information on
 * how to deploy an instance of `RelayHub` on your local test network.
 */
interface IRelayHub {
    // Relay management

    /**
     * @dev Adds stake to a relay and sets its `unstakeDelay`. If the relay does not exist, it is created, and the caller
     * of this function becomes its owner. If the relay already exists, only the owner can call this function. A relay
     * cannot be its own owner.
     *
     * All Ether in this function call will be added to the relay's stake.
     * Its unstake delay will be assigned to `unstakeDelay`, but the new value must be greater or equal to the current one.
     *
     * Emits a {Staked} event.
     */
    function stake(address relayaddr, uint256 unstakeDelay) external payable;

    /**
     * @dev Emitted when a relay's stake or unstakeDelay are increased
     */
    event Staked(address indexed relay, uint256 stake, uint256 unstakeDelay);

    /**
     * @dev Registers the caller as a relay.
     * The relay must be staked for, and not be a contract (i.e. this function must be called directly from an EOA).
     *
     * This function can be called multiple times, emitting new {RelayAdded} events. Note that the received
     * `transactionFee` is not enforced by {relayCall}.
     *
     * Emits a {RelayAdded} event.
     */
    function registerRelay(uint256 transactionFee, string calldata url) external;

    /**
     * @dev Emitted when a relay is registered or re-registerd. Looking at these events (and filtering out
     * {RelayRemoved} events) lets a client discover the list of available relays.
     */
    event RelayAdded(address indexed relay, address indexed owner, uint256 transactionFee, uint256 stake, uint256 unstakeDelay, string url);

    /**
     * @dev Removes (deregisters) a relay. Unregistered (but staked for) relays can also be removed.
     *
     * Can only be called by the owner of the relay. After the relay's `unstakeDelay` has elapsed, {unstake} will be
     * callable.
     *
     * Emits a {RelayRemoved} event.
     */
    function removeRelayByOwner(address relay) external;

    /**
     * @dev Emitted when a relay is removed (deregistered). `unstakeTime` is the time when unstake will be callable.
     */
    event RelayRemoved(address indexed relay, uint256 unstakeTime);

    /** Deletes the relay from the system, and gives back its stake to the owner.
     *
     * Can only be called by the relay owner, after `unstakeDelay` has elapsed since {removeRelayByOwner} was called.
     *
     * Emits an {Unstaked} event.
     */
    function unstake(address relay) external;

    /**
     * @dev Emitted when a relay is unstaked for, including the returned stake.
     */
    event Unstaked(address indexed relay, uint256 stake);

    // States a relay can be in
    enum RelayState {
        Unknown, // The relay is unknown to the system: it has never been staked for
        Staked, // The relay has been staked for, but it is not yet active
        Registered, // The relay has registered itself, and is active (can relay calls)
        Removed    // The relay has been removed by its owner and can no longer relay calls. It must wait for its unstakeDelay to elapse before it can unstake
    }

    /**
     * @dev Returns a relay's status. Note that relays can be deleted when unstaked or penalized, causing this function
     * to return an empty entry.
     */
    function getRelay(address relay) external view returns (uint256 totalStake, uint256 unstakeDelay, uint256 unstakeTime, address payable owner, RelayState state);

    // Balance management

    /**
     * @dev Deposits Ether for a contract, so that it can receive (and pay for) relayed transactions.
     *
     * Unused balance can only be withdrawn by the contract itself, by calling {withdraw}.
     *
     * Emits a {Deposited} event.
     */
    function depositFor(address target) external payable;

    /**
     * @dev Emitted when {depositFor} is called, including the amount and account that was funded.
     */
    event Deposited(address indexed recipient, address indexed from, uint256 amount);

    /**
     * @dev Returns an account's deposits. These can be either a contracts's funds, or a relay owner's revenue.
     */
    function balanceOf(address target) external view returns (uint256);

    /**
     * Withdraws from an account's balance, sending it back to it. Relay owners call this to retrieve their revenue, and
     * contracts can use it to reduce their funding.
     *
     * Emits a {Withdrawn} event.
     */
    function withdraw(uint256 amount, address payable dest) external;

    /**
     * @dev Emitted when an account withdraws funds from `RelayHub`.
     */
    event Withdrawn(address indexed account, address indexed dest, uint256 amount);

    // Relaying

    /**
     * @dev Checks if the `RelayHub` will accept a relayed operation.
     * Multiple things must be true for this to happen:
     *  - all arguments must be signed for by the sender (`from`)
     *  - the sender's nonce must be the current one
     *  - the recipient must accept this transaction (via {acceptRelayedCall})
     *
     * Returns a `PreconditionCheck` value (`OK` when the transaction can be relayed), or a recipient-specific error
     * code if it returns one in {acceptRelayedCall}.
     */
    function canRelay(
        address relay,
        address from,
        address to,
        bytes calldata encodedFunction,
        uint256 transactionFee,
        uint256 gasPrice,
        uint256 gasLimit,
        uint256 nonce,
        bytes calldata signature,
        bytes calldata approvalData
    ) external view returns (uint256 status, bytes memory recipientContext);

    // Preconditions for relaying, checked by canRelay and returned as the corresponding numeric values.
    enum PreconditionCheck {
        OK,                         // All checks passed, the call can be relayed
        WrongSignature,             // The transaction to relay is not signed by requested sender
        WrongNonce,                 // The provided nonce has already been used by the sender
        AcceptRelayedCallReverted,  // The recipient rejected this call via acceptRelayedCall
        InvalidRecipientStatusCode  // The recipient returned an invalid (reserved) status code
    }

    /**
     * @dev Relays a transaction.
     *
     * For this to succeed, multiple conditions must be met:
     *  - {canRelay} must `return PreconditionCheck.OK`
     *  - the sender must be a registered relay
     *  - the transaction's gas price must be larger or equal to the one that was requested by the sender
     *  - the transaction must have enough gas to not run out of gas if all internal transactions (calls to the
     * recipient) use all gas available to them
     *  - the recipient must have enough balance to pay the relay for the worst-case scenario (i.e. when all gas is
     * spent)
     *
     * If all conditions are met, the call will be relayed and the recipient charged. {preRelayedCall}, the encoded
     * function and {postRelayedCall} will be called in that order.
     *
     * Parameters:
     *  - `from`: the client originating the request
     *  - `to`: the target {IRelayRecipient} contract
     *  - `encodedFunction`: the function call to relay, including data
     *  - `transactionFee`: fee (%) the relay takes over actual gas cost
     *  - `gasPrice`: gas price the client is willing to pay
     *  - `gasLimit`: gas to forward when calling the encoded function
     *  - `nonce`: client's nonce
     *  - `signature`: client's signature over all previous params, plus the relay and RelayHub addresses
     *  - `approvalData`: dapp-specific data forwared to {acceptRelayedCall}. This value is *not* verified by the
     * `RelayHub`, but it still can be used for e.g. a signature.
     *
     * Emits a {TransactionRelayed} event.
     */
    function relayCall(
        address from,
        address to,
        bytes calldata encodedFunction,
        uint256 transactionFee,
        uint256 gasPrice,
        uint256 gasLimit,
        uint256 nonce,
        bytes calldata signature,
        bytes calldata approvalData
    ) external;

    /**
     * @dev Emitted when an attempt to relay a call failed.
     *
     * This can happen due to incorrect {relayCall} arguments, or the recipient not accepting the relayed call. The
     * actual relayed call was not executed, and the recipient not charged.
     *
     * The `reason` parameter contains an error code: values 1-10 correspond to `PreconditionCheck` entries, and values
     * over 10 are custom recipient error codes returned from {acceptRelayedCall}.
     */
    event CanRelayFailed(address indexed relay, address indexed from, address indexed to, bytes4 selector, uint256 reason);

    /**
     * @dev Emitted when a transaction is relayed. 
     * Useful when monitoring a relay's operation and relayed calls to a contract
     *
     * Note that the actual encoded function might be reverted: this is indicated in the `status` parameter.
     *
     * `charge` is the Ether value deducted from the recipient's balance, paid to the relay's owner.
     */
    event TransactionRelayed(address indexed relay, address indexed from, address indexed to, bytes4 selector, RelayCallStatus status, uint256 charge);

    // Reason error codes for the TransactionRelayed event
    enum RelayCallStatus {
        OK,                      // The transaction was successfully relayed and execution successful - never included in the event
        RelayedCallFailed,       // The transaction was relayed, but the relayed call failed
        PreRelayedFailed,        // The transaction was not relayed due to preRelatedCall reverting
        PostRelayedFailed,       // The transaction was relayed and reverted due to postRelatedCall reverting
        RecipientBalanceChanged  // The transaction was relayed and reverted due to the recipient's balance changing
    }

    /**
     * @dev Returns how much gas should be forwarded to a call to {relayCall}, in order to relay a transaction that will
     * spend up to `relayedCallStipend` gas.
     */
    function requiredGas(uint256 relayedCallStipend) external view returns (uint256);

    /**
     * @dev Returns the maximum recipient charge, given the amount of gas forwarded, gas price and relay fee.
     */
    function maxPossibleCharge(uint256 relayedCallStipend, uint256 gasPrice, uint256 transactionFee) external view returns (uint256);

     // Relay penalization. 
     // Any account can penalize relays, removing them from the system immediately, and rewarding the
    // reporter with half of the relay's stake. The other half is burned so that, even if the relay penalizes itself, it
    // still loses half of its stake.

    /**
     * @dev Penalize a relay that signed two transactions using the same nonce (making only the first one valid) and
     * different data (gas price, gas limit, etc. may be different).
     *
     * The (unsigned) transaction data and signature for both transactions must be provided.
     */
    function penalizeRepeatedNonce(bytes calldata unsignedTx1, bytes calldata signature1, bytes calldata unsignedTx2, bytes calldata signature2) external;

    /**
     * @dev Penalize a relay that sent a transaction that didn't target `RelayHub`'s {registerRelay} or {relayCall}.
     */
    function penalizeIllegalTransaction(bytes calldata unsignedTx, bytes calldata signature) external;

    /**
     * @dev Emitted when a relay is penalized.
     */
    event Penalized(address indexed relay, address sender, uint256 amount);

    /**
     * @dev Returns an account's nonce in `RelayHub`.
     */
    function getNonce(address from) external view returns (uint256);
}

// File: openzeppelin-solidity/contracts/GSN/GSNRecipient.sol

pragma solidity ^0.5.0;




/**
 * @dev Base GSN recipient contract: includes the {IRelayRecipient} interface
 * and enables GSN support on all contracts in the inheritance tree.
 *
 * TIP: This contract is abstract. The functions {IRelayRecipient-acceptRelayedCall},
 *  {_preRelayedCall}, and {_postRelayedCall} are not implemented and must be
 * provided by derived contracts. See the
 * xref:ROOT:gsn-strategies.adoc#gsn-strategies[GSN strategies] for more
 * information on how to use the pre-built {GSNRecipientSignature} and
 * {GSNRecipientERC20Fee}, or how to write your own.
 */
contract GSNRecipient is IRelayRecipient, Context {
    // Default RelayHub address, deployed on mainnet and all testnets at the same address
    address private _relayHub = 0xD216153c06E857cD7f72665E0aF1d7D82172F494;

    uint256 constant private RELAYED_CALL_ACCEPTED = 0;
    uint256 constant private RELAYED_CALL_REJECTED = 11;

    // How much gas is forwarded to postRelayedCall
    uint256 constant internal POST_RELAYED_CALL_MAX_GAS = 100000;

    /**
     * @dev Emitted when a contract changes its {IRelayHub} contract to a new one.
     */
    event RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub);

    /**
     * @dev Returns the address of the {IRelayHub} contract for this recipient.
     */
    function getHubAddr() public view returns (address) {
        return _relayHub;
    }

    /**
     * @dev Switches to a new {IRelayHub} instance. This method is added for future-proofing: there's no reason to not
     * use the default instance.
     *
     * IMPORTANT: After upgrading, the {GSNRecipient} will no longer be able to receive relayed calls from the old
     * {IRelayHub} instance. Additionally, all funds should be previously withdrawn via {_withdrawDeposits}.
     */
    function _upgradeRelayHub(address newRelayHub) internal {
        address currentRelayHub = _relayHub;
        require(newRelayHub != address(0), "GSNRecipient: new RelayHub is the zero address");
        require(newRelayHub != currentRelayHub, "GSNRecipient: new RelayHub is the current one");

        emit RelayHubChanged(currentRelayHub, newRelayHub);

        _relayHub = newRelayHub;
    }

    /**
     * @dev Returns the version string of the {IRelayHub} for which this recipient implementation was built. If
     * {_upgradeRelayHub} is used, the new {IRelayHub} instance should be compatible with this version.
     */
    // This function is view for future-proofing, it may require reading from
    // storage in the future.
    function relayHubVersion() public view returns (string memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return "1.0.0";
    }

    /**
     * @dev Withdraws the recipient's deposits in `RelayHub`.
     *
     * Derived contracts should expose this in an external interface with proper access control.
     */
    function _withdrawDeposits(uint256 amount, address payable payee) internal {
        IRelayHub(_relayHub).withdraw(amount, payee);
    }

    // Overrides for Context's functions: when called from RelayHub, sender and
    // data require some pre-processing: the actual sender is stored at the end
    // of the call data, which in turns means it needs to be removed from it
    // when handling said data.

    /**
     * @dev Replacement for msg.sender. Returns the actual sender of a transaction: msg.sender for regular transactions,
     * and the end-user for GSN relayed calls (where msg.sender is actually `RelayHub`).
     *
     * IMPORTANT: Contracts derived from {GSNRecipient} should never use `msg.sender`, and use {_msgSender} instead.
     */
    function _msgSender() internal view returns (address payable) {
        if (msg.sender != _relayHub) {
            return msg.sender;
        } else {
            return _getRelayedCallSender();
        }
    }

    /**
     * @dev Replacement for msg.data. Returns the actual calldata of a transaction: msg.data for regular transactions,
     * and a reduced version for GSN relayed calls (where msg.data contains additional information).
     *
     * IMPORTANT: Contracts derived from {GSNRecipient} should never use `msg.data`, and use {_msgData} instead.
     */
    function _msgData() internal view returns (bytes memory) {
        if (msg.sender != _relayHub) {
            return msg.data;
        } else {
            return _getRelayedCallData();
        }
    }

    // Base implementations for pre and post relayedCall: only RelayHub can invoke them, and data is forwarded to the
    // internal hook.

    /**
     * @dev See `IRelayRecipient.preRelayedCall`.
     *
     * This function should not be overriden directly, use `_preRelayedCall` instead.
     *
     * * Requirements:
     *
     * - the caller must be the `RelayHub` contract.
     */
    function preRelayedCall(bytes calldata context) external returns (bytes32) {
        require(msg.sender == getHubAddr(), "GSNRecipient: caller is not RelayHub");
        return _preRelayedCall(context);
    }

    /**
     * @dev See `IRelayRecipient.preRelayedCall`.
     *
     * Called by `GSNRecipient.preRelayedCall`, which asserts the caller is the `RelayHub` contract. Derived contracts
     * must implement this function with any relayed-call preprocessing they may wish to do.
     *
     */
    function _preRelayedCall(bytes memory context) internal returns (bytes32);

    /**
     * @dev See `IRelayRecipient.postRelayedCall`.
     *
     * This function should not be overriden directly, use `_postRelayedCall` instead.
     *
     * * Requirements:
     *
     * - the caller must be the `RelayHub` contract.
     */
    function postRelayedCall(bytes calldata context, bool success, uint256 actualCharge, bytes32 preRetVal) external {
        require(msg.sender == getHubAddr(), "GSNRecipient: caller is not RelayHub");
        _postRelayedCall(context, success, actualCharge, preRetVal);
    }

    /**
     * @dev See `IRelayRecipient.postRelayedCall`.
     *
     * Called by `GSNRecipient.postRelayedCall`, which asserts the caller is the `RelayHub` contract. Derived contracts
     * must implement this function with any relayed-call postprocessing they may wish to do.
     *
     */
    function _postRelayedCall(bytes memory context, bool success, uint256 actualCharge, bytes32 preRetVal) internal;

    /**
     * @dev Return this in acceptRelayedCall to proceed with the execution of a relayed call. Note that this contract
     * will be charged a fee by RelayHub
     */
    function _approveRelayedCall() internal pure returns (uint256, bytes memory) {
        return _approveRelayedCall("");
    }

    /**
     * @dev See `GSNRecipient._approveRelayedCall`.
     *
     * This overload forwards `context` to _preRelayedCall and _postRelayedCall.
     */
    function _approveRelayedCall(bytes memory context) internal pure returns (uint256, bytes memory) {
        return (RELAYED_CALL_ACCEPTED, context);
    }

    /**
     * @dev Return this in acceptRelayedCall to impede execution of a relayed call. No fees will be charged.
     */
    function _rejectRelayedCall(uint256 errorCode) internal pure returns (uint256, bytes memory) {
        return (RELAYED_CALL_REJECTED + errorCode, "");
    }

    /*
     * @dev Calculates how much RelayHub will charge a recipient for using `gas` at a `gasPrice`, given a relayer's
     * `serviceFee`.
     */
    function _computeCharge(uint256 gas, uint256 gasPrice, uint256 serviceFee) internal pure returns (uint256) {
        // The fee is expressed as a percentage. E.g. a value of 40 stands for a 40% fee, so the recipient will be
        // charged for 1.4 times the spent amount.
        return (gas * gasPrice * (100 + serviceFee)) / 100;
    }

    function _getRelayedCallSender() private pure returns (address payable result) {
        // We need to read 20 bytes (an address) located at array index msg.data.length - 20. In memory, the array
        // is prefixed with a 32-byte length value, so we first add 32 to get the memory read index. However, doing
        // so would leave the address in the upper 20 bytes of the 32-byte word, which is inconvenient and would
        // require bit shifting. We therefore subtract 12 from the read index so the address lands on the lower 20
        // bytes. This can always be done due to the 32-byte prefix.

        // The final memory read index is msg.data.length - 20 + 32 - 12 = msg.data.length. Using inline assembly is the
        // easiest/most-efficient way to perform this operation.

        // These fields are not accessible from assembly
        bytes memory array = msg.data;
        uint256 index = msg.data.length;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
            result := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff)
        }
        return result;
    }

    function _getRelayedCallData() private pure returns (bytes memory) {
        // RelayHub appends the sender address at the end of the calldata, so in order to retrieve the actual msg.data,
        // we must strip the last 20 bytes (length of an address type) from it.

        uint256 actualDataLength = msg.data.length - 20;
        bytes memory actualData = new bytes(actualDataLength);

        for (uint256 i = 0; i < actualDataLength; ++i) {
            actualData[i] = msg.data[i];
        }

        return actualData;
    }
}

// File: openzeppelin-solidity/contracts/cryptography/ECDSA.sol

pragma solidity ^0.5.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * NOTE: This call _does not revert_ if the signature is invalid, or
     * if the signer is otherwise unable to be retrieved. In those scenarios,
     * the zero address is returned.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            return (address(0));
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return address(0);
        }

        if (v != 27 && v != 28) {
            return address(0);
        }

        // If the signature is valid (and not malleable), return the signer address
        return ecrecover(hash, v, r, s);
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

// File: openzeppelin-solidity/contracts/GSN/GSNRecipientSignature.sol

pragma solidity ^0.5.0;



/**
 * @dev A xref:ROOT:gsn-strategies.adoc#gsn-strategies[GSN strategy] that allows relayed transactions through when they are
 * accompanied by the signature of a trusted signer. The intent is for this signature to be generated by a server that
 * performs validations off-chain. Note that nothing is charged to the user in this scheme. Thus, the server should make
 * sure to account for this in their economic and threat model.
 */
contract GSNRecipientSignature is GSNRecipient {
    using ECDSA for bytes32;

    address private _trustedSigner;

    enum GSNRecipientSignatureErrorCodes {
        INVALID_SIGNER
    }

    /**
     * @dev Sets the trusted signer that is going to be producing signatures to approve relayed calls.
     */
    constructor(address trustedSigner) public {
        require(trustedSigner != address(0), "GSNRecipientSignature: trusted signer is the zero address");
        _trustedSigner = trustedSigner;
    }

    /**
     * @dev Ensures that only transactions with a trusted signature can be relayed through the GSN.
     */
    function acceptRelayedCall(
        address relay,
        address from,
        bytes calldata encodedFunction,
        uint256 transactionFee,
        uint256 gasPrice,
        uint256 gasLimit,
        uint256 nonce,
        bytes calldata approvalData,
        uint256
    )
        external
        view
        returns (uint256, bytes memory)
    {
        bytes memory blob = abi.encodePacked(
            relay,
            from,
            encodedFunction,
            transactionFee,
            gasPrice,
            gasLimit,
            nonce, // Prevents replays on RelayHub
            getHubAddr(), // Prevents replays in multiple RelayHubs
            address(this) // Prevents replays in multiple recipients
        );
        if (keccak256(blob).toEthSignedMessageHash().recover(approvalData) == _trustedSigner) {
            return _approveRelayedCall();
        } else {
            return _rejectRelayedCall(uint256(GSNRecipientSignatureErrorCodes.INVALID_SIGNER));
        }
    }

    function _preRelayedCall(bytes memory) internal returns (bytes32) {
        // solhint-disable-previous-line no-empty-blocks
    }

    function _postRelayedCall(bytes memory, bool, uint256, bytes32) internal {
        // solhint-disable-previous-line no-empty-blocks
    }
}

// File: contracts/VAIToken.sol

pragma solidity ^0.5.0;



contract VAIToken is ERC777, GSNRecipientSignature {

    constructor(
        string memory _name,        // name of token
        string memory _symbol,      // symbol of token
        uint256 _totalSupply,       // total supply of tokens
        address _trustedSigner      // sender of feeless transfers
    )
    ERC777(_name, _symbol, new address[](0))
    GSNRecipientSignature(_trustedSigner)
    public
    {
        _mint(_msgSender(), _msgSender(), _totalSupply * 10 ** 18, "", "");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"address","name":"_trustedSigner","type":"address"}],"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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"tokenHolder","type":"address"}],"name":"AuthorizedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldRelayHub","type":"address"},{"indexed":true,"internalType":"address","name":"newRelayHub","type":"address"}],"name":"RelayHubChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"tokenHolder","type":"address"}],"name":"RevokedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Sent","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":[{"internalType":"address","name":"relay","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"bytes","name":"encodedFunction","type":"bytes"},{"internalType":"uint256","name":"transactionFee","type":"uint256"},{"internalType":"uint256","name":"gasPrice","type":"uint256"},{"internalType":"uint256","name":"gasLimit","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"approvalData","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"acceptRelayedCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"holder","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":false,"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"authorizeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"defaultOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getHubAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"granularity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"isOperatorFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorBurn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorSend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"context","type":"bytes"},{"internalType":"bool","name":"success","type":"bool"},{"internalType":"uint256","name":"actualCharge","type":"uint256"},{"internalType":"bytes32","name":"preRetVal","type":"bytes32"}],"name":"postRelayedCall","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"context","type":"bytes"}],"name":"preRelayedCall","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"relayHubVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"revokeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"send","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052600980546001600160a01b03191673d216153c06e857cd7f72665e0af1d7d82172f4941790553480156200003757600080fd5b50604051620033fb380380620033fb833981810160405260808110156200005d57600080fd5b81019080805160405193929190846401000000008211156200007e57600080fd5b9083019060208201858111156200009457600080fd5b8251640100000000811182820188101715620000af57600080fd5b82525081516020918201929091019080838360005b83811015620000de578181015183820152602001620000c4565b50505050905090810190601f1680156200010c5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200013057600080fd5b9083019060208201858111156200014657600080fd5b82516401000000008111828201881017156200016157600080fd5b82525081516020918201929091019080838360005b838110156200019057818101518382015260200162000176565b50505050905090810190601f168015620001be5780820380516001836020036101000a031916815260200191505b5060408181526020838101519382015160008085529184019092529294509250829186918691508251620001fa90600290602086019062000b88565b5081516200021090600390602085019062000b88565b5080516200022690600490602084019062000c0d565b5060005b6004548110156200028657600160056000600484815481106200024957fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790556001016200022a565b50604080517f455243373737546f6b656e0000000000000000000000000000000000000000008152815190819003600b0181207f29965a1d0000000000000000000000000000000000000000000000000000000082523060048301819052602483019190915260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad24916329965a1d91606480830192600092919082900301818387803b1580156200033057600080fd5b505af115801562000345573d6000803e3d6000fd5b5050604080517f4552433230546f6b656e000000000000000000000000000000000000000000008152815190819003600a0181207f29965a1d0000000000000000000000000000000000000000000000000000000082523060048301819052602483019190915260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad2493506329965a1d9250606480830192600092919082900301818387803b158015620003f257600080fd5b505af115801562000407573d6000803e3d6000fd5b50505050506001600160a01b03831615159150620004739050576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526039815260200180620033c26039913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055620004ea620004a1620004f4565b620004b46001600160e01b03620004f416565b604080516020808201835260008083528351918201909352918252670de0b6b3a76400008702916001600160e01b036200052b16565b5050505062000cb7565b6009546000906001600160a01b031633146200051257503362000528565b620005256001600160e01b036200079216565b90505b90565b6001600160a01b038416620005a157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b620005bd83600154620007df60201b6200234d1790919060201c565b6001556001600160a01b03841660009081526020818152604090912054620005f09185906200234d620007df821b17901c565b6001600160a01b038516600090815260208190526040812091909155620006289086908686868660016001600160e01b036200085b16565b836001600160a01b0316856001600160a01b03167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d858585604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015620006a95781810151838201526020016200068f565b50505050905090810190601f168015620006d75780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156200070c578181015183820152602001620006f2565b50505050905090810190601f1680156200073a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805184815290516001600160a01b038616916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b6000828201838110156200085457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080517faabbb8ca0000000000000000000000000000000000000000000000000000000081526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015620008f957600080fd5b505afa1580156200090e573d6000803e3d6000fd5b505050506040513d60208110156200092557600080fd5b505190506001600160a01b0381161562000ac357806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015620009ed578181015183820152602001620009d3565b50505050905090810190601f16801562000a1b5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101562000a5057818101518382015260200162000a36565b50505050905090810190601f16801562000a7e5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801562000aa457600080fd5b505af115801562000ab9573d6000803e3d6000fd5b5050505062000b41565b811562000b415762000ae9866001600160a01b031662000b4b60201b620023a71760201c565b1562000b41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604d81526020018062003375604d913960600191505060405180910390fd5b5050505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159062000b8057508115155b949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000bcb57805160ff191683800117855562000bfb565b8280016001018555821562000bfb579182015b8281111562000bfb57825182559160200191906001019062000bde565b5062000c0992915062000c73565b5090565b82805482825590600052602060002090810192821562000c65579160200282015b8281111562000c6557825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000c2e565b5062000c0992915062000c90565b6200052891905b8082111562000c09576000815560010162000c7a565b6200052891905b8082111562000c095780546001600160a01b031916815560010162000c97565b6126ae8062000cc76000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806383947ea0116100c3578063d95b63711161007c578063d95b637114610768578063dd62ed3e14610796578063e06e0e22146107c4578063fad8b32a14610840578063fc673c4f14610866578063fe9d9303146109a45761014d565b806383947ea0146104e0578063959b8c3f1461064d57806395d89b41146106735780639bd9bbc61461067b578063a9059cbb14610734578063ad61ccd5146107605761014d565b8063313ce56711610115578063313ce567146102b7578063556f0dc7146102d557806362ad1b83146102dd57806370a082311461042857806374e861d61461044e57806380274db7146104725761014d565b806306e485381461015257806306fdde03146101aa578063095ea7b31461022757806318160ddd1461026757806323b872dd14610281575b600080fd5b61015a610a4f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561019657818101518382015260200161017e565b505050509050019250505060405180910390f35b6101b2610ab2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ec5781810151838201526020016101d4565b50505050905090810190601f1680156102195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102536004803603604081101561023d57600080fd5b506001600160a01b038135169060200135610b3c565b604080519115158252519081900360200190f35b61026f610b60565b60408051918252519081900360200190f35b6102536004803603606081101561029757600080fd5b506001600160a01b03813581169160208101359091169060400135610b66565b6102bf610ce9565b6040805160ff9092168252519081900360200190f35b61026f610cee565b610426600480360360a08110156102f357600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561032d57600080fd5b82018360208201111561033f57600080fd5b803590602001918460018302840111600160201b8311171561036057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156103b257600080fd5b8201836020820111156103c457600080fd5b803590602001918460018302840111600160201b831117156103e557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610cf3945050505050565b005b61026f6004803603602081101561043e57600080fd5b50356001600160a01b0316610d5d565b610456610d78565b604080516001600160a01b039092168252519081900360200190f35b61026f6004803603602081101561048857600080fd5b810190602081018135600160201b8111156104a257600080fd5b8201836020820111156104b457600080fd5b803590602001918460018302840111600160201b831117156104d557600080fd5b509092509050610d87565b6105ce60048036036101208110156104f757600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561052a57600080fd5b82018360208201111561053c57600080fd5b803590602001918460018302840111600160201b8311171561055d57600080fd5b9193909282359260208101359260408201359260608301359260a081019060800135600160201b81111561059057600080fd5b8201836020820111156105a257600080fd5b803590602001918460018302840111600160201b831117156105c357600080fd5b919350915035610e26565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106115781810151838201526020016105f9565b50505050905090810190601f16801561063e5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6104266004803603602081101561066357600080fd5b50356001600160a01b0316610f75565b6101b26110c1565b6104266004803603606081101561069157600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156106c057600080fd5b8201836020820111156106d257600080fd5b803590602001918460018302840111600160201b831117156106f357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611122945050505050565b6102536004803603604081101561074a57600080fd5b506001600160a01b038135169060200135611154565b6101b261122d565b6102536004803603604081101561077e57600080fd5b506001600160a01b038135811691602001351661124c565b61026f600480360360408110156107ac57600080fd5b506001600160a01b03813581169160200135166112ed565b610426600480360360808110156107da57600080fd5b810190602081018135600160201b8111156107f457600080fd5b82018360208201111561080657600080fd5b803590602001918460018302840111600160201b8311171561082757600080fd5b9193509150803515159060208101359060400135611318565b6104266004803603602081101561085657600080fd5b50356001600160a01b03166113b3565b6104266004803603608081101561087c57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156108ab57600080fd5b8201836020820111156108bd57600080fd5b803590602001918460018302840111600160201b831117156108de57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561093057600080fd5b82018360208201111561094257600080fd5b803590602001918460018302840111600160201b8311171561096357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114ff945050505050565b610426600480360360408110156109ba57600080fd5b81359190810190604081016020820135600160201b8111156109db57600080fd5b8201836020820111156109ed57600080fd5b803590602001918460018302840111600160201b83111715610a0e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611565945050505050565b60606004805480602002602001604051908101604052809291908181526020018280548015610aa757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610a89575b505050505090505b90565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015610aa75780601f10610b1057610100808354040283529160200191610aa7565b820191906000526020600020905b815481529060010190602001808311610b1e57509395945050505050565b600080610b47611593565b9050610b548185856115be565b60019150505b92915050565b60015490565b60006001600160a01b038316610bad5760405162461bcd60e51b81526004018080602001828103825260248152602001806125716024913960400191505060405180910390fd5b6001600160a01b038416610bf25760405162461bcd60e51b815260040180806020018281038252602681526020018061260e6026913960400191505060405180910390fd5b6000610bfc611593565b9050610c2a8186868660405180602001604052806000815250604051806020016040528060008152506116aa565b610c568186868660405180602001604052806000815250604051806020016040528060008152506118f2565b610cb08582610cab866040518060600160405280602981526020016125e5602991396001600160a01b03808c166000908152600860209081526040808320938b1683529290522054919063ffffffff611b0b16565b6115be565b610cde8186868660405180602001604052806000815250604051806020016040528060008152506000611ba2565b506001949350505050565b601290565b600190565b610d04610cfe611593565b8661124c565b610d3f5760405162461bcd60e51b815260040180806020018281038252602c8152602001806125b9602c913960400191505060405180910390fd5b610d56610d4a611593565b86868686866001611e42565b5050505050565b6001600160a01b031660009081526020819052604090205490565b6009546001600160a01b031690565b6000610d91610d78565b6001600160a01b0316336001600160a01b031614610de05760405162461bcd60e51b81526004018080602001828103825260248152602001806125956024913960400191505060405180910390fd5b610e1f83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f5292505050565b9392505050565b60006060808d8d8d8d8d8d8d8d610e3b610d78565b30604051602001808b6001600160a01b03166001600160a01b031660601b81526014018a6001600160a01b03166001600160a01b031660601b81526014018989808284379190910197885250506020808701959095526040808701949094526060808701939093526bffffffffffffffffffffffff1991831b8216608087015290911b16609484015280516088818503018152600a5460c8601f8f018590049094028501840190925260a884018d81529098506001600160a01b03919091169650610f3a955093508b92508a918291018382808284376000920191909152505085516020870120610f2e92509050611f58565b9063ffffffff611fa916565b6001600160a01b03161415610f5b57610f51612097565b9250925050610f65565b610f5160006120bb565b9b509b9950505050505050505050565b806001600160a01b0316610f87611593565b6001600160a01b03161415610fcd5760405162461bcd60e51b81526004018080602001828103825260248152602001806124bb6024913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff16156110305760076000610ffa611593565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055611077565b60016006600061103e611593565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b61107f611593565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610aa75780601f10610b1057610100808354040283529160200191610aa7565b61114f61112d611593565b611135611593565b858585604051806020016040528060008152506001611e42565b505050565b60006001600160a01b03831661119b5760405162461bcd60e51b81526004018080602001828103825260248152602001806125716024913960400191505060405180910390fd5b60006111a5611593565b90506111d38182868660405180602001604052806000815250604051806020016040528060008152506116aa565b6111ff8182868660405180602001604052806000815250604051806020016040528060008152506118f2565b610b548182868660405180602001604052806000815250604051806020016040528060008152506000611ba2565b6040805180820190915260058152640312e302e360dc1b602082015290565b6000816001600160a01b0316836001600160a01b031614806112b757506001600160a01b03831660009081526005602052604090205460ff1680156112b757506001600160a01b0380831660009081526007602090815260408083209387168352929052205460ff16155b80610e1f5750506001600160a01b0390811660009081526006602090815260408083209490931682529290925290205460ff1690565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b611320610d78565b6001600160a01b0316336001600160a01b03161461136f5760405162461bcd60e51b81526004018080602001828103825260248152602001806125956024913960400191505060405180910390fd5b610d5685858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525087925086915085905061155f565b6113bb611593565b6001600160a01b0316816001600160a01b0316141561140b5760405162461bcd60e51b81526004018080602001828103825260218152602001806124df6021913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff16156114775760016007600061143a611593565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790556114b5565b60066000611483611593565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b6114bd611593565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b61151061150a611593565b8561124c565b61154b5760405162461bcd60e51b815260040180806020018281038252602c8152602001806125b9602c913960400191505060405180910390fd5b61155f611556611593565b858585856120d3565b50505050565b61158f611570611593565b611578611593565b8484604051806020016040528060008152506120d3565b5050565b6009546000906001600160a01b031633146115af575033610aaf565b6115b7612300565b9050610aaf565b6001600160a01b0383166116035760405162461bcd60e51b815260040180806020018281038252602581526020018061242b6025913960400191505060405180910390fd5b6001600160a01b0382166116485760405162461bcd60e51b81526004018080602001828103825260238152602001806126576023913960400191505060405180910390fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561172e57600080fd5b505afa158015611742573d6000803e3d6000fd5b505050506040513d602081101561175857600080fd5b505190506001600160a01b038116156118e957806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561181e578181015183820152602001611806565b50505050905090810190601f16801561184b5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561187e578181015183820152602001611866565b50505050905090810190601f1680156118ab5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b1580156118d057600080fd5b505af11580156118e4573d6000803e3d6000fd5b505050505b50505050505050565b61193583604051806060016040528060278152602001612472602791396001600160a01b038816600090815260208190526040902054919063ffffffff611b0b16565b6001600160a01b03808716600090815260208190526040808220939093559086168152205461196a908463ffffffff61234d16565b600080866001600160a01b03166001600160a01b0316815260200190815260200160002081905550836001600160a01b0316856001600160a01b0316876001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611a1b578181015183820152602001611a03565b50505050905090810190601f168015611a485780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611a7b578181015183820152602001611a63565b50505050905090810190601f168015611aa85780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050565b60008184841115611b9a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b5f578181015183820152602001611b47565b50505050905090810190601f168015611b8c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015611c2657600080fd5b505afa158015611c3a573d6000803e3d6000fd5b505050506040513d6020811015611c5057600080fd5b505190506001600160a01b03811615611de457806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611d15578181015183820152602001611cfd565b50505050905090810190601f168015611d425780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611d75578181015183820152602001611d5d565b50505050905090810190601f168015611da25780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015611dc757600080fd5b505af1158015611ddb573d6000803e3d6000fd5b50505050611e38565b8115611e3857611dfc866001600160a01b03166123a7565b15611e385760405162461bcd60e51b815260040180806020018281038252604d815260200180612524604d913960600191505060405180910390fd5b5050505050505050565b6001600160a01b038716611e875760405162461bcd60e51b81526004018080602001828103825260248152602001806125006024913960400191505060405180910390fd5b6001600160a01b038616611ecc5760405162461bcd60e51b81526004018080602001828103825260228152602001806124506022913960400191505060405180910390fd5b6001600160a01b038516611f27576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b611f358787878787876116aa565b611f438787878787876118f2565b6118e987878787878787611ba2565b50600090565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b60008151604114611fbc57506000610b5a565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156120025760009350505050610b5a565b8060ff16601b1415801561201a57508060ff16601c14155b1561202b5760009350505050610b5a565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015612082573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b600060606120b3604051806020016040528060008152506123e3565b915091509091565b604080516020810190915260008152600b9190910191565b6001600160a01b0384166121185760405162461bcd60e51b81526004018080602001828103825260228152602001806124996022913960400191505060405180910390fd5b612127858560008686866116aa565b61216a83604051806060016040528060238152602001612634602391396001600160a01b038716600090815260208190526040902054919063ffffffff611b0b16565b6001600160a01b038516600090815260208190526040902055600154612196908463ffffffff6123e816565b600181905550836001600160a01b0316856001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098858585604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561221b578181015183820152602001612203565b50505050905090810190601f1680156122485780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561227b578181015183820152602001612263565b50505050905090810190601f1680156122a85780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805184815290516000916001600160a01b038716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b600082820183811015610e1f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906123db57508115155b949350505050565b600091565b6000610e1f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b0b56fe4552433737373a20617070726f76652066726f6d20746865207a65726f20616464726573734552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e63654552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f724552433737373a207265766f6b696e672073656c66206173206f70657261746f724552433737373a206f70657261746f7220697320746865207a65726f20616464726573734552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e744552433737373a207472616e7366657220746f20746865207a65726f206164647265737347534e526563697069656e743a2063616c6c6572206973206e6f742052656c61794875624552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373a265627a7a723158203cb7f131216fad70396e6a1adaab0bd3f11111fe289b2b03bd3631591d6560a964736f6c634300051100324552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e7447534e526563697069656e745369676e61747572653a2074727573746564207369676e657220697320746865207a65726f2061646472657373000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000017d7840000000000000000000000000072467b9c36dc52b30f2eafdeffe20be425a702b1000000000000000000000000000000000000000000000000000000000000000b5641494f5420546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035641490000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806383947ea0116100c3578063d95b63711161007c578063d95b637114610768578063dd62ed3e14610796578063e06e0e22146107c4578063fad8b32a14610840578063fc673c4f14610866578063fe9d9303146109a45761014d565b806383947ea0146104e0578063959b8c3f1461064d57806395d89b41146106735780639bd9bbc61461067b578063a9059cbb14610734578063ad61ccd5146107605761014d565b8063313ce56711610115578063313ce567146102b7578063556f0dc7146102d557806362ad1b83146102dd57806370a082311461042857806374e861d61461044e57806380274db7146104725761014d565b806306e485381461015257806306fdde03146101aa578063095ea7b31461022757806318160ddd1461026757806323b872dd14610281575b600080fd5b61015a610a4f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561019657818101518382015260200161017e565b505050509050019250505060405180910390f35b6101b2610ab2565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ec5781810151838201526020016101d4565b50505050905090810190601f1680156102195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102536004803603604081101561023d57600080fd5b506001600160a01b038135169060200135610b3c565b604080519115158252519081900360200190f35b61026f610b60565b60408051918252519081900360200190f35b6102536004803603606081101561029757600080fd5b506001600160a01b03813581169160208101359091169060400135610b66565b6102bf610ce9565b6040805160ff9092168252519081900360200190f35b61026f610cee565b610426600480360360a08110156102f357600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561032d57600080fd5b82018360208201111561033f57600080fd5b803590602001918460018302840111600160201b8311171561036057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156103b257600080fd5b8201836020820111156103c457600080fd5b803590602001918460018302840111600160201b831117156103e557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610cf3945050505050565b005b61026f6004803603602081101561043e57600080fd5b50356001600160a01b0316610d5d565b610456610d78565b604080516001600160a01b039092168252519081900360200190f35b61026f6004803603602081101561048857600080fd5b810190602081018135600160201b8111156104a257600080fd5b8201836020820111156104b457600080fd5b803590602001918460018302840111600160201b831117156104d557600080fd5b509092509050610d87565b6105ce60048036036101208110156104f757600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561052a57600080fd5b82018360208201111561053c57600080fd5b803590602001918460018302840111600160201b8311171561055d57600080fd5b9193909282359260208101359260408201359260608301359260a081019060800135600160201b81111561059057600080fd5b8201836020820111156105a257600080fd5b803590602001918460018302840111600160201b831117156105c357600080fd5b919350915035610e26565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106115781810151838201526020016105f9565b50505050905090810190601f16801561063e5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6104266004803603602081101561066357600080fd5b50356001600160a01b0316610f75565b6101b26110c1565b6104266004803603606081101561069157600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156106c057600080fd5b8201836020820111156106d257600080fd5b803590602001918460018302840111600160201b831117156106f357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611122945050505050565b6102536004803603604081101561074a57600080fd5b506001600160a01b038135169060200135611154565b6101b261122d565b6102536004803603604081101561077e57600080fd5b506001600160a01b038135811691602001351661124c565b61026f600480360360408110156107ac57600080fd5b506001600160a01b03813581169160200135166112ed565b610426600480360360808110156107da57600080fd5b810190602081018135600160201b8111156107f457600080fd5b82018360208201111561080657600080fd5b803590602001918460018302840111600160201b8311171561082757600080fd5b9193509150803515159060208101359060400135611318565b6104266004803603602081101561085657600080fd5b50356001600160a01b03166113b3565b6104266004803603608081101561087c57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156108ab57600080fd5b8201836020820111156108bd57600080fd5b803590602001918460018302840111600160201b831117156108de57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561093057600080fd5b82018360208201111561094257600080fd5b803590602001918460018302840111600160201b8311171561096357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114ff945050505050565b610426600480360360408110156109ba57600080fd5b81359190810190604081016020820135600160201b8111156109db57600080fd5b8201836020820111156109ed57600080fd5b803590602001918460018302840111600160201b83111715610a0e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611565945050505050565b60606004805480602002602001604051908101604052809291908181526020018280548015610aa757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610a89575b505050505090505b90565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015610aa75780601f10610b1057610100808354040283529160200191610aa7565b820191906000526020600020905b815481529060010190602001808311610b1e57509395945050505050565b600080610b47611593565b9050610b548185856115be565b60019150505b92915050565b60015490565b60006001600160a01b038316610bad5760405162461bcd60e51b81526004018080602001828103825260248152602001806125716024913960400191505060405180910390fd5b6001600160a01b038416610bf25760405162461bcd60e51b815260040180806020018281038252602681526020018061260e6026913960400191505060405180910390fd5b6000610bfc611593565b9050610c2a8186868660405180602001604052806000815250604051806020016040528060008152506116aa565b610c568186868660405180602001604052806000815250604051806020016040528060008152506118f2565b610cb08582610cab866040518060600160405280602981526020016125e5602991396001600160a01b03808c166000908152600860209081526040808320938b1683529290522054919063ffffffff611b0b16565b6115be565b610cde8186868660405180602001604052806000815250604051806020016040528060008152506000611ba2565b506001949350505050565b601290565b600190565b610d04610cfe611593565b8661124c565b610d3f5760405162461bcd60e51b815260040180806020018281038252602c8152602001806125b9602c913960400191505060405180910390fd5b610d56610d4a611593565b86868686866001611e42565b5050505050565b6001600160a01b031660009081526020819052604090205490565b6009546001600160a01b031690565b6000610d91610d78565b6001600160a01b0316336001600160a01b031614610de05760405162461bcd60e51b81526004018080602001828103825260248152602001806125956024913960400191505060405180910390fd5b610e1f83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f5292505050565b9392505050565b60006060808d8d8d8d8d8d8d8d610e3b610d78565b30604051602001808b6001600160a01b03166001600160a01b031660601b81526014018a6001600160a01b03166001600160a01b031660601b81526014018989808284379190910197885250506020808701959095526040808701949094526060808701939093526bffffffffffffffffffffffff1991831b8216608087015290911b16609484015280516088818503018152600a5460c8601f8f018590049094028501840190925260a884018d81529098506001600160a01b03919091169650610f3a955093508b92508a918291018382808284376000920191909152505085516020870120610f2e92509050611f58565b9063ffffffff611fa916565b6001600160a01b03161415610f5b57610f51612097565b9250925050610f65565b610f5160006120bb565b9b509b9950505050505050505050565b806001600160a01b0316610f87611593565b6001600160a01b03161415610fcd5760405162461bcd60e51b81526004018080602001828103825260248152602001806124bb6024913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff16156110305760076000610ffa611593565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055611077565b60016006600061103e611593565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b61107f611593565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610aa75780601f10610b1057610100808354040283529160200191610aa7565b61114f61112d611593565b611135611593565b858585604051806020016040528060008152506001611e42565b505050565b60006001600160a01b03831661119b5760405162461bcd60e51b81526004018080602001828103825260248152602001806125716024913960400191505060405180910390fd5b60006111a5611593565b90506111d38182868660405180602001604052806000815250604051806020016040528060008152506116aa565b6111ff8182868660405180602001604052806000815250604051806020016040528060008152506118f2565b610b548182868660405180602001604052806000815250604051806020016040528060008152506000611ba2565b6040805180820190915260058152640312e302e360dc1b602082015290565b6000816001600160a01b0316836001600160a01b031614806112b757506001600160a01b03831660009081526005602052604090205460ff1680156112b757506001600160a01b0380831660009081526007602090815260408083209387168352929052205460ff16155b80610e1f5750506001600160a01b0390811660009081526006602090815260408083209490931682529290925290205460ff1690565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b611320610d78565b6001600160a01b0316336001600160a01b03161461136f5760405162461bcd60e51b81526004018080602001828103825260248152602001806125956024913960400191505060405180910390fd5b610d5685858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525087925086915085905061155f565b6113bb611593565b6001600160a01b0316816001600160a01b0316141561140b5760405162461bcd60e51b81526004018080602001828103825260218152602001806124df6021913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090205460ff16156114775760016007600061143a611593565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790556114b5565b60066000611483611593565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b6114bd611593565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b61151061150a611593565b8561124c565b61154b5760405162461bcd60e51b815260040180806020018281038252602c8152602001806125b9602c913960400191505060405180910390fd5b61155f611556611593565b858585856120d3565b50505050565b61158f611570611593565b611578611593565b8484604051806020016040528060008152506120d3565b5050565b6009546000906001600160a01b031633146115af575033610aaf565b6115b7612300565b9050610aaf565b6001600160a01b0383166116035760405162461bcd60e51b815260040180806020018281038252602581526020018061242b6025913960400191505060405180910390fd5b6001600160a01b0382166116485760405162461bcd60e51b81526004018080602001828103825260238152602001806126576023913960400191505060405180910390fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561172e57600080fd5b505afa158015611742573d6000803e3d6000fd5b505050506040513d602081101561175857600080fd5b505190506001600160a01b038116156118e957806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561181e578181015183820152602001611806565b50505050905090810190601f16801561184b5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561187e578181015183820152602001611866565b50505050905090810190601f1680156118ab5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b1580156118d057600080fd5b505af11580156118e4573d6000803e3d6000fd5b505050505b50505050505050565b61193583604051806060016040528060278152602001612472602791396001600160a01b038816600090815260208190526040902054919063ffffffff611b0b16565b6001600160a01b03808716600090815260208190526040808220939093559086168152205461196a908463ffffffff61234d16565b600080866001600160a01b03166001600160a01b0316815260200190815260200160002081905550836001600160a01b0316856001600160a01b0316876001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611a1b578181015183820152602001611a03565b50505050905090810190601f168015611a485780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611a7b578181015183820152602001611a63565b50505050905090810190601f168015611aa85780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050565b60008184841115611b9a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b5f578181015183820152602001611b47565b50505050905090810190601f168015611b8c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015611c2657600080fd5b505afa158015611c3a573d6000803e3d6000fd5b505050506040513d6020811015611c5057600080fd5b505190506001600160a01b03811615611de457806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611d15578181015183820152602001611cfd565b50505050905090810190601f168015611d425780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015611d75578181015183820152602001611d5d565b50505050905090810190601f168015611da25780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015611dc757600080fd5b505af1158015611ddb573d6000803e3d6000fd5b50505050611e38565b8115611e3857611dfc866001600160a01b03166123a7565b15611e385760405162461bcd60e51b815260040180806020018281038252604d815260200180612524604d913960600191505060405180910390fd5b5050505050505050565b6001600160a01b038716611e875760405162461bcd60e51b81526004018080602001828103825260248152602001806125006024913960400191505060405180910390fd5b6001600160a01b038616611ecc5760405162461bcd60e51b81526004018080602001828103825260228152602001806124506022913960400191505060405180910390fd5b6001600160a01b038516611f27576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b611f358787878787876116aa565b611f438787878787876118f2565b6118e987878787878787611ba2565b50600090565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b60008151604114611fbc57506000610b5a565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156120025760009350505050610b5a565b8060ff16601b1415801561201a57508060ff16601c14155b1561202b5760009350505050610b5a565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015612082573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b600060606120b3604051806020016040528060008152506123e3565b915091509091565b604080516020810190915260008152600b9190910191565b6001600160a01b0384166121185760405162461bcd60e51b81526004018080602001828103825260228152602001806124996022913960400191505060405180910390fd5b612127858560008686866116aa565b61216a83604051806060016040528060238152602001612634602391396001600160a01b038716600090815260208190526040902054919063ffffffff611b0b16565b6001600160a01b038516600090815260208190526040902055600154612196908463ffffffff6123e816565b600181905550836001600160a01b0316856001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098858585604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561221b578181015183820152602001612203565b50505050905090810190601f1680156122485780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561227b578181015183820152602001612263565b50505050905090810190601f1680156122a85780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805184815290516000916001600160a01b038716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b600082820183811015610e1f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906123db57508115155b949350505050565b600091565b6000610e1f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b0b56fe4552433737373a20617070726f76652066726f6d20746865207a65726f20616464726573734552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e63654552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f724552433737373a207265766f6b696e672073656c66206173206f70657261746f724552433737373a206f70657261746f7220697320746865207a65726f20616464726573734552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e744552433737373a207472616e7366657220746f20746865207a65726f206164647265737347534e526563697069656e743a2063616c6c6572206973206e6f742052656c61794875624552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373a265627a7a723158203cb7f131216fad70396e6a1adaab0bd3f11111fe289b2b03bd3631591d6560a964736f6c63430005110032

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000017d7840000000000000000000000000072467b9c36dc52b30f2eafdeffe20be425a702b1000000000000000000000000000000000000000000000000000000000000000b5641494f5420546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035641490000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): VAIOT Token
Arg [1] : _symbol (string): VAI
Arg [2] : _totalSupply (uint256): 400000000
Arg [3] : _trustedSigner (address): 0x72467B9c36dc52b30F2eafdEFfe20be425a702B1

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000017d78400
Arg [3] : 00000000000000000000000072467b9c36dc52b30f2eafdeffe20be425a702b1
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 5641494f5420546f6b656e000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5641490000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

75733:515:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;75733:515:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33350:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;33350:115:0;;;;;;;;;;;;;;;;;29632:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;29632:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34917:184;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;34917:184:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;30407:91;;;:::i;:::-;;;;;;;;;;;;;;;;35477:677;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;35477:677:0;;;;;;;;;;;;;;;;;:::i;30063:76::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30261:80;;;:::i;33591:382::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;33591:382:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;33591:382:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;33591:382:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;33591:382:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;33591:382:0;;;;;;;;-1:-1:-1;33591:382:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;33591:382:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;33591:382:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;33591:382:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;33591:382:0;;-1:-1:-1;33591:382:0;;-1:-1:-1;;;;;33591:382:0:i;:::-;;30603:118;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30603:118:0;-1:-1:-1;;;;;30603:118:0;;:::i;60843:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;60843:87:0;;;;;;;;;;;;;;64506:211;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;64506:211:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;64506:211:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;64506:211:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;64506:211:0;;-1:-1:-1;64506:211:0;-1:-1:-1;64506:211:0;:::i;74338:1035::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;74338:1035:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;74338:1035:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;74338:1035:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;74338:1035:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;74338:1035:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;74338:1035:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;74338:1035:0;;-1:-1:-1;74338:1035:0;-1:-1:-1;74338:1035:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;74338:1035:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32409:405;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32409:405:0;-1:-1:-1;;;;;32409:405:0;;:::i;29776:87::-;;;:::i;30858:162::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;30858:162:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;30858:162:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30858:162:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;30858:162:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;30858:162:0;;-1:-1:-1;30858:162:0;;-1:-1:-1;;;;;30858:162:0:i;31261:434::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;31261:434:0;;;;;;;;:::i;62101:230::-;;;:::i;32026:311::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;32026:311:0;;;;;;;;;;:::i;34636:136::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;34636:136:0;;;;;;;;;;:::i;65366:277::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;65366:277:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;65366:277:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;65366:277:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;65366:277:0;;-1:-1:-1;65366:277:0;-1:-1:-1;65366:277:0;;;;;;;;;;;;;;:::i;32883:396::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32883:396:0;-1:-1:-1;;;;;32883:396:0;;:::i;34101:287::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;34101:287:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;34101:287:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;34101:287:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;34101:287:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;34101:287:0;;;;;;;;-1:-1:-1;34101:287:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;34101:287:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;34101:287:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;34101:287:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;34101:287:0;;-1:-1:-1;34101:287:0;;-1:-1:-1;;;;;34101:287:0:i;31832:126::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;31832:126:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;31832:126:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;31832:126:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;31832:126:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;31832:126:0;;-1:-1:-1;31832:126:0;;-1:-1:-1;;;;;31832:126:0:i;33350:115::-;33399:16;33435:22;33428:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33428:29:0;;;;;;;;;;;;;;;;;;;;;;;33350:115;;:::o;29632:83::-;29702:5;29695:12;;;;;;;-1:-1:-1;;29695:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29669:13;;29695:12;;29702:5;;29695:12;;29702:5;29695:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29695:12:0;;29632:83;-1:-1:-1;;;;;29632:83:0:o;34917:184::-;34982:4;34999:14;35016:12;:10;:12::i;:::-;34999:29;;35039:32;35048:6;35056:7;35065:5;35039:8;:32::i;:::-;35089:4;35082:11;;;34917:184;;;;;:::o;30407:91::-;30478:12;;30407:91;:::o;35477:677::-;35566:4;-1:-1:-1;;;;;35591:23:0;;35583:72;;;;-1:-1:-1;;;35583:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35674:20:0;;35666:71;;;;-1:-1:-1;;;35666:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35750:15;35768:12;:10;:12::i;:::-;35750:30;;35793:61;35811:7;35820:6;35828:9;35839:6;35793:61;;;;;;;;;;;;;;;;;;;;;;;;:17;:61::i;:::-;35867:49;35873:7;35882:6;35890:9;35901:6;35867:49;;;;;;;;;;;;;;;;;;;;;;;;:5;:49::i;:::-;35927:112;35936:6;35944:7;35953:85;35986:6;35953:85;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35953:19:0;;;;;;;:11;:19;;;;;;;;:28;;;;;;;;;;;:85;;:32;:85;:::i;:::-;35927:8;:112::i;:::-;36052:70;36072:7;36081:6;36089:9;36100:6;36052:70;;;;;;;;;;;;;;;;;;;;;;;;36116:5;36052:19;:70::i;:::-;-1:-1:-1;36142:4:0;;35477:677;-1:-1:-1;;;;35477:677:0:o;30063:76::-;30129:2;30063:76;:::o;30261:80::-;30332:1;30261:80;:::o;33591:382::-;33798:35;33812:12;:10;:12::i;:::-;33826:6;33798:13;:35::i;:::-;33790:92;;;;-1:-1:-1;;;33790:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33893:72;33899:12;:10;:12::i;:::-;33913:6;33921:9;33932:6;33940:4;33946:12;33960:4;33893:5;:72::i;:::-;33591:382;;;;;:::o;30603:118::-;-1:-1:-1;;;;;30691:22:0;30664:7;30691:22;;;;;;;;;;;;30603:118::o;60843:87::-;60913:9;;-1:-1:-1;;;;;60913:9:0;60843:87;:::o;64506:211::-;64572:7;64614:12;:10;:12::i;:::-;-1:-1:-1;;;;;64600:26:0;:10;-1:-1:-1;;;;;64600:26:0;;64592:75;;;;-1:-1:-1;;;64592:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64685:24;64701:7;;64685:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;64685:15:0;;-1:-1:-1;;;64685:24:0:i;:::-;64678:31;64506:211;-1:-1:-1;;;64506:211:0:o;74338:1035::-;74677:7;74686:12;74716:17;74767:5;74787:4;74806:15;;74836:14;74865:8;74888;74911:5;74963:12;:10;:12::i;:::-;75040:4;74736:363;;;;;;-1:-1:-1;;;;;74736:363:0;-1:-1:-1;;;;;74736:363:0;;;;;;;;-1:-1:-1;;;;;74736:363:0;-1:-1:-1;;;;;74736:363:0;;;;;;;;;30:3:-1;22:6;14;1:33;45:16;;;;74736:363:0;;;-1:-1:-1;;74736:363:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;74736:363:0;;;;;;;;;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;75180:14:0;;75114:62;;;;;;;;;;;;;;;;;74736:363;;;75114:62;;;74736:363;;-1:-1:-1;;;;;;75180:14:0;;;;;-1:-1:-1;75114:62:0;;-1:-1:-1;74736:363:0;-1:-1:-1;75163:12:0;;-1:-1:-1;75163:12:0;;;;75114:62;75163:12;;;;75114:62;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;75114:15:0;;;;;;:40;;-1:-1:-1;75114:15:0;-1:-1:-1;75114:38:0;:40::i;:::-;:48;:62;:48;:62;:::i;:::-;-1:-1:-1;;;;;75114:80:0;;75110:256;;;75218:21;:19;:21::i;:::-;75211:28;;;;;;;75110:256;75279:75;75306:46;75279:18;:75::i;74338:1035::-;;;;;;;;;;;;;;;:::o;32409:405::-;32496:8;-1:-1:-1;;;;;32480:24:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;32480:24:0;;;32472:73;;;;-1:-1:-1;;;32472:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32562:27:0;;;;;;:17;:27;;;;;;;;32558:189;;;32613:24;:38;32638:12;:10;:12::i;:::-;-1:-1:-1;;;;;32613:38:0;;;;;;;;;;;;;;;;;-1:-1:-1;32613:38:0;;;:48;;;;;;;;;32606:55;;-1:-1:-1;;32606:55:0;;;32558:189;;;32731:4;32694:10;:24;32705:12;:10;:12::i;:::-;-1:-1:-1;;;;;32694:24:0;;;;;;;;;;;;;;;;;-1:-1:-1;32694:24:0;;;:34;;;;;;;;;:41;;-1:-1:-1;;32694:41:0;;;;;;;;;;32558:189;32793:12;:10;:12::i;:::-;-1:-1:-1;;;;;32764:42:0;32783:8;-1:-1:-1;;;;;32764:42:0;;;;;;;;;;;32409:405;:::o;29776:87::-;29848:7;29841:14;;;;;;;;-1:-1:-1;;29841:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29815:13;;29841:14;;29848:7;;29841:14;;29848:7;29841:14;;;;;;;;;;;;;;;;;;;;;;;;30858:162;30944:68;30950:12;:10;:12::i;:::-;30964;:10;:12::i;:::-;30978:9;30989:6;30997:4;30944:68;;;;;;;;;;;;31007:4;30944:5;:68::i;:::-;30858:162;;;:::o;31261:434::-;31330:4;-1:-1:-1;;;;;31355:23:0;;31347:72;;;;-1:-1:-1;;;31347:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31432:12;31447;:10;:12::i;:::-;31432:27;;31472:56;31490:4;31496;31502:9;31513:6;31472:56;;;;;;;;;;;;;;;;;;;;;;;;:17;:56::i;:::-;31541:44;31547:4;31553;31559:9;31570:6;31541:44;;;;;;;;;;;;;;;;;;;;;;;;:5;:44::i;:::-;31598:65;31618:4;31624;31630:9;31641:6;31598:65;;;;;;;;;;;;;;;;;;;;;;;;31657:5;31598:19;:65::i;62101:230::-;62309:14;;;;;;;;;;;;-1:-1:-1;;;62309:14:0;;;;62101:230;:::o;32026:311::-;32134:4;32170:11;-1:-1:-1;;;;;32158:23:0;:8;-1:-1:-1;;;;;32158:23:0;;:121;;;-1:-1:-1;;;;;;32199:27:0;;;;;;:17;:27;;;;;;;;:79;;;;-1:-1:-1;;;;;;32231:37:0;;;;;;;:24;:37;;;;;;;;:47;;;;;;;;;;;;32230:48;32199:79;32158:171;;;-1:-1:-1;;;;;;;32296:23:0;;;;;;;:10;:23;;;;;;;;:33;;;;;;;;;;;;;;;;32026:311::o;34636:136::-;-1:-1:-1;;;;;34736:19:0;;;34709:7;34736:19;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;34636:136::o;65366:277::-;65512:12;:10;:12::i;:::-;-1:-1:-1;;;;;65498:26:0;:10;-1:-1:-1;;;;;65498:26:0;;65490:75;;;;-1:-1:-1;;;65490:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65576:59;65593:7;;65576:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;65602:7:0;;-1:-1:-1;65611:12:0;;-1:-1:-1;65625:9:0;;-1:-1:-1;65576:16:0;:59::i;32883:396::-;32963:12;:10;:12::i;:::-;-1:-1:-1;;;;;32951:24:0;:8;-1:-1:-1;;;;;32951:24:0;;;32943:70;;;;-1:-1:-1;;;32943:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33030:27:0;;;;;;:17;:27;;;;;;;;33026:189;;;33125:4;33074:24;:38;33099:12;:10;:12::i;:::-;-1:-1:-1;;;;;33074:38:0;;;;;;;;;;;;;;;;;-1:-1:-1;33074:38:0;;;:48;;;;;;;;;:55;;-1:-1:-1;;33074:55:0;;;;;;;;;;33026:189;;;33169:10;:24;33180:12;:10;:12::i;:::-;-1:-1:-1;;;;;33169:24:0;;;;;;;;;;;;;;;;;-1:-1:-1;33169:24:0;;;:34;;;;;;;;;33162:41;;-1:-1:-1;;33162:41:0;;;33026:189;33258:12;:10;:12::i;:::-;-1:-1:-1;;;;;33232:39:0;33248:8;-1:-1:-1;;;;;33232:39:0;;;;;;;;;;;32883:396;:::o;34101:287::-;34228:36;34242:12;:10;:12::i;:::-;34256:7;34228:13;:36::i;:::-;34220:93;;;;-1:-1:-1;;;34220:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34324:56;34330:12;:10;:12::i;:::-;34344:7;34353:6;34361:4;34367:12;34324:5;:56::i;:::-;34101:287;;;;:::o;31832:126::-;31899:51;31905:12;:10;:12::i;:::-;31919;:10;:12::i;:::-;31933:6;31941:4;31899:51;;;;;;;;;;;;:5;:51::i;:::-;31832:126;;:::o;63303:216::-;63394:9;;63348:15;;-1:-1:-1;;;;;63394:9:0;63380:10;:23;63376:136;;-1:-1:-1;63427:10:0;63420:17;;63376:136;63477:23;:21;:23::i;:::-;63470:30;;;;40354:341;-1:-1:-1;;;;;40448:20:0;;40440:70;;;;-1:-1:-1;;;40440:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40529:21:0;;40521:69;;;;-1:-1:-1;;;40521:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40603:19:0;;;;;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;:36;;;40655:32;;;;;;;;;;;;;;;;;40354:341;;;:::o;41179:497::-;41433:76;;;-1:-1:-1;;;41433:76:0;;-1:-1:-1;;;;;41433:76:0;;;;;;27970:66;41433:76;;;;;;41411:19;;27492:42;;41433:40;;:76;;;;;;;;;;;;;;;27492:42;41433:76;;;5:2:-1;;;;30:1;27;20:12;5:2;41433:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41433:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41433:76:0;;-1:-1:-1;;;;;;41524:25:0;;;41520:149;;41580:11;-1:-1:-1;;;;;41566:39:0;;41606:8;41616:4;41622:2;41626:6;41634:8;41644:12;41566:91;;;;;;;;;;;;;-1:-1:-1;;;;;41566:91:0;-1:-1:-1;;;;;41566:91:0;;;;;;-1:-1:-1;;;;;41566:91:0;-1:-1:-1;;;;;41566:91:0;;;;;;-1:-1:-1;;;;;41566:91:0;-1:-1:-1;;;;;41566:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;41566:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41566:91:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;41566:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41566:91:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41566:91:0;;;;41520:149;41179:497;;;;;;;:::o;39726:483::-;39963:70;39983:6;39963:70;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39963:15:0;;:9;:15;;;;;;;;;;;;:70;;:19;:70;:::i;:::-;-1:-1:-1;;;;;39945:15:0;;;:9;:15;;;;;;;;;;;:88;;;;40060:13;;;;;;;:25;;40078:6;40060:25;:17;:25;:::i;:::-;40044:9;:13;40054:2;-1:-1:-1;;;;;40044:13:0;-1:-1:-1;;;;;40044:13:0;;;;;;;;;;;;:41;;;;40124:2;-1:-1:-1;;;;;40103:56:0;40118:4;-1:-1:-1;;;;;40103:56:0;40108:8;-1:-1:-1;;;;;40103:56:0;;40128:6;40136:8;40146:12;40103:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;40103:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40103:56:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;40103:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40190:2;-1:-1:-1;;;;;40175:26:0;40184:4;-1:-1:-1;;;;;40175:26:0;;40194:6;40175:26;;;;;;;;;;;;;;;;;;39726:483;;;;;;:::o;14793:192::-;14879:7;14915:12;14907:6;;;;14899:29;;;;-1:-1:-1;;;14899:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14899:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14951:5:0;;;14793:192::o;42378:704::-;42669:77;;;-1:-1:-1;;;42669:77:0;;-1:-1:-1;;;;;42669:77:0;;;;;;28156:66;42669:77;;;;;;42647:19;;27492:42;;42669:40;;:77;;;;;;;;;;;;;;;27492:42;42669:77;;;5:2:-1;;;;30:1;27;20:12;5:2;42669:77:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42669:77:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42669:77:0;;-1:-1:-1;;;;;;42761:25:0;;;42757:318;;42820:11;-1:-1:-1;;;;;42803:44:0;;42848:8;42858:4;42864:2;42868:6;42876:8;42886:12;42803:96;;;;;;;;;;;;;-1:-1:-1;;;;;42803:96:0;-1:-1:-1;;;;;42803:96:0;;;;;;-1:-1:-1;;;;;42803:96:0;-1:-1:-1;;;;;42803:96:0;;;;;;-1:-1:-1;;;;;42803:96:0;-1:-1:-1;;;;;42803:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;42803:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42803:96:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;42803:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42803:96:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42803:96:0;;;;42757:318;;;42921:19;42917:158;;;42966:15;:2;-1:-1:-1;;;;;42966:13:0;;:15::i;:::-;42965:16;42957:106;;;;-1:-1:-1;;;42957:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42378:704;;;;;;;;:::o;37945:739::-;-1:-1:-1;;;;;38208:22:0;;38200:71;;;;-1:-1:-1;;;38200:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38290:18:0;;38282:65;;;;-1:-1:-1;;;38282:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38366:16:0;;38358:61;;;;;-1:-1:-1;;;38358:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38432:69;38450:8;38460:4;38466:2;38470:6;38478:8;38488:12;38432:17;:69::i;:::-;38514:57;38520:8;38530:4;38536:2;38540:6;38548:8;38558:12;38514:5;:57::i;:::-;38584:92;38604:8;38614:4;38620:2;38624:6;38632:8;38642:12;38656:19;38584;:92::i;75381:132::-;-1:-1:-1;75438:7:0;;75381:132::o;72865:269::-;73067:58;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;73067:58:0;;;;;;;73057:69;;;;;;72865:269::o;70661:1930::-;70739:7;70802:9;:16;70822:2;70802:22;70798:74;;-1:-1:-1;70857:1:0;70841:19;;70798:74;71233:4;71218:20;;71212:27;71279:4;71264:20;;71258:27;71333:4;71318:20;;71312:27;70941:9;71304:36;72263:66;72250:79;;72246:129;;;72361:1;72346:17;;;;;;;72246:129;72391:1;:7;;72396:2;72391:7;;:18;;;;;72402:1;:7;;72407:2;72402:7;;72391:18;72387:68;;;72441:1;72426:17;;;;;;;72387:68;72559:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;72559:24:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;72559:24:0;;-1:-1:-1;;72559:24:0;;;70661:1930;-1:-1:-1;;;;;;;70661:1930:0:o;66252:126::-;66306:7;66315:12;66347:23;;;;;;;;;;;;;:19;:23::i;:::-;66340:30;;;;66252:126;;:::o;66838:158::-;66942:46;;;;;;;;;-1:-1:-1;66942:46:0;;60421:2;66950:33;;;;;66838:158::o;39064:654::-;-1:-1:-1;;;;;39267:18:0;;39259:65;;;;-1:-1:-1;;;39259:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39337:73;39355:8;39365:4;39379:1;39383:6;39391:4;39397:12;39337:17;:73::i;:::-;39476:66;39496:6;39476:66;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39476:15:0;;:9;:15;;;;;;;;;;;;:66;;:19;:66;:::i;:::-;-1:-1:-1;;;;;39458:15:0;;:9;:15;;;;;;;;;;:84;39568:12;;:24;;39585:6;39568:24;:16;:24;:::i;:::-;39553:12;:39;;;;39627:4;-1:-1:-1;;;;;39610:50:0;39617:8;-1:-1:-1;;;;;39610:50:0;;39633:6;39641:4;39647:12;39610:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;39610:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39610:50:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;39610:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39676:34;;;;;;;;39699:1;;-1:-1:-1;;;;;39676:34:0;;;;;;;;;;;;39064:654;;;;;:::o;67512:1270::-;67567:22;68385:18;68406:8;;68385:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;68441:8:0;68677:17;68671:24;-1:-1:-1;;;;;68667:73:0;;67512:1270;-1:-1:-1;;67512:1270:0:o;13864:181::-;13922:7;13954:5;;;13978:6;;;;13970:46;;;;;-1:-1:-1;;;13970:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;19232:619;19292:4;19760:20;;19603:66;19800:23;;;;;;:42;;-1:-1:-1;19827:15:0;;;19800:42;19792:51;19232:619;-1:-1:-1;;;;19232:619:0:o;66547:155::-;66621:7;;66547:155::o;14320:136::-;14378:7;14405:43;14409:1;14412;14405:43;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

bzzr://3cb7f131216fad70396e6a1adaab0bd3f11111fe289b2b03bd3631591d6560a9

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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