ERC-20
Overview
Max Total Supply
74,066,466,453.452338348013683398 sBGFT
Holders
89
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
328,411.462037333994610083 sBGFTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
sBigFoot
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./Authority.sol"; /** * @title uFragments ERC20 token * @dev This is part of an implementation of the uFragments Ideal Money protocol. * uFragments is a normal ERC20 token, but its supply can be adjusted by splitting and * combining tokens proportionally across all wallets. * * uFragment balances are internally represented with a hidden denomination, 'gons'. * We support splitting the currency in expansion and combining the currency on contraction by * changing the exchange rate between the hidden 'gons' and the public 'fragments'. */ contract sBigFoot is ERC20, Authority { // PLEASE READ BEFORE CHANGING ANY ACCOUNTING OR MATH // Anytime there is division, there is a risk of numerical instability from rounding errors. In // order to minimize this risk, we adhere to the following guidelines: // 1) The conversion rate adopted is the number of gons that equals 1 fragment. // The inverse rate must not be used--TOTAL_GONS is always the numerator and _totalSupply is // always the denominator. (i.e. If you want to convert gons to fragments instead of // multiplying by the inverse rate, you should divide by the normal rate) // 2) Gon balances converted into Fragments are always rounded down (truncated). // // We make the following guarantees: // - If address 'A' transfers x Fragments to address 'B'. A's resulting external balance will // be decreased by precisely x Fragments, and B's external balance will be precisely // increased by x Fragments. // // We do not guarantee that the sum of all balances equals the result of calling totalSupply(). // This is because, for any conversion function 'f()' that has non-zero rounding error, // f(x0) + f(x1) + ... + f(xn) is not always equal to f(x0 + x1 + ... xn). event LogRebase(uint256 indexed epoch, uint256 totalSupply); event LogStakingUpdated(address staking); // Used for authentication address public staking; address private initializer; modifier onlyStaking() { require(msg.sender == staking, "sBigFoot: onlyStaking"); _; } uint256 private constant DECIMALS = 18; uint256 private constant MAX_UINT256 = type(uint256).max; uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 50_000_000_000 * 10**DECIMALS; // 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 = type(uint128).max; // (2^128) - 1 uint256 private _totalSupply; uint256 private _gonsPerFragment; mapping(address => uint256) private _gonBalances; // This is denominated in Fragments, because the gons-fragments conversion might change before // it's fully paid. mapping(address => mapping(address => uint256)) private _allowedFragments; // EIP-2612: permit – 712-signed approvals // https://eips.ethereum.org/EIPS/eip-2612 string public constant EIP712_REVISION = "1"; bytes32 public constant EIP712_DOMAIN = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); bytes32 public constant PERMIT_TYPEHASH = keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ); // EIP-2612: keeps track of number of permits per address mapping(address => uint256) private _nonces; constructor() ERC20("Staked BigFoot", "sBGFT") { initializer = msg.sender; _totalSupply = INITIAL_FRAGMENTS_SUPPLY; _gonsPerFragment = TOTAL_GONS / _totalSupply; } function init(address staking_) public { require(msg.sender == initializer, "sBigFoot: Sender is not initializer"); require(staking_ != address(0), "sBigFoot: Staking cannot be address zero"); staking = staking_; _gonBalances[staking_] = TOTAL_GONS; initializer = address(0); emit Transfer(address(0x0), staking_, _totalSupply); emit LogStakingUpdated( staking_ ); } /** * @param staking_ The address of the monetary policy contract to use for authentication. */ function setStaking(address staking_) external onlyAuthority { staking = staking_; emit LogStakingUpdated(staking_); } /** * @dev Notifies Fragments contract about a new rebase cycle. * @param delta The number of new fragment tokens to add into circulation via expansion. * @return The total number of fragments after the supply adjustment. */ function rebase(uint256 epoch, uint256 delta) external onlyStaking returns (uint256) { if (delta == 0) { emit LogRebase(epoch, _totalSupply); return _totalSupply; } uint256 amount; uint256 circulatingSupply_ = circulatingSupply(); if (circulatingSupply_ > 0) { amount = delta * _totalSupply / circulatingSupply_; } else { amount = delta; } _totalSupply = _totalSupply + amount; if (_totalSupply > MAX_SUPPLY) { _totalSupply = MAX_SUPPLY; } _gonsPerFragment = TOTAL_GONS / _totalSupply; // From this point forward, _gonsPerFragment is taken as the source of truth. // We recalculate a new _totalSupply to be in agreement with the _return _totalSupply.sub( balanceOf( staking ) );onsPerFragment // conversion rate. // This means our applied delta can deviate from the requested delta, // but this deviation is guaranteed to be < (_totalSupply^2)/(TOTAL_GONS - _totalSupply). // // In the case of _totalSupply <= MAX_UINT128 (our current supply cap), this // deviation is guaranteed to be < 1, so we can omit this step. If the supply cap is // ever increased, it must be re-included. // _totalSupply = TOTAL_GONS.div(_gonsPerFragment) emit LogRebase(epoch, _totalSupply); return _totalSupply; } function circulatingSupply() public view returns (uint256) { return _totalSupply - balanceOf(staking); } /** * @return The total number of fragments. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @param who The address to query. * @return The balance of the specified address. */ function balanceOf(address who) public view override returns (uint256) { return _gonBalances[who] / _gonsPerFragment; } /** * @param who The address to query. * @return The gon balance of the specified address. */ function scaledBalanceOf(address who) external view returns (uint256) { return _gonBalances[who]; } /** * @return the total number of gons. */ function scaledTotalSupply() external pure returns (uint256) { return TOTAL_GONS; } /** * @return The number of successful permits by the specified address. */ function nonces(address who) public view returns (uint256) { return _nonces[who]; } /** * @return The computed DOMAIN_SEPARATOR to be used off-chain services * which implement EIP-712. * https://eips.ethereum.org/EIPS/eip-2612 */ function DOMAIN_SEPARATOR() public view returns (bytes32) { uint256 chainId; assembly { chainId := chainid() } return keccak256( abi.encode( EIP712_DOMAIN, keccak256(bytes(name())), keccak256(bytes(EIP712_REVISION)), chainId, address(this) ) ); } /** * @dev Transfer tokens to a specified address. * @param to The address to transfer to. * @param value The amount to be transferred. * @return True on success, false otherwise. */ function transfer(address to, uint256 value) public override 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; } /** * @dev Function to check the amount of tokens that an owner has allowed to a spender. * @param owner_ The address which owns the funds. * @param spender The address which will spend the funds. * @return The number of tokens still available for the spender. */ function allowance(address owner_, address spender) public view override returns (uint256) { return _allowedFragments[owner_][spender]; } /** * @dev Transfer tokens from one address to another. * @param from The address you want to send tokens from. * @param to The address you want to transfer to. * @param value The amount of tokens to be transferred. */ function transferFrom( address from, address to, uint256 value ) public override returns (bool) { _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender] - value; uint256 gonValue = value * _gonsPerFragment; _gonBalances[from] = _gonBalances[from] - gonValue; _gonBalances[to] = _gonBalances[to] + gonValue; emit Transfer(from, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of * msg.sender. This method is included for ERC20 compatibility. * increaseAllowance and decreaseAllowance should be used instead. * Changing an allowance with this method brings the risk that someone may transfer both * the old and the new allowance - if they are both greater than zero - if a transfer * transaction is mined before the later approve() call is mined. * * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public override returns (bool) { _allowedFragments[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Increase the amount of tokens that an owner has allowed to a spender. * This method should be used instead of approve() to avoid the double approval vulnerability * described above. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public override returns (bool) { _allowedFragments[msg.sender][spender] = _allowedFragments[msg.sender][spender] + addedValue; emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]); return true; } /** * @dev Decrease the amount of tokens that an owner has allowed to a spender. * * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public override returns (bool) { uint256 oldValue = _allowedFragments[msg.sender][spender]; _allowedFragments[msg.sender][spender] = (subtractedValue >= oldValue) ? 0 : oldValue - subtractedValue; emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]); return true; } /** * @dev Allows for approvals to be made via secp256k1 signatures. * @param owner The owner of the funds * @param spender The spender * @param value The amount * @param deadline The deadline timestamp, type(uint256).max for max deadline * @param v Signature param * @param s Signature param * @param r Signature param */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public { require(block.timestamp <= deadline); uint256 ownerNonce = _nonces[owner]; bytes32 permitDataDigest = keccak256( abi.encode(PERMIT_TYPEHASH, owner, spender, value, ownerNonce, deadline) ); bytes32 digest = keccak256( abi.encodePacked("\x19\x01", DOMAIN_SEPARATOR(), permitDataDigest) ); require(owner == ecrecover(digest, v, r, s)); _nonces[owner] = ownerNonce + 1; _allowedFragments[owner][spender] = value; emit Approval(owner, spender, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `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; _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; } _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 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 {} }
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.8.0; contract Authority { address[] public authorities; mapping(address => bool) public isAuthority; constructor() { authorities.push(msg.sender); isAuthority[msg.sender] = true; } modifier onlySuperAuthority() { require(authorities[0] == msg.sender, "Authority: Only Super Authority"); _; } modifier onlyAuthority() { require(isAuthority[msg.sender], "Authority: Only Authority"); _; } function addAuthority(address _new, bool _change) external onlySuperAuthority { require(!isAuthority[_new], "Authoritys: Already authority"); isAuthority[_new] = true; if (_change) { authorities.push(authorities[0]); authorities[0] = _new; } else { authorities.push(_new); } } function removeAuthority(address _new) external onlySuperAuthority { require(isAuthority[_new], "Authority: Not authority"); require(_new != authorities[0], "Authority: Cannot remove super authority"); for (uint i = 1; i < authorities.length; i++) { if (authorities[i] == _new) { authorities[i] = authorities[authorities.length - 1]; authorities.pop(); break; } } isAuthority[_new] = false; } function getAuthoritiesSize() external view returns(uint) { return authorities.length; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// 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); }
// SPDX-License-Identifier: MIT // 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staking","type":"address"}],"name":"LogStakingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EIP712_DOMAIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EIP712_REVISION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"},{"internalType":"bool","name":"_change","type":"bool"}],"name":"addAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"authorities","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"getAuthoritiesSize","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":[{"internalType":"address","name":"staking_","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAuthority","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"delta","type":"uint256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"removeAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"scaledBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scaledTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"staking_","type":"address"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600e81526d14dd185ad95908109a59d19bdbdd60921b6020808301918252835180850190945260058452641cd091d19560da1b908401528151919291620000659160039162000158565b5080516200007b90600490602084019062000158565b50506005805460018082019092557f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0018054336001600160a01b031991821681179092556000828152600660205260409020805460ff19169093179092556008805490921617905550620000f26012600a62000262565b6200010390640ba43b740062000357565b6009819055620001166012600a62000262565b6200012790640ba43b740062000357565b6200013590600019620003d0565b620001439060001962000379565b6200014f9190620001fe565b600a5562000413565b828054620001669062000393565b90600052602060002090601f0160209004810192826200018a5760008555620001d5565b82601f10620001a557805160ff1916838001178555620001d5565b82800160010185558215620001d5579182015b82811115620001d5578251825591602001919060010190620001b8565b50620001e3929150620001e7565b5090565b5b80821115620001e35760008155600101620001e8565b600082620002105762000210620003fd565b500490565b80825b600180861162000229575062000259565b8187048211156200023e576200023e620003e7565b808616156200024c57918102915b9490941c93800262000218565b94509492505050565b60006200027360001984846200027a565b9392505050565b6000826200028b5750600162000273565b816200029a5750600062000273565b8160018114620002b35760028114620002be57620002f2565b600191505062000273565b60ff841115620002d257620002d2620003e7565b6001841b915084821115620002eb57620002eb620003e7565b5062000273565b5060208310610133831016604e8410600b84101617156200032a575081810a83811115620003245762000324620003e7565b62000273565b62000339848484600162000215565b8086048211156200034e576200034e620003e7565b02949350505050565b6000816000190483118215151615620003745762000374620003e7565b500290565b6000828210156200038e576200038e620003e7565b500390565b600281046001821680620003a857607f821691505b60208210811415620003ca57634e487b7160e01b600052602260045260246000fd5b50919050565b600082620003e257620003e2620003fd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6119b880620004236000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e1461038d578063e1b11da4146103a0578063e69eb794146103a8578063e6b28449146103b0576101cf565b8063a9059cbb1461034c578063b1bf962d1461035f578063d505accf14610367578063d544e0101461037a576101cf565b80638ff39099116100de5780638ff39099146103165780639358928b1461032957806395d89b4114610331578063a457c2d714610339576101cf565b806370a08231146102e857806378160376146102fb5780637ecebe0014610303576101cf565b806323b872dd116101715780633644e5151161014b5780633644e515146102a557806339509351146102ad578063494503d4146102c05780634cf088d9146102e0576101cf565b806323b872dd1461027557806330adf81f14610288578063313ce56714610290576101cf565b806318160ddd116101ad57806318160ddd1461023257806319ab453c1461023a5780631da24f3e1461024f5780632330f24714610262576101cf565b8063058ecdb4146101d457806306fdde03146101fd578063095ea7b314610212575b600080fd5b6101e76101e2366004611435565b6103c3565b6040516101f49190611490565b60405180910390f35b610205610532565b6040516101f49190611517565b6102256102203660046113f4565b6105c4565b6040516101f49190611485565b6101e761061c565b61024d6102483660046112c2565b610622565b005b6101e761025d3660046112c2565b610763565b6102256102703660046112c2565b610782565b61022561028336600461130e565b610797565b6101e76108b8565b6102986108dc565b6040516101f49190611748565b6101e76108e1565b6102256102bb3660046113f4565b610979565b6102d36102ce36600461141d565b6109ee565b6040516101f49190611471565b6102d3610a18565b6101e76102f63660046112c2565b610a27565b610205610a4e565b6101e76103113660046112c2565b610a6b565b61024d6103243660046112c2565b610a86565b6101e7610b00565b610205610b2a565b6102256103473660046113f4565b610b39565b61022561035a3660046113f4565b610bcf565b6101e7610c7a565b61024d610375366004611349565b610caf565b61024d6103883660046112c2565b610e40565b6101e761039b3660046112dc565b611092565b6101e76110bd565b6101e76110e1565b61024d6103be3660046113ba565b6110e7565b6007546000906001600160a01b031633146103f95760405162461bcd60e51b81526004016103f0906116e2565b60405180910390fd5b8161044157827f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f26009546040516104309190611490565b60405180910390a25060095461052c565b60008061044c610b00565b905080156104745780600954856104639190611896565b61046d919061176e565b9150610478565b8391505b816009546104869190611756565b60098190556001600160801b0310156104a5576001600160801b036009555b6009546104b46012600a6117c8565b6104c390640ba43b7400611896565b6104cf90600019611922565b6104db906000196118b5565b6104e5919061176e565b600a5560095460405186917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29161051c9190611490565b60405180910390a2600954925050505b92915050565b606060038054610541906118cc565b80601f016020809104026020016040519081016040528092919081815260200182805461056d906118cc565b80156105ba5780601f1061058f576101008083540402835291602001916105ba565b820191906000526020600020905b81548152906001019060200180831161059d57829003601f168201915b5050505050905090565b336000818152600c602090815260408083206001600160a01b038716808552925280832085905551919290916000805160206119638339815191529061060b908690611490565b60405180910390a350600192915050565b60095490565b6008546001600160a01b0316331461064c5760405162461bcd60e51b81526004016103f09061156a565b6001600160a01b0381166106725760405162461bcd60e51b81526004016103f09061162c565b600780546001600160a01b0319166001600160a01b0383161790556106996012600a6117c8565b6106a890640ba43b7400611896565b6106b490600019611922565b6106c0906000196118b5565b6001600160a01b0382166000818152600b602052604080822093909355600880546001600160a01b03191690556009549251919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9161072191611490565b60405180910390a37fc9144c87585ceff39af3502e1292271274859256eda07173d4a154803f25ec36816040516107589190611471565b60405180910390a150565b6001600160a01b0381166000908152600b60205260409020545b919050565b60066020526000908152604090205460ff1681565b6001600160a01b0383166000908152600c602090815260408083203384529091528120546107c69083906118b5565b6001600160a01b0385166000908152600c60209081526040808320338452909152812091909155600a546107fa9084611896565b6001600160a01b0386166000908152600b60205260409020549091506108219082906118b5565b6001600160a01b038087166000908152600b60205260408082209390935590861681522054610851908290611756565b6001600160a01b038086166000818152600b602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108a3908790611490565b60405180910390a360019150505b9392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601290565b6000467f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61090d610532565b805160209182012060408051808201825260018152603160f81b908401525161095d93927fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc69186913091016114cd565b6040516020818303038152906040528051906020012091505090565b336000908152600c602090815260408083206001600160a01b03861684529091528120546109a8908390611756565b336000818152600c602090815260408083206001600160a01b038916808552925291829020849055905190926000805160206119638339815191529161060b9190611490565b600581815481106109fe57600080fd5b6000918252602090912001546001600160a01b0316905081565b6007546001600160a01b031681565b600a546001600160a01b0382166000908152600b6020526040812054909161052c9161176e565b604051806040016040528060018152602001603160f81b81525081565b6001600160a01b03166000908152600d602052604090205490565b3360009081526006602052604090205460ff16610ab55760405162461bcd60e51b81526004016103f0906115ad565b600780546001600160a01b0319166001600160a01b0383161790556040517fc9144c87585ceff39af3502e1292271274859256eda07173d4a154803f25ec3690610758908390611471565b600754600090610b18906001600160a01b0316610a27565b600954610b2591906118b5565b905090565b606060048054610541906118cc565b336000908152600c602090815260408083206001600160a01b038616845290915281205480831015610b7457610b6f83826118b5565b610b77565b60005b336000818152600c602090815260408083206001600160a01b038a168085529252918290208490559051909260008051602061196383398151915291610bbd9190611490565b60405180910390a35060019392505050565b600080600a5483610be09190611896565b336000908152600b6020526040902054909150610bfe9082906118b5565b336000908152600b6020526040808220929092556001600160a01b03861681522054610c2b908290611756565b6001600160a01b0385166000818152600b60205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bbd908790611490565b6000610c886012600a6117c8565b610c9790640ba43b7400611896565b610ca390600019611922565b610b25906000196118b5565b83421115610cbc57600080fd5b6001600160a01b0387166000908152600d60209081526040808320549051909291610d13917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9188918d9101611499565b6040516020818303038152906040528051906020012090506000610d356108e1565b82604051602001610d47929190611456565b60405160208183030381529060405280519060200120905060018187878760405160008152602001604052604051610d8294939291906114f9565b6020604051602081039080840390855afa158015610da4573d6000803e3d6000fd5b505050602060405103516001600160a01b03168a6001600160a01b031614610dcb57600080fd5b610dd6836001611756565b6001600160a01b03808c166000818152600d6020908152604080832095909555600c8152848220938e168083529390528390208b9055915190919060008051602061196383398151915290610e2c908c90611490565b60405180910390a350505050505050505050565b336001600160a01b03166005600081548110610e6c57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610e9e5760405162461bcd60e51b81526004016103f090611711565b6001600160a01b03811660009081526006602052604090205460ff16610ed65760405162461bcd60e51b81526004016103f090611674565b6005600081548110610ef857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0382811691161415610f2f5760405162461bcd60e51b81526004016103f0906115e4565b60015b60055481101561107057816001600160a01b031660058281548110610f6757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141561105e5760058054610f92906001906118b5565b81548110610fb057634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600580546001600160a01b039092169183908110610fea57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600580548061103757634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055611070565b8061106881611907565b915050610f32565b506001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b60055490565b336001600160a01b0316600560008154811061111357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316146111455760405162461bcd60e51b81526004016103f090611711565b6001600160a01b03821660009081526006602052604090205460ff161561117e5760405162461bcd60e51b81526004016103f0906116ab565b6001600160a01b0382166000908152600660205260409020805460ff19166001179055801561125b576005806000815481106111ca57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910154835460018101855593835290822090920180546001600160a01b0319166001600160a01b03909316929092179091556005805484929061122857634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506112a7565b600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b5050565b80356001600160a01b038116811461077d57600080fd5b6000602082840312156112d3578081fd5b6108b1826112ab565b600080604083850312156112ee578081fd5b6112f7836112ab565b9150611305602084016112ab565b90509250929050565b600080600060608486031215611322578081fd5b61132b846112ab565b9250611339602085016112ab565b9150604084013590509250925092565b600080600080600080600060e0888a031215611363578283fd5b61136c886112ab565b965061137a602089016112ab565b95506040880135945060608801359350608088013560ff8116811461139d578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156113cc578182fd5b6113d5836112ab565b9150602083013580151581146113e9578182fd5b809150509250929050565b60008060408385031215611406578182fd5b61140f836112ab565b946020939093013593505050565b60006020828403121561142e578081fd5b5035919050565b60008060408385031215611447578182fd5b50508035926020909101359150565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b8181101561154357858101830151858201604001528201611527565b818111156115545783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f73426967466f6f743a2053656e646572206973206e6f7420696e697469616c696040820152623d32b960e91b606082015260800190565b60208082526019908201527f417574686f726974793a204f6e6c7920417574686f7269747900000000000000604082015260600190565b60208082526028908201527f417574686f726974793a2043616e6e6f742072656d6f766520737570657220616040820152677574686f7269747960c01b606082015260800190565b60208082526028908201527f73426967466f6f743a205374616b696e672063616e6e6f742062652061646472604082015267657373207a65726f60c01b606082015260800190565b60208082526018908201527f417574686f726974793a204e6f7420617574686f726974790000000000000000604082015260600190565b6020808252601d908201527f417574686f72697479733a20416c726561647920617574686f72697479000000604082015260600190565b60208082526015908201527473426967466f6f743a206f6e6c795374616b696e6760581b604082015260600190565b6020808252601f908201527f417574686f726974793a204f6e6c7920537570657220417574686f7269747900604082015260600190565b60ff91909116815260200190565b6000821982111561176957611769611936565b500190565b60008261177d5761177d61194c565b500490565b80825b600180861161179457506117bf565b8187048211156117a6576117a6611936565b808616156117b357918102915b9490941c938002611785565b94509492505050565b60006108b160001984846000826117e1575060016108b1565b816117ee575060006108b1565b8160018114611804576002811461180e5761183b565b60019150506108b1565b60ff84111561181f5761181f611936565b6001841b91508482111561183557611835611936565b506108b1565b5060208310610133831016604e8410600b841016171561186e575081810a8381111561186957611869611936565b6108b1565b61187b8484846001611782565b80860482111561188d5761188d611936565b02949350505050565b60008160001904831182151516156118b0576118b0611936565b500290565b6000828210156118c7576118c7611936565b500390565b6002810460018216806118e057607f821691505b6020821081141561190157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561191b5761191b611936565b5060010190565b6000826119315761193161194c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a2646970667358221220f96c05a70e32e6a03120053a8c1d14ef7b61d868b90e0954f8680bf09580da8a64736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e1461038d578063e1b11da4146103a0578063e69eb794146103a8578063e6b28449146103b0576101cf565b8063a9059cbb1461034c578063b1bf962d1461035f578063d505accf14610367578063d544e0101461037a576101cf565b80638ff39099116100de5780638ff39099146103165780639358928b1461032957806395d89b4114610331578063a457c2d714610339576101cf565b806370a08231146102e857806378160376146102fb5780637ecebe0014610303576101cf565b806323b872dd116101715780633644e5151161014b5780633644e515146102a557806339509351146102ad578063494503d4146102c05780634cf088d9146102e0576101cf565b806323b872dd1461027557806330adf81f14610288578063313ce56714610290576101cf565b806318160ddd116101ad57806318160ddd1461023257806319ab453c1461023a5780631da24f3e1461024f5780632330f24714610262576101cf565b8063058ecdb4146101d457806306fdde03146101fd578063095ea7b314610212575b600080fd5b6101e76101e2366004611435565b6103c3565b6040516101f49190611490565b60405180910390f35b610205610532565b6040516101f49190611517565b6102256102203660046113f4565b6105c4565b6040516101f49190611485565b6101e761061c565b61024d6102483660046112c2565b610622565b005b6101e761025d3660046112c2565b610763565b6102256102703660046112c2565b610782565b61022561028336600461130e565b610797565b6101e76108b8565b6102986108dc565b6040516101f49190611748565b6101e76108e1565b6102256102bb3660046113f4565b610979565b6102d36102ce36600461141d565b6109ee565b6040516101f49190611471565b6102d3610a18565b6101e76102f63660046112c2565b610a27565b610205610a4e565b6101e76103113660046112c2565b610a6b565b61024d6103243660046112c2565b610a86565b6101e7610b00565b610205610b2a565b6102256103473660046113f4565b610b39565b61022561035a3660046113f4565b610bcf565b6101e7610c7a565b61024d610375366004611349565b610caf565b61024d6103883660046112c2565b610e40565b6101e761039b3660046112dc565b611092565b6101e76110bd565b6101e76110e1565b61024d6103be3660046113ba565b6110e7565b6007546000906001600160a01b031633146103f95760405162461bcd60e51b81526004016103f0906116e2565b60405180910390fd5b8161044157827f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f26009546040516104309190611490565b60405180910390a25060095461052c565b60008061044c610b00565b905080156104745780600954856104639190611896565b61046d919061176e565b9150610478565b8391505b816009546104869190611756565b60098190556001600160801b0310156104a5576001600160801b036009555b6009546104b46012600a6117c8565b6104c390640ba43b7400611896565b6104cf90600019611922565b6104db906000196118b5565b6104e5919061176e565b600a5560095460405186917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f29161051c9190611490565b60405180910390a2600954925050505b92915050565b606060038054610541906118cc565b80601f016020809104026020016040519081016040528092919081815260200182805461056d906118cc565b80156105ba5780601f1061058f576101008083540402835291602001916105ba565b820191906000526020600020905b81548152906001019060200180831161059d57829003601f168201915b5050505050905090565b336000818152600c602090815260408083206001600160a01b038716808552925280832085905551919290916000805160206119638339815191529061060b908690611490565b60405180910390a350600192915050565b60095490565b6008546001600160a01b0316331461064c5760405162461bcd60e51b81526004016103f09061156a565b6001600160a01b0381166106725760405162461bcd60e51b81526004016103f09061162c565b600780546001600160a01b0319166001600160a01b0383161790556106996012600a6117c8565b6106a890640ba43b7400611896565b6106b490600019611922565b6106c0906000196118b5565b6001600160a01b0382166000818152600b602052604080822093909355600880546001600160a01b03191690556009549251919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9161072191611490565b60405180910390a37fc9144c87585ceff39af3502e1292271274859256eda07173d4a154803f25ec36816040516107589190611471565b60405180910390a150565b6001600160a01b0381166000908152600b60205260409020545b919050565b60066020526000908152604090205460ff1681565b6001600160a01b0383166000908152600c602090815260408083203384529091528120546107c69083906118b5565b6001600160a01b0385166000908152600c60209081526040808320338452909152812091909155600a546107fa9084611896565b6001600160a01b0386166000908152600b60205260409020549091506108219082906118b5565b6001600160a01b038087166000908152600b60205260408082209390935590861681522054610851908290611756565b6001600160a01b038086166000818152600b602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108a3908790611490565b60405180910390a360019150505b9392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601290565b6000467f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61090d610532565b805160209182012060408051808201825260018152603160f81b908401525161095d93927fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc69186913091016114cd565b6040516020818303038152906040528051906020012091505090565b336000908152600c602090815260408083206001600160a01b03861684529091528120546109a8908390611756565b336000818152600c602090815260408083206001600160a01b038916808552925291829020849055905190926000805160206119638339815191529161060b9190611490565b600581815481106109fe57600080fd5b6000918252602090912001546001600160a01b0316905081565b6007546001600160a01b031681565b600a546001600160a01b0382166000908152600b6020526040812054909161052c9161176e565b604051806040016040528060018152602001603160f81b81525081565b6001600160a01b03166000908152600d602052604090205490565b3360009081526006602052604090205460ff16610ab55760405162461bcd60e51b81526004016103f0906115ad565b600780546001600160a01b0319166001600160a01b0383161790556040517fc9144c87585ceff39af3502e1292271274859256eda07173d4a154803f25ec3690610758908390611471565b600754600090610b18906001600160a01b0316610a27565b600954610b2591906118b5565b905090565b606060048054610541906118cc565b336000908152600c602090815260408083206001600160a01b038616845290915281205480831015610b7457610b6f83826118b5565b610b77565b60005b336000818152600c602090815260408083206001600160a01b038a168085529252918290208490559051909260008051602061196383398151915291610bbd9190611490565b60405180910390a35060019392505050565b600080600a5483610be09190611896565b336000908152600b6020526040902054909150610bfe9082906118b5565b336000908152600b6020526040808220929092556001600160a01b03861681522054610c2b908290611756565b6001600160a01b0385166000818152600b60205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bbd908790611490565b6000610c886012600a6117c8565b610c9790640ba43b7400611896565b610ca390600019611922565b610b25906000196118b5565b83421115610cbc57600080fd5b6001600160a01b0387166000908152600d60209081526040808320549051909291610d13917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9188918d9101611499565b6040516020818303038152906040528051906020012090506000610d356108e1565b82604051602001610d47929190611456565b60405160208183030381529060405280519060200120905060018187878760405160008152602001604052604051610d8294939291906114f9565b6020604051602081039080840390855afa158015610da4573d6000803e3d6000fd5b505050602060405103516001600160a01b03168a6001600160a01b031614610dcb57600080fd5b610dd6836001611756565b6001600160a01b03808c166000818152600d6020908152604080832095909555600c8152848220938e168083529390528390208b9055915190919060008051602061196383398151915290610e2c908c90611490565b60405180910390a350505050505050505050565b336001600160a01b03166005600081548110610e6c57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614610e9e5760405162461bcd60e51b81526004016103f090611711565b6001600160a01b03811660009081526006602052604090205460ff16610ed65760405162461bcd60e51b81526004016103f090611674565b6005600081548110610ef857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0382811691161415610f2f5760405162461bcd60e51b81526004016103f0906115e4565b60015b60055481101561107057816001600160a01b031660058281548110610f6757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141561105e5760058054610f92906001906118b5565b81548110610fb057634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600580546001600160a01b039092169183908110610fea57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600580548061103757634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055611070565b8061106881611907565b915050610f32565b506001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b60055490565b336001600160a01b0316600560008154811061111357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316146111455760405162461bcd60e51b81526004016103f090611711565b6001600160a01b03821660009081526006602052604090205460ff161561117e5760405162461bcd60e51b81526004016103f0906116ab565b6001600160a01b0382166000908152600660205260409020805460ff19166001179055801561125b576005806000815481106111ca57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910154835460018101855593835290822090920180546001600160a01b0319166001600160a01b03909316929092179091556005805484929061122857634e487b7160e01b600052603260045260246000fd5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506112a7565b600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b5050565b80356001600160a01b038116811461077d57600080fd5b6000602082840312156112d3578081fd5b6108b1826112ab565b600080604083850312156112ee578081fd5b6112f7836112ab565b9150611305602084016112ab565b90509250929050565b600080600060608486031215611322578081fd5b61132b846112ab565b9250611339602085016112ab565b9150604084013590509250925092565b600080600080600080600060e0888a031215611363578283fd5b61136c886112ab565b965061137a602089016112ab565b95506040880135945060608801359350608088013560ff8116811461139d578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156113cc578182fd5b6113d5836112ab565b9150602083013580151581146113e9578182fd5b809150509250929050565b60008060408385031215611406578182fd5b61140f836112ab565b946020939093013593505050565b60006020828403121561142e578081fd5b5035919050565b60008060408385031215611447578182fd5b50508035926020909101359150565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b8181101561154357858101830151858201604001528201611527565b818111156115545783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f73426967466f6f743a2053656e646572206973206e6f7420696e697469616c696040820152623d32b960e91b606082015260800190565b60208082526019908201527f417574686f726974793a204f6e6c7920417574686f7269747900000000000000604082015260600190565b60208082526028908201527f417574686f726974793a2043616e6e6f742072656d6f766520737570657220616040820152677574686f7269747960c01b606082015260800190565b60208082526028908201527f73426967466f6f743a205374616b696e672063616e6e6f742062652061646472604082015267657373207a65726f60c01b606082015260800190565b60208082526018908201527f417574686f726974793a204e6f7420617574686f726974790000000000000000604082015260600190565b6020808252601d908201527f417574686f72697479733a20416c726561647920617574686f72697479000000604082015260600190565b60208082526015908201527473426967466f6f743a206f6e6c795374616b696e6760581b604082015260600190565b6020808252601f908201527f417574686f726974793a204f6e6c7920537570657220417574686f7269747900604082015260600190565b60ff91909116815260200190565b6000821982111561176957611769611936565b500190565b60008261177d5761177d61194c565b500490565b80825b600180861161179457506117bf565b8187048211156117a6576117a6611936565b808616156117b357918102915b9490941c938002611785565b94509492505050565b60006108b160001984846000826117e1575060016108b1565b816117ee575060006108b1565b8160018114611804576002811461180e5761183b565b60019150506108b1565b60ff84111561181f5761181f611936565b6001841b91508482111561183557611835611936565b506108b1565b5060208310610133831016604e8410600b841016171561186e575081810a8381111561186957611869611936565b6108b1565b61187b8484846001611782565b80860482111561188d5761188d611936565b02949350505050565b60008160001904831182151516156118b0576118b0611936565b500290565b6000828210156118c7576118c7611936565b500390565b6002810460018216806118e057607f821691505b6020821081141561190157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561191b5761191b611936565b5060010190565b6000826119315761193161194c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a2646970667358221220f96c05a70e32e6a03120053a8c1d14ef7b61d868b90e0954f8680bf09580da8a64736f6c63430008000033
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.