xrpl 2.8.0-beta.1 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/xrpl-latest-min.js +1 -1
- package/build/xrpl-latest-min.js.map +1 -1
- package/build/xrpl-latest.js +1196 -3022
- package/build/xrpl-latest.js.map +1 -1
- package/dist/npm/Wallet/defaultFaucets.d.ts +2 -1
- package/dist/npm/Wallet/defaultFaucets.d.ts.map +1 -1
- package/dist/npm/Wallet/defaultFaucets.js +12 -4
- package/dist/npm/Wallet/defaultFaucets.js.map +1 -1
- package/dist/npm/Wallet/fundWallet.d.ts +1 -0
- package/dist/npm/Wallet/fundWallet.d.ts.map +1 -1
- package/dist/npm/Wallet/fundWallet.js +2 -0
- package/dist/npm/Wallet/fundWallet.js.map +1 -1
- package/dist/npm/Wallet/index.d.ts +0 -1
- package/dist/npm/Wallet/index.d.ts.map +1 -1
- package/dist/npm/Wallet/index.js +5 -81
- package/dist/npm/Wallet/index.js.map +1 -1
- package/dist/npm/client/index.d.ts +3 -2
- package/dist/npm/client/index.d.ts.map +1 -1
- package/dist/npm/client/index.js.map +1 -1
- package/dist/npm/models/common/index.d.ts +12 -6
- package/dist/npm/models/common/index.d.ts.map +1 -1
- package/dist/npm/models/ledger/Escrow.d.ts +1 -3
- package/dist/npm/models/ledger/Escrow.d.ts.map +1 -1
- package/dist/npm/models/ledger/PayChannel.d.ts +2 -4
- package/dist/npm/models/ledger/PayChannel.d.ts.map +1 -1
- package/dist/npm/models/ledger/index.d.ts +1 -4
- package/dist/npm/models/ledger/index.d.ts.map +1 -1
- package/dist/npm/models/ledger/index.js.map +1 -1
- package/dist/npm/models/methods/accountChannels.d.ts +2 -3
- package/dist/npm/models/methods/accountChannels.d.ts.map +1 -1
- package/dist/npm/models/methods/accountInfo.d.ts +3 -2
- package/dist/npm/models/methods/accountInfo.d.ts.map +1 -1
- package/dist/npm/models/methods/accountLines.d.ts +1 -3
- package/dist/npm/models/methods/accountLines.d.ts.map +1 -1
- package/dist/npm/models/methods/accountObjects.d.ts +3 -3
- package/dist/npm/models/methods/accountObjects.d.ts.map +1 -1
- package/dist/npm/models/methods/index.d.ts +5 -5
- package/dist/npm/models/methods/index.d.ts.map +1 -1
- package/dist/npm/models/methods/ledgerEntry.d.ts +1 -16
- package/dist/npm/models/methods/ledgerEntry.d.ts.map +1 -1
- package/dist/npm/models/methods/nftHistory.d.ts +35 -0
- package/dist/npm/models/methods/nftHistory.d.ts.map +1 -0
- package/dist/npm/models/{ledger/Bridge.js → methods/nftHistory.js} +1 -1
- package/dist/npm/models/methods/nftHistory.js.map +1 -0
- package/dist/npm/models/methods/nftInfo.d.ts +12 -0
- package/dist/npm/models/methods/nftInfo.d.ts.map +1 -0
- package/dist/npm/{src/models/ledger/Bridge.js → models/methods/nftInfo.js} +1 -1
- package/dist/npm/models/methods/nftInfo.js.map +1 -0
- package/dist/npm/models/methods/tx.d.ts +3 -2
- package/dist/npm/models/methods/tx.d.ts.map +1 -1
- package/dist/npm/models/transactions/common.d.ts +1 -3
- package/dist/npm/models/transactions/common.d.ts.map +1 -1
- package/dist/npm/models/transactions/common.js +1 -22
- package/dist/npm/models/transactions/common.js.map +1 -1
- package/dist/npm/models/transactions/escrowCreate.d.ts +1 -2
- package/dist/npm/models/transactions/escrowCreate.d.ts.map +1 -1
- package/dist/npm/models/transactions/escrowCreate.js +2 -2
- package/dist/npm/models/transactions/escrowCreate.js.map +1 -1
- package/dist/npm/models/transactions/index.d.ts +0 -13
- package/dist/npm/models/transactions/index.d.ts.map +1 -1
- package/dist/npm/models/transactions/index.js +1 -7
- package/dist/npm/models/transactions/index.js.map +1 -1
- package/dist/npm/models/transactions/paymentChannelClaim.d.ts +2 -3
- package/dist/npm/models/transactions/paymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/models/transactions/paymentChannelClaim.js +4 -4
- package/dist/npm/models/transactions/paymentChannelClaim.js.map +1 -1
- package/dist/npm/models/transactions/paymentChannelCreate.d.ts +1 -2
- package/dist/npm/models/transactions/paymentChannelCreate.d.ts.map +1 -1
- package/dist/npm/models/transactions/paymentChannelCreate.js +2 -2
- package/dist/npm/models/transactions/paymentChannelCreate.js.map +1 -1
- package/dist/npm/models/transactions/paymentChannelFund.d.ts +1 -2
- package/dist/npm/models/transactions/paymentChannelFund.d.ts.map +1 -1
- package/dist/npm/models/transactions/paymentChannelFund.js +2 -2
- package/dist/npm/models/transactions/paymentChannelFund.js.map +1 -1
- package/dist/npm/models/transactions/transaction.d.ts +1 -14
- package/dist/npm/models/transactions/transaction.d.ts.map +1 -1
- package/dist/npm/models/transactions/transaction.js +38 -52
- package/dist/npm/models/transactions/transaction.js.map +1 -1
- package/dist/npm/models/utils/flags.d.ts.map +1 -1
- package/dist/npm/models/utils/flags.js +21 -18
- package/dist/npm/models/utils/flags.js.map +1 -1
- package/dist/npm/snippets/src/multisigning.js +9 -3
- package/dist/npm/snippets/src/multisigning.js.map +1 -1
- package/dist/npm/snippets/src/partialPayment.js +6 -2
- package/dist/npm/snippets/src/partialPayment.js.map +1 -1
- package/dist/npm/snippets/src/paths.js +3 -1
- package/dist/npm/snippets/src/paths.js.map +1 -1
- package/dist/npm/snippets/src/reliableTransactionSubmission.js +6 -2
- package/dist/npm/snippets/src/reliableTransactionSubmission.js.map +1 -1
- package/dist/npm/snippets/src/sendEscrow.js +6 -2
- package/dist/npm/snippets/src/sendEscrow.js.map +1 -1
- package/dist/npm/snippets/src/setRegularKey.js +9 -3
- package/dist/npm/snippets/src/setRegularKey.js.map +1 -1
- package/dist/npm/snippets/tsconfig.tsbuildinfo +1 -1
- package/dist/npm/src/Wallet/defaultFaucets.d.ts +2 -1
- package/dist/npm/src/Wallet/defaultFaucets.d.ts.map +1 -1
- package/dist/npm/src/Wallet/defaultFaucets.js +12 -4
- package/dist/npm/src/Wallet/defaultFaucets.js.map +1 -1
- package/dist/npm/src/Wallet/fundWallet.d.ts +1 -0
- package/dist/npm/src/Wallet/fundWallet.d.ts.map +1 -1
- package/dist/npm/src/Wallet/fundWallet.js +2 -0
- package/dist/npm/src/Wallet/fundWallet.js.map +1 -1
- package/dist/npm/src/Wallet/index.d.ts +0 -1
- package/dist/npm/src/Wallet/index.d.ts.map +1 -1
- package/dist/npm/src/Wallet/index.js +5 -81
- package/dist/npm/src/Wallet/index.js.map +1 -1
- package/dist/npm/src/client/index.d.ts +3 -2
- package/dist/npm/src/client/index.d.ts.map +1 -1
- package/dist/npm/src/client/index.js.map +1 -1
- package/dist/npm/src/models/common/index.d.ts +12 -6
- package/dist/npm/src/models/common/index.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/Escrow.d.ts +1 -3
- package/dist/npm/src/models/ledger/Escrow.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/PayChannel.d.ts +2 -4
- package/dist/npm/src/models/ledger/PayChannel.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/index.d.ts +1 -4
- package/dist/npm/src/models/ledger/index.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/index.js.map +1 -1
- package/dist/npm/src/models/methods/accountChannels.d.ts +2 -3
- package/dist/npm/src/models/methods/accountChannels.d.ts.map +1 -1
- package/dist/npm/src/models/methods/accountInfo.d.ts +3 -2
- package/dist/npm/src/models/methods/accountInfo.d.ts.map +1 -1
- package/dist/npm/src/models/methods/accountLines.d.ts +1 -3
- package/dist/npm/src/models/methods/accountLines.d.ts.map +1 -1
- package/dist/npm/src/models/methods/accountObjects.d.ts +3 -3
- package/dist/npm/src/models/methods/accountObjects.d.ts.map +1 -1
- package/dist/npm/src/models/methods/index.d.ts +5 -5
- package/dist/npm/src/models/methods/index.d.ts.map +1 -1
- package/dist/npm/src/models/methods/ledgerEntry.d.ts +1 -16
- package/dist/npm/src/models/methods/ledgerEntry.d.ts.map +1 -1
- package/dist/npm/src/models/methods/nftHistory.d.ts +35 -0
- package/dist/npm/src/models/methods/nftHistory.d.ts.map +1 -0
- package/dist/npm/{models/methods/ammInfo.js → src/models/methods/nftHistory.js} +1 -1
- package/dist/npm/src/models/methods/nftHistory.js.map +1 -0
- package/dist/npm/src/models/methods/nftInfo.d.ts +12 -0
- package/dist/npm/src/models/methods/nftInfo.d.ts.map +1 -0
- package/dist/npm/src/models/methods/{ammInfo.js → nftInfo.js} +1 -1
- package/dist/npm/src/models/methods/nftInfo.js.map +1 -0
- package/dist/npm/src/models/methods/tx.d.ts +3 -2
- package/dist/npm/src/models/methods/tx.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/common.d.ts +1 -3
- package/dist/npm/src/models/transactions/common.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/common.js +1 -22
- package/dist/npm/src/models/transactions/common.js.map +1 -1
- package/dist/npm/src/models/transactions/escrowCreate.d.ts +1 -2
- package/dist/npm/src/models/transactions/escrowCreate.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/escrowCreate.js +2 -2
- package/dist/npm/src/models/transactions/escrowCreate.js.map +1 -1
- package/dist/npm/src/models/transactions/index.d.ts +0 -13
- package/dist/npm/src/models/transactions/index.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/index.js +1 -7
- package/dist/npm/src/models/transactions/index.js.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelClaim.d.ts +2 -3
- package/dist/npm/src/models/transactions/paymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelClaim.js +4 -4
- package/dist/npm/src/models/transactions/paymentChannelClaim.js.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelCreate.d.ts +1 -2
- package/dist/npm/src/models/transactions/paymentChannelCreate.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelCreate.js +2 -2
- package/dist/npm/src/models/transactions/paymentChannelCreate.js.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelFund.d.ts +1 -2
- package/dist/npm/src/models/transactions/paymentChannelFund.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelFund.js +2 -2
- package/dist/npm/src/models/transactions/paymentChannelFund.js.map +1 -1
- package/dist/npm/src/models/transactions/transaction.d.ts +1 -14
- package/dist/npm/src/models/transactions/transaction.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/transaction.js +38 -52
- package/dist/npm/src/models/transactions/transaction.js.map +1 -1
- package/dist/npm/src/models/utils/flags.d.ts.map +1 -1
- package/dist/npm/src/models/utils/flags.js +21 -18
- package/dist/npm/src/models/utils/flags.js.map +1 -1
- package/dist/npm/src/sugar/autofill.d.ts.map +1 -1
- package/dist/npm/src/sugar/autofill.js +3 -4
- package/dist/npm/src/sugar/autofill.js.map +1 -1
- package/dist/npm/src/sugar/getOrderbook.d.ts +1 -1
- package/dist/npm/src/sugar/getOrderbook.js +5 -5
- package/dist/npm/src/sugar/submit.d.ts +2 -2
- package/dist/npm/src/sugar/submit.d.ts.map +1 -1
- package/dist/npm/src/sugar/submit.js +14 -2
- package/dist/npm/src/sugar/submit.js.map +1 -1
- package/dist/npm/src/utils/index.d.ts +1 -2
- package/dist/npm/src/utils/index.d.ts.map +1 -1
- package/dist/npm/src/utils/index.js +1 -3
- package/dist/npm/src/utils/index.js.map +1 -1
- package/dist/npm/sugar/autofill.d.ts.map +1 -1
- package/dist/npm/sugar/autofill.js +3 -4
- package/dist/npm/sugar/autofill.js.map +1 -1
- package/dist/npm/sugar/getOrderbook.d.ts +1 -1
- package/dist/npm/sugar/getOrderbook.js +5 -5
- package/dist/npm/sugar/submit.d.ts +2 -2
- package/dist/npm/sugar/submit.d.ts.map +1 -1
- package/dist/npm/sugar/submit.js +14 -2
- package/dist/npm/sugar/submit.js.map +1 -1
- package/dist/npm/utils/index.d.ts +1 -2
- package/dist/npm/utils/index.d.ts.map +1 -1
- package/dist/npm/utils/index.js +1 -3
- package/dist/npm/utils/index.js.map +1 -1
- package/package.json +7 -7
- package/dist/npm/models/ledger/Bridge.d.ts +0 -17
- package/dist/npm/models/ledger/Bridge.d.ts.map +0 -1
- package/dist/npm/models/ledger/Bridge.js.map +0 -1
- package/dist/npm/models/ledger/XChainOwnedClaimID.d.ts +0 -16
- package/dist/npm/models/ledger/XChainOwnedClaimID.d.ts.map +0 -1
- package/dist/npm/models/ledger/XChainOwnedClaimID.js +0 -3
- package/dist/npm/models/ledger/XChainOwnedClaimID.js.map +0 -1
- package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.d.ts +0 -14
- package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.d.ts.map +0 -1
- package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.js +0 -3
- package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.js.map +0 -1
- package/dist/npm/models/methods/ammInfo.d.ts +0 -42
- package/dist/npm/models/methods/ammInfo.d.ts.map +0 -1
- package/dist/npm/models/methods/ammInfo.js.map +0 -1
- package/dist/npm/models/methods/federatorInfo.d.ts +0 -64
- package/dist/npm/models/methods/federatorInfo.d.ts.map +0 -1
- package/dist/npm/models/methods/federatorInfo.js +0 -3
- package/dist/npm/models/methods/federatorInfo.js.map +0 -1
- package/dist/npm/models/transactions/AMMBid.d.ts +0 -18
- package/dist/npm/models/transactions/AMMBid.d.ts.map +0 -1
- package/dist/npm/models/transactions/AMMBid.js +0 -37
- package/dist/npm/models/transactions/AMMBid.js.map +0 -1
- package/dist/npm/models/transactions/AMMCreate.d.ts +0 -11
- package/dist/npm/models/transactions/AMMCreate.d.ts.map +0 -1
- package/dist/npm/models/transactions/AMMCreate.js +0 -32
- package/dist/npm/models/transactions/AMMCreate.js.map +0 -1
- package/dist/npm/models/transactions/AMMDeposit.d.ts +0 -27
- package/dist/npm/models/transactions/AMMDeposit.d.ts.map +0 -1
- package/dist/npm/models/transactions/AMMDeposit.js +0 -51
- package/dist/npm/models/transactions/AMMDeposit.js.map +0 -1
- package/dist/npm/models/transactions/AMMVote.d.ts +0 -10
- package/dist/npm/models/transactions/AMMVote.d.ts.map +0 -1
- package/dist/npm/models/transactions/AMMVote.js +0 -32
- package/dist/npm/models/transactions/AMMVote.js.map +0 -1
- package/dist/npm/models/transactions/AMMWithdraw.d.ts +0 -31
- package/dist/npm/models/transactions/AMMWithdraw.d.ts.map +0 -1
- package/dist/npm/models/transactions/AMMWithdraw.js +0 -50
- package/dist/npm/models/transactions/AMMWithdraw.js.map +0 -1
- package/dist/npm/models/transactions/XChainAccountCreateCommit.d.ts +0 -11
- package/dist/npm/models/transactions/XChainAccountCreateCommit.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainAccountCreateCommit.js +0 -35
- package/dist/npm/models/transactions/XChainAccountCreateCommit.js.map +0 -1
- package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.d.ts +0 -18
- package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.js +0 -76
- package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.js.map +0 -1
- package/dist/npm/models/transactions/XChainAddClaimAttestation.d.ts +0 -17
- package/dist/npm/models/transactions/XChainAddClaimAttestation.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainAddClaimAttestation.js +0 -67
- package/dist/npm/models/transactions/XChainAddClaimAttestation.js.map +0 -1
- package/dist/npm/models/transactions/XChainClaim.d.ts +0 -12
- package/dist/npm/models/transactions/XChainClaim.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainClaim.js +0 -39
- package/dist/npm/models/transactions/XChainClaim.js.map +0 -1
- package/dist/npm/models/transactions/XChainCommit.d.ts +0 -11
- package/dist/npm/models/transactions/XChainCommit.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainCommit.js +0 -33
- package/dist/npm/models/transactions/XChainCommit.js.map +0 -1
- package/dist/npm/models/transactions/XChainCreateBridge.d.ts +0 -10
- package/dist/npm/models/transactions/XChainCreateBridge.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainCreateBridge.js +0 -26
- package/dist/npm/models/transactions/XChainCreateBridge.js.map +0 -1
- package/dist/npm/models/transactions/XChainCreateClaimID.d.ts +0 -10
- package/dist/npm/models/transactions/XChainCreateClaimID.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainCreateClaimID.js +0 -28
- package/dist/npm/models/transactions/XChainCreateClaimID.js.map +0 -1
- package/dist/npm/models/transactions/XChainModifyBridge.d.ts +0 -17
- package/dist/npm/models/transactions/XChainModifyBridge.d.ts.map +0 -1
- package/dist/npm/models/transactions/XChainModifyBridge.js +0 -27
- package/dist/npm/models/transactions/XChainModifyBridge.js.map +0 -1
- package/dist/npm/src/models/ledger/Bridge.d.ts +0 -17
- package/dist/npm/src/models/ledger/Bridge.d.ts.map +0 -1
- package/dist/npm/src/models/ledger/Bridge.js.map +0 -1
- package/dist/npm/src/models/ledger/XChainOwnedClaimID.d.ts +0 -16
- package/dist/npm/src/models/ledger/XChainOwnedClaimID.d.ts.map +0 -1
- package/dist/npm/src/models/ledger/XChainOwnedClaimID.js +0 -3
- package/dist/npm/src/models/ledger/XChainOwnedClaimID.js.map +0 -1
- package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.d.ts +0 -14
- package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.d.ts.map +0 -1
- package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.js +0 -3
- package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.js.map +0 -1
- package/dist/npm/src/models/methods/ammInfo.d.ts +0 -42
- package/dist/npm/src/models/methods/ammInfo.d.ts.map +0 -1
- package/dist/npm/src/models/methods/ammInfo.js.map +0 -1
- package/dist/npm/src/models/methods/federatorInfo.d.ts +0 -64
- package/dist/npm/src/models/methods/federatorInfo.d.ts.map +0 -1
- package/dist/npm/src/models/methods/federatorInfo.js +0 -3
- package/dist/npm/src/models/methods/federatorInfo.js.map +0 -1
- package/dist/npm/src/models/transactions/AMMBid.d.ts +0 -18
- package/dist/npm/src/models/transactions/AMMBid.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/AMMBid.js +0 -37
- package/dist/npm/src/models/transactions/AMMBid.js.map +0 -1
- package/dist/npm/src/models/transactions/AMMCreate.d.ts +0 -11
- package/dist/npm/src/models/transactions/AMMCreate.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/AMMCreate.js +0 -32
- package/dist/npm/src/models/transactions/AMMCreate.js.map +0 -1
- package/dist/npm/src/models/transactions/AMMDeposit.d.ts +0 -27
- package/dist/npm/src/models/transactions/AMMDeposit.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/AMMDeposit.js +0 -51
- package/dist/npm/src/models/transactions/AMMDeposit.js.map +0 -1
- package/dist/npm/src/models/transactions/AMMVote.d.ts +0 -10
- package/dist/npm/src/models/transactions/AMMVote.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/AMMVote.js +0 -32
- package/dist/npm/src/models/transactions/AMMVote.js.map +0 -1
- package/dist/npm/src/models/transactions/AMMWithdraw.d.ts +0 -31
- package/dist/npm/src/models/transactions/AMMWithdraw.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/AMMWithdraw.js +0 -50
- package/dist/npm/src/models/transactions/AMMWithdraw.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainAccountCreateCommit.d.ts +0 -11
- package/dist/npm/src/models/transactions/XChainAccountCreateCommit.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainAccountCreateCommit.js +0 -35
- package/dist/npm/src/models/transactions/XChainAccountCreateCommit.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.d.ts +0 -18
- package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.js +0 -76
- package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainAddClaimAttestation.d.ts +0 -17
- package/dist/npm/src/models/transactions/XChainAddClaimAttestation.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainAddClaimAttestation.js +0 -67
- package/dist/npm/src/models/transactions/XChainAddClaimAttestation.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainClaim.d.ts +0 -12
- package/dist/npm/src/models/transactions/XChainClaim.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainClaim.js +0 -39
- package/dist/npm/src/models/transactions/XChainClaim.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainCommit.d.ts +0 -11
- package/dist/npm/src/models/transactions/XChainCommit.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainCommit.js +0 -33
- package/dist/npm/src/models/transactions/XChainCommit.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainCreateBridge.d.ts +0 -10
- package/dist/npm/src/models/transactions/XChainCreateBridge.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainCreateBridge.js +0 -26
- package/dist/npm/src/models/transactions/XChainCreateBridge.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainCreateClaimID.d.ts +0 -10
- package/dist/npm/src/models/transactions/XChainCreateClaimID.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainCreateClaimID.js +0 -28
- package/dist/npm/src/models/transactions/XChainCreateClaimID.js.map +0 -1
- package/dist/npm/src/models/transactions/XChainModifyBridge.d.ts +0 -17
- package/dist/npm/src/models/transactions/XChainModifyBridge.d.ts.map +0 -1
- package/dist/npm/src/models/transactions/XChainModifyBridge.js +0 -27
- package/dist/npm/src/models/transactions/XChainModifyBridge.js.map +0 -1
- package/dist/npm/src/utils/createCrossChainPayment.d.ts +0 -3
- package/dist/npm/src/utils/createCrossChainPayment.d.ts.map +0 -1
- package/dist/npm/src/utils/createCrossChainPayment.js +0 -19
- package/dist/npm/src/utils/createCrossChainPayment.js.map +0 -1
- package/dist/npm/utils/createCrossChainPayment.d.ts +0 -3
- package/dist/npm/utils/createCrossChainPayment.d.ts.map +0 -1
- package/dist/npm/utils/createCrossChainPayment.js +0 -19
- package/dist/npm/utils/createCrossChainPayment.js.map +0 -1
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction } from './common';
|
3
|
-
export interface XChainAccountCreateCommit extends BaseTransaction {
|
4
|
-
TransactionType: 'XChainAccountCreateCommit';
|
5
|
-
XChainBridge: XChainBridge;
|
6
|
-
SignatureReward: number | string;
|
7
|
-
Destination: string;
|
8
|
-
Amount: Amount;
|
9
|
-
}
|
10
|
-
export declare function validateXChainAccountCreateCommit(tx: Record<string, unknown>): void;
|
11
|
-
//# sourceMappingURL=XChainAccountCreateCommit.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainAccountCreateCommit.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AAcjB,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IAChE,eAAe,EAAE,2BAA2B,CAAA;IAK5C,YAAY,EAAE,YAAY,CAAA;IAM1B,eAAe,EAAE,MAAM,GAAG,MAAM,CAAA;IAKhC,WAAW,EAAE,MAAM,CAAA;IAMnB,MAAM,EAAE,MAAM,CAAA;CACf;AASD,wBAAgB,iCAAiC,CAC/C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CAiDN"}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainAccountCreateCommit = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
function validateXChainAccountCreateCommit(tx) {
|
7
|
-
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
if (tx.XChainBridge == null) {
|
9
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field XChainBridge');
|
10
|
-
}
|
11
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
12
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field XChainBridge');
|
13
|
-
}
|
14
|
-
if (tx.SignatureReward == null) {
|
15
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field SignatureReward');
|
16
|
-
}
|
17
|
-
if (typeof tx.SignatureReward !== 'number' &&
|
18
|
-
typeof tx.SignatureReward !== 'string') {
|
19
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field SignatureReward');
|
20
|
-
}
|
21
|
-
if (tx.Destination == null) {
|
22
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field Destination');
|
23
|
-
}
|
24
|
-
if (typeof tx.Destination !== 'string') {
|
25
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field Destination');
|
26
|
-
}
|
27
|
-
if (tx.Amount == null) {
|
28
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field Amount');
|
29
|
-
}
|
30
|
-
if (!(0, common_1.isAmount)(tx.Amount)) {
|
31
|
-
throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field Amount');
|
32
|
-
}
|
33
|
-
}
|
34
|
-
exports.validateXChainAccountCreateCommit = validateXChainAccountCreateCommit;
|
35
|
-
//# sourceMappingURL=XChainAccountCreateCommit.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainAccountCreateCommit.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AA+CjB,SAAgB,iCAAiC,CAC/C,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CACvB,uDAAuD,CACxD,CAAA;KACF;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CACvB,uDAAuD,CACxD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,eAAe,IAAI,IAAI,EAAE;QAC9B,MAAM,IAAI,wBAAe,CACvB,0DAA0D,CAC3D,CAAA;KACF;IAED,IACE,OAAO,EAAE,CAAC,eAAe,KAAK,QAAQ;QACtC,OAAO,EAAE,CAAC,eAAe,KAAK,QAAQ,EACtC;QACA,MAAM,IAAI,wBAAe,CACvB,0DAA0D,CAC3D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,WAAW,IAAI,IAAI,EAAE;QAC1B,MAAM,IAAI,wBAAe,CACvB,sDAAsD,CACvD,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,WAAW,KAAK,QAAQ,EAAE;QACtC,MAAM,IAAI,wBAAe,CACvB,sDAAsD,CACvD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QACxB,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;AACH,CAAC;AAnDD,8EAmDC"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction } from './common';
|
3
|
-
export interface XChainAddAccountCreateAttestation extends BaseTransaction {
|
4
|
-
TransactionType: 'XChainAddAccountCreateAttestation';
|
5
|
-
Amount: Amount;
|
6
|
-
AttestationRewardAccount: string;
|
7
|
-
AttestationSignerAccount: string;
|
8
|
-
Destination: string;
|
9
|
-
OtherChainSource: string;
|
10
|
-
PublicKey: string;
|
11
|
-
Signature: string;
|
12
|
-
SignatureReward: Amount;
|
13
|
-
WasLockingChainSend: 0 | 1;
|
14
|
-
XChainAccountCreateCount: string;
|
15
|
-
XChainBridge: XChainBridge;
|
16
|
-
}
|
17
|
-
export declare function validateXChainAddAccountCreateAttestation(tx: Record<string, unknown>): void;
|
18
|
-
//# sourceMappingURL=XChainAddAccountCreateAttestation.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainAddAccountCreateAttestation.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAddAccountCreateAttestation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AASjB,MAAM,WAAW,iCAAkC,SAAQ,eAAe;IACxE,eAAe,EAAE,mCAAmC,CAAA;IAMpD,MAAM,EAAE,MAAM,CAAA;IAKd,wBAAwB,EAAE,MAAM,CAAA;IAKhC,wBAAwB,EAAE,MAAM,CAAA;IAKhC,WAAW,EAAE,MAAM,CAAA;IAMnB,gBAAgB,EAAE,MAAM,CAAA;IAKxB,SAAS,EAAE,MAAM,CAAA;IAKjB,SAAS,EAAE,MAAM,CAAA;IAKjB,eAAe,EAAE,MAAM,CAAA;IAKvB,mBAAmB,EAAE,CAAC,GAAG,CAAC,CAAA;IAK1B,wBAAwB,EAAE,MAAM,CAAA;IAKhC,YAAY,EAAE,YAAY,CAAA;CAC3B;AASD,wBAAgB,yCAAyC,CACvD,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CAsIN"}
|
@@ -1,76 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainAddAccountCreateAttestation = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
function validateXChainAddAccountCreateAttestation(tx) {
|
7
|
-
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
if (tx.Amount == null) {
|
9
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field Amount');
|
10
|
-
}
|
11
|
-
if (!(0, common_1.isAmount)(tx.Amount)) {
|
12
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field Amount');
|
13
|
-
}
|
14
|
-
if (tx.AttestationRewardAccount == null) {
|
15
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field AttestationRewardAccount');
|
16
|
-
}
|
17
|
-
if (typeof tx.AttestationRewardAccount !== 'string') {
|
18
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field AttestationRewardAccount');
|
19
|
-
}
|
20
|
-
if (tx.AttestationSignerAccount == null) {
|
21
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field AttestationSignerAccount');
|
22
|
-
}
|
23
|
-
if (typeof tx.AttestationSignerAccount !== 'string') {
|
24
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field AttestationSignerAccount');
|
25
|
-
}
|
26
|
-
if (tx.Destination == null) {
|
27
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field Destination');
|
28
|
-
}
|
29
|
-
if (typeof tx.Destination !== 'string') {
|
30
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field Destination');
|
31
|
-
}
|
32
|
-
if (tx.OtherChainSource == null) {
|
33
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field OtherChainSource');
|
34
|
-
}
|
35
|
-
if (typeof tx.OtherChainSource !== 'string') {
|
36
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field OtherChainSource');
|
37
|
-
}
|
38
|
-
if (tx.PublicKey == null) {
|
39
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field PublicKey');
|
40
|
-
}
|
41
|
-
if (typeof tx.PublicKey !== 'string') {
|
42
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field PublicKey');
|
43
|
-
}
|
44
|
-
if (tx.Signature == null) {
|
45
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field Signature');
|
46
|
-
}
|
47
|
-
if (typeof tx.Signature !== 'string') {
|
48
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field Signature');
|
49
|
-
}
|
50
|
-
if (tx.SignatureReward == null) {
|
51
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field SignatureReward');
|
52
|
-
}
|
53
|
-
if (!(0, common_1.isAmount)(tx.SignatureReward)) {
|
54
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field SignatureReward');
|
55
|
-
}
|
56
|
-
if (tx.WasLockingChainSend == null) {
|
57
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field WasLockingChainSend');
|
58
|
-
}
|
59
|
-
if (tx.WasLockingChainSend !== 0 && tx.WasLockingChainSend !== 1) {
|
60
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field WasLockingChainSend');
|
61
|
-
}
|
62
|
-
if (tx.XChainAccountCreateCount == null) {
|
63
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field XChainAccountCreateCount');
|
64
|
-
}
|
65
|
-
if (typeof tx.XChainAccountCreateCount !== 'string') {
|
66
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field XChainAccountCreateCount');
|
67
|
-
}
|
68
|
-
if (tx.XChainBridge == null) {
|
69
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field XChainBridge');
|
70
|
-
}
|
71
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
72
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field XChainBridge');
|
73
|
-
}
|
74
|
-
}
|
75
|
-
exports.validateXChainAddAccountCreateAttestation = validateXChainAddAccountCreateAttestation;
|
76
|
-
//# sourceMappingURL=XChainAddAccountCreateAttestation.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainAddAccountCreateAttestation.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAddAccountCreateAttestation.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AA6EjB,SAAgB,yCAAyC,CACvD,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CACvB,yDAAyD,CAC1D,CAAA;KACF;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QACxB,MAAM,IAAI,wBAAe,CACvB,yDAAyD,CAC1D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,wBAAwB,IAAI,IAAI,EAAE;QACvC,MAAM,IAAI,wBAAe,CACvB,2EAA2E,CAC5E,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,wBAAwB,KAAK,QAAQ,EAAE;QACnD,MAAM,IAAI,wBAAe,CACvB,2EAA2E,CAC5E,CAAA;KACF;IAED,IAAI,EAAE,CAAC,wBAAwB,IAAI,IAAI,EAAE;QACvC,MAAM,IAAI,wBAAe,CACvB,2EAA2E,CAC5E,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,wBAAwB,KAAK,QAAQ,EAAE;QACnD,MAAM,IAAI,wBAAe,CACvB,2EAA2E,CAC5E,CAAA;KACF;IAED,IAAI,EAAE,CAAC,WAAW,IAAI,IAAI,EAAE;QAC1B,MAAM,IAAI,wBAAe,CACvB,8DAA8D,CAC/D,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,WAAW,KAAK,QAAQ,EAAE;QACtC,MAAM,IAAI,wBAAe,CACvB,8DAA8D,CAC/D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,gBAAgB,IAAI,IAAI,EAAE;QAC/B,MAAM,IAAI,wBAAe,CACvB,mEAAmE,CACpE,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,gBAAgB,KAAK,QAAQ,EAAE;QAC3C,MAAM,IAAI,wBAAe,CACvB,mEAAmE,CACpE,CAAA;KACF;IAED,IAAI,EAAE,CAAC,SAAS,IAAI,IAAI,EAAE;QACxB,MAAM,IAAI,wBAAe,CACvB,4DAA4D,CAC7D,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,SAAS,KAAK,QAAQ,EAAE;QACpC,MAAM,IAAI,wBAAe,CACvB,4DAA4D,CAC7D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,SAAS,IAAI,IAAI,EAAE;QACxB,MAAM,IAAI,wBAAe,CACvB,4DAA4D,CAC7D,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,SAAS,KAAK,QAAQ,EAAE;QACpC,MAAM,IAAI,wBAAe,CACvB,4DAA4D,CAC7D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,eAAe,IAAI,IAAI,EAAE;QAC9B,MAAM,IAAI,wBAAe,CACvB,kEAAkE,CACnE,CAAA;KACF;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,eAAe,CAAC,EAAE;QACjC,MAAM,IAAI,wBAAe,CACvB,kEAAkE,CACnE,CAAA;KACF;IAED,IAAI,EAAE,CAAC,mBAAmB,IAAI,IAAI,EAAE;QAClC,MAAM,IAAI,wBAAe,CACvB,sEAAsE,CACvE,CAAA;KACF;IAED,IAAI,EAAE,CAAC,mBAAmB,KAAK,CAAC,IAAI,EAAE,CAAC,mBAAmB,KAAK,CAAC,EAAE;QAChE,MAAM,IAAI,wBAAe,CACvB,sEAAsE,CACvE,CAAA;KACF;IAED,IAAI,EAAE,CAAC,wBAAwB,IAAI,IAAI,EAAE;QACvC,MAAM,IAAI,wBAAe,CACvB,2EAA2E,CAC5E,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,wBAAwB,KAAK,QAAQ,EAAE;QACnD,MAAM,IAAI,wBAAe,CACvB,2EAA2E,CAC5E,CAAA;KACF;IAED,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CACvB,+DAA+D,CAChE,CAAA;KACF;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CACvB,+DAA+D,CAChE,CAAA;KACF;AACH,CAAC;AAxID,8FAwIC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction } from './common';
|
3
|
-
export interface XChainAddClaimAttestation extends BaseTransaction {
|
4
|
-
TransactionType: 'XChainAddClaimAttestation';
|
5
|
-
Amount: Amount;
|
6
|
-
AttestationRewardAccount: string;
|
7
|
-
AttestationSignerAccount: string;
|
8
|
-
Destination?: string;
|
9
|
-
OtherChainSource: string;
|
10
|
-
PublicKey: string;
|
11
|
-
Signature: string;
|
12
|
-
WasLockingChainSend: 0 | 1;
|
13
|
-
XChainBridge: XChainBridge;
|
14
|
-
XChainClaimID: string;
|
15
|
-
}
|
16
|
-
export declare function validateXChainAddClaimAttestation(tx: Record<string, unknown>): void;
|
17
|
-
//# sourceMappingURL=XChainAddClaimAttestation.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainAddClaimAttestation.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAddClaimAttestation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AAQjB,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IAChE,eAAe,EAAE,2BAA2B,CAAA;IAK5C,MAAM,EAAE,MAAM,CAAA;IAKd,wBAAwB,EAAE,MAAM,CAAA;IAKhC,wBAAwB,EAAE,MAAM,CAAA;IAMhC,WAAW,CAAC,EAAE,MAAM,CAAA;IAMpB,gBAAgB,EAAE,MAAM,CAAA;IAKxB,SAAS,EAAE,MAAM,CAAA;IAKjB,SAAS,EAAE,MAAM,CAAA;IAKjB,mBAAmB,EAAE,CAAC,GAAG,CAAC,CAAA;IAK1B,YAAY,EAAE,YAAY,CAAA;IAM1B,aAAa,EAAE,MAAM,CAAA;CACtB;AASD,wBAAgB,iCAAiC,CAC/C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CAgHN"}
|
@@ -1,67 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainAddClaimAttestation = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
function validateXChainAddClaimAttestation(tx) {
|
7
|
-
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
if (tx.Amount == null) {
|
9
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field Amount');
|
10
|
-
}
|
11
|
-
if (!(0, common_1.isAmount)(tx.Amount)) {
|
12
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field Amount');
|
13
|
-
}
|
14
|
-
if (tx.AttestationRewardAccount == null) {
|
15
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field AttestationRewardAccount');
|
16
|
-
}
|
17
|
-
if (typeof tx.AttestationRewardAccount !== 'string') {
|
18
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field AttestationRewardAccount');
|
19
|
-
}
|
20
|
-
if (tx.AttestationSignerAccount == null) {
|
21
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field AttestationSignerAccount');
|
22
|
-
}
|
23
|
-
if (typeof tx.AttestationSignerAccount !== 'string') {
|
24
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field AttestationSignerAccount');
|
25
|
-
}
|
26
|
-
if (tx.Destination !== undefined && typeof tx.Destination !== 'string') {
|
27
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field Destination');
|
28
|
-
}
|
29
|
-
if (tx.OtherChainSource == null) {
|
30
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field OtherChainSource');
|
31
|
-
}
|
32
|
-
if (typeof tx.OtherChainSource !== 'string') {
|
33
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field OtherChainSource');
|
34
|
-
}
|
35
|
-
if (tx.PublicKey == null) {
|
36
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field PublicKey');
|
37
|
-
}
|
38
|
-
if (typeof tx.PublicKey !== 'string') {
|
39
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field PublicKey');
|
40
|
-
}
|
41
|
-
if (tx.Signature == null) {
|
42
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field Signature');
|
43
|
-
}
|
44
|
-
if (typeof tx.Signature !== 'string') {
|
45
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field Signature');
|
46
|
-
}
|
47
|
-
if (tx.WasLockingChainSend == null) {
|
48
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field WasLockingChainSend');
|
49
|
-
}
|
50
|
-
if (tx.WasLockingChainSend !== 0 && tx.WasLockingChainSend !== 1) {
|
51
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field WasLockingChainSend');
|
52
|
-
}
|
53
|
-
if (tx.XChainBridge == null) {
|
54
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field XChainBridge');
|
55
|
-
}
|
56
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
57
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field XChainBridge');
|
58
|
-
}
|
59
|
-
if (tx.XChainClaimID == null) {
|
60
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field XChainClaimID');
|
61
|
-
}
|
62
|
-
if (typeof tx.XChainClaimID !== 'string') {
|
63
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field XChainClaimID');
|
64
|
-
}
|
65
|
-
}
|
66
|
-
exports.validateXChainAddClaimAttestation = validateXChainAddClaimAttestation;
|
67
|
-
//# sourceMappingURL=XChainAddClaimAttestation.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainAddClaimAttestation.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAddClaimAttestation.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AAwEjB,SAAgB,iCAAiC,CAC/C,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QACxB,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;IAED,IAAI,EAAE,CAAC,wBAAwB,IAAI,IAAI,EAAE;QACvC,MAAM,IAAI,wBAAe,CACvB,mEAAmE,CACpE,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,wBAAwB,KAAK,QAAQ,EAAE;QACnD,MAAM,IAAI,wBAAe,CACvB,mEAAmE,CACpE,CAAA;KACF;IAED,IAAI,EAAE,CAAC,wBAAwB,IAAI,IAAI,EAAE;QACvC,MAAM,IAAI,wBAAe,CACvB,mEAAmE,CACpE,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,wBAAwB,KAAK,QAAQ,EAAE;QACnD,MAAM,IAAI,wBAAe,CACvB,mEAAmE,CACpE,CAAA;KACF;IAED,IAAI,EAAE,CAAC,WAAW,KAAK,SAAS,IAAI,OAAO,EAAE,CAAC,WAAW,KAAK,QAAQ,EAAE;QACtE,MAAM,IAAI,wBAAe,CACvB,sDAAsD,CACvD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,gBAAgB,IAAI,IAAI,EAAE;QAC/B,MAAM,IAAI,wBAAe,CACvB,2DAA2D,CAC5D,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,gBAAgB,KAAK,QAAQ,EAAE;QAC3C,MAAM,IAAI,wBAAe,CACvB,2DAA2D,CAC5D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,SAAS,IAAI,IAAI,EAAE;QACxB,MAAM,IAAI,wBAAe,CACvB,oDAAoD,CACrD,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,SAAS,KAAK,QAAQ,EAAE;QACpC,MAAM,IAAI,wBAAe,CACvB,oDAAoD,CACrD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,SAAS,IAAI,IAAI,EAAE;QACxB,MAAM,IAAI,wBAAe,CACvB,oDAAoD,CACrD,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,SAAS,KAAK,QAAQ,EAAE;QACpC,MAAM,IAAI,wBAAe,CACvB,oDAAoD,CACrD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,mBAAmB,IAAI,IAAI,EAAE;QAClC,MAAM,IAAI,wBAAe,CACvB,8DAA8D,CAC/D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,mBAAmB,KAAK,CAAC,IAAI,EAAE,CAAC,mBAAmB,KAAK,CAAC,EAAE;QAChE,MAAM,IAAI,wBAAe,CACvB,8DAA8D,CAC/D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CACvB,uDAAuD,CACxD,CAAA;KACF;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CACvB,uDAAuD,CACxD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,aAAa,IAAI,IAAI,EAAE;QAC5B,MAAM,IAAI,wBAAe,CACvB,wDAAwD,CACzD,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,aAAa,KAAK,QAAQ,EAAE;QACxC,MAAM,IAAI,wBAAe,CACvB,wDAAwD,CACzD,CAAA;KACF;AACH,CAAC;AAlHD,8EAkHC"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction } from './common';
|
3
|
-
export interface XChainClaim extends BaseTransaction {
|
4
|
-
TransactionType: 'XChainClaim';
|
5
|
-
XChainBridge: XChainBridge;
|
6
|
-
XChainClaimID: number | string;
|
7
|
-
Destination: string;
|
8
|
-
DestinationTag?: number;
|
9
|
-
Amount: Amount;
|
10
|
-
}
|
11
|
-
export declare function validateXChainClaim(tx: Record<string, unknown>): void;
|
12
|
-
//# sourceMappingURL=XChainClaim.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainClaim.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AASjB,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,eAAe,EAAE,aAAa,CAAA;IAK9B,YAAY,EAAE,YAAY,CAAA;IAM1B,aAAa,EAAE,MAAM,GAAG,MAAM,CAAA;IAQ9B,WAAW,EAAE,MAAM,CAAA;IAKnB,cAAc,CAAC,EAAE,MAAM,CAAA;IAMvB,MAAM,EAAE,MAAM,CAAA;CACf;AASD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CA4CrE"}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainClaim = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
function validateXChainClaim(tx) {
|
7
|
-
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
if (tx.XChainBridge == null) {
|
9
|
-
throw new errors_1.ValidationError('XChainClaim: missing field XChainBridge');
|
10
|
-
}
|
11
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
12
|
-
throw new errors_1.ValidationError('XChainClaim: invalid field XChainBridge');
|
13
|
-
}
|
14
|
-
if (tx.XChainClaimID == null) {
|
15
|
-
throw new errors_1.ValidationError('XChainClaim: missing field XChainClaimID');
|
16
|
-
}
|
17
|
-
if (typeof tx.XChainClaimID !== 'number' &&
|
18
|
-
typeof tx.XChainClaimID !== 'string') {
|
19
|
-
throw new errors_1.ValidationError('XChainClaim: invalid field XChainClaimID');
|
20
|
-
}
|
21
|
-
if (tx.Destination == null) {
|
22
|
-
throw new errors_1.ValidationError('XChainClaim: missing field Destination');
|
23
|
-
}
|
24
|
-
if (typeof tx.Destination !== 'string') {
|
25
|
-
throw new errors_1.ValidationError('XChainClaim: invalid field Destination');
|
26
|
-
}
|
27
|
-
if (tx.DestinationTag !== undefined &&
|
28
|
-
typeof tx.DestinationTag !== 'number') {
|
29
|
-
throw new errors_1.ValidationError('XChainClaim: invalid field DestinationTag');
|
30
|
-
}
|
31
|
-
if (tx.Amount == null) {
|
32
|
-
throw new errors_1.ValidationError('XChainClaim: missing field Amount');
|
33
|
-
}
|
34
|
-
if (!(0, common_1.isAmount)(tx.Amount)) {
|
35
|
-
throw new errors_1.ValidationError('XChainClaim: invalid field Amount');
|
36
|
-
}
|
37
|
-
}
|
38
|
-
exports.validateXChainClaim = validateXChainClaim;
|
39
|
-
//# sourceMappingURL=XChainClaim.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainClaim.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AAkDjB,SAAgB,mBAAmB,CAAC,EAA2B;IAC7D,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,yCAAyC,CAAC,CAAA;KACrE;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CAAC,yCAAyC,CAAC,CAAA;KACrE;IAED,IAAI,EAAE,CAAC,aAAa,IAAI,IAAI,EAAE;QAC5B,MAAM,IAAI,wBAAe,CAAC,0CAA0C,CAAC,CAAA;KACtE;IAED,IACE,OAAO,EAAE,CAAC,aAAa,KAAK,QAAQ;QACpC,OAAO,EAAE,CAAC,aAAa,KAAK,QAAQ,EACpC;QACA,MAAM,IAAI,wBAAe,CAAC,0CAA0C,CAAC,CAAA;KACtE;IAED,IAAI,EAAE,CAAC,WAAW,IAAI,IAAI,EAAE;QAC1B,MAAM,IAAI,wBAAe,CAAC,wCAAwC,CAAC,CAAA;KACpE;IAED,IAAI,OAAO,EAAE,CAAC,WAAW,KAAK,QAAQ,EAAE;QACtC,MAAM,IAAI,wBAAe,CAAC,wCAAwC,CAAC,CAAA;KACpE;IAED,IACE,EAAE,CAAC,cAAc,KAAK,SAAS;QAC/B,OAAO,EAAE,CAAC,cAAc,KAAK,QAAQ,EACrC;QACA,MAAM,IAAI,wBAAe,CAAC,2CAA2C,CAAC,CAAA;KACvE;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,mCAAmC,CAAC,CAAA;KAC/D;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QACxB,MAAM,IAAI,wBAAe,CAAC,mCAAmC,CAAC,CAAA;KAC/D;AACH,CAAC;AA5CD,kDA4CC"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction } from './common';
|
3
|
-
export interface XChainCommit extends BaseTransaction {
|
4
|
-
TransactionType: 'XChainCommit';
|
5
|
-
XChainBridge: XChainBridge;
|
6
|
-
XChainClaimID: number | string;
|
7
|
-
OtherChainDestination?: string;
|
8
|
-
Amount: Amount;
|
9
|
-
}
|
10
|
-
export declare function validateXChainCommit(tx: Record<string, unknown>): void;
|
11
|
-
//# sourceMappingURL=XChainCommit.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainCommit.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AAUjB,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,eAAe,EAAE,cAAc,CAAA;IAK/B,YAAY,EAAE,YAAY,CAAA;IAQ1B,aAAa,EAAE,MAAM,GAAG,MAAM,CAAA;IAQ9B,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAO9B,MAAM,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAsCtE"}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainCommit = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
function validateXChainCommit(tx) {
|
7
|
-
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
if (tx.XChainBridge == null) {
|
9
|
-
throw new errors_1.ValidationError('XChainCommit: missing field XChainBridge');
|
10
|
-
}
|
11
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
12
|
-
throw new errors_1.ValidationError('XChainCommit: invalid field XChainBridge');
|
13
|
-
}
|
14
|
-
if (tx.XChainClaimID == null) {
|
15
|
-
throw new errors_1.ValidationError('XChainCommit: missing field XChainClaimID');
|
16
|
-
}
|
17
|
-
if (typeof tx.XChainClaimID !== 'number' &&
|
18
|
-
typeof tx.XChainClaimID !== 'string') {
|
19
|
-
throw new errors_1.ValidationError('XChainCommit: invalid field XChainClaimID');
|
20
|
-
}
|
21
|
-
if (tx.OtherChainDestination !== undefined &&
|
22
|
-
typeof tx.OtherChainDestination !== 'string') {
|
23
|
-
throw new errors_1.ValidationError('XChainCommit: invalid field OtherChainDestination');
|
24
|
-
}
|
25
|
-
if (tx.Amount == null) {
|
26
|
-
throw new errors_1.ValidationError('XChainCommit: missing field Amount');
|
27
|
-
}
|
28
|
-
if (!(0, common_1.isAmount)(tx.Amount)) {
|
29
|
-
throw new errors_1.ValidationError('XChainCommit: invalid field Amount');
|
30
|
-
}
|
31
|
-
}
|
32
|
-
exports.validateXChainCommit = validateXChainCommit;
|
33
|
-
//# sourceMappingURL=XChainCommit.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainCommit.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AAgDjB,SAAgB,oBAAoB,CAAC,EAA2B;IAC9D,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,0CAA0C,CAAC,CAAA;KACtE;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CAAC,0CAA0C,CAAC,CAAA;KACtE;IAED,IAAI,EAAE,CAAC,aAAa,IAAI,IAAI,EAAE;QAC5B,MAAM,IAAI,wBAAe,CAAC,2CAA2C,CAAC,CAAA;KACvE;IAED,IACE,OAAO,EAAE,CAAC,aAAa,KAAK,QAAQ;QACpC,OAAO,EAAE,CAAC,aAAa,KAAK,QAAQ,EACpC;QACA,MAAM,IAAI,wBAAe,CAAC,2CAA2C,CAAC,CAAA;KACvE;IAED,IACE,EAAE,CAAC,qBAAqB,KAAK,SAAS;QACtC,OAAO,EAAE,CAAC,qBAAqB,KAAK,QAAQ,EAC5C;QACA,MAAM,IAAI,wBAAe,CACvB,mDAAmD,CACpD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,oCAAoC,CAAC,CAAA;KAChE;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QACxB,MAAM,IAAI,wBAAe,CAAC,oCAAoC,CAAC,CAAA;KAChE;AACH,CAAC;AAtCD,oDAsCC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction } from './common';
|
3
|
-
export interface XChainCreateBridge extends BaseTransaction {
|
4
|
-
TransactionType: 'XChainCreateBridge';
|
5
|
-
XChainBridge: XChainBridge;
|
6
|
-
SignatureReward: Amount;
|
7
|
-
MinAccountCreateAmount?: Amount;
|
8
|
-
}
|
9
|
-
export declare function validateXChainCreateBridge(tx: Record<string, unknown>): void;
|
10
|
-
//# sourceMappingURL=XChainCreateBridge.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainCreateBridge.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AAUjB,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACzD,eAAe,EAAE,oBAAoB,CAAA;IAKrC,YAAY,EAAE,YAAY,CAAA;IAM1B,eAAe,EAAE,MAAM,CAAA;IAOvB,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC;AAQD,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CA+B5E"}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainCreateBridge = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
function validateXChainCreateBridge(tx) {
|
7
|
-
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
if (tx.XChainBridge == null) {
|
9
|
-
throw new errors_1.ValidationError('XChainCreateBridge: missing field XChainBridge');
|
10
|
-
}
|
11
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
12
|
-
throw new errors_1.ValidationError('XChainCreateBridge: invalid field XChainBridge');
|
13
|
-
}
|
14
|
-
if (tx.SignatureReward == null) {
|
15
|
-
throw new errors_1.ValidationError('XChainCreateBridge: missing field SignatureReward');
|
16
|
-
}
|
17
|
-
if (!(0, common_1.isAmount)(tx.SignatureReward)) {
|
18
|
-
throw new errors_1.ValidationError('XChainCreateBridge: invalid field SignatureReward');
|
19
|
-
}
|
20
|
-
if (tx.MinAccountCreateAmount !== undefined &&
|
21
|
-
!(0, common_1.isAmount)(tx.MinAccountCreateAmount)) {
|
22
|
-
throw new errors_1.ValidationError('XChainCreateBridge: invalid field MinAccountCreateAmount');
|
23
|
-
}
|
24
|
-
}
|
25
|
-
exports.validateXChainCreateBridge = validateXChainCreateBridge;
|
26
|
-
//# sourceMappingURL=XChainCreateBridge.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainCreateBridge.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AAsCjB,SAAgB,0BAA0B,CAAC,EAA2B;IACpE,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,gDAAgD,CAAC,CAAA;KAC5E;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CAAC,gDAAgD,CAAC,CAAA;KAC5E;IAED,IAAI,EAAE,CAAC,eAAe,IAAI,IAAI,EAAE;QAC9B,MAAM,IAAI,wBAAe,CACvB,mDAAmD,CACpD,CAAA;KACF;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,eAAe,CAAC,EAAE;QACjC,MAAM,IAAI,wBAAe,CACvB,mDAAmD,CACpD,CAAA;KACF;IAED,IACE,EAAE,CAAC,sBAAsB,KAAK,SAAS;QACvC,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,sBAAsB,CAAC,EACpC;QACA,MAAM,IAAI,wBAAe,CACvB,0DAA0D,CAC3D,CAAA;KACF;AACH,CAAC;AA/BD,gEA+BC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction } from './common';
|
3
|
-
export interface XChainCreateClaimID extends BaseTransaction {
|
4
|
-
TransactionType: 'XChainCreateClaimID';
|
5
|
-
XChainBridge: XChainBridge;
|
6
|
-
SignatureReward: Amount;
|
7
|
-
OtherChainSource: string;
|
8
|
-
}
|
9
|
-
export declare function validateXChainCreateClaimID(tx: Record<string, unknown>): void;
|
10
|
-
//# sourceMappingURL=XChainCreateClaimID.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainCreateClaimID.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateClaimID.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AASjB,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAC1D,eAAe,EAAE,qBAAqB,CAAA;IAKtC,YAAY,EAAE,YAAY,CAAA;IAM1B,eAAe,EAAE,MAAM,CAAA;IAKvB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAQD,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAkC7E"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainCreateClaimID = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
function validateXChainCreateClaimID(tx) {
|
7
|
-
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
if (tx.XChainBridge == null) {
|
9
|
-
throw new errors_1.ValidationError('XChainCreateClaimID: missing field XChainBridge');
|
10
|
-
}
|
11
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
12
|
-
throw new errors_1.ValidationError('XChainCreateClaimID: invalid field XChainBridge');
|
13
|
-
}
|
14
|
-
if (tx.SignatureReward == null) {
|
15
|
-
throw new errors_1.ValidationError('XChainCreateClaimID: missing field SignatureReward');
|
16
|
-
}
|
17
|
-
if (!(0, common_1.isAmount)(tx.SignatureReward)) {
|
18
|
-
throw new errors_1.ValidationError('XChainCreateClaimID: invalid field SignatureReward');
|
19
|
-
}
|
20
|
-
if (tx.OtherChainSource == null) {
|
21
|
-
throw new errors_1.ValidationError('XChainCreateClaimID: missing field OtherChainSource');
|
22
|
-
}
|
23
|
-
if (typeof tx.OtherChainSource !== 'string') {
|
24
|
-
throw new errors_1.ValidationError('XChainCreateClaimID: invalid field OtherChainSource');
|
25
|
-
}
|
26
|
-
}
|
27
|
-
exports.validateXChainCreateClaimID = validateXChainCreateClaimID;
|
28
|
-
//# sourceMappingURL=XChainCreateClaimID.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainCreateClaimID.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateClaimID.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AAmCjB,SAAgB,2BAA2B,CAAC,EAA2B;IACrE,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;IAED,IAAI,EAAE,CAAC,eAAe,IAAI,IAAI,EAAE;QAC9B,MAAM,IAAI,wBAAe,CACvB,oDAAoD,CACrD,CAAA;KACF;IAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,eAAe,CAAC,EAAE;QACjC,MAAM,IAAI,wBAAe,CACvB,oDAAoD,CACrD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,gBAAgB,IAAI,IAAI,EAAE;QAC/B,MAAM,IAAI,wBAAe,CACvB,qDAAqD,CACtD,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,gBAAgB,KAAK,QAAQ,EAAE;QAC3C,MAAM,IAAI,wBAAe,CACvB,qDAAqD,CACtD,CAAA;KACF;AACH,CAAC;AAlCD,kEAkCC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import { BaseTransaction, GlobalFlags } from './common';
|
3
|
-
export declare enum XChainModifyBridgeFlags {
|
4
|
-
tfClearAccountCreateAmount = 65536
|
5
|
-
}
|
6
|
-
export interface XChainModifyBridgeFlagsInterface extends GlobalFlags {
|
7
|
-
tfClearAccountCreateAmount?: boolean;
|
8
|
-
}
|
9
|
-
export interface XChainModifyBridge extends BaseTransaction {
|
10
|
-
TransactionType: 'XChainModifyBridge';
|
11
|
-
XChainBridge: XChainBridge;
|
12
|
-
SignatureReward?: Amount;
|
13
|
-
MinAccountCreateAmount?: Amount;
|
14
|
-
Flags?: number | XChainModifyBridgeFlagsInterface;
|
15
|
-
}
|
16
|
-
export declare function validateXChainModifyBridge(tx: Record<string, unknown>): void;
|
17
|
-
//# sourceMappingURL=XChainModifyBridge.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainModifyBridge.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainModifyBridge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EACf,WAAW,EAIZ,MAAM,UAAU,CAAA;AAOjB,oBAAY,uBAAuB;IAEjC,0BAA0B,QAAa;CACxC;AAQD,MAAM,WAAW,gCAAiC,SAAQ,WAAW;IAEnE,0BAA0B,CAAC,EAAE,OAAO,CAAA;CACrC;AAQD,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACzD,eAAe,EAAE,oBAAoB,CAAA;IAKrC,YAAY,EAAE,YAAY,CAAA;IAK1B,eAAe,CAAC,EAAE,MAAM,CAAA;IAOxB,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAE/B,KAAK,CAAC,EAAE,MAAM,GAAG,gCAAgC,CAAA;CAClD;AAQD,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAyB5E"}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateXChainModifyBridge = exports.XChainModifyBridgeFlags = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
|
-
const common_1 = require("./common");
|
6
|
-
var XChainModifyBridgeFlags;
|
7
|
-
(function (XChainModifyBridgeFlags) {
|
8
|
-
XChainModifyBridgeFlags[XChainModifyBridgeFlags["tfClearAccountCreateAmount"] = 65536] = "tfClearAccountCreateAmount";
|
9
|
-
})(XChainModifyBridgeFlags = exports.XChainModifyBridgeFlags || (exports.XChainModifyBridgeFlags = {}));
|
10
|
-
function validateXChainModifyBridge(tx) {
|
11
|
-
(0, common_1.validateBaseTransaction)(tx);
|
12
|
-
if (tx.XChainBridge == null) {
|
13
|
-
throw new errors_1.ValidationError('XChainModifyBridge: missing field XChainBridge');
|
14
|
-
}
|
15
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
16
|
-
throw new errors_1.ValidationError('XChainModifyBridge: invalid field XChainBridge');
|
17
|
-
}
|
18
|
-
if (tx.SignatureReward !== undefined && !(0, common_1.isAmount)(tx.SignatureReward)) {
|
19
|
-
throw new errors_1.ValidationError('XChainModifyBridge: invalid field SignatureReward');
|
20
|
-
}
|
21
|
-
if (tx.MinAccountCreateAmount !== undefined &&
|
22
|
-
!(0, common_1.isAmount)(tx.MinAccountCreateAmount)) {
|
23
|
-
throw new errors_1.ValidationError('XChainModifyBridge: invalid field MinAccountCreateAmount');
|
24
|
-
}
|
25
|
-
}
|
26
|
-
exports.validateXChainModifyBridge = validateXChainModifyBridge;
|
27
|
-
//# sourceMappingURL=XChainModifyBridge.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainModifyBridge.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainModifyBridge.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAMiB;AAOjB,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAEjC,qHAAuC,CAAA;AACzC,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAgDD,SAAgB,0BAA0B,CAAC,EAA2B;IACpE,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,gDAAgD,CAAC,CAAA;KAC5E;IAED,IAAI,CAAC,IAAA,uBAAc,EAAC,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,MAAM,IAAI,wBAAe,CAAC,gDAAgD,CAAC,CAAA;KAC5E;IAED,IAAI,EAAE,CAAC,eAAe,KAAK,SAAS,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,eAAe,CAAC,EAAE;QACrE,MAAM,IAAI,wBAAe,CACvB,mDAAmD,CACpD,CAAA;KACF;IAED,IACE,EAAE,CAAC,sBAAsB,KAAK,SAAS;QACvC,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,sBAAsB,CAAC,EACpC;QACA,MAAM,IAAI,wBAAe,CACvB,0DAA0D,CAC3D,CAAA;KACF;AACH,CAAC;AAzBD,gEAyBC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Amount, XChainBridge } from '../common';
|
2
|
-
import BaseLedgerEntry from './BaseLedgerEntry';
|
3
|
-
export default interface Bridge extends BaseLedgerEntry {
|
4
|
-
LedgerEntryType: 'Bridge';
|
5
|
-
Account: string;
|
6
|
-
SignatureReward: Amount;
|
7
|
-
MinAccountCreateAmount?: string;
|
8
|
-
XChainBridge: XChainBridge;
|
9
|
-
XChainClaimID: string;
|
10
|
-
XChainAccountCreateCount: string;
|
11
|
-
XChainAccountClaimCount: string;
|
12
|
-
Flags: 0;
|
13
|
-
OwnerNode: string;
|
14
|
-
PreviousTxnID: string;
|
15
|
-
PreviousTxnLgrSeq: number;
|
16
|
-
}
|
17
|
-
//# sourceMappingURL=Bridge.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Bridge.d.ts","sourceRoot":"","sources":["../../../../../src/models/ledger/Bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAS/C,MAAM,CAAC,OAAO,WAAW,MAAO,SAAQ,eAAe;IACrD,eAAe,EAAE,QAAQ,CAAA;IAGzB,OAAO,EAAE,MAAM,CAAA;IAOf,eAAe,EAAE,MAAM,CAAA;IAOvB,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAK/B,YAAY,EAAE,YAAY,CAAA;IAK1B,aAAa,EAAE,MAAM,CAAA;IAOrB,wBAAwB,EAAE,MAAM,CAAA;IAYhC,uBAAuB,EAAE,MAAM,CAAA;IAM/B,KAAK,EAAE,CAAC,CAAA;IAMR,SAAS,EAAE,MAAM,CAAA;IAMjB,aAAa,EAAE,MAAM,CAAA;IAMrB,iBAAiB,EAAE,MAAM,CAAA;CAC1B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Bridge.js","sourceRoot":"","sources":["../../../../../src/models/ledger/Bridge.ts"],"names":[],"mappings":""}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { XChainBridge } from '../common';
|
2
|
-
import BaseLedgerEntry from './BaseLedgerEntry';
|
3
|
-
export default interface XChainOwnedClaimID extends BaseLedgerEntry {
|
4
|
-
LedgerEntryType: 'XChainOwnedClaimID';
|
5
|
-
Account: string;
|
6
|
-
XChainBridge: XChainBridge;
|
7
|
-
XChainClaimID: string;
|
8
|
-
OtherChainSource: string;
|
9
|
-
XChainClaimAttestations: object[];
|
10
|
-
SignatureReward: string;
|
11
|
-
Flags: 0;
|
12
|
-
OwnerNode: string;
|
13
|
-
PreviousTxnID: string;
|
14
|
-
PreviousTxnLgrSeq: number;
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=XChainOwnedClaimID.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainOwnedClaimID.d.ts","sourceRoot":"","sources":["../../../../../src/models/ledger/XChainOwnedClaimID.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAS/C,MAAM,CAAC,OAAO,WAAW,kBAAmB,SAAQ,eAAe;IACjE,eAAe,EAAE,oBAAoB,CAAA;IAGrC,OAAO,EAAE,MAAM,CAAA;IAKf,YAAY,EAAE,YAAY,CAAA;IAK1B,aAAa,EAAE,MAAM,CAAA;IAUrB,gBAAgB,EAAE,MAAM,CAAA;IASxB,uBAAuB,EAAE,MAAM,EAAE,CAAA;IAMjC,eAAe,EAAE,MAAM,CAAA;IAMvB,KAAK,EAAE,CAAC,CAAA;IAKR,SAAS,EAAE,MAAM,CAAA;IAKjB,aAAa,EAAE,MAAM,CAAA;IAKrB,iBAAiB,EAAE,MAAM,CAAA;CAC1B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainOwnedClaimID.js","sourceRoot":"","sources":["../../../../../src/models/ledger/XChainOwnedClaimID.ts"],"names":[],"mappings":""}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { XChainBridge } from '../common';
|
2
|
-
import BaseLedgerEntry from './BaseLedgerEntry';
|
3
|
-
export default interface XChainOwnedCreateAccountClaimID extends BaseLedgerEntry {
|
4
|
-
LedgerEntryType: 'XChainOwnedCreateAccountClaimID';
|
5
|
-
Account: string;
|
6
|
-
XChainBridge: XChainBridge;
|
7
|
-
XChainAccountCreateCount: number;
|
8
|
-
XChainCreateAccountAttestations: object[];
|
9
|
-
Flags: 0;
|
10
|
-
OwnerNode: string;
|
11
|
-
PreviousTxnID: string;
|
12
|
-
PreviousTxnLgrSeq: number;
|
13
|
-
}
|
14
|
-
//# sourceMappingURL=XChainOwnedCreateAccountClaimID.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"XChainOwnedCreateAccountClaimID.d.ts","sourceRoot":"","sources":["../../../../../src/models/ledger/XChainOwnedCreateAccountClaimID.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAQ/C,MAAM,CAAC,OAAO,WAAW,+BACvB,SAAQ,eAAe;IACvB,eAAe,EAAE,iCAAiC,CAAA;IAGlD,OAAO,EAAE,MAAM,CAAA;IAKf,YAAY,EAAE,YAAY,CAAA;IAO1B,wBAAwB,EAAE,MAAM,CAAA;IAUhC,+BAA+B,EAAE,MAAM,EAAE,CAAA;IAMzC,KAAK,EAAE,CAAC,CAAA;IAKR,SAAS,EAAE,MAAM,CAAA;IAKjB,aAAa,EAAE,MAAM,CAAA;IAKrB,iBAAiB,EAAE,MAAM,CAAA;CAC1B"}
|