diff --git a/skill/references/ecosystem/rpc-agent-skills.md b/skill/references/ecosystem/rpc-agent-skills.md index b1bd8ce..9bfebd8 100644 --- a/skill/references/ecosystem/rpc-agent-skills.md +++ b/skill/references/ecosystem/rpc-agent-skills.md @@ -200,7 +200,7 @@ Undelegates SEI from a validator. // Amount in USEI (6 decimals), NOT wei // 1 SEI = 1_000_000 usei await STAKING.undelegate(validatorAddress, amountInUsei); -// Unbonding period: 21 days +// Unbonding period: 7 days ``` --- diff --git a/skill/references/ecosystem/staking-governance.md b/skill/references/ecosystem/staking-governance.md index 0ca9279..537ea35 100644 --- a/skill/references/ecosystem/staking-governance.md +++ b/skill/references/ecosystem/staking-governance.md @@ -11,7 +11,7 @@ Sei uses **delegated proof-of-stake (dPoS)**: - Token holders delegate to validators, who sign blocks - Delegators earn proportional rewards from gas fees and genesis unlocks - **No slashing of funds** — jailed validators lose rewards but not stake -- Unbonding period: **21 days** +- Unbonding period: **7 days** --- @@ -41,7 +41,7 @@ seid q staking delegations $(seid keys show mykey -a) \ ## Undelegation (Unbonding) ```bash -# Undelegate — starts 21-day unbonding period +# Undelegate — starts 7-day unbonding period seid tx staking unbond 500000usei \ --from mykey \ --chain-id pacific-1 \ @@ -55,7 +55,7 @@ seid q staking unbonding-delegation $(seid keys show mykey -a) sei1valoper...abc **During unbonding**: - Tokens are locked (not earning rewards, not transferable) -- After 21 days they return to your wallet automatically +- After 7 days they return to your wallet automatically ## Redelegation @@ -71,7 +71,7 @@ seid tx staking redelegate 500000usei \ **Redelegation rules**: - Instant move — no unbonding wait -- Destination validator cannot be re-redelegated for 21 days +- Destination validator cannot be re-redelegated for 7 days - Max 7 simultaneous redelegations per account --- diff --git a/skill/references/precompiles/staking-distribution.md b/skill/references/precompiles/staking-distribution.md index 71f9ea4..80ee83e 100644 --- a/skill/references/precompiles/staking-distribution.md +++ b/skill/references/precompiles/staking-distribution.md @@ -246,7 +246,7 @@ console.log("Delegated 10 SEI to", validator); const usei = 10_000_000n; // 10 SEI = 10,000,000 usei const tx = await staking.undelegate(validator, usei); await tx.wait(1); -// Unbonding period: 21 days +// Unbonding period: 7 days ``` > **Precision note:** `delegate` uses `msg.value` (18 decimal wei); `undelegate` and `redelegate` take amounts in usei (6 decimals). This asymmetry is intentional — match the precompile signature exactly. @@ -332,7 +332,7 @@ contract LiquidStakingVault is ERC20 { ## Key Notes -- **Unbonding period**: 21 days — users cannot access undelegated tokens during this period +- **Unbonding period**: 7 days — users cannot access undelegated tokens during this period. Don't hardcode it: read `params().unbondingTime` (seconds) from the Staking precompile, and use each entry's `completionTime`, since entries created before SIP-7 lowered it from 21 days keep their 21-day completion time. - **Slashing**: validators can be slashed for downtime or double-signing; delegators share in slashing proportionally - **Rewards**: rewards accrue each block; claim anytime via Distribution precompile - **Validator addresses**: use `seivaloper1...` bech32 format for all validator address parameters