ETH Price: $3,331.95 (-3.91%)
Gas: 8.24 Gwei

Token

Flow Protocol (FLOW)
 

Overview

Max Total Supply

566,333,982.812893909 FLOW

Holders

1,892 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.000000018 FLOW

Value
$0.00
0xB20BF581918ff405C78c8ddf3BDe8Ff59D6df7a4
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

FLOW is an Ethereum based self-distributing store of value token. The protocol distributes inflation of FLOW tokens to all addresses holding it without the need for a single transaction which allows the token to be applied to modern DeFi use cases without diluting token holders.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FLOW

Compiler Version
v0.6.2+commit.bacdbe57

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-08-13
*/

// File: contracts\math\ABDKMath.sol

/*
 * ABDK Math 64.64 Smart Contract Library.  Copyright © 2019 by ABDK Consulting.
 * Author: Mikhail Vladimirov <[email protected]>
 */
pragma solidity ^0.6.0;

/**
 * Smart contract library of mathematical functions operating with signed
 * 64.64-bit fixed point numbers.  Signed 64.64-bit fixed point number is
 * basically a simple fraction whose numerator is signed 128-bit integer and
 * denominator is 2^64.  As long as denominator is always the same, there is no
 * need to store it, thus in Solidity signed 64.64-bit fixed point numbers are
 * represented by int128 type holding only the numerator.
 */
library ABDKMath64x64 {
  /**
   * Minimum value signed 64.64-bit fixed point number may have.
   */
  int128 private constant MIN_64x64 = -0x80000000000000000000000000000000;

  /**
   * Maximum value signed 64.64-bit fixed point number may have.
   */
  int128 private constant MAX_64x64 = 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;

  /**
   * Calculate x + y.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function add (int128 x, int128 y) internal pure returns (int128) {
    int256 result = int256(x) + y;
    require (result >= MIN_64x64 && result <= MAX_64x64);
    return int128 (result);
  }

  /**
   * Calculate x * y rounding down, where x is signed 64.64 fixed point number
   * and y is unsigned 256-bit integer number.  Revert on overflow.
   *
   * @param x signed 64.64 fixed point number
   * @param y unsigned 256-bit integer number
   * @return unsigned 256-bit integer number
   */
  function mulu (int128 x, uint256 y) internal pure returns (uint256) {
    if (y == 0) return 0;

    require (x >= 0);

    uint256 lo = (uint256 (x) * (y & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)) >> 64;
    uint256 hi = uint256 (x) * (y >> 128);

    require (hi <= 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);
    hi <<= 64;

    require (hi <=
      0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF - lo);
    return hi + lo;
  }

  /**
   * Calculate x^y assuming 0^0 is 1, where x is signed 64.64 fixed point number
   * and y is unsigned 256-bit integer number.  Revert on overflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @param y uint256 value
   * @return signed 64.64-bit fixed point number
   */
  function pow (int128 x, uint256 y) internal pure returns (int128) {
    uint256 absoluteResult;
    bool negativeResult = false;
    if (x >= 0) {
      absoluteResult = powu (uint256 (x) << 63, y);
    } else {
      // We rely on overflow behavior here
      absoluteResult = powu (uint256 (uint128 (-x)) << 63, y);
      negativeResult = y & 1 > 0;
    }

    absoluteResult >>= 63;

    if (negativeResult) {
      require (absoluteResult <= 0x80000000000000000000000000000000);
      return -int128 (absoluteResult); // We rely on overflow behavior here
    } else {
      require (absoluteResult <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF);
      return int128 (absoluteResult); // We rely on overflow behavior here
    }
  }

  /**
   * Calculate x^y assuming 0^0 is 1, where x is unsigned 129.127 fixed point
   * number and y is unsigned 256-bit integer number.  Revert on overflow.
   *
   * @param x unsigned 129.127-bit fixed point number
   * @param y uint256 value
   * @return unsigned 129.127-bit fixed point number
   */
  function powu (uint256 x, uint256 y) private pure returns (uint256) {
    if (y == 0) return 0x80000000000000000000000000000000;
    else if (x == 0) return 0;
    else {
      int256 msb = 0;
      uint256 xc = x;
      if (xc >= 0x100000000000000000000000000000000) { xc >>= 128; msb += 128; }
      if (xc >= 0x10000000000000000) { xc >>= 64; msb += 64; }
      if (xc >= 0x100000000) { xc >>= 32; msb += 32; }
      if (xc >= 0x10000) { xc >>= 16; msb += 16; }
      if (xc >= 0x100) { xc >>= 8; msb += 8; }
      if (xc >= 0x10) { xc >>= 4; msb += 4; }
      if (xc >= 0x4) { xc >>= 2; msb += 2; }
      if (xc >= 0x2) msb += 1;  // No need to shift xc anymore

      int256 xe = msb - 127;
      if (xe > 0) x >>= xe;
      else x <<= -xe;

      uint256 result = 0x80000000000000000000000000000000;
      int256 re = 0;

      while (y > 0) {
        if (y & 1 > 0) {
          result = result * x;
          y -= 1;
          re += xe;
          if (result >=
            0x8000000000000000000000000000000000000000000000000000000000000000) {
            result >>= 128;
            re += 1;
          } else result >>= 127;
          if (re < -127) return 0; // Underflow
          require (re < 128); // Overflow
        } else {
          x = x * x;
          y >>= 1;
          xe <<= 1;
          if (x >=
            0x8000000000000000000000000000000000000000000000000000000000000000) {
            x >>= 128;
            xe += 1;
          } else x >>= 127;
          if (xe < -127) return 0; // Underflow
          require (xe < 128); // Overflow
        }
      }

      if (re > 0) result <<= re;
      else if (re < 0) result >>= -re;

      return result;
    }
  }
}

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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.
     */
    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.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        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.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

    /**
     * @dev 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].
     */
    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).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * 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");
        return _functionCallWithValue(target, data, value, 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);
            }
        }
    }
}

