ETH Price: $2,450.96 (+1.10%)

Contract

0xf2C4cd54370bA23d3106F529ccb64b454CC0D4E2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x6080604099762052020-04-30 21:11:451588 days ago1588281105IN
 Create: DawnTokenImpl
0 ETH0.022111927

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DawnTokenImpl

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 1500 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-04-30
*/

// File: @openzeppelin/upgrades/contracts/Initializable.sol

pragma solidity >=0.4.24 <0.7.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

// File: @openzeppelin/contracts-ethereum-package/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 is Initializable {
    // 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/contracts-ethereum-package/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/contracts-ethereum-package/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/contracts-ethereum-package/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/contracts-ethereum-package/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/contracts-ethereum-package/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/contracts-ethereum-package/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.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing 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.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // 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 != 0x0 && codehash != accountHash);
    }

    /**
     * @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/contracts-ethereum-package/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: contracts/ERC777Overridable.sol

// See comments in DawnTokenImpl.sold

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 ERC777Overridable is Initializable, Context, IERC777, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    IERC1820Registry constant private _erc1820 = 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.
     */
    function initialize(
        string memory name,
        string memory symbol,
        address[] memory defaultOperators
    ) public initializer {
        _name = name;
        _symbol = symbol;

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

        // register interfaces
        _erc1820.setInterfaceImplementer(address(this), keccak256("ERC777Token"), address(this));
        _erc1820.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 {Transfer} event for ERC20 compatibility.
     */
    function sendInternal(address recipient, uint256 amount, bytes memory data) internal {
        _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 transferInternal(address recipient, uint256 amount) internal 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 {Transfer} event for ERC20 compatibility.
     */
    function burnInternal(uint256 amount, bytes memory data) internal {
        _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) external {
        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) external {
        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 {Transfer} events.
     */
    function operatorSendInternal(
        address sender,
        address recipient,
        uint256 amount,
        bytes memory data,
        bytes memory operatorData
    )
    internal
    {
        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 {Transfer} events.
     */
    function operatorBurnInternal(address account, uint256 amount, bytes memory data, bytes memory operatorData) internal {
        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) external 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}, {Transfer} and {Approval} events.
    */
    function transferFromInternal(address holder, address recipient, uint256 amount) internal 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 {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
    )
        private
    {
        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
    )
        private
    {
        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);
    }

    function _approve(address holder, address spender, uint256 value) private {
        // TODO: restore this require statement if this function becomes internal, or is called at a new callsite. It is
        // currently unnecessary.
        //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
    )
        private
    {
        address implementer = _erc1820.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
    )
        private
    {
        address implementer = _erc1820.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");
        }
    }

    uint256[50] private ______gap;
}

// File: @openzeppelin/contracts-ethereum-package/contracts/access/Roles.sol

pragma solidity ^0.5.0;

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

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

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

// File: @openzeppelin/contracts-ethereum-package/contracts/access/roles/PauserRole.sol

pragma solidity ^0.5.0;




contract PauserRole is Initializable, Context {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    function initialize(address sender) public initializer {
        if (!isPauser(sender)) {
            _addPauser(sender);
        }
    }

    modifier onlyPauser() {
        require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role");
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(_msgSender());
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }

    uint256[50] private ______gap;
}

// File: @openzeppelin/contracts-ethereum-package/contracts/lifecycle/Pausable.sol

pragma solidity ^0.5.0;




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

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
     * to the deployer.
     */
    function initialize(address sender) public initializer {
        PauserRole.initialize(sender);

        _paused = false;
    }

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

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

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

    /**
     * @dev Called by a pauser to pause, triggers stopped state.
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Called by a pauser to unpause, returns to normal state.
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }

    uint256[50] private ______gap;
}

// File: @openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;



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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function initialize(address sender) public initializer {
        _owner = sender;
        emit OwnershipTransferred(address(0), _owner);
    }

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    uint256[50] private ______gap;
}

// File: contracts/Recoverable.sol

/**
 * Based on https://github.com/TokenMarketNet/smart-contracts/blob/master/contracts/Recoverable.sol
 */

pragma solidity ^0.5.0;



/**
 * Allows to recover any tokens accidentally send on the smart contract.
 *
 * Sending ethers on token contracts is not possible in the first place.
 * as they are not payable.
 *
 * https://twitter.com/moo9000/status/1238514802189795331
 */
contract Recoverable is Ownable {

  function initialize(address sender) public initializer {
    super.initialize(sender);
  }

  /// @dev This will be invoked by the owner, when owner wants to rescue tokens
  /// @param token Token which will we rescue to the owner from the contract
  function recoverTokens(IERC20 token) public onlyOwner {
    require(token.transfer(owner(), tokensToBeReturned(token)), "Transfer failed");
  }

  /// @dev Interface function, can be overwritten by the superclass
  /// @param token Token which balance we will check and return
  /// @return The amount of tokens (in smallest denominator) the contract owns
  function tokensToBeReturned(IERC20 token) public view returns (uint) {
    return token.balanceOf(address(this));
  }

  // Upgradeability - add some space
  uint256[50] private ______gap;
}

// File: contracts/DawnTokenImpl.sol

pragma solidity ^0.5.0;

// https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/tree/master/contracts/token/ERC777





/**
 * First implementation of Dawn token.
 *
 * Needs to be set up behind a proxy contract.
 *
 * We use a modified OpenZeppelin ERC777 contract, as otherwise we cannot
 * override send(), transfer() and transferFrom(), etc. from the parent contract
 * as they are marked external.
 * EVM currently does not allow overriding of external functions.
 * Changing the call signatures for the required functions
 * was the only change done on ERC777Overridable.sol contract - otherwise
 * it is a vanilla copy of
 * https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/blob/bf0277b398c0454276bd8caf0ee35efaf46e686b/contracts/token/ERC777/ERC777.sol
 *
 */
