@chainflip/processor 1.8.4 → 1.8.6

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 (164) hide show
  1. package/README.MD +13 -1
  2. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  3. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  4. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  5. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  6. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  7. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  8. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  9. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  10. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  11. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  12. package/dist/100/flip/remainingImbalance.d.cts +22 -22
  13. package/dist/100/flip/remainingImbalance.d.ts +22 -22
  14. package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
  15. package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
  16. package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
  17. package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
  18. package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
  19. package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
  20. package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
  21. package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
  22. package/dist/131/swapping/swapDepositAddressReady.d.cts +18 -18
  23. package/dist/131/swapping/swapDepositAddressReady.d.ts +18 -18
  24. package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
  25. package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
  26. package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
  27. package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
  28. package/dist/131/swapping/swapExecuted.d.cts +12 -12
  29. package/dist/131/swapping/swapExecuted.d.ts +12 -12
  30. package/dist/131/swapping/swapScheduled.d.cts +14 -14
  31. package/dist/131/swapping/swapScheduled.d.ts +14 -14
  32. package/dist/131/swapping/withdrawalRequested.d.cts +6 -6
  33. package/dist/131/swapping/withdrawalRequested.d.ts +6 -6
  34. package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
  35. package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
  36. package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
  37. package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
  38. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  39. package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  40. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  41. package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  42. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  43. package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  44. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  45. package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  46. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -10
  47. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -10
  48. package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  49. package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +10 -10
  50. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
  51. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
  52. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
  53. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
  54. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  55. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
  56. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  57. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  58. package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
  59. package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
  60. package/dist/141/swapping/ccmDepositReceived.d.cts +68 -68
  61. package/dist/141/swapping/ccmDepositReceived.d.ts +68 -68
  62. package/dist/141/swapping/ccmFailed.d.cts +73 -73
  63. package/dist/141/swapping/ccmFailed.d.ts +73 -73
  64. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  65. package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
  66. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  67. package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
  68. package/dist/141/swapping/swapDepositAddressReady.d.cts +26 -26
  69. package/dist/141/swapping/swapDepositAddressReady.d.ts +26 -26
  70. package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
  71. package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
  72. package/dist/141/swapping/swapEgressScheduled.d.cts +8 -8
  73. package/dist/141/swapping/swapEgressScheduled.d.ts +8 -8
  74. package/dist/141/swapping/swapExecuted.d.cts +90 -90
  75. package/dist/141/swapping/swapExecuted.d.ts +90 -90
  76. package/dist/141/swapping/swapScheduled.d.cts +99 -99
  77. package/dist/141/swapping/swapScheduled.d.ts +99 -99
  78. package/dist/141/swapping/withdrawalRequested.d.cts +10 -10
  79. package/dist/141/swapping/withdrawalRequested.d.ts +10 -10
  80. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
  81. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
  82. package/dist/150/solanaIngressEgress/depositBoosted.d.cts +4 -4
  83. package/dist/150/solanaIngressEgress/depositBoosted.d.ts +4 -4
  84. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
  85. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
  86. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +3 -3
  87. package/dist/150/solanaIngressEgress/depositFinalised.d.ts +3 -3
  88. package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
  89. package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
  90. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
  91. package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
  92. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  93. package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  94. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  95. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  96. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
  97. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.ts +2 -2
  98. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
  99. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
  100. package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
  101. package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
  102. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  103. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  104. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  105. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  106. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  107. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  108. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  109. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  110. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.cts +11 -11
  111. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.ts +11 -11
  112. package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +9 -421
  113. package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +9 -421
  114. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
  115. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
  116. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +11 -11
  117. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +11 -11
  118. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +110 -313
  119. package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +110 -313
  120. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
  121. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
  122. package/dist/180/common.cjs +56 -9
  123. package/dist/180/common.d.cts +1127 -3872
  124. package/dist/180/common.d.ts +1127 -3872
  125. package/dist/180/common.mjs +56 -9
  126. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +11 -11
  127. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +11 -11
  128. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +9 -421
  129. package/dist/180/ethereumIngressEgress/depositFailed.d.ts +9 -421
  130. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
  131. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
  132. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.cts +11 -11
  133. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.ts +11 -11
  134. package/dist/180/polkadotIngressEgress/depositFailed.d.cts +9 -421
  135. package/dist/180/polkadotIngressEgress/depositFailed.d.ts +9 -421
  136. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
  137. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
  138. package/dist/180/solanaElections/unknownElection.cjs +13 -0
  139. package/dist/180/solanaElections/unknownElection.d.cts +47 -0
  140. package/dist/180/solanaElections/unknownElection.d.ts +47 -0
  141. package/dist/180/solanaElections/unknownElection.mjs +13 -0
  142. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.cts +11 -11
  143. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.ts +11 -11
  144. package/dist/180/solanaIngressEgress/depositFailed.d.cts +9 -421
  145. package/dist/180/solanaIngressEgress/depositFailed.d.ts +9 -421
  146. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
  147. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
  148. package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.cjs +19 -0
  149. package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.d.cts +107 -0
  150. package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.d.ts +107 -0
  151. package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.mjs +19 -0
  152. package/dist/180/swapping/affiliateRegistration.cjs +12 -0
  153. package/dist/180/swapping/affiliateRegistration.d.cts +20 -0
  154. package/dist/180/swapping/affiliateRegistration.d.ts +20 -0
  155. package/dist/180/swapping/affiliateRegistration.mjs +12 -0
  156. package/dist/180/swapping/withdrawalRequested.cjs +20 -0
  157. package/dist/180/swapping/withdrawalRequested.d.cts +91 -0
  158. package/dist/180/swapping/withdrawalRequested.d.ts +91 -0
  159. package/dist/180/swapping/withdrawalRequested.mjs +20 -0
  160. package/package.json +1 -1
  161. package/dist/180/swapping/affiliateRegistrationUpdated.cjs +0 -12
  162. package/dist/180/swapping/affiliateRegistrationUpdated.d.cts +0 -20
  163. package/dist/180/swapping/affiliateRegistrationUpdated.d.ts +0 -20
  164. package/dist/180/swapping/affiliateRegistrationUpdated.mjs +0 -12
