Skip to main content

Module event

Module event 

Source
Expand description

On-chain events (sol_log_data via Steel event! / .log()).

§Event contract

EventTriggerObserver
DepositedDeposit ixIndexer credits user’s off-chain USDC balance
PaidAdminPayout ixBot confirms payout in DB
InitializedInitialize ixOne-time setup confirmation

Settlement outcome (UP/DOWN) is derived off-chain by the bot via Pyth Hermes.

Structs§

Deposited
Emitted by Deposit. Indexer credits user’s off-chain balance by amount µUSDC.
FeesRouted
Emitted by AdminRouteFees. Records DBC / DAMM v2 fee routing into the treasury.
Initialized
Emitted by Initialize.
Paid
Emitted by AdminPayout. Bot confirms the payout was delivered.