@chainflip/processor 1.4.0 → 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/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/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/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/100/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/100/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/100/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +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 +95 -237
- package/dist/102/validator/palletConfigUpdated.d.ts +95 -237
- 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/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +4 -4
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +4 -4
- 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/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/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/dist/Processor.cjs +2 -2
- package/dist/Processor.mjs +2 -2
- package/dist/types.d.cts +1 -3
- package/dist/types.d.ts +1 -3
- package/package.json +1 -1
|
@@ -15,42 +15,22 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
15
15
|
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
action: z.ZodUnion<[z.ZodObject<{
|
|
17
17
|
__kind: z.ZodLiteral<"Swap">;
|
|
18
|
-
|
|
19
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
swapId: bigint;
|
|
22
|
-
}, {
|
|
23
|
-
swapId: string | number;
|
|
24
|
-
}>;
|
|
18
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
19
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
value: {
|
|
27
|
-
swapId: bigint;
|
|
28
|
-
};
|
|
29
20
|
__kind: "Swap";
|
|
21
|
+
swapId: bigint;
|
|
30
22
|
}, {
|
|
31
|
-
value: {
|
|
32
|
-
swapId: string | number;
|
|
33
|
-
};
|
|
34
23
|
__kind: "Swap";
|
|
24
|
+
swapId: string | number;
|
|
35
25
|
}>, z.ZodObject<{
|
|
36
26
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
37
|
-
|
|
38
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
lpAccount: string;
|
|
41
|
-
}, {
|
|
42
|
-
lpAccount: string;
|
|
43
|
-
}>;
|
|
27
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
44
28
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value: {
|
|
46
|
-
lpAccount: string;
|
|
47
|
-
};
|
|
48
29
|
__kind: "LiquidityProvision";
|
|
30
|
+
lpAccount: string;
|
|
49
31
|
}, {
|
|
50
|
-
value: {
|
|
51
|
-
lpAccount: string;
|
|
52
|
-
};
|
|
53
32
|
__kind: "LiquidityProvision";
|
|
33
|
+
lpAccount: string;
|
|
54
34
|
}>, z.ZodObject<{
|
|
55
35
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
56
36
|
value: z.ZodObject<{
|
|
@@ -88,15 +68,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
88
68
|
depositAddress: `0x${string}`;
|
|
89
69
|
ingressFee: bigint;
|
|
90
70
|
action: {
|
|
91
|
-
value: {
|
|
92
|
-
swapId: bigint;
|
|
93
|
-
};
|
|
94
71
|
__kind: "Swap";
|
|
72
|
+
swapId: bigint;
|
|
95
73
|
} | {
|
|
96
|
-
value: {
|
|
97
|
-
lpAccount: string;
|
|
98
|
-
};
|
|
99
74
|
__kind: "LiquidityProvision";
|
|
75
|
+
lpAccount: string;
|
|
100
76
|
} | {
|
|
101
77
|
value: {
|
|
102
78
|
principalSwapId?: bigint | null | undefined;
|
|
@@ -114,15 +90,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
114
90
|
depositAddress: string;
|
|
115
91
|
ingressFee: string | number;
|
|
116
92
|
action: {
|
|
117
|
-
value: {
|
|
118
|
-
swapId: string | number;
|
|
119
|
-
};
|
|
120
93
|
__kind: "Swap";
|
|
94
|
+
swapId: string | number;
|
|
121
95
|
} | {
|
|
122
|
-
value: {
|
|
123
|
-
lpAccount: string;
|
|
124
|
-
};
|
|
125
96
|
__kind: "LiquidityProvision";
|
|
97
|
+
lpAccount: string;
|
|
126
98
|
} | {
|
|
127
99
|
value: {
|
|
128
100
|
principalSwapId?: string | number | null | undefined;
|
|
@@ -15,42 +15,22 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
15
15
|
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
action: z.ZodUnion<[z.ZodObject<{
|
|
17
17
|
__kind: z.ZodLiteral<"Swap">;
|
|
18
|
-
|
|
19
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
swapId: bigint;
|
|
22
|
-
}, {
|
|
23
|
-
swapId: string | number;
|
|
24
|
-
}>;
|
|
18
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
19
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
value: {
|
|
27
|
-
swapId: bigint;
|
|
28
|
-
};
|
|
29
20
|
__kind: "Swap";
|
|
21
|
+
swapId: bigint;
|
|
30
22
|
}, {
|
|
31
|
-
value: {
|
|
32
|
-
swapId: string | number;
|
|
33
|
-
};
|
|
34
23
|
__kind: "Swap";
|
|
24
|
+
swapId: string | number;
|
|
35
25
|
}>, z.ZodObject<{
|
|
36
26
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
37
|
-
|
|
38
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
lpAccount: string;
|
|
41
|
-
}, {
|
|
42
|
-
lpAccount: string;
|
|
43
|
-
}>;
|
|
27
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
44
28
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value: {
|
|
46
|
-
lpAccount: string;
|
|
47
|
-
};
|
|
48
29
|
__kind: "LiquidityProvision";
|
|
30
|
+
lpAccount: string;
|
|
49
31
|
}, {
|
|
50
|
-
value: {
|
|
51
|
-
lpAccount: string;
|
|
52
|
-
};
|
|
53
32
|
__kind: "LiquidityProvision";
|
|
33
|
+
lpAccount: string;
|
|
54
34
|
}>, z.ZodObject<{
|
|
55
35
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
56
36
|
value: z.ZodObject<{
|
|
@@ -88,15 +68,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
88
68
|
depositAddress: `0x${string}`;
|
|
89
69
|
ingressFee: bigint;
|
|
90
70
|
action: {
|
|
91
|
-
value: {
|
|
92
|
-
swapId: bigint;
|
|
93
|
-
};
|
|
94
71
|
__kind: "Swap";
|
|
72
|
+
swapId: bigint;
|
|
95
73
|
} | {
|
|
96
|
-
value: {
|
|
97
|
-
lpAccount: string;
|
|
98
|
-
};
|
|
99
74
|
__kind: "LiquidityProvision";
|
|
75
|
+
lpAccount: string;
|
|
100
76
|
} | {
|
|
101
77
|
value: {
|
|
102
78
|
principalSwapId?: bigint | null | undefined;
|
|
@@ -114,15 +90,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
114
90
|
depositAddress: string;
|
|
115
91
|
ingressFee: string | number;
|
|
116
92
|
action: {
|
|
117
|
-
value: {
|
|
118
|
-
swapId: string | number;
|
|
119
|
-
};
|
|
120
93
|
__kind: "Swap";
|
|
94
|
+
swapId: string | number;
|
|
121
95
|
} | {
|
|
122
|
-
value: {
|
|
123
|
-
lpAccount: string;
|
|
124
|
-
};
|
|
125
96
|
__kind: "LiquidityProvision";
|
|
97
|
+
lpAccount: string;
|
|
126
98
|
} | {
|
|
127
99
|
value: {
|
|
128
100
|
principalSwapId?: string | number | null | undefined;
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
cfPrimitivesChainsAssetsEthAsset,
|
|
5
5
|
hexString,
|
|
6
6
|
numberOrHex,
|
|
7
|
-
|
|
7
|
+
palletCfIngressEgressDepositAction
|
|
8
8
|
} from "../common.mjs";
|
|
9
9
|
var ethereumIngressEgressDepositReceived = z.object({
|
|
10
10
|
depositAddress: hexString,
|
|
11
11
|
asset: cfPrimitivesChainsAssetsEthAsset,
|
|
12
12
|
amount: numberOrHex,
|
|
13
13
|
ingressFee: numberOrHex,
|
|
14
|
-
action:
|
|
14
|
+
action: palletCfIngressEgressDepositAction
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
17
|
ethereumIngressEgressDepositReceived
|
|
@@ -10,7 +10,7 @@ var polkadotIngressEgressDepositIgnored = _zod.z.object({
|
|
|
10
10
|
depositAddress: _commoncjs.hexString,
|
|
11
11
|
asset: _commoncjs.cfPrimitivesChainsAssetsDotAsset,
|
|
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
|
cfPrimitivesChainsAssetsDotAsset,
|
|
5
5
|
hexString,
|
|
6
6
|
numberOrHex,
|
|
7
|
-
|
|
7
|
+
palletCfIngressEgressDepositIgnoredReason
|
|
8
8
|
} from "../common.mjs";
|
|
9
9
|
var polkadotIngressEgressDepositIgnored = z.object({
|
|
10
10
|
depositAddress: hexString,
|
|
11
11
|
asset: cfPrimitivesChainsAssetsDotAsset,
|
|
12
12
|
amount: numberOrHex,
|
|
13
|
-
reason:
|
|
13
|
+
reason: palletCfIngressEgressDepositIgnoredReason
|
|
14
14
|
});
|
|
15
15
|
export {
|
|
16
16
|
polkadotIngressEgressDepositIgnored
|
|
@@ -11,7 +11,7 @@ var polkadotIngressEgressDepositReceived = _zod.z.object({
|
|
|
11
11
|
asset: _commoncjs.cfPrimitivesChainsAssetsDotAsset,
|
|
12
12
|
amount: _commoncjs.numberOrHex,
|
|
13
13
|
ingressFee: _commoncjs.numberOrHex,
|
|
14
|
-
action: _commoncjs.
|
|
14
|
+
action: _commoncjs.palletCfIngressEgressDepositAction
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
|
|
@@ -15,42 +15,22 @@ declare const polkadotIngressEgressDepositReceived: z.ZodObject<{
|
|
|
15
15
|
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
action: z.ZodUnion<[z.ZodObject<{
|
|
17
17
|
__kind: z.ZodLiteral<"Swap">;
|
|
18
|
-
|
|
19
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
swapId: bigint;
|
|
22
|
-
}, {
|
|
23
|
-
swapId: string | number;
|
|
24
|
-
}>;
|
|
18
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
19
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
value: {
|
|
27
|
-
swapId: bigint;
|
|
28
|
-
};
|
|
29
20
|
__kind: "Swap";
|
|
21
|
+
swapId: bigint;
|
|
30
22
|
}, {
|
|
31
|
-
value: {
|
|
32
|
-
swapId: string | number;
|
|
33
|
-
};
|
|
34
23
|
__kind: "Swap";
|
|
24
|
+
swapId: string | number;
|
|
35
25
|
}>, z.ZodObject<{
|
|
36
26
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
37
|
-
|
|
38
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
lpAccount: string;
|
|
41
|
-
}, {
|
|
42
|
-
lpAccount: string;
|
|
43
|
-
}>;
|
|
27
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
44
28
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value: {
|
|
46
|
-
lpAccount: string;
|
|
47
|
-
};
|
|
48
29
|
__kind: "LiquidityProvision";
|
|
30
|
+
lpAccount: string;
|
|
49
31
|
}, {
|
|
50
|
-
value: {
|
|
51
|
-
lpAccount: string;
|
|
52
|
-
};
|
|
53
32
|
__kind: "LiquidityProvision";
|
|
33
|
+
lpAccount: string;
|
|
54
34
|
}>, z.ZodObject<{
|
|
55
35
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
56
36
|
value: z.ZodObject<{
|
|
@@ -88,15 +68,11 @@ declare const polkadotIngressEgressDepositReceived: z.ZodObject<{
|
|
|
88
68
|
depositAddress: `0x${string}`;
|
|
89
69
|
ingressFee: bigint;
|
|
90
70
|
action: {
|
|
91
|
-
value: {
|
|
92
|
-
swapId: bigint;
|
|
93
|
-
};
|
|
94
71
|
__kind: "Swap";
|
|
72
|
+
swapId: bigint;
|
|
95
73
|
} | {
|
|
96
|
-
value: {
|
|
97
|
-
lpAccount: string;
|
|
98
|
-
};
|
|
99
74
|
__kind: "LiquidityProvision";
|
|
75
|
+
lpAccount: string;
|
|
100
76
|
} | {
|
|
101
77
|
value: {
|
|
102
78
|
principalSwapId?: bigint | null | undefined;
|
|
@@ -114,15 +90,11 @@ declare const polkadotIngressEgressDepositReceived: z.ZodObject<{
|
|
|
114
90
|
depositAddress: string;
|
|
115
91
|
ingressFee: string | number;
|
|
116
92
|
action: {
|
|
117
|
-
value: {
|
|
118
|
-
swapId: string | number;
|
|
119
|
-
};
|
|
120
93
|
__kind: "Swap";
|
|
94
|
+
swapId: string | number;
|
|
121
95
|
} | {
|
|
122
|
-
value: {
|
|
123
|
-
lpAccount: string;
|
|
124
|
-
};
|
|
125
96
|
__kind: "LiquidityProvision";
|
|
97
|
+
lpAccount: string;
|
|
126
98
|
} | {
|
|
127
99
|
value: {
|
|
128
100
|
principalSwapId?: string | number | null | undefined;
|
|
@@ -15,42 +15,22 @@ declare const polkadotIngressEgressDepositReceived: z.ZodObject<{
|
|
|
15
15
|
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
action: z.ZodUnion<[z.ZodObject<{
|
|
17
17
|
__kind: z.ZodLiteral<"Swap">;
|
|
18
|
-
|
|
19
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
swapId: bigint;
|
|
22
|
-
}, {
|
|
23
|
-
swapId: string | number;
|
|
24
|
-
}>;
|
|
18
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
19
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
value: {
|
|
27
|
-
swapId: bigint;
|
|
28
|
-
};
|
|
29
20
|
__kind: "Swap";
|
|
21
|
+
swapId: bigint;
|
|
30
22
|
}, {
|
|
31
|
-
value: {
|
|
32
|
-
swapId: string | number;
|
|
33
|
-
};
|
|
34
23
|
__kind: "Swap";
|
|
24
|
+
swapId: string | number;
|
|
35
25
|
}>, z.ZodObject<{
|
|
36
26
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
37
|
-
|
|
38
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
lpAccount: string;
|
|
41
|
-
}, {
|
|
42
|
-
lpAccount: string;
|
|
43
|
-
}>;
|
|
27
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
44
28
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value: {
|
|
46
|
-
lpAccount: string;
|
|
47
|
-
};
|
|
48
29
|
__kind: "LiquidityProvision";
|
|
30
|
+
lpAccount: string;
|
|
49
31
|
}, {
|
|
50
|
-
value: {
|
|
51
|
-
lpAccount: string;
|
|
52
|
-
};
|
|
53
32
|
__kind: "LiquidityProvision";
|
|
33
|
+
lpAccount: string;
|
|
54
34
|
}>, z.ZodObject<{
|
|
55
35
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
56
36
|
value: z.ZodObject<{
|
|
@@ -88,15 +68,11 @@ declare const polkadotIngressEgressDepositReceived: z.ZodObject<{
|
|
|
88
68
|
depositAddress: `0x${string}`;
|
|
89
69
|
ingressFee: bigint;
|
|
90
70
|
action: {
|
|
91
|
-
value: {
|
|
92
|
-
swapId: bigint;
|
|
93
|
-
};
|
|
94
71
|
__kind: "Swap";
|
|
72
|
+
swapId: bigint;
|
|
95
73
|
} | {
|
|
96
|
-
value: {
|
|
97
|
-
lpAccount: string;
|
|
98
|
-
};
|
|
99
74
|
__kind: "LiquidityProvision";
|
|
75
|
+
lpAccount: string;
|
|
100
76
|
} | {
|
|
101
77
|
value: {
|
|
102
78
|
principalSwapId?: bigint | null | undefined;
|
|
@@ -114,15 +90,11 @@ declare const polkadotIngressEgressDepositReceived: z.ZodObject<{
|
|
|
114
90
|
depositAddress: string;
|
|
115
91
|
ingressFee: string | number;
|
|
116
92
|
action: {
|
|
117
|
-
value: {
|
|
118
|
-
swapId: string | number;
|
|
119
|
-
};
|
|
120
93
|
__kind: "Swap";
|
|
94
|
+
swapId: string | number;
|
|
121
95
|
} | {
|
|
122
|
-
value: {
|
|
123
|
-
lpAccount: string;
|
|
124
|
-
};
|
|
125
96
|
__kind: "LiquidityProvision";
|
|
97
|
+
lpAccount: string;
|
|
126
98
|
} | {
|
|
127
99
|
value: {
|
|
128
100
|
principalSwapId?: string | number | null | undefined;
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
cfPrimitivesChainsAssetsDotAsset,
|
|
5
5
|
hexString,
|
|
6
6
|
numberOrHex,
|
|
7
|
-
|
|
7
|
+
palletCfIngressEgressDepositAction
|
|
8
8
|
} from "../common.mjs";
|
|
9
9
|
var polkadotIngressEgressDepositReceived = z.object({
|
|
10
10
|
depositAddress: hexString,
|
|
11
11
|
asset: cfPrimitivesChainsAssetsDotAsset,
|
|
12
12
|
amount: numberOrHex,
|
|
13
13
|
ingressFee: numberOrHex,
|
|
14
|
-
action:
|
|
14
|
+
action: palletCfIngressEgressDepositAction
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
17
|
polkadotIngressEgressDepositReceived
|
|
@@ -155,7 +155,6 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
155
155
|
__kind: "RootNotAllowed";
|
|
156
156
|
}>]>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
swapId: bigint;
|
|
159
158
|
amount: bigint;
|
|
160
159
|
reason: {
|
|
161
160
|
__kind: "Other";
|
|
@@ -193,9 +192,9 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
193
192
|
} | {
|
|
194
193
|
__kind: "RootNotAllowed";
|
|
195
194
|
};
|
|
195
|
+
swapId: bigint;
|
|
196
196
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
197
197
|
}, {
|
|
198
|
-
swapId: string | number;
|
|
199
198
|
amount: string | number;
|
|
200
199
|
reason: {
|
|
201
200
|
__kind: "Other";
|
|
@@ -239,6 +238,7 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
239
238
|
} | {
|
|
240
239
|
__kind: "RootNotAllowed";
|
|
241
240
|
};
|
|
241
|
+
swapId: string | number;
|
|
242
242
|
asset: {
|
|
243
243
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
244
244
|
};
|
|
@@ -155,7 +155,6 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
155
155
|
__kind: "RootNotAllowed";
|
|
156
156
|
}>]>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
swapId: bigint;
|
|
159
158
|
amount: bigint;
|
|
160
159
|
reason: {
|
|
161
160
|
__kind: "Other";
|
|
@@ -193,9 +192,9 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
193
192
|
} | {
|
|
194
193
|
__kind: "RootNotAllowed";
|
|
195
194
|
};
|
|
195
|
+
swapId: bigint;
|
|
196
196
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
197
197
|
}, {
|
|
198
|
-
swapId: string | number;
|
|
199
198
|
amount: string | number;
|
|
200
199
|
reason: {
|
|
201
200
|
__kind: "Other";
|
|
@@ -239,6 +238,7 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
239
238
|
} | {
|
|
240
239
|
__kind: "RootNotAllowed";
|
|
241
240
|
};
|
|
241
|
+
swapId: string | number;
|
|
242
242
|
asset: {
|
|
243
243
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
244
244
|
};
|
|
@@ -23,17 +23,17 @@ declare const swappingSwapEgressScheduled: z.ZodObject<{
|
|
|
23
23
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
24
|
fee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
swapId: bigint;
|
|
27
26
|
amount: bigint;
|
|
28
27
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin", bigint];
|
|
28
|
+
swapId: bigint;
|
|
29
29
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
30
30
|
fee: bigint;
|
|
31
31
|
}, {
|
|
32
|
-
swapId: string | number;
|
|
33
32
|
amount: string | number;
|
|
34
33
|
egressId: [{
|
|
35
34
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
36
35
|
}, string | number];
|
|
36
|
+
swapId: string | number;
|
|
37
37
|
asset: {
|
|
38
38
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
39
39
|
};
|
|
@@ -23,17 +23,17 @@ declare const swappingSwapEgressScheduled: z.ZodObject<{
|
|
|
23
23
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
24
|
fee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
swapId: bigint;
|
|
27
26
|
amount: bigint;
|
|
28
27
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin", bigint];
|
|
28
|
+
swapId: bigint;
|
|
29
29
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
30
30
|
fee: bigint;
|
|
31
31
|
}, {
|
|
32
|
-
swapId: string | number;
|
|
33
32
|
amount: string | number;
|
|
34
33
|
egressId: [{
|
|
35
34
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
36
35
|
}, string | number];
|
|
36
|
+
swapId: string | number;
|
|
37
37
|
asset: {
|
|
38
38
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
39
39
|
};
|
|
@@ -12,7 +12,7 @@ var bitcoinIngressEgressDepositIgnored = _zod.z.object({
|
|
|
12
12
|
asset: _commoncjs.cfPrimitivesChainsAssetsBtcAsset,
|
|
13
13
|
amount: _commoncjs.numberOrHex,
|
|
14
14
|
depositDetails: _commoncjs.cfChainsBtcUtxoId,
|
|
15
|
-
reason: _commoncjs.
|
|
15
|
+
reason: _commoncjs.palletCfIngressEgressDepositIgnoredReason
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
cfChainsBtcUtxoId,
|
|
6
6
|
cfPrimitivesChainsAssetsBtcAsset,
|
|
7
7
|
numberOrHex,
|
|
8
|
-
|
|
8
|
+
palletCfIngressEgressDepositIgnoredReason
|
|
9
9
|
} from "../common.mjs";
|
|
10
10
|
var bitcoinIngressEgressDepositIgnored = z.object({
|
|
11
11
|
depositAddress: cfChainsBtcScriptPubkey,
|
|
12
12
|
asset: cfPrimitivesChainsAssetsBtcAsset,
|
|
13
13
|
amount: numberOrHex,
|
|
14
14
|
depositDetails: cfChainsBtcUtxoId,
|
|
15
|
-
reason:
|
|
15
|
+
reason: palletCfIngressEgressDepositIgnoredReason
|
|
16
16
|
});
|
|
17
17
|
export {
|
|
18
18
|
bitcoinIngressEgressDepositIgnored
|
|
@@ -13,7 +13,7 @@ var bitcoinIngressEgressDepositReceived = _zod.z.object({
|
|
|
13
13
|
amount: _commoncjs.numberOrHex,
|
|
14
14
|
depositDetails: _commoncjs.cfChainsBtcUtxoId,
|
|
15
15
|
ingressFee: _commoncjs.numberOrHex,
|
|
16
|
-
action: _commoncjs.
|
|
16
|
+
action: _commoncjs.palletCfIngressEgressDepositAction
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
|
|
@@ -94,42 +94,22 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
|
|
|
94
94
|
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
95
95
|
action: z.ZodUnion<[z.ZodObject<{
|
|
96
96
|
__kind: z.ZodLiteral<"Swap">;
|
|
97
|
-
|
|
98
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
99
|
-
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
swapId: bigint;
|
|
101
|
-
}, {
|
|
102
|
-
swapId: string | number;
|
|
103
|
-
}>;
|
|
97
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
104
98
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
value: {
|
|
106
|
-
swapId: bigint;
|
|
107
|
-
};
|
|
108
99
|
__kind: "Swap";
|
|
100
|
+
swapId: bigint;
|
|
109
101
|
}, {
|
|
110
|
-
value: {
|
|
111
|
-
swapId: string | number;
|
|
112
|
-
};
|
|
113
102
|
__kind: "Swap";
|
|
103
|
+
swapId: string | number;
|
|
114
104
|
}>, z.ZodObject<{
|
|
115
105
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
116
|
-
|
|
117
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
118
|
-
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
lpAccount: string;
|
|
120
|
-
}, {
|
|
121
|
-
lpAccount: string;
|
|
122
|
-
}>;
|
|
106
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
123
107
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
value: {
|
|
125
|
-
lpAccount: string;
|
|
126
|
-
};
|
|
127
108
|
__kind: "LiquidityProvision";
|
|
109
|
+
lpAccount: string;
|
|
128
110
|
}, {
|
|
129
|
-
value: {
|
|
130
|
-
lpAccount: string;
|
|
131
|
-
};
|
|
132
111
|
__kind: "LiquidityProvision";
|
|
112
|
+
lpAccount: string;
|
|
133
113
|
}>, z.ZodObject<{
|
|
134
114
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
135
115
|
value: z.ZodObject<{
|
|
@@ -192,15 +172,11 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
|
|
|
192
172
|
};
|
|
193
173
|
ingressFee: bigint;
|
|
194
174
|
action: {
|
|
195
|
-
value: {
|
|
196
|
-
swapId: bigint;
|
|
197
|
-
};
|
|
198
175
|
__kind: "Swap";
|
|
176
|
+
swapId: bigint;
|
|
199
177
|
} | {
|
|
200
|
-
value: {
|
|
201
|
-
lpAccount: string;
|
|
202
|
-
};
|
|
203
178
|
__kind: "LiquidityProvision";
|
|
179
|
+
lpAccount: string;
|
|
204
180
|
} | {
|
|
205
181
|
value: {
|
|
206
182
|
principalSwapId?: bigint | null | undefined;
|
|
@@ -243,15 +219,11 @@ declare const bitcoinIngressEgressDepositReceived: z.ZodObject<{
|
|
|
243
219
|
};
|
|
244
220
|
ingressFee: string | number;
|
|
245
221
|
action: {
|
|
246
|
-
value: {
|
|
247
|
-
swapId: string | number;
|
|
248
|
-
};
|
|
249
222
|
__kind: "Swap";
|
|
223
|
+
swapId: string | number;
|
|
250
224
|
} | {
|
|
251
|
-
value: {
|
|
252
|
-
lpAccount: string;
|
|
253
|
-
};
|
|
254
225
|
__kind: "LiquidityProvision";
|
|
226
|
+
lpAccount: string;
|
|
255
227
|
} | {
|
|
256
228
|
value: {
|
|
257
229
|
principalSwapId?: string | number | null | undefined;
|