Reference
Events All events across Raycash contracts.
Event Signature When TransferTransfer(address indexed from, address indexed to, euint64 confidentialAmount)Every transfer, mint, or burn ApprovalApproval(address indexed owner, address indexed spender, uint256 placeholder)Every approve() call
The Transfer event emits the encrypted handle, not the cleartext amount. The Approval event always emits type(uint256).max as a placeholder since the actual allowance is encrypted.
Event Signature When WrapInitiatedWrapInitiated(uint256 indexed depositIndex, address indexed depositor, uint256 amount, bytes32 encryptedRecipientHandle, bytes data)initWrap succeeds (deposit recorded)WrapFinalizedWrapFinalized(address indexed recipient, bytes32 amount, bytes32 recipientBalance, uint256[] depositIndices)finalizeWrap succeedsUnwrapRequestedUnwrapRequested(address indexed account, address indexed destination, bytes32 handle)initUnwrap succeedsUnwrapFinalizedUnwrapFinalized(address indexed caller, address indexed destination, uint256 amount, bytes32 handle)finalizeUnwrap succeedsRaycashTransferRaycashTransfer(address indexed from, address indexed to, bytes32 transferred, bytes32 amount, bytes32 senderBalance, bytes32 recipientBalance, bytes extraData)Every _update (mint, burn, P2P) UnwrapRequestedHookFailedUnwrapRequestedHookFailed(address indexed account, bytes32 handle, bytes reason)unwrapRequestedHook revertedUnwrapFinalizedHookFailedUnwrapFinalizedHookFailed(address indexed destination, bytes32 handle, bytes reason)unwrapFinalizedHook reverted
Event When TransferHookUpdated(address indexed oldHook, address indexed newHook)setTransferHook calledUnwrapRequestedHookUpdated(address indexed oldHook, address indexed newHook)setUnwrapRequestedHook calledUnwrapFinalizedHookUpdated(address indexed oldHook, address indexed newHook)setUnwrapFinalizedHook called
Event Signature When DepositorCreatedDepositorCreated(bytes32 indexed salt, address depositorAddr)New depositor deployed (first initWrap() or withdraw() for a given salt) WithdrawalCompletedWithdrawalCompleted(address indexed depositor, address indexed recipient, address indexed token, uint256 amount)Hash-preimage withdrawal succeeds
Event Signature When SettlementInitiatedSettlementInitiated(uint256 indexed nonce, address indexed destination, uint256 amount)settle() succeedsSettlementFinalizedSettlementFinalized(uint256 indexed nonce, address indexed destination, uint256 amount)finalizeSettlement() succeedsAdminUpdatedAdminUpdated(address indexed oldAdmin, address indexed newAdmin)setAdmin() succeeds
Was this page helpful?
Yes No