ETH Price: $3,504.50 (-0.14%)
Gas: 2 Gwei

Token

Staked JUMP Token (sJUMP)
 

Overview

Max Total Supply

0 sJUMP

Holders

419

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
257.689296502 sJUMP

Value
$0.00
0x842ad9bc0c8c959a020c4bb972dc8dafbd881886
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:
sToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : sToken.sol
/*
                                                             ,---,  
         ,---._                          ____  ,-.----.   ,`--.' |  
       .-- -.' \                       ,'  , `.\    /  \  |   :  :  
       |    |   :         ,--,      ,-+-,.' _ ||   :    \ '   '  ;  
       :    ;   |       ,'_ /|   ,-+-. ;   , |||   |  .\ :|   |  |  
       :        |  .--. |  | :  ,--.'|'   |  ;|.   :  |: |'   :  ;  
       |    :   :,'_ /| :  . | |   |  ,', |  ':|   |   \ :|   |  '  
       :         |  ' | |  . . |   | /  | |  |||   : .   /'   :  |  
       |    ;   ||  | ' |  | | '   | :  | :  |,;   | |`-' ;   |  ;  
   ___ l         :  | | :  ' ; ;   . |  ; |--' |   | ;    `---'. |  
 /    /\    J   :|  ; ' |  | ' |   : |  | ,    :   ' |     `--..`;  
/  ../  `..-    ,:  | : ;  ; | |   : '  |/     :   : :    .--,_     
\    \         ; '  :  `--'   \;   | |`-'      |   | :    |    |`.  
 \    \      ,'  :  ,      .-./|   ;/          `---'.|    `-- -`, ; 
  "---....--'     `--`----'    '---'             `---`      '---`"  
                                                                    

(Website) https://jump.farm
(Telegram) https://t.me/jumpportal
(Twitter) https://twitter.com/jumpfarm

*/

pragma solidity 0.8.19;

interface IStaking {
    function stake(address _to, uint256 _amount) external;

    function unstake(address _to, uint256 _amount) external;

    function rebase() external;

    function index() external view returns (uint256);
}

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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
    );

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

pragma solidity 0.8.19;

interface IsStakingProtocol is IERC20 {
    function rebase(uint256 amount_, uint epoch_) external returns (uint256);

    function circulatingSupply() external view returns (uint256);

    function gonsForBalance(uint amount) external view returns (uint);

    function balanceForGons(uint gons) external view returns (uint);

    function index() external view returns (uint);
}

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 default value returned by this function, unless
     * it's overridden.
     *
     * 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 virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual 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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(
        address spender,
        uint256 amount
    ) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(
            fromBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @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 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

pragma solidity 0.8.19;

contract sToken is IsStakingProtocol, ERC20 {
    /// EVENTS ///

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

    /// MODIFIERS ///

    modifier onlyStakingContract() {
        require(
            msg.sender == stakingContract,
            "StakingContract:  call is not staking contract"
        );
        _;
    }

    /// DATA STRUCTURES ///

    struct Rebase {
        uint256 epoch;
        uint256 rebase; // 18 decimals
        uint256 totalStakedBefore;
        uint256 totalStakedAfter;
        uint256 amountRebased;
        uint256 index;
        uint256 blockNumberOccured;
    }

    /// STATE VARIABLES ///

    address internal initializer;
    address public treasury;
    address public stakingContract; // balance used to calc rebase

    uint256 internal _totalSupply;
    uint256 internal INDEX; // Index Gons - tracks rebase growth

    uint256 private constant MAX_UINT256 = type(uint256).max;
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 10_000_000 * 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;

    Rebase[] public rebases; // past rebase data

    mapping(address => uint256) private _gonBalances;

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

    /// CONSTRUCTOR ///

    constructor() ERC20("Staked JUMP Token", "sJUMP") {
        initializer = msg.sender;
        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonsPerFragment = TOTAL_GONS / _totalSupply;
    }

    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    /// INITIALIZATION ///

    /// @notice        Sets initial index
    /// @param _index  Initial index
    function setIndex(uint256 _index) external {
        require(
            msg.sender == initializer,
            "Initializer:  caller is not initializer"
        );
        require(INDEX == 0, "Cannot set INDEX again");
        INDEX = gonsForBalance(_index);
    }

    /// @notice                  Initialize contract
    /// @param _stakingContract  Address of staking contract
    /// @param _treasury         Address of treasury
    function initialize(address _stakingContract, address _treasury) external {
        require(
            msg.sender == initializer,
            "Initializer:  caller is not initializer"
        );

        require(_stakingContract != address(0), "Zero address: Staking");
        stakingContract = _stakingContract;
        _gonBalances[stakingContract] = TOTAL_GONS;

        require(_treasury != address(0), "Zero address: Treasury");
        treasury = _treasury;

        emit Transfer(address(0x0), stakingContract, _totalSupply);
        emit LogStakingContractUpdated(stakingContract);

        initializer = address(0);
    }

    /// REBASE ///

    /// @notice             Increases supply
    /// @param amount_      Amount to rebase for
    /// @param epoch_       Epoch number
    /// @return _newSupply  New total supply
    function rebase(
        uint256 amount_,
        uint256 epoch_
    ) public override onlyStakingContract returns (uint256 _newSupply) {
        uint256 rebaseAmount;
        uint256 circulatingSupply_ = circulatingSupply();
        if (amount_ == 0) {
            emit LogSupply(epoch_, _totalSupply);
            emit LogRebase(epoch_, 0, index());
            return _totalSupply;
        } else if (circulatingSupply_ > 0) {
            rebaseAmount = (amount_ * _totalSupply) / circulatingSupply_;
        } else {
            rebaseAmount = amount_;
        }

        _totalSupply = _totalSupply + rebaseAmount;

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

        _gonsPerFragment = TOTAL_GONS / _totalSupply;

        _storeRebase(circulatingSupply_, amount_, epoch_);

        return _totalSupply;
    }

    /// @notice                      Stores rebase
    /// @param previousCirculating_  Previous circ supply
    /// @param profit_               Amount of profic for epoch
    /// @param epoch_                Epoch number
    function _storeRebase(
        uint256 previousCirculating_,
        uint256 profit_,
        uint256 epoch_
    ) internal {
        uint256 rebasePercent;
        if (previousCirculating_ > 0)
            rebasePercent = (profit_ * 1e18) / previousCirculating_;
        rebases.push(
            Rebase({
                epoch: epoch_,
                rebase: rebasePercent, // 18 decimals
                totalStakedBefore: previousCirculating_,
                totalStakedAfter: circulatingSupply(),
                amountRebased: profit_,
                index: index(),
                blockNumberOccured: block.number
            })
        );

        emit LogSupply(epoch_, _totalSupply);
        emit LogRebase(epoch_, rebasePercent, index());
    }

    /// MUTATIVE FUNCTIONS ///

    /// @notice       Transfer from msg.sender
    /// @param to     Address sending to
    /// @param value  Amount of to send
    function transfer(
        address to,
        uint256 value
    ) public override(IERC20, ERC20) returns (bool) {
        uint256 gonValue = value * _gonsPerFragment;

        _gonBalances[msg.sender] = _gonBalances[msg.sender] - gonValue;
        _gonBalances[to] = _gonBalances[to] + gonValue;

        emit Transfer(msg.sender, to, value);
        return true;
    }

    /// @notice       Transfer
    /// @param from   Address sending from
    /// @param to     Address sending to
    /// @param value  Amount of to send
    function transferFrom(
        address from,
        address to,
        uint256 value
    ) public override(IERC20, ERC20) returns (bool) {
        _allowedValue[from][msg.sender] =
            _allowedValue[from][msg.sender] -
            value;
        emit Approval(from, msg.sender, _allowedValue[from][msg.sender]);

        uint256 gonValue = gonsForBalance(value);
        _gonBalances[from] = _gonBalances[from] - gonValue;
        _gonBalances[to] = _gonBalances[to] + gonValue;

        emit Transfer(from, to, value);
        return true;
    }

    function approve(
        address spender,
        uint256 value
    ) public override(IERC20, ERC20) returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

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

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

    /// INTERNAL FUNCTIONS ///

    function _approve(
        address owner,
        address spender,
        uint256 value
    ) internal virtual override {
        _allowedValue[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    /// VIEW FUNCTIONS ///

    /// @notice       Returns balance of an address
    /// @param who    Address of who to get balance from
    function balanceOf(
        address who
    ) public view override(IERC20, ERC20) returns (uint256) {
        return _gonBalances[who] / _gonsPerFragment;
    }

    /// @notice        Returns calculation of gons for amount of
    /// @param amount  Amount of to calculate gons for
    function gonsForBalance(
        uint256 amount
    ) public view override returns (uint256) {
        return amount * _gonsPerFragment;
    }

    /// @notice      Returns calculation of balance for gons amount
    /// @param gons  Amount of gons to calculate for
    function balanceForGons(
        uint256 gons
    ) public view override returns (uint256) {
        return gons / _gonsPerFragment;
    }

    /// @notice  Returns circulating supply (Total Supply - Staking Contract Balance)
    function circulatingSupply() public view override returns (uint256) {
        return _totalSupply - balanceOf(stakingContract);
    }

    /// @notice  Returns current index
    function index() public view override returns (uint256) {
        return balanceForGons(INDEX);
    }

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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":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":"totalSupply","type":"uint256"}],"name":"LogSupply","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":"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":"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"},{"internalType":"address","name":"_treasury","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"uint256","name":"epoch_","type":"uint256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"_newSupply","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":"uint256","name":"blockNumberOccured","type":"uint256"}],"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":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601181526020017029ba30b5b2b210252aa6a8102a37b5b2b760791b815250604051806040016040528060058152602001640734a554d560dc1b81525081600390816200006b919062000172565b5060046200007a828262000172565b5050600580546001600160a01b0319163317905550662386f26fc100006008819055620000aa8160001962000254565b620000b8906000196200026b565b620000c4919062000293565b600a55620002aa565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000f857607f821691505b6020821081036200011957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200016d57600081815260208120601f850160051c81016020861015620001485750805b601f850160051c820191505b81811015620001695782815560010162000154565b5050505b505050565b81516001600160401b038111156200018e576200018e620000cd565b620001a6816200019f8454620000e3565b846200011f565b602080601f831160018114620001de5760008415620001c55750858301515b600019600386901b1c1916600185901b17855562000169565b600085815260208120601f198616915b828110156200020f57888601518255948401946001909101908401620001ee565b50858210156200022e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b6000826200026657620002666200023e565b500690565b818103818111156200028d57634e487b7160e01b600052601160045260246000fd5b92915050565b600082620002a557620002a56200023e565b500490565b610fb780620002ba6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063485cc955116100b85780639358928b1161007c5780639358928b146102b357806395d89b41146102bb578063a457c2d7146102c3578063a9059cbb146102d6578063dd62ed3e146102e9578063ee99205c1461032257600080fd5b8063485cc9551461020757806361d027b31461021a57806370a082311461024557806373c69eb7146102585780637965d56d146102a057600080fd5b806323b872dd116100ff57806323b872dd146101b55780632986c0e5146101c8578063313ce567146101d057806339509351146101df57806340a5737f146101f257600080fd5b8063058ecdb41461013c57806306fdde0314610162578063095ea7b31461017757806318160ddd1461019a5780631bd39674146101a2575b600080fd5b61014f61014a366004610d0f565b610335565b6040519081526020015b60405180910390f35b61016a6104ee565b6040516101599190610d31565b61018a610185366004610d9b565b610580565b6040519015158152602001610159565b60025461014f565b61014f6101b0366004610dc5565b610596565b61018a6101c3366004610dde565b6105a6565b61014f6106f8565b60405160098152602001610159565b61018a6101ed366004610d9b565b61070a565b610205610200366004610dc5565b610746565b005b610205610215366004610e1a565b6107c8565b60065461022d906001600160a01b031681565b6040516001600160a01b039091168152602001610159565b61014f610253366004610e4d565b610994565b61026b610266366004610dc5565b6109bb565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e001610159565b61014f6102ae366004610dc5565b610a0d565b61014f610a1d565b61016a610a42565b61018a6102d1366004610d9b565b610a51565b61018a6102e4366004610d9b565b610aa6565b61014f6102f7366004610e1a565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205490565b60075461022d906001600160a01b031681565b6007546000906001600160a01b031633146103ae5760405162461bcd60e51b815260206004820152602e60248201527f5374616b696e67436f6e74726163743a202063616c6c206973206e6f7420737460448201526d185ada5b99c818dbdb9d1c9858dd60921b60648201526084015b60405180910390fd5b6000806103b9610a1d565b90508460000361044f57837f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf46008546040516103f791815260200190565b60405180910390a2837f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb2600061042b6106f8565b6040805192835260208301919091520160405180910390a2600854925050506104e8565b80156104755780600854866104649190610e85565b61046e9190610eb2565b9150610479565b8491505b816008546104879190610ec6565b60088190556001600160801b0310156104a6576001600160801b036008555b6008546104bc662386f26fc10000600019610ed9565b6104c890600019610eed565b6104d29190610eb2565b600a556104e0818686610b65565b600854925050505b92915050565b6060600380546104fd90610f00565b80601f016020809104026020016040519081016040528092919081815260200182805461052990610f00565b80156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b5050505050905090565b600061058d338484610cae565b50600192915050565b6000600a54826104e89190610e85565b6001600160a01b0383166000908152600d602090815260408083203384529091528120546105d5908390610eed565b6001600160a01b0385166000818152600d6020908152604080832033808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3600061063a83610596565b6001600160a01b0386166000908152600c6020526040902054909150610661908290610eed565b6001600160a01b038087166000908152600c60205260408082209390935590861681522054610691908290610ec6565b6001600160a01b038086166000818152600c602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106e59087815260200190565b60405180910390a3506001949350505050565b6000610705600954610a0d565b905090565b336000818152600d602090815260408083206001600160a01b0387168452909152812054909161058d918590610741908690610ec6565b610cae565b6005546001600160a01b031633146107705760405162461bcd60e51b81526004016103a590610f3a565b600954156107b95760405162461bcd60e51b815260206004820152601660248201527521b0b73737ba1039b2ba1024a72222ac1030b3b0b4b760511b60448201526064016103a5565b6107c281610596565b60095550565b6005546001600160a01b031633146107f25760405162461bcd60e51b81526004016103a590610f3a565b6001600160a01b0382166108405760405162461bcd60e51b81526020600482015260156024820152745a65726f20616464726573733a205374616b696e6760581b60448201526064016103a5565b600780546001600160a01b0319166001600160a01b03841617905561086e662386f26fc10000600019610ed9565b61087a90600019610eed565b6007546001600160a01b039081166000908152600c602052604090209190915581166108e15760405162461bcd60e51b81526020600482015260166024820152755a65726f20616464726573733a20547265617375727960501b60448201526064016103a5565b600680546001600160a01b0319166001600160a01b03838116919091179091556007546008546040519081529116906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36007546040516001600160a01b0390911681527f817c653428858ed536dc085c5d8273734c517b55de44b55f5c5877a75e3373a19060200160405180910390a15050600580546001600160a01b0319169055565b600a546001600160a01b0382166000908152600c602052604081205490916104e891610eb2565b600b81815481106109cb57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6000600a54826104e89190610eb2565b600754600090610a35906001600160a01b0316610994565b6008546107059190610eed565b6060600480546104fd90610f00565b336000908152600d602090815260408083206001600160a01b0386168452909152812054808310610a8d57610a8833856000610cae565b610a9c565b610a9c33856107418685610eed565b5060019392505050565b600080600a5483610ab79190610e85565b336000908152600c6020526040902054909150610ad5908290610eed565b336000908152600c6020526040808220929092556001600160a01b03861681522054610b02908290610ec6565b6001600160a01b0385166000818152600c60205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b539087815260200190565b60405180910390a35060019392505050565b60008315610b8d5783610b8084670de0b6b3a7640000610e85565b610b8a9190610eb2565b90505b600b6040518060e00160405280848152602001838152602001868152602001610bb4610a1d565b8152602001858152602001610bc76106f8565b815243602091820152825460018082018555600094855293829020835160079092020190815582820151938101939093556040808301516002850155606083015160038501556080830151600485015560a0830151600585015560c090920151600690930192909255600854905190815283917f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf4910160405180910390a2817f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb282610c906106f8565b6040805192835260208301919091520160405180910390a250505050565b6001600160a01b038381166000818152600d602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008060408385031215610d2257600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015610d5e57858101830151858201604001528201610d42565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d9657600080fd5b919050565b60008060408385031215610dae57600080fd5b610db783610d7f565b946020939093013593505050565b600060208284031215610dd757600080fd5b5035919050565b600080600060608486031215610df357600080fd5b610dfc84610d7f565b9250610e0a60208501610d7f565b9150604084013590509250925092565b60008060408385031215610e2d57600080fd5b610e3683610d7f565b9150610e4460208401610d7f565b90509250929050565b600060208284031215610e5f57600080fd5b610e6882610d7f565b9392505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104e8576104e8610e6f565b634e487b7160e01b600052601260045260246000fd5b600082610ec157610ec1610e9c565b500490565b808201808211156104e8576104e8610e6f565b600082610ee857610ee8610e9c565b500690565b818103818111156104e8576104e8610e6f565b600181811c90821680610f1457607f821691505b602082108103610f3457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526027908201527f496e697469616c697a65723a202063616c6c6572206973206e6f7420696e697460408201526634b0b634bd32b960c91b60608201526080019056fea2646970667358221220fff404cf0f429b95b77106ce0c4c66b481d3e30b99e7e28573fa1ae488e5603864736f6c63430008130033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063485cc955116100b85780639358928b1161007c5780639358928b146102b357806395d89b41146102bb578063a457c2d7146102c3578063a9059cbb146102d6578063dd62ed3e146102e9578063ee99205c1461032257600080fd5b8063485cc9551461020757806361d027b31461021a57806370a082311461024557806373c69eb7146102585780637965d56d146102a057600080fd5b806323b872dd116100ff57806323b872dd146101b55780632986c0e5146101c8578063313ce567146101d057806339509351146101df57806340a5737f146101f257600080fd5b8063058ecdb41461013c57806306fdde0314610162578063095ea7b31461017757806318160ddd1461019a5780631bd39674146101a2575b600080fd5b61014f61014a366004610d0f565b610335565b6040519081526020015b60405180910390f35b61016a6104ee565b6040516101599190610d31565b61018a610185366004610d9b565b610580565b6040519015158152602001610159565b60025461014f565b61014f6101b0366004610dc5565b610596565b61018a6101c3366004610dde565b6105a6565b61014f6106f8565b60405160098152602001610159565b61018a6101ed366004610d9b565b61070a565b610205610200366004610dc5565b610746565b005b610205610215366004610e1a565b6107c8565b60065461022d906001600160a01b031681565b6040516001600160a01b039091168152602001610159565b61014f610253366004610e4d565b610994565b61026b610266366004610dc5565b6109bb565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e001610159565b61014f6102ae366004610dc5565b610a0d565b61014f610a1d565b61016a610a42565b61018a6102d1366004610d9b565b610a51565b61018a6102e4366004610d9b565b610aa6565b61014f6102f7366004610e1a565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205490565b60075461022d906001600160a01b031681565b6007546000906001600160a01b031633146103ae5760405162461bcd60e51b815260206004820152602e60248201527f5374616b696e67436f6e74726163743a202063616c6c206973206e6f7420737460448201526d185ada5b99c818dbdb9d1c9858dd60921b60648201526084015b60405180910390fd5b6000806103b9610a1d565b90508460000361044f57837f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf46008546040516103f791815260200190565b60405180910390a2837f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb2600061042b6106f8565b6040805192835260208301919091520160405180910390a2600854925050506104e8565b80156104755780600854866104649190610e85565b61046e9190610eb2565b9150610479565b8491505b816008546104879190610ec6565b60088190556001600160801b0310156104a6576001600160801b036008555b6008546104bc662386f26fc10000600019610ed9565b6104c890600019610eed565b6104d29190610eb2565b600a556104e0818686610b65565b600854925050505b92915050565b6060600380546104fd90610f00565b80601f016020809104026020016040519081016040528092919081815260200182805461052990610f00565b80156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b5050505050905090565b600061058d338484610cae565b50600192915050565b6000600a54826104e89190610e85565b6001600160a01b0383166000908152600d602090815260408083203384529091528120546105d5908390610eed565b6001600160a01b0385166000818152600d6020908152604080832033808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3600061063a83610596565b6001600160a01b0386166000908152600c6020526040902054909150610661908290610eed565b6001600160a01b038087166000908152600c60205260408082209390935590861681522054610691908290610ec6565b6001600160a01b038086166000818152600c602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106e59087815260200190565b60405180910390a3506001949350505050565b6000610705600954610a0d565b905090565b336000818152600d602090815260408083206001600160a01b0387168452909152812054909161058d918590610741908690610ec6565b610cae565b6005546001600160a01b031633146107705760405162461bcd60e51b81526004016103a590610f3a565b600954156107b95760405162461bcd60e51b815260206004820152601660248201527521b0b73737ba1039b2ba1024a72222ac1030b3b0b4b760511b60448201526064016103a5565b6107c281610596565b60095550565b6005546001600160a01b031633146107f25760405162461bcd60e51b81526004016103a590610f3a565b6001600160a01b0382166108405760405162461bcd60e51b81526020600482015260156024820152745a65726f20616464726573733a205374616b696e6760581b60448201526064016103a5565b600780546001600160a01b0319166001600160a01b03841617905561086e662386f26fc10000600019610ed9565b61087a90600019610eed565b6007546001600160a01b039081166000908152600c602052604090209190915581166108e15760405162461bcd60e51b81526020600482015260166024820152755a65726f20616464726573733a20547265617375727960501b60448201526064016103a5565b600680546001600160a01b0319166001600160a01b03838116919091179091556007546008546040519081529116906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36007546040516001600160a01b0390911681527f817c653428858ed536dc085c5d8273734c517b55de44b55f5c5877a75e3373a19060200160405180910390a15050600580546001600160a01b0319169055565b600a546001600160a01b0382166000908152600c602052604081205490916104e891610eb2565b600b81815481106109cb57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6000600a54826104e89190610eb2565b600754600090610a35906001600160a01b0316610994565b6008546107059190610eed565b6060600480546104fd90610f00565b336000908152600d602090815260408083206001600160a01b0386168452909152812054808310610a8d57610a8833856000610cae565b610a9c565b610a9c33856107418685610eed565b5060019392505050565b600080600a5483610ab79190610e85565b336000908152600c6020526040902054909150610ad5908290610eed565b336000908152600c6020526040808220929092556001600160a01b03861681522054610b02908290610ec6565b6001600160a01b0385166000818152600c60205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b539087815260200190565b60405180910390a35060019392505050565b60008315610b8d5783610b8084670de0b6b3a7640000610e85565b610b8a9190610eb2565b90505b600b6040518060e00160405280848152602001838152602001868152602001610bb4610a1d565b8152602001858152602001610bc76106f8565b815243602091820152825460018082018555600094855293829020835160079092020190815582820151938101939093556040808301516002850155606083015160038501556080830151600485015560a0830151600585015560c090920151600690930192909255600854905190815283917f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf4910160405180910390a2817f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb282610c906106f8565b6040805192835260208301919091520160405180910390a250505050565b6001600160a01b038381166000818152600d602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008060408385031215610d2257600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015610d5e57858101830151858201604001528201610d42565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d9657600080fd5b919050565b60008060408385031215610dae57600080fd5b610db783610d7f565b946020939093013593505050565b600060208284031215610dd757600080fd5b5035919050565b600080600060608486031215610df357600080fd5b610dfc84610d7f565b9250610e0a60208501610d7f565b9150604084013590509250925092565b60008060408385031215610e2d57600080fd5b610e3683610d7f565b9150610e4460208401610d7f565b90509250929050565b600060208284031215610e5f57600080fd5b610e6882610d7f565b9392505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104e8576104e8610e6f565b634e487b7160e01b600052601260045260246000fd5b600082610ec157610ec1610e9c565b500490565b808201808211156104e8576104e8610e6f565b600082610ee857610ee8610e9c565b500690565b818103818111156104e8576104e8610e6f565b600181811c90821680610f1457607f821691505b602082108103610f3457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526027908201527f496e697469616c697a65723a202063616c6c6572206973206e6f7420696e697460408201526634b0b634bd32b960c91b60608201526080019056fea2646970667358221220fff404cf0f429b95b77106ce0c4c66b481d3e30b99e7e28573fa1ae488e5603864736f6c63430008130033

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.