Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.stablenet.network/llms.txt

Use this file to discover all available pages before exploring further.

All StableNet system contracts are deployed at fixed genesis addresses and are identical on every network.

System Contracts

Five governance contracts are deployed at genesis. They have no owner and can only be upgraded via hard fork.
ContractAddressPurpose
NativeCoinAdapter0x0000000000000000000000000000000000001000ERC-20 wrapper for WKRC (KRW-pegged). Mint/burn entry point.
GovValidator0x0000000000000000000000000000000000001001Validator set management, BLS key registration, gas tip governance.
GovMasterMinter0x0000000000000000000000000000000000001002Approved minter registry and global mint allowance caps.
GovMinter0x0000000000000000000000000000000000001003Mint/burn proposal creation, voting, and execution.
GovCouncil0x0000000000000000000000000000000000001004Blacklist and Authorized account management.

NativeCoinAdapter (WKRC)

0x0000000000000000000000000000000000001000
PropertyValue
SymbolWKRC
Decimals18
PegKorean Won (KRW)
StandardERC-20, FiatTokenV2_2
Key behaviors:
  • balanceOf(address) reads the account’s native balance directly — no separate token storage
  • Transfers modify native balances (same balance used for gas)
  • Allowances are stored in contract storage via approve() / transferFrom()
  • Emits standard ERC-20 events: Transfer, Approval, Mint, Burn

Governance Contracts

GovValidator — 0x…1001

Manages the active validator set and the governance-enforced gas tip (gasTip). Validators register an operator address, consensus address, and BLS public key. Set changes take effect at epoch boundaries.

GovMasterMinter — 0x…1002

Maintains the list of approved minters and their global maximum mint allowance. Only registered minters can call mint() on NativeCoinAdapter.

GovMinter — 0x…1003

Handles the proposal lifecycle for minting and burning WKRC. Proposals require quorum voting before execution.

GovCouncil — 0x…1004

Manages two account flags stored in the account’s Extra field:
FlagEffect
BlacklistedAll transfers blocked
AuthorizedExempt from governance gas tip enforcement

EVM Precompiles

Standard precompiles are available at their canonical addresses:
AddressNameEIP
0x01ecRecover
0x02SHA-256
0x03RIPEMD-160
0x04Identity
0x05ModExpEIP-198
0x06ecAddEIP-196
0x07ecMulEIP-196
0x08ecPairingEIP-197
0x09Blake2fEIP-152
0xb00001blsPoPAnzeon — BLS Proof-of-Possession