contract DawnTokenImpl is ERC777Overridable, Recoverable, Pausable {

  /**
   * Create the first Dawn token.
   *
   * We are using a function name `initializeDawn` instead of `initialize`
   * as otherwise we get a function override name clash with same number of parameters
   * that are different type. The web3.js code
   * will try to call the initializer() of a ERC777Overridable with a wrong signature and this is the error:
   *
   * expected array value (arg="defaultOperators", coderType="array", value="NEW")
   *
   * @param manager The address that is going ot control Pausable functionality and also receive the initially minted tokens
   * @param _name Token name
   * @param _symbol Token symbol
   */
  function initializeDawn(address manager, string memory _name, string memory _symbol) public initializer  {

    // We set up an ERC-777 token without any default operators
    address[] memory noAddresses = new address[](0);
    bytes memory emptyBytes = bytes('');

    ERC777Overridable.initialize(_name, _symbol, noAddresses);

    // Initializes owner() for recoverTokens
    Recoverable.initialize(manager);

    // Initializes pauser
    Pausable.initialize(manager);

    // Same as in 1ST token
    // https://etherscan.io/token/0xaf30d2a7e90d7dc361c8c4585e9bb7d2f6f15bc7
    uint INITIAL_SUPPLY = 93468683899196345527500000;

    // Mint the initial supply
    // https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/blob/master/contracts/token/ERC777/ERC777.sol#L315
    _mint(manager, manager, INITIAL_SUPPLY, emptyBytes, emptyBytes);

  }

  //
  // We override methods from ERC777 and add whenNotPaused modifier and external keyword
  // (external is required by ERC-777 standard)
  //

  function send(address recipient, uint256 amount, bytes calldata data) external whenNotPaused {
    sendInternal(recipient, amount, data);
  }

  function transfer(address to, uint256 value) external whenNotPaused returns (bool) {
    return transferInternal(to, value);
  }

  function transferFrom(address from, address to, uint256 value) external whenNotPaused returns (bool) {
    return transferFromInternal(from, to, value);
  }

  function burn(uint256 amount, bytes calldata data) external whenNotPaused {
    burnInternal(amount, data);
  }

  function operatorSend(
    address sender,
    address recipient,
    uint256 amount,
    bytes calldata data,
    bytes calldata operatorData
  ) external whenNotPaused {
    operatorSendInternal(sender, recipient, amount, data, operatorData);
  }

  function operatorBurn(address account, uint256 amount, bytes calldata data, bytes calldata operatorData) external whenNotPaused {
    operatorBurnInternal(account, amount, data, operatorData);
  }

   // Upgradeability - add some space
  uint256[50] private ______gap;

}

Contract Security Audit

Contract ABI

