ETH Price: $3,407.24 (+3.40%)

Token

Staked Atlas (sATLAS)
 

Overview

Max Total Supply

0 sATLAS

Holders

17

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Filtered by Token Holder
haines.eth
Balance
308,936.617085631 sATLAS

Value
$0.00
0xCFFE08BDf20918007f8Ab268C32f8756494fC8D8
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:
sPER

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 7 : sPERebasingToken.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "../interface/IsPER.sol";
import "../interface/IStaking.sol";

/// @title   sPER
/// @notice  Staked PER
contract sPER is IsPER, 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, "Only staking");
        _;
    }

    /// 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 stakingContract;

    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 = 100_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(string memory _name, string memory _symbol) ERC20(_name, _symbol) {
        initializer = msg.sender;
        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonsPerFragment = TOTAL_GONS / _totalSupply;
        INDEX = gonsForBalance(1000000000);
    }

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

    /// INITIALIZATION ///

    /// @notice                  Initialize contract
    /// @param _stakingContract  Address of staking contract
    function initialize(address _stakingContract) external {
        require(msg.sender == initializer);

        stakingContract = _stakingContract;
        _gonBalances[stakingContract] = TOTAL_GONS;

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

        initializer = address(0);
    }

    /// REBASE ///

    /// @notice             Increases sPER 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 sPER from msg.sender
    /// @param to     Address sending sPER to
    /// @param value  Amount of sPER 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 sPER
    /// @param from   Address sending sPER from
    /// @param to     Address sending sPER to
    /// @param value  Amount of sPER 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 sPER
    /// @param amount  Amount of sPER 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 sPER for
    function balanceForGons(uint256 gons) public view override returns (uint256) {
        return gons / _gonsPerFragment;
    }

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

    /// @notice  Returns current sPER 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];
    }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

File 3 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

File 4 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// 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);
}

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 6 of 7 : IsPER.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

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

File 7 of 7 : IStaking.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.19;

