ETH Price: $2,394.82 (-4.36%)

Token

Staked Sin (sSIN)
 

Overview

Max Total Supply

6,127,115.926043848 sSIN

Holders

124

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
529.872985284 sSIN

Value
$0.00
0x629ceda99c0409c9581f393a66a0215429ea9aa7
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
sSIN

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-07
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;

library LowGasSafeMath {
    /// @notice Returns x + y, reverts if sum overflows uint256
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x);
    }

    function add32(uint32 x, uint32 y) internal pure returns (uint32 z) {
        require((z = x + y) >= x);
    }

    /// @notice Returns x - y, reverts if underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x - y) <= x);
    }

    function sub32(uint32 x, uint32 y) internal pure returns (uint32 z) {
        require((z = x - y) <= x);
    }

    /// @notice Returns x * y, reverts if overflows
    /// @param x The multiplicand
    /// @param y The multiplier
    /// @return z The product of x and y
    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(x == 0 || (z = x * y) / x == y);
    }

    /// @notice Returns x + y, reverts if overflows or underflows
    /// @param x The augend
    /// @param y The addend
    /// @return z The sum of x and y
    function add(int256 x, int256 y) internal pure returns (int256 z) {
        require((z = x + y) >= x == (y >= 0));
    }

    /// @notice Returns x - y, reverts if overflows or underflows
    /// @param x The minuend
    /// @param y The subtrahend
    /// @return z The difference of x and y
    function sub(int256 x, int256 y) internal pure returns (int256 z) {
        require((z = x - y) <= x == (y >= 0));
    }

    function div(uint256 x, uint256 y) internal pure returns(uint256 z){
        require(y > 0);
        z=x/y;
    }
}

library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // 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.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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}
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target, 
        bytes memory data, 
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target, 
        bytes memory data, 
        uint256 value, 
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _functionCallWithValue(
        address target, 
        bytes memory data, 
        uint256 weiValue, 
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }

  /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target, 
        bytes memory data, 
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.3._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.3._
     */
    function functionDelegateCall(
        address target, 
        bytes memory data, 
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success, 
        bytes memory returndata, 
        string memory errorMessage
    ) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }

    function addressToString(address _address) internal pure returns(string memory) {
        bytes32 _bytes = bytes32(uint256(_address));
        bytes memory HEX = "0123456789abcdef";
        bytes memory _addr = new bytes(42);

        _addr[0] = '0';
        _addr[1] = 'x';

        for(uint256 i = 0; i < 20; i++) {
            _addr[2+i*2] = HEX[uint8(_bytes[i + 12] >> 4)];
            _addr[3+i*2] = HEX[uint8(_bytes[i + 12] & 0x0f)];
        }

        return string(_addr);

    }
}

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);
}

abstract contract ERC20
  is 
    IERC20
  {

  using LowGasSafeMath for uint256;

  // TODO comment actual hash value.
  bytes32 constant private ERC20TOKEN_ERC1820_INTERFACE_ID = keccak256( "ERC20Token" );
    
  mapping (address => uint256) internal _balances;

  mapping (address => mapping (address => uint256)) internal _allowances;

  uint256 internal _totalSupply;

  string internal _name;
    
  string internal _symbol;
    
  uint8 internal _decimals;

  /**
   * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
   * a default value of 18.
   *
   * To select a different value for {decimals}, use {_setupDecimals}.
   *
   * All three of these values are immutable: they can only be set once during
   * construction.
   */
  constructor (string memory name_, string memory symbol_, uint8 decimals_) {
    _name = name_;
    _symbol = symbol_;
    _decimals = decimals_;
  }

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

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

  /**
   * @dev Returns the number of decimals used to get its user representation.
   * For example, if `decimals` equals `2`, a balance of `505` tokens should
   * be displayed to a user as `5,05` (`505 / 10 ** 2`).
   *
   * Tokens usually opt for a value of 18, imitating the relationship between
   * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
   * called.
   *
   * NOTE: This information is only used for _display_ purposes: it in
   * no way affects any of the arithmetic of the contract, including
   * {IERC20-balanceOf} and {IERC20-transfer}.
   */
  function decimals() public view returns (uint8) {
    return _decimals;
  }

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

  /**
   * @dev See {IERC20-balanceOf}.
   */
  function balanceOf(address account) public view virtual override returns (uint256) {
    return _balances[account];
  }

  /**
   * @dev See {IERC20-transfer}.
   *
   * Requirements:
   *
   * - `recipient` cannot be the zero address.
   * - the caller must have a balance of at least `amount`.
   */
  function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
    _transfer(msg.sender, recipient, amount);
    return true;
  }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, msg.sender, _allowances[sender][msg.sender]
            .sub(amount));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender]
            .sub(subtractedValue));
        return true;
    }

  /**
   * @dev Moves tokens `amount` from `sender` to `recipient`.
   *
   * This is internal function is equivalent to {transfer}, and can be used to
   * e.g. implement automatic token fees, slashing mechanisms, etc.
   *
   * Emits a {Transfer} event.
   *
   * Requirements:
   *
   * - `sender` cannot be the zero address.
   * - `recipient` cannot be the zero address.
   * - `sender` must have a balance of at least `amount`.
   */
  function _transfer(address sender, address recipient, uint256 amount) internal virtual {
    require(sender != address(0), "ERC20: transfer from the zero address");
    require(recipient != address(0), "ERC20: transfer to the zero address");

    _beforeTokenTransfer(sender, recipient, amount);

    _balances[sender] = _balances[sender].sub(amount);
    _balances[recipient] = _balances[recipient].add(amount);
    emit Transfer(sender, recipient, amount);
  }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account_, uint256 ammount_) internal virtual {
        require(account_ != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address( this ), account_, ammount_);
        _totalSupply = _totalSupply.add(ammount_);
        _balances[account_] = _balances[account_].add(ammount_);
        emit Transfer(address( 0 ), account_, ammount_);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */

  /**
   * @dev Hook that is called before any transfer of tokens. This includes
   * minting and burning.
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
   * will be to transferred to `to`.
   * - when `from` is zero, `amount` tokens will be minted for `to`.
   * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
   * - `from` and `to` are never both zero.
   *
   * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
   */
  function _beforeTokenTransfer( address from_, address to_, uint256 amount_ ) internal virtual { }
}

