@chainflip/processor 1.8.7 → 1.9.0
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/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
- package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
- package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
- package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +4 -4
- package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +4 -4
- package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
- package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
- 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/rangeOrderUpdated.d.cts +8 -8
- package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +28 -28
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +28 -28
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +2 -2
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +2 -2
- package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +2 -2
- package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/160/liquidityProvider/assetTransferred.d.cts +3 -3
- package/dist/160/liquidityProvider/assetTransferred.d.ts +3 -3
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/170/reputation/offencePenalty.d.cts +6 -6
- package/dist/170/reputation/offencePenalty.d.ts +6 -6
- package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
- package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
- package/dist/170/swapping/minimumChunkSizeSet.d.cts +2 -2
- package/dist/170/swapping/minimumChunkSizeSet.d.ts +2 -2
- package/dist/170/swapping/swapRequested.d.cts +27 -27
- package/dist/170/swapping/swapRequested.d.ts +27 -27
- package/dist/180/swapping/privateBrokerChannelClosed.d.cts +2 -2
- package/dist/180/swapping/privateBrokerChannelClosed.d.ts +2 -2
- package/dist/180/swapping/privateBrokerChannelOpened.d.cts +2 -2
- package/dist/180/swapping/privateBrokerChannelOpened.d.ts +2 -2
- package/dist/180/swapping/swapDepositAddressReady.d.cts +2 -2
- package/dist/180/swapping/swapDepositAddressReady.d.ts +2 -2
- package/dist/180/swapping/swapRequested.d.cts +4 -4
- package/dist/180/swapping/swapRequested.d.ts +4 -4
- package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
- package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
- package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
- package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
- package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
- package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
- package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
- package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
- package/dist/190/common.cjs +289 -0
- package/dist/190/common.d.cts +2696 -0
- package/dist/190/common.d.ts +2696 -0
- package/dist/190/common.mjs +289 -0
- package/dist/190/ethereumIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/190/ethereumIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
- package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
- package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
- package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
- package/dist/190/liquidityPools/limitOrderUpdated.cjs +24 -0
- package/dist/190/liquidityPools/limitOrderUpdated.d.cts +98 -0
- package/dist/190/liquidityPools/limitOrderUpdated.d.ts +98 -0
- package/dist/190/liquidityPools/limitOrderUpdated.mjs +24 -0
- package/dist/190/liquidityPools/rangeOrderUpdated.cjs +22 -0
- package/dist/190/liquidityPools/rangeOrderUpdated.d.cts +208 -0
- package/dist/190/liquidityPools/rangeOrderUpdated.d.ts +208 -0
- package/dist/190/liquidityPools/rangeOrderUpdated.mjs +22 -0
- package/dist/190/polkadotIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/190/polkadotIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
- package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
- package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
- package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
- package/dist/190/solanaIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/190/solanaIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
- package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
- package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
- package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
- package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.cjs +14 -0
- package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.d.cts +313 -0
- package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.d.ts +313 -0
- package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.mjs +14 -0
- package/dist/190/swapping/creditedOnChain.cjs +12 -0
- package/dist/190/swapping/creditedOnChain.d.cts +30 -0
- package/dist/190/swapping/creditedOnChain.d.ts +30 -0
- package/dist/190/swapping/creditedOnChain.mjs +12 -0
- package/dist/190/swapping/refundedOnChain.cjs +12 -0
- package/dist/190/swapping/refundedOnChain.d.cts +30 -0
- package/dist/190/swapping/refundedOnChain.d.ts +30 -0
- package/dist/190/swapping/refundedOnChain.mjs +12 -0
- package/dist/190/swapping/swapRequested.cjs +25 -0
- package/dist/190/swapping/swapRequested.d.cts +851 -0
- package/dist/190/swapping/swapRequested.d.ts +851 -0
- package/dist/190/swapping/swapRequested.mjs +25 -0
- package/dist/190/tradingStrategy/fundsAddedToStrategy.cjs +10 -0
- package/dist/190/tradingStrategy/fundsAddedToStrategy.d.cts +24 -0
- package/dist/190/tradingStrategy/fundsAddedToStrategy.d.ts +24 -0
- package/dist/190/tradingStrategy/fundsAddedToStrategy.mjs +10 -0
- package/dist/190/tradingStrategy/strategyClosed.cjs +7 -0
- package/dist/190/tradingStrategy/strategyClosed.d.cts +11 -0
- package/dist/190/tradingStrategy/strategyClosed.d.ts +11 -0
- package/dist/190/tradingStrategy/strategyClosed.mjs +7 -0
- package/dist/190/tradingStrategy/strategyDeployed.cjs +11 -0
- package/dist/190/tradingStrategy/strategyDeployed.d.cts +54 -0
- package/dist/190/tradingStrategy/strategyDeployed.d.ts +54 -0
- package/dist/190/tradingStrategy/strategyDeployed.mjs +11 -0
- package/package.json +2 -2
|
@@ -0,0 +1,313 @@
|
|
|
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.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
10
|
+
__kind: z.ZodLiteral<"Legacy">;
|
|
11
|
+
value: z.ZodObject<{
|
|
12
|
+
header: z.ZodObject<{
|
|
13
|
+
numRequiredSignatures: z.ZodNumber;
|
|
14
|
+
numReadonlySignedAccounts: z.ZodNumber;
|
|
15
|
+
numReadonlyUnsignedAccounts: z.ZodNumber;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
numRequiredSignatures: number;
|
|
18
|
+
numReadonlySignedAccounts: number;
|
|
19
|
+
numReadonlyUnsignedAccounts: number;
|
|
20
|
+
}, {
|
|
21
|
+
numRequiredSignatures: number;
|
|
22
|
+
numReadonlySignedAccounts: number;
|
|
23
|
+
numReadonlyUnsignedAccounts: number;
|
|
24
|
+
}>;
|
|
25
|
+
accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
|
|
26
|
+
recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
27
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
28
|
+
programIdIndex: z.ZodNumber;
|
|
29
|
+
accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
30
|
+
data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
programIdIndex: number;
|
|
33
|
+
accounts: `0x${string}`;
|
|
34
|
+
data: `0x${string}`;
|
|
35
|
+
}, {
|
|
36
|
+
programIdIndex: number;
|
|
37
|
+
accounts: string;
|
|
38
|
+
data: string;
|
|
39
|
+
}>, "many">;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
header: {
|
|
42
|
+
numRequiredSignatures: number;
|
|
43
|
+
numReadonlySignedAccounts: number;
|
|
44
|
+
numReadonlyUnsignedAccounts: number;
|
|
45
|
+
};
|
|
46
|
+
accountKeys: `0x${string}`[];
|
|
47
|
+
recentBlockhash: `0x${string}`;
|
|
48
|
+
instructions: {
|
|
49
|
+
programIdIndex: number;
|
|
50
|
+
accounts: `0x${string}`;
|
|
51
|
+
data: `0x${string}`;
|
|
52
|
+
}[];
|
|
53
|
+
}, {
|
|
54
|
+
header: {
|
|
55
|
+
numRequiredSignatures: number;
|
|
56
|
+
numReadonlySignedAccounts: number;
|
|
57
|
+
numReadonlyUnsignedAccounts: number;
|
|
58
|
+
};
|
|
59
|
+
accountKeys: string[];
|
|
60
|
+
recentBlockhash: string;
|
|
61
|
+
instructions: {
|
|
62
|
+
programIdIndex: number;
|
|
63
|
+
accounts: string;
|
|
64
|
+
data: string;
|
|
65
|
+
}[];
|
|
66
|
+
}>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
value: {
|
|
69
|
+
header: {
|
|
70
|
+
numRequiredSignatures: number;
|
|
71
|
+
numReadonlySignedAccounts: number;
|
|
72
|
+
numReadonlyUnsignedAccounts: number;
|
|
73
|
+
};
|
|
74
|
+
accountKeys: `0x${string}`[];
|
|
75
|
+
recentBlockhash: `0x${string}`;
|
|
76
|
+
instructions: {
|
|
77
|
+
programIdIndex: number;
|
|
78
|
+
accounts: `0x${string}`;
|
|
79
|
+
data: `0x${string}`;
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
82
|
+
__kind: "Legacy";
|
|
83
|
+
}, {
|
|
84
|
+
value: {
|
|
85
|
+
header: {
|
|
86
|
+
numRequiredSignatures: number;
|
|
87
|
+
numReadonlySignedAccounts: number;
|
|
88
|
+
numReadonlyUnsignedAccounts: number;
|
|
89
|
+
};
|
|
90
|
+
accountKeys: string[];
|
|
91
|
+
recentBlockhash: string;
|
|
92
|
+
instructions: {
|
|
93
|
+
programIdIndex: number;
|
|
94
|
+
accounts: string;
|
|
95
|
+
data: string;
|
|
96
|
+
}[];
|
|
97
|
+
};
|
|
98
|
+
__kind: "Legacy";
|
|
99
|
+
}>, z.ZodObject<{
|
|
100
|
+
__kind: z.ZodLiteral<"V0">;
|
|
101
|
+
value: z.ZodObject<{
|
|
102
|
+
header: z.ZodObject<{
|
|
103
|
+
numRequiredSignatures: z.ZodNumber;
|
|
104
|
+
numReadonlySignedAccounts: z.ZodNumber;
|
|
105
|
+
numReadonlyUnsignedAccounts: z.ZodNumber;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
numRequiredSignatures: number;
|
|
108
|
+
numReadonlySignedAccounts: number;
|
|
109
|
+
numReadonlyUnsignedAccounts: number;
|
|
110
|
+
}, {
|
|
111
|
+
numRequiredSignatures: number;
|
|
112
|
+
numReadonlySignedAccounts: number;
|
|
113
|
+
numReadonlyUnsignedAccounts: number;
|
|
114
|
+
}>;
|
|
115
|
+
accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
|
|
116
|
+
recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
117
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
118
|
+
programIdIndex: z.ZodNumber;
|
|
119
|
+
accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
120
|
+
data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
programIdIndex: number;
|
|
123
|
+
accounts: `0x${string}`;
|
|
124
|
+
data: `0x${string}`;
|
|
125
|
+
}, {
|
|
126
|
+
programIdIndex: number;
|
|
127
|
+
accounts: string;
|
|
128
|
+
data: string;
|
|
129
|
+
}>, "many">;
|
|
130
|
+
addressTableLookups: z.ZodArray<z.ZodObject<{
|
|
131
|
+
accountKey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
132
|
+
writableIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
133
|
+
readonlyIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
accountKey: `0x${string}`;
|
|
136
|
+
writableIndexes: `0x${string}`;
|
|
137
|
+
readonlyIndexes: `0x${string}`;
|
|
138
|
+
}, {
|
|
139
|
+
accountKey: string;
|
|
140
|
+
writableIndexes: string;
|
|
141
|
+
readonlyIndexes: string;
|
|
142
|
+
}>, "many">;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
header: {
|
|
145
|
+
numRequiredSignatures: number;
|
|
146
|
+
numReadonlySignedAccounts: number;
|
|
147
|
+
numReadonlyUnsignedAccounts: number;
|
|
148
|
+
};
|
|
149
|
+
accountKeys: `0x${string}`[];
|
|
150
|
+
recentBlockhash: `0x${string}`;
|
|
151
|
+
instructions: {
|
|
152
|
+
programIdIndex: number;
|
|
153
|
+
accounts: `0x${string}`;
|
|
154
|
+
data: `0x${string}`;
|
|
155
|
+
}[];
|
|
156
|
+
addressTableLookups: {
|
|
157
|
+
accountKey: `0x${string}`;
|
|
158
|
+
writableIndexes: `0x${string}`;
|
|
159
|
+
readonlyIndexes: `0x${string}`;
|
|
160
|
+
}[];
|
|
161
|
+
}, {
|
|
162
|
+
header: {
|
|
163
|
+
numRequiredSignatures: number;
|
|
164
|
+
numReadonlySignedAccounts: number;
|
|
165
|
+
numReadonlyUnsignedAccounts: number;
|
|
166
|
+
};
|
|
167
|
+
accountKeys: string[];
|
|
168
|
+
recentBlockhash: string;
|
|
169
|
+
instructions: {
|
|
170
|
+
programIdIndex: number;
|
|
171
|
+
accounts: string;
|
|
172
|
+
data: string;
|
|
173
|
+
}[];
|
|
174
|
+
addressTableLookups: {
|
|
175
|
+
accountKey: string;
|
|
176
|
+
writableIndexes: string;
|
|
177
|
+
readonlyIndexes: string;
|
|
178
|
+
}[];
|
|
179
|
+
}>;
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
value: {
|
|
182
|
+
header: {
|
|
183
|
+
numRequiredSignatures: number;
|
|
184
|
+
numReadonlySignedAccounts: number;
|
|
185
|
+
numReadonlyUnsignedAccounts: number;
|
|
186
|
+
};
|
|
187
|
+
accountKeys: `0x${string}`[];
|
|
188
|
+
recentBlockhash: `0x${string}`;
|
|
189
|
+
instructions: {
|
|
190
|
+
programIdIndex: number;
|
|
191
|
+
accounts: `0x${string}`;
|
|
192
|
+
data: `0x${string}`;
|
|
193
|
+
}[];
|
|
194
|
+
addressTableLookups: {
|
|
195
|
+
accountKey: `0x${string}`;
|
|
196
|
+
writableIndexes: `0x${string}`;
|
|
197
|
+
readonlyIndexes: `0x${string}`;
|
|
198
|
+
}[];
|
|
199
|
+
};
|
|
200
|
+
__kind: "V0";
|
|
201
|
+
}, {
|
|
202
|
+
value: {
|
|
203
|
+
header: {
|
|
204
|
+
numRequiredSignatures: number;
|
|
205
|
+
numReadonlySignedAccounts: number;
|
|
206
|
+
numReadonlyUnsignedAccounts: number;
|
|
207
|
+
};
|
|
208
|
+
accountKeys: string[];
|
|
209
|
+
recentBlockhash: string;
|
|
210
|
+
instructions: {
|
|
211
|
+
programIdIndex: number;
|
|
212
|
+
accounts: string;
|
|
213
|
+
data: string;
|
|
214
|
+
}[];
|
|
215
|
+
addressTableLookups: {
|
|
216
|
+
accountKey: string;
|
|
217
|
+
writableIndexes: string;
|
|
218
|
+
readonlyIndexes: string;
|
|
219
|
+
}[];
|
|
220
|
+
};
|
|
221
|
+
__kind: "V0";
|
|
222
|
+
}>]>;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
requestId: number;
|
|
225
|
+
ceremonyId: bigint;
|
|
226
|
+
epoch: number;
|
|
227
|
+
key: `0x${string}`;
|
|
228
|
+
signatories: string[];
|
|
229
|
+
payload: {
|
|
230
|
+
value: {
|
|
231
|
+
header: {
|
|
232
|
+
numRequiredSignatures: number;
|
|
233
|
+
numReadonlySignedAccounts: number;
|
|
234
|
+
numReadonlyUnsignedAccounts: number;
|
|
235
|
+
};
|
|
236
|
+
accountKeys: `0x${string}`[];
|
|
237
|
+
recentBlockhash: `0x${string}`;
|
|
238
|
+
instructions: {
|
|
239
|
+
programIdIndex: number;
|
|
240
|
+
accounts: `0x${string}`;
|
|
241
|
+
data: `0x${string}`;
|
|
242
|
+
}[];
|
|
243
|
+
};
|
|
244
|
+
__kind: "Legacy";
|
|
245
|
+
} | {
|
|
246
|
+
value: {
|
|
247
|
+
header: {
|
|
248
|
+
numRequiredSignatures: number;
|
|
249
|
+
numReadonlySignedAccounts: number;
|
|
250
|
+
numReadonlyUnsignedAccounts: number;
|
|
251
|
+
};
|
|
252
|
+
accountKeys: `0x${string}`[];
|
|
253
|
+
recentBlockhash: `0x${string}`;
|
|
254
|
+
instructions: {
|
|
255
|
+
programIdIndex: number;
|
|
256
|
+
accounts: `0x${string}`;
|
|
257
|
+
data: `0x${string}`;
|
|
258
|
+
}[];
|
|
259
|
+
addressTableLookups: {
|
|
260
|
+
accountKey: `0x${string}`;
|
|
261
|
+
writableIndexes: `0x${string}`;
|
|
262
|
+
readonlyIndexes: `0x${string}`;
|
|
263
|
+
}[];
|
|
264
|
+
};
|
|
265
|
+
__kind: "V0";
|
|
266
|
+
};
|
|
267
|
+
}, {
|
|
268
|
+
requestId: number;
|
|
269
|
+
ceremonyId: string | number;
|
|
270
|
+
epoch: number;
|
|
271
|
+
key: string;
|
|
272
|
+
signatories: string[];
|
|
273
|
+
payload: {
|
|
274
|
+
value: {
|
|
275
|
+
header: {
|
|
276
|
+
numRequiredSignatures: number;
|
|
277
|
+
numReadonlySignedAccounts: number;
|
|
278
|
+
numReadonlyUnsignedAccounts: number;
|
|
279
|
+
};
|
|
280
|
+
accountKeys: string[];
|
|
281
|
+
recentBlockhash: string;
|
|
282
|
+
instructions: {
|
|
283
|
+
programIdIndex: number;
|
|
284
|
+
accounts: string;
|
|
285
|
+
data: string;
|
|
286
|
+
}[];
|
|
287
|
+
};
|
|
288
|
+
__kind: "Legacy";
|
|
289
|
+
} | {
|
|
290
|
+
value: {
|
|
291
|
+
header: {
|
|
292
|
+
numRequiredSignatures: number;
|
|
293
|
+
numReadonlySignedAccounts: number;
|
|
294
|
+
numReadonlyUnsignedAccounts: number;
|
|
295
|
+
};
|
|
296
|
+
accountKeys: string[];
|
|
297
|
+
recentBlockhash: string;
|
|
298
|
+
instructions: {
|
|
299
|
+
programIdIndex: number;
|
|
300
|
+
accounts: string;
|
|
301
|
+
data: string;
|
|
302
|
+
}[];
|
|
303
|
+
addressTableLookups: {
|
|
304
|
+
accountKey: string;
|
|
305
|
+
writableIndexes: string;
|
|
306
|
+
readonlyIndexes: string;
|
|
307
|
+
}[];
|
|
308
|
+
};
|
|
309
|
+
__kind: "V0";
|
|
310
|
+
};
|
|
311
|
+
}>;
|
|
312
|
+
|
|
313
|
+
export { solanaThresholdSignerThresholdSignatureRequest };
|
|
@@ -0,0 +1,313 @@
|
|
|
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.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
10
|
+
__kind: z.ZodLiteral<"Legacy">;
|
|
11
|
+
value: z.ZodObject<{
|
|
12
|
+
header: z.ZodObject<{
|
|
13
|
+
numRequiredSignatures: z.ZodNumber;
|
|
14
|
+
numReadonlySignedAccounts: z.ZodNumber;
|
|
15
|
+
numReadonlyUnsignedAccounts: z.ZodNumber;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
numRequiredSignatures: number;
|
|
18
|
+
numReadonlySignedAccounts: number;
|
|
19
|
+
numReadonlyUnsignedAccounts: number;
|
|
20
|
+
}, {
|
|
21
|
+
numRequiredSignatures: number;
|
|
22
|
+
numReadonlySignedAccounts: number;
|
|
23
|
+
numReadonlyUnsignedAccounts: number;
|
|
24
|
+
}>;
|
|
25
|
+
accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
|
|
26
|
+
recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
27
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
28
|
+
programIdIndex: z.ZodNumber;
|
|
29
|
+
accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
30
|
+
data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
programIdIndex: number;
|
|
33
|
+
accounts: `0x${string}`;
|
|
34
|
+
data: `0x${string}`;
|
|
35
|
+
}, {
|
|
36
|
+
programIdIndex: number;
|
|
37
|
+
accounts: string;
|
|
38
|
+
data: string;
|
|
39
|
+
}>, "many">;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
header: {
|
|
42
|
+
numRequiredSignatures: number;
|
|
43
|
+
numReadonlySignedAccounts: number;
|
|
44
|
+
numReadonlyUnsignedAccounts: number;
|
|
45
|
+
};
|
|
46
|
+
accountKeys: `0x${string}`[];
|
|
47
|
+
recentBlockhash: `0x${string}`;
|
|
48
|
+
instructions: {
|
|
49
|
+
programIdIndex: number;
|
|
50
|
+
accounts: `0x${string}`;
|
|
51
|
+
data: `0x${string}`;
|
|
52
|
+
}[];
|
|
53
|
+
}, {
|
|
54
|
+
header: {
|
|
55
|
+
numRequiredSignatures: number;
|
|
56
|
+
numReadonlySignedAccounts: number;
|
|
57
|
+
numReadonlyUnsignedAccounts: number;
|
|
58
|
+
};
|
|
59
|
+
accountKeys: string[];
|
|
60
|
+
recentBlockhash: string;
|
|
61
|
+
instructions: {
|
|
62
|
+
programIdIndex: number;
|
|
63
|
+
accounts: string;
|
|
64
|
+
data: string;
|
|
65
|
+
}[];
|
|
66
|
+
}>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
value: {
|
|
69
|
+
header: {
|
|
70
|
+
numRequiredSignatures: number;
|
|
71
|
+
numReadonlySignedAccounts: number;
|
|
72
|
+
numReadonlyUnsignedAccounts: number;
|
|
73
|
+
};
|
|
74
|
+
accountKeys: `0x${string}`[];
|
|
75
|
+
recentBlockhash: `0x${string}`;
|
|
76
|
+
instructions: {
|
|
77
|
+
programIdIndex: number;
|
|
78
|
+
accounts: `0x${string}`;
|
|
79
|
+
data: `0x${string}`;
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
82
|
+
__kind: "Legacy";
|
|
83
|
+
}, {
|
|
84
|
+
value: {
|
|
85
|
+
header: {
|
|
86
|
+
numRequiredSignatures: number;
|
|
87
|
+
numReadonlySignedAccounts: number;
|
|
88
|
+
numReadonlyUnsignedAccounts: number;
|
|
89
|
+
};
|
|
90
|
+
accountKeys: string[];
|
|
91
|
+
recentBlockhash: string;
|
|
92
|
+
instructions: {
|
|
93
|
+
programIdIndex: number;
|
|
94
|
+
accounts: string;
|
|
95
|
+
data: string;
|
|
96
|
+
}[];
|
|
97
|
+
};
|
|
98
|
+
__kind: "Legacy";
|
|
99
|
+
}>, z.ZodObject<{
|
|
100
|
+
__kind: z.ZodLiteral<"V0">;
|
|
101
|
+
value: z.ZodObject<{
|
|
102
|
+
header: z.ZodObject<{
|
|
103
|
+
numRequiredSignatures: z.ZodNumber;
|
|
104
|
+
numReadonlySignedAccounts: z.ZodNumber;
|
|
105
|
+
numReadonlyUnsignedAccounts: z.ZodNumber;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
numRequiredSignatures: number;
|
|
108
|
+
numReadonlySignedAccounts: number;
|
|
109
|
+
numReadonlyUnsignedAccounts: number;
|
|
110
|
+
}, {
|
|
111
|
+
numRequiredSignatures: number;
|
|
112
|
+
numReadonlySignedAccounts: number;
|
|
113
|
+
numReadonlyUnsignedAccounts: number;
|
|
114
|
+
}>;
|
|
115
|
+
accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
|
|
116
|
+
recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
117
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
118
|
+
programIdIndex: z.ZodNumber;
|
|
119
|
+
accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
120
|
+
data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
programIdIndex: number;
|
|
123
|
+
accounts: `0x${string}`;
|
|
124
|
+
data: `0x${string}`;
|
|
125
|
+
}, {
|
|
126
|
+
programIdIndex: number;
|
|
127
|
+
accounts: string;
|
|
128
|
+
data: string;
|
|
129
|
+
}>, "many">;
|
|
130
|
+
addressTableLookups: z.ZodArray<z.ZodObject<{
|
|
131
|
+
accountKey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
132
|
+
writableIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
133
|
+
readonlyIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
accountKey: `0x${string}`;
|
|
136
|
+
writableIndexes: `0x${string}`;
|
|
137
|
+
readonlyIndexes: `0x${string}`;
|
|
138
|
+
}, {
|
|
139
|
+
accountKey: string;
|
|
140
|
+
writableIndexes: string;
|
|
141
|
+
readonlyIndexes: string;
|
|
142
|
+
}>, "many">;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
header: {
|
|
145
|
+
numRequiredSignatures: number;
|
|
146
|
+
numReadonlySignedAccounts: number;
|
|
147
|
+
numReadonlyUnsignedAccounts: number;
|
|
148
|
+
};
|
|
149
|
+
accountKeys: `0x${string}`[];
|
|
150
|
+
recentBlockhash: `0x${string}`;
|
|
151
|
+
instructions: {
|
|
152
|
+
programIdIndex: number;
|
|
153
|
+
accounts: `0x${string}`;
|
|
154
|
+
data: `0x${string}`;
|
|
155
|
+
}[];
|
|
156
|
+
addressTableLookups: {
|
|
157
|
+
accountKey: `0x${string}`;
|
|
158
|
+
writableIndexes: `0x${string}`;
|
|
159
|
+
readonlyIndexes: `0x${string}`;
|
|
160
|
+
}[];
|
|
161
|
+
}, {
|
|
162
|
+
header: {
|
|
163
|
+
numRequiredSignatures: number;
|
|
164
|
+
numReadonlySignedAccounts: number;
|
|
165
|
+
numReadonlyUnsignedAccounts: number;
|
|
166
|
+
};
|
|
167
|
+
accountKeys: string[];
|
|
168
|
+
recentBlockhash: string;
|
|
169
|
+
instructions: {
|
|
170
|
+
programIdIndex: number;
|
|
171
|
+
accounts: string;
|
|
172
|
+
data: string;
|
|
173
|
+
}[];
|
|
174
|
+
addressTableLookups: {
|
|
175
|
+
accountKey: string;
|
|
176
|
+
writableIndexes: string;
|
|
177
|
+
readonlyIndexes: string;
|
|
178
|
+
}[];
|
|
179
|
+
}>;
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
value: {
|
|
182
|
+
header: {
|
|
183
|
+
numRequiredSignatures: number;
|
|
184
|
+
numReadonlySignedAccounts: number;
|
|
185
|
+
numReadonlyUnsignedAccounts: number;
|
|
186
|
+
};
|
|
187
|
+
accountKeys: `0x${string}`[];
|
|
188
|
+
recentBlockhash: `0x${string}`;
|
|
189
|
+
instructions: {
|
|
190
|
+
programIdIndex: number;
|
|
191
|
+
accounts: `0x${string}`;
|
|
192
|
+
data: `0x${string}`;
|
|
193
|
+
}[];
|
|
194
|
+
addressTableLookups: {
|
|
195
|
+
accountKey: `0x${string}`;
|
|
196
|
+
writableIndexes: `0x${string}`;
|
|
197
|
+
readonlyIndexes: `0x${string}`;
|
|
198
|
+
}[];
|
|
199
|
+
};
|
|
200
|
+
__kind: "V0";
|
|
201
|
+
}, {
|
|
202
|
+
value: {
|
|
203
|
+
header: {
|
|
204
|
+
numRequiredSignatures: number;
|
|
205
|
+
numReadonlySignedAccounts: number;
|
|
206
|
+
numReadonlyUnsignedAccounts: number;
|
|
207
|
+
};
|
|
208
|
+
accountKeys: string[];
|
|
209
|
+
recentBlockhash: string;
|
|
210
|
+
instructions: {
|
|
211
|
+
programIdIndex: number;
|
|
212
|
+
accounts: string;
|
|
213
|
+
data: string;
|
|
214
|
+
}[];
|
|
215
|
+
addressTableLookups: {
|
|
216
|
+
accountKey: string;
|
|
217
|
+
writableIndexes: string;
|
|
218
|
+
readonlyIndexes: string;
|
|
219
|
+
}[];
|
|
220
|
+
};
|
|
221
|
+
__kind: "V0";
|
|
222
|
+
}>]>;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
requestId: number;
|
|
225
|
+
ceremonyId: bigint;
|
|
226
|
+
epoch: number;
|
|
227
|
+
key: `0x${string}`;
|
|
228
|
+
signatories: string[];
|
|
229
|
+
payload: {
|
|
230
|
+
value: {
|
|
231
|
+
header: {
|
|
232
|
+
numRequiredSignatures: number;
|
|
233
|
+
numReadonlySignedAccounts: number;
|
|
234
|
+
numReadonlyUnsignedAccounts: number;
|
|
235
|
+
};
|
|
236
|
+
accountKeys: `0x${string}`[];
|
|
237
|
+
recentBlockhash: `0x${string}`;
|
|
238
|
+
instructions: {
|
|
239
|
+
programIdIndex: number;
|
|
240
|
+
accounts: `0x${string}`;
|
|
241
|
+
data: `0x${string}`;
|
|
242
|
+
}[];
|
|
243
|
+
};
|
|
244
|
+
__kind: "Legacy";
|
|
245
|
+
} | {
|
|
246
|
+
value: {
|
|
247
|
+
header: {
|
|
248
|
+
numRequiredSignatures: number;
|
|
249
|
+
numReadonlySignedAccounts: number;
|
|
250
|
+
numReadonlyUnsignedAccounts: number;
|
|
251
|
+
};
|
|
252
|
+
accountKeys: `0x${string}`[];
|
|
253
|
+
recentBlockhash: `0x${string}`;
|
|
254
|
+
instructions: {
|
|
255
|
+
programIdIndex: number;
|
|
256
|
+
accounts: `0x${string}`;
|
|
257
|
+
data: `0x${string}`;
|
|
258
|
+
}[];
|
|
259
|
+
addressTableLookups: {
|
|
260
|
+
accountKey: `0x${string}`;
|
|
261
|
+
writableIndexes: `0x${string}`;
|
|
262
|
+
readonlyIndexes: `0x${string}`;
|
|
263
|
+
}[];
|
|
264
|
+
};
|
|
265
|
+
__kind: "V0";
|
|
266
|
+
};
|
|
267
|
+
}, {
|
|
268
|
+
requestId: number;
|
|
269
|
+
ceremonyId: string | number;
|
|
270
|
+
epoch: number;
|
|
271
|
+
key: string;
|
|
272
|
+
signatories: string[];
|
|
273
|
+
payload: {
|
|
274
|
+
value: {
|
|
275
|
+
header: {
|
|
276
|
+
numRequiredSignatures: number;
|
|
277
|
+
numReadonlySignedAccounts: number;
|
|
278
|
+
numReadonlyUnsignedAccounts: number;
|
|
279
|
+
};
|
|
280
|
+
accountKeys: string[];
|
|
281
|
+
recentBlockhash: string;
|
|
282
|
+
instructions: {
|
|
283
|
+
programIdIndex: number;
|
|
284
|
+
accounts: string;
|
|
285
|
+
data: string;
|
|
286
|
+
}[];
|
|
287
|
+
};
|
|
288
|
+
__kind: "Legacy";
|
|
289
|
+
} | {
|
|
290
|
+
value: {
|
|
291
|
+
header: {
|
|
292
|
+
numRequiredSignatures: number;
|
|
293
|
+
numReadonlySignedAccounts: number;
|
|
294
|
+
numReadonlyUnsignedAccounts: number;
|
|
295
|
+
};
|
|
296
|
+
accountKeys: string[];
|
|
297
|
+
recentBlockhash: string;
|
|
298
|
+
instructions: {
|
|
299
|
+
programIdIndex: number;
|
|
300
|
+
accounts: string;
|
|
301
|
+
data: string;
|
|
302
|
+
}[];
|
|
303
|
+
addressTableLookups: {
|
|
304
|
+
accountKey: string;
|
|
305
|
+
writableIndexes: string;
|
|
306
|
+
readonlyIndexes: string;
|
|
307
|
+
}[];
|
|
308
|
+
};
|
|
309
|
+
__kind: "V0";
|
|
310
|
+
};
|
|
311
|
+
}>;
|
|
312
|
+
|
|
313
|
+
export { solanaThresholdSignerThresholdSignatureRequest };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// generated/190/solanaThresholdSigner/thresholdSignatureRequest.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { accountId, hexString, numberOrHex, solPrimTransactionVersionedMessage } from "../common.mjs";
|
|
4
|
+
var solanaThresholdSignerThresholdSignatureRequest = z.object({
|
|
5
|
+
requestId: z.number(),
|
|
6
|
+
ceremonyId: numberOrHex,
|
|
7
|
+
epoch: z.number(),
|
|
8
|
+
key: hexString,
|
|
9
|
+
signatories: z.array(accountId),
|
|
10
|
+
payload: solPrimTransactionVersionedMessage
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
solanaThresholdSignerThresholdSignatureRequest
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/190/swapping/creditedOnChain.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
var _commoncjs = require('../common.cjs');
|
|
4
|
+
var swappingCreditedOnChain = _zod.z.object({
|
|
5
|
+
swapRequestId: _commoncjs.numberOrHex,
|
|
6
|
+
accountId: _commoncjs.accountId,
|
|
7
|
+
asset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
8
|
+
amount: _commoncjs.numberOrHex
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.swappingCreditedOnChain = swappingCreditedOnChain;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const swappingCreditedOnChain: z.ZodObject<{
|
|
4
|
+
swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
5
|
+
accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
6
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
7
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
10
|
+
}, {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
12
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
13
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
14
|
+
}>;
|
|
15
|
+
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
swapRequestId: bigint;
|
|
18
|
+
accountId: string;
|
|
19
|
+
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
20
|
+
amount: bigint;
|
|
21
|
+
}, {
|
|
22
|
+
swapRequestId: string | number;
|
|
23
|
+
accountId: string;
|
|
24
|
+
asset: {
|
|
25
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
26
|
+
};
|
|
27
|
+
amount: string | number;
|
|
28
|
+
}>;
|
|
29
|
+
|
|
30
|
+
export { swappingCreditedOnChain };
|