x/action module to the EVM at a single fixed address. Solidity contracts can request, finalize, approve, and query Cascade storage and Sense analysis actions without leaving the EVM execution context.
The EVM is live on testnet (lumera-testnet-2) only. Mainnet runs v1.12.0 and gains the EVM with its upgrade.
Address
0x0900. Everything below that range belongs to the Ethereum and Cosmos EVM standard sets. See the precompiles overview for the full address map.
Design
The precompile mixes typed and generic methods. Typed methods carry action-specific metadata, which gives Solidity compile-time safety for fields that differ between Cascade and Sense. Generic methods share one signature regardless of action type.Action lifecycle
state field in query results uses these values.
The
actionType field uses 1 for Sense and 2 for Cascade.
Solidity interface
The interface below comes fromIAction.sol in the lumera repo.
IAction.sol
Request a Cascade action from a contract
A minimal storage client queries the fee, requests the action, and tracks the returnedactionId.
CascadeStorageClient.sol
finalizeCascade and finalizeSense are called by SuperNodes when processing completes, not by your app.
Fees
getActionFee returns the base fee, the per-kilobyte rate, and the total, all in ulume. The current parameters are 10000 ulume base plus 10 ulume per KB. Governance can change them, so query the fee on chain instead of hardcoding values.
Call it from JavaScript
Read methods work througheth_call with no deployed contract.
query-action.ts
Behavior notes
- Address translation. The precompile converts your EVM
0x...caller address tolumera1...before it reaches the message server. Addresses in returnedActionInfostructs come back converted to0x...form. - Metadata bridging. Typed Solidity arguments become a JSON metadata string inside the precompile, then flow through
MsgRequestActionto the keeper exactly like a Cosmos transaction. - Pagination. List queries cap at 100 results per call. A larger
limitis silently capped, so page withoffset. - Events. The precompile emits
ActionRequested,ActionFinalized, andActionApprovedas EVM logs, so standard event subscriptions work. - Gas. Calls meter gas from the underlying Cosmos gas usage converted to EVM gas units.
Next steps
How Cascade works
The full storage flow behind every Cascade action.
SuperNode precompile
Read the state of the nodes that process your actions.
Standard precompiles
Staking, governance, and IBC from Solidity.