Bridge
Last updated
Last updated
verifySignedEverscaleEvent
Verifying signatures from EverscaleEvent (is there enough signatures, is the round rotten, etc.)
Parameters:
Name | Type | Description |
---|---|---|
Return value:
Name | Type | Description |
---|---|---|
recoverSignature
Recover signer from the payload and signature.
Parameters:
Name | Type | Description |
---|---|---|
Return value:
Name | Type | Description |
---|---|---|
forceRoundRelays
Forced set of next round relayers. Can be called only by roundSubmitter
.
Parameters:
setRoundSubmitter
Set round submitter. Can be called only by owner.
Parameters:
Events emitted:
UpdateRoundSubmitter
setRoundRelays
Grant relayer permission for set of addresses at specific round.
Parameters:
decodeRoundRelaysEventData
Decodes payload event data for round relayers.
Parameters:
Return value:
decodeEverscaleEvent
Decodes payload data for everscale event.
Parameters:
banRelays
Puts specified relayer addresses on a blacklist.
Parameters:
Events emitted:
BanRelay
unbanRelays
Takes out specified relayer addresses from a blacklist.
Parameters:
Events emitted:
BanRelay
_setRound
Creates a new round and makes a map including all rounds and relayers.
Parameters:
Events emitted:
NewRound
RoundRelay
_countRelaySignatures
Counts all the valid relayers signatures.
Parameters:
Return value:
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
payload
bytes memory
EverscaleEvent structure encoded to bytes
signatures
bytes[] memory
Payload signatures
errorCode
uint32
Error code
payload
bytes memory
Signer encoded to bytes
signature
bytes memory
Signature in bytes
signer
address
Decoded signature’s address
_relays
uint160[] calldata
Next round relayers
roundEnd
uint32
End of the round
_roundSubmitter
address
New round submitter’s address
payload
bytes calldata
EverscaleEvent structure encoded to bytes
signatures
bytes[] calldata
Signatures encoded to bytes
payload
bytes memory
Round relayers event data (EverscaleEvent) encoded to bytes
round
uint32
Round id
_relays
uint160[] memory
Addresses of the relayers
roundEnd
uint32
End of round
payload
bytes memory
EverscaleEvent structure encoded to bytes
_relays
address[] calldata
Addresses of the relayers
_relays
address[] calldata
Addresses of the relayers
round
uint32
Round Id
_relays
uint160[] memory
Addresses of relayers
roundEnd
uint32
End of the round
payload
bytes memory
EverscaleEvent data encoded to bytes
signatures
bytes[] memory
List of signatures
round
uint32
Round Id
uint32
Number of relayers signatures