add Bridge ledger object

This commit is contained in:
Mayukha Vadari
2023-02-14 14:43:11 -05:00
parent b41d671c10
commit c3bb4d9b72
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
import { Amount, XChainBridge } from '../common'
import BaseLedgerEntry from './BaseLedgerEntry'
export default interface Bridge extends BaseLedgerEntry {
LedgerEntryType: 'Bridge'
Account: string
SignatureReward: Amount
MinAccountCreateAmount?: string
XChainBridge: XChainBridge
XChainClaimID: string
XChainAccountCreateCount: number
XChainAccountClaimCount: Amount
/**
* A hint indicating which page of the sender's owner directory links to this
* object, in case the directory consists of multiple pages.
*/
OwnerNode: string
/**
* The identifying hash of the transaction that most recently modified this
* object.
*/
PreviousTxnID: string
/**
* The index of the ledger that contains the transaction that most recently
* modified this object.
*/
PreviousTxnLgrSeq: number
}

View File

@@ -3,6 +3,7 @@ import AccountRoot, {
AccountRootFlagsInterface,
} from './AccountRoot'
import Amendments from './Amendments'
import Bridge from './Bridge'
import Check from './Check'
import DepositPreauth from './DepositPreauth'
import DirectoryNode from './DirectoryNode'
@@ -23,6 +24,7 @@ export {
AccountRootFlags,
AccountRootFlagsInterface,
Amendments,
Bridge,
Check,
DepositPreauth,
DirectoryNode,