event-contracts-token-transfer
TokenTransferEthereumEvent
afterSignatureCheck
afterSignatureCheckReturns DAO event info in slice format.
function afterSignatureCheck(TvmSlice body, TvmCell /*message*/) private inline view returns (TvmSlice)Parameters:
body
TvmSlice
Contains data such as functionId
TvmCell
Return values:
TvmSlice
DAO event represented in slice format
onInit
onInitNotifies change of event status and loads relayers.
function onInit() override internalonConfirm
onConfirmConfirms an event and notifies change of event status.
function onConfirm() override internalonReject
onRejectNotifies change of event status and transfers all gas to the initializer
notifyEventStatusChanged*
notifyEventStatusChanged*Notify the owner contract that the event contract status has been changed. Used to easily collect all confirmed events by the user's wallet.
TokenTransferEverscaleEvent
afterSignatureCheck
afterSignatureCheckReturns DAO event info in slice format.
Parameters:
body
TvmSlice
Contains data such as functionId
TvmCell
Return values:
TvmSlice
DAO event represented in slice format
close
closeFinishes token transfer and sends remaining gas to the owner
onInit
onInitNotifies change of event status and loads relayers
onConfirm
onConfirmNotifies change of event status
onReject
onRejectNotifies change of event status
notifyEventStatusChanged
notifyEventStatusChangedNotify the owner contract that the event contract status has been changed. Used to easily collect all confirmed events by the user's wallet.
Last updated
Was this helpful?