event-contracts-base
BaseEvent
onRelaysLoaded
onRelaysLoaded
Changes status to Pending
loadRelays
loadRelays
Gets address of the current relayer round
_checkVoteReceiver
_checkVoteReceiver
Checks if vote receiver is this address
Parameters:
voteReceiver
address
Address of the receiver of the vote
receiveRoundAddress
receiveRoundAddress
Based on the round contract retrieves round address
Parameters:
roundContract
address
The address of the round contract
roundNum
uint32
The roundβs number
receiveRoundRelays
receiveRoundRelays
Loads relayers based on their keys
Parameters:
keys
uint[]
Keys of the roundβs relayers
EthereumBaseEvent
confirm
confirm
Confirm event. Can be called only by relayer which is in charge at this round. Can be called only when event configuration is in Pending status
Parameters:
signature
bytes
relayer's signature of the Everscale event data
voteReceiver
address
Address of the receiver of the vote (event contract address)
Events emitted:
Confirm
reject
reject
Reject event. Can be called only by relayer which is in charge at this round. Can be called only when event configuration is in Pending status.
Parameters:
voteReceiver
address
Address of the receiver of the vote (event contract address)
Events emitted:
Reject
Last updated