Live from the chain
Every rule armed on Trimmy, right now.
Read from Flare Coston2 when this page loaded, in your browser. There is no backend, no database and no cache between you and the contract.
Testnet. These are real rules on Coston2, not on Flare mainnet, and the amounts are testnet XRP.
Reading the chain…
Check it yourself
The page above runs exactly these two calls. Nothing else.
export RPC=https://coston2-api.flare.network/ext/C/rpc
export TRIMMY=0x19F81AAB43f7a26B0659754b70179aDcAF43ef7C
cast call $TRIMMY "ruleCount()(uint256)" --rpc-url $RPC
cast call $TRIMMY "ruleAt(uint256)" 0 --rpc-url $RPC
ruleAt returns the Rule struct as 26 words, one field per word.
The field order is in
Trimmy.sol,
and rules.js refuses to decode anything that is not 26 words
rather than shifting every value by a slot.