@chainflip/processor 1.4.3 → 1.4.4
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/BitcoinIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/100/BitcoinIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/100/BitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/100/BitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/100/Environment/runtimeSafeModeUpdated.d.cts +12 -12
- package/dist/100/Environment/runtimeSafeModeUpdated.d.ts +12 -12
- 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/limitOrderUpdated.d.cts +8 -8
- package/dist/100/LiquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/100/LiquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/100/LiquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/100/LiquidityProvider/accountCredited.d.cts +2 -2
- package/dist/100/LiquidityProvider/accountCredited.d.ts +2 -2
- package/dist/100/LiquidityProvider/accountDebited.d.cts +2 -2
- package/dist/100/LiquidityProvider/accountDebited.d.ts +2 -2
- package/dist/100/LiquidityProvider/liquidityDepositAddressReady.d.cts +4 -4
- package/dist/100/LiquidityProvider/liquidityDepositAddressReady.d.ts +4 -4
- 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/100/Swapping/batchSwapFailed.d.cts +2 -2
- package/dist/100/Swapping/batchSwapFailed.d.ts +2 -2
- package/dist/100/Swapping/ccmDepositReceived.d.cts +78 -78
- package/dist/100/Swapping/ccmDepositReceived.d.ts +78 -78
- package/dist/100/Swapping/ccmFailed.d.cts +78 -78
- package/dist/100/Swapping/ccmFailed.d.ts +78 -78
- package/dist/100/Swapping/swapAmountTooLow.d.cts +40 -40
- package/dist/100/Swapping/swapAmountTooLow.d.ts +40 -40
- package/dist/100/Swapping/swapDepositAddressReady.d.cts +24 -24
- package/dist/100/Swapping/swapDepositAddressReady.d.ts +24 -24
- package/dist/100/Swapping/swapEgressScheduled.d.cts +4 -4
- package/dist/100/Swapping/swapEgressScheduled.d.ts +4 -4
- package/dist/100/Swapping/swapScheduled.d.cts +118 -118
- package/dist/100/Swapping/swapScheduled.d.ts +118 -118
- package/dist/100/Swapping/withdrawalRequested.d.cts +16 -16
- package/dist/100/Swapping/withdrawalRequested.d.ts +16 -16
- package/dist/100/Witnesser/witnessExecutionFailed.d.cts +2 -2
- package/dist/100/Witnesser/witnessExecutionFailed.d.ts +2 -2
- package/dist/111/LiquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/LiquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- 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/131/LiquidityProvider/accountCredited.d.cts +2 -2
- package/dist/131/LiquidityProvider/accountCredited.d.ts +2 -2
- package/dist/131/LiquidityProvider/accountDebited.d.cts +2 -2
- package/dist/131/LiquidityProvider/accountDebited.d.ts +2 -2
- package/dist/131/LiquidityProvider/liquidityDepositAddressReady.d.cts +4 -4
- package/dist/131/LiquidityProvider/liquidityDepositAddressReady.d.ts +4 -4
- package/dist/131/LiquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/131/LiquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/131/Swapping/batchSwapFailed.d.cts +6 -6
- package/dist/131/Swapping/batchSwapFailed.d.ts +6 -6
- package/dist/131/Swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/131/Swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/131/Swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/131/Swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/131/Swapping/swapDepositAddressReady.d.cts +18 -18
- package/dist/131/Swapping/swapDepositAddressReady.d.ts +18 -18
- package/dist/131/Swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/131/Swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/131/Swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/131/Swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/131/Swapping/swapExecuted.d.cts +12 -12
- package/dist/131/Swapping/swapExecuted.d.ts +12 -12
- package/dist/131/Swapping/swapScheduled.d.cts +14 -14
- package/dist/131/Swapping/swapScheduled.d.ts +14 -14
- package/dist/131/Swapping/withdrawalRequested.d.cts +6 -6
- package/dist/131/Swapping/withdrawalRequested.d.ts +6 -6
- package/dist/141/ArbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/ArbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/ArbitrumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/141/ArbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/141/ArbitrumIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/141/ArbitrumIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/141/ArbitrumIngressEgress/depositFinalised.d.cts +8 -8
- package/dist/141/ArbitrumIngressEgress/depositFinalised.d.ts +8 -8
- package/dist/141/ArbitrumIngressEgress/depositIgnored.d.cts +3 -3
- package/dist/141/ArbitrumIngressEgress/depositIgnored.d.ts +3 -3
- package/dist/141/ArbitrumIngressEgress/depositWitnessRejected.d.cts +22 -22
- package/dist/141/ArbitrumIngressEgress/depositWitnessRejected.d.ts +22 -22
- package/dist/141/ArbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/141/ArbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/141/ArbitrumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/ArbitrumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/ArbitrumIngressEgress/transferFallbackRequested.d.cts +4 -4
- package/dist/141/ArbitrumIngressEgress/transferFallbackRequested.d.ts +4 -4
- package/dist/141/EthereumIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/EthereumIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/EthereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/EthereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/EthereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/EthereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/EthereumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/EthereumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/EvmThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/141/EvmThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/141/EvmThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/141/EvmThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/141/EvmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/141/LiquidityPools/limitOrderUpdated.d.cts +10 -10
- package/dist/141/LiquidityPools/limitOrderUpdated.d.ts +10 -10
- package/dist/141/LiquidityPools/rangeOrderUpdated.d.cts +10 -10
- package/dist/141/LiquidityPools/rangeOrderUpdated.d.ts +10 -10
- package/dist/141/PolkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/PolkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- 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/Swapping/batchSwapFailed.d.cts +8 -8
- package/dist/141/Swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/Swapping/ccmDepositReceived.d.cts +88 -88
- package/dist/141/Swapping/ccmDepositReceived.d.ts +88 -88
- package/dist/141/Swapping/ccmFailed.d.cts +124 -124
- package/dist/141/Swapping/ccmFailed.d.ts +124 -124
- package/dist/141/Swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/141/Swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/141/Swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/141/Swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/141/Swapping/swapDepositAddressReady.d.cts +50 -50
- package/dist/141/Swapping/swapDepositAddressReady.d.ts +50 -50
- package/dist/141/Swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/141/Swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/141/Swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/141/Swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/141/Swapping/swapExecuted.d.cts +98 -98
- package/dist/141/Swapping/swapExecuted.d.ts +98 -98
- package/dist/141/Swapping/swapScheduled.d.cts +150 -150
- package/dist/141/Swapping/swapScheduled.d.ts +150 -150
- package/dist/141/Swapping/withdrawalRequested.d.cts +22 -22
- package/dist/141/Swapping/withdrawalRequested.d.ts +22 -22
- package/dist/141/TokenholderGovernance/proposalEnacted.d.cts +8 -8
- package/dist/141/TokenholderGovernance/proposalEnacted.d.ts +8 -8
- package/dist/141/TokenholderGovernance/proposalPassed.d.cts +8 -8
- package/dist/141/TokenholderGovernance/proposalPassed.d.ts +8 -8
- package/dist/141/TokenholderGovernance/proposalRejected.d.cts +8 -8
- package/dist/141/TokenholderGovernance/proposalRejected.d.ts +8 -8
- package/dist/141/TokenholderGovernance/proposalSubmitted.d.cts +8 -8
- package/dist/141/TokenholderGovernance/proposalSubmitted.d.ts +8 -8
- package/dist/Processor.cjs +8 -1
- package/dist/Processor.d.cts +1 -0
- package/dist/Processor.d.ts +1 -0
- package/dist/Processor.mjs +8 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -13,11 +13,11 @@ declare const swappingWithdrawalRequested: z.ZodObject<{
|
|
|
13
13
|
egressAsset: z.ZodEffects<z.ZodObject<{
|
|
14
14
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt"]>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
__kind: "Eth" | "
|
|
16
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
17
17
|
}, {
|
|
18
|
-
__kind: "Eth" | "
|
|
19
|
-
}>, "Eth" | "
|
|
20
|
-
__kind: "Eth" | "
|
|
18
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
19
|
+
}>, "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt", {
|
|
20
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
21
21
|
}>;
|
|
22
22
|
egressAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
23
|
egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -25,77 +25,77 @@ declare const swappingWithdrawalRequested: z.ZodObject<{
|
|
|
25
25
|
__kind: z.ZodLiteral<"Eth">;
|
|
26
26
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
__kind: "Eth";
|
|
29
28
|
value: `0x${string}`;
|
|
30
|
-
}, {
|
|
31
29
|
__kind: "Eth";
|
|
30
|
+
}, {
|
|
32
31
|
value: string;
|
|
32
|
+
__kind: "Eth";
|
|
33
33
|
}>, z.ZodObject<{
|
|
34
34
|
__kind: z.ZodLiteral<"Dot">;
|
|
35
35
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
__kind: "Dot";
|
|
38
37
|
value: `0x${string}`;
|
|
39
|
-
}, {
|
|
40
38
|
__kind: "Dot";
|
|
39
|
+
}, {
|
|
41
40
|
value: string;
|
|
41
|
+
__kind: "Dot";
|
|
42
42
|
}>, z.ZodObject<{
|
|
43
43
|
__kind: z.ZodLiteral<"Btc">;
|
|
44
44
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
__kind: "Btc";
|
|
47
46
|
value: `0x${string}`;
|
|
48
|
-
}, {
|
|
49
47
|
__kind: "Btc";
|
|
48
|
+
}, {
|
|
50
49
|
value: string;
|
|
50
|
+
__kind: "Btc";
|
|
51
51
|
}>, z.ZodObject<{
|
|
52
52
|
__kind: z.ZodLiteral<"Arb">;
|
|
53
53
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
__kind: "Arb";
|
|
56
55
|
value: `0x${string}`;
|
|
57
|
-
}, {
|
|
58
56
|
__kind: "Arb";
|
|
57
|
+
}, {
|
|
59
58
|
value: string;
|
|
59
|
+
__kind: "Arb";
|
|
60
60
|
}>]>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
destinationAddress: {
|
|
63
|
-
__kind: "Eth";
|
|
64
63
|
value: `0x${string}`;
|
|
64
|
+
__kind: "Eth";
|
|
65
65
|
} | {
|
|
66
|
-
__kind: "Dot";
|
|
67
66
|
value: `0x${string}`;
|
|
67
|
+
__kind: "Dot";
|
|
68
68
|
} | {
|
|
69
|
-
__kind: "Btc";
|
|
70
69
|
value: `0x${string}`;
|
|
70
|
+
__kind: "Btc";
|
|
71
71
|
} | {
|
|
72
|
-
__kind: "Arb";
|
|
73
72
|
value: `0x${string}`;
|
|
73
|
+
__kind: "Arb";
|
|
74
74
|
};
|
|
75
75
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", bigint];
|
|
76
76
|
egressAmount: bigint;
|
|
77
|
-
egressAsset: "Eth" | "
|
|
77
|
+
egressAsset: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
78
78
|
egressFee: bigint;
|
|
79
79
|
}, {
|
|
80
80
|
destinationAddress: {
|
|
81
|
-
__kind: "Eth";
|
|
82
81
|
value: string;
|
|
82
|
+
__kind: "Eth";
|
|
83
83
|
} | {
|
|
84
|
-
__kind: "Dot";
|
|
85
84
|
value: string;
|
|
85
|
+
__kind: "Dot";
|
|
86
86
|
} | {
|
|
87
|
-
__kind: "Btc";
|
|
88
87
|
value: string;
|
|
88
|
+
__kind: "Btc";
|
|
89
89
|
} | {
|
|
90
|
-
__kind: "Arb";
|
|
91
90
|
value: string;
|
|
91
|
+
__kind: "Arb";
|
|
92
92
|
};
|
|
93
93
|
egressId: [{
|
|
94
94
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
95
95
|
}, string | number];
|
|
96
96
|
egressAmount: string | number;
|
|
97
97
|
egressAsset: {
|
|
98
|
-
__kind: "Eth" | "
|
|
98
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
99
99
|
};
|
|
100
100
|
egressFee: string | number;
|
|
101
101
|
}>;
|
|
@@ -13,11 +13,11 @@ declare const swappingWithdrawalRequested: z.ZodObject<{
|
|
|
13
13
|
egressAsset: z.ZodEffects<z.ZodObject<{
|
|
14
14
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt"]>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
__kind: "Eth" | "
|
|
16
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
17
17
|
}, {
|
|
18
|
-
__kind: "Eth" | "
|
|
19
|
-
}>, "Eth" | "
|
|
20
|
-
__kind: "Eth" | "
|
|
18
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
19
|
+
}>, "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt", {
|
|
20
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
21
21
|
}>;
|
|
22
22
|
egressAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
23
|
egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -25,77 +25,77 @@ declare const swappingWithdrawalRequested: z.ZodObject<{
|
|
|
25
25
|
__kind: z.ZodLiteral<"Eth">;
|
|
26
26
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
__kind: "Eth";
|
|
29
28
|
value: `0x${string}`;
|
|
30
|
-
}, {
|
|
31
29
|
__kind: "Eth";
|
|
30
|
+
}, {
|
|
32
31
|
value: string;
|
|
32
|
+
__kind: "Eth";
|
|
33
33
|
}>, z.ZodObject<{
|
|
34
34
|
__kind: z.ZodLiteral<"Dot">;
|
|
35
35
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
__kind: "Dot";
|
|
38
37
|
value: `0x${string}`;
|
|
39
|
-
}, {
|
|
40
38
|
__kind: "Dot";
|
|
39
|
+
}, {
|
|
41
40
|
value: string;
|
|
41
|
+
__kind: "Dot";
|
|
42
42
|
}>, z.ZodObject<{
|
|
43
43
|
__kind: z.ZodLiteral<"Btc">;
|
|
44
44
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
__kind: "Btc";
|
|
47
46
|
value: `0x${string}`;
|
|
48
|
-
}, {
|
|
49
47
|
__kind: "Btc";
|
|
48
|
+
}, {
|
|
50
49
|
value: string;
|
|
50
|
+
__kind: "Btc";
|
|
51
51
|
}>, z.ZodObject<{
|
|
52
52
|
__kind: z.ZodLiteral<"Arb">;
|
|
53
53
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
__kind: "Arb";
|
|
56
55
|
value: `0x${string}`;
|
|
57
|
-
}, {
|
|
58
56
|
__kind: "Arb";
|
|
57
|
+
}, {
|
|
59
58
|
value: string;
|
|
59
|
+
__kind: "Arb";
|
|
60
60
|
}>]>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
destinationAddress: {
|
|
63
|
-
__kind: "Eth";
|
|
64
63
|
value: `0x${string}`;
|
|
64
|
+
__kind: "Eth";
|
|
65
65
|
} | {
|
|
66
|
-
__kind: "Dot";
|
|
67
66
|
value: `0x${string}`;
|
|
67
|
+
__kind: "Dot";
|
|
68
68
|
} | {
|
|
69
|
-
__kind: "Btc";
|
|
70
69
|
value: `0x${string}`;
|
|
70
|
+
__kind: "Btc";
|
|
71
71
|
} | {
|
|
72
|
-
__kind: "Arb";
|
|
73
72
|
value: `0x${string}`;
|
|
73
|
+
__kind: "Arb";
|
|
74
74
|
};
|
|
75
75
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", bigint];
|
|
76
76
|
egressAmount: bigint;
|
|
77
|
-
egressAsset: "Eth" | "
|
|
77
|
+
egressAsset: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
78
78
|
egressFee: bigint;
|
|
79
79
|
}, {
|
|
80
80
|
destinationAddress: {
|
|
81
|
-
__kind: "Eth";
|
|
82
81
|
value: string;
|
|
82
|
+
__kind: "Eth";
|
|
83
83
|
} | {
|
|
84
|
-
__kind: "Dot";
|
|
85
84
|
value: string;
|
|
85
|
+
__kind: "Dot";
|
|
86
86
|
} | {
|
|
87
|
-
__kind: "Btc";
|
|
88
87
|
value: string;
|
|
88
|
+
__kind: "Btc";
|
|
89
89
|
} | {
|
|
90
|
-
__kind: "Arb";
|
|
91
90
|
value: string;
|
|
91
|
+
__kind: "Arb";
|
|
92
92
|
};
|
|
93
93
|
egressId: [{
|
|
94
94
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
95
95
|
}, string | number];
|
|
96
96
|
egressAmount: string | number;
|
|
97
97
|
egressAsset: {
|
|
98
|
-
__kind: "Eth" | "
|
|
98
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
99
99
|
};
|
|
100
100
|
egressFee: string | number;
|
|
101
101
|
}>;
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalEnacted: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalEnacted: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalPassed: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalPassed: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalRejected: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalRejected: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalSubmitted: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
|
@@ -13,40 +13,40 @@ declare const tokenholderGovernanceProposalSubmitted: z.ZodObject<{
|
|
|
13
13
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
14
14
|
}>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
17
16
|
__kind: "SetGovernanceKey";
|
|
17
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
18
18
|
}, {
|
|
19
|
+
__kind: "SetGovernanceKey";
|
|
19
20
|
value: [{
|
|
20
21
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
21
22
|
}, string];
|
|
22
|
-
__kind: "SetGovernanceKey";
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
__kind: z.ZodLiteral<"SetCommunityKey">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: `0x${string}`;
|
|
28
27
|
__kind: "SetCommunityKey";
|
|
28
|
+
value: `0x${string}`;
|
|
29
29
|
}, {
|
|
30
|
-
value: string;
|
|
31
30
|
__kind: "SetCommunityKey";
|
|
31
|
+
value: string;
|
|
32
32
|
}>]>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
proposal: {
|
|
35
|
-
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
36
35
|
__kind: "SetGovernanceKey";
|
|
36
|
+
value: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum", `0x${string}`];
|
|
37
37
|
} | {
|
|
38
|
-
value: `0x${string}`;
|
|
39
38
|
__kind: "SetCommunityKey";
|
|
39
|
+
value: `0x${string}`;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
proposal: {
|
|
43
|
+
__kind: "SetGovernanceKey";
|
|
43
44
|
value: [{
|
|
44
45
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum";
|
|
45
46
|
}, string];
|
|
46
|
-
__kind: "SetGovernanceKey";
|
|
47
47
|
} | {
|
|
48
|
-
value: string;
|
|
49
48
|
__kind: "SetCommunityKey";
|
|
49
|
+
value: string;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
|
package/dist/Processor.cjs
CHANGED
|
@@ -55,11 +55,18 @@ var Processor = (_class = class {
|
|
|
55
55
|
initialize(endHeight) {
|
|
56
56
|
return this.processorStore.initializeState(this.name, this.startHeight, endHeight);
|
|
57
57
|
}
|
|
58
|
+
getEventNames() {
|
|
59
|
+
return void 0;
|
|
60
|
+
}
|
|
58
61
|
async fetchBlocks(height) {
|
|
59
62
|
const start = performance.now();
|
|
60
63
|
for (let i = 0; i < 5 && this.running; i += 1) {
|
|
61
64
|
try {
|
|
62
|
-
const blocks = await this.indexerStore.fetchBlocks(
|
|
65
|
+
const blocks = await this.indexerStore.fetchBlocks(
|
|
66
|
+
height,
|
|
67
|
+
this.batchSize,
|
|
68
|
+
this.getEventNames()
|
|
69
|
+
);
|
|
63
70
|
this.logger.info("blocks fetched", {
|
|
64
71
|
height,
|
|
65
72
|
duration: performance.now() - start,
|
package/dist/Processor.d.cts
CHANGED
|
@@ -18,6 +18,7 @@ declare class Processor<P extends ProcessorStore<unknown, unknown>, I extends In
|
|
|
18
18
|
protected preBlockHook(_store: P, _block: Block): Promise<void>;
|
|
19
19
|
protected postBlockHook(_store: P, _block: Block): Promise<void>;
|
|
20
20
|
protected initialize(endHeight?: number): Promise<State>;
|
|
21
|
+
protected getEventNames(): string[] | undefined;
|
|
21
22
|
private fetchBlocks;
|
|
22
23
|
protected getEventInfo(store: P, blockId: number, indexInBlock: number): Promise<EventInfo<P>>;
|
|
23
24
|
protected getEventHandler(name: string, specId: string): EventHandler<P> | null;
|
package/dist/Processor.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare class Processor<P extends ProcessorStore<unknown, unknown>, I extends In
|
|
|
18
18
|
protected preBlockHook(_store: P, _block: Block): Promise<void>;
|
|
19
19
|
protected postBlockHook(_store: P, _block: Block): Promise<void>;
|
|
20
20
|
protected initialize(endHeight?: number): Promise<State>;
|
|
21
|
+
protected getEventNames(): string[] | undefined;
|
|
21
22
|
private fetchBlocks;
|
|
22
23
|
protected getEventInfo(store: P, blockId: number, indexInBlock: number): Promise<EventInfo<P>>;
|
|
23
24
|
protected getEventHandler(name: string, specId: string): EventHandler<P> | null;
|