Re/stakers
Last updated
Last updated
Re/stakers are token holders on external client chains, who wish to engage with the Exocore network. They pledge their tokens for re/staking and earn yields. The term "re/stakers" is used because the token holders can both stake and restake dependin on the client chain. Re/stakers interact with the client chain contracts on their native chains, allowing them to use their existing accounts to initiate Imua system actions such as depositing and delegation. While re/stakers aren’t required to directly interact with the Imua network for actions like delegation, they have the option to do so if they want to avoid the costs of cross-chain messages.
The typical flow of re/staker actions involves three main steps, illustrated in Figure 2:
Request – Re/stakers send requests to client chain contracts for actions like depositing, delegating, and withdrawing.
Relay – A cross-chain message is relayed from the client chain to Imua network. Imua network then verifies this message and executes the corresponding updates in the Imua accounting system.
Respond- A response message is dispatched back to the client chain to confirm the action, prompting the client chain to carry out follow-up procedures such as locking the tokens.
For example, when a deposit request is initiated on the client chain, the tokens will be held in pending state waiting for confirmation. After receiving the cross-chain message, the Imua accounting system will mark the tokens as deposited and ready for delegation. Afterwards, the client chain smart contracts will lock the deposited tokens upon receiving the confirmation message from Imua.
In Imua, re/stakers can perform the following actions:
1. Deposit: Re/stakers deposit their tokens into the Imua system for re/staking. Successfully deposited tokens are locked and made available for delegation. Note that tokens never leave the client chain and are not bridged nor wrapped on Imua.
2. Delegation: Re/stakers delegate their deposited tokens to certain registered operators. Delegated tokens are staked to the AVS that the operators have opted in and are subject to slashing if the operator violates the AVS’s slashing rules. Delegated tokens cannot be withdrawn.
3. Undelegation: Re/stakers undelegate their restaked tokens from operators. Undelegated tokens remain locked during an unbonding period specified by the AVS. After this unbonding period, the undelegated tokens become available for withdrawal.
4. Withdrawal: The procedure to check the eligibility of token withdrawal (i.e. not slashed or actively staked) is executed on the Imua network. If a tokens qualifies for withdrawal, the Imua system will label the token as withdrawn and dispatch a cross-chain message to the client chain, prompting it to unlock the native tokens. Once unlocked, these tokens can only be transferred to the address specified by the original restaker for best security.