SKY

Ethereum ERC-20 Token Browse chains

0x56072c95faa701256059aa122697b133aded9279

Solidity v0.8.21+commit.d9974bed

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: sky-eth 0x56072c95faa701256059aa122697b133aded9279
Sample prompt: "Tell me the current state of sky-eth"
No AI wired up yet? → mcp.smarts.md · Browse chains

Admin & Risk

Who can change the rules?

Detected mintable controls from the verified ABI.

Mintable

Overview

Read Functions
12
Write Functions
9
Events
4

Read Functions

Block #25,493,355 · just now
DOMAIN_SEPARATOR() view → 0xc29a59280f266eae3c8c0e04b1bc7162b166c4c628bfd6d84eff529600fb0854

Returns the EIP-712 domain separator used for typed data signing.✨ AI

Returns

Name Type Description
bytes32 The EIP-712 domain separator (bytes32) for this contract, used in permit and typed-data signatures.✨ AI
PERMIT_TYPEHASH() view → 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9

Returns the EIP-2612 Permit typehash used for permit signature verification.✨ AI

Returns

Name Type Description
bytes32 The bytes32 EIP-712 typehash for Permit, used when constructing and verifying permit signatures.✨ AI
allowance(address, address) view

Return the remaining number of tokens that a spender is allowed to transfer from an owner.✨ AI

Parameters

Name Type Description
address
address

Returns

Name Type Description
uint256 Remaining allowance as a uint256, denominated in the token's smallest units.✨ AI
balanceOf(address) view

Return the token balance for the given address.✨ AI

Parameters

Name Type Description
address

Returns

Name Type Description
uint256 The account's token balance as an unsigned integer (in the token's smallest unit).✨ AI
decimals() view → 18

Returns the number of decimal places the token uses for its user representation.✨ AI

Returns

Name Type Description
uint8 The number of decimal places (uint8) used by the token for display and value conversions.✨ AI
deploymentChainId() view → 1

Returns the chain ID where the contract was deployed.✨ AI

Returns

Name Type Description
uint256 The uint256 chain identifier (chainId) of the network where this contract was deployed.✨ AI
name() view → SKY Governance Token

Returns the token's name.✨ AI

Returns

Name Type Description
string The token's name as a string, intended for user interfaces and display.✨ AI
nonces(address) view

Return the current nonce for a given address used to prevent replay of signed messages.✨ AI

Parameters

Name Type Description
address

Returns

Name Type Description
uint256 Current nonce value for the address as a uint256, incremented after each permit or meta-transaction.✨ AI
symbol() view → SKY

Returns the token's short symbol used by wallets and exchanges.✨ AI

Returns

Name Type Description
string The token symbol string (e.g., "SKY"), a short human-readable identifier.✨ AI
totalSupply() view → 23,462,665,147.36 SKY

Returns the total number of Sky tokens in existence.✨ AI

Returns

Name Type Description
uint256 Total supply of Sky tokens as a uint256 expressed in the token's smallest unit.✨ AI
version() view → 1

Return the Sky token contract version string.✨ AI

Returns

Name Type Description
string The contract version identifier (e.g., semantic version) as a string.✨ AI
wards(address) view

Get the authorization status of an address used for privileged contract operations.✨ AI

Parameters

Name Type Description
address

Returns

Name Type Description
uint256 Unsigned integer flag: 1 means address is a ward (authorized), 0 means not authorized.✨ AI

Write Functions

approve(spender: address, value: uint256) nonpayable

Sets the allowance for spender to transfer up to value tokens from caller's balance.✨ AI

dev: Changing a nonzero allowance can create a race condition; set it to 0 before updating or use increase/decrease functions.✨ AI

Parameters

Name Type Description
spender address Address that will be allowed to spend the tokens.✨ AI
value uint256 Maximum amount of tokens the spender is allowed to transfer.✨ AI

Returns

Name Type Description
bool True if the allowance was successfully set.✨ AI
burn(from: address, value: uint256) nonpayable

Burns tokens from a specified address, reducing that address's balance and the total supply.✨ AI

Parameters

Name Type Description
from address Address whose tokens will be burned.✨ AI
value uint256 Amount of tokens to burn, expressed in the token's smallest unit.✨ AI
deny(usr: address) nonpayable

Revoke the Sky contract's administrative permission for the specified address.✨ AI

dev: Callable only by an authorized account; reverts if caller lacks permission. Removes previously granted admin rights and updates the contract's authorization state.✨ AI

Parameters

Name Type Description
usr address Address to revoke authorization for.✨ AI
mint(to: address, value: uint256) nonpayable

Mints new tokens and assigns them to the specified address.✨ AI

Parameters

Name Type Description
to address Address receiving the newly minted tokens.✨ AI
value uint256 Amount of tokens to mint, expressed in the token's smallest units.✨ AI
permit(owner: address, spender: address, value: uint256, deadline: uint256, signature: bytes) nonpayable

Approve spender to spend owner's tokens using an off-chain signature.✨ AI

Parameters

Name Type Description
owner address Token holder address whose approval is being set.✨ AI
spender address Address permitted to spend the owner's tokens.✨ AI
value uint256 Amount of tokens to approve (uint256).✨ AI
deadline uint256 Unix timestamp after which the signature is invalid.✨ AI
signature bytes
permit(owner: address, spender: address, value: uint256, deadline: uint256, v: uint8, r: bytes32, s: bytes32) nonpayable

Approve spender to spend owner's tokens using an off-chain signature.✨ AI

Parameters

Name Type Description
owner address Token holder address whose approval is being set.✨ AI
spender address Address permitted to spend the owner's tokens.✨ AI
value uint256 Amount of tokens to approve (uint256).✨ AI
deadline uint256 Unix timestamp after which the signature is invalid.✨ AI
v uint8 Recovery byte of the owner's signature.✨ AI
r bytes32 First 32 bytes of the owner's signature.✨ AI
s bytes32 Second 32 bytes of the owner's signature.✨ AI
rely(usr: address) nonpayable

Grant administrative authorization to the specified address.✨ AI

Parameters

Name Type Description
usr address Address to grant administrative authorization for privileged actions.✨ AI
transfer(to: address, value: uint256) nonpayable

Transfer tokens from the caller's account to the specified address.✨ AI

Parameters

Name Type Description
to address Recipient address to receive the tokens.✨ AI
value uint256 Number of tokens to transfer, expressed in the token's smallest unit.✨ AI

Returns

Name Type Description
bool True if the transfer succeeds.✨ AI
transferFrom(from: address, to: address, value: uint256) nonpayable

Transfer tokens from one account to another using the caller's allowance.✨ AI

dev: Requires 'from' balance >= value and caller's allowance >= value; decreases allowance and emits Transfer.✨ AI

Parameters

Name Type Description
from address Address to debit tokens from.✨ AI
to address Address to credit tokens to.✨ AI
value uint256 Amount of tokens to transfer.✨ AI

Returns

Name Type Description
bool True if the transfer succeeds.✨ AI

Events

Approval(owner: address, spender: address, value: uint256)
Name Type Indexed Description
owner address
spender address
value uint256
Deny(usr: address)
Name Type Indexed Description
usr address
Rely(usr: address)
Name Type Indexed Description
usr address
Transfer(from: address, to: address, value: uint256)
Name Type Indexed Description
from address
to address
value uint256