@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.
Files changed (151) hide show
  1. package/dist/100/common.cjs +16 -26
  2. package/dist/100/common.d.cts +84 -171
  3. package/dist/100/common.d.ts +84 -171
  4. package/dist/100/common.mjs +16 -26
  5. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  6. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  7. package/dist/100/funding/funded.d.cts +2 -2
  8. package/dist/100/funding/funded.d.ts +2 -2
  9. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  10. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  11. package/dist/100/liquidityPools/limitOrderUpdated.cjs +1 -1
  12. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +10 -106
  13. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +10 -106
  14. package/dist/100/liquidityPools/limitOrderUpdated.mjs +2 -2
  15. package/dist/100/liquidityPools/rangeOrderUpdated.cjs +1 -1
  16. package/dist/100/liquidityPools/rangeOrderUpdated.mjs +2 -2
  17. package/dist/100/liquidityProvider/accountCredited.d.cts +2 -2
  18. package/dist/100/liquidityProvider/accountCredited.d.ts +2 -2
  19. package/dist/100/liquidityProvider/accountDebited.d.cts +2 -2
  20. package/dist/100/liquidityProvider/accountDebited.d.ts +2 -2
  21. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  22. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  23. package/dist/100/swapping/swapAmountTooLow.d.cts +5 -19
  24. package/dist/100/swapping/swapAmountTooLow.d.ts +5 -19
  25. package/dist/100/swapping/swapScheduled.d.cts +5 -19
  26. package/dist/100/swapping/swapScheduled.d.ts +5 -19
  27. package/dist/100/validator/palletConfigUpdated.d.cts +90 -218
  28. package/dist/100/validator/palletConfigUpdated.d.ts +90 -218
  29. package/dist/102/common.cjs +9 -27
  30. package/dist/102/common.d.cts +61 -167
  31. package/dist/102/common.d.ts +61 -167
  32. package/dist/102/common.mjs +9 -27
  33. package/dist/102/validator/palletConfigUpdated.d.cts +95 -237
  34. package/dist/102/validator/palletConfigUpdated.d.ts +95 -237
  35. package/dist/111/common.cjs +7 -2
  36. package/dist/111/common.d.cts +21 -2
  37. package/dist/111/common.d.ts +21 -2
  38. package/dist/111/common.mjs +7 -2
  39. package/dist/111/liquidityPools/limitOrderUpdated.cjs +1 -1
  40. package/dist/111/liquidityPools/limitOrderUpdated.d.cts +10 -106
  41. package/dist/111/liquidityPools/limitOrderUpdated.d.ts +10 -106
  42. package/dist/111/liquidityPools/limitOrderUpdated.mjs +2 -2
  43. package/dist/111/liquidityPools/rangeOrderUpdated.cjs +1 -1
  44. package/dist/111/liquidityPools/rangeOrderUpdated.mjs +2 -2
  45. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +4 -4
  46. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +4 -4
  47. package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  48. package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  49. package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
  50. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  51. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  52. package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
  53. package/dist/120/common.cjs +5 -35
  54. package/dist/120/common.d.cts +9 -185
  55. package/dist/120/common.d.ts +9 -185
  56. package/dist/120/common.mjs +6 -36
  57. package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
  58. package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
  59. package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
  60. package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -38
  61. package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -38
  62. package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
  63. package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
  64. package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
  65. package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
  66. package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -38
  67. package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -38
  68. package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
  69. package/dist/120/swapping/swapEgressIgnored.d.cts +2 -2
  70. package/dist/120/swapping/swapEgressIgnored.d.ts +2 -2
  71. package/dist/120/swapping/swapEgressScheduled.d.cts +2 -2
  72. package/dist/120/swapping/swapEgressScheduled.d.ts +2 -2
  73. package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  74. package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  75. package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
  76. package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  77. package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  78. package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
  79. package/dist/131/common.cjs +11 -21
  80. package/dist/131/common.d.cts +32 -121
  81. package/dist/131/common.d.ts +32 -121
  82. package/dist/131/common.mjs +14 -24
  83. package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
  84. package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
  85. package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
  86. package/dist/131/ethereumIngressEgress/depositReceived.d.cts +10 -38
  87. package/dist/131/ethereumIngressEgress/depositReceived.d.ts +10 -38
  88. package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
  89. package/dist/131/liquidityPools/limitOrderUpdated.cjs +1 -1
  90. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -106
  91. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -106
  92. package/dist/131/liquidityPools/limitOrderUpdated.mjs +2 -2
  93. package/dist/131/liquidityPools/rangeOrderUpdated.cjs +1 -1
  94. package/dist/131/liquidityPools/rangeOrderUpdated.mjs +2 -2
  95. package/dist/131/swapping/ccmFailed.d.cts +5 -19
  96. package/dist/131/swapping/ccmFailed.d.ts +5 -19
  97. package/dist/131/swapping/swapScheduled.d.cts +5 -19
  98. package/dist/131/swapping/swapScheduled.d.ts +5 -19
  99. package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
  100. package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +15 -57
  101. package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +15 -57
  102. package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
  103. package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
  104. package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +15 -57
  105. package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +15 -57
  106. package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
  107. package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
  108. package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
  109. package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
  110. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +15 -57
  111. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +15 -57
  112. package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
  113. package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
  114. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +15 -57
  115. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +15 -57
  116. package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
  117. package/dist/141/common.cjs +12 -52
  118. package/dist/141/common.d.cts +35 -320
  119. package/dist/141/common.d.ts +35 -320
  120. package/dist/141/common.mjs +15 -55
  121. package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
  122. package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +15 -57
  123. package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +15 -57
  124. package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
  125. package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
  126. package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +15 -57
  127. package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +15 -57
  128. package/dist/141/ethereumIngressEgress/depositFinalised.mjs +2 -2
  129. package/dist/141/liquidityPools/limitOrderUpdated.cjs +1 -1
  130. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -106
  131. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -106
  132. package/dist/141/liquidityPools/limitOrderUpdated.mjs +2 -2
  133. package/dist/141/liquidityPools/rangeOrderUpdated.cjs +1 -1
  134. package/dist/141/liquidityPools/rangeOrderUpdated.mjs +2 -2
  135. package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
  136. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +15 -57
  137. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +15 -57
  138. package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
  139. package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
  140. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +15 -57
  141. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +15 -57
  142. package/dist/141/polkadotIngressEgress/depositFinalised.mjs +2 -2
  143. package/dist/141/swapping/ccmFailed.d.cts +5 -19
  144. package/dist/141/swapping/ccmFailed.d.ts +5 -19
  145. package/dist/141/swapping/swapScheduled.d.cts +5 -19
  146. package/dist/141/swapping/swapScheduled.d.ts +5 -19
  147. package/dist/Processor.cjs +2 -2
  148. package/dist/Processor.mjs +2 -2
  149. package/dist/types.d.cts +1 -3
  150. package/dist/types.d.ts +1 -3
  151. 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
- value: z.ZodObject<{
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
- value: z.ZodObject<{
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
- value: z.ZodObject<{
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
- value: z.ZodObject<{
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
- palletCfEthereumIngressEgressPalletDepositAction
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: palletCfEthereumIngressEgressPalletDepositAction
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.palletCfPolkadotIngressEgressDepositIgnoredReason
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
- palletCfPolkadotIngressEgressDepositIgnoredReason
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: palletCfPolkadotIngressEgressDepositIgnoredReason
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.palletCfPolkadotIngressEgressPalletDepositAction
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
- value: z.ZodObject<{
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
- value: z.ZodObject<{
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
- value: z.ZodObject<{
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
- value: z.ZodObject<{
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
- palletCfPolkadotIngressEgressPalletDepositAction
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: palletCfPolkadotIngressEgressPalletDepositAction
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.palletCfBitcoinIngressEgressDepositIgnoredReason
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
- palletCfBitcoinIngressEgressDepositIgnoredReason
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: palletCfBitcoinIngressEgressDepositIgnoredReason
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.palletCfBitcoinIngressEgressPalletDepositAction
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
- value: z.ZodObject<{
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
- value: z.ZodObject<{
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;