Methods
Static assertionIsConfirmed
- assertionIsConfirmed(nodeNum: BigNumber, rollupAddress: string, l1Provider: Provider): Promise<boolean>
-
Parameters
-
nodeNum: BigNumber
-
rollupAddress: string
-
l1Provider: Provider
Returns Promise<boolean>
Static calculateOutgoingMessageId
- calculateOutgoingMessageId(path: BigNumber, proofLength: BigNumber): string
-
Parameters
-
path: BigNumber
-
proofLength: BigNumber
Returns string
Static messageHasExecuted
- messageHasExecuted(outboxIndex: BigNumber, path: BigNumber, outboxAddress: string, l1Provider: Provider): Promise<boolean>
-
Parameters
-
outboxIndex: BigNumber
-
path: BigNumber
-
outboxAddress: string
-
l1Provider: Provider
Returns Promise<boolean>
Static tryGetProof
- tryGetProof(batchNumber: BigNumber, indexInBatch: BigNumber, l2Provider: Provider, retryDelay?: number): Promise<{}>
-
Parameters
-
batchNumber: BigNumber
-
indexInBatch: BigNumber
-
l2Provider: Provider
-
retryDelay: number = 500
Returns Promise<{}>
Stateless helper methods; most wrapped / accessible (and documented) via Bridge