@@ -0,0 +1,107 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const solanaThresholdSignerThresholdSignatureRequest: z.ZodObject<{
4
+ requestId: z.ZodNumber;
5
+ ceremonyId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
6
+ epoch: z.ZodNumber;
7
+ key: z.ZodEffects<z.ZodString, `0x${string}`, string>;
8
+ signatories: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
9
+ payload: z.ZodObject<{
10
+ header: z.ZodObject<{
11
+ numRequiredSignatures: z.ZodNumber;
12
+ numReadonlySignedAccounts: z.ZodNumber;
13
+ numReadonlyUnsignedAccounts: z.ZodNumber;
14
+ }, "strip", z.ZodTypeAny, {
15
+ numRequiredSignatures: number;
16
+ numReadonlySignedAccounts: number;
17
+ numReadonlyUnsignedAccounts: number;
18
+ }, {
19
+ numRequiredSignatures: number;
20
+ numReadonlySignedAccounts: number;
21
+ numReadonlyUnsignedAccounts: number;
22
+ }>;
23
+ accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
24
+ recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
25
+ instructions: z.ZodArray<z.ZodObject<{
26
+ programIdIndex: z.ZodNumber;
27
+ accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
28
+ data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ programIdIndex: number;
31
+ accounts: `0x${string}`;
32
+ data: `0x${string}`;
33
+ }, {
34
+ programIdIndex: number;
35
+ accounts: string;
36
+ data: string;
37
+ }>, "many">;
38
+ }, "strip", z.ZodTypeAny, {
39
+ header: {
40
+ numRequiredSignatures: number;
41
+ numReadonlySignedAccounts: number;
42
+ numReadonlyUnsignedAccounts: number;
43
+ };
44
+ accountKeys: `0x${string}`[];
45
+ recentBlockhash: `0x${string}`;
46
+ instructions: {
47
+ programIdIndex: number;
48
+ accounts: `0x${string}`;
49
+ data: `0x${string}`;
50
+ }[];
51
+ }, {
52
+ header: {
53
+ numRequiredSignatures: number;
54
+ numReadonlySignedAccounts: number;
55
+ numReadonlyUnsignedAccounts: number;
56
+ };
57
+ accountKeys: string[];
58
+ recentBlockhash: string;
59
+ instructions: {
60
+ programIdIndex: number;
61
+ accounts: string;
62
+ data: string;
63
+ }[];
64
+ }>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ requestId: number;
67
+ ceremonyId: bigint;
68
+ epoch: number;
69
+ key: `0x${string}`;
70
+ signatories: string[];
71
+ payload: {
72
+ header: {
73
+ numRequiredSignatures: number;
74
+ numReadonlySignedAccounts: number;
75
+ numReadonlyUnsignedAccounts: number;
76
+ };
77
+ accountKeys: `0x${string}`[];
78
+ recentBlockhash: `0x${string}`;
79
+ instructions: {
80
+ programIdIndex: number;
81
+ accounts: `0x${string}`;
82
+ data: `0x${string}`;
83
+ }[];
84
+ };
85
+ }, {
86
+ requestId: number;
87
+ ceremonyId: string | number;
88
+ epoch: number;
89
+ key: string;
90
+ signatories: string[];
91
+ payload: {
92
+ header: {
93
+ numRequiredSignatures: number;
94
+ numReadonlySignedAccounts: number;
95
+ numReadonlyUnsignedAccounts: number;
96
+ };
97
+ accountKeys: string[];
98
+ recentBlockhash: string;
99
+ instructions: {
100
+ programIdIndex: number;
101
+ accounts: string;
102
+ data: string;
103
+ }[];
104
+ };
105
+ }>;
106
+
107
+ export { solanaThresholdSignerThresholdSignatureRequest };
@@ -0,0 +1,107 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const solanaThresholdSignerThresholdSignatureRequest: z.ZodObject<{
4
+ requestId: z.ZodNumber;
5
+ ceremonyId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
6
+ epoch: z.ZodNumber;
7
+ key: z.ZodEffects<z.ZodString, `0x${string}`, string>;
8
+ signatories: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
9
+ payload: z.ZodObject<{
10
+ header: z.ZodObject<{
11
+ numRequiredSignatures: z.ZodNumber;
12
+ numReadonlySignedAccounts: z.ZodNumber;
13
+ numReadonlyUnsignedAccounts: z.ZodNumber;
14
+ }, "strip", z.ZodTypeAny, {
15
+ numRequiredSignatures: number;
16
+ numReadonlySignedAccounts: number;
17
+ numReadonlyUnsignedAccounts: number;
18
+ }, {
19
+ numRequiredSignatures: number;
20
+ numReadonlySignedAccounts: number;
21
+ numReadonlyUnsignedAccounts: number;
22
+ }>;
23
+ accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
24
+ recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
25
+ instructions: z.ZodArray<z.ZodObject<{
26
+ programIdIndex: z.ZodNumber;
27
+ accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
28
+ data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ programIdIndex: number;
31
+ accounts: `0x${string}`;
32
+ data: `0x${string}`;
33
+ }, {
34
+ programIdIndex: number;
35
+ accounts: string;
36
+ data: string;
37
+ }>, "many">;
38
+ }, "strip", z.ZodTypeAny, {
39
+ header: {
40
+ numRequiredSignatures: number;
41
+ numReadonlySignedAccounts: number;
42
+ numReadonlyUnsignedAccounts: number;
43
+ };
44
+ accountKeys: `0x${string}`[];
45
+ recentBlockhash: `0x${string}`;
46
+ instructions: {
47
+ programIdIndex: number;
48
+ accounts: `0x${string}`;
49
+ data: `0x${string}`;
50
+ }[];
51
+ }, {
52
+ header: {
53
+ numRequiredSignatures: number;
54
+ numReadonlySignedAccounts: number;
55
+ numReadonlyUnsignedAccounts: number;
56
+ };
57
+ accountKeys: string[];
58
+ recentBlockhash: string;
59
+ instructions: {
60
+ programIdIndex: number;
61
+ accounts: string;
62
+ data: string;
63
+ }[];
64
+ }>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ requestId: number;
67
+ ceremonyId: bigint;
68
+ epoch: number;
69
+ key: `0x${string}`;
70
+ signatories: string[];
71
+ payload: {
72
+ header: {
73
+ numRequiredSignatures: number;
74
+ numReadonlySignedAccounts: number;
75
+ numReadonlyUnsignedAccounts: number;
76
+ };
77
+ accountKeys: `0x${string}`[];
78
+ recentBlockhash: `0x${string}`;
79
+ instructions: {
80
+ programIdIndex: number;
81
+ accounts: `0x${string}`;
82
+ data: `0x${string}`;
83
+ }[];
84
+ };
85
+ }, {
86
+ requestId: number;
87
+ ceremonyId: string | number;
88
+ epoch: number;
89
+ key: string;
90
+ signatories: string[];
91
+ payload: {
92
+ header: {
93
+ numRequiredSignatures: number;
94
+ numReadonlySignedAccounts: number;
95
+ numReadonlyUnsignedAccounts: number;
96
+ };
97
+ accountKeys: string[];
98
+ recentBlockhash: string;
99
+ instructions: {
100
+ programIdIndex: number;
101
+ accounts: string;
102
+ data: string;
103
+ }[];
104
+ };
105
+ }>;
106
+
107
+ export { solanaThresholdSignerThresholdSignatureRequest };
@@ -0,0 +1,19 @@
1
+ // generated/180/solanaThresholdSigner/thresholdSignatureRequest.ts
2
+ import { z } from "zod";
3
+ import {
4
+ accountId,
5
+ cfChainsSolSolTxCoreTransactionLegacyLegacyMessage,
6
+ hexString,
7
+ numberOrHex
8
+ } from "../common.mjs";
9
+ var solanaThresholdSignerThresholdSignatureRequest = z.object({
10
+ requestId: z.number(),
11
+ ceremonyId: numberOrHex,
12
+ epoch: z.number(),
13
+ key: hexString,
14
+ signatories: z.array(accountId),
15
+ payload: cfChainsSolSolTxCoreTransactionLegacyLegacyMessage
16
+ });
17
+ export {
18
+ solanaThresholdSignerThresholdSignatureRequest
19
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/180/swapping/affiliateRegistration.ts
2
+ var _zod = require('zod');
3
+ var _commoncjs = require('../common.cjs');
4
+ var swappingAffiliateRegistration = _zod.z.object({
5
+ brokerId: _commoncjs.accountId,
6
+ shortId: _zod.z.number(),
7
+ withdrawalAddress: _commoncjs.hexString,
8
+ affiliateId: _commoncjs.accountId
9
+ });
10
+
11
+
12
+ exports.swappingAffiliateRegistration = swappingAffiliateRegistration;
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const swappingAffiliateRegistration: z.ZodObject<{
4
+ brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ shortId: z.ZodNumber;
6
+ withdrawalAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7
+ affiliateId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ brokerId: string;
10
+ shortId: number;
11
+ withdrawalAddress: `0x${string}`;
12
+ affiliateId: string;
13
+ }, {
14
+ brokerId: string;
15
+ shortId: number;
16
+ withdrawalAddress: string;
17
+ affiliateId: string;
18
+ }>;
19
+
20
+ export { swappingAffiliateRegistration };
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const swappingAffiliateRegistration: z.ZodObject<{
4
+ brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ shortId: z.ZodNumber;
6
+ withdrawalAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7
+ affiliateId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ brokerId: string;
10
+ shortId: number;
11
+ withdrawalAddress: `0x${string}`;
12
+ affiliateId: string;
13
+ }, {
14
+ brokerId: string;
15
+ shortId: number;
16
+ withdrawalAddress: string;
17
+ affiliateId: string;
18
+ }>;
19
+
20
+ export { swappingAffiliateRegistration };
@@ -0,0 +1,12 @@
1
+ // generated/180/swapping/affiliateRegistration.ts
2
+ import { z } from "zod";
3
+ import { accountId, hexString } from "../common.mjs";
4
+ var swappingAffiliateRegistration = z.object({
5
+ brokerId: accountId,
6
+ shortId: z.number(),
7
+ withdrawalAddress: hexString,
8
+ affiliateId: accountId
9
+ });
10
+ export {
11
+ swappingAffiliateRegistration
12
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/180/swapping/withdrawalRequested.ts
2
+ var _zod = require('zod');
3
+
4
+
5
+
6
+
7
+
8
+
9
+ var _commoncjs = require('../common.cjs');
10
+ var swappingWithdrawalRequested = _zod.z.object({
11
+ accountId: _commoncjs.accountId,
12
+ egressId: _zod.z.tuple([_commoncjs.cfPrimitivesChainsForeignChain, _commoncjs.numberOrHex]),
13
+ egressAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
14
+ egressAmount: _commoncjs.numberOrHex,
15
+ egressFee: _commoncjs.numberOrHex,
16
+ destinationAddress: _commoncjs.cfChainsAddressEncodedAddress
17
+ });
18
+
19
+
20
+ exports.swappingWithdrawalRequested = swappingWithdrawalRequested;
@@ -0,0 +1,91 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const swappingWithdrawalRequested: z.ZodObject<{
4
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ egressId: z.ZodTuple<[z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
9
+ }, {
10
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
11
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", {
12
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
13
+ }>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>;
14
+ egressAsset: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
18
+ }, {
19
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
20
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
21
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
22
+ }>;
23
+ egressAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
24
+ egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
25
+ destinationAddress: z.ZodEffects<z.ZodObject<{
26
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
27
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ value: `0x${string}`;
30
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
31
+ }, {
32
+ value: string;
33
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
34
+ }>, {
35
+ readonly chain: "Ethereum";
36
+ readonly address: `0x${string}`;
37
+ } | {
38
+ readonly chain: "Polkadot";
39
+ readonly address: string;
40
+ } | {
41
+ readonly chain: "Bitcoin";
42
+ readonly address: string;
43
+ } | {
44
+ readonly chain: "Arbitrum";
45
+ readonly address: `0x${string}`;
46
+ } | {
47
+ readonly chain: "Solana";
48
+ readonly address: string;
49
+ }, {
50
+ value: string;
51
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
52
+ }>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ destinationAddress: {
55
+ readonly chain: "Ethereum";
56
+ readonly address: `0x${string}`;
57
+ } | {
58
+ readonly chain: "Polkadot";
59
+ readonly address: string;
60
+ } | {
61
+ readonly chain: "Bitcoin";
62
+ readonly address: string;
63
+ } | {
64
+ readonly chain: "Arbitrum";
65
+ readonly address: `0x${string}`;
66
+ } | {
67
+ readonly chain: "Solana";
68
+ readonly address: string;
69
+ };
70
+ egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
71
+ egressAmount: bigint;
72
+ egressFee: bigint;
73
+ accountId: string;
74
+ egressAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
75
+ }, {
76
+ destinationAddress: {
77
+ value: string;
78
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
79
+ };
80
+ egressId: [{
81
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
82
+ }, string | number];
83
+ egressAmount: string | number;
84
+ egressFee: string | number;
85
+ accountId: string;
86
+ egressAsset: {
87
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
88
+ };
89
+ }>;
90
+
91
+ export { swappingWithdrawalRequested };
@@ -0,0 +1,91 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const swappingWithdrawalRequested: z.ZodObject<{
4
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
+ egressId: z.ZodTuple<[z.ZodEffects<z.ZodObject<{
6
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana"]>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
9
+ }, {
10
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
11
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", {
12
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
13
+ }>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>;
14
+ egressAsset: z.ZodEffects<z.ZodObject<{
15
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
18
+ }, {
19
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
20
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
21
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
22
+ }>;
23
+ egressAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
24
+ egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
25
+ destinationAddress: z.ZodEffects<z.ZodObject<{
26
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
27
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ value: `0x${string}`;
30
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
31
+ }, {
32
+ value: string;
33
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
34
+ }>, {
35
+ readonly chain: "Ethereum";
36
+ readonly address: `0x${string}`;
37
+ } | {
38
+ readonly chain: "Polkadot";
39
+ readonly address: string;
40
+ } | {
41
+ readonly chain: "Bitcoin";
42
+ readonly address: string;
43
+ } | {
44
+ readonly chain: "Arbitrum";
45
+ readonly address: `0x${string}`;
46
+ } | {
47
+ readonly chain: "Solana";
48
+ readonly address: string;
49
+ }, {
50
+ value: string;
51
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
52
+ }>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ destinationAddress: {
55
+ readonly chain: "Ethereum";
56
+ readonly address: `0x${string}`;
57
+ } | {
58
+ readonly chain: "Polkadot";
59
+ readonly address: string;
60
+ } | {
61
+ readonly chain: "Bitcoin";
62
+ readonly address: string;
63
+ } | {
64
+ readonly chain: "Arbitrum";
65
+ readonly address: `0x${string}`;
66
+ } | {
67
+ readonly chain: "Solana";
68
+ readonly address: string;
69
+ };
70
+ egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
71
+ egressAmount: bigint;
72
+ egressFee: bigint;
73
+ accountId: string;
74
+ egressAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
75
+ }, {
76
+ destinationAddress: {
77
+ value: string;
78
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
79
+ };
80
+ egressId: [{
81
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
82
+ }, string | number];
83
+ egressAmount: string | number;
84
+ egressFee: string | number;
85
+ accountId: string;
86
+ egressAsset: {
87
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
88
+ };
89
+ }>;
90
+
91
+ export { swappingWithdrawalRequested };
@@ -0,0 +1,20 @@
1
+ // generated/180/swapping/withdrawalRequested.ts
2
+ import { z } from "zod";
3
+ import {
4
+ accountId,
5
+ cfChainsAddressEncodedAddress,
6
+ cfPrimitivesChainsAssetsAnyAsset,
7
+ cfPrimitivesChainsForeignChain,
8
+ numberOrHex
9
+ } from "../common.mjs";
10
+ var swappingWithdrawalRequested = z.object({
11
+ accountId,
12
+ egressId: z.tuple([cfPrimitivesChainsForeignChain, numberOrHex]),
13
+ egressAsset: cfPrimitivesChainsAssetsAnyAsset,
14
+ egressAmount: numberOrHex,
15
+ egressFee: numberOrHex,
16
+ destinationAddress: cfChainsAddressEncodedAddress
17
+ });
18
+ export {
19
+ swappingWithdrawalRequested
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/processor",
3
- "version": "1.8.4",
3
+ "version": "1.8.6",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -1,12 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/180/swapping/affiliateRegistrationUpdated.ts
2
- var _zod = require('zod');
3
- var _commoncjs = require('../common.cjs');
4
- var swappingAffiliateRegistrationUpdated = _zod.z.object({
5
- brokerId: _commoncjs.accountId,
6
- affiliateShortId: _zod.z.number(),
7
- affiliateId: _commoncjs.accountId,
8
- previousAffiliateId: _commoncjs.accountId.nullish()
9
- });
10
-
11
-
12
- exports.swappingAffiliateRegistrationUpdated = swappingAffiliateRegistrationUpdated;
@@ -1,20 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const swappingAffiliateRegistrationUpdated: z.ZodObject<{
4
- brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
- affiliateShortId: z.ZodNumber;
6
- affiliateId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
7
- previousAffiliateId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>>>;
8
- }, "strip", z.ZodTypeAny, {
9
- brokerId: string;
10
- affiliateShortId: number;
11
- affiliateId: string;
12
- previousAffiliateId?: string | null | undefined;
13
- }, {
14
- brokerId: string;
15
- affiliateShortId: number;
16
- affiliateId: string;
17
- previousAffiliateId?: string | null | undefined;
18
- }>;
19
-
20
- export { swappingAffiliateRegistrationUpdated };
@@ -1,20 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const swappingAffiliateRegistrationUpdated: z.ZodObject<{
4
- brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
5
- affiliateShortId: z.ZodNumber;
6
- affiliateId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
7
- previousAffiliateId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>>>;
8
- }, "strip", z.ZodTypeAny, {
9
- brokerId: string;
10
- affiliateShortId: number;
11
- affiliateId: string;
12
- previousAffiliateId?: string | null | undefined;
13
- }, {
14
- brokerId: string;
15
- affiliateShortId: number;
16
- affiliateId: string;
17
- previousAffiliateId?: string | null | undefined;
18
- }>;
19
-
20
- export { swappingAffiliateRegistrationUpdated };
@@ -1,12 +0,0 @@
1
- // generated/180/swapping/affiliateRegistrationUpdated.ts
2
- import { z } from "zod";
3
- import { accountId } from "../common.mjs";
4
- var swappingAffiliateRegistrationUpdated = z.object({
5
- brokerId: accountId,
6
- affiliateShortId: z.number(),
7
- affiliateId: accountId,
8
- previousAffiliateId: accountId.nullish()
9
- });
10
- export {
11
- swappingAffiliateRegistrationUpdated
12
- };