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
function onReject() override internalnotifyEventStatusChanged*
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.
function notifyEventStatusChanged() internal viewTokenTransferEverscaleEvent
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
close
closeFinishes token transfer and sends remaining gas to the owner
function close() public viewonInit
onInitNotifies change of event status and loads relayers
function onInit() override internalonConfirm
onConfirmNotifies change of event status
function onConfirm() override internalonReject
onRejectNotifies change of event status
function onReject() override internalnotifyEventStatusChanged
notifyEventStatusChangedNotify the owner contract that the event contract status has been changed. Used to easily collect all confirmed events by the user's wallet.
function notifyEventStatusChanged() internal viewLast updated
Was this helpful?