mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
add XChainOwnedClaimID ledger object
This commit is contained in:
@@ -18,6 +18,11 @@ export default interface Bridge extends BaseLedgerEntry {
|
||||
XChainAccountCreateCount: number
|
||||
|
||||
XChainAccountClaimCount: Amount
|
||||
/**
|
||||
* A bit-map of boolean flags. No flags are defined for Bridges, so this value
|
||||
* is always 0.
|
||||
*/
|
||||
Flags: 0
|
||||
/**
|
||||
* A hint indicating which page of the sender's owner directory links to this
|
||||
* object, in case the directory consists of multiple pages.
|
||||
|
||||
40
packages/xrpl/src/models/ledger/XChainOwnedClaimID.ts
Normal file
40
packages/xrpl/src/models/ledger/XChainOwnedClaimID.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { XChainBridge } from '../common'
|
||||
|
||||
import BaseLedgerEntry from './BaseLedgerEntry'
|
||||
|
||||
export default interface XChainOwnedClaimID extends BaseLedgerEntry {
|
||||
LedgerEntryType: 'XChainOwnedClaimID'
|
||||
|
||||
Account: string
|
||||
|
||||
XChainBridge: XChainBridge
|
||||
|
||||
XChainClaimID: string
|
||||
|
||||
OtherChainSource: string
|
||||
// TODO: type this better
|
||||
XChainClaimAttestations: object[]
|
||||
|
||||
SignatureReward: string
|
||||
|
||||
/**
|
||||
* A bit-map of boolean flags. No flags are defined for XChainOwnedClaimIDs,
|
||||
* so this value is always 0.
|
||||
*/
|
||||
Flags: 0
|
||||
/**
|
||||
* 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
|
||||
}
|
||||
@@ -18,6 +18,7 @@ import PayChannel from './PayChannel'
|
||||
import RippleState, { RippleStateFlags } from './RippleState'
|
||||
import SignerList, { SignerListFlags } from './SignerList'
|
||||
import Ticket from './Ticket'
|
||||
import XChainOwnedClaimID from './XChainOwnedClaimID'
|
||||
|
||||
export {
|
||||
AccountRoot,
|
||||
@@ -42,4 +43,5 @@ export {
|
||||
SignerList,
|
||||
SignerListFlags,
|
||||
Ticket,
|
||||
XChainOwnedClaimID,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user