library Counters {
    using LowGasSafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

interface IERC2612Permit {
    /**
     * @dev Sets `amount` as the allowance of `spender` over `owner`'s tokens,
     * given `owner`'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current ERC2612 nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);
}

abstract contract ERC20Permit is ERC20, IERC2612Permit {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    bytes32 public immutable DOMAIN_SEPARATOR;

    constructor() {

        uint256 chainID;
        assembly {
            chainID := chainid()
        }

        DOMAIN_SEPARATOR = keccak256(abi.encode(
            keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
            keccak256(bytes(name())),
            keccak256(bytes("1")), // Version
            chainID,
            address(this)
        ));
    }

    /**
     * @dev See {IERC2612Permit-permit}.
     *
     */
    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "Permit: expired deadline");

        bytes32 hashStruct =
            keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner].current(), deadline));

        bytes32 _hash = keccak256(abi.encodePacked(uint16(0x1901), DOMAIN_SEPARATOR, hashStruct));

        address signer = ecrecover(_hash, v, r, s);
        require(signer != address(0) && signer == owner, "ERC20Permit: Invalid signature");

        _nonces[owner].increment();
        _approve(owner, spender, amount);
    }

    /**
     * @dev See {IERC2612Permit-nonces}.
     */
    function nonces(address owner) public view override returns (uint256) {
        return _nonces[owner].current();
    }
}

contract OwnableData {
    address public owner;
    address public pendingOwner;
}

contract Ownable is OwnableData {
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /// @notice `owner` defaults to msg.sender on construction.
    constructor() {
        owner = msg.sender;
        emit OwnershipTransferred(address(0), msg.sender);
    }

    /// @notice Transfers ownership to `newOwner`. Either directly or claimable by the new pending owner.
    /// Can only be invoked by the current `owner`.
    /// @param newOwner Address of the new owner.
    /// @param direct True if `newOwner` should be set immediately. False if `newOwner` needs to use `claimOwnership`.
    /// @param renounce Allows the `newOwner` to be `address(0)` if `direct` and `renounce` is True. Has no effect otherwise.
    function transferOwnership(
        address newOwner,
        bool direct,
        bool renounce
    ) public onlyOwner {
        if (direct) {
            // Checks
            require(newOwner != address(0) || renounce, "Ownable: zero address");

            // Effects
            emit OwnershipTransferred(owner, newOwner);
            owner = newOwner;
            pendingOwner = address(0);
        } else {
            // Effects
            pendingOwner = newOwner;
        }
    }

    /// @notice Needs to be called by `pendingOwner` to claim ownership.
    function claimOwnership() public {
        address _pendingOwner = pendingOwner;

        // Checks
        require(msg.sender == _pendingOwner, "Ownable: caller != pending owner");

        // Effects
        emit OwnershipTransferred(owner, _pendingOwner);
        owner = _pendingOwner;
        pendingOwner = address(0);
    }

    /// @notice Only allows the `owner` to execute the function.
    modifier onlyOwner() {
        require(msg.sender == owner, "Ownable: caller is not the owner");
        _;
    }
}

