xrpl 2.12.0-beta.0 → 2.12.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 +139 -312
- package/build/xrpl-latest.js.map +1 -1
- package/dist/npm/models/common/index.d.ts +2 -1
- package/dist/npm/models/common/index.d.ts.map +1 -1
- package/dist/npm/models/ledger/AMM.d.ts +5 -3
- package/dist/npm/models/ledger/AMM.d.ts.map +1 -1
- package/dist/npm/models/ledger/AccountRoot.d.ts +1 -0
- package/dist/npm/models/ledger/AccountRoot.d.ts.map +1 -1
- package/dist/npm/models/ledger/AccountRoot.js.map +1 -1
- package/dist/npm/models/ledger/XChainOwnedClaimID.d.ts +11 -1
- package/dist/npm/models/ledger/XChainOwnedClaimID.d.ts.map +1 -1
- package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.d.ts +10 -1
- package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.d.ts.map +1 -1
- package/dist/npm/models/ledger/index.d.ts +2 -1
- 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/accountObjects.d.ts +3 -3
- package/dist/npm/models/methods/accountObjects.d.ts.map +1 -1
- package/dist/npm/models/methods/ammInfo.d.ts +4 -3
- package/dist/npm/models/methods/ammInfo.d.ts.map +1 -1
- package/dist/npm/models/methods/ledgerEntry.d.ts +4 -4
- package/dist/npm/models/methods/ledgerEntry.d.ts.map +1 -1
- package/dist/npm/models/methods/serverInfo.d.ts +6 -0
- package/dist/npm/models/methods/serverInfo.d.ts.map +1 -1
- package/dist/npm/models/transactions/AMMBid.d.ts +3 -3
- package/dist/npm/models/transactions/AMMBid.d.ts.map +1 -1
- package/dist/npm/models/transactions/AMMBid.js.map +1 -1
- package/dist/npm/models/transactions/AMMDeposit.d.ts.map +1 -1
- package/dist/npm/models/transactions/AMMDeposit.js.map +1 -1
- package/dist/npm/models/transactions/AMMWithdraw.d.ts.map +1 -1
- package/dist/npm/models/transactions/AMMWithdraw.js.map +1 -1
- package/dist/npm/models/transactions/XChainAccountCreateCommit.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainAccountCreateCommit.js +5 -26
- package/dist/npm/models/transactions/XChainAccountCreateCommit.js.map +1 -1
- package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.js +11 -68
- package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.js.map +1 -1
- package/dist/npm/models/transactions/XChainAddClaimAttestation.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainAddClaimAttestation.js +10 -59
- package/dist/npm/models/transactions/XChainAddClaimAttestation.js.map +1 -1
- package/dist/npm/models/transactions/XChainClaim.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainClaim.js +5 -30
- package/dist/npm/models/transactions/XChainClaim.js.map +1 -1
- package/dist/npm/models/transactions/XChainCommit.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainCommit.js +4 -24
- package/dist/npm/models/transactions/XChainCommit.js.map +1 -1
- package/dist/npm/models/transactions/XChainCreateBridge.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainCreateBridge.js +3 -17
- package/dist/npm/models/transactions/XChainCreateBridge.js.map +1 -1
- package/dist/npm/models/transactions/XChainCreateClaimID.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainCreateClaimID.js +3 -19
- package/dist/npm/models/transactions/XChainCreateClaimID.js.map +1 -1
- package/dist/npm/models/transactions/XChainModifyBridge.d.ts.map +1 -1
- package/dist/npm/models/transactions/XChainModifyBridge.js +3 -14
- package/dist/npm/models/transactions/XChainModifyBridge.js.map +1 -1
- package/dist/npm/models/transactions/accountSet.d.ts.map +1 -1
- package/dist/npm/models/transactions/accountSet.js.map +1 -1
- package/dist/npm/models/transactions/checkCash.d.ts.map +1 -1
- package/dist/npm/models/transactions/checkCash.js.map +1 -1
- package/dist/npm/models/transactions/checkCreate.d.ts.map +1 -1
- package/dist/npm/models/transactions/checkCreate.js.map +1 -1
- package/dist/npm/models/transactions/common.d.ts +4 -0
- package/dist/npm/models/transactions/common.d.ts.map +1 -1
- package/dist/npm/models/transactions/common.js +33 -38
- package/dist/npm/models/transactions/common.js.map +1 -1
- package/dist/npm/models/transactions/depositPreauth.d.ts.map +1 -1
- package/dist/npm/models/transactions/depositPreauth.js.map +1 -1
- package/dist/npm/models/transactions/escrowCancel.d.ts +1 -1
- package/dist/npm/models/transactions/escrowCancel.d.ts.map +1 -1
- package/dist/npm/models/transactions/escrowCancel.js +5 -3
- package/dist/npm/models/transactions/escrowCancel.js.map +1 -1
- package/dist/npm/models/transactions/escrowCreate.d.ts.map +1 -1
- package/dist/npm/models/transactions/escrowCreate.js.map +1 -1
- package/dist/npm/models/transactions/escrowFinish.d.ts +1 -1
- package/dist/npm/models/transactions/escrowFinish.d.ts.map +1 -1
- package/dist/npm/models/transactions/escrowFinish.js +5 -3
- package/dist/npm/models/transactions/escrowFinish.js.map +1 -1
- package/dist/npm/models/transactions/offerCreate.d.ts.map +1 -1
- package/dist/npm/models/transactions/offerCreate.js.map +1 -1
- package/dist/npm/models/transactions/payment.d.ts.map +1 -1
- package/dist/npm/models/transactions/payment.js.map +1 -1
- package/dist/npm/models/transactions/paymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/models/transactions/paymentChannelClaim.js.map +1 -1
- package/dist/npm/models/transactions/paymentChannelCreate.d.ts.map +1 -1
- package/dist/npm/models/transactions/paymentChannelCreate.js.map +1 -1
- package/dist/npm/models/transactions/signerListSet.d.ts.map +1 -1
- package/dist/npm/models/transactions/signerListSet.js.map +1 -1
- package/dist/npm/models/transactions/transaction.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/npm/snippets/src/bridgeTransfer.js +12 -10
- package/dist/npm/snippets/src/bridgeTransfer.js.map +1 -1
- package/dist/npm/src/models/common/index.d.ts +2 -1
- package/dist/npm/src/models/common/index.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/AMM.d.ts +5 -3
- package/dist/npm/src/models/ledger/AMM.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/AccountRoot.d.ts +1 -0
- package/dist/npm/src/models/ledger/AccountRoot.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/AccountRoot.js.map +1 -1
- package/dist/npm/src/models/ledger/XChainOwnedClaimID.d.ts +11 -1
- package/dist/npm/src/models/ledger/XChainOwnedClaimID.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.d.ts +10 -1
- package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.d.ts.map +1 -1
- package/dist/npm/src/models/ledger/index.d.ts +2 -1
- 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/accountObjects.d.ts +3 -3
- package/dist/npm/src/models/methods/accountObjects.d.ts.map +1 -1
- package/dist/npm/src/models/methods/ammInfo.d.ts +4 -3
- package/dist/npm/src/models/methods/ammInfo.d.ts.map +1 -1
- package/dist/npm/src/models/methods/ledgerEntry.d.ts +4 -4
- package/dist/npm/src/models/methods/ledgerEntry.d.ts.map +1 -1
- package/dist/npm/src/models/methods/serverInfo.d.ts +6 -0
- package/dist/npm/src/models/methods/serverInfo.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/AMMBid.d.ts +3 -3
- package/dist/npm/src/models/transactions/AMMBid.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/AMMBid.js.map +1 -1
- package/dist/npm/src/models/transactions/AMMDeposit.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/AMMDeposit.js.map +1 -1
- package/dist/npm/src/models/transactions/AMMWithdraw.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/AMMWithdraw.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainAccountCreateCommit.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainAccountCreateCommit.js +5 -26
- package/dist/npm/src/models/transactions/XChainAccountCreateCommit.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.js +11 -68
- package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainAddClaimAttestation.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainAddClaimAttestation.js +10 -59
- package/dist/npm/src/models/transactions/XChainAddClaimAttestation.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainClaim.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainClaim.js +5 -30
- package/dist/npm/src/models/transactions/XChainClaim.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainCommit.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainCommit.js +4 -24
- package/dist/npm/src/models/transactions/XChainCommit.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainCreateBridge.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainCreateBridge.js +3 -17
- package/dist/npm/src/models/transactions/XChainCreateBridge.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainCreateClaimID.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainCreateClaimID.js +3 -19
- package/dist/npm/src/models/transactions/XChainCreateClaimID.js.map +1 -1
- package/dist/npm/src/models/transactions/XChainModifyBridge.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/XChainModifyBridge.js +3 -14
- package/dist/npm/src/models/transactions/XChainModifyBridge.js.map +1 -1
- package/dist/npm/src/models/transactions/accountSet.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/accountSet.js.map +1 -1
- package/dist/npm/src/models/transactions/checkCash.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/checkCash.js.map +1 -1
- package/dist/npm/src/models/transactions/checkCreate.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/checkCreate.js.map +1 -1
- package/dist/npm/src/models/transactions/common.d.ts +4 -0
- package/dist/npm/src/models/transactions/common.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/common.js +33 -38
- package/dist/npm/src/models/transactions/common.js.map +1 -1
- package/dist/npm/src/models/transactions/depositPreauth.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/depositPreauth.js.map +1 -1
- package/dist/npm/src/models/transactions/escrowCancel.d.ts +1 -1
- package/dist/npm/src/models/transactions/escrowCancel.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/escrowCancel.js +5 -3
- package/dist/npm/src/models/transactions/escrowCancel.js.map +1 -1
- package/dist/npm/src/models/transactions/escrowCreate.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/escrowCreate.js.map +1 -1
- package/dist/npm/src/models/transactions/escrowFinish.d.ts +1 -1
- package/dist/npm/src/models/transactions/escrowFinish.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/escrowFinish.js +5 -3
- package/dist/npm/src/models/transactions/escrowFinish.js.map +1 -1
- package/dist/npm/src/models/transactions/offerCreate.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/offerCreate.js.map +1 -1
- package/dist/npm/src/models/transactions/payment.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/payment.js.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelClaim.js.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelCreate.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/paymentChannelCreate.js.map +1 -1
- package/dist/npm/src/models/transactions/signerListSet.d.ts.map +1 -1
- package/dist/npm/src/models/transactions/signerListSet.js.map +1 -1
- package/dist/npm/src/models/transactions/transaction.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/npm/src/sugar/autofill.d.ts.map +1 -1
- package/dist/npm/src/sugar/autofill.js.map +1 -1
- package/dist/npm/src/utils/getXChainClaimID.d.ts +3 -0
- package/dist/npm/src/utils/getXChainClaimID.d.ts.map +1 -0
- package/dist/npm/src/utils/getXChainClaimID.js +29 -0
- package/dist/npm/src/utils/getXChainClaimID.js.map +1 -0
- package/dist/npm/src/utils/index.d.ts +2 -1
- package/dist/npm/src/utils/index.d.ts.map +1 -1
- package/dist/npm/src/utils/index.js +3 -1
- package/dist/npm/src/utils/index.js.map +1 -1
- package/dist/npm/src/utils/signPaymentChannelClaim.d.ts +1 -1
- package/dist/npm/src/utils/signPaymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/src/utils/signPaymentChannelClaim.js +2 -2
- package/dist/npm/src/utils/signPaymentChannelClaim.js.map +1 -1
- package/dist/npm/src/utils/verifyPaymentChannelClaim.d.ts +1 -1
- package/dist/npm/src/utils/verifyPaymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/src/utils/verifyPaymentChannelClaim.js +2 -2
- package/dist/npm/src/utils/verifyPaymentChannelClaim.js.map +1 -1
- package/dist/npm/sugar/autofill.d.ts.map +1 -1
- package/dist/npm/sugar/autofill.js.map +1 -1
- package/dist/npm/utils/getXChainClaimID.d.ts +3 -0
- package/dist/npm/utils/getXChainClaimID.d.ts.map +1 -0
- package/dist/npm/utils/getXChainClaimID.js +29 -0
- package/dist/npm/utils/getXChainClaimID.js.map +1 -0
- package/dist/npm/utils/index.d.ts +2 -1
- package/dist/npm/utils/index.d.ts.map +1 -1
- package/dist/npm/utils/index.js +3 -1
- package/dist/npm/utils/index.js.map +1 -1
- package/dist/npm/utils/signPaymentChannelClaim.d.ts +1 -1
- package/dist/npm/utils/signPaymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/utils/signPaymentChannelClaim.js +2 -2
- package/dist/npm/utils/signPaymentChannelClaim.js.map +1 -1
- package/dist/npm/utils/verifyPaymentChannelClaim.d.ts +1 -1
- package/dist/npm/utils/verifyPaymentChannelClaim.d.ts.map +1 -1
- package/dist/npm/utils/verifyPaymentChannelClaim.js +2 -2
- package/dist/npm/utils/verifyPaymentChannelClaim.js.map +1 -1
- package/package.json +6 -7
- package/src/models/common/index.ts +2 -1
- package/src/models/ledger/AMM.ts +11 -3
- package/src/models/ledger/AccountRoot.ts +6 -0
- package/src/models/ledger/XChainOwnedClaimID.ts +18 -2
- package/src/models/ledger/XChainOwnedCreateAccountClaimID.ts +16 -2
- package/src/models/ledger/index.ts +3 -0
- package/src/models/methods/accountObjects.ts +3 -0
- package/src/models/methods/ammInfo.ts +8 -3
- package/src/models/methods/ledgerEntry.ts +4 -4
- package/src/models/methods/serverInfo.ts +21 -0
- package/src/models/transactions/AMMBid.ts +5 -6
- package/src/models/transactions/AMMDeposit.ts +0 -1
- package/src/models/transactions/AMMWithdraw.ts +0 -1
- package/src/models/transactions/XChainAccountCreateCommit.ts +9 -47
- package/src/models/transactions/XChainAddAccountCreateAttestation.ts +34 -138
- package/src/models/transactions/XChainAddClaimAttestation.ts +33 -116
- package/src/models/transactions/XChainClaim.ts +15 -41
- package/src/models/transactions/XChainCommit.ts +14 -35
- package/src/models/transactions/XChainCreateBridge.ts +7 -29
- package/src/models/transactions/XChainCreateClaimID.ts +7 -32
- package/src/models/transactions/XChainModifyBridge.ts +7 -23
- package/src/models/transactions/accountSet.ts +0 -2
- package/src/models/transactions/checkCash.ts +0 -1
- package/src/models/transactions/checkCreate.ts +0 -1
- package/src/models/transactions/common.ts +82 -53
- package/src/models/transactions/depositPreauth.ts +0 -1
- package/src/models/transactions/escrowCancel.ts +8 -4
- package/src/models/transactions/escrowCreate.ts +0 -1
- package/src/models/transactions/escrowFinish.ts +8 -4
- package/src/models/transactions/offerCreate.ts +0 -1
- package/src/models/transactions/payment.ts +0 -1
- package/src/models/transactions/paymentChannelClaim.ts +0 -1
- package/src/models/transactions/paymentChannelCreate.ts +0 -1
- package/src/models/transactions/signerListSet.ts +0 -1
- package/src/models/transactions/transaction.ts +0 -1
- package/src/models/utils/flags.ts +0 -1
- package/src/sugar/autofill.ts +0 -2
- package/src/utils/getXChainClaimID.ts +64 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/signPaymentChannelClaim.ts +3 -3
- package/src/utils/verifyPaymentChannelClaim.ts +3 -3
- package/dist/npm/snippets/tsconfig.tsbuildinfo +0 -1
@@ -46,19 +46,19 @@ export interface LedgerEntryRequest extends BaseRequest, LookupByLedgerRequest {
|
|
46
46
|
nft_page?: string;
|
47
47
|
bridge_account?: string;
|
48
48
|
bridge?: XChainBridge;
|
49
|
-
|
49
|
+
xchain_owned_claim_id?: {
|
50
50
|
locking_chain_door: string;
|
51
51
|
locking_chain_issue: Currency;
|
52
52
|
issuing_chain_door: string;
|
53
53
|
issuing_chain_issue: Currency;
|
54
|
-
|
54
|
+
xchain_owned_claim_id: string | number;
|
55
55
|
} | string;
|
56
|
-
|
56
|
+
xchain_owned_create_account_claim_id?: {
|
57
57
|
locking_chain_door: string;
|
58
58
|
locking_chain_issue: Currency;
|
59
59
|
issuing_chain_door: string;
|
60
60
|
issuing_chain_issue: Currency;
|
61
|
-
|
61
|
+
xchain_owned_create_account_claim_id: string | number;
|
62
62
|
} | string;
|
63
63
|
}
|
64
64
|
export interface LedgerEntryResponse extends BaseResponse {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ledgerEntry.d.ts","sourceRoot":"","sources":["../../../../../src/models/methods/ledgerEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAkB/E,MAAM,WAAW,kBAAmB,SAAQ,WAA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2' | 'wss' | 'wss2';
|
18
|
+
export interface ServerPort {
|
19
|
+
port: string;
|
20
|
+
protocol: protocol[];
|
21
|
+
}
|
17
22
|
export type StateAccountingFinal = Record<Exclude<ServerState, 'validating' | 'proposing'>, StateAccounting>;
|
18
23
|
export interface ServerInfoResponse extends BaseResponse {
|
19
24
|
result: {
|
@@ -52,6 +57,7 @@ export interface ServerInfoResponse extends BaseResponse {
|
|
52
57
|
peer_disconnects_resources?: string;
|
53
58
|
network_ledger?: 'waiting';
|
54
59
|
peers: number;
|
60
|
+
ports: ServerPort[];
|
55
61
|
pubkey_node: string;
|
56
62
|
pubkey_validator?: string;
|
57
63
|
server_state: ServerState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverInfo.d.ts","sourceRoot":"","sources":["../../../../../src/models/methods/serverInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AASxD,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,OAAO,EAAE,aAAa,CAAA;CACvB;AAED,MAAM,MAAM,WAAW,GACnB,cAAc,GACd,WAAW,GACX,SAAS,GACT,UAAU,GACV,MAAM,GACN,YAAY,GACZ,WAAW,CAAA;AAEf,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,OAAO;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAKD,MAAM,MAAM,oBAAoB,GAAG,MAAM,CACvC,OAAO,CAAC,WAAW,EAAE,YAAY,GAAG,WAAW,CAAC,EAChD,eAAe,CAChB,CAAA;AAOD,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACtD,MAAM,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AAE,MAAM,CAAA;aACZ,CAAA;YAMD,iBAAiB,EAAE,MAAM,CAAA;YAOzB,sBAAsB,CAAC,EAAE,MAAM,CAAA;YAC/B,cAAc,CAAC,EAAE;gBACf,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;gBACxC,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAA;aACzC,CAAA;SACF,CAAA;KACF,CAAA;CACF"}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { AuthAccount, Currency, IssuedCurrencyAmount } from '../common';
|
2
2
|
import { BaseTransaction } from './common';
|
3
3
|
export interface AMMBid extends BaseTransaction {
|
4
4
|
TransactionType: 'AMMBid';
|
5
5
|
Asset: Currency;
|
6
6
|
Asset2: Currency;
|
7
|
-
BidMin?:
|
8
|
-
BidMax?:
|
7
|
+
BidMin?: IssuedCurrencyAmount;
|
8
|
+
BidMax?: IssuedCurrencyAmount;
|
9
9
|
AuthAccounts?: AuthAccount[];
|
10
10
|
}
|
11
11
|
export declare function validateAMMBid(tx: Record<string, unknown>): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AMMBid.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMBid.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"AMMBid.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMBid.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAEvE,OAAO,EACL,eAAe,EAIhB,MAAM,UAAU,CAAA;AAYjB,MAAM,WAAW,MAAO,SAAQ,eAAe;IAC7C,eAAe,EAAE,QAAQ,CAAA;IAKzB,KAAK,EAAE,QAAQ,CAAA;IAKf,MAAM,EAAE,QAAQ,CAAA;IAOhB,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAO7B,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAM7B,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B;AAQD,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CA6ChE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AMMBid.js","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMBid.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"AMMBid.js","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMBid.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAKiB;AAEjB,MAAM,iBAAiB,GAAG,CAAC,CAAA;AAkD3B,SAAgB,cAAc,CAAC,EAA2B;IACxD,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,KAAK,IAAI,IAAI,EAAE;QACpB,MAAM,IAAI,wBAAe,CAAC,6BAA6B,CAAC,CAAA;KACzD;IAED,IAAI,CAAC,IAAA,mBAAU,EAAC,EAAE,CAAC,KAAK,CAAC,EAAE;QACzB,MAAM,IAAI,wBAAe,CAAC,kCAAkC,CAAC,CAAA;KAC9D;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,8BAA8B,CAAC,CAAA;KAC1D;IAED,IAAI,CAAC,IAAA,mBAAU,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QAC1B,MAAM,IAAI,wBAAe,CAAC,mCAAmC,CAAC,CAAA;KAC/D;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QAC7C,MAAM,IAAI,wBAAe,CAAC,kCAAkC,CAAC,CAAA;KAC9D;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAA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/AMMDeposit.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"AMMDeposit.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMDeposit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAElE,OAAO,EACL,eAAe,EACf,WAAW,EAKZ,MAAM,UAAU,CAAA;AAOjB,oBAAY,eAAe;IACzB,SAAS,QAAa;IACtB,aAAa,SAAa;IAC1B,UAAU,UAAa;IACvB,iBAAiB,UAAa;IAC9B,cAAc,UAAa;CAC5B;AAED,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AASD,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD,eAAe,EAAE,YAAY,CAAA;IAK7B,KAAK,EAAE,QAAQ,CAAA;IAKf,MAAM,EAAE,QAAQ,CAAA;IAMhB,MAAM,CAAC,EAAE,MAAM,CAAA;IAMf,OAAO,CAAC,EAAE,MAAM,CAAA;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAA;IAKf,UAAU,CAAC,EAAE,oBAAoB,CAAA;CAClC;AAQD,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CA8CpE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AMMDeposit.js","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMDeposit.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"AMMDeposit.js","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMDeposit.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qC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,yBAAgB,EAAC,EAAE,CAAC,UAAU,CAAC,EAAE;QAC7D,MAAM,IAAI,wBAAe,CACvB,wDAAwD,CACzD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QAC7C,MAAM,IAAI,wBAAe,CAAC,sCAAsC,CAAC,CAAA;KAClE;IAED,IAAI,EAAE,CAAC,OAAO,IAAI,IAAI,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,OAAO,CAAC,EAAE;QAC/C,MAAM,IAAI,wBAAe,CAAC,uCAAuC,CAAC,CAAA;KACnE;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QAC7C,MAAM,IAAI,wBAAe,CAAC,sCAAsC,CAAC,CAAA;KAClE;AACH,CAAC;AA9CD,gDA8CC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AMMWithdraw.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMWithdraw.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"AMMWithdraw.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMWithdraw.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAElE,OAAO,EACL,eAAe,EACf,WAAW,EAKZ,MAAM,UAAU,CAAA;AAOjB,oBAAY,gBAAgB;IAC1B,SAAS,QAAa;IACtB,aAAa,SAAa;IAC1B,qBAAqB,SAAa;IAClC,aAAa,SAAa;IAC1B,UAAU,UAAa;IACvB,iBAAiB,UAAa;IAC9B,cAAc,UAAa;CAC5B;AAED,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAKD,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,eAAe,EAAE,aAAa,CAAA;IAK9B,KAAK,EAAE,QAAQ,CAAA;IAKf,MAAM,EAAE,QAAQ,CAAA;IAMhB,MAAM,CAAC,EAAE,MAAM,CAAA;IAMf,OAAO,CAAC,EAAE,MAAM,CAAA;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAA;IAKf,SAAS,CAAC,EAAE,oBAAoB,CAAA;CACjC;AAQD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CA0CrE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AMMWithdraw.js","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMWithdraw.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"AMMWithdraw.js","sourceRoot":"","sources":["../../../../../src/models/transactions/AMMWithdraw.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAOiB;AAOjB,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,qEAAsB,CAAA;IACtB,8EAA0B,CAAA;IAC1B,8FAAkC,CAAA;IAClC,8EAA0B,CAAA;IAC1B,yEAAuB,CAAA;IACvB,uFAA8B,CAAA;IAC9B,iFAA2B,CAAA;AAC7B,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B;AAyDD,SAAgB,mBAAmB,CAAC,EAA2B;IAC7D,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,KAAK,IAAI,IAAI,EAAE;QACpB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IAAA,iBAAQ,EAAC,EAAE,CAAC,MAAM,CAAC,EAAE;QAC7C,MAAM,IAAI,wBAAe,CAAC,uCAAuC,CAAC,CAAA;KACnE;AACH,CAAC;AA1CD,kDA0CC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainAccountCreateCommit.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"XChainAccountCreateCommit.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAKhB,MAAM,UAAU,CAAA;AAcjB,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IAChE,eAAe,EAAE,2BAA2B,CAAA;IAK5C,YAAY,EAAE,YAAY,CAAA;IAM1B,eAAe,EAAE,MAAM,CAAA;IAKvB,WAAW,EAAE,MAAM,CAAA;IAMnB,MAAM,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,iCAAiC,CAC/C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CAUN"}
|
@@ -1,35 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.validateXChainAccountCreateCommit = void 0;
|
4
|
-
const
|
4
|
+
const lodash_1 = require("lodash");
|
5
5
|
const common_1 = require("./common");
|
6
6
|
function validateXChainAccountCreateCommit(tx) {
|
7
7
|
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
-
}
|
8
|
+
(0, common_1.validateRequiredField)(tx, 'XChainBridge', common_1.isXChainBridge);
|
9
|
+
(0, common_1.validateRequiredField)(tx, 'SignatureReward', common_1.isAmount);
|
10
|
+
(0, common_1.validateRequiredField)(tx, 'Destination', lodash_1.isString);
|
11
|
+
(0, common_1.validateRequiredField)(tx, 'Amount', common_1.isAmount);
|
33
12
|
}
|
34
13
|
exports.validateXChainAccountCreateCommit = validateXChainAccountCreateCommit;
|
35
14
|
//# sourceMappingURL=XChainAccountCreateCommit.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainAccountCreateCommit.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"XChainAccountCreateCommit.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AAIjC,qCAMiB;AA8CjB,SAAgB,iCAAiC,CAC/C,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAA,8BAAqB,EAAC,EAAE,EAAE,cAAc,EAAE,uBAAc,CAAC,CAAA;IAEzD,IAAA,8BAAqB,EAAC,EAAE,EAAE,iBAAiB,EAAE,iBAAQ,CAAC,CAAA;IAEtD,IAAA,8BAAqB,EAAC,EAAE,EAAE,aAAa,EAAE,iBAAQ,CAAC,CAAA;IAElD,IAAA,8BAAqB,EAAC,EAAE,EAAE,QAAQ,EAAE,iBAAQ,CAAC,CAAA;AAC/C,CAAC;AAZD,8EAYC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainAddAccountCreateAttestation.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddAccountCreateAttestation.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"XChainAddAccountCreateAttestation.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddAccountCreateAttestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAOhB,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,GAAG,MAAM,CAAA;IAKzC,YAAY,EAAE,YAAY,CAAA;CAC3B;AAQD,wBAAgB,yCAAyC,CACvD,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CAgCN"}
|
@@ -1,77 +1,20 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.validateXChainAddAccountCreateAttestation = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
4
|
const common_1 = require("./common");
|
6
5
|
function validateXChainAddAccountCreateAttestation(tx) {
|
7
6
|
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
typeof tx.XChainAccountCreateCount !== 'number') {
|
67
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field XChainAccountCreateCount');
|
68
|
-
}
|
69
|
-
if (tx.XChainBridge == null) {
|
70
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field XChainBridge');
|
71
|
-
}
|
72
|
-
if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
|
73
|
-
throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field XChainBridge');
|
74
|
-
}
|
7
|
+
(0, common_1.validateRequiredField)(tx, 'Amount', common_1.isAmount);
|
8
|
+
(0, common_1.validateRequiredField)(tx, 'AttestationRewardAccount', common_1.isString);
|
9
|
+
(0, common_1.validateRequiredField)(tx, 'AttestationSignerAccount', common_1.isString);
|
10
|
+
(0, common_1.validateRequiredField)(tx, 'Destination', common_1.isString);
|
11
|
+
(0, common_1.validateRequiredField)(tx, 'OtherChainSource', common_1.isString);
|
12
|
+
(0, common_1.validateRequiredField)(tx, 'PublicKey', common_1.isString);
|
13
|
+
(0, common_1.validateRequiredField)(tx, 'Signature', common_1.isString);
|
14
|
+
(0, common_1.validateRequiredField)(tx, 'SignatureReward', common_1.isAmount);
|
15
|
+
(0, common_1.validateRequiredField)(tx, 'WasLockingChainSend', (inp) => inp === 0 || inp === 1);
|
16
|
+
(0, common_1.validateRequiredField)(tx, 'XChainAccountCreateCount', (inp) => (0, common_1.isNumber)(inp) || (0, common_1.isString)(inp));
|
17
|
+
(0, common_1.validateRequiredField)(tx, 'XChainBridge', common_1.isXChainBridge);
|
75
18
|
}
|
76
19
|
exports.validateXChainAddAccountCreateAttestation = validateXChainAddAccountCreateAttestation;
|
77
20
|
//# sourceMappingURL=XChainAddAccountCreateAttestation.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainAddAccountCreateAttestation.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddAccountCreateAttestation.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"XChainAddAccountCreateAttestation.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddAccountCreateAttestation.ts"],"names":[],"mappings":";;;AAEA,qCAQiB;AA4EjB,SAAgB,yCAAyC,CACvD,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAA,8BAAqB,EAAC,EAAE,EAAE,QAAQ,EAAE,iBAAQ,CAAC,CAAA;IAE7C,IAAA,8BAAqB,EAAC,EAAE,EAAE,0BAA0B,EAAE,iBAAQ,CAAC,CAAA;IAE/D,IAAA,8BAAqB,EAAC,EAAE,EAAE,0BAA0B,EAAE,iBAAQ,CAAC,CAAA;IAE/D,IAAA,8BAAqB,EAAC,EAAE,EAAE,aAAa,EAAE,iBAAQ,CAAC,CAAA;IAElD,IAAA,8BAAqB,EAAC,EAAE,EAAE,kBAAkB,EAAE,iBAAQ,CAAC,CAAA;IAEvD,IAAA,8BAAqB,EAAC,EAAE,EAAE,WAAW,EAAE,iBAAQ,CAAC,CAAA;IAEhD,IAAA,8BAAqB,EAAC,EAAE,EAAE,WAAW,EAAE,iBAAQ,CAAC,CAAA;IAEhD,IAAA,8BAAqB,EAAC,EAAE,EAAE,iBAAiB,EAAE,iBAAQ,CAAC,CAAA;IAEtD,IAAA,8BAAqB,EACnB,EAAE,EACF,qBAAqB,EACrB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,CAChC,CAAA;IAED,IAAA,8BAAqB,EACnB,EAAE,EACF,0BAA0B,EAC1B,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,iBAAQ,EAAC,GAAG,CAAC,IAAI,IAAA,iBAAQ,EAAC,GAAG,CAAC,CACxC,CAAA;IAED,IAAA,8BAAqB,EAAC,EAAE,EAAE,cAAc,EAAE,uBAAc,CAAC,CAAA;AAC3D,CAAC;AAlCD,8FAkCC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainAddClaimAttestation.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddClaimAttestation.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"XChainAddClaimAttestation.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddClaimAttestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAQhB,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,GAAG,MAAM,CAAA;CAC/B;AAQD,wBAAgB,iCAAiC,CAC/C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CA8BN"}
|
@@ -1,68 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.validateXChainAddClaimAttestation = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
4
|
const common_1 = require("./common");
|
6
5
|
function validateXChainAddClaimAttestation(tx) {
|
7
6
|
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
-
typeof tx.XChainClaimID !== 'number') {
|
64
|
-
throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field XChainClaimID');
|
65
|
-
}
|
7
|
+
(0, common_1.validateRequiredField)(tx, 'Amount', common_1.isAmount);
|
8
|
+
(0, common_1.validateRequiredField)(tx, 'AttestationRewardAccount', common_1.isString);
|
9
|
+
(0, common_1.validateRequiredField)(tx, 'AttestationSignerAccount', common_1.isString);
|
10
|
+
(0, common_1.validateOptionalField)(tx, 'Destination', common_1.isString);
|
11
|
+
(0, common_1.validateRequiredField)(tx, 'OtherChainSource', common_1.isString);
|
12
|
+
(0, common_1.validateRequiredField)(tx, 'PublicKey', common_1.isString);
|
13
|
+
(0, common_1.validateRequiredField)(tx, 'Signature', common_1.isString);
|
14
|
+
(0, common_1.validateRequiredField)(tx, 'WasLockingChainSend', (inp) => inp === 0 || inp === 1);
|
15
|
+
(0, common_1.validateRequiredField)(tx, 'XChainBridge', common_1.isXChainBridge);
|
16
|
+
(0, common_1.validateRequiredField)(tx, 'XChainClaimID', (inp) => (0, common_1.isNumber)(inp) || (0, common_1.isString)(inp));
|
66
17
|
}
|
67
18
|
exports.validateXChainAddClaimAttestation = validateXChainAddClaimAttestation;
|
68
19
|
//# sourceMappingURL=XChainAddClaimAttestation.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainAddClaimAttestation.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddClaimAttestation.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"XChainAddClaimAttestation.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainAddClaimAttestation.ts"],"names":[],"mappings":";;;AAEA,qCASiB;AAuEjB,SAAgB,iCAAiC,CAC/C,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAA,8BAAqB,EAAC,EAAE,EAAE,QAAQ,EAAE,iBAAQ,CAAC,CAAA;IAE7C,IAAA,8BAAqB,EAAC,EAAE,EAAE,0BAA0B,EAAE,iBAAQ,CAAC,CAAA;IAE/D,IAAA,8BAAqB,EAAC,EAAE,EAAE,0BAA0B,EAAE,iBAAQ,CAAC,CAAA;IAE/D,IAAA,8BAAqB,EAAC,EAAE,EAAE,aAAa,EAAE,iBAAQ,CAAC,CAAA;IAElD,IAAA,8BAAqB,EAAC,EAAE,EAAE,kBAAkB,EAAE,iBAAQ,CAAC,CAAA;IAEvD,IAAA,8BAAqB,EAAC,EAAE,EAAE,WAAW,EAAE,iBAAQ,CAAC,CAAA;IAEhD,IAAA,8BAAqB,EAAC,EAAE,EAAE,WAAW,EAAE,iBAAQ,CAAC,CAAA;IAEhD,IAAA,8BAAqB,EACnB,EAAE,EACF,qBAAqB,EACrB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,CAChC,CAAA;IAED,IAAA,8BAAqB,EAAC,EAAE,EAAE,cAAc,EAAE,uBAAc,CAAC,CAAA;IAEzD,IAAA,8BAAqB,EACnB,EAAE,EACF,eAAe,EACf,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,iBAAQ,EAAC,GAAG,CAAC,IAAI,IAAA,iBAAQ,EAAC,GAAG,CAAC,CACxC,CAAA;AACH,CAAC;AAhCD,8EAgCC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainClaim.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"XChainClaim.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAQhB,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;AAQD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAgBrE"}
|
@@ -1,39 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.validateXChainClaim = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
4
|
const common_1 = require("./common");
|
6
5
|
function validateXChainClaim(tx) {
|
7
6
|
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
}
|
7
|
+
(0, common_1.validateRequiredField)(tx, 'XChainBridge', common_1.isXChainBridge);
|
8
|
+
(0, common_1.validateRequiredField)(tx, 'XChainClaimID', (inp) => (0, common_1.isNumber)(inp) || (0, common_1.isString)(inp));
|
9
|
+
(0, common_1.validateRequiredField)(tx, 'Destination', common_1.isString);
|
10
|
+
(0, common_1.validateOptionalField)(tx, 'DestinationTag', common_1.isNumber);
|
11
|
+
(0, common_1.validateRequiredField)(tx, 'Amount', common_1.isAmount);
|
37
12
|
}
|
38
13
|
exports.validateXChainClaim = validateXChainClaim;
|
39
14
|
//# sourceMappingURL=XChainClaim.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainClaim.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"XChainClaim.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":";;;AAEA,qCASiB;AAiDjB,SAAgB,mBAAmB,CAAC,EAA2B;IAC7D,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAA,8BAAqB,EAAC,EAAE,EAAE,cAAc,EAAE,uBAAc,CAAC,CAAA;IAEzD,IAAA,8BAAqB,EACnB,EAAE,EACF,eAAe,EACf,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,iBAAQ,EAAC,GAAG,CAAC,IAAI,IAAA,iBAAQ,EAAC,GAAG,CAAC,CACxC,CAAA;IAED,IAAA,8BAAqB,EAAC,EAAE,EAAE,aAAa,EAAE,iBAAQ,CAAC,CAAA;IAElD,IAAA,8BAAqB,EAAC,EAAE,EAAE,gBAAgB,EAAE,iBAAQ,CAAC,CAAA;IAErD,IAAA,8BAAqB,EAAC,EAAE,EAAE,QAAQ,EAAE,iBAAQ,CAAC,CAAA;AAC/C,CAAC;AAhBD,kDAgBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainCommit.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"XChainCommit.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAQhB,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,CActE"}
|
@@ -1,33 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.validateXChainCommit = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
4
|
const common_1 = require("./common");
|
6
5
|
function validateXChainCommit(tx) {
|
7
6
|
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
-
}
|
7
|
+
(0, common_1.validateRequiredField)(tx, 'XChainBridge', common_1.isXChainBridge);
|
8
|
+
(0, common_1.validateRequiredField)(tx, 'XChainClaimID', (inp) => (0, common_1.isNumber)(inp) || (0, common_1.isString)(inp));
|
9
|
+
(0, common_1.validateOptionalField)(tx, 'OtherChainDestination', common_1.isString);
|
10
|
+
(0, common_1.validateRequiredField)(tx, 'Amount', common_1.isAmount);
|
31
11
|
}
|
32
12
|
exports.validateXChainCommit = validateXChainCommit;
|
33
13
|
//# sourceMappingURL=XChainCommit.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainCommit.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"XChainCommit.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":";;;AAEA,qCASiB;AAgDjB,SAAgB,oBAAoB,CAAC,EAA2B;IAC9D,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAA,8BAAqB,EAAC,EAAE,EAAE,cAAc,EAAE,uBAAc,CAAC,CAAA;IAEzD,IAAA,8BAAqB,EACnB,EAAE,EACF,eAAe,EACf,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,iBAAQ,EAAC,GAAG,CAAC,IAAI,IAAA,iBAAQ,EAAC,GAAG,CAAC,CACxC,CAAA;IAED,IAAA,8BAAqB,EAAC,EAAE,EAAE,uBAAuB,EAAE,iBAAQ,CAAC,CAAA;IAE5D,IAAA,8BAAqB,EAAC,EAAE,EAAE,QAAQ,EAAE,iBAAQ,CAAC,CAAA;AAC/C,CAAC;AAdD,oDAcC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainCreateBridge.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"XChainCreateBridge.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAMhB,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,CAQ5E"}
|
@@ -1,26 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.validateXChainCreateBridge = void 0;
|
4
|
-
const errors_1 = require("../../errors");
|
5
4
|
const common_1 = require("./common");
|
6
5
|
function validateXChainCreateBridge(tx) {
|
7
6
|
(0, common_1.validateBaseTransaction)(tx);
|
8
|
-
|
9
|
-
|
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
|
-
}
|
7
|
+
(0, common_1.validateRequiredField)(tx, 'XChainBridge', common_1.isXChainBridge);
|
8
|
+
(0, common_1.validateRequiredField)(tx, 'SignatureReward', common_1.isAmount);
|
9
|
+
(0, common_1.validateOptionalField)(tx, 'MinAccountCreateAmount', common_1.isAmount);
|
24
10
|
}
|
25
11
|
exports.validateXChainCreateBridge = validateXChainCreateBridge;
|
26
12
|
//# sourceMappingURL=XChainCreateBridge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainCreateBridge.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"XChainCreateBridge.js","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":";;;AAEA,qCAOiB;AAsCjB,SAAgB,0BAA0B,CAAC,EAA2B;IACpE,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAA,8BAAqB,EAAC,EAAE,EAAE,cAAc,EAAE,uBAAc,CAAC,CAAA;IAEzD,IAAA,8BAAqB,EAAC,EAAE,EAAE,iBAAiB,EAAE,iBAAQ,CAAC,CAAA;IAEtD,IAAA,8BAAqB,EAAC,EAAE,EAAE,wBAAwB,EAAE,iBAAQ,CAAC,CAAA;AAC/D,CAAC;AARD,gEAQC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"XChainCreateClaimID.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCreateClaimID.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"XChainCreateClaimID.d.ts","sourceRoot":"","sources":["../../../../../src/models/transactions/XChainCreateClaimID.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EACL,eAAe,EAMhB,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,CAQ7E"}
|