Disperse · Events · 21@tokenops/sdk/fhe-disperse

Disperse event reference.

The singleton emits everything except the subwallet Initialized marker. Disperse calls fire a ConfidentialTokensDispersed summary, with mode-specific WalletDistribution / DirectDistribution events carrying the recipient and transfer arrays.

Registration· 2

EventArgs
UserRegistered(indexed user, wallet0, wallet1)
Initialized(version)

Dispersal· 3

EventArgs
ConfidentialTokensDispersed(indexed token, indexed sender, recipientCount, feeType)
WalletDistribution(indexed sender, wallet, recipients, requested, transferred)
DirectDistribution(indexed sender, recipients, requested, transferred)

Disclosure· 1

EventArgs
HandlesDisclosedToParty(indexed discloser, indexed party, handles)

Fees + Limits· 8

EventArgs
CustomFeeSet(indexed user, gasFee, tokenFee)
CustomFeeDisabled(indexed user)
FeeConfigUpdated(config)
GasFeeWithdrawn(indexed to, amount)
TokenFeeWithdrawn(indexed token, indexed to, amount)
MaxBatchSizeDirectUpdated(oldSize, newSize)
MaxBatchSizeHoldingUpdated(oldSize, newSize)
MaxBatchSizeTokenFeeUpdated(oldSize, newSize)

Recovery + Admin· 4

EventArgs
Paused(account)
Unpaused(account)
ConfidentialTokensRescued(indexed token, indexed to)
ERC20Rescued(indexed token, indexed to, amount)

Roles· 3

EventArgs
RoleGranted(indexed role, indexed account, indexed sender)
RoleRevoked(indexed role, indexed account, indexed sender)
RoleAdminChanged(indexed role, indexed previousAdminRole, indexed newAdminRole)
Indexer recipe: subscribe via viem's parseEventLogs({ abi, logs }) and persist by topic. The ACL.Allowed event from the FHE coprocessor is the canonical source for handle ownership — see the indexing events recipe (coming soon).Browse recipes