// File: contracts\FLOW.sol

pragma solidity ^0.6.2;






contract FLOW is Context, IERC20 {
    using SafeMath for uint256;
    using ABDKMath64x64 for int128;
    using Address for address;

    mapping (address => uint256) private _partsOwned;
    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private constant INITIAL_SUPPLY = 10 * 10**6 * 10**9;
    uint256 private constant MAX_UINT = ~uint256(0);
    uint256 private constant TOTAL_PARTS = MAX_UINT - (MAX_UINT % INITIAL_SUPPLY);

    uint256 private constant CYCLE_SECONDS = 86400;
    uint256 private constant FINAL_CYCLE = 3711;

    struct Era {
        uint256 startCycle;
        uint256 endCycle;
        int128 cycleInflation;
        uint256 finalSupply;
    }

    Era[11] private _eras;
    uint256 private _startTime;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    constructor () public {
        _name = 'Flow Protocol';
        _symbol = 'FLOW';
        _decimals = 9;

        _partsOwned[_msgSender()] = TOTAL_PARTS;
        _initEras();
        _startTime = now;
    }

    function _initEras() private {
        _eras[0] = Era(1, 60, 184467440737095516, 18166966985640902);
        _eras[1] = Era(61, 425, 92233720368547758, 112174713264391144);
        _eras[2] = Era(426, 790, 46116860184273879, 279057783081840914);
        _eras[3] = Era(791, 1155, 23058430092136939, 440268139544969912);
        _eras[4] = Era(1156, 1520, 11529215046068469, 553044069474490613);
        _eras[5] = Era(1521, 1885, 5764607523034234, 619853011328525904);
        _eras[6] = Era(1886, 2250, 2882303761517117, 656228575376038043);
        _eras[7] = Era(2251, 2615, 1441151880758558, 675209948612919169);
        _eras[8] = Era(2616, 2980, 720575940379279, 684905732173838476);
        _eras[9] = Era(2981, 3345, 360287970189639, 689805758238227141);
        _eras[10] = Era(3346, 3710, 180143985094819, 692268913795056564);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function startTime() external view returns(uint256) {
        return _startTime;
    }

    function sendAirdrop(address[] calldata recipients, uint256 airdropAmt) external {
        for (uint256 i = 0; i < recipients.length; i++) {
            transfer(recipients[i], airdropAmt);
        }
    }

    function totalSupply() public view override returns (uint256) {
        return _getSupply(INITIAL_SUPPLY, getCurrentCycle());
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _partsOwned[account].div(_getRate(TOTAL_PARTS, totalSupply()));
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    function getCurrentCycle() public view returns (uint256) {
        return _getCycle(_startTime, now);
    }

    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function _transfer(address sender, address recipient, uint256 amount) private {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        uint256 currentRate = _getRate(TOTAL_PARTS, totalSupply());
        uint256 partsToTransfer = amount.mul(currentRate);
        _partsOwned[sender] = _partsOwned[sender].sub(partsToTransfer);
        _partsOwned[recipient] = _partsOwned[recipient].add(partsToTransfer);
        emit Transfer(sender, recipient, amount);
    }

    function _getCycle(uint256 startTime, uint256 currentTime) private pure returns(uint256) {
        uint256 secondsElapsed = _getElapsedSeconds(startTime, currentTime);
        uint256 cycle = (secondsElapsed - (secondsElapsed % CYCLE_SECONDS)) / CYCLE_SECONDS + 1;
        if (cycle >= FINAL_CYCLE) return FINAL_CYCLE;
        return cycle;
    }

    function _getElapsedSeconds(uint256 startTime, uint256 currentTime) private pure returns(uint256) {
        return currentTime.sub(startTime);
    }

    function _getSupply(uint256 initialSupply, uint256 currentCycle) private view returns(uint256) {
        uint256 currentSupply = initialSupply;
        for (uint256 i = 0; i < _eras.length; i++) {
            Era memory era = _eras[i];
            if (currentCycle > era.endCycle) {
                currentSupply = era.finalSupply;
            } else {
                currentSupply = _compound(currentSupply, era.cycleInflation, currentCycle.sub(era.startCycle));
                break;
            }
        }
        return currentSupply;
    }

    function _compound(uint256 principle, int128 rate, uint256 periods) private pure returns(uint256){
        uint256 result = ABDKMath64x64.mulu(
                            ABDKMath64x64.pow (
                                ABDKMath64x64.add (
                                0x10000000000000000,
                                rate),
                                periods), principle);
        return result;
    }

    function _getRate(uint256 totalParts, uint256 supply) private pure returns(uint256) {
        return totalParts.div(supply);
    }
}

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":"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":[{"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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"getCurrentCycle","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"airdropAmt","type":"uint256"}],"name":"sendAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060408051808201909152600d8082526c119b1bddc8141c9bdd1bd8dbdb609a1b60209092019182526200004891602f9162000419565b5060408051808201909152600480825263464c4f5760e01b6020909201918252620000769160309162000419565b506031805460ff19166009179055660e3d2cfe61ffff196000806200009a620000d1565b6001600160a01b03168152602081019190915260400160002055620000c76001600160e01b03620000d616565b42602e55620004bb565b335b90565b60408051608080820183526001808352603c602080850182905267028f5c28f5c28f5c85870181905266408ac29dd34bc66060968701819052600294909455600392909255600480546001600160801b0319908116909317905560059290925584518084018652603d8082526101a9828501819052670147ae147ae147ae83890181905267018e864eb0e7c3e89388018490526006929092556007556008805484169091179055600955845180840186526101aa80825261031682850181905266a3d70a3d70a3d78389018190526703df69934066b112938801849052600a92909255600b55600c805484169091179055600d55845180840186526103178082526104838285018190526651eb851eb851eb83890181905267061c258a4f8002b8938801849052600e92909255600f556010805484169091179055601155845180840186526104848082526105f08285018190526628f5c28f5c28f58389018190526707accea6aa29d8f59388018490526012929092556013556014805484169091179055601555845180840186526105f180825261075d82850181905266147ae147ae147a83890181905267089a29079931665093880184905260169290925560175560188054841690911790556019558451808401865261075e8082526108ca828501819052660a3d70a3d70a3d83890181905267091b646996bfd89b938801849052601a92909255601b55601c805484169091179055601d55845180840186526108cb808252610a3782850181905266051eb851eb851e83890181905267095ed3deefe1ff81938801849052601e92909255601f558354831617835560215584518084018652610a38808252610ba482850181905266028f5c28f5c28f838901819052670981462276d9b88c938801849052602292909255602355602480548416909117905560255584518084018652610ba5808252610d11828501819052660147ae147ae147838901819052670992aeaeafcefac5938801849052602692909255602755602880548416909117905560295584519283018552610d12808452610e7e92840183905265a3d70a3d70a395840186905267099b6ee8c7ccc3b493909401839052602a93909355602b55602c80549092169092179055602d55565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200045c57805160ff19168380011785556200048c565b828001600101855582156200048c579182015b828111156200048c5782518255916020019190600101906200046f565b506200049a9291506200049e565b5090565b620000d391905b808211156200049a5760008155600101620004a5565b61114b80620004cb6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806378e979251161008c578063a9059cbb11610066578063a9059cbb146102a8578063be26ed7f146102d4578063dd62ed3e146102dc578063eb246b641461030a576100ea565b806378e979251461026c57806395d89b4114610274578063a457c2d71461027c576100ea565b806323b872dd116100c857806323b872dd146101c6578063313ce567146101fc578063395093511461021a57806370a0823114610246576100ea565b806306fdde03146100ef578063095ea7b31461016c57806318160ddd146101ac575b600080fd5b6100f761037c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610131578181015183820152602001610119565b50505050905090810190601f16801561015e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101986004803603604081101561018257600080fd5b506001600160a01b038135169060200135610412565b604080519115158252519081900360200190f35b6101b4610430565b60408051918252519081900360200190f35b610198600480360360608110156101dc57600080fd5b506001600160a01b0381358116916020810135909116906040013561044f565b6102046104dc565b6040805160ff9092168252519081900360200190f35b6101986004803603604081101561023057600080fd5b506001600160a01b0381351690602001356104e5565b6101b46004803603602081101561025c57600080fd5b50356001600160a01b0316610539565b6101b4610581565b6100f7610587565b6101986004803603604081101561029257600080fd5b506001600160a01b0381351690602001356105e8565b610198600480360360408110156102be57600080fd5b506001600160a01b038135169060200135610656565b6101b461066a565b6101b4600480360360408110156102f257600080fd5b506001600160a01b0381358116916020013516610678565b61037a6004803603604081101561032057600080fd5b81019060208101813564010000000081111561033b57600080fd5b82018360208201111561034d57600080fd5b8035906020019184602083028401116401000000008311171561036f57600080fd5b9193509150356106a3565b005b602f8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104085780601f106103dd57610100808354040283529160200191610408565b820191906000526020600020905b8154815290600101906020018083116103eb57829003601f168201915b5050505050905090565b600061042661041f6106e2565b84846106e6565b5060015b92915050565b600061044a662386f26fc1000061044561066a565b6107d2565b905090565b600061045c848484610888565b6104d2846104686106e2565b6104cd85604051806060016040528060288152602001611080602891396001600160a01b038a166000908152600160205260408120906104a66106e2565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6109f816565b6106e6565b5060019392505050565b60315460ff1690565b60006104266104f26106e2565b846104cd85600160006105036106e2565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610a8f16565b600061042a61055c662386f26fc100006000195b0619610557610430565b610af0565b6001600160a01b0384166000908152602081905260409020549063ffffffff610b0216565b602e5490565b60308054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104085780601f106103dd57610100808354040283529160200191610408565b60006104266105f56106e2565b846104cd856040518060600160405280602581526020016110f1602591396001600061061f6106e2565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6109f816565b60006104266106636106e2565b8484610888565b600061044a602e5442610b44565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60005b828110156106dc576106d38484838181106106bd57fe5b905060200201356001600160a01b031683610656565b506001016106a6565b50505050565b3390565b6001600160a01b03831661072b5760405162461bcd60e51b81526004018080602001828103825260248152602001806110cd6024913960400191505060405180910390fd5b6001600160a01b0382166107705760405162461bcd60e51b815260040180806020018281038252602281526020018061103d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082815b600b811015610880576107e8610fee565b600282600b81106107f557fe5b6040805160808101825260049290920292909201805482526001810154602083018190526002820154600f90810b810b900b93830193909352600301546060820152915085111561084c5780606001519250610877565b6040810151815161086f91859161086a90899063ffffffff610b7d16565b610bbf565b925050610880565b506001016107d7565b509392505050565b6001600160a01b0383166108cd5760405162461bcd60e51b81526004018080602001828103825260258152602001806110a86025913960400191505060405180910390fd5b6001600160a01b0382166109125760405162461bcd60e51b815260040180806020018281038252602381526020018061101a6023913960400191505060405180910390fd5b6000610927662386f26fc1000060001961054d565b9050600061093b838363ffffffff610beb16565b6001600160a01b038616600090815260208190526040902054909150610967908263ffffffff610b7d16565b6001600160a01b03808716600090815260208190526040808220939093559086168152205461099c908263ffffffff610a8f16565b6001600160a01b038086166000818152602081815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610a875760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a4c578181015183820152602001610a34565b50505050905090810190601f168015610a795780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ae9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000610ae9838363ffffffff610b0216565b6000610ae983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610c44565b600080610b518484610ca9565b905060016201518080830683030401610e7f8110610b7557610e7f9250505061042a565b949350505050565b6000610ae983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506109f8565b600080610be2610bdc610bd6600160401b87610cbb565b85610cf8565b86610d88565b95945050505050565b600082610bfa5750600061042a565b82820282848281610c0757fe5b0414610ae95760405162461bcd60e51b815260040180806020018281038252602181526020018061105f6021913960400191505060405180910390fd5b60008183610c935760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610a4c578181015183820152602001610a34565b506000838581610c9f57fe5b0495945050505050565b6000610ae9828463ffffffff610b7d16565b6000600f83810b9083900b016f7fffffffffffffffffffffffffffffff198112801590610cef575060016001607f1b038113155b610ae957600080fd5b60008080600f85900b8113610d1f57610d18603f86600f0b901b85610df0565b9150610d43565b610d39603f866000036001600160801b0316901b85610df0565b9150506001831615155b603f82901c91508015610d6c576001607f1b821115610d6157600080fd5b50600003905061042a565b60016001607f1b03821115610d8057600080fd5b50905061042a565b600081610d975750600061042a565b600083600f0b1215610da857600080fd5b600f83900b6001600160801b038316810260401c90608084901c026001600160c01b03811115610dd757600080fd5b60401b8119811115610de857600080fd5b019392505050565b600081610e0257506001607f1b61042a565b82610e0f5750600061042a565b600083600160801b8110610e25576080918201911c5b600160401b8110610e38576040918201911c5b6401000000008110610e4c576020918201911c5b620100008110610e5e576010918201911c5b6101008110610e6f576008918201911c5b60108110610e7f576004918201911c5b60048110610e8f576002918201911c5b60028110610e9e576001820191505b607e1982016000811315610ec25780866000821215610eb957fe5b901c9550610ed7565b80600003866000821215610ed257fe5b901b95505b6001607f1b60005b8615610fa5576001871615610f475760001990960195908702908201600160ff1b8210610f155760809190911c90600101610f1d565b607f82901c91505b607e19811215610f355760009550505050505061042a565b60808112610f4257600080fd5b610fa0565b96800296600196871c969290921b91600160ff1b8810610f7357608088901c9750600183019250610f7b565b607f88901c97505b607e19831215610f935760009550505050505061042a565b60808312610fa057600080fd5b610edf565b6000811315610fc45780826000821215610fbb57fe5b901b9150610fe2565b6000811215610fe25780600003826000821215610fdd57fe5b901c91505b50935061042a92505050565b604051806080016040528060008152602001600081526020016000600f0b815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fd1feee2443660dcf06f9c88a2a78dd5fa53d2869e8f6d40070dd42563a8029a64736f6c63430006020033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806378e979251161008c578063a9059cbb11610066578063a9059cbb146102a8578063be26ed7f146102d4578063dd62ed3e146102dc578063eb246b641461030a576100ea565b806378e979251461026c57806395d89b4114610274578063a457c2d71461027c576100ea565b806323b872dd116100c857806323b872dd146101c6578063313ce567146101fc578063395093511461021a57806370a0823114610246576100ea565b806306fdde03146100ef578063095ea7b31461016c57806318160ddd146101ac575b600080fd5b6100f761037c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610131578181015183820152602001610119565b50505050905090810190601f16801561015e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101986004803603604081101561018257600080fd5b506001600160a01b038135169060200135610412565b604080519115158252519081900360200190f35b6101b4610430565b60408051918252519081900360200190f35b610198600480360360608110156101dc57600080fd5b506001600160a01b0381358116916020810135909116906040013561044f565b6102046104dc565b6040805160ff9092168252519081900360200190f35b6101986004803603604081101561023057600080fd5b506001600160a01b0381351690602001356104e5565b6101b46004803603602081101561025c57600080fd5b50356001600160a01b0316610539565b6101b4610581565b6100f7610587565b6101986004803603604081101561029257600080fd5b506001600160a01b0381351690602001356105e8565b610198600480360360408110156102be57600080fd5b506001600160a01b038135169060200135610656565b6101b461066a565b6101b4600480360360408110156102f257600080fd5b506001600160a01b0381358116916020013516610678565b61037a6004803603604081101561032057600080fd5b81019060208101813564010000000081111561033b57600080fd5b82018360208201111561034d57600080fd5b8035906020019184602083028401116401000000008311171561036f57600080fd5b9193509150356106a3565b005b602f8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104085780601f106103dd57610100808354040283529160200191610408565b820191906000526020600020905b8154815290600101906020018083116103eb57829003601f168201915b5050505050905090565b600061042661041f6106e2565b84846106e6565b5060015b92915050565b600061044a662386f26fc1000061044561066a565b6107d2565b905090565b600061045c848484610888565b6104d2846104686106e2565b6104cd85604051806060016040528060288152602001611080602891396001600160a01b038a166000908152600160205260408120906104a66106e2565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6109f816565b6106e6565b5060019392505050565b60315460ff1690565b60006104266104f26106e2565b846104cd85600160006105036106e2565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610a8f16565b600061042a61055c662386f26fc100006000195b0619610557610430565b610af0565b6001600160a01b0384166000908152602081905260409020549063ffffffff610b0216565b602e5490565b60308054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104085780601f106103dd57610100808354040283529160200191610408565b60006104266105f56106e2565b846104cd856040518060600160405280602581526020016110f1602591396001600061061f6106e2565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6109f816565b60006104266106636106e2565b8484610888565b600061044a602e5442610b44565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60005b828110156106dc576106d38484838181106106bd57fe5b905060200201356001600160a01b031683610656565b506001016106a6565b50505050565b3390565b6001600160a01b03831661072b5760405162461bcd60e51b81526004018080602001828103825260248152602001806110cd6024913960400191505060405180910390fd5b6001600160a01b0382166107705760405162461bcd60e51b815260040180806020018281038252602281526020018061103d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082815b600b811015610880576107e8610fee565b600282600b81106107f557fe5b6040805160808101825260049290920292909201805482526001810154602083018190526002820154600f90810b810b900b93830193909352600301546060820152915085111561084c5780606001519250610877565b6040810151815161086f91859161086a90899063ffffffff610b7d16565b610bbf565b925050610880565b506001016107d7565b509392505050565b6001600160a01b0383166108cd5760405162461bcd60e51b81526004018080602001828103825260258152602001806110a86025913960400191505060405180910390fd5b6001600160a01b0382166109125760405162461bcd60e51b815260040180806020018281038252602381526020018061101a6023913960400191505060405180910390fd5b6000610927662386f26fc1000060001961054d565b9050600061093b838363ffffffff610beb16565b6001600160a01b038616600090815260208190526040902054909150610967908263ffffffff610b7d16565b6001600160a01b03808716600090815260208190526040808220939093559086168152205461099c908263ffffffff610a8f16565b6001600160a01b038086166000818152602081815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610a875760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a4c578181015183820152602001610a34565b50505050905090810190601f168015610a795780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ae9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000610ae9838363ffffffff610b0216565b6000610ae983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610c44565b600080610b518484610ca9565b905060016201518080830683030401610e7f8110610b7557610e7f9250505061042a565b949350505050565b6000610ae983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506109f8565b600080610be2610bdc610bd6600160401b87610cbb565b85610cf8565b86610d88565b95945050505050565b600082610bfa5750600061042a565b82820282848281610c0757fe5b0414610ae95760405162461bcd60e51b815260040180806020018281038252602181526020018061105f6021913960400191505060405180910390fd5b60008183610c935760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610a4c578181015183820152602001610a34565b506000838581610c9f57fe5b0495945050505050565b6000610ae9828463ffffffff610b7d16565b6000600f83810b9083900b016f7fffffffffffffffffffffffffffffff198112801590610cef575060016001607f1b038113155b610ae957600080fd5b60008080600f85900b8113610d1f57610d18603f86600f0b901b85610df0565b9150610d43565b610d39603f866000036001600160801b0316901b85610df0565b9150506001831615155b603f82901c91508015610d6c576001607f1b821115610d6157600080fd5b50600003905061042a565b60016001607f1b03821115610d8057600080fd5b50905061042a565b600081610d975750600061042a565b600083600f0b1215610da857600080fd5b600f83900b6001600160801b038316810260401c90608084901c026001600160c01b03811115610dd757600080fd5b60401b8119811115610de857600080fd5b019392505050565b600081610e0257506001607f1b61042a565b82610e0f5750600061042a565b600083600160801b8110610e25576080918201911c5b600160401b8110610e38576040918201911c5b6401000000008110610e4c576020918201911c5b620100008110610e5e576010918201911c5b6101008110610e6f576008918201911c5b60108110610e7f576004918201911c5b60048110610e8f576002918201911c5b60028110610e9e576001820191505b607e1982016000811315610ec25780866000821215610eb957fe5b901c9550610ed7565b80600003866000821215610ed257fe5b901b95505b6001607f1b60005b8615610fa5576001871615610f475760001990960195908702908201600160ff1b8210610f155760809190911c90600101610f1d565b607f82901c91505b607e19811215610f355760009550505050505061042a565b60808112610f4257600080fd5b610fa0565b96800296600196871c969290921b91600160ff1b8810610f7357608088901c9750600183019250610f7b565b607f88901c97505b607e19831215610f935760009550505050505061042a565b60808312610fa057600080fd5b610edf565b6000811315610fc45780826000821215610fbb57fe5b901b9150610fe2565b6000811215610fe25780600003826000821215610fdd57fe5b901c91505b50935061042a92505050565b604051806080016040528060008152602001600081526020016000600f0b815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fd1feee2443660dcf06f9c88a2a78dd5fa53d2869e8f6d40070dd42563a8029a64736f6c63430006020033

Deployed Bytecode Sourcemap

21024:6898:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21024:6898:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22995:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;22995:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24223:161;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24223:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;23585:133;;;:::i;:::-;;;;;;;;;;;;;;;;24392:313;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24392:313:0;;;;;;;;;;;;;;;;;:::i;23181:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24713:218;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24713:218:0;;;;;;;;:::i;23726:163::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23726:163:0;-1:-1:-1;;;;;23726:163:0;;:::i;23272:88::-;;;:::i;23086:87::-;;;:::i;24939:269::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24939:269:0;;;;;;;;:::i;23897:167::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23897:167:0;;;;;;;;:::i;25216:109::-;;;:::i;24072:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24072:143:0;;;;;;;;;;:::i;23368:209::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23368:209:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;23368:209:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;23368:209:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;23368:209:0;;-1:-1:-1;23368:209:0;-1:-1:-1;23368:209:0;;:::i;:::-;;22995:83;23065:5;23058:12;;;;;;;;-1:-1:-1;;23058:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23032:13;;23058:12;;23065:5;;23058:12;;23065:5;23058:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22995:83;:::o;24223:161::-;24298:4;24315:39;24324:12;:10;:12::i;:::-;24338:7;24347:6;24315:8;:39::i;:::-;-1:-1:-1;24372:4:0;24223:161;;;;;:::o;23585:133::-;23638:7;23665:45;21343:18;23692:17;:15;:17::i;:::-;23665:10;:45::i;:::-;23658:52;;23585:133;:::o;24392:313::-;24490:4;24507:36;24517:6;24525:9;24536:6;24507:9;:36::i;:::-;24554:121;24563:6;24571:12;:10;:12::i;:::-;24585:89;24623:6;24585:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24585:19:0;;;;;;:11;:19;;;;;;24605:12;:10;:12::i;:::-;-1:-1:-1;;;;;24585:33:0;;;;;;;;;;;;-1:-1:-1;24585:33:0;;;:89;;:37;:89;:::i;:::-;24554:8;:121::i;:::-;-1:-1:-1;24693:4:0;24392:313;;;;;:::o;23181:83::-;23247:9;;;;23181:83;:::o;24713:218::-;24801:4;24818:83;24827:12;:10;:12::i;:::-;24841:7;24850:50;24889:10;24850:11;:25;24862:12;:10;:12::i;:::-;-1:-1:-1;;;;;24850:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;24850:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;23726:163::-;23792:7;23819:62;23844:36;21343:18;-1:-1:-1;;21473:25:0;;21461:38;23866:13;:11;:13::i;:::-;23844:8;:36::i;:::-;-1:-1:-1;;;;;23819:20:0;;:11;:20;;;;;;;;;;;;:62;:24;:62;:::i;23272:88::-;23342:10;;23272:88;:::o;23086:87::-;23158:7;23151:14;;;;;;;;-1:-1:-1;;23151:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23125:13;;23151:14;;23158:7;;23151:14;;23158:7;23151:14;;;;;;;;;;;;;;;;;;;;;;;;24939:269;25032:4;25049:129;25058:12;:10;:12::i;:::-;25072:7;25081:96;25120:15;25081:96;;;;;;;;;;;;;;;;;:11;:25;25093:12;:10;:12::i;:::-;-1:-1:-1;;;;;25081:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;25081:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;23897:167::-;23975:4;23992:42;24002:12;:10;:12::i;:::-;24016:9;24027:6;23992:9;:42::i;25216:109::-;25264:7;25291:26;25301:10;;25313:3;25291:9;:26::i;24072:143::-;-1:-1:-1;;;;;24180:18:0;;;24153:7;24180:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;24072:143::o;23368:209::-;23465:9;23460:110;23480:21;;;23460:110;;;23523:35;23532:10;;23543:1;23532:13;;;;;;;;;;;;;-1:-1:-1;;;;;23532:13:0;23547:10;23523:8;:35::i;:::-;-1:-1:-1;23503:3:0;;23460:110;;;;23368:209;;;:::o;6014:106::-;6102:10;6014:106;:::o;25333:337::-;-1:-1:-1;;;;;25426:19:0;;25418:68;;;;-1:-1:-1;;;25418:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25505:21:0;;25497:68;;;;-1:-1:-1;;;25497:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25578:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25630:32;;;;;;;;;;;;;;;;;25333:337;;;:::o;26786:559::-;26872:7;26916:13;26872:7;26940:367;26964:12;26960:1;:16;26940:367;;;26998:14;;:::i;:::-;27015:5;27021:1;27015:8;;;;;;;26998:25;;;;;;;;27015:8;;;;;;;;;26998:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27042:27:0;;27038:258;;;27106:3;:15;;;27090:31;;27038:258;;;27203:18;;;;27240:14;;27178:78;;27188:13;;27223:32;;:12;;:32;:16;:32;:::i;:::-;27178:9;:78::i;:::-;27162:94;;27275:5;;;27038:258;-1:-1:-1;26978:3:0;;26940:367;;;-1:-1:-1;27324:13:0;26786:559;-1:-1:-1;;;26786:559:0:o;25678:583::-;-1:-1:-1;;;;;25775:20:0;;25767:70;;;;-1:-1:-1;;;25767:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25856:23:0;;25848:71;;;;-1:-1:-1;;;25848:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25932:19;25954:36;21343:18;-1:-1:-1;;21473:25:0;;25954:36;25932:58;-1:-1:-1;26001:23:0;26027;:6;25932:58;26027:23;:10;:23;:::i;:::-;-1:-1:-1;;;;;26083:19:0;;:11;:19;;;;;;;;;;;26001:49;;-1:-1:-1;26083:40:0;;26001:49;26083:40;:23;:40;:::i;:::-;-1:-1:-1;;;;;26061:19:0;;;:11;:19;;;;;;;;;;;:62;;;;26159:22;;;;;;;:43;;26186:15;26159:43;:26;:43;:::i;:::-;-1:-1:-1;;;;;26134:22:0;;;:11;:22;;;;;;;;;;;;:68;;;;26218:35;;;;;;;26134:22;;26218:35;;;;;;;;;;;;;25678:583;;;;;:::o;11103:192::-;11189:7;11225:12;11217:6;;;;11209:29;;;;-1:-1:-1;;;11209:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11209:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11261:5:0;;;11103:192::o;10200:181::-;10258:7;10290:5;;;10314:6;;;;10306:46;;;;;-1:-1:-1;;;10306:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10372:1;10200:181;-1:-1:-1;;;10200:181:0:o;27787:132::-;27862:7;27889:22;:10;27904:6;27889:22;:14;:22;:::i;12501:132::-;12559:7;12586:39;12590:1;12593;12586:39;;;;;;;;;;;;;;;;;:3;:39::i;26269:351::-;26349:7;26369:22;26394:42;26413:9;26424:11;26394:18;:42::i;:::-;26369:67;-1:-1:-1;26533:1:0;21549:5;26482:30;;;26464:49;;26463:67;:71;21600:4;26549:20;;26545:44;;21600:4;26571:18;;;;;;26545:44;26607:5;26269:351;-1:-1:-1;;;;26269:351:0:o;10664:136::-;10722:7;10749:43;10753:1;10756;10749:43;;;;;;;;;;;;;;;;;:3;:43::i;27353:426::-;27442:7;27461:14;27478:269;27527:208;27580:112;-1:-1:-1;;;27687:4:0;27580:17;:112::i;:::-;27727:7;27527:17;:208::i;:::-;27737:9;27478:18;:269::i;:::-;27461:286;27353:426;-1:-1:-1;;;;;27353:426:0:o;11554:471::-;11612:7;11857:6;11853:47;;-1:-1:-1;11887:1:0;11880:8;;11853:47;11924:5;;;11928:1;11924;:5;:1;11948:5;;;;;:10;11940:56;;;;-1:-1:-1;;;11940:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13129:278;13215:7;13250:12;13243:5;13235:28;;;;-1:-1:-1;;;13235:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;13235:28:0;;13274:9;13290:1;13286;:5;;;;;;;13129:278;-1:-1:-1;;;;;13129:278:0:o;26628:150::-;26717:7;26744:26;:11;26760:9;26744:26;:15;:26;:::i;1241:195::-;1298:6;1329:13;:9;;;:13;;;;;-1:-1:-1;;1358:19:0;;;;;:42;;-1:-1:-1;;;;;;1381:19:0;;;1358:42;1349:52;;;;;2527:746;2585:6;;;2667;;;;;-1:-1:-1;2663:230:0;;2701:27;2722:2;2716:1;2707:11;;:17;;2726:1;2701:4;:27::i;:::-;2684:44;;2663:230;;;2812:38;2844:2;2837:1;2836:2;;-1:-1:-1;;;;;2818:22:0;:28;;2848:1;2812:4;:38::i;:::-;2795:55;-1:-1:-1;;2880:1:0;2876:5;;:9;;2663:230;2920:2;2901:21;;;;;2935:14;2931:337;;;-1:-1:-1;;;2969:14:0;:52;;2960:62;;;;;;-1:-1:-1;3038:24:0;;;-1:-1:-1;3031:31:0;;2931:337;-1:-1:-1;;;;;3131:14:0;:52;;3122:62;;;;;;-1:-1:-1;3208:14:0;-1:-1:-1;3193:30:0;;1751:469;1810:7;1830:6;1826:20;;-1:-1:-1;1845:1:0;1838:8;;1826:20;1869:1;1864;:6;;;;1855:16;;;;;;1894:11;;;;-1:-1:-1;;;;;1909:38:0;;1894:54;;1953:2;1893:62;;1995:3;1990:8;;;1975:24;-1:-1:-1;;;;;2017:56:0;;;2008:66;;;;;;2088:2;2081:9;2121:71;;2108:84;;;2099:94;;;;;;2207:7;;1751:469;-1:-1:-1;;;1751:469:0:o;3592:1737::-;3651:7;3671:6;3667:1657;;-1:-1:-1;;;;3679:41:0;;3667:1657;3736:6;3732:1592;;-1:-1:-1;3751:1:0;3744:8;;3732:1592;3773:10;3809:1;-1:-1:-1;;;3823:41:0;;3819:74;;3875:3;3880:10;;;;3868;3819:74;-1:-1:-1;;;3905:2:0;:25;3901:56;;3941:2;3945:9;;;;3934;3901:56;3975:11;3969:2;:17;3965:48;;3997:2;4001:9;;;;3990;3965:48;4031:7;4025:2;:13;4021:44;;4049:2;4053:9;;;;4042;4021:44;4083:5;4077:2;:11;4073:40;;4099:1;4102:8;;;;4092;4073:40;4131:4;4125:2;:10;4121:39;;4146:1;4149:8;;;;4139;4121:39;4178:3;4172:2;:9;4168:38;;4192:1;4195:8;;;;4185;4168:38;4224:3;4218:2;:9;4214:23;;4236:1;4229:8;;;;4214:23;-1:-1:-1;;4292:9:0;;4280;4314:6;;4310:43;;;4328:2;4322:8;;;;;;;;;;;;;4310:43;;;4351:2;4350:3;;4344:9;;;;;;;;;;;;;4310:43;-1:-1:-1;;;4364:14:0;4448:769;4455:5;;4448:769;;4481:1;4477:5;;:9;4473:735;;-1:-1:-1;;4533:6:0;;;;4510:10;;;;4552:8;;-1:-1:-1;;;4577:89:0;;4573:180;;4694:3;4683:14;;;;;4718:1;4712:7;4573:180;;;4750:3;4739:14;;;;;4573:180;-1:-1:-1;;4770:2:0;:9;4766:23;;;4788:1;4781:8;;;;;;;;;4766:23;4829:3;4824:2;:8;4815:18;;;;;;4473:735;;;4880:5;;;;4904:1;4898:7;;;;4918:8;;;;;-1:-1:-1;;;4943:84:0;;4939:165;;5050:3;5044:9;;;;;5074:1;5068:7;;;;4939:165;;;5101:3;5095:9;;;;;4939:165;-1:-1:-1;;5121:2:0;:9;5117:23;;;5139:1;5132:8;;;;;;;;;5117:23;5180:3;5175:2;:8;5166:18;;;;;;4448:769;;;5236:1;5231:2;:6;5227:65;;;5250:2;5239:13;;;;;;;;;;;;;5227:65;;;5275:1;5270:2;:6;5266:26;;;5290:2;5289:3;;5278:14;;;;;;;;;;;;;5266:26;-1:-1:-1;5310:6:0;-1:-1:-1;5303:13:0;;-1:-1:-1;;;5303:13:0;21024:6898;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://fd1feee2443660dcf06f9c88a2a78dd5fa53d2869e8f6d40070dd42563a8029a
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.