Skip to content

feat: poa staking guard svip decay#60

Open
rahulghangas wants to merge 4 commits into
feat/community-pool-erc4626-schedulerfrom
feat/poa-staking-guard-svip-decay
Open

feat: poa staking guard svip decay#60
rahulghangas wants to merge 4 commits into
feat/community-pool-erc4626-schedulerfrom
feat/poa-staking-guard-svip-decay

Conversation

@rahulghangas

Copy link
Copy Markdown
Collaborator

Description

  • Add stakingguard package enforcing the PoA staking policy on both the EVM path (staking/slashing precompile MsgServer wrappers) and the Cosmos/authz ante path: blocks MsgCreateValidator/MsgUnjail, limits the delegation family to the allowlisted community-pool vault, and recurses into authz.MsgExec.
  • Harden the EVM scheduler: create a real ModuleAccount on the live ctx (no more auto-created BaseAccount at a module address, which broke precisebank invariants) and bound the scheduler params (gas cap, max ops, poke step count).
  • Replace svip's float64 elapsed-time reward math with deterministic integer/fixed-point exponential decay-curve state (ScheduledRemaining S, DecayFactor d) persisted in the KV store, with genesis rebuild and pause/reactivate handling.
  • Update the StakedBondVault Solidity contract and add vault + flash-loan integration tests.

@rahulghangas rahulghangas changed the title Feat/poa staking guard svip decay feat: poa staking guard svip decay Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants