Overview
Last updated
Last updated
The NativePool contract is a key component of IOTA Liquid Staking, enabling users to stake their IOTA tokens in exchange for stIOTA tokens and unstake them instantly — potentially at a more favorable rate.
The NativePool contract leverages the following methods to stake users' IOTA tokens:
request_add_stake_non_entry
request_withdraw_stake_non_entry
As soon as IOTA tokens have been staked, the user receives the corresponding amount of StakedIOTA, which is held within the contract.
To optimize staking and unstaking operations, the contract diversifies staking across multiple validators. The selection mechanism operates as follows:
Priority-Based Staking: The system assigns priority levels to validators. The contract stakes tokens only with the validator that has the highest priority.
Optimized Unstaking: For unstaking, the process starts with the validator that has the lowest priority.
This approach ensures efficient staking allocation, minimizes reliance on intermediaries, and enhances the decentralization of staking operations in the IOTA ecosystem.
One of the key features of NativePool is the instant unstake mechanism, which allows users to burn their stIOTA tokens and receive IOTA immediately — without waiting for an epoch transition. This ensures immediate liquidity while maintaining network stability.