@chainflip/processor 1.8.1 → 1.8.3
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/environment/runtimeSafeModeUpdated.d.cts +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
- 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 +8 -8
- package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/100/swapping/ccmDepositReceived.d.cts +70 -70
- package/dist/100/swapping/ccmDepositReceived.d.ts +70 -70
- package/dist/100/swapping/ccmFailed.d.cts +70 -70
- package/dist/100/swapping/ccmFailed.d.ts +70 -70
- package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
- package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
- package/dist/100/swapping/swapAmountTooLow.d.cts +37 -37
- package/dist/100/swapping/swapAmountTooLow.d.ts +37 -37
- package/dist/100/swapping/swapDepositAddressReady.d.cts +42 -42
- package/dist/100/swapping/swapDepositAddressReady.d.ts +42 -42
- package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
- package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
- package/dist/100/swapping/swapExecuted.d.cts +12 -12
- package/dist/100/swapping/swapExecuted.d.ts +12 -12
- package/dist/100/swapping/swapScheduled.d.cts +109 -109
- package/dist/100/swapping/swapScheduled.d.ts +109 -109
- package/dist/100/swapping/withdrawalRequested.d.cts +12 -12
- package/dist/100/swapping/withdrawalRequested.d.ts +12 -12
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/common.cjs +35 -3
- package/dist/120/common.d.cts +95 -3
- package/dist/120/common.d.ts +95 -3
- package/dist/120/common.mjs +36 -4
- package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/common.cjs +19 -3
- package/dist/131/common.d.cts +49 -3
- package/dist/131/common.d.ts +49 -3
- package/dist/131/common.mjs +20 -4
- package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -10
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -10
- package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +10 -10
- package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +10 -10
- package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/common.cjs +39 -3
- package/dist/141/common.d.cts +141 -3
- package/dist/141/common.d.ts +141 -3
- package/dist/141/common.mjs +40 -4
- package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositFinalised.mjs +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/liquidityPools/limitOrderUpdated.d.cts +12 -12
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +12 -12
- package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +10 -10
- package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +10 -10
- package/dist/141/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/141/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/141/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/141/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +4 -4
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +4 -4
- package/dist/141/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositFinalised.mjs +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 +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 +90 -90
- package/dist/141/swapping/swapExecuted.d.ts +90 -90
- package/dist/141/swapping/swapScheduled.d.cts +126 -126
- package/dist/141/swapping/swapScheduled.d.ts +126 -126
- package/dist/141/swapping/withdrawalRequested.d.cts +22 -22
- package/dist/141/swapping/withdrawalRequested.d.ts +22 -22
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/arbitrumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/150/arbitrumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/150/arbitrumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/150/arbitrumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/150/arbitrumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/150/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/150/arbitrumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/150/arbitrumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/150/arbitrumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/150/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/bitcoinIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/150/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/150/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/150/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/150/common.cjs +66 -3
- package/dist/150/common.d.cts +214 -3
- package/dist/150/common.d.ts +214 -3
- package/dist/150/common.mjs +67 -4
- package/dist/150/ethereumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/150/ethereumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/150/ethereumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/150/ethereumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/150/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/150/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/150/liquidityPools/limitOrderUpdated.d.cts +2 -2
- package/dist/150/liquidityPools/limitOrderUpdated.d.ts +2 -2
- package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +2 -2
- package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +2 -2
- package/dist/150/polkadotIngressEgress/depositBoosted.cjs +1 -1
- package/dist/150/polkadotIngressEgress/depositBoosted.mjs +2 -2
- package/dist/150/polkadotIngressEgress/depositFinalised.cjs +1 -1
- package/dist/150/polkadotIngressEgress/depositFinalised.mjs +2 -2
- package/dist/150/polkadotIngressEgress/depositIgnored.cjs +1 -1
- package/dist/150/polkadotIngressEgress/depositIgnored.mjs +2 -2
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositBoosted.cjs +1 -1
- package/dist/150/solanaIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/150/solanaIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/150/solanaIngressEgress/depositBoosted.mjs +2 -2
- package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.cjs +1 -1
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +3 -3
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +3 -3
- package/dist/150/solanaIngressEgress/depositFinalised.mjs +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.cjs +1 -1
- package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.mjs +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/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/arbitrumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/arbitrumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/160/arbitrumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/arbitrumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/160/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/160/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/160/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/160/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/160/common.cjs +35 -3
- package/dist/160/common.d.cts +175 -3
- package/dist/160/common.d.ts +175 -3
- package/dist/160/common.mjs +36 -4
- package/dist/160/environment/runtimeSafeModeUpdated.d.cts +28 -28
- package/dist/160/environment/runtimeSafeModeUpdated.d.ts +28 -28
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/ethereumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/ethereumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/160/ethereumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/160/ethereumIngressEgress/depositFinalised.mjs +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.cjs +1 -1
- package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/polkadotIngressEgress/depositBoosted.mjs +2 -2
- package/dist/160/polkadotIngressEgress/depositFinalised.cjs +1 -1
- package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/160/polkadotIngressEgress/depositFinalised.mjs +2 -2
- package/dist/160/solanaBroadcaster/transactionFeeDeficitRecorded.d.cts +2 -2
- package/dist/160/solanaBroadcaster/transactionFeeDeficitRecorded.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositBoosted.cjs +1 -1
- package/dist/160/solanaIngressEgress/depositBoosted.mjs +2 -2
- package/dist/160/solanaIngressEgress/depositFinalised.cjs +1 -1
- package/dist/160/solanaIngressEgress/depositFinalised.mjs +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.cjs +1 -1
- package/dist/160/solanaIngressEgress/depositIgnored.mjs +2 -2
- 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.d.cts +18 -18
- package/dist/160/swapping/swapDepositAddressReady.d.ts +18 -18
- package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
- 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/dist/170/arbitrumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/170/arbitrumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.cts +2 -2
- package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.ts +2 -2
- package/dist/170/bitcoinIngressEgress/ccmFailed.d.cts +101 -101
- package/dist/170/bitcoinIngressEgress/ccmFailed.d.ts +101 -101
- package/dist/170/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/170/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
- package/dist/170/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
- package/dist/170/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/170/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/170/bitcoinIngressEgress/depositFinalised.d.cts +30 -30
- package/dist/170/bitcoinIngressEgress/depositFinalised.d.ts +30 -30
- package/dist/170/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/170/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/170/bitcoinIngressEgress/depositIgnored.d.cts +30 -30
- package/dist/170/bitcoinIngressEgress/depositIgnored.d.ts +30 -30
- package/dist/170/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.cts +56 -56
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.ts +56 -56
- package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
- package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.cts +4 -4
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.ts +4 -4
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.cts +4 -4
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.ts +4 -4
- package/dist/170/common.cjs +27 -3
- package/dist/170/common.d.cts +39 -3
- package/dist/170/common.d.ts +39 -3
- package/dist/170/common.mjs +28 -4
- package/dist/170/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/170/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/170/polkadotIngressEgress/depositIgnored.cjs +1 -1
- package/dist/170/polkadotIngressEgress/depositIgnored.mjs +2 -2
- package/dist/170/reputation/offencePenalty.d.cts +2 -2
- package/dist/170/reputation/offencePenalty.d.ts +2 -2
- package/dist/170/solanaIngressEgress/depositIgnored.cjs +1 -1
- package/dist/170/solanaIngressEgress/depositIgnored.mjs +2 -2
- package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/arbitrumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/180/arbitrumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/180/arbitrumIngressEgress/depositFailed.cjs +2 -2
- package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +37 -37
- package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +37 -37
- package/dist/180/arbitrumIngressEgress/depositFailed.mjs +4 -4
- package/dist/180/arbitrumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/180/arbitrumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/180/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/180/bitcoinIngressEgress/depositFailed.cjs +2 -2
- package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +403 -53
- package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +403 -53
- package/dist/180/bitcoinIngressEgress/depositFailed.mjs +4 -4
- package/dist/180/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/180/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/common.cjs +193 -12
- package/dist/180/common.d.cts +6979 -359
- package/dist/180/common.d.ts +6979 -359
- package/dist/180/common.mjs +195 -14
- package/dist/180/environment/solanaGovCallDispatched.cjs +10 -0
- package/dist/180/environment/solanaGovCallDispatched.d.cts +69 -0
- package/dist/180/environment/solanaGovCallDispatched.d.ts +69 -0
- package/dist/180/environment/solanaGovCallDispatched.mjs +10 -0
- package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +25 -25
- package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +25 -25
- package/dist/180/ethereumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/180/ethereumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/180/ethereumIngressEgress/depositFailed.cjs +2 -2
- package/dist/180/ethereumIngressEgress/depositFailed.d.cts +52 -52
- package/dist/180/ethereumIngressEgress/depositFailed.d.ts +52 -52
- package/dist/180/ethereumIngressEgress/depositFailed.mjs +4 -4
- package/dist/180/ethereumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/180/ethereumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +21 -21
- package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +21 -21
- package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
- package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
- package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/polkadotIngressEgress/depositBoosted.cjs +1 -1
- package/dist/180/polkadotIngressEgress/depositBoosted.mjs +2 -2
- package/dist/180/polkadotIngressEgress/depositFailed.cjs +2 -2
- package/dist/180/polkadotIngressEgress/depositFailed.d.cts +44 -62
- package/dist/180/polkadotIngressEgress/depositFailed.d.ts +44 -62
- package/dist/180/polkadotIngressEgress/depositFailed.mjs +4 -4
- package/dist/180/polkadotIngressEgress/depositFinalised.cjs +1 -1
- package/dist/180/polkadotIngressEgress/depositFinalised.mjs +2 -2
- package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/solanaIngressEgress/depositBoosted.cjs +1 -1
- package/dist/180/solanaIngressEgress/depositBoosted.mjs +2 -2
- package/dist/180/solanaIngressEgress/depositFailed.cjs +2 -2
- package/dist/180/solanaIngressEgress/depositFailed.d.cts +37 -62
- package/dist/180/solanaIngressEgress/depositFailed.d.ts +37 -62
- package/dist/180/solanaIngressEgress/depositFailed.mjs +4 -4
- package/dist/180/solanaIngressEgress/depositFinalised.cjs +1 -1
- package/dist/180/solanaIngressEgress/depositFinalised.mjs +2 -2
- package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/swapping/swapDepositAddressReady.cjs +2 -0
- package/dist/180/swapping/swapDepositAddressReady.d.cts +3 -0
- package/dist/180/swapping/swapDepositAddressReady.d.ts +3 -0
- package/dist/180/swapping/swapDepositAddressReady.mjs +2 -0
- package/dist/180/swapping/swapRequested.d.cts +10 -0
- package/dist/180/swapping/swapRequested.d.ts +10 -0
- package/package.json +1 -1
package/dist/180/common.mjs
CHANGED
|
@@ -6,6 +6,21 @@ import { hexToBytes } from "@chainflip/utils/bytes";
|
|
|
6
6
|
var numericString = z.string().refine((v) => /^\d+$/.test(v), { message: "Invalid numeric string" });
|
|
7
7
|
var hexString = z.string().refine((v) => /^0x[\da-f]*$/i.test(v), { message: "Invalid hex string" });
|
|
8
8
|
var numberOrHex = z.union([z.number(), hexString, numericString]).transform((n) => BigInt(n));
|
|
9
|
+
var cfChainsSolApiSolanaGovCall = z.union([
|
|
10
|
+
z.object({
|
|
11
|
+
__kind: z.literal("SetProgramSwapsParameters"),
|
|
12
|
+
minNativeSwapAmount: numberOrHex,
|
|
13
|
+
maxDstAddressLen: z.number(),
|
|
14
|
+
maxCcmMessageLen: z.number(),
|
|
15
|
+
maxCfParametersLen: z.number(),
|
|
16
|
+
maxEventAccounts: z.number()
|
|
17
|
+
}),
|
|
18
|
+
z.object({
|
|
19
|
+
__kind: z.literal("SetTokenSwapParameters"),
|
|
20
|
+
minSwapAmount: numberOrHex,
|
|
21
|
+
tokenMintPubkey: hexString
|
|
22
|
+
})
|
|
23
|
+
]);
|
|
9
24
|
var simpleEnum = (values) => z.object({ __kind: z.enum(values) }).transform(({ __kind }) => __kind);
|
|
10
25
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
|
|
11
26
|
"Eth",
|
|
@@ -41,6 +56,10 @@ var cfChainsAddressEncodedAddress = z.union([
|
|
|
41
56
|
address: base58.encode(hexToBytes(value))
|
|
42
57
|
}))
|
|
43
58
|
]);
|
|
59
|
+
var accountId = z.union([
|
|
60
|
+
hexString,
|
|
61
|
+
z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
62
|
+
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
44
63
|
var cfPrimitivesTxId = z.object({ blockNumber: z.number(), extrinsicIndex: z.number() });
|
|
45
64
|
var cfChainsTransactionInIdForAnyChain = z.union([
|
|
46
65
|
z.object({ __kind: z.literal("Evm"), value: hexString }),
|
|
@@ -54,9 +73,14 @@ var cfChainsSwapOrigin = z.union([
|
|
|
54
73
|
__kind: z.literal("DepositChannel"),
|
|
55
74
|
depositAddress: cfChainsAddressEncodedAddress,
|
|
56
75
|
channelId: numberOrHex,
|
|
57
|
-
depositBlockHeight: numberOrHex
|
|
76
|
+
depositBlockHeight: numberOrHex,
|
|
77
|
+
brokerId: accountId
|
|
78
|
+
}),
|
|
79
|
+
z.object({
|
|
80
|
+
__kind: z.literal("Vault"),
|
|
81
|
+
txId: cfChainsTransactionInIdForAnyChain,
|
|
82
|
+
brokerId: accountId.nullish()
|
|
58
83
|
}),
|
|
59
|
-
z.object({ __kind: z.literal("Vault"), txId: cfChainsTransactionInIdForAnyChain }),
|
|
60
84
|
z.object({ __kind: z.literal("Internal") })
|
|
61
85
|
]);
|
|
62
86
|
var cfChainsCcmChannelMetadata = z.object({
|
|
@@ -85,10 +109,6 @@ var cfTraitsSwappingSwapRequestTypeGeneric = z.union([
|
|
|
85
109
|
ccmDepositMetadata: cfChainsCcmDepositMetadataGenericEncodedAddress.nullish()
|
|
86
110
|
})
|
|
87
111
|
]);
|
|
88
|
-
var accountId = z.union([
|
|
89
|
-
hexString,
|
|
90
|
-
z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
91
|
-
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
92
112
|
var cfPrimitivesBeneficiaryAccountId32 = z.object({ account: accountId, bps: z.number() });
|
|
93
113
|
var cfChainsChannelRefundParametersEncodedAddress = z.object({
|
|
94
114
|
retryDuration: z.number(),
|
|
@@ -102,7 +122,7 @@ var cfPrimitivesDcaParameters = z.object({
|
|
|
102
122
|
var cfTraitsSwappingSwapType = simpleEnum(["Swap", "NetworkFee", "IngressEgressFee"]);
|
|
103
123
|
var cfPrimitivesChainsAssetsEthAsset = simpleEnum(["Eth", "Flip", "Usdc", "Usdt"]);
|
|
104
124
|
var cfChainsEvmDepositDetails = z.object({ txHashes: z.array(hexString).nullish() });
|
|
105
|
-
var
|
|
125
|
+
var palletCfEthereumIngressEgressDepositAction = z.union([
|
|
106
126
|
z.object({ __kind: z.literal("Swap"), swapRequestId: numberOrHex }),
|
|
107
127
|
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
108
128
|
z.object({ __kind: z.literal("CcmTransfer"), swapRequestId: numberOrHex }),
|
|
@@ -123,7 +143,8 @@ var solPrimPdaPdaError = simpleEnum([
|
|
|
123
143
|
var cfChainsCcmCheckerCcmValidityError = simpleEnum([
|
|
124
144
|
"CannotDecodeCcmAdditionalData",
|
|
125
145
|
"CcmIsTooLong",
|
|
126
|
-
"CcmAdditionalDataContainsInvalidAccounts"
|
|
146
|
+
"CcmAdditionalDataContainsInvalidAccounts",
|
|
147
|
+
"RedundantDataSupplied"
|
|
127
148
|
]);
|
|
128
149
|
var cfChainsSolApiSolanaTransactionBuildingError = z.union([
|
|
129
150
|
z.object({ __kind: z.literal("CannotLookupApiEnvironment") }),
|
|
@@ -175,7 +196,7 @@ var cfChainsExecutexSwapAndCallError = z.union([
|
|
|
175
196
|
}),
|
|
176
197
|
z.object({ __kind: z.literal("DispatchError"), value: spRuntimeDispatchError })
|
|
177
198
|
]);
|
|
178
|
-
var
|
|
199
|
+
var palletCfEthereumIngressEgressDepositFailedReason = z.union([
|
|
179
200
|
z.object({ __kind: z.literal("BelowMinimumDeposit") }),
|
|
180
201
|
z.object({ __kind: z.literal("NotEnoughToPayFees") }),
|
|
181
202
|
z.object({ __kind: z.literal("TransactionRejectedByBroker") }),
|
|
@@ -232,13 +253,13 @@ var palletCfIngressEgressVaultDepositWitness = z.object({
|
|
|
232
253
|
destinationAddress: cfChainsAddressEncodedAddress,
|
|
233
254
|
depositMetadata: cfChainsCcmDepositMetadataGenericForeignChainAddress.nullish(),
|
|
234
255
|
txId: hexString,
|
|
235
|
-
brokerFee: cfPrimitivesBeneficiaryAccountId32,
|
|
256
|
+
brokerFee: cfPrimitivesBeneficiaryAccountId32.nullish(),
|
|
236
257
|
affiliateFees: z.array(cfPrimitivesBeneficiaryAffiliateShortId),
|
|
237
258
|
refundParams: cfChainsChannelRefundParametersForeignChainAddress.nullish(),
|
|
238
259
|
dcaParams: cfPrimitivesDcaParameters.nullish(),
|
|
239
260
|
boostFee: z.number()
|
|
240
261
|
});
|
|
241
|
-
var
|
|
262
|
+
var palletCfEthereumIngressEgressDepositFailedDetails = z.union([
|
|
242
263
|
z.object({
|
|
243
264
|
__kind: z.literal("DepositChannel"),
|
|
244
265
|
depositWitness: palletCfIngressEgressDepositWitnessEthereum
|
|
@@ -263,6 +284,42 @@ var cfChainsAllBatchError = z.union([
|
|
|
263
284
|
z.object({ __kind: z.literal("DispatchError"), value: spRuntimeDispatchError })
|
|
264
285
|
]);
|
|
265
286
|
var cfPrimitivesChainsAssetsDotAsset = simpleEnum(["Dot"]);
|
|
287
|
+
var palletCfPolkadotIngressEgressDepositAction = z.union([
|
|
288
|
+
z.object({ __kind: z.literal("Swap"), swapRequestId: numberOrHex }),
|
|
289
|
+
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
290
|
+
z.object({ __kind: z.literal("CcmTransfer"), swapRequestId: numberOrHex }),
|
|
291
|
+
z.object({
|
|
292
|
+
__kind: z.literal("BoostersCredited"),
|
|
293
|
+
prewitnessedDepositId: numberOrHex,
|
|
294
|
+
networkFeeFromBoost: numberOrHex,
|
|
295
|
+
networkFeeSwapRequestId: numberOrHex.nullish()
|
|
296
|
+
})
|
|
297
|
+
]);
|
|
298
|
+
var palletCfPolkadotIngressEgressDepositFailedReason = z.union([
|
|
299
|
+
z.object({ __kind: z.literal("BelowMinimumDeposit") }),
|
|
300
|
+
z.object({ __kind: z.literal("NotEnoughToPayFees") }),
|
|
301
|
+
z.object({ __kind: z.literal("TransactionRejectedByBroker") }),
|
|
302
|
+
z.object({ __kind: z.literal("DepositWitnessRejected"), value: spRuntimeDispatchError }),
|
|
303
|
+
z.object({ __kind: z.literal("InvalidDestinationAddress") }),
|
|
304
|
+
z.object({ __kind: z.literal("InvalidBrokerFees") }),
|
|
305
|
+
z.object({ __kind: z.literal("InvalidRefundParameters") }),
|
|
306
|
+
z.object({ __kind: z.literal("InvalidDcaParameters") }),
|
|
307
|
+
z.object({ __kind: z.literal("CcmUnsupportedForTargetChain") }),
|
|
308
|
+
z.object({ __kind: z.literal("CcmInvalidMetadata") })
|
|
309
|
+
]);
|
|
310
|
+
var palletCfIngressEgressDepositWitnessPolkadot = z.object({
|
|
311
|
+
depositAddress: hexString,
|
|
312
|
+
asset: cfPrimitivesChainsAssetsDotAsset,
|
|
313
|
+
amount: numberOrHex,
|
|
314
|
+
depositDetails: z.number()
|
|
315
|
+
});
|
|
316
|
+
var palletCfPolkadotIngressEgressDepositFailedDetails = z.union([
|
|
317
|
+
z.object({
|
|
318
|
+
__kind: z.literal("DepositChannel"),
|
|
319
|
+
depositWitness: palletCfIngressEgressDepositWitnessPolkadot
|
|
320
|
+
}),
|
|
321
|
+
z.object({ __kind: z.literal("Vault"), vaultWitness: palletCfIngressEgressVaultDepositWitness })
|
|
322
|
+
]);
|
|
266
323
|
var cfTraitsScheduledEgressDetailsPolkadot = z.object({
|
|
267
324
|
egressId: z.tuple([cfPrimitivesChainsForeignChain, numberOrHex]),
|
|
268
325
|
egressAmount: numberOrHex,
|
|
@@ -286,6 +343,42 @@ var cfChainsBtcUtxo = z.object({
|
|
|
286
343
|
amount: numberOrHex,
|
|
287
344
|
depositAddress: cfChainsBtcDepositAddress
|
|
288
345
|
});
|
|
346
|
+
var palletCfBitcoinIngressEgressDepositAction = z.union([
|
|
347
|
+
z.object({ __kind: z.literal("Swap"), swapRequestId: numberOrHex }),
|
|
348
|
+
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
349
|
+
z.object({ __kind: z.literal("CcmTransfer"), swapRequestId: numberOrHex }),
|
|
350
|
+
z.object({
|
|
351
|
+
__kind: z.literal("BoostersCredited"),
|
|
352
|
+
prewitnessedDepositId: numberOrHex,
|
|
353
|
+
networkFeeFromBoost: numberOrHex,
|
|
354
|
+
networkFeeSwapRequestId: numberOrHex.nullish()
|
|
355
|
+
})
|
|
356
|
+
]);
|
|
357
|
+
var palletCfBitcoinIngressEgressDepositFailedReason = z.union([
|
|
358
|
+
z.object({ __kind: z.literal("BelowMinimumDeposit") }),
|
|
359
|
+
z.object({ __kind: z.literal("NotEnoughToPayFees") }),
|
|
360
|
+
z.object({ __kind: z.literal("TransactionRejectedByBroker") }),
|
|
361
|
+
z.object({ __kind: z.literal("DepositWitnessRejected"), value: spRuntimeDispatchError }),
|
|
362
|
+
z.object({ __kind: z.literal("InvalidDestinationAddress") }),
|
|
363
|
+
z.object({ __kind: z.literal("InvalidBrokerFees") }),
|
|
364
|
+
z.object({ __kind: z.literal("InvalidRefundParameters") }),
|
|
365
|
+
z.object({ __kind: z.literal("InvalidDcaParameters") }),
|
|
366
|
+
z.object({ __kind: z.literal("CcmUnsupportedForTargetChain") }),
|
|
367
|
+
z.object({ __kind: z.literal("CcmInvalidMetadata") })
|
|
368
|
+
]);
|
|
369
|
+
var palletCfIngressEgressDepositWitnessBitcoin = z.object({
|
|
370
|
+
depositAddress: cfChainsBtcScriptPubkey,
|
|
371
|
+
asset: cfPrimitivesChainsAssetsBtcAsset,
|
|
372
|
+
amount: numberOrHex,
|
|
373
|
+
depositDetails: cfChainsBtcUtxo
|
|
374
|
+
});
|
|
375
|
+
var palletCfBitcoinIngressEgressDepositFailedDetails = z.union([
|
|
376
|
+
z.object({
|
|
377
|
+
__kind: z.literal("DepositChannel"),
|
|
378
|
+
depositWitness: palletCfIngressEgressDepositWitnessBitcoin
|
|
379
|
+
}),
|
|
380
|
+
z.object({ __kind: z.literal("Vault"), vaultWitness: palletCfIngressEgressVaultDepositWitness })
|
|
381
|
+
]);
|
|
289
382
|
var cfTraitsScheduledEgressDetailsBitcoin = z.object({
|
|
290
383
|
egressId: z.tuple([cfPrimitivesChainsForeignChain, numberOrHex]),
|
|
291
384
|
egressAmount: numberOrHex,
|
|
@@ -300,6 +393,42 @@ var cfChainsChainStateArbitrum = z.object({
|
|
|
300
393
|
trackedData: cfChainsArbArbitrumTrackedData
|
|
301
394
|
});
|
|
302
395
|
var cfPrimitivesChainsAssetsArbAsset = simpleEnum(["ArbEth", "ArbUsdc"]);
|
|
396
|
+
var palletCfArbitrumIngressEgressDepositAction = z.union([
|
|
397
|
+
z.object({ __kind: z.literal("Swap"), swapRequestId: numberOrHex }),
|
|
398
|
+
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
399
|
+
z.object({ __kind: z.literal("CcmTransfer"), swapRequestId: numberOrHex }),
|
|
400
|
+
z.object({
|
|
401
|
+
__kind: z.literal("BoostersCredited"),
|
|
402
|
+
prewitnessedDepositId: numberOrHex,
|
|
403
|
+
networkFeeFromBoost: numberOrHex,
|
|
404
|
+
networkFeeSwapRequestId: numberOrHex.nullish()
|
|
405
|
+
})
|
|
406
|
+
]);
|
|
407
|
+
var palletCfArbitrumIngressEgressDepositFailedReason = z.union([
|
|
408
|
+
z.object({ __kind: z.literal("BelowMinimumDeposit") }),
|
|
409
|
+
z.object({ __kind: z.literal("NotEnoughToPayFees") }),
|
|
410
|
+
z.object({ __kind: z.literal("TransactionRejectedByBroker") }),
|
|
411
|
+
z.object({ __kind: z.literal("DepositWitnessRejected"), value: spRuntimeDispatchError }),
|
|
412
|
+
z.object({ __kind: z.literal("InvalidDestinationAddress") }),
|
|
413
|
+
z.object({ __kind: z.literal("InvalidBrokerFees") }),
|
|
414
|
+
z.object({ __kind: z.literal("InvalidRefundParameters") }),
|
|
415
|
+
z.object({ __kind: z.literal("InvalidDcaParameters") }),
|
|
416
|
+
z.object({ __kind: z.literal("CcmUnsupportedForTargetChain") }),
|
|
417
|
+
z.object({ __kind: z.literal("CcmInvalidMetadata") })
|
|
418
|
+
]);
|
|
419
|
+
var palletCfIngressEgressDepositWitnessArbitrum = z.object({
|
|
420
|
+
depositAddress: hexString,
|
|
421
|
+
asset: cfPrimitivesChainsAssetsArbAsset,
|
|
422
|
+
amount: numberOrHex,
|
|
423
|
+
depositDetails: cfChainsEvmDepositDetails
|
|
424
|
+
});
|
|
425
|
+
var palletCfArbitrumIngressEgressDepositFailedDetails = z.union([
|
|
426
|
+
z.object({
|
|
427
|
+
__kind: z.literal("DepositChannel"),
|
|
428
|
+
depositWitness: palletCfIngressEgressDepositWitnessArbitrum
|
|
429
|
+
}),
|
|
430
|
+
z.object({ __kind: z.literal("Vault"), vaultWitness: palletCfIngressEgressVaultDepositWitness })
|
|
431
|
+
]);
|
|
303
432
|
var cfTraitsScheduledEgressDetailsArbitrum = z.object({
|
|
304
433
|
egressId: z.tuple([cfPrimitivesChainsForeignChain, numberOrHex]),
|
|
305
434
|
egressAmount: numberOrHex,
|
|
@@ -310,6 +439,41 @@ var cfChainsSolSolanaTransactionData = z.object({
|
|
|
310
439
|
skipPreflight: z.boolean()
|
|
311
440
|
});
|
|
312
441
|
var cfPrimitivesChainsAssetsSolAsset = simpleEnum(["Sol", "SolUsdc"]);
|
|
442
|
+
var palletCfSolanaIngressEgressDepositAction = z.union([
|
|
443
|
+
z.object({ __kind: z.literal("Swap"), swapRequestId: numberOrHex }),
|
|
444
|
+
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
445
|
+
z.object({ __kind: z.literal("CcmTransfer"), swapRequestId: numberOrHex }),
|
|
446
|
+
z.object({
|
|
447
|
+
__kind: z.literal("BoostersCredited"),
|
|
448
|
+
prewitnessedDepositId: numberOrHex,
|
|
449
|
+
networkFeeFromBoost: numberOrHex,
|
|
450
|
+
networkFeeSwapRequestId: numberOrHex.nullish()
|
|
451
|
+
})
|
|
452
|
+
]);
|
|
453
|
+
var palletCfSolanaIngressEgressDepositFailedReason = z.union([
|
|
454
|
+
z.object({ __kind: z.literal("BelowMinimumDeposit") }),
|
|
455
|
+
z.object({ __kind: z.literal("NotEnoughToPayFees") }),
|
|
456
|
+
z.object({ __kind: z.literal("TransactionRejectedByBroker") }),
|
|
457
|
+
z.object({ __kind: z.literal("DepositWitnessRejected"), value: spRuntimeDispatchError }),
|
|
458
|
+
z.object({ __kind: z.literal("InvalidDestinationAddress") }),
|
|
459
|
+
z.object({ __kind: z.literal("InvalidBrokerFees") }),
|
|
460
|
+
z.object({ __kind: z.literal("InvalidRefundParameters") }),
|
|
461
|
+
z.object({ __kind: z.literal("InvalidDcaParameters") }),
|
|
462
|
+
z.object({ __kind: z.literal("CcmUnsupportedForTargetChain") }),
|
|
463
|
+
z.object({ __kind: z.literal("CcmInvalidMetadata") })
|
|
464
|
+
]);
|
|
465
|
+
var palletCfIngressEgressDepositWitnessSolana = z.object({
|
|
466
|
+
depositAddress: hexString,
|
|
467
|
+
asset: cfPrimitivesChainsAssetsSolAsset,
|
|
468
|
+
amount: numberOrHex
|
|
469
|
+
});
|
|
470
|
+
var palletCfSolanaIngressEgressDepositFailedDetails = z.union([
|
|
471
|
+
z.object({
|
|
472
|
+
__kind: z.literal("DepositChannel"),
|
|
473
|
+
depositWitness: palletCfIngressEgressDepositWitnessSolana
|
|
474
|
+
}),
|
|
475
|
+
z.object({ __kind: z.literal("Vault"), vaultWitness: palletCfIngressEgressVaultDepositWitness })
|
|
476
|
+
]);
|
|
313
477
|
var cfTraitsScheduledEgressDetailsSolana = z.object({
|
|
314
478
|
egressId: z.tuple([cfPrimitivesChainsForeignChain, numberOrHex]),
|
|
315
479
|
egressAmount: numberOrHex,
|
|
@@ -337,6 +501,7 @@ export {
|
|
|
337
501
|
cfChainsDepositOriginType,
|
|
338
502
|
cfChainsEvmDepositDetails,
|
|
339
503
|
cfChainsExecutexSwapAndCallError,
|
|
504
|
+
cfChainsSolApiSolanaGovCall,
|
|
340
505
|
cfChainsSolApiSolanaTransactionBuildingError,
|
|
341
506
|
cfChainsSolSolanaTransactionData,
|
|
342
507
|
cfChainsSwapOrigin,
|
|
@@ -362,11 +527,27 @@ export {
|
|
|
362
527
|
hexString,
|
|
363
528
|
numberOrHex,
|
|
364
529
|
numericString,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
530
|
+
palletCfArbitrumIngressEgressDepositAction,
|
|
531
|
+
palletCfArbitrumIngressEgressDepositFailedDetails,
|
|
532
|
+
palletCfArbitrumIngressEgressDepositFailedReason,
|
|
533
|
+
palletCfBitcoinIngressEgressDepositAction,
|
|
534
|
+
palletCfBitcoinIngressEgressDepositFailedDetails,
|
|
535
|
+
palletCfBitcoinIngressEgressDepositFailedReason,
|
|
536
|
+
palletCfEthereumIngressEgressDepositAction,
|
|
537
|
+
palletCfEthereumIngressEgressDepositFailedDetails,
|
|
538
|
+
palletCfEthereumIngressEgressDepositFailedReason,
|
|
539
|
+
palletCfIngressEgressDepositWitnessArbitrum,
|
|
540
|
+
palletCfIngressEgressDepositWitnessBitcoin,
|
|
368
541
|
palletCfIngressEgressDepositWitnessEthereum,
|
|
542
|
+
palletCfIngressEgressDepositWitnessPolkadot,
|
|
543
|
+
palletCfIngressEgressDepositWitnessSolana,
|
|
369
544
|
palletCfIngressEgressVaultDepositWitness,
|
|
545
|
+
palletCfPolkadotIngressEgressDepositAction,
|
|
546
|
+
palletCfPolkadotIngressEgressDepositFailedDetails,
|
|
547
|
+
palletCfPolkadotIngressEgressDepositFailedReason,
|
|
548
|
+
palletCfSolanaIngressEgressDepositAction,
|
|
549
|
+
palletCfSolanaIngressEgressDepositFailedDetails,
|
|
550
|
+
palletCfSolanaIngressEgressDepositFailedReason,
|
|
370
551
|
simpleEnum,
|
|
371
552
|
solPrimPdaPdaError,
|
|
372
553
|
spArithmeticArithmeticError,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/180/environment/solanaGovCallDispatched.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
var _commoncjs = require('../common.cjs');
|
|
4
|
+
var environmentSolanaGovCallDispatched = _zod.z.object({
|
|
5
|
+
govCall: _commoncjs.cfChainsSolApiSolanaGovCall,
|
|
6
|
+
broadcastId: _zod.z.number()
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.environmentSolanaGovCallDispatched = environmentSolanaGovCallDispatched;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const environmentSolanaGovCallDispatched: z.ZodObject<{
|
|
4
|
+
govCall: z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
__kind: z.ZodLiteral<"SetProgramSwapsParameters">;
|
|
6
|
+
minNativeSwapAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
7
|
+
maxDstAddressLen: z.ZodNumber;
|
|
8
|
+
maxCcmMessageLen: z.ZodNumber;
|
|
9
|
+
maxCfParametersLen: z.ZodNumber;
|
|
10
|
+
maxEventAccounts: z.ZodNumber;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
__kind: "SetProgramSwapsParameters";
|
|
13
|
+
minNativeSwapAmount: bigint;
|
|
14
|
+
maxDstAddressLen: number;
|
|
15
|
+
maxCcmMessageLen: number;
|
|
16
|
+
maxCfParametersLen: number;
|
|
17
|
+
maxEventAccounts: number;
|
|
18
|
+
}, {
|
|
19
|
+
__kind: "SetProgramSwapsParameters";
|
|
20
|
+
minNativeSwapAmount: string | number;
|
|
21
|
+
maxDstAddressLen: number;
|
|
22
|
+
maxCcmMessageLen: number;
|
|
23
|
+
maxCfParametersLen: number;
|
|
24
|
+
maxEventAccounts: number;
|
|
25
|
+
}>, z.ZodObject<{
|
|
26
|
+
__kind: z.ZodLiteral<"SetTokenSwapParameters">;
|
|
27
|
+
minSwapAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
28
|
+
tokenMintPubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
__kind: "SetTokenSwapParameters";
|
|
31
|
+
minSwapAmount: bigint;
|
|
32
|
+
tokenMintPubkey: `0x${string}`;
|
|
33
|
+
}, {
|
|
34
|
+
__kind: "SetTokenSwapParameters";
|
|
35
|
+
minSwapAmount: string | number;
|
|
36
|
+
tokenMintPubkey: string;
|
|
37
|
+
}>]>;
|
|
38
|
+
broadcastId: z.ZodNumber;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
govCall: {
|
|
41
|
+
__kind: "SetProgramSwapsParameters";
|
|
42
|
+
minNativeSwapAmount: bigint;
|
|
43
|
+
maxDstAddressLen: number;
|
|
44
|
+
maxCcmMessageLen: number;
|
|
45
|
+
maxCfParametersLen: number;
|
|
46
|
+
maxEventAccounts: number;
|
|
47
|
+
} | {
|
|
48
|
+
__kind: "SetTokenSwapParameters";
|
|
49
|
+
minSwapAmount: bigint;
|
|
50
|
+
tokenMintPubkey: `0x${string}`;
|
|
51
|
+
};
|
|
52
|
+
broadcastId: number;
|
|
53
|
+
}, {
|
|
54
|
+
govCall: {
|
|
55
|
+
__kind: "SetProgramSwapsParameters";
|
|
56
|
+
minNativeSwapAmount: string | number;
|
|
57
|
+
maxDstAddressLen: number;
|
|
58
|
+
maxCcmMessageLen: number;
|
|
59
|
+
maxCfParametersLen: number;
|
|
60
|
+
maxEventAccounts: number;
|
|
61
|
+
} | {
|
|
62
|
+
__kind: "SetTokenSwapParameters";
|
|
63
|
+
minSwapAmount: string | number;
|
|
64
|
+
tokenMintPubkey: string;
|
|
65
|
+
};
|
|
66
|
+
broadcastId: number;
|
|
67
|
+
}>;
|
|
68
|
+
|
|
69
|
+
export { environmentSolanaGovCallDispatched };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const environmentSolanaGovCallDispatched: z.ZodObject<{
|
|
4
|
+
govCall: z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
__kind: z.ZodLiteral<"SetProgramSwapsParameters">;
|
|
6
|
+
minNativeSwapAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
7
|
+
maxDstAddressLen: z.ZodNumber;
|
|
8
|
+
maxCcmMessageLen: z.ZodNumber;
|
|
9
|
+
maxCfParametersLen: z.ZodNumber;
|
|
10
|
+
maxEventAccounts: z.ZodNumber;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
__kind: "SetProgramSwapsParameters";
|
|
13
|
+
minNativeSwapAmount: bigint;
|
|
14
|
+
maxDstAddressLen: number;
|
|
15
|
+
maxCcmMessageLen: number;
|
|
16
|
+
maxCfParametersLen: number;
|
|
17
|
+
maxEventAccounts: number;
|
|
18
|
+
}, {
|
|
19
|
+
__kind: "SetProgramSwapsParameters";
|
|
20
|
+
minNativeSwapAmount: string | number;
|
|
21
|
+
maxDstAddressLen: number;
|
|
22
|
+
maxCcmMessageLen: number;
|
|
23
|
+
maxCfParametersLen: number;
|
|
24
|
+
maxEventAccounts: number;
|
|
25
|
+
}>, z.ZodObject<{
|
|
26
|
+
__kind: z.ZodLiteral<"SetTokenSwapParameters">;
|
|
27
|
+
minSwapAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
28
|
+
tokenMintPubkey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
__kind: "SetTokenSwapParameters";
|
|
31
|
+
minSwapAmount: bigint;
|
|
32
|
+
tokenMintPubkey: `0x${string}`;
|
|
33
|
+
}, {
|
|
34
|
+
__kind: "SetTokenSwapParameters";
|
|
35
|
+
minSwapAmount: string | number;
|
|
36
|
+
tokenMintPubkey: string;
|
|
37
|
+
}>]>;
|
|
38
|
+
broadcastId: z.ZodNumber;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
govCall: {
|
|
41
|
+
__kind: "SetProgramSwapsParameters";
|
|
42
|
+
minNativeSwapAmount: bigint;
|
|
43
|
+
maxDstAddressLen: number;
|
|
44
|
+
maxCcmMessageLen: number;
|
|
45
|
+
maxCfParametersLen: number;
|
|
46
|
+
maxEventAccounts: number;
|
|
47
|
+
} | {
|
|
48
|
+
__kind: "SetTokenSwapParameters";
|
|
49
|
+
minSwapAmount: bigint;
|
|
50
|
+
tokenMintPubkey: `0x${string}`;
|
|
51
|
+
};
|
|
52
|
+
broadcastId: number;
|
|
53
|
+
}, {
|
|
54
|
+
govCall: {
|
|
55
|
+
__kind: "SetProgramSwapsParameters";
|
|
56
|
+
minNativeSwapAmount: string | number;
|
|
57
|
+
maxDstAddressLen: number;
|
|
58
|
+
maxCcmMessageLen: number;
|
|
59
|
+
maxCfParametersLen: number;
|
|
60
|
+
maxEventAccounts: number;
|
|
61
|
+
} | {
|
|
62
|
+
__kind: "SetTokenSwapParameters";
|
|
63
|
+
minSwapAmount: string | number;
|
|
64
|
+
tokenMintPubkey: string;
|
|
65
|
+
};
|
|
66
|
+
broadcastId: number;
|
|
67
|
+
}>;
|
|
68
|
+
|
|
69
|
+
export { environmentSolanaGovCallDispatched };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// generated/180/environment/solanaGovCallDispatched.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { cfChainsSolApiSolanaGovCall } from "../common.mjs";
|
|
4
|
+
var environmentSolanaGovCallDispatched = z.object({
|
|
5
|
+
govCall: cfChainsSolApiSolanaGovCall,
|
|
6
|
+
broadcastId: z.number()
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
environmentSolanaGovCallDispatched
|
|
10
|
+
};
|
|
@@ -70,20 +70,20 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
70
70
|
}>, z.ZodObject<{
|
|
71
71
|
__kind: z.ZodLiteral<"InvalidCcm">;
|
|
72
72
|
value: z.ZodEffects<z.ZodObject<{
|
|
73
|
-
__kind: z.ZodEnum<["CannotDecodeCcmAdditionalData", "CcmIsTooLong", "CcmAdditionalDataContainsInvalidAccounts"]>;
|
|
73
|
+
__kind: z.ZodEnum<["CannotDecodeCcmAdditionalData", "CcmIsTooLong", "CcmAdditionalDataContainsInvalidAccounts", "RedundantDataSupplied"]>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
75
|
+
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
76
76
|
}, {
|
|
77
|
-
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
78
|
-
}>, "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts", {
|
|
79
|
-
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
77
|
+
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
78
|
+
}>, "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied", {
|
|
79
|
+
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
80
80
|
}>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
82
|
+
value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
83
83
|
__kind: "InvalidCcm";
|
|
84
84
|
}, {
|
|
85
85
|
value: {
|
|
86
|
-
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
86
|
+
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
87
87
|
};
|
|
88
88
|
__kind: "InvalidCcm";
|
|
89
89
|
}>, z.ZodObject<{
|
|
@@ -117,7 +117,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
117
117
|
value: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
|
|
118
118
|
__kind: "FailedToDeriveAddress";
|
|
119
119
|
} | {
|
|
120
|
-
value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
120
|
+
value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
121
121
|
__kind: "InvalidCcm";
|
|
122
122
|
} | {
|
|
123
123
|
__kind: "FailedToSerializeFinalTransaction";
|
|
@@ -144,7 +144,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
144
144
|
__kind: "FailedToDeriveAddress";
|
|
145
145
|
} | {
|
|
146
146
|
value: {
|
|
147
|
-
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
147
|
+
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
148
148
|
};
|
|
149
149
|
__kind: "InvalidCcm";
|
|
150
150
|
} | {
|
|
@@ -221,18 +221,18 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
221
221
|
value: z.ZodEffects<z.ZodObject<{
|
|
222
222
|
__kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
224
|
+
__kind: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
225
225
|
}, {
|
|
226
|
-
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
227
|
-
}>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
228
|
-
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
226
|
+
__kind: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
227
|
+
}>, "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
|
|
228
|
+
__kind: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
229
229
|
}>;
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
|
-
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
231
|
+
value: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
232
232
|
__kind: "Token";
|
|
233
233
|
}, {
|
|
234
234
|
value: {
|
|
235
|
-
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
235
|
+
__kind: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
236
236
|
};
|
|
237
237
|
__kind: "Token";
|
|
238
238
|
}>, z.ZodObject<{
|
|
@@ -318,7 +318,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
318
318
|
} | {
|
|
319
319
|
__kind: "TooManyConsumers";
|
|
320
320
|
} | {
|
|
321
|
-
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
321
|
+
value: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
322
322
|
__kind: "Token";
|
|
323
323
|
} | {
|
|
324
324
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
@@ -357,7 +357,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
357
357
|
__kind: "TooManyConsumers";
|
|
358
358
|
} | {
|
|
359
359
|
value: {
|
|
360
|
-
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
360
|
+
__kind: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
361
361
|
};
|
|
362
362
|
__kind: "Token";
|
|
363
363
|
} | {
|
|
@@ -382,6 +382,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
382
382
|
__kind: "DispatchError";
|
|
383
383
|
}>]>;
|
|
384
384
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
+
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
385
386
|
error: {
|
|
386
387
|
__kind: "Unsupported";
|
|
387
388
|
} | {
|
|
@@ -399,7 +400,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
399
400
|
value: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
|
|
400
401
|
__kind: "FailedToDeriveAddress";
|
|
401
402
|
} | {
|
|
402
|
-
value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
403
|
+
value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
403
404
|
__kind: "InvalidCcm";
|
|
404
405
|
} | {
|
|
405
406
|
__kind: "FailedToSerializeFinalTransaction";
|
|
@@ -428,7 +429,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
428
429
|
} | {
|
|
429
430
|
__kind: "TooManyConsumers";
|
|
430
431
|
} | {
|
|
431
|
-
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
432
|
+
value: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
432
433
|
__kind: "Token";
|
|
433
434
|
} | {
|
|
434
435
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
@@ -447,8 +448,10 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
447
448
|
};
|
|
448
449
|
__kind: "DispatchError";
|
|
449
450
|
};
|
|
450
|
-
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
451
451
|
}, {
|
|
452
|
+
egressId: [{
|
|
453
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
454
|
+
}, string | number];
|
|
452
455
|
error: {
|
|
453
456
|
__kind: "Unsupported";
|
|
454
457
|
} | {
|
|
@@ -469,7 +472,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
469
472
|
__kind: "FailedToDeriveAddress";
|
|
470
473
|
} | {
|
|
471
474
|
value: {
|
|
472
|
-
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts";
|
|
475
|
+
__kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied";
|
|
473
476
|
};
|
|
474
477
|
__kind: "InvalidCcm";
|
|
475
478
|
} | {
|
|
@@ -500,7 +503,7 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
500
503
|
__kind: "TooManyConsumers";
|
|
501
504
|
} | {
|
|
502
505
|
value: {
|
|
503
|
-
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "
|
|
506
|
+
__kind: "Unsupported" | "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
504
507
|
};
|
|
505
508
|
__kind: "Token";
|
|
506
509
|
} | {
|
|
@@ -524,9 +527,6 @@ declare const ethereumIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
524
527
|
};
|
|
525
528
|
__kind: "DispatchError";
|
|
526
529
|
};
|
|
527
|
-
egressId: [{
|
|
528
|
-
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
529
|
-
}, string | number];
|
|
530
530
|
}>;
|
|
531
531
|
|
|
532
532
|
export { ethereumIngressEgressCcmEgressInvalid };
|