@chainflip/processor 1.5.4 → 1.5.5
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 +4 -4
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +20 -20
- package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +20 -20
- package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
- 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 +20 -20
- package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
- 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 +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +2 -2
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +4 -4
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.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/tokenholderGovernance/proposalEnacted.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalEnacted.d.ts +8 -8
- package/dist/100/tokenholderGovernance/proposalPassed.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalPassed.d.ts +8 -8
- package/dist/100/tokenholderGovernance/proposalRejected.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalRejected.d.ts +8 -8
- package/dist/100/tokenholderGovernance/proposalSubmitted.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalSubmitted.d.ts +8 -8
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- package/dist/120/swapping/ccmFailed.d.cts +70 -70
- package/dist/120/swapping/ccmFailed.d.ts +70 -70
- package/dist/120/swapping/swapEgressIgnored.d.cts +28 -28
- package/dist/120/swapping/swapEgressIgnored.d.ts +28 -28
- package/dist/120/swapping/swapEgressScheduled.d.cts +6 -6
- package/dist/120/swapping/swapEgressScheduled.d.ts +6 -6
- package/dist/120/swapping/swapExecuted.d.cts +12 -12
- package/dist/120/swapping/swapExecuted.d.ts +12 -12
- package/dist/120/swapping/withdrawalRequested.d.cts +12 -12
- package/dist/120/swapping/withdrawalRequested.d.ts +12 -12
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +4 -4
- 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 +4 -4
- package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
- 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 +6 -6
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +6 -6
- 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 +4 -4
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- 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/ethereumIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.ts +2 -2
- 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/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
- 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 +80 -80
- package/dist/141/swapping/ccmDepositReceived.d.ts +80 -80
- package/dist/141/swapping/ccmFailed.d.cts +100 -100
- package/dist/141/swapping/ccmFailed.d.ts +100 -100
- 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 +44 -44
- package/dist/141/swapping/swapDepositAddressReady.d.ts +44 -44
- 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 +11 -11
- package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
- package/dist/141/swapping/swapExecuted.d.cts +88 -88
- package/dist/141/swapping/swapExecuted.d.ts +88 -88
- package/dist/141/swapping/swapScheduled.d.cts +124 -124
- package/dist/141/swapping/swapScheduled.d.ts +124 -124
- package/dist/141/swapping/withdrawalRequested.d.cts +26 -26
- package/dist/141/swapping/withdrawalRequested.d.ts +26 -26
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/assetBalances/refundScheduled.d.cts +2 -2
- package/dist/150/assetBalances/refundScheduled.d.ts +2 -2
- package/dist/150/assetBalances/refundSkipped.d.cts +50 -50
- package/dist/150/assetBalances/refundSkipped.d.ts +50 -50
- package/dist/150/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/150/solanaIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +3 -3
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +3 -3
- package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/150/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
- package/dist/150/solanaIngressEgress/transferFallbackRequested.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/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/common.cjs +7 -2
- package/dist/160/common.d.cts +12 -2
- package/dist/160/common.d.ts +12 -2
- package/dist/160/common.mjs +7 -2
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/160/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountDebited.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/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositCredited.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 +6 -6
- package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/solanaIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/160/solanaIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/160/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/solanaIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +26 -26
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +26 -26
- package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
- package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
- package/dist/160/swapping/swapDepositAddressReady.cjs +3 -1
- package/dist/160/swapping/swapDepositAddressReady.d.cts +36 -18
- package/dist/160/swapping/swapDepositAddressReady.d.ts +36 -18
- package/dist/160/swapping/swapDepositAddressReady.mjs +4 -2
- package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/swapEgressScheduled.cjs +1 -1
- package/dist/160/swapping/swapEgressScheduled.d.cts +11 -11
- package/dist/160/swapping/swapEgressScheduled.d.ts +11 -11
- package/dist/160/swapping/swapEgressScheduled.mjs +1 -1
- package/dist/160/swapping/swapExecuted.d.cts +12 -12
- package/dist/160/swapping/swapExecuted.d.ts +12 -12
- package/dist/160/swapping/swapRequested.d.cts +14 -14
- package/dist/160/swapping/swapRequested.d.ts +14 -14
- package/dist/160/swapping/withdrawalRequested.d.cts +6 -6
- package/dist/160/swapping/withdrawalRequested.d.ts +6 -6
- package/package.json +1 -1
|
@@ -5,11 +5,11 @@ declare const swappingRefundEgressIgnored: z.ZodObject<{
|
|
|
5
5
|
asset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
11
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
12
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
13
13
|
}>;
|
|
14
14
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
reason: z.ZodUnion<[z.ZodObject<{
|
|
@@ -155,9 +155,6 @@ declare const swappingRefundEgressIgnored: z.ZodObject<{
|
|
|
155
155
|
__kind: "RootNotAllowed";
|
|
156
156
|
}>]>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
159
|
-
amount: bigint;
|
|
160
|
-
swapRequestId: bigint;
|
|
161
158
|
reason: {
|
|
162
159
|
__kind: "Other";
|
|
163
160
|
} | {
|
|
@@ -194,12 +191,10 @@ declare const swappingRefundEgressIgnored: z.ZodObject<{
|
|
|
194
191
|
} | {
|
|
195
192
|
__kind: "RootNotAllowed";
|
|
196
193
|
};
|
|
194
|
+
swapRequestId: bigint;
|
|
195
|
+
asset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
196
|
+
amount: bigint;
|
|
197
197
|
}, {
|
|
198
|
-
asset: {
|
|
199
|
-
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
200
|
-
};
|
|
201
|
-
amount: string | number;
|
|
202
|
-
swapRequestId: string | number;
|
|
203
198
|
reason: {
|
|
204
199
|
__kind: "Other";
|
|
205
200
|
} | {
|
|
@@ -242,6 +237,11 @@ declare const swappingRefundEgressIgnored: z.ZodObject<{
|
|
|
242
237
|
} | {
|
|
243
238
|
__kind: "RootNotAllowed";
|
|
244
239
|
};
|
|
240
|
+
swapRequestId: string | number;
|
|
241
|
+
asset: {
|
|
242
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
243
|
+
};
|
|
244
|
+
amount: string | number;
|
|
245
245
|
}>;
|
|
246
246
|
|
|
247
247
|
export { swappingRefundEgressIgnored };
|
|
@@ -14,26 +14,26 @@ declare const swappingRefundEgressScheduled: z.ZodObject<{
|
|
|
14
14
|
asset: z.ZodEffects<z.ZodObject<{
|
|
15
15
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "Eth" | "
|
|
17
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
18
18
|
}, {
|
|
19
|
-
__kind: "Eth" | "
|
|
20
|
-
}>, "Eth" | "
|
|
21
|
-
__kind: "Eth" | "
|
|
19
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
20
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
21
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
22
22
|
}>;
|
|
23
23
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
24
|
egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
27
|
-
amount: bigint;
|
|
28
26
|
swapRequestId: bigint;
|
|
27
|
+
asset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
28
|
+
amount: bigint;
|
|
29
29
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
30
30
|
egressFee: bigint;
|
|
31
31
|
}, {
|
|
32
|
+
swapRequestId: string | number;
|
|
32
33
|
asset: {
|
|
33
|
-
__kind: "Eth" | "
|
|
34
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
34
35
|
};
|
|
35
36
|
amount: string | number;
|
|
36
|
-
swapRequestId: string | number;
|
|
37
37
|
egressId: [{
|
|
38
38
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
39
39
|
}, string | number];
|
|
@@ -14,26 +14,26 @@ declare const swappingRefundEgressScheduled: z.ZodObject<{
|
|
|
14
14
|
asset: z.ZodEffects<z.ZodObject<{
|
|
15
15
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "Eth" | "
|
|
17
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
18
18
|
}, {
|
|
19
|
-
__kind: "Eth" | "
|
|
20
|
-
}>, "Eth" | "
|
|
21
|
-
__kind: "Eth" | "
|
|
19
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
20
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
21
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
22
22
|
}>;
|
|
23
23
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
24
|
egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
27
|
-
amount: bigint;
|
|
28
26
|
swapRequestId: bigint;
|
|
27
|
+
asset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
28
|
+
amount: bigint;
|
|
29
29
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
30
30
|
egressFee: bigint;
|
|
31
31
|
}, {
|
|
32
|
+
swapRequestId: string | number;
|
|
32
33
|
asset: {
|
|
33
|
-
__kind: "Eth" | "
|
|
34
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
34
35
|
};
|
|
35
36
|
amount: string | number;
|
|
36
|
-
swapRequestId: string | number;
|
|
37
37
|
egressId: [{
|
|
38
38
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
39
39
|
}, string | number];
|
|
@@ -5,24 +5,24 @@ declare const swappingSwapAmountConfiscated: z.ZodObject<{
|
|
|
5
5
|
asset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
11
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
12
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
13
13
|
}>;
|
|
14
14
|
totalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
confiscatedAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
18
17
|
swapRequestId: bigint;
|
|
18
|
+
asset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
19
19
|
totalAmount: bigint;
|
|
20
20
|
confiscatedAmount: bigint;
|
|
21
21
|
}, {
|
|
22
|
+
swapRequestId: string | number;
|
|
22
23
|
asset: {
|
|
23
|
-
__kind: "Eth" | "
|
|
24
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
24
25
|
};
|
|
25
|
-
swapRequestId: string | number;
|
|
26
26
|
totalAmount: string | number;
|
|
27
27
|
confiscatedAmount: string | number;
|
|
28
28
|
}>;
|
|
@@ -5,24 +5,24 @@ declare const swappingSwapAmountConfiscated: z.ZodObject<{
|
|
|
5
5
|
asset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
11
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
12
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
13
13
|
}>;
|
|
14
14
|
totalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
confiscatedAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
18
17
|
swapRequestId: bigint;
|
|
18
|
+
asset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
19
19
|
totalAmount: bigint;
|
|
20
20
|
confiscatedAmount: bigint;
|
|
21
21
|
}, {
|
|
22
|
+
swapRequestId: string | number;
|
|
22
23
|
asset: {
|
|
23
|
-
__kind: "Eth" | "
|
|
24
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
24
25
|
};
|
|
25
|
-
swapRequestId: string | number;
|
|
26
26
|
totalAmount: string | number;
|
|
27
27
|
confiscatedAmount: string | number;
|
|
28
28
|
}>;
|
|
@@ -7,6 +7,7 @@ var _zod = require('zod');
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
var _commoncjs = require('../common.cjs');
|
|
11
12
|
var swappingSwapDepositAddressReady = _zod.z.object({
|
|
12
13
|
depositAddress: _commoncjs.cfChainsAddressEncodedAddress,
|
|
@@ -20,7 +21,8 @@ var swappingSwapDepositAddressReady = _zod.z.object({
|
|
|
20
21
|
boostFee: _zod.z.number(),
|
|
21
22
|
channelOpeningFee: _commoncjs.numberOrHex,
|
|
22
23
|
affiliateFees: _zod.z.array(_commoncjs.cfPrimitivesBeneficiary),
|
|
23
|
-
refundParameters: _commoncjs.
|
|
24
|
+
refundParameters: _commoncjs.cfChainsChannelRefundParametersGenericEncodedAddress.nullish(),
|
|
25
|
+
dcaParameters: _commoncjs.cfPrimitivesDcaParameters.nullish()
|
|
24
26
|
});
|
|
25
27
|
|
|
26
28
|
|
|
@@ -156,20 +156,20 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
156
156
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
157
157
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
__kind: "Eth" | "
|
|
159
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
160
160
|
}, {
|
|
161
|
-
__kind: "Eth" | "
|
|
162
|
-
}>, "Eth" | "
|
|
163
|
-
__kind: "Eth" | "
|
|
161
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
162
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
163
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
164
164
|
}>;
|
|
165
165
|
destinationAsset: z.ZodEffects<z.ZodObject<{
|
|
166
166
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
__kind: "Eth" | "
|
|
168
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
169
169
|
}, {
|
|
170
|
-
__kind: "Eth" | "
|
|
171
|
-
}>, "Eth" | "
|
|
172
|
-
__kind: "Eth" | "
|
|
170
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
171
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
172
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
173
173
|
}>;
|
|
174
174
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
175
175
|
brokerCommissionRate: z.ZodNumber;
|
|
@@ -317,8 +317,18 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
317
317
|
};
|
|
318
318
|
minPrice: string | number;
|
|
319
319
|
}>>>;
|
|
320
|
+
dcaParameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
321
|
+
numberOfChunks: z.ZodNumber;
|
|
322
|
+
chunkInterval: z.ZodNumber;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
numberOfChunks: number;
|
|
325
|
+
chunkInterval: number;
|
|
326
|
+
}, {
|
|
327
|
+
numberOfChunks: number;
|
|
328
|
+
chunkInterval: number;
|
|
329
|
+
}>>>;
|
|
320
330
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
|
|
331
|
+
destinationAddress: {
|
|
322
332
|
chain: "Ethereum";
|
|
323
333
|
address: `0x${string}`;
|
|
324
334
|
} | {
|
|
@@ -334,8 +344,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
334
344
|
chain: "Solana";
|
|
335
345
|
address: string;
|
|
336
346
|
};
|
|
337
|
-
|
|
338
|
-
destinationAddress: {
|
|
347
|
+
depositAddress: {
|
|
339
348
|
chain: "Ethereum";
|
|
340
349
|
address: `0x${string}`;
|
|
341
350
|
} | {
|
|
@@ -351,8 +360,9 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
351
360
|
chain: "Solana";
|
|
352
361
|
address: string;
|
|
353
362
|
};
|
|
354
|
-
|
|
355
|
-
|
|
363
|
+
channelId: bigint;
|
|
364
|
+
sourceAsset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
365
|
+
destinationAsset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
356
366
|
brokerCommissionRate: number;
|
|
357
367
|
sourceChainExpiryBlock: bigint;
|
|
358
368
|
boostFee: number;
|
|
@@ -386,8 +396,12 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
386
396
|
};
|
|
387
397
|
minPrice: bigint;
|
|
388
398
|
} | null | undefined;
|
|
399
|
+
dcaParameters?: {
|
|
400
|
+
numberOfChunks: number;
|
|
401
|
+
chunkInterval: number;
|
|
402
|
+
} | null | undefined;
|
|
389
403
|
}, {
|
|
390
|
-
|
|
404
|
+
destinationAddress: {
|
|
391
405
|
__kind: "Eth";
|
|
392
406
|
value: string;
|
|
393
407
|
} | {
|
|
@@ -403,8 +417,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
403
417
|
__kind: "Sol";
|
|
404
418
|
value: string;
|
|
405
419
|
};
|
|
406
|
-
|
|
407
|
-
destinationAddress: {
|
|
420
|
+
depositAddress: {
|
|
408
421
|
__kind: "Eth";
|
|
409
422
|
value: string;
|
|
410
423
|
} | {
|
|
@@ -420,11 +433,12 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
420
433
|
__kind: "Sol";
|
|
421
434
|
value: string;
|
|
422
435
|
};
|
|
436
|
+
channelId: string | number;
|
|
423
437
|
sourceAsset: {
|
|
424
|
-
__kind: "Eth" | "
|
|
438
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
425
439
|
};
|
|
426
440
|
destinationAsset: {
|
|
427
|
-
__kind: "Eth" | "
|
|
441
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
428
442
|
};
|
|
429
443
|
brokerCommissionRate: number;
|
|
430
444
|
sourceChainExpiryBlock: string | number;
|
|
@@ -459,6 +473,10 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
459
473
|
};
|
|
460
474
|
minPrice: string | number;
|
|
461
475
|
} | null | undefined;
|
|
476
|
+
dcaParameters?: {
|
|
477
|
+
numberOfChunks: number;
|
|
478
|
+
chunkInterval: number;
|
|
479
|
+
} | null | undefined;
|
|
462
480
|
}>;
|
|
463
481
|
|
|
464
482
|
export { swappingSwapDepositAddressReady };
|
|
@@ -156,20 +156,20 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
156
156
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
157
157
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
__kind: "Eth" | "
|
|
159
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
160
160
|
}, {
|
|
161
|
-
__kind: "Eth" | "
|
|
162
|
-
}>, "Eth" | "
|
|
163
|
-
__kind: "Eth" | "
|
|
161
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
162
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
163
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
164
164
|
}>;
|
|
165
165
|
destinationAsset: z.ZodEffects<z.ZodObject<{
|
|
166
166
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
__kind: "Eth" | "
|
|
168
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
169
169
|
}, {
|
|
170
|
-
__kind: "Eth" | "
|
|
171
|
-
}>, "Eth" | "
|
|
172
|
-
__kind: "Eth" | "
|
|
170
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
171
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
172
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
173
173
|
}>;
|
|
174
174
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
175
175
|
brokerCommissionRate: z.ZodNumber;
|
|
@@ -317,8 +317,18 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
317
317
|
};
|
|
318
318
|
minPrice: string | number;
|
|
319
319
|
}>>>;
|
|
320
|
+
dcaParameters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
321
|
+
numberOfChunks: z.ZodNumber;
|
|
322
|
+
chunkInterval: z.ZodNumber;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
numberOfChunks: number;
|
|
325
|
+
chunkInterval: number;
|
|
326
|
+
}, {
|
|
327
|
+
numberOfChunks: number;
|
|
328
|
+
chunkInterval: number;
|
|
329
|
+
}>>>;
|
|
320
330
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
-
|
|
331
|
+
destinationAddress: {
|
|
322
332
|
chain: "Ethereum";
|
|
323
333
|
address: `0x${string}`;
|
|
324
334
|
} | {
|
|
@@ -334,8 +344,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
334
344
|
chain: "Solana";
|
|
335
345
|
address: string;
|
|
336
346
|
};
|
|
337
|
-
|
|
338
|
-
destinationAddress: {
|
|
347
|
+
depositAddress: {
|
|
339
348
|
chain: "Ethereum";
|
|
340
349
|
address: `0x${string}`;
|
|
341
350
|
} | {
|
|
@@ -351,8 +360,9 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
351
360
|
chain: "Solana";
|
|
352
361
|
address: string;
|
|
353
362
|
};
|
|
354
|
-
|
|
355
|
-
|
|
363
|
+
channelId: bigint;
|
|
364
|
+
sourceAsset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
365
|
+
destinationAsset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
356
366
|
brokerCommissionRate: number;
|
|
357
367
|
sourceChainExpiryBlock: bigint;
|
|
358
368
|
boostFee: number;
|
|
@@ -386,8 +396,12 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
386
396
|
};
|
|
387
397
|
minPrice: bigint;
|
|
388
398
|
} | null | undefined;
|
|
399
|
+
dcaParameters?: {
|
|
400
|
+
numberOfChunks: number;
|
|
401
|
+
chunkInterval: number;
|
|
402
|
+
} | null | undefined;
|
|
389
403
|
}, {
|
|
390
|
-
|
|
404
|
+
destinationAddress: {
|
|
391
405
|
__kind: "Eth";
|
|
392
406
|
value: string;
|
|
393
407
|
} | {
|
|
@@ -403,8 +417,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
403
417
|
__kind: "Sol";
|
|
404
418
|
value: string;
|
|
405
419
|
};
|
|
406
|
-
|
|
407
|
-
destinationAddress: {
|
|
420
|
+
depositAddress: {
|
|
408
421
|
__kind: "Eth";
|
|
409
422
|
value: string;
|
|
410
423
|
} | {
|
|
@@ -420,11 +433,12 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
420
433
|
__kind: "Sol";
|
|
421
434
|
value: string;
|
|
422
435
|
};
|
|
436
|
+
channelId: string | number;
|
|
423
437
|
sourceAsset: {
|
|
424
|
-
__kind: "Eth" | "
|
|
438
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
425
439
|
};
|
|
426
440
|
destinationAsset: {
|
|
427
|
-
__kind: "Eth" | "
|
|
441
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
428
442
|
};
|
|
429
443
|
brokerCommissionRate: number;
|
|
430
444
|
sourceChainExpiryBlock: string | number;
|
|
@@ -459,6 +473,10 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
459
473
|
};
|
|
460
474
|
minPrice: string | number;
|
|
461
475
|
} | null | undefined;
|
|
476
|
+
dcaParameters?: {
|
|
477
|
+
numberOfChunks: number;
|
|
478
|
+
chunkInterval: number;
|
|
479
|
+
} | null | undefined;
|
|
462
480
|
}>;
|
|
463
481
|
|
|
464
482
|
export { swappingSwapDepositAddressReady };
|
|
@@ -3,9 +3,10 @@ import { z } from "zod";
|
|
|
3
3
|
import {
|
|
4
4
|
cfChainsAddressEncodedAddress,
|
|
5
5
|
cfChainsCcmChannelMetadata,
|
|
6
|
-
|
|
6
|
+
cfChainsChannelRefundParametersGenericEncodedAddress,
|
|
7
7
|
cfPrimitivesBeneficiary,
|
|
8
8
|
cfPrimitivesChainsAssetsAnyAsset,
|
|
9
|
+
cfPrimitivesDcaParameters,
|
|
9
10
|
numberOrHex
|
|
10
11
|
} from "../common.mjs";
|
|
11
12
|
var swappingSwapDepositAddressReady = z.object({
|
|
@@ -20,7 +21,8 @@ var swappingSwapDepositAddressReady = z.object({
|
|
|
20
21
|
boostFee: z.number(),
|
|
21
22
|
channelOpeningFee: numberOrHex,
|
|
22
23
|
affiliateFees: z.array(cfPrimitivesBeneficiary),
|
|
23
|
-
refundParameters:
|
|
24
|
+
refundParameters: cfChainsChannelRefundParametersGenericEncodedAddress.nullish(),
|
|
25
|
+
dcaParameters: cfPrimitivesDcaParameters.nullish()
|
|
24
26
|
});
|
|
25
27
|
export {
|
|
26
28
|
swappingSwapDepositAddressReady
|
|
@@ -5,11 +5,11 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
5
5
|
asset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
11
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
12
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
13
13
|
}>;
|
|
14
14
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
reason: z.ZodUnion<[z.ZodObject<{
|
|
@@ -155,9 +155,6 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
155
155
|
__kind: "RootNotAllowed";
|
|
156
156
|
}>]>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
159
|
-
amount: bigint;
|
|
160
|
-
swapRequestId: bigint;
|
|
161
158
|
reason: {
|
|
162
159
|
__kind: "Other";
|
|
163
160
|
} | {
|
|
@@ -194,12 +191,10 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
194
191
|
} | {
|
|
195
192
|
__kind: "RootNotAllowed";
|
|
196
193
|
};
|
|
194
|
+
swapRequestId: bigint;
|
|
195
|
+
asset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
196
|
+
amount: bigint;
|
|
197
197
|
}, {
|
|
198
|
-
asset: {
|
|
199
|
-
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
200
|
-
};
|
|
201
|
-
amount: string | number;
|
|
202
|
-
swapRequestId: string | number;
|
|
203
198
|
reason: {
|
|
204
199
|
__kind: "Other";
|
|
205
200
|
} | {
|
|
@@ -242,6 +237,11 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
242
237
|
} | {
|
|
243
238
|
__kind: "RootNotAllowed";
|
|
244
239
|
};
|
|
240
|
+
swapRequestId: string | number;
|
|
241
|
+
asset: {
|
|
242
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
243
|
+
};
|
|
244
|
+
amount: string | number;
|
|
245
245
|
}>;
|
|
246
246
|
|
|
247
247
|
export { swappingSwapEgressIgnored };
|
|
@@ -5,11 +5,11 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
5
5
|
asset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
11
|
+
}>, "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc", {
|
|
12
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
13
13
|
}>;
|
|
14
14
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
reason: z.ZodUnion<[z.ZodObject<{
|
|
@@ -155,9 +155,6 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
155
155
|
__kind: "RootNotAllowed";
|
|
156
156
|
}>]>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
159
|
-
amount: bigint;
|
|
160
|
-
swapRequestId: bigint;
|
|
161
158
|
reason: {
|
|
162
159
|
__kind: "Other";
|
|
163
160
|
} | {
|
|
@@ -194,12 +191,10 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
194
191
|
} | {
|
|
195
192
|
__kind: "RootNotAllowed";
|
|
196
193
|
};
|
|
194
|
+
swapRequestId: bigint;
|
|
195
|
+
asset: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
196
|
+
amount: bigint;
|
|
197
197
|
}, {
|
|
198
|
-
asset: {
|
|
199
|
-
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
200
|
-
};
|
|
201
|
-
amount: string | number;
|
|
202
|
-
swapRequestId: string | number;
|
|
203
198
|
reason: {
|
|
204
199
|
__kind: "Other";
|
|
205
200
|
} | {
|
|
@@ -242,6 +237,11 @@ declare const swappingSwapEgressIgnored: z.ZodObject<{
|
|
|
242
237
|
} | {
|
|
243
238
|
__kind: "RootNotAllowed";
|
|
244
239
|
};
|
|
240
|
+
swapRequestId: string | number;
|
|
241
|
+
asset: {
|
|
242
|
+
__kind: "Eth" | "Dot" | "Btc" | "Sol" | "Flip" | "Usdc" | "ArbEth" | "ArbUsdc" | "Usdt" | "SolUsdc";
|
|
243
|
+
};
|
|
244
|
+
amount: string | number;
|
|
245
245
|
}>;
|
|
246
246
|
|
|
247
247
|
export { swappingSwapEgressIgnored };
|
|
@@ -10,7 +10,7 @@ var swappingSwapEgressScheduled = _zod.z.object({
|
|
|
10
10
|
egressId: _zod.z.tuple([_commoncjs.cfPrimitivesChainsForeignChain, _commoncjs.numberOrHex]),
|
|
11
11
|
asset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
12
12
|
amount: _commoncjs.numberOrHex,
|
|
13
|
-
|
|
13
|
+
egressFee: _commoncjs.numberOrHex
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
|