@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
package/dist/141/common.d.ts
CHANGED
|
@@ -2606,23 +2606,13 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
2606
2606
|
};
|
|
2607
2607
|
}>, z.ZodObject<{
|
|
2608
2608
|
__kind: z.ZodLiteral<"Vault">;
|
|
2609
|
-
|
|
2610
|
-
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2611
|
-
}, "strip", z.ZodTypeAny, {
|
|
2612
|
-
txHash: `0x${string}`;
|
|
2613
|
-
}, {
|
|
2614
|
-
txHash: string;
|
|
2615
|
-
}>;
|
|
2609
|
+
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2616
2610
|
}, "strip", z.ZodTypeAny, {
|
|
2617
2611
|
__kind: "Vault";
|
|
2618
|
-
|
|
2619
|
-
txHash: `0x${string}`;
|
|
2620
|
-
};
|
|
2612
|
+
txHash: `0x${string}`;
|
|
2621
2613
|
}, {
|
|
2622
2614
|
__kind: "Vault";
|
|
2623
|
-
|
|
2624
|
-
txHash: string;
|
|
2625
|
-
};
|
|
2615
|
+
txHash: string;
|
|
2626
2616
|
}>]>;
|
|
2627
2617
|
declare const cfChainsBtcScriptPubkey: z.ZodUnion<[z.ZodObject<{
|
|
2628
2618
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
@@ -3378,44 +3368,24 @@ declare const cfPrimitivesChainsAssetsEthAsset: z.ZodEffects<z.ZodObject<{
|
|
|
3378
3368
|
}>, "Eth" | "Flip" | "Usdc" | "Usdt", {
|
|
3379
3369
|
__kind: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
3380
3370
|
}>;
|
|
3381
|
-
declare const
|
|
3371
|
+
declare const palletCfIngressEgressDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
3382
3372
|
__kind: z.ZodLiteral<"Swap">;
|
|
3383
|
-
|
|
3384
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3385
|
-
}, "strip", z.ZodTypeAny, {
|
|
3386
|
-
swapId: bigint;
|
|
3387
|
-
}, {
|
|
3388
|
-
swapId: string | number;
|
|
3389
|
-
}>;
|
|
3373
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3390
3374
|
}, "strip", z.ZodTypeAny, {
|
|
3391
3375
|
__kind: "Swap";
|
|
3392
|
-
|
|
3393
|
-
swapId: bigint;
|
|
3394
|
-
};
|
|
3376
|
+
swapId: bigint;
|
|
3395
3377
|
}, {
|
|
3396
3378
|
__kind: "Swap";
|
|
3397
|
-
|
|
3398
|
-
swapId: string | number;
|
|
3399
|
-
};
|
|
3379
|
+
swapId: string | number;
|
|
3400
3380
|
}>, z.ZodObject<{
|
|
3401
3381
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
3402
|
-
|
|
3403
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
3404
|
-
}, "strip", z.ZodTypeAny, {
|
|
3405
|
-
lpAccount: string;
|
|
3406
|
-
}, {
|
|
3407
|
-
lpAccount: string;
|
|
3408
|
-
}>;
|
|
3382
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
3409
3383
|
}, "strip", z.ZodTypeAny, {
|
|
3410
3384
|
__kind: "LiquidityProvision";
|
|
3411
|
-
|
|
3412
|
-
lpAccount: string;
|
|
3413
|
-
};
|
|
3385
|
+
lpAccount: string;
|
|
3414
3386
|
}, {
|
|
3415
3387
|
__kind: "LiquidityProvision";
|
|
3416
|
-
|
|
3417
|
-
lpAccount: string;
|
|
3418
|
-
};
|
|
3388
|
+
lpAccount: string;
|
|
3419
3389
|
}>, z.ZodObject<{
|
|
3420
3390
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
3421
3391
|
value: z.ZodObject<{
|
|
@@ -3448,23 +3418,13 @@ declare const palletCfEthereumIngressEgressPalletDepositAction: z.ZodUnion<[z.Zo
|
|
|
3448
3418
|
__kind: "NoAction";
|
|
3449
3419
|
}>, z.ZodObject<{
|
|
3450
3420
|
__kind: z.ZodLiteral<"BoostersCredited">;
|
|
3451
|
-
|
|
3452
|
-
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3453
|
-
}, "strip", z.ZodTypeAny, {
|
|
3454
|
-
prewitnessedDepositId: bigint;
|
|
3455
|
-
}, {
|
|
3456
|
-
prewitnessedDepositId: string | number;
|
|
3457
|
-
}>;
|
|
3421
|
+
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3458
3422
|
}, "strip", z.ZodTypeAny, {
|
|
3459
3423
|
__kind: "BoostersCredited";
|
|
3460
|
-
|
|
3461
|
-
prewitnessedDepositId: bigint;
|
|
3462
|
-
};
|
|
3424
|
+
prewitnessedDepositId: bigint;
|
|
3463
3425
|
}, {
|
|
3464
3426
|
__kind: "BoostersCredited";
|
|
3465
|
-
|
|
3466
|
-
prewitnessedDepositId: string | number;
|
|
3467
|
-
};
|
|
3427
|
+
prewitnessedDepositId: string | number;
|
|
3468
3428
|
}>]>;
|
|
3469
3429
|
declare const palletCfIngressEgressBoostPoolIdEthereum: z.ZodObject<{
|
|
3470
3430
|
asset: z.ZodEffects<z.ZodObject<{
|
|
@@ -3495,94 +3455,6 @@ declare const cfPrimitivesChainsAssetsDotAsset: z.ZodEffects<z.ZodObject<{
|
|
|
3495
3455
|
}>, "Dot", {
|
|
3496
3456
|
__kind: "Dot";
|
|
3497
3457
|
}>;
|
|
3498
|
-
declare const palletCfPolkadotIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
3499
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
3500
|
-
value: z.ZodObject<{
|
|
3501
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3502
|
-
}, "strip", z.ZodTypeAny, {
|
|
3503
|
-
swapId: bigint;
|
|
3504
|
-
}, {
|
|
3505
|
-
swapId: string | number;
|
|
3506
|
-
}>;
|
|
3507
|
-
}, "strip", z.ZodTypeAny, {
|
|
3508
|
-
__kind: "Swap";
|
|
3509
|
-
value: {
|
|
3510
|
-
swapId: bigint;
|
|
3511
|
-
};
|
|
3512
|
-
}, {
|
|
3513
|
-
__kind: "Swap";
|
|
3514
|
-
value: {
|
|
3515
|
-
swapId: string | number;
|
|
3516
|
-
};
|
|
3517
|
-
}>, z.ZodObject<{
|
|
3518
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
3519
|
-
value: z.ZodObject<{
|
|
3520
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
3521
|
-
}, "strip", z.ZodTypeAny, {
|
|
3522
|
-
lpAccount: string;
|
|
3523
|
-
}, {
|
|
3524
|
-
lpAccount: string;
|
|
3525
|
-
}>;
|
|
3526
|
-
}, "strip", z.ZodTypeAny, {
|
|
3527
|
-
__kind: "LiquidityProvision";
|
|
3528
|
-
value: {
|
|
3529
|
-
lpAccount: string;
|
|
3530
|
-
};
|
|
3531
|
-
}, {
|
|
3532
|
-
__kind: "LiquidityProvision";
|
|
3533
|
-
value: {
|
|
3534
|
-
lpAccount: string;
|
|
3535
|
-
};
|
|
3536
|
-
}>, z.ZodObject<{
|
|
3537
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
3538
|
-
value: z.ZodObject<{
|
|
3539
|
-
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>>>;
|
|
3540
|
-
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>>>;
|
|
3541
|
-
}, "strip", z.ZodTypeAny, {
|
|
3542
|
-
principalSwapId?: bigint | null | undefined;
|
|
3543
|
-
gasSwapId?: bigint | null | undefined;
|
|
3544
|
-
}, {
|
|
3545
|
-
principalSwapId?: string | number | null | undefined;
|
|
3546
|
-
gasSwapId?: string | number | null | undefined;
|
|
3547
|
-
}>;
|
|
3548
|
-
}, "strip", z.ZodTypeAny, {
|
|
3549
|
-
__kind: "CcmTransfer";
|
|
3550
|
-
value: {
|
|
3551
|
-
principalSwapId?: bigint | null | undefined;
|
|
3552
|
-
gasSwapId?: bigint | null | undefined;
|
|
3553
|
-
};
|
|
3554
|
-
}, {
|
|
3555
|
-
__kind: "CcmTransfer";
|
|
3556
|
-
value: {
|
|
3557
|
-
principalSwapId?: string | number | null | undefined;
|
|
3558
|
-
gasSwapId?: string | number | null | undefined;
|
|
3559
|
-
};
|
|
3560
|
-
}>, z.ZodObject<{
|
|
3561
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
3562
|
-
}, "strip", z.ZodTypeAny, {
|
|
3563
|
-
__kind: "NoAction";
|
|
3564
|
-
}, {
|
|
3565
|
-
__kind: "NoAction";
|
|
3566
|
-
}>, z.ZodObject<{
|
|
3567
|
-
__kind: z.ZodLiteral<"BoostersCredited">;
|
|
3568
|
-
value: z.ZodObject<{
|
|
3569
|
-
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3570
|
-
}, "strip", z.ZodTypeAny, {
|
|
3571
|
-
prewitnessedDepositId: bigint;
|
|
3572
|
-
}, {
|
|
3573
|
-
prewitnessedDepositId: string | number;
|
|
3574
|
-
}>;
|
|
3575
|
-
}, "strip", z.ZodTypeAny, {
|
|
3576
|
-
__kind: "BoostersCredited";
|
|
3577
|
-
value: {
|
|
3578
|
-
prewitnessedDepositId: bigint;
|
|
3579
|
-
};
|
|
3580
|
-
}, {
|
|
3581
|
-
__kind: "BoostersCredited";
|
|
3582
|
-
value: {
|
|
3583
|
-
prewitnessedDepositId: string | number;
|
|
3584
|
-
};
|
|
3585
|
-
}>]>;
|
|
3586
3458
|
declare const palletCfIngressEgressBoostPoolIdPolkadot: z.ZodObject<{
|
|
3587
3459
|
asset: z.ZodEffects<z.ZodObject<{
|
|
3588
3460
|
__kind: z.ZodEnum<["Dot"]>;
|
|
@@ -3612,94 +3484,6 @@ declare const cfPrimitivesChainsAssetsBtcAsset: z.ZodEffects<z.ZodObject<{
|
|
|
3612
3484
|
}>, "Btc", {
|
|
3613
3485
|
__kind: "Btc";
|
|
3614
3486
|
}>;
|
|
3615
|
-
declare const palletCfBitcoinIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
3616
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
3617
|
-
value: z.ZodObject<{
|
|
3618
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3619
|
-
}, "strip", z.ZodTypeAny, {
|
|
3620
|
-
swapId: bigint;
|
|
3621
|
-
}, {
|
|
3622
|
-
swapId: string | number;
|
|
3623
|
-
}>;
|
|
3624
|
-
}, "strip", z.ZodTypeAny, {
|
|
3625
|
-
__kind: "Swap";
|
|
3626
|
-
value: {
|
|
3627
|
-
swapId: bigint;
|
|
3628
|
-
};
|
|
3629
|
-
}, {
|
|
3630
|
-
__kind: "Swap";
|
|
3631
|
-
value: {
|
|
3632
|
-
swapId: string | number;
|
|
3633
|
-
};
|
|
3634
|
-
}>, z.ZodObject<{
|
|
3635
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
3636
|
-
value: z.ZodObject<{
|
|
3637
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
3638
|
-
}, "strip", z.ZodTypeAny, {
|
|
3639
|
-
lpAccount: string;
|
|
3640
|
-
}, {
|
|
3641
|
-
lpAccount: string;
|
|
3642
|
-
}>;
|
|
3643
|
-
}, "strip", z.ZodTypeAny, {
|
|
3644
|
-
__kind: "LiquidityProvision";
|
|
3645
|
-
value: {
|
|
3646
|
-
lpAccount: string;
|
|
3647
|
-
};
|
|
3648
|
-
}, {
|
|
3649
|
-
__kind: "LiquidityProvision";
|
|
3650
|
-
value: {
|
|
3651
|
-
lpAccount: string;
|
|
3652
|
-
};
|
|
3653
|
-
}>, z.ZodObject<{
|
|
3654
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
3655
|
-
value: z.ZodObject<{
|
|
3656
|
-
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>>>;
|
|
3657
|
-
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>>>;
|
|
3658
|
-
}, "strip", z.ZodTypeAny, {
|
|
3659
|
-
principalSwapId?: bigint | null | undefined;
|
|
3660
|
-
gasSwapId?: bigint | null | undefined;
|
|
3661
|
-
}, {
|
|
3662
|
-
principalSwapId?: string | number | null | undefined;
|
|
3663
|
-
gasSwapId?: string | number | null | undefined;
|
|
3664
|
-
}>;
|
|
3665
|
-
}, "strip", z.ZodTypeAny, {
|
|
3666
|
-
__kind: "CcmTransfer";
|
|
3667
|
-
value: {
|
|
3668
|
-
principalSwapId?: bigint | null | undefined;
|
|
3669
|
-
gasSwapId?: bigint | null | undefined;
|
|
3670
|
-
};
|
|
3671
|
-
}, {
|
|
3672
|
-
__kind: "CcmTransfer";
|
|
3673
|
-
value: {
|
|
3674
|
-
principalSwapId?: string | number | null | undefined;
|
|
3675
|
-
gasSwapId?: string | number | null | undefined;
|
|
3676
|
-
};
|
|
3677
|
-
}>, z.ZodObject<{
|
|
3678
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
3679
|
-
}, "strip", z.ZodTypeAny, {
|
|
3680
|
-
__kind: "NoAction";
|
|
3681
|
-
}, {
|
|
3682
|
-
__kind: "NoAction";
|
|
3683
|
-
}>, z.ZodObject<{
|
|
3684
|
-
__kind: z.ZodLiteral<"BoostersCredited">;
|
|
3685
|
-
value: z.ZodObject<{
|
|
3686
|
-
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3687
|
-
}, "strip", z.ZodTypeAny, {
|
|
3688
|
-
prewitnessedDepositId: bigint;
|
|
3689
|
-
}, {
|
|
3690
|
-
prewitnessedDepositId: string | number;
|
|
3691
|
-
}>;
|
|
3692
|
-
}, "strip", z.ZodTypeAny, {
|
|
3693
|
-
__kind: "BoostersCredited";
|
|
3694
|
-
value: {
|
|
3695
|
-
prewitnessedDepositId: bigint;
|
|
3696
|
-
};
|
|
3697
|
-
}, {
|
|
3698
|
-
__kind: "BoostersCredited";
|
|
3699
|
-
value: {
|
|
3700
|
-
prewitnessedDepositId: string | number;
|
|
3701
|
-
};
|
|
3702
|
-
}>]>;
|
|
3703
3487
|
declare const palletCfIngressEgressBoostPoolIdBitcoin: z.ZodObject<{
|
|
3704
3488
|
asset: z.ZodEffects<z.ZodObject<{
|
|
3705
3489
|
__kind: z.ZodEnum<["Btc"]>;
|
|
@@ -3755,7 +3539,7 @@ declare const palletCfPoolsRangeOrderChange: z.ZodObject<{
|
|
|
3755
3539
|
quote: string | number;
|
|
3756
3540
|
};
|
|
3757
3541
|
}>;
|
|
3758
|
-
declare const
|
|
3542
|
+
declare const palletCfPoolsIncreaseOrDecreaseRangeOrderChange: z.ZodUnion<[z.ZodObject<{
|
|
3759
3543
|
__kind: z.ZodLiteral<"Increase">;
|
|
3760
3544
|
value: z.ZodObject<{
|
|
3761
3545
|
liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -3855,6 +3639,25 @@ declare const cfAmmCommonSide: z.ZodEffects<z.ZodObject<{
|
|
|
3855
3639
|
}>, "Buy" | "Sell", {
|
|
3856
3640
|
__kind: "Buy" | "Sell";
|
|
3857
3641
|
}>;
|
|
3642
|
+
declare const palletCfPoolsIncreaseOrDecreaseU128: z.ZodUnion<[z.ZodObject<{
|
|
3643
|
+
__kind: z.ZodLiteral<"Increase">;
|
|
3644
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3645
|
+
}, "strip", z.ZodTypeAny, {
|
|
3646
|
+
__kind: "Increase";
|
|
3647
|
+
value: bigint;
|
|
3648
|
+
}, {
|
|
3649
|
+
__kind: "Increase";
|
|
3650
|
+
value: string | number;
|
|
3651
|
+
}>, z.ZodObject<{
|
|
3652
|
+
__kind: z.ZodLiteral<"Decrease">;
|
|
3653
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3654
|
+
}, "strip", z.ZodTypeAny, {
|
|
3655
|
+
__kind: "Decrease";
|
|
3656
|
+
value: bigint;
|
|
3657
|
+
}, {
|
|
3658
|
+
__kind: "Decrease";
|
|
3659
|
+
value: string | number;
|
|
3660
|
+
}>]>;
|
|
3858
3661
|
declare const palletCfPoolsAssetPair: z.ZodObject<{
|
|
3859
3662
|
assets: z.ZodObject<{
|
|
3860
3663
|
base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -3947,95 +3750,7 @@ declare const cfChainsEvmSchnorrVerificationComponents: z.ZodObject<{
|
|
|
3947
3750
|
s: string;
|
|
3948
3751
|
kTimesGAddress: string;
|
|
3949
3752
|
}>;
|
|
3950
|
-
declare const
|
|
3951
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
3952
|
-
value: z.ZodObject<{
|
|
3953
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
3954
|
-
}, "strip", z.ZodTypeAny, {
|
|
3955
|
-
swapId: bigint;
|
|
3956
|
-
}, {
|
|
3957
|
-
swapId: string | number;
|
|
3958
|
-
}>;
|
|
3959
|
-
}, "strip", z.ZodTypeAny, {
|
|
3960
|
-
__kind: "Swap";
|
|
3961
|
-
value: {
|
|
3962
|
-
swapId: bigint;
|
|
3963
|
-
};
|
|
3964
|
-
}, {
|
|
3965
|
-
__kind: "Swap";
|
|
3966
|
-
value: {
|
|
3967
|
-
swapId: string | number;
|
|
3968
|
-
};
|
|
3969
|
-
}>, z.ZodObject<{
|
|
3970
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
3971
|
-
value: z.ZodObject<{
|
|
3972
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
3973
|
-
}, "strip", z.ZodTypeAny, {
|
|
3974
|
-
lpAccount: string;
|
|
3975
|
-
}, {
|
|
3976
|
-
lpAccount: string;
|
|
3977
|
-
}>;
|
|
3978
|
-
}, "strip", z.ZodTypeAny, {
|
|
3979
|
-
__kind: "LiquidityProvision";
|
|
3980
|
-
value: {
|
|
3981
|
-
lpAccount: string;
|
|
3982
|
-
};
|
|
3983
|
-
}, {
|
|
3984
|
-
__kind: "LiquidityProvision";
|
|
3985
|
-
value: {
|
|
3986
|
-
lpAccount: string;
|
|
3987
|
-
};
|
|
3988
|
-
}>, z.ZodObject<{
|
|
3989
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
3990
|
-
value: z.ZodObject<{
|
|
3991
|
-
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>>>;
|
|
3992
|
-
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>>>;
|
|
3993
|
-
}, "strip", z.ZodTypeAny, {
|
|
3994
|
-
principalSwapId?: bigint | null | undefined;
|
|
3995
|
-
gasSwapId?: bigint | null | undefined;
|
|
3996
|
-
}, {
|
|
3997
|
-
principalSwapId?: string | number | null | undefined;
|
|
3998
|
-
gasSwapId?: string | number | null | undefined;
|
|
3999
|
-
}>;
|
|
4000
|
-
}, "strip", z.ZodTypeAny, {
|
|
4001
|
-
__kind: "CcmTransfer";
|
|
4002
|
-
value: {
|
|
4003
|
-
principalSwapId?: bigint | null | undefined;
|
|
4004
|
-
gasSwapId?: bigint | null | undefined;
|
|
4005
|
-
};
|
|
4006
|
-
}, {
|
|
4007
|
-
__kind: "CcmTransfer";
|
|
4008
|
-
value: {
|
|
4009
|
-
principalSwapId?: string | number | null | undefined;
|
|
4010
|
-
gasSwapId?: string | number | null | undefined;
|
|
4011
|
-
};
|
|
4012
|
-
}>, z.ZodObject<{
|
|
4013
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
4014
|
-
}, "strip", z.ZodTypeAny, {
|
|
4015
|
-
__kind: "NoAction";
|
|
4016
|
-
}, {
|
|
4017
|
-
__kind: "NoAction";
|
|
4018
|
-
}>, z.ZodObject<{
|
|
4019
|
-
__kind: z.ZodLiteral<"BoostersCredited">;
|
|
4020
|
-
value: z.ZodObject<{
|
|
4021
|
-
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
4022
|
-
}, "strip", z.ZodTypeAny, {
|
|
4023
|
-
prewitnessedDepositId: bigint;
|
|
4024
|
-
}, {
|
|
4025
|
-
prewitnessedDepositId: string | number;
|
|
4026
|
-
}>;
|
|
4027
|
-
}, "strip", z.ZodTypeAny, {
|
|
4028
|
-
__kind: "BoostersCredited";
|
|
4029
|
-
value: {
|
|
4030
|
-
prewitnessedDepositId: bigint;
|
|
4031
|
-
};
|
|
4032
|
-
}, {
|
|
4033
|
-
__kind: "BoostersCredited";
|
|
4034
|
-
value: {
|
|
4035
|
-
prewitnessedDepositId: string | number;
|
|
4036
|
-
};
|
|
4037
|
-
}>]>;
|
|
4038
|
-
declare const palletCfArbitrumIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
3753
|
+
declare const palletCfIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
4039
3754
|
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
4040
3755
|
}, "strip", z.ZodTypeAny, {
|
|
4041
3756
|
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
@@ -4345,4 +4060,4 @@ declare const palletCfIngressEgressBoostPoolIdArbitrum: z.ZodObject<{
|
|
|
4345
4060
|
tier: number;
|
|
4346
4061
|
}>;
|
|
4347
4062
|
|
|
4348
|
-
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsArbArbitrumTrackedData, cfChainsBtcBitcoinScript, cfChainsBtcDepositAddress, cfChainsBtcDepositAddressTapscriptPath, cfChainsBtcScriptPubkey, cfChainsBtcUtxo, cfChainsBtcUtxoId, cfChainsBtcUtxoSelectionConsolidationParameters, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateArbitrum, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfChainsSwapOrigin, cfPrimitivesAccountRole, cfPrimitivesBeneficiary, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsArbAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSwapLeg, cfTraitsLiquiditySwapType, dispatchResult, hexString, numberOrHex, numericString,
|
|
4063
|
+
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsArbArbitrumTrackedData, cfChainsBtcBitcoinScript, cfChainsBtcDepositAddress, cfChainsBtcDepositAddressTapscriptPath, cfChainsBtcScriptPubkey, cfChainsBtcUtxo, cfChainsBtcUtxoId, cfChainsBtcUtxoSelectionConsolidationParameters, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateArbitrum, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfChainsSwapOrigin, cfPrimitivesAccountRole, cfPrimitivesBeneficiary, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsArbAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSwapLeg, cfTraitsLiquiditySwapType, dispatchResult, hexString, numberOrHex, numericString, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFundingPalletSafeMode, palletCfIngressEgressBoostPoolIdArbitrum, palletCfIngressEgressBoostPoolIdBitcoin, palletCfIngressEgressBoostPoolIdEthereum, palletCfIngressEgressBoostPoolIdPolkadot, palletCfIngressEgressDepositAction, palletCfIngressEgressDepositIgnoredReason, palletCfIngressEgressDepositWitnessArbitrum, palletCfIngressEgressPalletSafeMode, palletCfLpPalletSafeMode, palletCfPoolsAssetPair, palletCfPoolsIncreaseOrDecreaseRangeOrderChange, palletCfPoolsIncreaseOrDecreaseU128, palletCfPoolsPalletSafeMode, palletCfPoolsRangeOrderChange, palletCfReputationPalletSafeMode, palletCfSwappingCcmFailReason, palletCfSwappingPalletSafeMode, palletCfThresholdSignaturePalletSafeMode, palletCfTokenholderGovernanceProposal, palletCfValidatorPalletSafeMode, palletCfValidatorRotationPhase, palletCfValidatorRotationState, palletCfWitnesserPalletSafeMode, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
|
package/dist/141/common.mjs
CHANGED
|
@@ -226,7 +226,7 @@ var cfChainsSwapOrigin = z.union([
|
|
|
226
226
|
depositBlockHeight: numberOrHex
|
|
227
227
|
})
|
|
228
228
|
}),
|
|
229
|
-
z.object({ __kind: z.literal("Vault"),
|
|
229
|
+
z.object({ __kind: z.literal("Vault"), txHash: hexString })
|
|
230
230
|
]);
|
|
231
231
|
var cfChainsBtcScriptPubkey = z.union([
|
|
232
232
|
z.object({ __kind: z.literal("P2PKH"), value: hexString }),
|
|
@@ -263,55 +263,26 @@ var palletCfSwappingCcmFailReason = simpleEnum([
|
|
|
263
263
|
"InsufficientDepositAmount"
|
|
264
264
|
]);
|
|
265
265
|
var cfPrimitivesChainsAssetsEthAsset = simpleEnum(["Eth", "Flip", "Usdc", "Usdt"]);
|
|
266
|
-
var
|
|
267
|
-
z.object({ __kind: z.literal("Swap"),
|
|
268
|
-
z.object({ __kind: z.literal("LiquidityProvision"),
|
|
266
|
+
var palletCfIngressEgressDepositAction = z.union([
|
|
267
|
+
z.object({ __kind: z.literal("Swap"), swapId: numberOrHex }),
|
|
268
|
+
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
269
269
|
z.object({
|
|
270
270
|
__kind: z.literal("CcmTransfer"),
|
|
271
271
|
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
272
272
|
}),
|
|
273
273
|
z.object({ __kind: z.literal("NoAction") }),
|
|
274
|
-
z.object({
|
|
275
|
-
__kind: z.literal("BoostersCredited"),
|
|
276
|
-
value: z.object({ prewitnessedDepositId: numberOrHex })
|
|
277
|
-
})
|
|
274
|
+
z.object({ __kind: z.literal("BoostersCredited"), prewitnessedDepositId: numberOrHex })
|
|
278
275
|
]);
|
|
279
276
|
var palletCfIngressEgressBoostPoolIdEthereum = z.object({
|
|
280
277
|
asset: cfPrimitivesChainsAssetsEthAsset,
|
|
281
278
|
tier: z.number()
|
|
282
279
|
});
|
|
283
280
|
var cfPrimitivesChainsAssetsDotAsset = simpleEnum(["Dot"]);
|
|
284
|
-
var palletCfPolkadotIngressEgressPalletDepositAction = z.union([
|
|
285
|
-
z.object({ __kind: z.literal("Swap"), value: z.object({ swapId: numberOrHex }) }),
|
|
286
|
-
z.object({ __kind: z.literal("LiquidityProvision"), value: z.object({ lpAccount: accountId }) }),
|
|
287
|
-
z.object({
|
|
288
|
-
__kind: z.literal("CcmTransfer"),
|
|
289
|
-
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
290
|
-
}),
|
|
291
|
-
z.object({ __kind: z.literal("NoAction") }),
|
|
292
|
-
z.object({
|
|
293
|
-
__kind: z.literal("BoostersCredited"),
|
|
294
|
-
value: z.object({ prewitnessedDepositId: numberOrHex })
|
|
295
|
-
})
|
|
296
|
-
]);
|
|
297
281
|
var palletCfIngressEgressBoostPoolIdPolkadot = z.object({
|
|
298
282
|
asset: cfPrimitivesChainsAssetsDotAsset,
|
|
299
283
|
tier: z.number()
|
|
300
284
|
});
|
|
301
285
|
var cfPrimitivesChainsAssetsBtcAsset = simpleEnum(["Btc"]);
|
|
302
|
-
var palletCfBitcoinIngressEgressPalletDepositAction = z.union([
|
|
303
|
-
z.object({ __kind: z.literal("Swap"), value: z.object({ swapId: numberOrHex }) }),
|
|
304
|
-
z.object({ __kind: z.literal("LiquidityProvision"), value: z.object({ lpAccount: accountId }) }),
|
|
305
|
-
z.object({
|
|
306
|
-
__kind: z.literal("CcmTransfer"),
|
|
307
|
-
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
308
|
-
}),
|
|
309
|
-
z.object({ __kind: z.literal("NoAction") }),
|
|
310
|
-
z.object({
|
|
311
|
-
__kind: z.literal("BoostersCredited"),
|
|
312
|
-
value: z.object({ prewitnessedDepositId: numberOrHex })
|
|
313
|
-
})
|
|
314
|
-
]);
|
|
315
286
|
var palletCfIngressEgressBoostPoolIdBitcoin = z.object({
|
|
316
287
|
asset: cfPrimitivesChainsAssetsBtcAsset,
|
|
317
288
|
tier: z.number()
|
|
@@ -321,11 +292,15 @@ var palletCfPoolsRangeOrderChange = z.object({
|
|
|
321
292
|
liquidity: numberOrHex,
|
|
322
293
|
amounts: cfAmmCommonPoolPairsMap
|
|
323
294
|
});
|
|
324
|
-
var
|
|
295
|
+
var palletCfPoolsIncreaseOrDecreaseRangeOrderChange = z.union([
|
|
325
296
|
z.object({ __kind: z.literal("Increase"), value: palletCfPoolsRangeOrderChange }),
|
|
326
297
|
z.object({ __kind: z.literal("Decrease"), value: palletCfPoolsRangeOrderChange })
|
|
327
298
|
]);
|
|
328
299
|
var cfAmmCommonSide = simpleEnum(["Buy", "Sell"]);
|
|
300
|
+
var palletCfPoolsIncreaseOrDecreaseU128 = z.union([
|
|
301
|
+
z.object({ __kind: z.literal("Increase"), value: numberOrHex }),
|
|
302
|
+
z.object({ __kind: z.literal("Decrease"), value: numberOrHex })
|
|
303
|
+
]);
|
|
329
304
|
var palletCfPoolsAssetPair = z.object({ assets: cfAmmCommonPoolPairsMap });
|
|
330
305
|
var cfChainsArbArbitrumTrackedData = z.object({
|
|
331
306
|
baseFee: numberOrHex,
|
|
@@ -348,20 +323,7 @@ var cfChainsEvmSchnorrVerificationComponents = z.object({
|
|
|
348
323
|
s: hexString,
|
|
349
324
|
kTimesGAddress: hexString
|
|
350
325
|
});
|
|
351
|
-
var
|
|
352
|
-
z.object({ __kind: z.literal("Swap"), value: z.object({ swapId: numberOrHex }) }),
|
|
353
|
-
z.object({ __kind: z.literal("LiquidityProvision"), value: z.object({ lpAccount: accountId }) }),
|
|
354
|
-
z.object({
|
|
355
|
-
__kind: z.literal("CcmTransfer"),
|
|
356
|
-
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
357
|
-
}),
|
|
358
|
-
z.object({ __kind: z.literal("NoAction") }),
|
|
359
|
-
z.object({
|
|
360
|
-
__kind: z.literal("BoostersCredited"),
|
|
361
|
-
value: z.object({ prewitnessedDepositId: numberOrHex })
|
|
362
|
-
})
|
|
363
|
-
]);
|
|
364
|
-
var palletCfArbitrumIngressEgressDepositIgnoredReason = simpleEnum([
|
|
326
|
+
var palletCfIngressEgressDepositIgnoredReason = simpleEnum([
|
|
365
327
|
"BelowMinimumDeposit",
|
|
366
328
|
"NotEnoughToPayFees"
|
|
367
329
|
]);
|
|
@@ -419,24 +381,22 @@ export {
|
|
|
419
381
|
hexString,
|
|
420
382
|
numberOrHex,
|
|
421
383
|
numericString,
|
|
422
|
-
palletCfArbitrumIngressEgressDepositIgnoredReason,
|
|
423
|
-
palletCfArbitrumIngressEgressPalletDepositAction,
|
|
424
|
-
palletCfBitcoinIngressEgressPalletDepositAction,
|
|
425
384
|
palletCfBroadcastPalletSafeMode,
|
|
426
385
|
palletCfEmissionsPalletSafeMode,
|
|
427
386
|
palletCfEnvironmentSafeModeUpdate,
|
|
428
|
-
palletCfEthereumIngressEgressPalletDepositAction,
|
|
429
387
|
palletCfFundingPalletSafeMode,
|
|
430
388
|
palletCfIngressEgressBoostPoolIdArbitrum,
|
|
431
389
|
palletCfIngressEgressBoostPoolIdBitcoin,
|
|
432
390
|
palletCfIngressEgressBoostPoolIdEthereum,
|
|
433
391
|
palletCfIngressEgressBoostPoolIdPolkadot,
|
|
392
|
+
palletCfIngressEgressDepositAction,
|
|
393
|
+
palletCfIngressEgressDepositIgnoredReason,
|
|
434
394
|
palletCfIngressEgressDepositWitnessArbitrum,
|
|
435
395
|
palletCfIngressEgressPalletSafeMode,
|
|
436
396
|
palletCfLpPalletSafeMode,
|
|
437
|
-
palletCfPolkadotIngressEgressPalletDepositAction,
|
|
438
397
|
palletCfPoolsAssetPair,
|
|
439
|
-
|
|
398
|
+
palletCfPoolsIncreaseOrDecreaseRangeOrderChange,
|
|
399
|
+
palletCfPoolsIncreaseOrDecreaseU128,
|
|
440
400
|
palletCfPoolsPalletSafeMode,
|
|
441
401
|
palletCfPoolsRangeOrderChange,
|
|
442
402
|
palletCfReputationPalletSafeMode,
|
|
@@ -14,7 +14,7 @@ var ethereumIngressEgressDepositBoosted = _zod.z.object({
|
|
|
14
14
|
channelId: _commoncjs.numberOrHex,
|
|
15
15
|
ingressFee: _commoncjs.numberOrHex,
|
|
16
16
|
boostFee: _commoncjs.numberOrHex,
|
|
17
|
-
action: _commoncjs.
|
|
17
|
+
action: _commoncjs.palletCfIngressEgressDepositAction
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
|