Core Smart Contracts
These are the core contracts that make up the protocol along with their uses and functions.
Last updated
These are the core contracts that make up the protocol along with their uses and functions.
Last updated
The Vault
contract sits at the heart of the Kinstu Liquid Staking process. This contract is the user-facing entry point to the Ike Protocol, and serves a number of functions:
User entry point: The Vault
is the user-facing interface to the protocol. Users who want to participate in staking yield can deposit AZERO to the Vault
contract and receive sA0 tokens in return. Users can also request to redeem their sA0 for staked AZERO along with their pro-rata share of the yield accrued by the protocol.
Orchestrates staking delegation & redemption: The Vault
delegates staking tokens to, and interfaces with, , according to the stored in the contract. This is done using Ike's .
Calculates Protocol Fees: The Vault
calculates and stores used to facilitate protocol . For more information, see the docs on Governance & .
The Vault
contract contains the and .
The Vault keeps track of a number of metrics. These include:
Total Pooled: The total of all AZERO staked via the protocol.
Total Shares: Denotes the total outstanding supply of sA0 created by the Vault
Virtual Shares: Denotes the Virtual Shares allocated for .
Fee Percentage: Denotes the protocol's annualized .
These weights represent the target percentage of the total amount of staked AZERO allocated to each Validator. These target weights are meant to uphold decentralization of the protocol, and will be set by Governance in a decentralized way.
The share_token
contract is the core contract of the sA0 token. It is a PSP22 token contract.
The Registry
smart contract maintains a list of that are actively participating in the Ike protocol, along with a set of Target Weights for allocation of staked AZERO to those Validators.