Commit ac5b061d authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix(sdk): update SDK to support multiple withdrawal proofs (#9951)

parent 90147ac1
---
'@eth-optimism/sdk': minor
---
Updates SDK for FPAC proven withdrawals mapping.
This diff is collapsed.
......@@ -258,14 +258,28 @@ export interface MessageReceipt {
}
/**
* ProvenWithdrawal in OptimismPortal
* ProvenWithdrawal in OptimismPortal.
*/
export interface ProvenWithdrawal {
export interface LegacyProvenWithdrawal {
outputRoot: string
timestamp: BigNumber
l2BlockNumber: BigNumber
}
/**
* ProvenWithdrawal in OptimismPortal (FPAC).
*/
export interface FPACProvenWithdrawal {
proofSubmitter: string
disputeGameProxy: string
timestamp: BigNumber
}
/**
* ProvenWithdrawal in OptimismPortal (FPAC or Legacy).
*/
export type ProvenWithdrawal = LegacyProvenWithdrawal | FPACProvenWithdrawal
/**
* Header for a state root batch.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment