@chainflip/processor 1.5.1 → 1.5.3
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/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
- package/dist/100/common.cjs +15 -6
- package/dist/100/common.d.cts +48 -12
- package/dist/100/common.d.ts +48 -12
- package/dist/100/common.mjs +14 -5
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
- package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
- package/dist/100/funding/funded.d.cts +2 -2
- package/dist/100/funding/funded.d.ts +2 -2
- package/dist/100/funding/redemptionRequested.d.cts +2 -2
- package/dist/100/funding/redemptionRequested.d.ts +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +27 -9
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +27 -9
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
- package/dist/100/swapping/ccmDepositReceived.d.cts +27 -9
- package/dist/100/swapping/ccmDepositReceived.d.ts +27 -9
- package/dist/100/swapping/ccmFailed.d.cts +27 -9
- package/dist/100/swapping/ccmFailed.d.ts +27 -9
- package/dist/100/swapping/swapAmountTooLow.d.cts +60 -24
- package/dist/100/swapping/swapAmountTooLow.d.ts +60 -24
- package/dist/100/swapping/swapDepositAddressReady.d.cts +54 -18
- package/dist/100/swapping/swapDepositAddressReady.d.ts +54 -18
- package/dist/100/swapping/swapScheduled.d.cts +60 -24
- package/dist/100/swapping/swapScheduled.d.ts +60 -24
- package/dist/100/swapping/withdrawalRequested.d.cts +27 -9
- package/dist/100/swapping/withdrawalRequested.d.ts +27 -9
- package/dist/102/common.cjs +3 -3
- package/dist/102/common.mjs +2 -2
- package/dist/111/common.cjs +3 -3
- package/dist/111/common.mjs +2 -2
- package/dist/111/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/111/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/111/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/111/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/120/common.cjs +15 -6
- package/dist/120/common.d.cts +21 -3
- package/dist/120/common.d.ts +21 -3
- package/dist/120/common.mjs +14 -5
- package/dist/120/emissions/backupRewardsDistributed.d.cts +2 -2
- package/dist/120/emissions/backupRewardsDistributed.d.ts +2 -2
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
- package/dist/120/swapping/ccmFailed.d.cts +27 -9
- package/dist/120/swapping/ccmFailed.d.ts +27 -9
- package/dist/120/swapping/withdrawalRequested.d.cts +27 -9
- package/dist/120/swapping/withdrawalRequested.d.ts +27 -9
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/common.cjs +15 -6
- package/dist/131/common.d.cts +48 -12
- package/dist/131/common.d.ts +48 -12
- package/dist/131/common.mjs +14 -5
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +27 -9
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +27 -9
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
- package/dist/131/swapping/ccmFailed.d.cts +60 -24
- package/dist/131/swapping/ccmFailed.d.ts +60 -24
- package/dist/131/swapping/swapDepositAddressReady.d.cts +54 -18
- package/dist/131/swapping/swapDepositAddressReady.d.ts +54 -18
- package/dist/131/swapping/swapScheduled.d.cts +60 -24
- package/dist/131/swapping/swapScheduled.d.ts +60 -24
- package/dist/131/swapping/withdrawalRequested.d.cts +27 -9
- package/dist/131/swapping/withdrawalRequested.d.ts +27 -9
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/common.cjs +19 -7
- package/dist/141/common.d.cts +64 -16
- package/dist/141/common.d.ts +64 -16
- package/dist/141/common.mjs +18 -6
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +4 -4
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +36 -12
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +36 -12
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +36 -12
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +36 -12
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/swapping/ccmDepositReceived.d.cts +108 -84
- package/dist/141/swapping/ccmDepositReceived.d.ts +108 -84
- package/dist/141/swapping/ccmFailed.d.cts +164 -116
- package/dist/141/swapping/ccmFailed.d.ts +164 -116
- package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/141/swapping/swapDepositAddressReady.d.cts +100 -52
- package/dist/141/swapping/swapDepositAddressReady.d.ts +100 -52
- package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/141/swapping/swapEgressScheduled.d.cts +11 -11
- package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
- package/dist/141/swapping/swapExecuted.d.cts +88 -88
- package/dist/141/swapping/swapExecuted.d.ts +88 -88
- package/dist/141/swapping/swapScheduled.d.cts +188 -140
- package/dist/141/swapping/swapScheduled.d.ts +188 -140
- package/dist/141/swapping/withdrawalRequested.d.cts +54 -30
- package/dist/141/swapping/withdrawalRequested.d.ts +54 -30
- package/dist/150/assetBalances/refundScheduled.d.cts +2 -2
- package/dist/150/assetBalances/refundScheduled.d.ts +2 -2
- package/dist/150/assetBalances/refundSkipped.d.cts +50 -50
- package/dist/150/assetBalances/refundSkipped.d.ts +50 -50
- package/dist/150/common.cjs +25 -8
- package/dist/150/common.d.cts +125 -35
- package/dist/150/common.d.ts +125 -35
- package/dist/150/common.mjs +24 -7
- package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +45 -15
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +45 -15
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +45 -15
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +45 -15
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +20 -20
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +20 -20
- package/dist/150/polkadotIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/150/polkadotIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/150/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/150/swapping/ccmDepositReceived.d.cts +125 -95
- package/dist/150/swapping/ccmDepositReceived.d.ts +125 -95
- package/dist/150/swapping/ccmFailed.d.cts +195 -135
- package/dist/150/swapping/ccmFailed.d.ts +195 -135
- package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/150/swapping/swapDepositAddressReady.d.cts +192 -102
- package/dist/150/swapping/swapDepositAddressReady.d.ts +192 -102
- package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapExecuted.d.cts +94 -94
- package/dist/150/swapping/swapExecuted.d.ts +94 -94
- package/dist/150/swapping/swapScheduled.d.cts +219 -159
- package/dist/150/swapping/swapScheduled.d.ts +219 -159
- package/dist/150/swapping/withdrawalRequested.d.cts +61 -31
- package/dist/150/swapping/withdrawalRequested.d.ts +61 -31
- package/dist/160/common.cjs +25 -8
- package/dist/160/common.d.cts +170 -50
- package/dist/160/common.d.ts +170 -50
- package/dist/160/common.mjs +24 -7
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +45 -15
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +45 -15
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +45 -15
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +45 -15
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
- package/dist/160/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/160/swapping/ccmFailed.d.cts +100 -40
- package/dist/160/swapping/ccmFailed.d.ts +100 -40
- package/dist/160/swapping/swapDepositAddressReady.d.cts +90 -30
- package/dist/160/swapping/swapDepositAddressReady.d.ts +90 -30
- package/dist/160/swapping/swapRequested.d.cts +165 -75
- package/dist/160/swapping/swapRequested.d.ts +165 -75
- package/dist/160/swapping/withdrawalRequested.d.cts +45 -15
- package/dist/160/swapping/withdrawalRequested.d.ts +45 -15
- package/dist/Processor.cjs +7 -1
- package/dist/Processor.mjs +7 -1
- package/package.json +1 -1
|
@@ -64,17 +64,17 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
64
64
|
error: string;
|
|
65
65
|
}>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
__kind: "Module";
|
|
68
67
|
value: {
|
|
69
68
|
index: number;
|
|
70
69
|
error: `0x${string}`;
|
|
71
70
|
};
|
|
72
|
-
}, {
|
|
73
71
|
__kind: "Module";
|
|
72
|
+
}, {
|
|
74
73
|
value: {
|
|
75
74
|
index: number;
|
|
76
75
|
error: string;
|
|
77
76
|
};
|
|
77
|
+
__kind: "Module";
|
|
78
78
|
}>, z.ZodObject<{
|
|
79
79
|
__kind: z.ZodLiteral<"ConsumerRemaining">;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -105,13 +105,13 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
105
105
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
106
106
|
}>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
__kind: "Token";
|
|
109
108
|
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
110
|
-
}, {
|
|
111
109
|
__kind: "Token";
|
|
110
|
+
}, {
|
|
112
111
|
value: {
|
|
113
112
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
114
113
|
};
|
|
114
|
+
__kind: "Token";
|
|
115
115
|
}>, z.ZodObject<{
|
|
116
116
|
__kind: z.ZodLiteral<"Arithmetic">;
|
|
117
117
|
value: z.ZodEffects<z.ZodObject<{
|
|
@@ -124,13 +124,13 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
124
124
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
125
125
|
}>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
__kind: "Arithmetic";
|
|
128
127
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
129
|
-
}, {
|
|
130
128
|
__kind: "Arithmetic";
|
|
129
|
+
}, {
|
|
131
130
|
value: {
|
|
132
131
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
133
132
|
};
|
|
133
|
+
__kind: "Arithmetic";
|
|
134
134
|
}>, z.ZodObject<{
|
|
135
135
|
__kind: z.ZodLiteral<"Transactional">;
|
|
136
136
|
value: z.ZodEffects<z.ZodObject<{
|
|
@@ -143,13 +143,13 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
143
143
|
__kind: "LimitReached" | "NoLayer";
|
|
144
144
|
}>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
__kind: "Transactional";
|
|
147
146
|
value: "LimitReached" | "NoLayer";
|
|
148
|
-
}, {
|
|
149
147
|
__kind: "Transactional";
|
|
148
|
+
}, {
|
|
150
149
|
value: {
|
|
151
150
|
__kind: "LimitReached" | "NoLayer";
|
|
152
151
|
};
|
|
152
|
+
__kind: "Transactional";
|
|
153
153
|
}>, z.ZodObject<{
|
|
154
154
|
__kind: z.ZodLiteral<"Exhausted">;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -176,7 +176,6 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
176
176
|
__kind: "RootNotAllowed";
|
|
177
177
|
}>]>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
__kind: "DispatchError";
|
|
180
179
|
value: {
|
|
181
180
|
__kind: "Other";
|
|
182
181
|
} | {
|
|
@@ -184,11 +183,11 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
184
183
|
} | {
|
|
185
184
|
__kind: "BadOrigin";
|
|
186
185
|
} | {
|
|
187
|
-
__kind: "Module";
|
|
188
186
|
value: {
|
|
189
187
|
index: number;
|
|
190
188
|
error: `0x${string}`;
|
|
191
189
|
};
|
|
190
|
+
__kind: "Module";
|
|
192
191
|
} | {
|
|
193
192
|
__kind: "ConsumerRemaining";
|
|
194
193
|
} | {
|
|
@@ -196,14 +195,14 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
196
195
|
} | {
|
|
197
196
|
__kind: "TooManyConsumers";
|
|
198
197
|
} | {
|
|
199
|
-
__kind: "Token";
|
|
200
198
|
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
199
|
+
__kind: "Token";
|
|
201
200
|
} | {
|
|
202
|
-
__kind: "Arithmetic";
|
|
203
201
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
202
|
+
__kind: "Arithmetic";
|
|
204
203
|
} | {
|
|
205
|
-
__kind: "Transactional";
|
|
206
204
|
value: "LimitReached" | "NoLayer";
|
|
205
|
+
__kind: "Transactional";
|
|
207
206
|
} | {
|
|
208
207
|
__kind: "Exhausted";
|
|
209
208
|
} | {
|
|
@@ -213,8 +212,8 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
213
212
|
} | {
|
|
214
213
|
__kind: "RootNotAllowed";
|
|
215
214
|
};
|
|
216
|
-
}, {
|
|
217
215
|
__kind: "DispatchError";
|
|
216
|
+
}, {
|
|
218
217
|
value: {
|
|
219
218
|
__kind: "Other";
|
|
220
219
|
} | {
|
|
@@ -222,11 +221,11 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
222
221
|
} | {
|
|
223
222
|
__kind: "BadOrigin";
|
|
224
223
|
} | {
|
|
225
|
-
__kind: "Module";
|
|
226
224
|
value: {
|
|
227
225
|
index: number;
|
|
228
226
|
error: string;
|
|
229
227
|
};
|
|
228
|
+
__kind: "Module";
|
|
230
229
|
} | {
|
|
231
230
|
__kind: "ConsumerRemaining";
|
|
232
231
|
} | {
|
|
@@ -234,20 +233,20 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
234
233
|
} | {
|
|
235
234
|
__kind: "TooManyConsumers";
|
|
236
235
|
} | {
|
|
237
|
-
__kind: "Token";
|
|
238
236
|
value: {
|
|
239
237
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
240
238
|
};
|
|
239
|
+
__kind: "Token";
|
|
241
240
|
} | {
|
|
242
|
-
__kind: "Arithmetic";
|
|
243
241
|
value: {
|
|
244
242
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
245
243
|
};
|
|
244
|
+
__kind: "Arithmetic";
|
|
246
245
|
} | {
|
|
247
|
-
__kind: "Transactional";
|
|
248
246
|
value: {
|
|
249
247
|
__kind: "LimitReached" | "NoLayer";
|
|
250
248
|
};
|
|
249
|
+
__kind: "Transactional";
|
|
251
250
|
} | {
|
|
252
251
|
__kind: "Exhausted";
|
|
253
252
|
} | {
|
|
@@ -257,6 +256,7 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
257
256
|
} | {
|
|
258
257
|
__kind: "RootNotAllowed";
|
|
259
258
|
};
|
|
259
|
+
__kind: "DispatchError";
|
|
260
260
|
}>]>;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
262
|
error: {
|
|
@@ -270,7 +270,6 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
270
270
|
} | {
|
|
271
271
|
__kind: "UtxoSelectionFailed";
|
|
272
272
|
} | {
|
|
273
|
-
__kind: "DispatchError";
|
|
274
273
|
value: {
|
|
275
274
|
__kind: "Other";
|
|
276
275
|
} | {
|
|
@@ -278,11 +277,11 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
278
277
|
} | {
|
|
279
278
|
__kind: "BadOrigin";
|
|
280
279
|
} | {
|
|
281
|
-
__kind: "Module";
|
|
282
280
|
value: {
|
|
283
281
|
index: number;
|
|
284
282
|
error: `0x${string}`;
|
|
285
283
|
};
|
|
284
|
+
__kind: "Module";
|
|
286
285
|
} | {
|
|
287
286
|
__kind: "ConsumerRemaining";
|
|
288
287
|
} | {
|
|
@@ -290,14 +289,14 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
290
289
|
} | {
|
|
291
290
|
__kind: "TooManyConsumers";
|
|
292
291
|
} | {
|
|
293
|
-
__kind: "Token";
|
|
294
292
|
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
293
|
+
__kind: "Token";
|
|
295
294
|
} | {
|
|
296
|
-
__kind: "Arithmetic";
|
|
297
295
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
296
|
+
__kind: "Arithmetic";
|
|
298
297
|
} | {
|
|
299
|
-
__kind: "Transactional";
|
|
300
298
|
value: "LimitReached" | "NoLayer";
|
|
299
|
+
__kind: "Transactional";
|
|
301
300
|
} | {
|
|
302
301
|
__kind: "Exhausted";
|
|
303
302
|
} | {
|
|
@@ -307,6 +306,7 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
307
306
|
} | {
|
|
308
307
|
__kind: "RootNotAllowed";
|
|
309
308
|
};
|
|
309
|
+
__kind: "DispatchError";
|
|
310
310
|
};
|
|
311
311
|
}, {
|
|
312
312
|
error: {
|
|
@@ -320,7 +320,6 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
320
320
|
} | {
|
|
321
321
|
__kind: "UtxoSelectionFailed";
|
|
322
322
|
} | {
|
|
323
|
-
__kind: "DispatchError";
|
|
324
323
|
value: {
|
|
325
324
|
__kind: "Other";
|
|
326
325
|
} | {
|
|
@@ -328,11 +327,11 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
328
327
|
} | {
|
|
329
328
|
__kind: "BadOrigin";
|
|
330
329
|
} | {
|
|
331
|
-
__kind: "Module";
|
|
332
330
|
value: {
|
|
333
331
|
index: number;
|
|
334
332
|
error: string;
|
|
335
333
|
};
|
|
334
|
+
__kind: "Module";
|
|
336
335
|
} | {
|
|
337
336
|
__kind: "ConsumerRemaining";
|
|
338
337
|
} | {
|
|
@@ -340,20 +339,20 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
340
339
|
} | {
|
|
341
340
|
__kind: "TooManyConsumers";
|
|
342
341
|
} | {
|
|
343
|
-
__kind: "Token";
|
|
344
342
|
value: {
|
|
345
343
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
346
344
|
};
|
|
345
|
+
__kind: "Token";
|
|
347
346
|
} | {
|
|
348
|
-
__kind: "Arithmetic";
|
|
349
347
|
value: {
|
|
350
348
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
351
349
|
};
|
|
350
|
+
__kind: "Arithmetic";
|
|
352
351
|
} | {
|
|
353
|
-
__kind: "Transactional";
|
|
354
352
|
value: {
|
|
355
353
|
__kind: "LimitReached" | "NoLayer";
|
|
356
354
|
};
|
|
355
|
+
__kind: "Transactional";
|
|
357
356
|
} | {
|
|
358
357
|
__kind: "Exhausted";
|
|
359
358
|
} | {
|
|
@@ -363,6 +362,7 @@ declare const arbitrumIngressEgressFailedToBuildAllBatchCall: z.ZodObject<{
|
|
|
363
362
|
} | {
|
|
364
363
|
__kind: "RootNotAllowed";
|
|
365
364
|
};
|
|
365
|
+
__kind: "DispatchError";
|
|
366
366
|
};
|
|
367
367
|
}>;
|
|
368
368
|
|
|
@@ -24,14 +24,13 @@ declare const bitcoinIngressEgressBoostFundsAdded: z.ZodObject<{
|
|
|
24
24
|
}>;
|
|
25
25
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
amount: bigint;
|
|
28
27
|
boosterId: string;
|
|
29
28
|
boostPool: {
|
|
30
29
|
asset: "Btc";
|
|
31
30
|
tier: number;
|
|
32
31
|
};
|
|
32
|
+
amount: bigint;
|
|
33
33
|
}, {
|
|
34
|
-
amount: string | number;
|
|
35
34
|
boosterId: string;
|
|
36
35
|
boostPool: {
|
|
37
36
|
asset: {
|
|
@@ -39,6 +38,7 @@ declare const bitcoinIngressEgressBoostFundsAdded: z.ZodObject<{
|
|
|
39
38
|
};
|
|
40
39
|
tier: number;
|
|
41
40
|
};
|
|
41
|
+
amount: string | number;
|
|
42
42
|
}>;
|
|
43
43
|
|
|
44
44
|
export { bitcoinIngressEgressBoostFundsAdded };
|
|
@@ -24,14 +24,13 @@ declare const bitcoinIngressEgressBoostFundsAdded: z.ZodObject<{
|
|
|
24
24
|
}>;
|
|
25
25
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
amount: bigint;
|
|
28
27
|
boosterId: string;
|
|
29
28
|
boostPool: {
|
|
30
29
|
asset: "Btc";
|
|
31
30
|
tier: number;
|
|
32
31
|
};
|
|
32
|
+
amount: bigint;
|
|
33
33
|
}, {
|
|
34
|
-
amount: string | number;
|
|
35
34
|
boosterId: string;
|
|
36
35
|
boostPool: {
|
|
37
36
|
asset: {
|
|
@@ -39,6 +38,7 @@ declare const bitcoinIngressEgressBoostFundsAdded: z.ZodObject<{
|
|
|
39
38
|
};
|
|
40
39
|
tier: number;
|
|
41
40
|
};
|
|
41
|
+
amount: string | number;
|
|
42
42
|
}>;
|
|
43
43
|
|
|
44
44
|
export { bitcoinIngressEgressBoostFundsAdded };
|
|
@@ -130,6 +130,7 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
130
130
|
prewitnessedDepositId: string | number;
|
|
131
131
|
}>]>;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
asset: "Btc";
|
|
133
134
|
depositAddress: {
|
|
134
135
|
value: `0x${string}`;
|
|
135
136
|
__kind: "P2PKH";
|
|
@@ -152,7 +153,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
152
153
|
};
|
|
153
154
|
channelId: bigint;
|
|
154
155
|
prewitnessedDepositId: bigint;
|
|
155
|
-
asset: "Btc";
|
|
156
156
|
amounts: [number, bigint][];
|
|
157
157
|
depositDetails: {
|
|
158
158
|
txId: `0x${string}`;
|
|
@@ -177,6 +177,9 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
177
177
|
prewitnessedDepositId: bigint;
|
|
178
178
|
};
|
|
179
179
|
}, {
|
|
180
|
+
asset: {
|
|
181
|
+
__kind: "Btc";
|
|
182
|
+
};
|
|
180
183
|
depositAddress: {
|
|
181
184
|
value: string;
|
|
182
185
|
__kind: "P2PKH";
|
|
@@ -199,9 +202,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
199
202
|
};
|
|
200
203
|
channelId: string | number;
|
|
201
204
|
prewitnessedDepositId: string | number;
|
|
202
|
-
asset: {
|
|
203
|
-
__kind: "Btc";
|
|
204
|
-
};
|
|
205
205
|
amounts: [number, string | number][];
|
|
206
206
|
depositDetails: {
|
|
207
207
|
txId: string;
|
|
@@ -130,6 +130,7 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
130
130
|
prewitnessedDepositId: string | number;
|
|
131
131
|
}>]>;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
asset: "Btc";
|
|
133
134
|
depositAddress: {
|
|
134
135
|
value: `0x${string}`;
|
|
135
136
|
__kind: "P2PKH";
|
|
@@ -152,7 +153,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
152
153
|
};
|
|
153
154
|
channelId: bigint;
|
|
154
155
|
prewitnessedDepositId: bigint;
|
|
155
|
-
asset: "Btc";
|
|
156
156
|
amounts: [number, bigint][];
|
|
157
157
|
depositDetails: {
|
|
158
158
|
txId: `0x${string}`;
|
|
@@ -177,6 +177,9 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
177
177
|
prewitnessedDepositId: bigint;
|
|
178
178
|
};
|
|
179
179
|
}, {
|
|
180
|
+
asset: {
|
|
181
|
+
__kind: "Btc";
|
|
182
|
+
};
|
|
180
183
|
depositAddress: {
|
|
181
184
|
value: string;
|
|
182
185
|
__kind: "P2PKH";
|
|
@@ -199,9 +202,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
199
202
|
};
|
|
200
203
|
channelId: string | number;
|
|
201
204
|
prewitnessedDepositId: string | number;
|
|
202
|
-
asset: {
|
|
203
|
-
__kind: "Btc";
|
|
204
|
-
};
|
|
205
205
|
amounts: [number, string | number][];
|
|
206
206
|
depositDetails: {
|
|
207
207
|
txId: string;
|
|
@@ -128,6 +128,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
128
128
|
}>]>;
|
|
129
129
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
asset: "Btc";
|
|
131
132
|
amount: bigint;
|
|
132
133
|
depositAddress: {
|
|
133
134
|
value: `0x${string}`;
|
|
@@ -150,7 +151,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
150
151
|
program: `0x${string}`;
|
|
151
152
|
};
|
|
152
153
|
channelId: bigint;
|
|
153
|
-
asset: "Btc";
|
|
154
154
|
depositDetails: {
|
|
155
155
|
txId: `0x${string}`;
|
|
156
156
|
vout: number;
|
|
@@ -173,6 +173,9 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
173
173
|
prewitnessedDepositId: bigint;
|
|
174
174
|
};
|
|
175
175
|
}, {
|
|
176
|
+
asset: {
|
|
177
|
+
__kind: "Btc";
|
|
178
|
+
};
|
|
176
179
|
amount: string | number;
|
|
177
180
|
depositAddress: {
|
|
178
181
|
value: string;
|
|
@@ -195,9 +198,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
195
198
|
program: string;
|
|
196
199
|
};
|
|
197
200
|
channelId: string | number;
|
|
198
|
-
asset: {
|
|
199
|
-
__kind: "Btc";
|
|
200
|
-
};
|
|
201
201
|
depositDetails: {
|
|
202
202
|
txId: string;
|
|
203
203
|
vout: number;
|
|
@@ -128,6 +128,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
128
128
|
}>]>;
|
|
129
129
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
asset: "Btc";
|
|
131
132
|
amount: bigint;
|
|
132
133
|
depositAddress: {
|
|
133
134
|
value: `0x${string}`;
|
|
@@ -150,7 +151,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
150
151
|
program: `0x${string}`;
|
|
151
152
|
};
|
|
152
153
|
channelId: bigint;
|
|
153
|
-
asset: "Btc";
|
|
154
154
|
depositDetails: {
|
|
155
155
|
txId: `0x${string}`;
|
|
156
156
|
vout: number;
|
|
@@ -173,6 +173,9 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
173
173
|
prewitnessedDepositId: bigint;
|
|
174
174
|
};
|
|
175
175
|
}, {
|
|
176
|
+
asset: {
|
|
177
|
+
__kind: "Btc";
|
|
178
|
+
};
|
|
176
179
|
amount: string | number;
|
|
177
180
|
depositAddress: {
|
|
178
181
|
value: string;
|
|
@@ -195,9 +198,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
195
198
|
program: string;
|
|
196
199
|
};
|
|
197
200
|
channelId: string | number;
|
|
198
|
-
asset: {
|
|
199
|
-
__kind: "Btc";
|
|
200
|
-
};
|
|
201
201
|
depositDetails: {
|
|
202
202
|
txId: string;
|
|
203
203
|
vout: number;
|
|
@@ -14,16 +14,16 @@ declare const bitcoinIngressEgressInsufficientBoostLiquidity: z.ZodObject<{
|
|
|
14
14
|
amountAttempted: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
asset: "Btc";
|
|
17
18
|
channelId: bigint;
|
|
18
19
|
prewitnessedDepositId: bigint;
|
|
19
|
-
asset: "Btc";
|
|
20
20
|
amountAttempted: bigint;
|
|
21
21
|
}, {
|
|
22
|
-
channelId: string | number;
|
|
23
|
-
prewitnessedDepositId: string | number;
|
|
24
22
|
asset: {
|
|
25
23
|
__kind: "Btc";
|
|
26
24
|
};
|
|
25
|
+
channelId: string | number;
|
|
26
|
+
prewitnessedDepositId: string | number;
|
|
27
27
|
amountAttempted: string | number;
|
|
28
28
|
}>;
|
|
29
29
|
|
|
@@ -14,16 +14,16 @@ declare const bitcoinIngressEgressInsufficientBoostLiquidity: z.ZodObject<{
|
|
|
14
14
|
amountAttempted: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
asset: "Btc";
|
|
17
18
|
channelId: bigint;
|
|
18
19
|
prewitnessedDepositId: bigint;
|
|
19
|
-
asset: "Btc";
|
|
20
20
|
amountAttempted: bigint;
|
|
21
21
|
}, {
|
|
22
|
-
channelId: string | number;
|
|
23
|
-
prewitnessedDepositId: string | number;
|
|
24
22
|
asset: {
|
|
25
23
|
__kind: "Btc";
|
|
26
24
|
};
|
|
25
|
+
channelId: string | number;
|
|
26
|
+
prewitnessedDepositId: string | number;
|
|
27
27
|
amountAttempted: string | number;
|
|
28
28
|
}>;
|
|
29
29
|
|
package/dist/141/common.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// generated/141/common.ts
|
|
2
2
|
var _zod = require('zod');
|
|
3
|
-
var _ss58 = require('@chainflip/utils/ss58');
|
|
3
|
+
var _ss58 = require('@chainflip/utils/ss58'); var ss58 = _interopRequireWildcard(_ss58);
|
|
4
4
|
var simpleEnum = (values) => _zod.z.object({ __kind: _zod.z.enum(values) }).transform(({ __kind }) => __kind);
|
|
5
5
|
var cfPrimitivesChainsAssetsArbAsset = simpleEnum(["ArbEth", "ArbUsdc"]);
|
|
6
6
|
var hexString = _zod.z.string().refine((v) => /^0x[\da-f]*$/i.test(v), { message: "Invalid hex string" });
|
|
@@ -123,7 +123,7 @@ var cfPrimitivesChainsForeignChain = simpleEnum([
|
|
|
123
123
|
var accountId = _zod.z.union([
|
|
124
124
|
hexString,
|
|
125
125
|
_zod.z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
126
|
-
]).transform((value) =>
|
|
126
|
+
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
127
127
|
var cfPrimitivesAccountRole = simpleEnum([
|
|
128
128
|
"Unregistered",
|
|
129
129
|
"Validator",
|
|
@@ -196,10 +196,22 @@ var dispatchResult = _zod.z.union([
|
|
|
196
196
|
_zod.z.object({ __kind: _zod.z.literal("Err"), value: spRuntimeDispatchError })
|
|
197
197
|
]);
|
|
198
198
|
var cfChainsAddressEncodedAddress = _zod.z.union([
|
|
199
|
-
_zod.z.object({ __kind: _zod.z.literal("Eth"), value: hexString })
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
_zod.z.object({ __kind: _zod.z.literal("Eth"), value: hexString }).transform(({ value }) => ({
|
|
200
|
+
chain: "Ethereum",
|
|
201
|
+
address: value
|
|
202
|
+
})),
|
|
203
|
+
_zod.z.object({ __kind: _zod.z.literal("Dot"), value: hexString }).transform(({ value }) => ({
|
|
204
|
+
chain: "Polkadot",
|
|
205
|
+
address: ss58.encode({ data: value, ss58Format: 0 })
|
|
206
|
+
})),
|
|
207
|
+
_zod.z.object({ __kind: _zod.z.literal("Btc"), value: hexString }).transform(({ value }) => ({
|
|
208
|
+
chain: "Bitcoin",
|
|
209
|
+
address: Buffer.from(value.slice(2), "hex").toString("utf8")
|
|
210
|
+
})),
|
|
211
|
+
_zod.z.object({ __kind: _zod.z.literal("Arb"), value: hexString }).transform(({ value }) => ({
|
|
212
|
+
chain: "Arbitrum",
|
|
213
|
+
address: value
|
|
214
|
+
}))
|
|
203
215
|
]);
|
|
204
216
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
|
|
205
217
|
"Eth",
|