[{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"granularity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address[]","name":"defaultOperators","type":"address[]"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"manager","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"initializeDawn","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","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":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"recoverTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","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":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"tokensToBeReturned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052613836806100136000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c806382dc1ec41161012a578063c45d19db116100bd578063dd62ed3e1161008c578063fad8b32a11610071578063fad8b32a14610a06578063fc673c4f14610a2c578063fe9d930314610b035761020b565b8063dd62ed3e146109b2578063f2fde38b146109e05761020b565b8063c45d19db14610787578063c4d66de8146107ad578063ca275931146107d3578063d95b6371146109845761020b565b8063959b8c3f116100f9578063959b8c3f146106a857806395d89b41146106ce5780639bd9bbc6146106d6578063a9059cbb1461075b5761020b565b806382dc1ec41461064e5780638456cb59146106745780638da5cb5b1461067c5780638f32d59b146106a05761020b565b806346fbf68e116101a25780636ef8d66d116101715780636ef8d66d146104db57806370a08231146104e3578063715018a61461050957806374d0b282146105115761020b565b806346fbf68e146103c3578063556f0dc7146103e95780635c975abb146103f157806362ad1b83146103f95761020b565b806318160ddd116101de57806318160ddd1461034d57806323b872dd14610367578063313ce5671461039d5780633f4ba83a146103bb5761020b565b806306e485381461021057806306fdde0314610268578063095ea7b3146102e557806316114acd14610325575b600080fd5b610218610b7a565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561025457818101518382015260200161023c565b505050509050019250505060405180910390f35b610270610bdd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102aa578181015183820152602001610292565b50505050905090810190601f1680156102d75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610311600480360360408110156102fb57600080fd5b506001600160a01b038135169060200135610c6a565b604080519115158252519081900360200190f35b61034b6004803603602081101561033b57600080fd5b50356001600160a01b0316610c8c565b005b610355610dd4565b60408051918252519081900360200190f35b6103116004803603606081101561037d57600080fd5b506001600160a01b03813581169160208101359091169060400135610dda565b6103a5610e3c565b6040805160ff9092168252519081900360200190f35b61034b610e41565b610311600480360360208110156103d957600080fd5b50356001600160a01b0316610f35565b610355610f4e565b610311610f53565b61034b600480360360a081101561040f57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561044a57600080fd5b82018360208201111561045c57600080fd5b8035906020019184600183028401116401000000008311171561047e57600080fd5b91939092909160208101903564010000000081111561049c57600080fd5b8201836020820111156104ae57600080fd5b803590602001918460018302840111640100000000831117156104d057600080fd5b509092509050610f5d565b61034b611028565b610355600480360360208110156104f957600080fd5b50356001600160a01b031661103a565b61034b611055565b61034b6004803603606081101561052757600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561055257600080fd5b82018360208201111561056457600080fd5b8035906020019184600183028401116401000000008311171561058657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156105d957600080fd5b8201836020820111156105eb57600080fd5b8035906020019184600183028401116401000000008311171561060d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611105945050505050565b61034b6004803603602081101561066457600080fd5b50356001600160a01b03166111fa565b61034b611249565b610684611312565b604080516001600160a01b039092168252519081900360200190f35b610311611321565b61034b600480360360208110156106be57600080fd5b50356001600160a01b0316611347565b610270611493565b61034b600480360360608110156106ec57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561071c57600080fd5b82018360208201111561072e57600080fd5b8035906020019184600183028401116401000000008311171561075057600080fd5b5090925090506114f4565b6103116004803603604081101561077157600080fd5b506001600160a01b038135169060200135611581565b6103556004803603602081101561079d57600080fd5b50356001600160a01b03166115e1565b61034b600480360360208110156107c357600080fd5b50356001600160a01b0316611676565b61034b600480360360608110156107e957600080fd5b81019060208101813564010000000081111561080457600080fd5b82018360208201111561081657600080fd5b8035906020019184600183028401116401000000008311171561083857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561088b57600080fd5b82018360208201111561089d57600080fd5b803590602001918460018302840111640100000000831117156108bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561091257600080fd5b82018360208201111561092457600080fd5b8035906020019184602083028401116401000000008311171561094657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061172d945050505050565b6103116004803603604081101561099a57600080fd5b506001600160a01b03813581169160200135166119b8565b610355600480360360408110156109c857600080fd5b506001600160a01b0381358116916020013516611a59565b61034b600480360360208110156109f657600080fd5b50356001600160a01b0316611a84565b61034b60048036036020811015610a1c57600080fd5b50356001600160a01b0316611ae6565b61034b60048036036080811015610a4257600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610a7257600080fd5b820183602082011115610a8457600080fd5b80359060200191846001830284011164010000000083111715610aa657600080fd5b919390929091602081019035640100000000811115610ac457600080fd5b820183602082011115610ad657600080fd5b80359060200191846001830284011164010000000083111715610af857600080fd5b509092509050611c32565b61034b60048036036040811015610b1957600080fd5b81359190810190604081016020820135640100000000811115610b3b57600080fd5b820183602082011115610b4d57600080fd5b80359060200191846001830284011164010000000083111715610b6f57600080fd5b509092509050611cfb565b60606037805480602002602001604051908101604052809291908181526020018280548015610bd257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610bb4575b505050505090505b90565b60358054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bd25780601f10610c3e57610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610c4c57509395945050505050565b600080610c75611d8c565b9050610c82818585611d90565b5060019392505050565b610c94611321565b610ce5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b806001600160a01b031663a9059cbb610cfc611312565b610d05846115e1565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610d5457600080fd5b505af1158015610d68573d6000803e3d6000fd5b505050506040513d6020811015610d7e57600080fd5b5051610dd1576040805162461bcd60e51b815260206004820152600f60248201527f5472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b50565b60345490565b6101065460009060ff1615610e29576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610e34848484611e37565b949350505050565b601290565b610e51610e4c611d8c565b610f35565b610e8c5760405162461bcd60e51b81526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b6101065460ff16610ee4576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b610106805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610f18611d8c565b604080516001600160a01b039092168252519081900360200190a1565b6000610f4860d38363ffffffff611fba16565b92915050565b600190565b6101065460ff1690565b6101065460ff1615610fa9576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61101f87878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8b01819004810282018101909252898152925089915088908190840183828082843760009201919091525061202192505050565b50505050505050565b611038611033611d8c565b61208b565b565b6001600160a01b031660009081526033602052604090205490565b61105d611321565b6110ae576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606e546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606e805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054610100900460ff168061111e575061111e6120d3565b8061112c575060005460ff16155b6111675760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff16158015611192576000805460ff1961ff0019909116610100171660011790555b60408051600080825281830190925260208101918252906111b485858461172d565b6111bd866120d9565b6111c686611676565b6a4d50c381d427adf7cafce06111df8780838580612184565b50505080156111f4576000805461ff00191690555b50505050565b611205610e4c611d8c565b6112405760405162461bcd60e51b81526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b610dd1816123af565b611254610e4c611d8c565b61128f5760405162461bcd60e51b81526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b6101065460ff16156112db576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610106805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f18611d8c565b606e546001600160a01b031690565b606e546000906001600160a01b0316611338611d8c565b6001600160a01b031614905090565b806001600160a01b0316611359611d8c565b6001600160a01b0316141561139f5760405162461bcd60e51b815260040180806020018281038252602481526020018061361a6024913960400191505060405180910390fd5b6001600160a01b03811660009081526038602052604090205460ff161561140257603a60006113cc611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055611449565b600160396000611410611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b611451611d8c565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b60368054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bd25780601f10610c3e57610100808354040283529160200191610bd2565b6101065460ff1615611540576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6111f4848484848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123f792505050565b6101065460009060ff16156115d0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6115da8383612424565b9392505050565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561164457600080fd5b505afa158015611658573d6000803e3d6000fd5b505050506040513d602081101561166e57600080fd5b505192915050565b600054610100900460ff168061168f575061168f6120d3565b8061169d575060005460ff16155b6116d85760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff16158015611703576000805460ff1961ff0019909116610100171660011790555b61170c826124fd565b610106805460ff191690558015611729576000805461ff00191690555b5050565b600054610100900460ff168061174657506117466120d3565b80611754575060005460ff16155b61178f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff161580156117ba576000805460ff1961ff0019909116610100171660011790555b83516117cd906035906020870190613421565b5082516117e1906036906020860190613421565b5081516117f590603790602085019061349f565b5060005b603754811015611852576001603860006037848154811061181657fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790556001016117f9565b50604080517f455243373737546f6b656e0000000000000000000000000000000000000000008152815190819003600b0181206329965a1d60e01b82523060048301819052602483019190915260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad24916329965a1d91606480830192600092919082900301818387803b1580156118e257600080fd5b505af11580156118f6573d6000803e3d6000fd5b5050604080517f4552433230546f6b656e000000000000000000000000000000000000000000008152815190819003600a0181206329965a1d60e01b82523060048301819052602483019190915260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad2493506329965a1d9250606480830192600092919082900301818387803b15801561198957600080fd5b505af115801561199d573d6000803e3d6000fd5b5050505080156111f4576000805461ff001916905550505050565b6000816001600160a01b0316836001600160a01b03161480611a2357506001600160a01b03831660009081526038602052604090205460ff168015611a2357506001600160a01b038083166000908152603a602090815260408083209387168352929052205460ff16155b806115da5750506001600160a01b0390811660009081526039602090815260408083209490931682529290925290205460ff1690565b6001600160a01b039182166000908152603b6020908152604080832093909416825291909152205490565b611a8c611321565b611add576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610dd1816125a0565b611aee611d8c565b6001600160a01b0316816001600160a01b03161415611b3e5760405162461bcd60e51b815260040180806020018281038252602181526020018061363e6021913960400191505060405180910390fd5b6001600160a01b03811660009081526038602052604090205460ff1615611baa576001603a6000611b6d611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff1916911515919091179055611be8565b60396000611bb6611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b611bf0611d8c565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b6101065460ff1615611c7e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611cf3868686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a01819004810282018101909252888152925088915087908190840183828082843760009201919091525061264e92505050565b505050505050565b6101065460ff1615611d47576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611d878383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506126ae92505050565b505050565b3390565b6001600160a01b038216611dd55760405162461bcd60e51b81526004018080602001828103825260238152602001806137df6023913960400191505060405180910390fd5b6001600160a01b038084166000818152603b6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006001600160a01b038316611e7e5760405162461bcd60e51b815260040180806020018281038252602481526020018061371d6024913960400191505060405180910390fd5b6001600160a01b038416611ec35760405162461bcd60e51b81526004018080602001828103825260268152602001806137966026913960400191505060405180910390fd5b6000611ecd611d8c565b9050611efb8186868660405180602001604052806000815250604051806020016040528060008152506126d8565b611f2781868686604051806020016040528060008152506040518060200160405280600081525061291f565b611f818582611f7c8660405180606001604052806029815260200161376d602991396001600160a01b03808c166000908152603b60209081526040808320938b1683529290522054919063ffffffff612b3916565b611d90565b611faf8186868660405180602001604052806000815250604051806020016040528060008152506000612bd0565b506001949350505050565b60006001600160a01b0382166120015760405162461bcd60e51b81526004018080602001828103825260228152602001806136806022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61203261202c611d8c565b866119b8565b61206d5760405162461bcd60e51b815260040180806020018281038252602c815260200180613741602c913960400191505060405180910390fd5b612084612078611d8c565b86868686866001612e70565b5050505050565b61209c60d38263ffffffff612f3b16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b303b1590565b600054610100900460ff16806120f257506120f26120d3565b80612100575060005460ff16155b61213b5760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff16158015612166576000805460ff1961ff0019909116610100171660011790555b61216f82612fa2565b8015611729576000805461ff00191690555050565b6001600160a01b0384166121df576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6034546121f2908463ffffffff6130a016565b6034556001600160a01b03841660009081526033602052604090205461221e908463ffffffff6130a016565b6001600160a01b03851660009081526033602052604081209190915561224b908690868686866001612bd0565b836001600160a01b0316856001600160a01b03167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d858585604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156122ca5781810151838201526020016122b2565b50505050905090810190601f1680156122f75780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561232a578181015183820152602001612312565b50505050905090810190601f1680156123575780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805184815290516001600160a01b038616916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b6123c060d38263ffffffff6130fa16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b611d87612402611d8c565b61240a611d8c565b858585604051806020016040528060008152506001612e70565b60006001600160a01b03831661246b5760405162461bcd60e51b815260040180806020018281038252602481526020018061371d6024913960400191505060405180910390fd5b6000612475611d8c565b90506124a38182868660405180602001604052806000815250604051806020016040528060008152506126d8565b6124cf81828686604051806020016040528060008152506040518060200160405280600081525061291f565b610c828182868660405180602001604052806000815250604051806020016040528060008152506000612bd0565b600054610100900460ff168061251657506125166120d3565b80612524575060005460ff16155b61255f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff1615801561258a576000805460ff1961ff0019909116610100171660011790555b61259382610f35565b61216f5761216f826123af565b6001600160a01b0381166125e55760405162461bcd60e51b81526004018080602001828103825260268152602001806135d26026913960400191505060405180910390fd5b606e546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b61265f612659611d8c565b856119b8565b61269a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613741602c913960400191505060405180910390fd5b6111f46126a5611d8c565b8585858561317b565b6117296126b9611d8c565b6126c1611d8c565b84846040518060200160405280600081525061317b565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561275c57600080fd5b505afa158015612770573d6000803e3d6000fd5b505050506040513d602081101561278657600080fd5b505190506001600160a01b0381161561101f57806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561284c578181015183820152602001612834565b50505050905090810190601f1680156128795780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156128ac578181015183820152602001612894565b50505050905090810190601f1680156128d95780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b1580156128fe57600080fd5b505af1158015612912573d6000803e3d6000fd5b5050505050505050505050565b6129628360405180606001604052806027815260200161357b602791396001600160a01b038816600090815260336020526040902054919063ffffffff612b3916565b6001600160a01b038087166000908152603360205260408082209390935590861681522054612997908463ffffffff6130a016565b60336000866001600160a01b03166001600160a01b0316815260200190815260200160002081905550836001600160a01b0316856001600160a01b0316876001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612a49578181015183820152602001612a31565b50505050905090810190601f168015612a765780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612aa9578181015183820152602001612a91565b50505050905090810190601f168015612ad65780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050565b60008184841115612bc85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b8d578181015183820152602001612b75565b50505050905090810190601f168015612bba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015612c5457600080fd5b505afa158015612c68573d6000803e3d6000fd5b505050506040513d6020811015612c7e57600080fd5b505190506001600160a01b03811615612e1257806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612d43578181015183820152602001612d2b565b50505050905090810190601f168015612d705780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612da3578181015183820152602001612d8b565b50505050905090810190601f168015612dd05780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015612df557600080fd5b505af1158015612e09573d6000803e3d6000fd5b50505050612e66565b8115612e6657612e2a866001600160a01b03166133a8565b15612e665760405162461bcd60e51b815260040180806020018281038252604d8152602001806136a2604d913960600191505060405180910390fd5b5050505050505050565b6001600160a01b038616612eb55760405162461bcd60e51b81526004018080602001828103825260228152602001806135596022913960400191505060405180910390fd5b6001600160a01b038516612f10576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612f1e8787878787876126d8565b612f2c87878787878761291f565b61101f87878787878787612bd0565b612f458282611fba565b612f805760405162461bcd60e51b815260040180806020018281038252602181526020018061365f6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600054610100900460ff1680612fbb5750612fbb6120d3565b80612fc9575060005460ff16155b6130045760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff1615801561302f576000805460ff1961ff0019909116610100171660011790555b606e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015611729576000805461ff00191690555050565b6000828201838110156115da576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6131048282611fba565b15613156576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b0384166131c05760405162461bcd60e51b81526004018080602001828103825260228152602001806135f86022913960400191505060405180910390fd5b6131cf858560008686866126d8565b613212836040518060600160405280602381526020016137bc602391396001600160a01b038716600090815260336020526040902054919063ffffffff612b3916565b6001600160a01b03851660009081526033602052604090205560345461323e908463ffffffff6133df16565b603481905550836001600160a01b0316856001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098858585604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156132c35781810151838201526020016132ab565b50505050905090810190601f1680156132f05780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561332357818101518382015260200161330b565b50505050905090810190601f1680156133505780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805184815290516000916001600160a01b038716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590610e345750141592915050565b60006115da83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612b39565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061346257805160ff191683800117855561348f565b8280016001018555821561348f579182015b8281111561348f578251825591602001919060010190613474565b5061349b92915061350d565b5090565b828054828255906000526020600020908101928215613501579160200282015b82811115613501578251825473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039091161782556020909201916001909101906134bf565b5061349b929150613527565b610bda91905b8082111561349b5760008155600101613513565b610bda91905b8082111561349b57805473ffffffffffffffffffffffffffffffffffffffff1916815560010161352d56fe4552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f724552433737373a207265766f6b696e672073656c66206173206f70657261746f72526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65526f6c65733a206163636f756e7420697320746865207a65726f20616464726573734552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e74436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65644552433737373a207472616e7366657220746f20746865207a65726f20616464726573734552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373a265627a7a72315820901df72d5c6c897beae5cee458fac35caef580f5843fc897ffb4115ac64cb68364736f6c63430005100032

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061020b5760003560e01c806382dc1ec41161012a578063c45d19db116100bd578063dd62ed3e1161008c578063fad8b32a11610071578063fad8b32a14610a06578063fc673c4f14610a2c578063fe9d930314610b035761020b565b8063dd62ed3e146109b2578063f2fde38b146109e05761020b565b8063c45d19db14610787578063c4d66de8146107ad578063ca275931146107d3578063d95b6371146109845761020b565b8063959b8c3f116100f9578063959b8c3f146106a857806395d89b41146106ce5780639bd9bbc6146106d6578063a9059cbb1461075b5761020b565b806382dc1ec41461064e5780638456cb59146106745780638da5cb5b1461067c5780638f32d59b146106a05761020b565b806346fbf68e116101a25780636ef8d66d116101715780636ef8d66d146104db57806370a08231146104e3578063715018a61461050957806374d0b282146105115761020b565b806346fbf68e146103c3578063556f0dc7146103e95780635c975abb146103f157806362ad1b83146103f95761020b565b806318160ddd116101de57806318160ddd1461034d57806323b872dd14610367578063313ce5671461039d5780633f4ba83a146103bb5761020b565b806306e485381461021057806306fdde0314610268578063095ea7b3146102e557806316114acd14610325575b600080fd5b610218610b7a565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561025457818101518382015260200161023c565b505050509050019250505060405180910390f35b610270610bdd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102aa578181015183820152602001610292565b50505050905090810190601f1680156102d75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610311600480360360408110156102fb57600080fd5b506001600160a01b038135169060200135610c6a565b604080519115158252519081900360200190f35b61034b6004803603602081101561033b57600080fd5b50356001600160a01b0316610c8c565b005b610355610dd4565b60408051918252519081900360200190f35b6103116004803603606081101561037d57600080fd5b506001600160a01b03813581169160208101359091169060400135610dda565b6103a5610e3c565b6040805160ff9092168252519081900360200190f35b61034b610e41565b610311600480360360208110156103d957600080fd5b50356001600160a01b0316610f35565b610355610f4e565b610311610f53565b61034b600480360360a081101561040f57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561044a57600080fd5b82018360208201111561045c57600080fd5b8035906020019184600183028401116401000000008311171561047e57600080fd5b91939092909160208101903564010000000081111561049c57600080fd5b8201836020820111156104ae57600080fd5b803590602001918460018302840111640100000000831117156104d057600080fd5b509092509050610f5d565b61034b611028565b610355600480360360208110156104f957600080fd5b50356001600160a01b031661103a565b61034b611055565b61034b6004803603606081101561052757600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561055257600080fd5b82018360208201111561056457600080fd5b8035906020019184600183028401116401000000008311171561058657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156105d957600080fd5b8201836020820111156105eb57600080fd5b8035906020019184600183028401116401000000008311171561060d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611105945050505050565b61034b6004803603602081101561066457600080fd5b50356001600160a01b03166111fa565b61034b611249565b610684611312565b604080516001600160a01b039092168252519081900360200190f35b610311611321565b61034b600480360360208110156106be57600080fd5b50356001600160a01b0316611347565b610270611493565b61034b600480360360608110156106ec57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561071c57600080fd5b82018360208201111561072e57600080fd5b8035906020019184600183028401116401000000008311171561075057600080fd5b5090925090506114f4565b6103116004803603604081101561077157600080fd5b506001600160a01b038135169060200135611581565b6103556004803603602081101561079d57600080fd5b50356001600160a01b03166115e1565b61034b600480360360208110156107c357600080fd5b50356001600160a01b0316611676565b61034b600480360360608110156107e957600080fd5b81019060208101813564010000000081111561080457600080fd5b82018360208201111561081657600080fd5b8035906020019184600183028401116401000000008311171561083857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561088b57600080fd5b82018360208201111561089d57600080fd5b803590602001918460018302840111640100000000831117156108bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561091257600080fd5b82018360208201111561092457600080fd5b8035906020019184602083028401116401000000008311171561094657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061172d945050505050565b6103116004803603604081101561099a57600080fd5b506001600160a01b03813581169160200135166119b8565b610355600480360360408110156109c857600080fd5b506001600160a01b0381358116916020013516611a59565b61034b600480360360208110156109f657600080fd5b50356001600160a01b0316611a84565b61034b60048036036020811015610a1c57600080fd5b50356001600160a01b0316611ae6565b61034b60048036036080811015610a4257600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610a7257600080fd5b820183602082011115610a8457600080fd5b80359060200191846001830284011164010000000083111715610aa657600080fd5b919390929091602081019035640100000000811115610ac457600080fd5b820183602082011115610ad657600080fd5b80359060200191846001830284011164010000000083111715610af857600080fd5b509092509050611c32565b61034b60048036036040811015610b1957600080fd5b81359190810190604081016020820135640100000000811115610b3b57600080fd5b820183602082011115610b4d57600080fd5b80359060200191846001830284011164010000000083111715610b6f57600080fd5b509092509050611cfb565b60606037805480602002602001604051908101604052809291908181526020018280548015610bd257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610bb4575b505050505090505b90565b60358054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bd25780601f10610c3e57610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610c4c57509395945050505050565b600080610c75611d8c565b9050610c82818585611d90565b5060019392505050565b610c94611321565b610ce5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b806001600160a01b031663a9059cbb610cfc611312565b610d05846115e1565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610d5457600080fd5b505af1158015610d68573d6000803e3d6000fd5b505050506040513d6020811015610d7e57600080fd5b5051610dd1576040805162461bcd60e51b815260206004820152600f60248201527f5472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b50565b60345490565b6101065460009060ff1615610e29576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610e34848484611e37565b949350505050565b601290565b610e51610e4c611d8c565b610f35565b610e8c5760405162461bcd60e51b81526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b6101065460ff16610ee4576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b610106805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610f18611d8c565b604080516001600160a01b039092168252519081900360200190a1565b6000610f4860d38363ffffffff611fba16565b92915050565b600190565b6101065460ff1690565b6101065460ff1615610fa9576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61101f87878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8b01819004810282018101909252898152925089915088908190840183828082843760009201919091525061202192505050565b50505050505050565b611038611033611d8c565b61208b565b565b6001600160a01b031660009081526033602052604090205490565b61105d611321565b6110ae576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606e546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606e805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054610100900460ff168061111e575061111e6120d3565b8061112c575060005460ff16155b6111675760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff16158015611192576000805460ff1961ff0019909116610100171660011790555b60408051600080825281830190925260208101918252906111b485858461172d565b6111bd866120d9565b6111c686611676565b6a4d50c381d427adf7cafce06111df8780838580612184565b50505080156111f4576000805461ff00191690555b50505050565b611205610e4c611d8c565b6112405760405162461bcd60e51b81526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b610dd1816123af565b611254610e4c611d8c565b61128f5760405162461bcd60e51b81526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b6101065460ff16156112db576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610106805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610f18611d8c565b606e546001600160a01b031690565b606e546000906001600160a01b0316611338611d8c565b6001600160a01b031614905090565b806001600160a01b0316611359611d8c565b6001600160a01b0316141561139f5760405162461bcd60e51b815260040180806020018281038252602481526020018061361a6024913960400191505060405180910390fd5b6001600160a01b03811660009081526038602052604090205460ff161561140257603a60006113cc611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff19169055611449565b600160396000611410611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff19169115159190911790555b611451611d8c565b6001600160a01b0316816001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b60368054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610bd25780601f10610c3e57610100808354040283529160200191610bd2565b6101065460ff1615611540576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6111f4848484848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123f792505050565b6101065460009060ff16156115d0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6115da8383612424565b9392505050565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561164457600080fd5b505afa158015611658573d6000803e3d6000fd5b505050506040513d602081101561166e57600080fd5b505192915050565b600054610100900460ff168061168f575061168f6120d3565b8061169d575060005460ff16155b6116d85760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff16158015611703576000805460ff1961ff0019909116610100171660011790555b61170c826124fd565b610106805460ff191690558015611729576000805461ff00191690555b5050565b600054610100900460ff168061174657506117466120d3565b80611754575060005460ff16155b61178f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff161580156117ba576000805460ff1961ff0019909116610100171660011790555b83516117cd906035906020870190613421565b5082516117e1906036906020860190613421565b5081516117f590603790602085019061349f565b5060005b603754811015611852576001603860006037848154811061181657fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790556001016117f9565b50604080517f455243373737546f6b656e0000000000000000000000000000000000000000008152815190819003600b0181206329965a1d60e01b82523060048301819052602483019190915260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad24916329965a1d91606480830192600092919082900301818387803b1580156118e257600080fd5b505af11580156118f6573d6000803e3d6000fd5b5050604080517f4552433230546f6b656e000000000000000000000000000000000000000000008152815190819003600a0181206329965a1d60e01b82523060048301819052602483019190915260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad2493506329965a1d9250606480830192600092919082900301818387803b15801561198957600080fd5b505af115801561199d573d6000803e3d6000fd5b5050505080156111f4576000805461ff001916905550505050565b6000816001600160a01b0316836001600160a01b03161480611a2357506001600160a01b03831660009081526038602052604090205460ff168015611a2357506001600160a01b038083166000908152603a602090815260408083209387168352929052205460ff16155b806115da5750506001600160a01b0390811660009081526039602090815260408083209490931682529290925290205460ff1690565b6001600160a01b039182166000908152603b6020908152604080832093909416825291909152205490565b611a8c611321565b611add576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610dd1816125a0565b611aee611d8c565b6001600160a01b0316816001600160a01b03161415611b3e5760405162461bcd60e51b815260040180806020018281038252602181526020018061363e6021913960400191505060405180910390fd5b6001600160a01b03811660009081526038602052604090205460ff1615611baa576001603a6000611b6d611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020805460ff1916911515919091179055611be8565b60396000611bb6611d8c565b6001600160a01b03908116825260208083019390935260409182016000908120918516815292529020805460ff191690555b611bf0611d8c565b6001600160a01b0316816001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b6101065460ff1615611c7e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611cf3868686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a01819004810282018101909252888152925088915087908190840183828082843760009201919091525061264e92505050565b505050505050565b6101065460ff1615611d47576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611d878383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506126ae92505050565b505050565b3390565b6001600160a01b038216611dd55760405162461bcd60e51b81526004018080602001828103825260238152602001806137df6023913960400191505060405180910390fd5b6001600160a01b038084166000818152603b6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006001600160a01b038316611e7e5760405162461bcd60e51b815260040180806020018281038252602481526020018061371d6024913960400191505060405180910390fd5b6001600160a01b038416611ec35760405162461bcd60e51b81526004018080602001828103825260268152602001806137966026913960400191505060405180910390fd5b6000611ecd611d8c565b9050611efb8186868660405180602001604052806000815250604051806020016040528060008152506126d8565b611f2781868686604051806020016040528060008152506040518060200160405280600081525061291f565b611f818582611f7c8660405180606001604052806029815260200161376d602991396001600160a01b03808c166000908152603b60209081526040808320938b1683529290522054919063ffffffff612b3916565b611d90565b611faf8186868660405180602001604052806000815250604051806020016040528060008152506000612bd0565b506001949350505050565b60006001600160a01b0382166120015760405162461bcd60e51b81526004018080602001828103825260228152602001806136806022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61203261202c611d8c565b866119b8565b61206d5760405162461bcd60e51b815260040180806020018281038252602c815260200180613741602c913960400191505060405180910390fd5b612084612078611d8c565b86868686866001612e70565b5050505050565b61209c60d38263ffffffff612f3b16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b303b1590565b600054610100900460ff16806120f257506120f26120d3565b80612100575060005460ff16155b61213b5760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff16158015612166576000805460ff1961ff0019909116610100171660011790555b61216f82612fa2565b8015611729576000805461ff00191690555050565b6001600160a01b0384166121df576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6034546121f2908463ffffffff6130a016565b6034556001600160a01b03841660009081526033602052604090205461221e908463ffffffff6130a016565b6001600160a01b03851660009081526033602052604081209190915561224b908690868686866001612bd0565b836001600160a01b0316856001600160a01b03167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d858585604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156122ca5781810151838201526020016122b2565b50505050905090810190601f1680156122f75780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561232a578181015183820152602001612312565b50505050905090810190601f1680156123575780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805184815290516001600160a01b038616916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b6123c060d38263ffffffff6130fa16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b611d87612402611d8c565b61240a611d8c565b858585604051806020016040528060008152506001612e70565b60006001600160a01b03831661246b5760405162461bcd60e51b815260040180806020018281038252602481526020018061371d6024913960400191505060405180910390fd5b6000612475611d8c565b90506124a38182868660405180602001604052806000815250604051806020016040528060008152506126d8565b6124cf81828686604051806020016040528060008152506040518060200160405280600081525061291f565b610c828182868660405180602001604052806000815250604051806020016040528060008152506000612bd0565b600054610100900460ff168061251657506125166120d3565b80612524575060005460ff16155b61255f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff1615801561258a576000805460ff1961ff0019909116610100171660011790555b61259382610f35565b61216f5761216f826123af565b6001600160a01b0381166125e55760405162461bcd60e51b81526004018080602001828103825260268152602001806135d26026913960400191505060405180910390fd5b606e546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b61265f612659611d8c565b856119b8565b61269a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613741602c913960400191505060405180910390fd5b6111f46126a5611d8c565b8585858561317b565b6117296126b9611d8c565b6126c1611d8c565b84846040518060200160405280600081525061317b565b6040805163555ddc6560e11b81526001600160a01b03871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b15801561275c57600080fd5b505afa158015612770573d6000803e3d6000fd5b505050506040513d602081101561278657600080fd5b505190506001600160a01b0381161561101f57806001600160a01b03166375ab97828888888888886040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561284c578181015183820152602001612834565b50505050905090810190601f1680156128795780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156128ac578181015183820152602001612894565b50505050905090810190601f1680156128d95780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b1580156128fe57600080fd5b505af1158015612912573d6000803e3d6000fd5b5050505050505050505050565b6129628360405180606001604052806027815260200161357b602791396001600160a01b038816600090815260336020526040902054919063ffffffff612b3916565b6001600160a01b038087166000908152603360205260408082209390935590861681522054612997908463ffffffff6130a016565b60336000866001600160a01b03166001600160a01b0316815260200190815260200160002081905550836001600160a01b0316856001600160a01b0316876001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612a49578181015183820152602001612a31565b50505050905090810190601f168015612a765780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612aa9578181015183820152602001612a91565b50505050905090810190601f168015612ad65780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a4836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050565b60008184841115612bc85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b8d578181015183820152602001612b75565b50505050905090810190601f168015612bba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805163555ddc6560e11b81526001600160a01b03871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015612c5457600080fd5b505afa158015612c68573d6000803e3d6000fd5b505050506040513d6020811015612c7e57600080fd5b505190506001600160a01b03811615612e1257806001600160a01b03166223de298989898989896040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b031681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612d43578181015183820152602001612d2b565b50505050905090810190601f168015612d705780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612da3578181015183820152602001612d8b565b50505050905090810190601f168015612dd05780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015612df557600080fd5b505af1158015612e09573d6000803e3d6000fd5b50505050612e66565b8115612e6657612e2a866001600160a01b03166133a8565b15612e665760405162461bcd60e51b815260040180806020018281038252604d8152602001806136a2604d913960600191505060405180910390fd5b5050505050505050565b6001600160a01b038616612eb55760405162461bcd60e51b81526004018080602001828103825260228152602001806135596022913960400191505060405180910390fd5b6001600160a01b038516612f10576040805162461bcd60e51b815260206004820181905260248201527f4552433737373a2073656e6420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612f1e8787878787876126d8565b612f2c87878787878761291f565b61101f87878787878787612bd0565b612f458282611fba565b612f805760405162461bcd60e51b815260040180806020018281038252602181526020018061365f6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600054610100900460ff1680612fbb5750612fbb6120d3565b80612fc9575060005460ff16155b6130045760405162461bcd60e51b815260040180806020018281038252602e8152602001806136ef602e913960400191505060405180910390fd5b600054610100900460ff1615801561302f576000805460ff1961ff0019909116610100171660011790555b606e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015611729576000805461ff00191690555050565b6000828201838110156115da576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6131048282611fba565b15613156576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b0384166131c05760405162461bcd60e51b81526004018080602001828103825260228152602001806135f86022913960400191505060405180910390fd5b6131cf858560008686866126d8565b613212836040518060600160405280602381526020016137bc602391396001600160a01b038716600090815260336020526040902054919063ffffffff612b3916565b6001600160a01b03851660009081526033602052604090205560345461323e908463ffffffff6133df16565b603481905550836001600160a01b0316856001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098858585604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156132c35781810151838201526020016132ab565b50505050905090810190601f1680156132f05780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561332357818101518382015260200161330b565b50505050905090810190601f1680156133505780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a36040805184815290516000916001600160a01b038716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590610e345750141592915050565b60006115da83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612b39565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061346257805160ff191683800117855561348f565b8280016001018555821561348f579182015b8281111561348f578251825591602001919060010190613474565b5061349b92915061350d565b5090565b828054828255906000526020600020908101928215613501579160200282015b82811115613501578251825473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039091161782556020909201916001909101906134bf565b5061349b929150613527565b610bda91905b8082111561349b5760008155600101613513565b610bda91905b8082111561349b57805473ffffffffffffffffffffffffffffffffffffffff1916815560010161352d56fe4552433737373a2073656e642066726f6d20746865207a65726f20616464726573734552433737373a207472616e7366657220616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f724552433737373a207265766f6b696e672073656c66206173206f70657261746f72526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65526f6c65733a206163636f756e7420697320746865207a65726f20616464726573734552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e74436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65644552433737373a207472616e7366657220746f20746865207a65726f20616464726573734552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654552433737373a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373a265627a7a72315820901df72d5c6c897beae5cee458fac35caef580f5843fc897ffb4115ac64cb68364736f6c63430005100032

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.