Easy to tighten.
Hard to loosen.
Risk settings for a lending pool, guarded by two keys at two speeds. A hot steward key, in an EVM window scoped to this controller, can only make the pool safer, at once. Loosening needs the cold guardian's ML-DSA-87 signature, checked on chain with pqcVerify, then a delay, and even then each dial moves only a few notches per epoch.
Loading the contract...
The dials
Needle = live value. Left end = tightest allowed, right end = the hard bound no key can cross. Orange = what the guardian may still loosen this epoch. Each tooth is one epoch's maximum.
Steward
...
- secp256k1, sends EVM transactions
- EVM window scoped to the controller only
- Can: tighten, panic, veto a loosening
- Cannot: loosen anything, veto its own replacement
Guardian
...
- Registered key: checking pqcKeyStatus...
- Signs a readable approval offline; anyone relays it
- Each loosening: delay ..., cap per epoch
- Next approval nonce: ...
Waiting room
Every guardian approval waits here in public before it can act. The steward can veto during the wait.
Refused on chain
Real testnet attempts from the scripted demo. Each one tried to loosen the pool and was turned away by the chain or the contract. Explorer links: pick Testnet in the explorer's header first. It shows the native wrapper of an EVM call as "success" even when the EVM call reverted; the reason here is the decoded revert.
History
Kept in contract storage and read with one call, no log scanning.
What the guardian reads
The exact text behind the last queued approval. The wallet envelope qorechain-msg-v1|qorechain-diana| goes in front, and ML-DSA-87 signs those bytes.
...