interface IStaking {
    function stake(address _to, uint256 _amount) external;
    function unstake(address _to, uint256 _amount, bool _rebase) external;
    function rebase() external;
    function index() external view returns (uint256);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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"}],"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":[],"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"}]

60806040523480156200001157600080fd5b506040516200124a3803806200124a833981016040819052620000349162000199565b8181600362000044838262000292565b50600462000053828262000292565b5050600580546001600160a01b031916331790555067016345785d8a00006007819055620000848160001962000374565b6200009290600019620003a1565b6200009e9190620003b7565b600955620000b0633b9aca00620000bc565b60085550620003e89050565b600060095482620000ce9190620003ce565b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000fc57600080fd5b81516001600160401b0380821115620001195762000119620000d4565b604051601f8301601f19908116603f01168101908282118183101715620001445762000144620000d4565b816040528381526020925086838588010111156200016157600080fd5b600091505b8382101562000185578582018301518183018401529082019062000166565b600093810190920192909252949350505050565b60008060408385031215620001ad57600080fd5b82516001600160401b0380821115620001c557600080fd5b620001d386838701620000ea565b93506020850151915080821115620001ea57600080fd5b50620001f985828601620000ea565b9150509250929050565b600181811c908216806200021857607f821691505b6020821081036200023957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200028d57600081815260208120601f850160051c81016020861015620002685750805b601f850160051c820191505b81811015620002895782815560010162000274565b5050505b505050565b81516001600160401b03811115620002ae57620002ae620000d4565b620002c681620002bf845462000203565b846200023f565b602080601f831160018114620002fe5760008415620002e55750858301515b600019600386901b1c1916600185901b17855562000289565b600085815260208120601f198616915b828110156200032f578886015182559484019460019091019084016200030e565b50858210156200034e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b6000826200038657620003866200035e565b500690565b634e487b7160e01b600052601160045260246000fd5b81810381811115620000ce57620000ce6200038b565b600082620003c957620003c96200035e565b500490565b8082028115828204841417620000ce57620000ce6200038b565b610e5280620003f86000396000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c806370a08231116100cd578063a457c2d711610081578063c4d66de811610066578063c4d66de8146102b0578063dd62ed3e146102c5578063ee99205c146102fe57600080fd5b8063a457c2d71461028a578063a9059cbb1461029d57600080fd5b80637965d56d116100b25780637965d56d146102675780639358928b1461027a57806395d89b411461028257600080fd5b806370a082311461020c57806373c69eb71461021f57600080fd5b80631bd39674116101245780632986c0e5116101095780632986c0e5146101e2578063313ce567146101ea57806339509351146101f957600080fd5b80631bd39674146101bc57806323b872dd146101cf57600080fd5b8063058ecdb41461015657806306fdde031461017c578063095ea7b31461019157806318160ddd146101b4575b600080fd5b610169610164366004610bf1565b610329565b6040519081526020015b60405180910390f35b6101846104f7565b6040516101739190610c13565b6101a461019f366004610c7d565b610589565b6040519015158152602001610173565b600254610169565b6101696101ca366004610ca7565b61059f565b6101a46101dd366004610cc0565b6105af565b610169610701565b60405160098152602001610173565b6101a4610207366004610c7d565b610713565b61016961021a366004610cfc565b61074f565b61023261022d366004610ca7565b610776565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e001610173565b610169610275366004610ca7565b6107c8565b6101696107d8565b6101846107fd565b6101a4610298366004610c7d565b61080c565b6101a46102ab366004610c7d565b610861565b6102c36102be366004610cfc565b610920565b005b6101696102d3366004610d1e565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b600654610311906001600160a01b031681565b6040516001600160a01b039091168152602001610173565b6006546000906001600160a01b031633146103a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79207374616b696e670000000000000000000000000000000000000000604482015260640160405180910390fd5b6000806103af6107d8565b90508460000361044557837f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf46007546040516103ed91815260200190565b60405180910390a2837f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb26000610421610701565b6040805192835260208301919091520160405180910390a2600754925050506104f1565b801561046b57806007548661045a9190610d67565b6104649190610d94565b915061046f565b8491505b8160075461047d9190610da8565b60078190556fffffffffffffffffffffffffffffffff10156104ae576fffffffffffffffffffffffffffffffff6007555b6007546104c567016345785d8a0000600019610dbb565b6104d190600019610dcf565b6104db9190610d94565b6009556104e9818686610a41565b600754925050505b92915050565b60606003805461050690610de2565b80601f016020809104026020016040519081016040528092919081815260200182805461053290610de2565b801561057f5780601f106105545761010080835404028352916020019161057f565b820191906000526020600020905b81548152906001019060200180831161056257829003601f168201915b5050505050905090565b6000610596338484610b90565b50600192915050565b6000600954826104f19190610d67565b6001600160a01b0383166000908152600c602090815260408083203384529091528120546105de908390610dcf565b6001600160a01b0385166000818152600c6020908152604080832033808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360006106438361059f565b6001600160a01b0386166000908152600b602052604090205490915061066a908290610dcf565b6001600160a01b038087166000908152600b6020526040808220939093559086168152205461069a908290610da8565b6001600160a01b038086166000818152600b602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106ee9087815260200190565b60405180910390a3506001949350505050565b600061070e6008546107c8565b905090565b336000818152600c602090815260408083206001600160a01b0387168452909152812054909161059691859061074a908690610da8565b610b90565b6009546001600160a01b0382166000908152600b602052604081205490916104f191610d94565b600a818154811061078657600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6000600954826104f19190610d94565b6006546000906107f0906001600160a01b031661074f565b60075461070e9190610dcf565b60606004805461050690610de2565b336000908152600c602090815260408083206001600160a01b03861684529091528120548083106108485761084333856000610b90565b610857565b610857338561074a8685610dcf565b5060019392505050565b600080600954836108729190610d67565b336000908152600b6020526040902054909150610890908290610dcf565b336000908152600b6020526040808220929092556001600160a01b038616815220546108bd908290610da8565b6001600160a01b0385166000818152600b60205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061090e9087815260200190565b60405180910390a35060019392505050565b6005546001600160a01b0316331461093757600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03831617905561097367016345785d8a0000600019610dbb565b61097f90600019610dcf565b600680546001600160a01b039081166000908152600b602052604080822094909455915460075493519116927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916109d991815260200190565b60405180910390a36006546040516001600160a01b0390911681527f817c653428858ed536dc085c5d8273734c517b55de44b55f5c5877a75e3373a19060200160405180910390a1506005805473ffffffffffffffffffffffffffffffffffffffff19169055565b60008315610a695783610a5c84670de0b6b3a7640000610d67565b610a669190610d94565b90505b600a6040518060e00160405280848152602001838152602001868152602001610a906107d8565b8152602001858152602001610aa3610701565b8152436020918201528254600181810185556000948552938290208351600792830290910190815591830151938201939093556040808301516002830155606083015160038301556080830151600483015560a0830151600583015560c0909201516006909101559054905183917f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf491610b3f91815260200190565b60405180910390a2817f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb282610b72610701565b6040805192835260208301919091520160405180910390a250505050565b6001600160a01b038381166000818152600c602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008060408385031215610c0457600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015610c4057858101830151858201604001528201610c24565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610c7857600080fd5b919050565b60008060408385031215610c9057600080fd5b610c9983610c61565b946020939093013593505050565b600060208284031215610cb957600080fd5b5035919050565b600080600060608486031215610cd557600080fd5b610cde84610c61565b9250610cec60208501610c61565b9150604084013590509250925092565b600060208284031215610d0e57600080fd5b610d1782610c61565b9392505050565b60008060408385031215610d3157600080fd5b610d3a83610c61565b9150610d4860208401610c61565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104f1576104f1610d51565b634e487b7160e01b600052601260045260246000fd5b600082610da357610da3610d7e565b500490565b808201808211156104f1576104f1610d51565b600082610dca57610dca610d7e565b500690565b818103818111156104f1576104f1610d51565b600181811c90821680610df657607f821691505b602082108103610e1657634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122033593115d17c3441504249bcaff462933d20895d760238f778ac96f7cc0f08df64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c5374616b65642041746c6173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067341544c41530000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101515760003560e01c806370a08231116100cd578063a457c2d711610081578063c4d66de811610066578063c4d66de8146102b0578063dd62ed3e146102c5578063ee99205c146102fe57600080fd5b8063a457c2d71461028a578063a9059cbb1461029d57600080fd5b80637965d56d116100b25780637965d56d146102675780639358928b1461027a57806395d89b411461028257600080fd5b806370a082311461020c57806373c69eb71461021f57600080fd5b80631bd39674116101245780632986c0e5116101095780632986c0e5146101e2578063313ce567146101ea57806339509351146101f957600080fd5b80631bd39674146101bc57806323b872dd146101cf57600080fd5b8063058ecdb41461015657806306fdde031461017c578063095ea7b31461019157806318160ddd146101b4575b600080fd5b610169610164366004610bf1565b610329565b6040519081526020015b60405180910390f35b6101846104f7565b6040516101739190610c13565b6101a461019f366004610c7d565b610589565b6040519015158152602001610173565b600254610169565b6101696101ca366004610ca7565b61059f565b6101a46101dd366004610cc0565b6105af565b610169610701565b60405160098152602001610173565b6101a4610207366004610c7d565b610713565b61016961021a366004610cfc565b61074f565b61023261022d366004610ca7565b610776565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e001610173565b610169610275366004610ca7565b6107c8565b6101696107d8565b6101846107fd565b6101a4610298366004610c7d565b61080c565b6101a46102ab366004610c7d565b610861565b6102c36102be366004610cfc565b610920565b005b6101696102d3366004610d1e565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b600654610311906001600160a01b031681565b6040516001600160a01b039091168152602001610173565b6006546000906001600160a01b031633146103a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79207374616b696e670000000000000000000000000000000000000000604482015260640160405180910390fd5b6000806103af6107d8565b90508460000361044557837f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf46007546040516103ed91815260200190565b60405180910390a2837f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb26000610421610701565b6040805192835260208301919091520160405180910390a2600754925050506104f1565b801561046b57806007548661045a9190610d67565b6104649190610d94565b915061046f565b8491505b8160075461047d9190610da8565b60078190556fffffffffffffffffffffffffffffffff10156104ae576fffffffffffffffffffffffffffffffff6007555b6007546104c567016345785d8a0000600019610dbb565b6104d190600019610dcf565b6104db9190610d94565b6009556104e9818686610a41565b600754925050505b92915050565b60606003805461050690610de2565b80601f016020809104026020016040519081016040528092919081815260200182805461053290610de2565b801561057f5780601f106105545761010080835404028352916020019161057f565b820191906000526020600020905b81548152906001019060200180831161056257829003601f168201915b5050505050905090565b6000610596338484610b90565b50600192915050565b6000600954826104f19190610d67565b6001600160a01b0383166000908152600c602090815260408083203384529091528120546105de908390610dcf565b6001600160a01b0385166000818152600c6020908152604080832033808552908352928190208590555193845290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360006106438361059f565b6001600160a01b0386166000908152600b602052604090205490915061066a908290610dcf565b6001600160a01b038087166000908152600b6020526040808220939093559086168152205461069a908290610da8565b6001600160a01b038086166000818152600b602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106ee9087815260200190565b60405180910390a3506001949350505050565b600061070e6008546107c8565b905090565b336000818152600c602090815260408083206001600160a01b0387168452909152812054909161059691859061074a908690610da8565b610b90565b6009546001600160a01b0382166000908152600b602052604081205490916104f191610d94565b600a818154811061078657600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6000600954826104f19190610d94565b6006546000906107f0906001600160a01b031661074f565b60075461070e9190610dcf565b60606004805461050690610de2565b336000908152600c602090815260408083206001600160a01b03861684529091528120548083106108485761084333856000610b90565b610857565b610857338561074a8685610dcf565b5060019392505050565b600080600954836108729190610d67565b336000908152600b6020526040902054909150610890908290610dcf565b336000908152600b6020526040808220929092556001600160a01b038616815220546108bd908290610da8565b6001600160a01b0385166000818152600b60205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061090e9087815260200190565b60405180910390a35060019392505050565b6005546001600160a01b0316331461093757600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03831617905561097367016345785d8a0000600019610dbb565b61097f90600019610dcf565b600680546001600160a01b039081166000908152600b602052604080822094909455915460075493519116927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916109d991815260200190565b60405180910390a36006546040516001600160a01b0390911681527f817c653428858ed536dc085c5d8273734c517b55de44b55f5c5877a75e3373a19060200160405180910390a1506005805473ffffffffffffffffffffffffffffffffffffffff19169055565b60008315610a695783610a5c84670de0b6b3a7640000610d67565b610a669190610d94565b90505b600a6040518060e00160405280848152602001838152602001868152602001610a906107d8565b8152602001858152602001610aa3610701565b8152436020918201528254600181810185556000948552938290208351600792830290910190815591830151938201939093556040808301516002830155606083015160038301556080830151600483015560a0830151600583015560c0909201516006909101559054905183917f0417b340e646d4be71f9b2da63b5c3c69bc9cfa069f0e0db4756271886130bf491610b3f91815260200190565b60405180910390a2817f6012dbce857565c4a40974aa5de8373a761fc429077ef0c8c8611d1e20d63fb282610b72610701565b6040805192835260208301919091520160405180910390a250505050565b6001600160a01b038381166000818152600c602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008060408385031215610c0457600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015610c4057858101830151858201604001528201610c24565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610c7857600080fd5b919050565b60008060408385031215610c9057600080fd5b610c9983610c61565b946020939093013593505050565b600060208284031215610cb957600080fd5b5035919050565b600080600060608486031215610cd557600080fd5b610cde84610c61565b9250610cec60208501610c61565b9150604084013590509250925092565b600060208284031215610d0e57600080fd5b610d1782610c61565b9392505050565b60008060408385031215610d3157600080fd5b610d3a83610c61565b9150610d4860208401610c61565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104f1576104f1610d51565b634e487b7160e01b600052601260045260246000fd5b600082610da357610da3610d7e565b500490565b808201808211156104f1576104f1610d51565b600082610dca57610dca610d7e565b500690565b818103818111156104f1576104f1610d51565b600181811c90821680610df657607f821691505b602082108103610e1657634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122033593115d17c3441504249bcaff462933d20895d760238f778ac96f7cc0f08df64736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c5374616b65642041746c6173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067341544c41530000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Staked Atlas
Arg [1] : _symbol (string): sATLAS

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 5374616b65642041746c61730000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 7341544c41530000000000000000000000000000000000000000000000000000


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.