@chainflip/processor 1.4.1 → 1.4.2
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/common.cjs +16 -26
- package/dist/100/common.d.cts +84 -171
- package/dist/100/common.d.ts +84 -171
- package/dist/100/common.mjs +16 -26
- package/dist/100/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/100/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/100/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/100/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/100/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/100/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/100/swapping/swapAmountTooLow.d.cts +5 -19
- package/dist/100/swapping/swapAmountTooLow.d.ts +5 -19
- package/dist/100/swapping/swapScheduled.d.cts +5 -19
- package/dist/100/swapping/swapScheduled.d.ts +5 -19
- package/dist/100/validator/palletConfigUpdated.d.cts +90 -218
- package/dist/100/validator/palletConfigUpdated.d.ts +90 -218
- package/dist/102/common.cjs +9 -27
- package/dist/102/common.d.cts +61 -167
- package/dist/102/common.d.ts +61 -167
- package/dist/102/common.mjs +9 -27
- package/dist/102/validator/palletConfigUpdated.d.cts +87 -229
- package/dist/102/validator/palletConfigUpdated.d.ts +87 -229
- package/dist/111/common.cjs +7 -2
- package/dist/111/common.d.cts +21 -2
- package/dist/111/common.d.ts +21 -2
- package/dist/111/common.mjs +7 -2
- package/dist/111/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/111/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/111/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/111/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/111/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/111/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/common.cjs +5 -35
- package/dist/120/common.d.cts +9 -185
- package/dist/120/common.d.ts +9 -185
- package/dist/120/common.mjs +6 -36
- package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/swapping/swapEgressIgnored.d.cts +2 -2
- package/dist/120/swapping/swapEgressIgnored.d.ts +2 -2
- package/dist/120/swapping/swapEgressScheduled.d.cts +2 -2
- package/dist/120/swapping/swapEgressScheduled.d.ts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +10 -38
- package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +10 -38
- package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/common.cjs +11 -21
- package/dist/131/common.d.cts +32 -121
- package/dist/131/common.d.ts +32 -121
- package/dist/131/common.mjs +14 -24
- package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositReceived.d.cts +10 -38
- package/dist/131/ethereumIngressEgress/depositReceived.d.ts +10 -38
- package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/ethereumIngressEgress/transferFallbackRequested.d.cts +2 -2
- package/dist/131/ethereumIngressEgress/transferFallbackRequested.d.ts +2 -2
- package/dist/131/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/131/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/131/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/131/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/131/swapping/ccmFailed.d.cts +5 -19
- package/dist/131/swapping/ccmFailed.d.ts +5 -19
- package/dist/131/swapping/swapScheduled.d.cts +5 -19
- package/dist/131/swapping/swapScheduled.d.ts +5 -19
- package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/common.cjs +12 -52
- package/dist/141/common.d.cts +35 -320
- package/dist/141/common.d.ts +35 -320
- package/dist/141/common.mjs +15 -55
- package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/ethereumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/141/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/141/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/141/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/polkadotIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/swapping/ccmFailed.d.cts +5 -19
- package/dist/141/swapping/ccmFailed.d.ts +5 -19
- package/dist/141/swapping/swapScheduled.d.cts +5 -19
- package/dist/141/swapping/swapScheduled.d.ts +5 -19
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
cfChainsBtcUtxoId,
|
|
6
6
|
cfPrimitivesChainsAssetsBtcAsset,
|
|
7
7
|
numberOrHex,
|
|
8
|
-
|
|
8
|
+
palletCfIngressEgressDepositAction
|
|
9
9
|
} from "../common.mjs";
|
|
10
10
|
var bitcoinIngressEgressDepositReceived = z.object({
|
|
11
11
|
depositAddress: cfChainsBtcScriptPubkey,
|
|
@@ -13,7 +13,7 @@ var bitcoinIngressEgressDepositReceived = z.object({
|
|
|
13
13
|
amount: numberOrHex,
|
|
14
14
|
depositDetails: cfChainsBtcUtxoId,
|
|
15
15
|
ingressFee: numberOrHex,
|
|
16
|
-
action:
|
|
16
|
+
action: palletCfIngressEgressDepositAction
|
|
17
17
|
});
|
|
18
18
|
export {
|
|
19
19
|
bitcoinIngressEgressDepositReceived
|
package/dist/131/common.cjs
CHANGED
|
@@ -170,7 +170,7 @@ var cfChainsSwapOrigin = _zod.z.union([
|
|
|
170
170
|
depositBlockHeight: numberOrHex
|
|
171
171
|
})
|
|
172
172
|
}),
|
|
173
|
-
_zod.z.object({ __kind: _zod.z.literal("Vault"),
|
|
173
|
+
_zod.z.object({ __kind: _zod.z.literal("Vault"), txHash: hexString })
|
|
174
174
|
]);
|
|
175
175
|
var cfChainsBtcScriptPubkey = _zod.z.union([
|
|
176
176
|
_zod.z.object({ __kind: _zod.z.literal("P2PKH"), value: hexString }),
|
|
@@ -205,16 +205,16 @@ var cfChainsCcmDepositMetadata = _zod.z.object({
|
|
|
205
205
|
sourceAddress: cfChainsAddressForeignChainAddress.nullish(),
|
|
206
206
|
channelMetadata: cfChainsCcmChannelMetadata
|
|
207
207
|
});
|
|
208
|
-
var
|
|
209
|
-
_zod.z.object({ __kind: _zod.z.literal("Swap"),
|
|
210
|
-
_zod.z.object({ __kind: _zod.z.literal("LiquidityProvision"),
|
|
208
|
+
var palletCfIngressEgressDepositAction = _zod.z.union([
|
|
209
|
+
_zod.z.object({ __kind: _zod.z.literal("Swap"), swapId: numberOrHex }),
|
|
210
|
+
_zod.z.object({ __kind: _zod.z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
211
211
|
_zod.z.object({
|
|
212
212
|
__kind: _zod.z.literal("CcmTransfer"),
|
|
213
213
|
value: _zod.z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
214
214
|
}),
|
|
215
215
|
_zod.z.object({ __kind: _zod.z.literal("NoAction") })
|
|
216
216
|
]);
|
|
217
|
-
var
|
|
217
|
+
var palletCfIngressEgressDepositIgnoredReason = simpleEnum([
|
|
218
218
|
"BelowMinimumDeposit",
|
|
219
219
|
"NotEnoughToPayFees"
|
|
220
220
|
]);
|
|
@@ -233,19 +233,6 @@ var cfChainsAllBatchError = _zod.z.union([
|
|
|
233
233
|
]);
|
|
234
234
|
var cfPrimitivesChainsAssetsBtcAsset = simpleEnum(["Btc"]);
|
|
235
235
|
var cfChainsBtcUtxoId = _zod.z.object({ txId: hexString, vout: _zod.z.number() });
|
|
236
|
-
var palletCfBitcoinIngressEgressPalletDepositAction = _zod.z.union([
|
|
237
|
-
_zod.z.object({ __kind: _zod.z.literal("Swap"), value: _zod.z.object({ swapId: numberOrHex }) }),
|
|
238
|
-
_zod.z.object({ __kind: _zod.z.literal("LiquidityProvision"), value: _zod.z.object({ lpAccount: accountId }) }),
|
|
239
|
-
_zod.z.object({
|
|
240
|
-
__kind: _zod.z.literal("CcmTransfer"),
|
|
241
|
-
value: _zod.z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
242
|
-
}),
|
|
243
|
-
_zod.z.object({ __kind: _zod.z.literal("NoAction") })
|
|
244
|
-
]);
|
|
245
|
-
var palletCfBitcoinIngressEgressDepositIgnoredReason = simpleEnum([
|
|
246
|
-
"BelowMinimumDeposit",
|
|
247
|
-
"NotEnoughToPayFees"
|
|
248
|
-
]);
|
|
249
236
|
var palletCfIngressEgressDepositWitnessBitcoin = _zod.z.object({
|
|
250
237
|
depositAddress: cfChainsBtcScriptPubkey,
|
|
251
238
|
asset: cfPrimitivesChainsAssetsBtcAsset,
|
|
@@ -257,11 +244,15 @@ var palletCfPoolsRangeOrderChange = _zod.z.object({
|
|
|
257
244
|
liquidity: numberOrHex,
|
|
258
245
|
amounts: cfAmmCommonPoolPairsMap
|
|
259
246
|
});
|
|
260
|
-
var
|
|
247
|
+
var palletCfPoolsIncreaseOrDecreaseRangeOrderChange = _zod.z.union([
|
|
261
248
|
_zod.z.object({ __kind: _zod.z.literal("Increase"), value: palletCfPoolsRangeOrderChange }),
|
|
262
249
|
_zod.z.object({ __kind: _zod.z.literal("Decrease"), value: palletCfPoolsRangeOrderChange })
|
|
263
250
|
]);
|
|
264
251
|
var cfAmmCommonSide = simpleEnum(["Buy", "Sell"]);
|
|
252
|
+
var palletCfPoolsIncreaseOrDecreaseU128 = _zod.z.union([
|
|
253
|
+
_zod.z.object({ __kind: _zod.z.literal("Increase"), value: numberOrHex }),
|
|
254
|
+
_zod.z.object({ __kind: _zod.z.literal("Decrease"), value: numberOrHex })
|
|
255
|
+
]);
|
|
265
256
|
|
|
266
257
|
|
|
267
258
|
|
|
@@ -318,5 +309,4 @@ var cfAmmCommonSide = simpleEnum(["Buy", "Sell"]);
|
|
|
318
309
|
|
|
319
310
|
|
|
320
311
|
|
|
321
|
-
|
|
322
|
-
exports.accountId = accountId; exports.cfAmmCommonPoolPairsMap = cfAmmCommonPoolPairsMap; exports.cfAmmCommonSide = cfAmmCommonSide; exports.cfChainsAddressEncodedAddress = cfChainsAddressEncodedAddress; exports.cfChainsAddressForeignChainAddress = cfChainsAddressForeignChainAddress; exports.cfChainsAllBatchError = cfChainsAllBatchError; exports.cfChainsBtcAggKey = cfChainsBtcAggKey; exports.cfChainsBtcBitcoinTransactionData = cfChainsBtcBitcoinTransactionData; exports.cfChainsBtcScriptPubkey = cfChainsBtcScriptPubkey; exports.cfChainsBtcUtxoId = cfChainsBtcUtxoId; exports.cfChainsCcmChannelMetadata = cfChainsCcmChannelMetadata; exports.cfChainsCcmDepositMetadata = cfChainsCcmDepositMetadata; exports.cfChainsDotPolkadotTransactionId = cfChainsDotPolkadotTransactionId; exports.cfChainsEvmAggKey = cfChainsEvmAggKey; exports.cfChainsEvmParityBit = cfChainsEvmParityBit; exports.cfChainsEvmSchnorrVerificationComponents = cfChainsEvmSchnorrVerificationComponents; exports.cfChainsSwapOrigin = cfChainsSwapOrigin; exports.cfPrimitivesChainsAssetsAnyAsset = cfPrimitivesChainsAssetsAnyAsset; exports.cfPrimitivesChainsAssetsBtcAsset = cfPrimitivesChainsAssetsBtcAsset; exports.cfPrimitivesChainsAssetsEthAsset = cfPrimitivesChainsAssetsEthAsset; exports.cfPrimitivesChainsForeignChain = cfPrimitivesChainsForeignChain; exports.cfPrimitivesSwapLeg = cfPrimitivesSwapLeg; exports.cfTraitsLiquiditySwapType = cfTraitsLiquiditySwapType; exports.hexString = hexString; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.palletCfBitcoinIngressEgressDepositIgnoredReason = palletCfBitcoinIngressEgressDepositIgnoredReason; exports.palletCfBitcoinIngressEgressPalletDepositAction = palletCfBitcoinIngressEgressPalletDepositAction; exports.palletCfBroadcastPalletSafeMode = palletCfBroadcastPalletSafeMode; exports.palletCfEmissionsPalletSafeMode = palletCfEmissionsPalletSafeMode; exports.palletCfEnvironmentSafeModeUpdate = palletCfEnvironmentSafeModeUpdate; exports.palletCfEthereumIngressEgressDepositIgnoredReason = palletCfEthereumIngressEgressDepositIgnoredReason; exports.palletCfEthereumIngressEgressPalletDepositAction = palletCfEthereumIngressEgressPalletDepositAction; exports.palletCfFundingPalletSafeMode = palletCfFundingPalletSafeMode; exports.palletCfIngressEgressDepositWitnessBitcoin = palletCfIngressEgressDepositWitnessBitcoin; exports.palletCfIngressEgressDepositWitnessEthereum = palletCfIngressEgressDepositWitnessEthereum; exports.palletCfLpPalletSafeMode = palletCfLpPalletSafeMode; exports.palletCfPoolsPalletIncreaseOrDecrease = palletCfPoolsPalletIncreaseOrDecrease; exports.palletCfPoolsPalletSafeMode = palletCfPoolsPalletSafeMode; exports.palletCfPoolsRangeOrderChange = palletCfPoolsRangeOrderChange; exports.palletCfReputationPalletSafeMode = palletCfReputationPalletSafeMode; exports.palletCfReputationPenalty = palletCfReputationPenalty; exports.palletCfSwappingCcmFailReason = palletCfSwappingCcmFailReason; exports.palletCfSwappingPalletSafeMode = palletCfSwappingPalletSafeMode; exports.palletCfThresholdSignaturePalletSafeMode = palletCfThresholdSignaturePalletSafeMode; exports.palletCfValidatorPalletSafeMode = palletCfValidatorPalletSafeMode; exports.palletCfWitnesserPalletSafeMode = palletCfWitnesserPalletSafeMode; exports.simpleEnum = simpleEnum; exports.spArithmeticArithmeticError = spArithmeticArithmeticError; exports.spRuntimeDispatchError = spRuntimeDispatchError; exports.spRuntimeModuleError = spRuntimeModuleError; exports.spRuntimeTokenError = spRuntimeTokenError; exports.spRuntimeTransactionalError = spRuntimeTransactionalError; exports.stateChainRuntimeChainflipOffencesOffence = stateChainRuntimeChainflipOffencesOffence; exports.stateChainRuntimeSafeModeInnerRuntimeSafeMode = stateChainRuntimeSafeModeInnerRuntimeSafeMode; exports.stateChainRuntimeSafeModeWitnesserCallPermission = stateChainRuntimeSafeModeWitnesserCallPermission;
|
|
312
|
+
exports.accountId = accountId; exports.cfAmmCommonPoolPairsMap = cfAmmCommonPoolPairsMap; exports.cfAmmCommonSide = cfAmmCommonSide; exports.cfChainsAddressEncodedAddress = cfChainsAddressEncodedAddress; exports.cfChainsAddressForeignChainAddress = cfChainsAddressForeignChainAddress; exports.cfChainsAllBatchError = cfChainsAllBatchError; exports.cfChainsBtcAggKey = cfChainsBtcAggKey; exports.cfChainsBtcBitcoinTransactionData = cfChainsBtcBitcoinTransactionData; exports.cfChainsBtcScriptPubkey = cfChainsBtcScriptPubkey; exports.cfChainsBtcUtxoId = cfChainsBtcUtxoId; exports.cfChainsCcmChannelMetadata = cfChainsCcmChannelMetadata; exports.cfChainsCcmDepositMetadata = cfChainsCcmDepositMetadata; exports.cfChainsDotPolkadotTransactionId = cfChainsDotPolkadotTransactionId; exports.cfChainsEvmAggKey = cfChainsEvmAggKey; exports.cfChainsEvmParityBit = cfChainsEvmParityBit; exports.cfChainsEvmSchnorrVerificationComponents = cfChainsEvmSchnorrVerificationComponents; exports.cfChainsSwapOrigin = cfChainsSwapOrigin; exports.cfPrimitivesChainsAssetsAnyAsset = cfPrimitivesChainsAssetsAnyAsset; exports.cfPrimitivesChainsAssetsBtcAsset = cfPrimitivesChainsAssetsBtcAsset; exports.cfPrimitivesChainsAssetsEthAsset = cfPrimitivesChainsAssetsEthAsset; exports.cfPrimitivesChainsForeignChain = cfPrimitivesChainsForeignChain; exports.cfPrimitivesSwapLeg = cfPrimitivesSwapLeg; exports.cfTraitsLiquiditySwapType = cfTraitsLiquiditySwapType; exports.hexString = hexString; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.palletCfBroadcastPalletSafeMode = palletCfBroadcastPalletSafeMode; exports.palletCfEmissionsPalletSafeMode = palletCfEmissionsPalletSafeMode; exports.palletCfEnvironmentSafeModeUpdate = palletCfEnvironmentSafeModeUpdate; exports.palletCfFundingPalletSafeMode = palletCfFundingPalletSafeMode; exports.palletCfIngressEgressDepositAction = palletCfIngressEgressDepositAction; exports.palletCfIngressEgressDepositIgnoredReason = palletCfIngressEgressDepositIgnoredReason; exports.palletCfIngressEgressDepositWitnessBitcoin = palletCfIngressEgressDepositWitnessBitcoin; exports.palletCfIngressEgressDepositWitnessEthereum = palletCfIngressEgressDepositWitnessEthereum; exports.palletCfLpPalletSafeMode = palletCfLpPalletSafeMode; exports.palletCfPoolsIncreaseOrDecreaseRangeOrderChange = palletCfPoolsIncreaseOrDecreaseRangeOrderChange; exports.palletCfPoolsIncreaseOrDecreaseU128 = palletCfPoolsIncreaseOrDecreaseU128; exports.palletCfPoolsPalletSafeMode = palletCfPoolsPalletSafeMode; exports.palletCfPoolsRangeOrderChange = palletCfPoolsRangeOrderChange; exports.palletCfReputationPalletSafeMode = palletCfReputationPalletSafeMode; exports.palletCfReputationPenalty = palletCfReputationPenalty; exports.palletCfSwappingCcmFailReason = palletCfSwappingCcmFailReason; exports.palletCfSwappingPalletSafeMode = palletCfSwappingPalletSafeMode; exports.palletCfThresholdSignaturePalletSafeMode = palletCfThresholdSignaturePalletSafeMode; exports.palletCfValidatorPalletSafeMode = palletCfValidatorPalletSafeMode; exports.palletCfWitnesserPalletSafeMode = palletCfWitnesserPalletSafeMode; exports.simpleEnum = simpleEnum; exports.spArithmeticArithmeticError = spArithmeticArithmeticError; exports.spRuntimeDispatchError = spRuntimeDispatchError; exports.spRuntimeModuleError = spRuntimeModuleError; exports.spRuntimeTokenError = spRuntimeTokenError; exports.spRuntimeTransactionalError = spRuntimeTransactionalError; exports.stateChainRuntimeChainflipOffencesOffence = stateChainRuntimeChainflipOffencesOffence; exports.stateChainRuntimeSafeModeInnerRuntimeSafeMode = stateChainRuntimeSafeModeInnerRuntimeSafeMode; exports.stateChainRuntimeSafeModeWitnesserCallPermission = stateChainRuntimeSafeModeWitnesserCallPermission;
|
package/dist/131/common.d.cts
CHANGED
|
@@ -1552,23 +1552,13 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
1552
1552
|
};
|
|
1553
1553
|
}>, z.ZodObject<{
|
|
1554
1554
|
__kind: z.ZodLiteral<"Vault">;
|
|
1555
|
-
|
|
1556
|
-
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1557
|
-
}, "strip", z.ZodTypeAny, {
|
|
1558
|
-
txHash: `0x${string}`;
|
|
1559
|
-
}, {
|
|
1560
|
-
txHash: string;
|
|
1561
|
-
}>;
|
|
1555
|
+
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1562
1556
|
}, "strip", z.ZodTypeAny, {
|
|
1563
1557
|
__kind: "Vault";
|
|
1564
|
-
|
|
1565
|
-
txHash: `0x${string}`;
|
|
1566
|
-
};
|
|
1558
|
+
txHash: `0x${string}`;
|
|
1567
1559
|
}, {
|
|
1568
1560
|
__kind: "Vault";
|
|
1569
|
-
|
|
1570
|
-
txHash: string;
|
|
1571
|
-
};
|
|
1561
|
+
txHash: string;
|
|
1572
1562
|
}>]>;
|
|
1573
1563
|
declare const cfChainsBtcScriptPubkey: z.ZodUnion<[z.ZodObject<{
|
|
1574
1564
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
@@ -2279,44 +2269,24 @@ declare const cfChainsCcmDepositMetadata: z.ZodObject<{
|
|
|
2279
2269
|
};
|
|
2280
2270
|
} | null | undefined;
|
|
2281
2271
|
}>;
|
|
2282
|
-
declare const
|
|
2272
|
+
declare const palletCfIngressEgressDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
2283
2273
|
__kind: z.ZodLiteral<"Swap">;
|
|
2284
|
-
|
|
2285
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2286
|
-
}, "strip", z.ZodTypeAny, {
|
|
2287
|
-
swapId: bigint;
|
|
2288
|
-
}, {
|
|
2289
|
-
swapId: string | number;
|
|
2290
|
-
}>;
|
|
2274
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2291
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2292
2276
|
__kind: "Swap";
|
|
2293
|
-
|
|
2294
|
-
swapId: bigint;
|
|
2295
|
-
};
|
|
2277
|
+
swapId: bigint;
|
|
2296
2278
|
}, {
|
|
2297
2279
|
__kind: "Swap";
|
|
2298
|
-
|
|
2299
|
-
swapId: string | number;
|
|
2300
|
-
};
|
|
2280
|
+
swapId: string | number;
|
|
2301
2281
|
}>, z.ZodObject<{
|
|
2302
2282
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
2303
|
-
|
|
2304
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
2305
|
-
}, "strip", z.ZodTypeAny, {
|
|
2306
|
-
lpAccount: string;
|
|
2307
|
-
}, {
|
|
2308
|
-
lpAccount: string;
|
|
2309
|
-
}>;
|
|
2283
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
2310
2284
|
}, "strip", z.ZodTypeAny, {
|
|
2311
2285
|
__kind: "LiquidityProvision";
|
|
2312
|
-
|
|
2313
|
-
lpAccount: string;
|
|
2314
|
-
};
|
|
2286
|
+
lpAccount: string;
|
|
2315
2287
|
}, {
|
|
2316
2288
|
__kind: "LiquidityProvision";
|
|
2317
|
-
|
|
2318
|
-
lpAccount: string;
|
|
2319
|
-
};
|
|
2289
|
+
lpAccount: string;
|
|
2320
2290
|
}>, z.ZodObject<{
|
|
2321
2291
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
2322
2292
|
value: z.ZodObject<{
|
|
@@ -2348,7 +2318,7 @@ declare const palletCfEthereumIngressEgressPalletDepositAction: z.ZodUnion<[z.Zo
|
|
|
2348
2318
|
}, {
|
|
2349
2319
|
__kind: "NoAction";
|
|
2350
2320
|
}>]>;
|
|
2351
|
-
declare const
|
|
2321
|
+
declare const palletCfIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
2352
2322
|
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
2353
2323
|
}, "strip", z.ZodTypeAny, {
|
|
2354
2324
|
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
@@ -2656,84 +2626,6 @@ declare const cfChainsBtcUtxoId: z.ZodObject<{
|
|
|
2656
2626
|
txId: string;
|
|
2657
2627
|
vout: number;
|
|
2658
2628
|
}>;
|
|
2659
|
-
declare const palletCfBitcoinIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
2660
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
2661
|
-
value: z.ZodObject<{
|
|
2662
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2663
|
-
}, "strip", z.ZodTypeAny, {
|
|
2664
|
-
swapId: bigint;
|
|
2665
|
-
}, {
|
|
2666
|
-
swapId: string | number;
|
|
2667
|
-
}>;
|
|
2668
|
-
}, "strip", z.ZodTypeAny, {
|
|
2669
|
-
__kind: "Swap";
|
|
2670
|
-
value: {
|
|
2671
|
-
swapId: bigint;
|
|
2672
|
-
};
|
|
2673
|
-
}, {
|
|
2674
|
-
__kind: "Swap";
|
|
2675
|
-
value: {
|
|
2676
|
-
swapId: string | number;
|
|
2677
|
-
};
|
|
2678
|
-
}>, z.ZodObject<{
|
|
2679
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
2680
|
-
value: z.ZodObject<{
|
|
2681
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
2682
|
-
}, "strip", z.ZodTypeAny, {
|
|
2683
|
-
lpAccount: string;
|
|
2684
|
-
}, {
|
|
2685
|
-
lpAccount: string;
|
|
2686
|
-
}>;
|
|
2687
|
-
}, "strip", z.ZodTypeAny, {
|
|
2688
|
-
__kind: "LiquidityProvision";
|
|
2689
|
-
value: {
|
|
2690
|
-
lpAccount: string;
|
|
2691
|
-
};
|
|
2692
|
-
}, {
|
|
2693
|
-
__kind: "LiquidityProvision";
|
|
2694
|
-
value: {
|
|
2695
|
-
lpAccount: string;
|
|
2696
|
-
};
|
|
2697
|
-
}>, z.ZodObject<{
|
|
2698
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
2699
|
-
value: z.ZodObject<{
|
|
2700
|
-
principalSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
2701
|
-
gasSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
2702
|
-
}, "strip", z.ZodTypeAny, {
|
|
2703
|
-
principalSwapId?: bigint | null | undefined;
|
|
2704
|
-
gasSwapId?: bigint | null | undefined;
|
|
2705
|
-
}, {
|
|
2706
|
-
principalSwapId?: string | number | null | undefined;
|
|
2707
|
-
gasSwapId?: string | number | null | undefined;
|
|
2708
|
-
}>;
|
|
2709
|
-
}, "strip", z.ZodTypeAny, {
|
|
2710
|
-
__kind: "CcmTransfer";
|
|
2711
|
-
value: {
|
|
2712
|
-
principalSwapId?: bigint | null | undefined;
|
|
2713
|
-
gasSwapId?: bigint | null | undefined;
|
|
2714
|
-
};
|
|
2715
|
-
}, {
|
|
2716
|
-
__kind: "CcmTransfer";
|
|
2717
|
-
value: {
|
|
2718
|
-
principalSwapId?: string | number | null | undefined;
|
|
2719
|
-
gasSwapId?: string | number | null | undefined;
|
|
2720
|
-
};
|
|
2721
|
-
}>, z.ZodObject<{
|
|
2722
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
2723
|
-
}, "strip", z.ZodTypeAny, {
|
|
2724
|
-
__kind: "NoAction";
|
|
2725
|
-
}, {
|
|
2726
|
-
__kind: "NoAction";
|
|
2727
|
-
}>]>;
|
|
2728
|
-
declare const palletCfBitcoinIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
2729
|
-
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
2730
|
-
}, "strip", z.ZodTypeAny, {
|
|
2731
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
2732
|
-
}, {
|
|
2733
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
2734
|
-
}>, "BelowMinimumDeposit" | "NotEnoughToPayFees", {
|
|
2735
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
2736
|
-
}>;
|
|
2737
2629
|
declare const palletCfIngressEgressDepositWitnessBitcoin: z.ZodObject<{
|
|
2738
2630
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
2739
2631
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
@@ -2921,7 +2813,7 @@ declare const palletCfPoolsRangeOrderChange: z.ZodObject<{
|
|
|
2921
2813
|
quote: string | number;
|
|
2922
2814
|
};
|
|
2923
2815
|
}>;
|
|
2924
|
-
declare const
|
|
2816
|
+
declare const palletCfPoolsIncreaseOrDecreaseRangeOrderChange: z.ZodUnion<[z.ZodObject<{
|
|
2925
2817
|
__kind: z.ZodLiteral<"Increase">;
|
|
2926
2818
|
value: z.ZodObject<{
|
|
2927
2819
|
liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -3021,5 +2913,24 @@ declare const cfAmmCommonSide: z.ZodEffects<z.ZodObject<{
|
|
|
3021
2913
|
}>, "Buy" | "Sell", {
|
|
3022
2914
|
__kind: "Buy" | "Sell";
|
|
3023
2915
|
}>;
|
|
2916
|
+
declare const palletCfPoolsIncreaseOrDecreaseU128: z.ZodUnion<[z.ZodObject<{
|
|
2917
|
+
__kind: z.ZodLiteral<"Increase">;
|
|
2918
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2919
|
+
}, "strip", z.ZodTypeAny, {
|
|
2920
|
+
__kind: "Increase";
|
|
2921
|
+
value: bigint;
|
|
2922
|
+
}, {
|
|
2923
|
+
__kind: "Increase";
|
|
2924
|
+
value: string | number;
|
|
2925
|
+
}>, z.ZodObject<{
|
|
2926
|
+
__kind: z.ZodLiteral<"Decrease">;
|
|
2927
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2928
|
+
}, "strip", z.ZodTypeAny, {
|
|
2929
|
+
__kind: "Decrease";
|
|
2930
|
+
value: bigint;
|
|
2931
|
+
}, {
|
|
2932
|
+
__kind: "Decrease";
|
|
2933
|
+
value: string | number;
|
|
2934
|
+
}>]>;
|
|
3024
2935
|
|
|
3025
|
-
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsBtcAggKey, cfChainsBtcBitcoinTransactionData, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsDotPolkadotTransactionId, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsSwapOrigin, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSwapLeg, cfTraitsLiquiditySwapType, hexString, numberOrHex, numericString,
|
|
2936
|
+
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsBtcAggKey, cfChainsBtcBitcoinTransactionData, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsDotPolkadotTransactionId, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsSwapOrigin, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSwapLeg, cfTraitsLiquiditySwapType, hexString, numberOrHex, numericString, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFundingPalletSafeMode, palletCfIngressEgressDepositAction, palletCfIngressEgressDepositIgnoredReason, palletCfIngressEgressDepositWitnessBitcoin, palletCfIngressEgressDepositWitnessEthereum, palletCfLpPalletSafeMode, palletCfPoolsIncreaseOrDecreaseRangeOrderChange, palletCfPoolsIncreaseOrDecreaseU128, palletCfPoolsPalletSafeMode, palletCfPoolsRangeOrderChange, palletCfReputationPalletSafeMode, palletCfReputationPenalty, palletCfSwappingCcmFailReason, palletCfSwappingPalletSafeMode, palletCfThresholdSignaturePalletSafeMode, palletCfValidatorPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError, stateChainRuntimeChainflipOffencesOffence, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
|
package/dist/131/common.d.ts
CHANGED
|
@@ -1552,23 +1552,13 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
1552
1552
|
};
|
|
1553
1553
|
}>, z.ZodObject<{
|
|
1554
1554
|
__kind: z.ZodLiteral<"Vault">;
|
|
1555
|
-
|
|
1556
|
-
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1557
|
-
}, "strip", z.ZodTypeAny, {
|
|
1558
|
-
txHash: `0x${string}`;
|
|
1559
|
-
}, {
|
|
1560
|
-
txHash: string;
|
|
1561
|
-
}>;
|
|
1555
|
+
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1562
1556
|
}, "strip", z.ZodTypeAny, {
|
|
1563
1557
|
__kind: "Vault";
|
|
1564
|
-
|
|
1565
|
-
txHash: `0x${string}`;
|
|
1566
|
-
};
|
|
1558
|
+
txHash: `0x${string}`;
|
|
1567
1559
|
}, {
|
|
1568
1560
|
__kind: "Vault";
|
|
1569
|
-
|
|
1570
|
-
txHash: string;
|
|
1571
|
-
};
|
|
1561
|
+
txHash: string;
|
|
1572
1562
|
}>]>;
|
|
1573
1563
|
declare const cfChainsBtcScriptPubkey: z.ZodUnion<[z.ZodObject<{
|
|
1574
1564
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
@@ -2279,44 +2269,24 @@ declare const cfChainsCcmDepositMetadata: z.ZodObject<{
|
|
|
2279
2269
|
};
|
|
2280
2270
|
} | null | undefined;
|
|
2281
2271
|
}>;
|
|
2282
|
-
declare const
|
|
2272
|
+
declare const palletCfIngressEgressDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
2283
2273
|
__kind: z.ZodLiteral<"Swap">;
|
|
2284
|
-
|
|
2285
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2286
|
-
}, "strip", z.ZodTypeAny, {
|
|
2287
|
-
swapId: bigint;
|
|
2288
|
-
}, {
|
|
2289
|
-
swapId: string | number;
|
|
2290
|
-
}>;
|
|
2274
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2291
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2292
2276
|
__kind: "Swap";
|
|
2293
|
-
|
|
2294
|
-
swapId: bigint;
|
|
2295
|
-
};
|
|
2277
|
+
swapId: bigint;
|
|
2296
2278
|
}, {
|
|
2297
2279
|
__kind: "Swap";
|
|
2298
|
-
|
|
2299
|
-
swapId: string | number;
|
|
2300
|
-
};
|
|
2280
|
+
swapId: string | number;
|
|
2301
2281
|
}>, z.ZodObject<{
|
|
2302
2282
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
2303
|
-
|
|
2304
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
2305
|
-
}, "strip", z.ZodTypeAny, {
|
|
2306
|
-
lpAccount: string;
|
|
2307
|
-
}, {
|
|
2308
|
-
lpAccount: string;
|
|
2309
|
-
}>;
|
|
2283
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
2310
2284
|
}, "strip", z.ZodTypeAny, {
|
|
2311
2285
|
__kind: "LiquidityProvision";
|
|
2312
|
-
|
|
2313
|
-
lpAccount: string;
|
|
2314
|
-
};
|
|
2286
|
+
lpAccount: string;
|
|
2315
2287
|
}, {
|
|
2316
2288
|
__kind: "LiquidityProvision";
|
|
2317
|
-
|
|
2318
|
-
lpAccount: string;
|
|
2319
|
-
};
|
|
2289
|
+
lpAccount: string;
|
|
2320
2290
|
}>, z.ZodObject<{
|
|
2321
2291
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
2322
2292
|
value: z.ZodObject<{
|
|
@@ -2348,7 +2318,7 @@ declare const palletCfEthereumIngressEgressPalletDepositAction: z.ZodUnion<[z.Zo
|
|
|
2348
2318
|
}, {
|
|
2349
2319
|
__kind: "NoAction";
|
|
2350
2320
|
}>]>;
|
|
2351
|
-
declare const
|
|
2321
|
+
declare const palletCfIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
2352
2322
|
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
2353
2323
|
}, "strip", z.ZodTypeAny, {
|
|
2354
2324
|
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
@@ -2656,84 +2626,6 @@ declare const cfChainsBtcUtxoId: z.ZodObject<{
|
|
|
2656
2626
|
txId: string;
|
|
2657
2627
|
vout: number;
|
|
2658
2628
|
}>;
|
|
2659
|
-
declare const palletCfBitcoinIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
2660
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
2661
|
-
value: z.ZodObject<{
|
|
2662
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2663
|
-
}, "strip", z.ZodTypeAny, {
|
|
2664
|
-
swapId: bigint;
|
|
2665
|
-
}, {
|
|
2666
|
-
swapId: string | number;
|
|
2667
|
-
}>;
|
|
2668
|
-
}, "strip", z.ZodTypeAny, {
|
|
2669
|
-
__kind: "Swap";
|
|
2670
|
-
value: {
|
|
2671
|
-
swapId: bigint;
|
|
2672
|
-
};
|
|
2673
|
-
}, {
|
|
2674
|
-
__kind: "Swap";
|
|
2675
|
-
value: {
|
|
2676
|
-
swapId: string | number;
|
|
2677
|
-
};
|
|
2678
|
-
}>, z.ZodObject<{
|
|
2679
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
2680
|
-
value: z.ZodObject<{
|
|
2681
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
2682
|
-
}, "strip", z.ZodTypeAny, {
|
|
2683
|
-
lpAccount: string;
|
|
2684
|
-
}, {
|
|
2685
|
-
lpAccount: string;
|
|
2686
|
-
}>;
|
|
2687
|
-
}, "strip", z.ZodTypeAny, {
|
|
2688
|
-
__kind: "LiquidityProvision";
|
|
2689
|
-
value: {
|
|
2690
|
-
lpAccount: string;
|
|
2691
|
-
};
|
|
2692
|
-
}, {
|
|
2693
|
-
__kind: "LiquidityProvision";
|
|
2694
|
-
value: {
|
|
2695
|
-
lpAccount: string;
|
|
2696
|
-
};
|
|
2697
|
-
}>, z.ZodObject<{
|
|
2698
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
2699
|
-
value: z.ZodObject<{
|
|
2700
|
-
principalSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
2701
|
-
gasSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
2702
|
-
}, "strip", z.ZodTypeAny, {
|
|
2703
|
-
principalSwapId?: bigint | null | undefined;
|
|
2704
|
-
gasSwapId?: bigint | null | undefined;
|
|
2705
|
-
}, {
|
|
2706
|
-
principalSwapId?: string | number | null | undefined;
|
|
2707
|
-
gasSwapId?: string | number | null | undefined;
|
|
2708
|
-
}>;
|
|
2709
|
-
}, "strip", z.ZodTypeAny, {
|
|
2710
|
-
__kind: "CcmTransfer";
|
|
2711
|
-
value: {
|
|
2712
|
-
principalSwapId?: bigint | null | undefined;
|
|
2713
|
-
gasSwapId?: bigint | null | undefined;
|
|
2714
|
-
};
|
|
2715
|
-
}, {
|
|
2716
|
-
__kind: "CcmTransfer";
|
|
2717
|
-
value: {
|
|
2718
|
-
principalSwapId?: string | number | null | undefined;
|
|
2719
|
-
gasSwapId?: string | number | null | undefined;
|
|
2720
|
-
};
|
|
2721
|
-
}>, z.ZodObject<{
|
|
2722
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
2723
|
-
}, "strip", z.ZodTypeAny, {
|
|
2724
|
-
__kind: "NoAction";
|
|
2725
|
-
}, {
|
|
2726
|
-
__kind: "NoAction";
|
|
2727
|
-
}>]>;
|
|
2728
|
-
declare const palletCfBitcoinIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
2729
|
-
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
2730
|
-
}, "strip", z.ZodTypeAny, {
|
|
2731
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
2732
|
-
}, {
|
|
2733
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
2734
|
-
}>, "BelowMinimumDeposit" | "NotEnoughToPayFees", {
|
|
2735
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
2736
|
-
}>;
|
|
2737
2629
|
declare const palletCfIngressEgressDepositWitnessBitcoin: z.ZodObject<{
|
|
2738
2630
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
2739
2631
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
@@ -2921,7 +2813,7 @@ declare const palletCfPoolsRangeOrderChange: z.ZodObject<{
|
|
|
2921
2813
|
quote: string | number;
|
|
2922
2814
|
};
|
|
2923
2815
|
}>;
|
|
2924
|
-
declare const
|
|
2816
|
+
declare const palletCfPoolsIncreaseOrDecreaseRangeOrderChange: z.ZodUnion<[z.ZodObject<{
|
|
2925
2817
|
__kind: z.ZodLiteral<"Increase">;
|
|
2926
2818
|
value: z.ZodObject<{
|
|
2927
2819
|
liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -3021,5 +2913,24 @@ declare const cfAmmCommonSide: z.ZodEffects<z.ZodObject<{
|
|
|
3021
2913
|
}>, "Buy" | "Sell", {
|
|
3022
2914
|
__kind: "Buy" | "Sell";
|
|
3023
2915
|
}>;
|
|
2916
|
+
declare const palletCfPoolsIncreaseOrDecreaseU128: z.ZodUnion<[z.ZodObject<{
|
|
2917
|
+
__kind: z.ZodLiteral<"Increase">;
|
|
2918
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2919
|
+
}, "strip", z.ZodTypeAny, {
|
|
2920
|
+
__kind: "Increase";
|
|
2921
|
+
value: bigint;
|
|
2922
|
+
}, {
|
|
2923
|
+
__kind: "Increase";
|
|
2924
|
+
value: string | number;
|
|
2925
|
+
}>, z.ZodObject<{
|
|
2926
|
+
__kind: z.ZodLiteral<"Decrease">;
|
|
2927
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2928
|
+
}, "strip", z.ZodTypeAny, {
|
|
2929
|
+
__kind: "Decrease";
|
|
2930
|
+
value: bigint;
|
|
2931
|
+
}, {
|
|
2932
|
+
__kind: "Decrease";
|
|
2933
|
+
value: string | number;
|
|
2934
|
+
}>]>;
|
|
3024
2935
|
|
|
3025
|
-
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsBtcAggKey, cfChainsBtcBitcoinTransactionData, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsDotPolkadotTransactionId, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsSwapOrigin, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSwapLeg, cfTraitsLiquiditySwapType, hexString, numberOrHex, numericString,
|
|
2936
|
+
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsBtcAggKey, cfChainsBtcBitcoinTransactionData, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsDotPolkadotTransactionId, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsSwapOrigin, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSwapLeg, cfTraitsLiquiditySwapType, hexString, numberOrHex, numericString, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFundingPalletSafeMode, palletCfIngressEgressDepositAction, palletCfIngressEgressDepositIgnoredReason, palletCfIngressEgressDepositWitnessBitcoin, palletCfIngressEgressDepositWitnessEthereum, palletCfLpPalletSafeMode, palletCfPoolsIncreaseOrDecreaseRangeOrderChange, palletCfPoolsIncreaseOrDecreaseU128, palletCfPoolsPalletSafeMode, palletCfPoolsRangeOrderChange, palletCfReputationPalletSafeMode, palletCfReputationPenalty, palletCfSwappingCcmFailReason, palletCfSwappingPalletSafeMode, palletCfThresholdSignaturePalletSafeMode, palletCfValidatorPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError, stateChainRuntimeChainflipOffencesOffence, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
|
package/dist/131/common.mjs
CHANGED
|
@@ -170,7 +170,7 @@ var cfChainsSwapOrigin = z.union([
|
|
|
170
170
|
depositBlockHeight: numberOrHex
|
|
171
171
|
})
|
|
172
172
|
}),
|
|
173
|
-
z.object({ __kind: z.literal("Vault"),
|
|
173
|
+
z.object({ __kind: z.literal("Vault"), txHash: hexString })
|
|
174
174
|
]);
|
|
175
175
|
var cfChainsBtcScriptPubkey = z.union([
|
|
176
176
|
z.object({ __kind: z.literal("P2PKH"), value: hexString }),
|
|
@@ -205,16 +205,16 @@ var cfChainsCcmDepositMetadata = z.object({
|
|
|
205
205
|
sourceAddress: cfChainsAddressForeignChainAddress.nullish(),
|
|
206
206
|
channelMetadata: cfChainsCcmChannelMetadata
|
|
207
207
|
});
|
|
208
|
-
var
|
|
209
|
-
z.object({ __kind: z.literal("Swap"),
|
|
210
|
-
z.object({ __kind: z.literal("LiquidityProvision"),
|
|
208
|
+
var palletCfIngressEgressDepositAction = z.union([
|
|
209
|
+
z.object({ __kind: z.literal("Swap"), swapId: numberOrHex }),
|
|
210
|
+
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
211
211
|
z.object({
|
|
212
212
|
__kind: z.literal("CcmTransfer"),
|
|
213
213
|
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
214
214
|
}),
|
|
215
215
|
z.object({ __kind: z.literal("NoAction") })
|
|
216
216
|
]);
|
|
217
|
-
var
|
|
217
|
+
var palletCfIngressEgressDepositIgnoredReason = simpleEnum([
|
|
218
218
|
"BelowMinimumDeposit",
|
|
219
219
|
"NotEnoughToPayFees"
|
|
220
220
|
]);
|
|
@@ -233,19 +233,6 @@ var cfChainsAllBatchError = z.union([
|
|
|
233
233
|
]);
|
|
234
234
|
var cfPrimitivesChainsAssetsBtcAsset = simpleEnum(["Btc"]);
|
|
235
235
|
var cfChainsBtcUtxoId = z.object({ txId: hexString, vout: z.number() });
|
|
236
|
-
var palletCfBitcoinIngressEgressPalletDepositAction = z.union([
|
|
237
|
-
z.object({ __kind: z.literal("Swap"), value: z.object({ swapId: numberOrHex }) }),
|
|
238
|
-
z.object({ __kind: z.literal("LiquidityProvision"), value: z.object({ lpAccount: accountId }) }),
|
|
239
|
-
z.object({
|
|
240
|
-
__kind: z.literal("CcmTransfer"),
|
|
241
|
-
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
242
|
-
}),
|
|
243
|
-
z.object({ __kind: z.literal("NoAction") })
|
|
244
|
-
]);
|
|
245
|
-
var palletCfBitcoinIngressEgressDepositIgnoredReason = simpleEnum([
|
|
246
|
-
"BelowMinimumDeposit",
|
|
247
|
-
"NotEnoughToPayFees"
|
|
248
|
-
]);
|
|
249
236
|
var palletCfIngressEgressDepositWitnessBitcoin = z.object({
|
|
250
237
|
depositAddress: cfChainsBtcScriptPubkey,
|
|
251
238
|
asset: cfPrimitivesChainsAssetsBtcAsset,
|
|
@@ -257,11 +244,15 @@ var palletCfPoolsRangeOrderChange = z.object({
|
|
|
257
244
|
liquidity: numberOrHex,
|
|
258
245
|
amounts: cfAmmCommonPoolPairsMap
|
|
259
246
|
});
|
|
260
|
-
var
|
|
247
|
+
var palletCfPoolsIncreaseOrDecreaseRangeOrderChange = z.union([
|
|
261
248
|
z.object({ __kind: z.literal("Increase"), value: palletCfPoolsRangeOrderChange }),
|
|
262
249
|
z.object({ __kind: z.literal("Decrease"), value: palletCfPoolsRangeOrderChange })
|
|
263
250
|
]);
|
|
264
251
|
var cfAmmCommonSide = simpleEnum(["Buy", "Sell"]);
|
|
252
|
+
var palletCfPoolsIncreaseOrDecreaseU128 = z.union([
|
|
253
|
+
z.object({ __kind: z.literal("Increase"), value: numberOrHex }),
|
|
254
|
+
z.object({ __kind: z.literal("Decrease"), value: numberOrHex })
|
|
255
|
+
]);
|
|
265
256
|
export {
|
|
266
257
|
accountId,
|
|
267
258
|
cfAmmCommonPoolPairsMap,
|
|
@@ -289,18 +280,17 @@ export {
|
|
|
289
280
|
hexString,
|
|
290
281
|
numberOrHex,
|
|
291
282
|
numericString,
|
|
292
|
-
palletCfBitcoinIngressEgressDepositIgnoredReason,
|
|
293
|
-
palletCfBitcoinIngressEgressPalletDepositAction,
|
|
294
283
|
palletCfBroadcastPalletSafeMode,
|
|
295
284
|
palletCfEmissionsPalletSafeMode,
|
|
296
285
|
palletCfEnvironmentSafeModeUpdate,
|
|
297
|
-
palletCfEthereumIngressEgressDepositIgnoredReason,
|
|
298
|
-
palletCfEthereumIngressEgressPalletDepositAction,
|
|
299
286
|
palletCfFundingPalletSafeMode,
|
|
287
|
+
palletCfIngressEgressDepositAction,
|
|
288
|
+
palletCfIngressEgressDepositIgnoredReason,
|
|
300
289
|
palletCfIngressEgressDepositWitnessBitcoin,
|
|
301
290
|
palletCfIngressEgressDepositWitnessEthereum,
|
|
302
291
|
palletCfLpPalletSafeMode,
|
|
303
|
-
|
|
292
|
+
palletCfPoolsIncreaseOrDecreaseRangeOrderChange,
|
|
293
|
+
palletCfPoolsIncreaseOrDecreaseU128,
|
|
304
294
|
palletCfPoolsPalletSafeMode,
|
|
305
295
|
palletCfPoolsRangeOrderChange,
|
|
306
296
|
palletCfReputationPalletSafeMode,
|
|
@@ -10,7 +10,7 @@ var ethereumIngressEgressDepositIgnored = _zod.z.object({
|
|
|
10
10
|
depositAddress: _commoncjs.hexString,
|
|
11
11
|
asset: _commoncjs.cfPrimitivesChainsAssetsEthAsset,
|
|
12
12
|
amount: _commoncjs.numberOrHex,
|
|
13
|
-
reason: _commoncjs.
|
|
13
|
+
reason: _commoncjs.palletCfIngressEgressDepositIgnoredReason
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
cfPrimitivesChainsAssetsEthAsset,
|
|
5
5
|
hexString,
|
|
6
6
|
numberOrHex,
|
|
7
|
-
|
|
7
|
+
palletCfIngressEgressDepositIgnoredReason
|
|
8
8
|
} from "../common.mjs";
|
|
9
9
|
var ethereumIngressEgressDepositIgnored = z.object({
|
|
10
10
|
depositAddress: hexString,
|
|
11
11
|
asset: cfPrimitivesChainsAssetsEthAsset,
|
|
12
12
|
amount: numberOrHex,
|
|
13
|
-
reason:
|
|
13
|
+
reason: palletCfIngressEgressDepositIgnoredReason
|
|
14
14
|
});
|
|
15
15
|
export {
|
|
16
16
|
ethereumIngressEgressDepositIgnored
|
|
@@ -11,7 +11,7 @@ var ethereumIngressEgressDepositReceived = _zod.z.object({
|
|
|
11
11
|
asset: _commoncjs.cfPrimitivesChainsAssetsEthAsset,
|
|
12
12
|
amount: _commoncjs.numberOrHex,
|
|
13
13
|
ingressFee: _commoncjs.numberOrHex,
|
|
14
|
-
action: _commoncjs.
|
|
14
|
+
action: _commoncjs.palletCfIngressEgressDepositAction
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
|