contract sSIN is ERC20Permit, Ownable {

    using LowGasSafeMath for uint256;

    modifier onlyStakingContract() {
        require( msg.sender == stakingContract, "OSC" );
        _;
    }

    address public stakingContract;
    address public initializer;

    event LogSupply(uint256 indexed epoch, uint256 timestamp, uint256 totalSupply );
    event LogRebase( uint256 indexed epoch, uint256 rebase, uint256 index );
    event LogStakingContractUpdated( address stakingContract );
    event LogSetIndex(uint256 indexed index );

    struct Rebase {
        uint epoch;
        uint rebase; // 18 decimals
        uint totalStakedBefore;
        uint totalStakedAfter;
        uint amountRebased;
        uint index;
        uint32 timeOccured;
    }
    Rebase[] public rebases;

    uint public INDEX;

    uint256 private constant MAX_UINT256 = ~uint256(0);
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 5000000 * 10**9;

    // TOTAL_GONS is a multiple of INITIAL_FRAGMENTS_SUPPLY so that _gonsPerFragment is an integer.
    // Use the highest value that fits in a uint256 for max granularity.
    uint256 private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    // MAX_SUPPLY = maximum integer < (sqrt(4*TOTAL_GONS + 1) - 1) / 2
    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint256 private _gonsPerFragment;
    mapping(address => uint256) private _gonBalances;

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

    constructor() ERC20("Staked Sin", "sSIN", 9) ERC20Permit() {
        initializer = msg.sender;
        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);
    }

    function initialize( address stakingContract_ ) external returns ( bool ) {
        require( msg.sender == initializer, "NA" );
        require( stakingContract_ != address(0), "IA" );
        stakingContract = stakingContract_;
        _gonBalances[ stakingContract ] = TOTAL_GONS;

        emit Transfer( address(0x0), stakingContract, _totalSupply );
        emit LogStakingContractUpdated( stakingContract_ );
        
        initializer = address(0);
        return true;
    }

    function setIndex( uint _INDEX ) external onlyOwner() {
        require( INDEX == 0, "INZ");
        INDEX = gonsForBalance( _INDEX );
        emit LogSetIndex(INDEX);
    }

    /**
        @notice increases sSIN\ supply to increase staking balances relative to profit_
        @param profit_ uint256
        @return uint256
     */
    function rebase( uint256 profit_, uint epoch_ ) public onlyStakingContract() returns ( uint256 ) {
        uint256 rebaseAmount;
        uint256 circulatingSupply_ = circulatingSupply();

        if ( profit_ == 0 ) {
            emit LogSupply( epoch_, block.timestamp, _totalSupply );
            emit LogRebase( epoch_, 0, index() );
            return _totalSupply;
        } else if ( circulatingSupply_ > 0 ){
            rebaseAmount = profit_.mul( _totalSupply ).div( circulatingSupply_ );
        } else {
            rebaseAmount = profit_;
        }

        _totalSupply = _totalSupply.add( rebaseAmount );

        if ( _totalSupply > MAX_SUPPLY ) {
            _totalSupply = MAX_SUPPLY;
        }

        _gonsPerFragment = TOTAL_GONS.div( _totalSupply );

        _storeRebase( circulatingSupply_, profit_, epoch_ );

        return _totalSupply;
    }

    /**
        @notice emits event with data about rebase
        @param previousCirculating_ uint
        @param profit_ uint
        @param epoch_ uint
        @return bool
     */
    function _storeRebase( uint previousCirculating_, uint profit_, uint epoch_ ) internal returns ( bool ) {
        uint rebasePercent = profit_.mul( 1e18 ).div( previousCirculating_ );

        rebases.push( Rebase ( {
            epoch: epoch_,
            rebase: rebasePercent, // 18 decimals
            totalStakedBefore: previousCirculating_,
            totalStakedAfter: circulatingSupply(),
            amountRebased: profit_,
            index: index(),
            timeOccured: uint32(block.timestamp)
        }));
        
        emit LogSupply( epoch_, block.timestamp, _totalSupply );
        emit LogRebase( epoch_, rebasePercent, index() );

        return true;
    }

    function balanceOf( address who ) public view override returns ( uint256 ) {
        return _gonBalances[ who ].div( _gonsPerFragment );
    }

    function gonsForBalance( uint amount ) public view returns ( uint ) {
        return amount.mul( _gonsPerFragment );
    }

    function balanceForGons( uint gons ) public view returns ( uint ) {
        return gons.div( _gonsPerFragment );
    }

    // Staking contract holds excess sSIN
    function circulatingSupply() public view returns ( uint ) {
        return _totalSupply.sub( balanceOf( stakingContract ) );
    }

    function index() public view returns ( uint ) {
        return balanceForGons( INDEX );
    }

    function transfer( address to, uint256 value ) public override returns (bool) {
        uint256 gonValue = value.mul( _gonsPerFragment );
        _gonBalances[ msg.sender ] = _gonBalances[ msg.sender ].sub( gonValue );
        _gonBalances[ to ] = _gonBalances[ to ].add( gonValue );
        emit Transfer( msg.sender, to, value );
        return true;
    }

    function allowance( address owner_, address spender ) public view override returns ( uint256 ) {
        return _allowedValue[ owner_ ][ spender ];
    }

    function transferFrom( address from, address to, uint256 value ) public override returns ( bool ) {
       _allowedValue[ from ][ msg.sender ] = _allowedValue[ from ][ msg.sender ].sub( value );
       emit Approval( from, msg.sender,  _allowedValue[ from ][ msg.sender ] );

        uint256 gonValue = gonsForBalance( value );
        _gonBalances[ from ] = _gonBalances[from].sub( gonValue );
        _gonBalances[ to ] = _gonBalances[to].add( gonValue );
        emit Transfer( from, to, value );

        return true;
    }

    function approve( address spender, uint256 value ) public override returns (bool) {
         _allowedValue[ msg.sender ][ spender ] = value;
         emit Approval( msg.sender, spender, value );
         return true;
    }

    // What gets called in a permit
    function _approve( address owner, address spender, uint256 value ) internal override virtual {
        _allowedValue[owner][spender] = value;
        emit Approval( owner, spender, value );
    }

    function increaseAllowance( address spender, uint256 addedValue ) public override returns (bool) {
        _allowedValue[ msg.sender ][ spender ] = _allowedValue[ msg.sender ][ spender ].add( addedValue );
        emit Approval( msg.sender, spender, _allowedValue[ msg.sender ][ spender ] );
        return true;
    }

    function decreaseAllowance( address spender, uint256 subtractedValue ) public override returns (bool) {
        uint256 oldValue = _allowedValue[ msg.sender ][ spender ];
        if (subtractedValue >= oldValue) {
            _allowedValue[ msg.sender ][ spender ] = 0;
        } else {
            _allowedValue[ msg.sender ][ spender ] = oldValue.sub( subtractedValue );
        }
        emit Approval( msg.sender, spender, _allowedValue[ msg.sender ][ spender ] );
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rebase","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"}],"name":"LogSetIndex","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"stakingContract","type":"address"}],"name":"LogStakingContractUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gons","type":"uint256"}],"name":"balanceForGons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"gonsForBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"index","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"stakingContract_","type":"address"}],"name":"initialize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"profit_","type":"uint256"},{"internalType":"uint256","name":"epoch_","type":"uint256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rebases","outputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"rebase","type":"uint256"},{"internalType":"uint256","name":"totalStakedBefore","type":"uint256"},{"internalType":"uint256","name":"totalStakedAfter","type":"uint256"},{"internalType":"uint256","name":"amountRebased","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint32","name":"timeOccured","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_INDEX","type":"uint256"}],"name":"setIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"bool","name":"direct","type":"bool"},{"internalType":"bool","name":"renounce","type":"bool"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604080518082018252600a81526929ba30b5b2b21029b4b760b11b60208083019182528351808501909452600484526339a9a4a760e11b90840152815191929160099162000064916003919062000288565b5081516200007a90600490602085019062000288565b506005805460ff191660ff92909216919091179055504690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000be620001cd565b805160209182012060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401526080808401949094523060a0808501919091528151808503909101815260c09093019081905282519290910191909120909152600780546001600160a01b03191633908117909155906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600a80546001600160a01b031916331790556611c37937e080006002819055620001c4908060001906600019036200026760201b62001a391790919060201c565b600d5562000334565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156200025d5780601f1062000231576101008083540402835291602001916200025d565b820191906000526020600020905b8154815290600101906020018083116200023f57829003601f168201915b5050505050905090565b60008082116200027657600080fd5b8183816200028057fe5b049392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620002c057600085556200030b565b82601f10620002db57805160ff19168380011785556200030b565b828001600101855582156200030b579182015b828111156200030b578251825591602001919060010190620002ee565b50620003199291506200031d565b5090565b5b808211156200031957600081556001016200031e565b608051611cc76200035460003980610d8d52806117da5250611cc76000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a08231116101045780639ce110d7116100a2578063d505accf11610071578063d505accf146105f3578063dd62ed3e14610651578063e30c39781461068c578063ee99205c14610694576101da565b80639ce110d714610546578063a457c2d71461054e578063a9059cbb14610587578063c4d66de8146105c0576101da565b80637ecebe00116100de5780637ecebe00146104d25780638da5cb5b146105055780639358928b1461053657806395d89b411461053e576101da565b806370a082311461042757806373c69eb71461045a5780637965d56d146104b5576101da565b80632986c0e51161017c5780633644e5151161014b5780633644e515146103c157806339509351146103c957806340a5737f146104025780634e71e0c81461041f576101da565b80632986c0e51461038b5780632df75cb11461039357806330adf81f1461039b578063313ce567146103a3576101da565b8063095ea7b3116101b8578063095ea7b3146102d657806318160ddd146103235780631bd396741461032b57806323b872dd14610348576101da565b8063058ecdb4146101df57806306fdde0314610214578063078dfbe714610291575b600080fd5b610202600480360360408110156101f557600080fd5b508035906020013561069c565b60408051918252519081900360200190f35b61021c61087f565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025657818101518382015260200161023e565b50505050905090810190601f1680156102835780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102d4600480360360608110156102a757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135151590604001351515610933565b005b61030f600480360360408110156102ec57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b29565b604080519115158252519081900360200190f35b610202610b9c565b6102026004803603602081101561034157600080fd5b5035610ba2565b61030f6004803603606081101561035e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610bb9565b610202610d46565b610202610d58565b610202610d5e565b6103ab610d82565b6040805160ff9092168252519081900360200190f35b610202610d8b565b61030f600480360360408110156103df57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610daf565b6102d46004803603602081101561041857600080fd5b5035610e5c565b6102d4610f8b565b6102026004803603602081101561043d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166110a7565b6104776004803603602081101561047057600080fd5b50356110dc565b604080519788526020880196909652868601949094526060860192909252608085015260a084015263ffffffff1660c0830152519081900360e00190f35b610202600480360360208110156104cb57600080fd5b5035611131565b610202600480360360208110156104e857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611148565b61050d611176565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610202611192565b61021c6111c4565b61050d611243565b61030f6004803603604081101561056457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561125f565b61030f6004803603604081101561059d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561137c565b61030f600480360360208110156105d657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611456565b6102d4600480360360e081101561060957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561168f565b6102026004803603604081101561066757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166119c9565b61050d611a01565b61050d611a1d565b60095460009073ffffffffffffffffffffffffffffffffffffffff16331461072557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4f53430000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600080610730611192565b9050846107c657600254604080514281526020810192909252805186927f917acfbe39be6509ccf7fecb66a7e42ce2be1083c2d7dd3b9b7491dabddb8da492908290030190a2837f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb260006107a2610d46565b6040805192835260208301919091528051918290030190a260025492505050610879565b80156107f2576107eb816107e560025488611a5890919063ffffffff16565b90611a39565b91506107f6565b8491505b6002546108039083611a7c565b60028190556fffffffffffffffffffffffffffffffff1015610834576fffffffffffffffffffffffffffffffff6002555b600254610862907ffffffffffffffffffffffffffffffffffffffffffffffffffff1c2d3019e000090611a39565b600d55610870818686611a8c565b50600254925050505b92915050565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109295780601f106108fe57610100808354040283529160200191610929565b820191906000526020600020905b81548152906001019060200180831161090c57829003601f168201915b5050505050905090565b60075473ffffffffffffffffffffffffffffffffffffffff1633146109b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8115610ae35773ffffffffffffffffffffffffffffffffffffffff83161515806109e05750805b610a4b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4f776e61626c653a207a65726f20616464726573730000000000000000000000604482015290519081900360640190fd5b60075460405173ffffffffffffffffffffffffffffffffffffffff8086169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36007805473ffffffffffffffffffffffffffffffffffffffff85167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600880549091169055610b24565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b505050565b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000610879600d5483611a5890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600f60209081526040808320338452909152812054610bf49083611c05565b73ffffffffffffffffffffffffffffffffffffffff85166000818152600f60209081526040808320338085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a36000610c6883610ba2565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600e6020526040902054909150610c9b9082611c05565b73ffffffffffffffffffffffffffffffffffffffff8087166000908152600e60205260408082209390935590861681522054610cd79082611a7c565b73ffffffffffffffffffffffffffffffffffffffff8086166000818152600e602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001949350505050565b6000610d53600c54611131565b905090565b600c5481565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054610dea9083611a7c565b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610ee257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c5415610f5157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f494e5a0000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b610f5a81610ba2565b600c8190556040517f4dd23f23e8fad98bd3817ee69155b701f911c04ba790df40c43aaed54ada487490600090a250565b60085473ffffffffffffffffffffffffffffffffffffffff1633811461101257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015290519081900360640190fd5b60075460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36007805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179055600880549091169055565b600d5473ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604081205490916108799190611a39565b600b81815481106110ec57600080fd5b60009182526020909120600790910201805460018201546002830154600384015460048501546005860154600690960154949650929491939092919063ffffffff1687565b6000610879600d5483611a3990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812061087990611c15565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b600954600090610d53906111bb9073ffffffffffffffffffffffffffffffffffffffff166110a7565b60025490611c05565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109295780601f106108fe57610100808354040283529160200191610929565b600a5473ffffffffffffffffffffffffffffffffffffffff1681565b336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120548083106112cd57336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff88168452909152812055611309565b6112d78184611c05565b336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091529020555b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600080611394600d5484611a5890919063ffffffff16565b336000908152600e60205260409020549091506113b19082611c05565b336000908152600e60205260408082209290925573ffffffffffffffffffffffffffffffffffffffff8616815220546113ea9082611a7c565b73ffffffffffffffffffffffffffffffffffffffff85166000818152600e60209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b600a5460009073ffffffffffffffffffffffffffffffffffffffff1633146114df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f4e41000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821661156157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f4941000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8481169190911780835581166000908152600e602090815260408083207ffffffffffffffffffffffffffffffffffffffffffffffffffff1c2d3019e0000905593546002548551908152945193169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36040805173ffffffffffffffffffffffffffffffffffffffff8416815290517f817c653428858ed536dc085c5d8273734c517b55de44b55f5c5877a75e3373a19181900360200190a15050600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055600190565b834211156116fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c99089908990899061175490611c15565b6040805160208082019790975273ffffffffffffffffffffffffffffffffffffffff95861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e0820183528051908401207f19010000000000000000000000000000000000000000000000000000000000006101008301527f0000000000000000000000000000000000000000000000000000000000000000610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa15801561189e573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81161580159061191957508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61198457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20496e76616c6964207369676e61747572650000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526006602052604090206119b290611c19565b6119bd8a8a8a611c22565b50505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600f6020908152604080832093909416825291909152205490565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b6000808211611a4757600080fd5b818381611a5057fe5b049392505050565b6000821580611a7357505081810281838281611a7057fe5b04145b61087957600080fd5b8082018281101561087957600080fd5b600080611aa5856107e586670de0b6b3a7640000611a58565b9050600b6040518060e00160405280858152602001838152602001878152602001611ace611192565b8152602001868152602001611ae1610d46565b81524263ffffffff81811660209384015284546001808201875560009687529584902085516007909202019081558484015195810195909555604080850151600280880191909155606086015160038801556080860151600488015560a0860151600588015560c090950151600690960180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000016969092169590951790559154835192835290820152815185927f917acfbe39be6509ccf7fecb66a7e42ce2be1083c2d7dd3b9b7491dabddb8da4928290030190a2827f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb282611be2610d46565b6040805192835260208301919091528051918290030190a2506001949350505050565b8082038281111561087957600080fd5b5490565b80546001019055565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600f6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350505056fea2646970667358221220d110c23c3e59d358c8e6f456b8313e463c15fa049be9c32f2e5afbcd63af13db64736f6c63430007050033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a08231116101045780639ce110d7116100a2578063d505accf11610071578063d505accf146105f3578063dd62ed3e14610651578063e30c39781461068c578063ee99205c14610694576101da565b80639ce110d714610546578063a457c2d71461054e578063a9059cbb14610587578063c4d66de8146105c0576101da565b80637ecebe00116100de5780637ecebe00146104d25780638da5cb5b146105055780639358928b1461053657806395d89b411461053e576101da565b806370a082311461042757806373c69eb71461045a5780637965d56d146104b5576101da565b80632986c0e51161017c5780633644e5151161014b5780633644e515146103c157806339509351146103c957806340a5737f146104025780634e71e0c81461041f576101da565b80632986c0e51461038b5780632df75cb11461039357806330adf81f1461039b578063313ce567146103a3576101da565b8063095ea7b3116101b8578063095ea7b3146102d657806318160ddd146103235780631bd396741461032b57806323b872dd14610348576101da565b8063058ecdb4146101df57806306fdde0314610214578063078dfbe714610291575b600080fd5b610202600480360360408110156101f557600080fd5b508035906020013561069c565b60408051918252519081900360200190f35b61021c61087f565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025657818101518382015260200161023e565b50505050905090810190601f1680156102835780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102d4600480360360608110156102a757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135151590604001351515610933565b005b61030f600480360360408110156102ec57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b29565b604080519115158252519081900360200190f35b610202610b9c565b6102026004803603602081101561034157600080fd5b5035610ba2565b61030f6004803603606081101561035e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610bb9565b610202610d46565b610202610d58565b610202610d5e565b6103ab610d82565b6040805160ff9092168252519081900360200190f35b610202610d8b565b61030f600480360360408110156103df57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610daf565b6102d46004803603602081101561041857600080fd5b5035610e5c565b6102d4610f8b565b6102026004803603602081101561043d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166110a7565b6104776004803603602081101561047057600080fd5b50356110dc565b604080519788526020880196909652868601949094526060860192909252608085015260a084015263ffffffff1660c0830152519081900360e00190f35b610202600480360360208110156104cb57600080fd5b5035611131565b610202600480360360208110156104e857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611148565b61050d611176565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610202611192565b61021c6111c4565b61050d611243565b61030f6004803603604081101561056457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561125f565b61030f6004803603604081101561059d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561137c565b61030f600480360360208110156105d657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611456565b6102d4600480360360e081101561060957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561168f565b6102026004803603604081101561066757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166119c9565b61050d611a01565b61050d611a1d565b60095460009073ffffffffffffffffffffffffffffffffffffffff16331461072557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f4f53430000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600080610730611192565b9050846107c657600254604080514281526020810192909252805186927f917acfbe39be6509ccf7fecb66a7e42ce2be1083c2d7dd3b9b7491dabddb8da492908290030190a2837f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb260006107a2610d46565b6040805192835260208301919091528051918290030190a260025492505050610879565b80156107f2576107eb816107e560025488611a5890919063ffffffff16565b90611a39565b91506107f6565b8491505b6002546108039083611a7c565b60028190556fffffffffffffffffffffffffffffffff1015610834576fffffffffffffffffffffffffffffffff6002555b600254610862907ffffffffffffffffffffffffffffffffffffffffffffffffffff1c2d3019e000090611a39565b600d55610870818686611a8c565b50600254925050505b92915050565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109295780601f106108fe57610100808354040283529160200191610929565b820191906000526020600020905b81548152906001019060200180831161090c57829003601f168201915b5050505050905090565b60075473ffffffffffffffffffffffffffffffffffffffff1633146109b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8115610ae35773ffffffffffffffffffffffffffffffffffffffff83161515806109e05750805b610a4b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4f776e61626c653a207a65726f20616464726573730000000000000000000000604482015290519081900360640190fd5b60075460405173ffffffffffffffffffffffffffffffffffffffff8086169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36007805473ffffffffffffffffffffffffffffffffffffffff85167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600880549091169055610b24565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b505050565b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000610879600d5483611a5890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600f60209081526040808320338452909152812054610bf49083611c05565b73ffffffffffffffffffffffffffffffffffffffff85166000818152600f60209081526040808320338085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a36000610c6883610ba2565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600e6020526040902054909150610c9b9082611c05565b73ffffffffffffffffffffffffffffffffffffffff8087166000908152600e60205260408082209390935590861681522054610cd79082611a7c565b73ffffffffffffffffffffffffffffffffffffffff8086166000818152600e602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001949350505050565b6000610d53600c54611131565b905090565b600c5481565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b7fc3aff47dd9bc0470d2109b14df70a1591fb86777a87f5a33fe997eddeb38670081565b336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054610dea9083611a7c565b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60075473ffffffffffffffffffffffffffffffffffffffff163314610ee257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c5415610f5157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f494e5a0000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b610f5a81610ba2565b600c8190556040517f4dd23f23e8fad98bd3817ee69155b701f911c04ba790df40c43aaed54ada487490600090a250565b60085473ffffffffffffffffffffffffffffffffffffffff1633811461101257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015290519081900360640190fd5b60075460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36007805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179055600880549091169055565b600d5473ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604081205490916108799190611a39565b600b81815481106110ec57600080fd5b60009182526020909120600790910201805460018201546002830154600384015460048501546005860154600690960154949650929491939092919063ffffffff1687565b6000610879600d5483611a3990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812061087990611c15565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b600954600090610d53906111bb9073ffffffffffffffffffffffffffffffffffffffff166110a7565b60025490611c05565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109295780601f106108fe57610100808354040283529160200191610929565b600a5473ffffffffffffffffffffffffffffffffffffffff1681565b336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091528120548083106112cd57336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff88168452909152812055611309565b6112d78184611c05565b336000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091529020555b336000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600080611394600d5484611a5890919063ffffffff16565b336000908152600e60205260409020549091506113b19082611c05565b336000908152600e60205260408082209290925573ffffffffffffffffffffffffffffffffffffffff8616815220546113ea9082611a7c565b73ffffffffffffffffffffffffffffffffffffffff85166000818152600e60209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b600a5460009073ffffffffffffffffffffffffffffffffffffffff1633146114df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f4e41000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821661156157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f4941000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8481169190911780835581166000908152600e602090815260408083207ffffffffffffffffffffffffffffffffffffffffffffffffffff1c2d3019e0000905593546002548551908152945193169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36040805173ffffffffffffffffffffffffffffffffffffffff8416815290517f817c653428858ed536dc085c5d8273734c517b55de44b55f5c5877a75e3373a19181900360200190a15050600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055600190565b834211156116fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c99089908990899061175490611c15565b6040805160208082019790975273ffffffffffffffffffffffffffffffffffffffff95861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e0820183528051908401207f19010000000000000000000000000000000000000000000000000000000000006101008301527fc3aff47dd9bc0470d2109b14df70a1591fb86777a87f5a33fe997eddeb386700610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa15801561189e573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81161580159061191957508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61198457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f45524332305065726d69743a20496e76616c6964207369676e61747572650000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526006602052604090206119b290611c19565b6119bd8a8a8a611c22565b50505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600f6020908152604080832093909416825291909152205490565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b6000808211611a4757600080fd5b818381611a5057fe5b049392505050565b6000821580611a7357505081810281838281611a7057fe5b04145b61087957600080fd5b8082018281101561087957600080fd5b600080611aa5856107e586670de0b6b3a7640000611a58565b9050600b6040518060e00160405280858152602001838152602001878152602001611ace611192565b8152602001868152602001611ae1610d46565b81524263ffffffff81811660209384015284546001808201875560009687529584902085516007909202019081558484015195810195909555604080850151600280880191909155606086015160038801556080860151600488015560a0860151600588015560c090950151600690960180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000016969092169590951790559154835192835290820152815185927f917acfbe39be6509ccf7fecb66a7e42ce2be1083c2d7dd3b9b7491dabddb8da4928290030190a2827f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb282611be2610d46565b6040805192835260208301919091528051918290030190a2506001949350505050565b8082038281111561087957600080fd5b5490565b80546001019055565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600f6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350505056fea2646970667358221220d110c23c3e59d358c8e6f456b8313e463c15fa049be9c32f2e5afbcd63af13db64736f6c63430007050033

Deployed Bytecode Sourcemap

29297:7542:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31945:894;;;;;;;;;;;;;;;;-1:-1:-1;31945:894:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;14640:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28172:506;;;;;;;;;;;;;;;;-1:-1:-1;28172:506:0;;;;;;;;;;;;;;;;;;:::i;:::-;;35525:226;;;;;;;;;;;;;;;;-1:-1:-1;35525:226:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;15651:94;;;:::i;33899:124::-;;;;;;;;;;;;;;;;-1:-1:-1;33899:124:0;;:::i;34980:537::-;;;;;;;;;;;;;;;;-1:-1:-1;34980:537:0;;;;;;;;;;;;;;;;;;:::i;34342:95::-;;;:::i;30115:17::-;;;:::i;25679:108::-;;;:::i;15517:77::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25796:41;;;:::i;36002:322::-;;;;;;;;;;;;;;;;-1:-1:-1;36002:322:0;;;;;;;;;:::i;31596:177::-;;;;;;;;;;;;;;;;-1:-1:-1;31596:177:0;;:::i;28760:340::-;;;:::i;33747:144::-;;;;;;;;;;;;;;;;-1:-1:-1;33747:144:0;;;;:::i;30083:23::-;;;;;;;;;;;;;;;;-1:-1:-1;30083:23:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34031:120;;;;;;;;;;;;;;;;-1:-1:-1;34031:120:0;;:::i;27182:::-;;;;;;;;;;;;;;;;-1:-1:-1;27182:120:0;;;;:::i;27337:20::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34202:132;;;:::i;14826:81::-;;;:::i;29539:26::-;;;:::i;36332:504::-;;;;;;;;;;;;;;;;-1:-1:-1;36332:504:0;;;;;;;;;:::i;34445:364::-;;;;;;;;;;;;;;;;-1:-1:-1;34445:364:0;;;;;;;;;:::i;31094:494::-;;;;;;;;;;;;;;;;-1:-1:-1;31094:494:0;;;;:::i;26347:767::-;;;;;;;;;;;;;;;;-1:-1:-1;26347:767:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;34817:155::-;;;;;;;;;;;;;;;;-1:-1:-1;34817:155:0;;;;;;;;;;;:::i;27364:27::-;;;:::i;29502:30::-;;;:::i;31945:894::-;29450:15;;32032:7;;29450:15;;29436:10;:29;29427:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32053:20:::1;32084:26:::0;32113:19:::1;:17;:19::i;:::-;32084:48:::0;-1:-1:-1;32150:12:0;32145:372:::1;;32221:12;::::0;32185:50:::1;::::0;;32204:15:::1;32185:50:::0;;::::1;::::0;::::1;::::0;;;;;;32196:6;;32185:50:::1;::::0;;;;;;;::::1;32266:6;32255:31;32274:1;32277:7;:5;:7::i;:::-;32255:31;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;32308:12;;32301:19;;;;;;32145:372;32343:22:::0;;32338:179:::1;;32397:53;32430:18;32397:27;32410:12;;32397:7;:11;;:27;;;;:::i;:::-;:31:::0;::::1;:53::i;:::-;32382:68;;32338:179;;;32498:7;32483:22;;32338:179;32544:12;::::0;:32:::1;::::0;32562:12;32544:16:::1;:32::i;:::-;32529:12;:47:::0;;;32609:10:::1;-1:-1:-1::0;32589:85:0::1;;;32652:10;32637:12;:25:::0;32589:85:::1;32721:12;::::0;32705:30:::1;::::0;30487:54;;32705:14:::1;:30::i;:::-;32686:16;:49:::0;32748:51:::1;32762:18:::0;32782:7;32791:6;32748:12:::1;:51::i;:::-;;32819:12;;32812:19;;;;29485:1;31945:894:::0;;;;:::o;14640:77::-;14706:5;14699:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14677:13;;14699:12;;14706:5;;14699:12;;14706:5;14699:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14640:77;:::o;28172:506::-;29228:5;;;;29214:10;:19;29206:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28311:6:::1;28307:364;;;28365:22;::::0;::::1;::::0;::::1;::::0;:34:::1;;;28391:8;28365:34;28357:68;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;28492:5;::::0;28471:37:::1;::::0;::::1;::::0;;::::1;::::0;28492:5:::1;::::0;28471:37:::1;::::0;28492:5:::1;::::0;28471:37:::1;28523:5;:16:::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;28554:12:::1;:25:::0;;;;::::1;::::0;;28307:364:::1;;;28636:12;:23:::0;;;::::1;;::::0;::::1;;::::0;;28307:364:::1;28172:506:::0;;;:::o;35525:226::-;35634:10;35601:4;35619:27;;;:13;:27;;;;;;;;;:38;;;;;;;;;;;:46;;;35682:38;;;;;;;35601:4;;35619:38;;35634:10;;35682:38;;;;;;;;-1:-1:-1;35739:4:0;35525:226;;;;:::o;15651:94::-;15727:12;;15651:94;:::o;33899:124::-;33960:4;33985:30;33997:16;;33985:6;:10;;:30;;;;:::i;34980:537::-;35126:21;;;35071:4;35126:21;;;:13;:21;;;;;;;;35149:10;35126:35;;;;;;;;:48;;35167:5;35126:39;:48::i;:::-;35088:21;;;;;;;:13;:21;;;;;;;;35111:10;35088:35;;;;;;;;;;:86;;;35189:66;;;;;;35111:10;;35189:66;;;;;;;;;;;35268:16;35287:23;35303:5;35287:14;:23::i;:::-;35344:18;;;;;;;:12;:18;;;;;;35268:42;;-1:-1:-1;35344:34:0;;35268:42;35344:22;:34::i;:::-;35321:20;;;;;;;;:12;:20;;;;;;:57;;;;35410:16;;;;;;;:32;;35432:8;35410:20;:32::i;:::-;35389:18;;;;;;;;:12;:18;;;;;;;;;:53;;;;35458:27;;;;;;;35389:18;;35458:27;;;;;;;;;;;;;-1:-1:-1;35505:4:0;;34980:537;-1:-1:-1;;;;34980:537:0:o;34342:95::-;34381:4;34406:23;34422:5;;34406:14;:23::i;:::-;34399:30;;34342:95;:::o;30115:17::-;;;;:::o;25679:108::-;25721:66;25679:108;:::o;15517:77::-;15579:9;;;;15517:77;:::o;25796:41::-;;;:::o;36002:322::-;36166:10;36093:4;36151:27;;;:13;:27;;;;;;;;;:38;;;;;;;;;;:56;;36195:10;36151:42;:56::i;:::-;36125:10;36110:27;;;;:13;:27;;;;;;;;;:38;;;;;;;;;;;;:97;;;36223:71;;;;;;36110:38;;36223:71;;;;;;;;;;;-1:-1:-1;36312:4:0;36002:322;;;;:::o;31596:177::-;29228:5;;;;29214:10;:19;29206:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31670:5:::1;::::0;:10;31661:27:::1;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;31707:24;31723:6;31707:14;:24::i;:::-;31699:5;:32:::0;;;31747:18:::1;::::0;::::1;::::0;;;::::1;31596:177:::0;:::o;28760:340::-;28828:12;;;;28880:10;:27;;28872:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29003:5;;28982:42;;;;;;;29003:5;;28982:42;;29003:5;;28982:42;29035:5;:21;;;;;;;;;;;;;29067:12;:25;;;;;;;28760:340::o;33747:144::-;33865:16;;33840:19;;;33812:7;33840:19;;;:12;:19;;;;;;33812:7;;33840:43;;:19;:23;:43::i;30083:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30083:23:0;;;;;;;;;;;:::o;34031:120::-;34090:4;34115:28;34125:16;;34115:4;:8;;:28;;;;:::i;27182:120::-;27270:14;;;27243:7;27270:14;;;:7;:14;;;;;:24;;:22;:24::i;27337:20::-;;;;;;:::o;34202:132::-;34307:15;;34253:4;;34278:48;;34296:28;;34307:15;;34296:9;:28::i;:::-;34278:12;;;:16;:48::i;14826:81::-;14894:7;14887:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14865:13;;14887:14;;14894:7;;14887:14;;14894:7;14887:14;;;;;;;;;;;;;;;;;;;;;;;;29539:26;;;;;;:::o;36332:504::-;36479:10;36428:4;36464:27;;;:13;:27;;;;;;;;;:38;;;;;;;;;;36517:27;;;36513:207;;36576:10;36602:1;36561:27;;;:13;:27;;;;;;;;;:38;;;;;;;;;:42;36513:207;;;36677:31;:8;36691:15;36677:12;:31::i;:::-;36651:10;36636:27;;;;:13;:27;;;;;;;;;:38;;;;;;;;;:72;36513:207;36745:10;36766:27;;;;:13;:27;;;;;;;;36735:71;;;36766:38;;;;;;;;;;;36735:71;;;;;;;;;36745:10;36735:71;;;;;;;;;;;-1:-1:-1;36824:4:0;;36332:504;-1:-1:-1;;;36332:504:0:o;34445:364::-;34517:4;34534:16;34553:29;34564:16;;34553:5;:9;;:29;;;;:::i;:::-;34636:10;34622:26;;;;:12;:26;;;;;;34534:48;;-1:-1:-1;34622:42:0;;34534:48;34622:30;:42::i;:::-;34607:10;34593:26;;;;:12;:26;;;;;;:71;;;;:26;34696:18;;;;;;:34;;34720:8;34696:22;:34::i;:::-;34675:18;;;;;;;:12;:18;;;;;;;;;:55;;;;34746:33;;;;;;;34675:18;;34756:10;;34746:33;;;;;;;;;;-1:-1:-1;34797:4:0;;34445:364;-1:-1:-1;;;34445:364:0:o;31094:494::-;31202:11;;31161:4;;31202:11;;31188:10;:25;31179:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31241:30;;;31232:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31290:15;:34;;;;;;;;;;;;;;;31349:15;;-1:-1:-1;31335:31:0;;;:12;:31;;;;;;;;30487:54;31335:44;;31421:15;;31438:12;;31397:55;;;;;;;31421:15;;;-1:-1:-1;;31397:55:0;;;;;;;;;;31468:45;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31534:11:0;:24;;;;;;-1:-1:-1;;31094:494:0:o;26347:767::-;26592:8;26573:15;:27;;26565:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26738:14;;;26642:18;26738:14;;;:7;:14;;;;;25721:66;;26714:5;;26721:7;;26730:6;;26738:24;;:22;:24::i;:::-;26686:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26676:98;;;;;;26813:62;;;;;26846:16;26813:62;;;;;;;;;;;;;;;;;;;;;;;;;;;26803:73;;;;;;;;;-1:-1:-1;26906:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26676:98;;-1:-1:-1;26803:73:0;;26906:25;;;;;;;-1:-1:-1;26906:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26906:25:0;;;;;;-1:-1:-1;;26950:20:0;;;;;;;:39;;;26984:5;26974:15;;:6;:15;;;26950:39;26942:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27037:14;;;;;;;:7;:14;;;;;:26;;:24;:26::i;:::-;27074:32;27083:5;27090:7;27099:6;27074:8;:32::i;:::-;26347:767;;;;;;;;;;:::o;34817:155::-;34930:23;;;;34902:7;34930:23;;;:13;:23;;;;;;;;:34;;;;;;;;;;;;;34817:155::o;27364:27::-;;;;;;:::o;29502:30::-;;;;;;:::o;1804:116::-;1861:9;1894:1;1890;:5;1882:14;;;;;;1911:1;1909;:3;;;;;;;1804:116;-1:-1:-1;;;1804:116:0:o;1071:127::-;1129:9;1159:6;;;:30;;-1:-1:-1;;1174:5:0;;;1188:1;1183;1174:5;1183:1;1169:15;;;;;:20;1159:30;1151:39;;;;;264:113;357:5;;;352:16;;;;344:25;;;;;33038:701;33135:4;;33174:47;33199:20;33174:19;:7;33187:4;33174:11;:19::i;:47::-;33153:68;;33234:7;33248:323;;;;;;;;33279:6;33248:323;;;;33308:13;33248:323;;;;33370:20;33248:323;;;;33423:19;:17;:19::i;:::-;33248:323;;;;33472:7;33248:323;;;;33501:7;:5;:7::i;:::-;33248:323;;33543:15;33248:323;;;;;;;;;33234:338;;;;;;;;-1:-1:-1;33234:338:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33634:12;;33598:50;;;;;;;;;;;33609:6;;33598:50;;;;;;;;33675:6;33664:43;33683:13;33698:7;:5;:7::i;:::-;33664:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33727:4:0;;33038:701;-1:-1:-1;;;;33038:701:0:o;667:113::-;760:5;;;755:16;;;;747:25;;;;;23502:114;23594:14;;23502:114::o;23624:181::-;23778:19;;23796:1;23778:19;;;23624:181::o;35796:198::-;35900:20;;;;;;;;:13;:20;;;;;;;;:29;;;;;;;;;;;;;:37;;;35953:33;;;;;;;;;;;;;;;;;35796:198;;;:::o

Swarm Source

ipfs://d110c23c3e59d358c8e6f456b8313e463c15fa049be9c32f2e5afbcd63af13db
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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