@chainflip/processor 1.8.2 → 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/bitcoinIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/100/bitcoinIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +20 -20
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
- package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- 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/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/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/100/witnesser/witnessExecutionFailed.d.cts +2 -2
- package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
- package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/131/swapping/swapDepositAddressReady.d.cts +18 -18
- package/dist/131/swapping/swapDepositAddressReady.d.ts +18 -18
- package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/131/swapping/swapExecuted.d.cts +12 -12
- package/dist/131/swapping/swapExecuted.d.ts +12 -12
- package/dist/131/swapping/swapScheduled.d.cts +14 -14
- package/dist/131/swapping/swapScheduled.d.ts +14 -14
- package/dist/131/swapping/withdrawalRequested.d.cts +6 -6
- package/dist/131/swapping/withdrawalRequested.d.ts +6 -6
- package/dist/141/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/141/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +20 -20
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +20 -20
- 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 +22 -22
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +22 -22
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.cts +2 -2
- package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.ts +2 -2
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -10
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -10
- package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +10 -10
- package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +10 -10
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/swapping/ccmDepositReceived.d.cts +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/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/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- 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/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/polkadotIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
- 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/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +2 -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 +8 -8
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +10 -10
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +10 -10
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +10 -10
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +10 -10
- package/dist/160/liquidityProvider/assetTransferred.d.cts +3 -3
- package/dist/160/liquidityProvider/assetTransferred.d.ts +3 -3
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
- package/dist/160/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositFinalised.d.ts +2 -2
- 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 +20 -20
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/160/swapping/batchSwapFailed.d.cts +2 -2
- package/dist/160/swapping/batchSwapFailed.d.ts +2 -2
- package/dist/160/swapping/ccmFailed.d.cts +70 -70
- package/dist/160/swapping/ccmFailed.d.ts +70 -70
- package/dist/160/swapping/refundEgressIgnored.d.cts +18 -18
- package/dist/160/swapping/refundEgressIgnored.d.ts +18 -18
- package/dist/160/swapping/refundEgressScheduled.d.cts +2 -2
- package/dist/160/swapping/refundEgressScheduled.d.ts +2 -2
- package/dist/160/swapping/swapAmountConfiscated.d.cts +2 -2
- package/dist/160/swapping/swapAmountConfiscated.d.ts +2 -2
- package/dist/160/swapping/swapDepositAddressReady.d.cts +65 -65
- package/dist/160/swapping/swapDepositAddressReady.d.ts +65 -65
- package/dist/160/swapping/swapEgressIgnored.d.cts +18 -18
- package/dist/160/swapping/swapEgressIgnored.d.ts +18 -18
- package/dist/160/swapping/swapEgressScheduled.d.cts +2 -2
- package/dist/160/swapping/swapEgressScheduled.d.ts +2 -2
- package/dist/160/swapping/swapRequested.d.cts +130 -130
- package/dist/160/swapping/swapRequested.d.ts +130 -130
- package/dist/160/swapping/withdrawalRequested.d.cts +20 -20
- package/dist/160/swapping/withdrawalRequested.d.ts +20 -20
- package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.cts +2 -2
- package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.ts +2 -2
- package/dist/170/arbitrumIngressEgress/ccmFailed.d.cts +101 -101
- package/dist/170/arbitrumIngressEgress/ccmFailed.d.ts +101 -101
- package/dist/170/arbitrumIngressEgress/depositIgnored.d.cts +6 -6
- package/dist/170/arbitrumIngressEgress/depositIgnored.d.ts +6 -6
- package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
- package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
- package/dist/170/reputation/offencePenalty.d.cts +2 -2
- package/dist/170/reputation/offencePenalty.d.ts +2 -2
- package/dist/170/swapping/minimumChunkSizeSet.d.cts +2 -2
- package/dist/170/swapping/minimumChunkSizeSet.d.ts +2 -2
- package/dist/170/swapping/swapRequested.d.cts +135 -135
- package/dist/170/swapping/swapRequested.d.ts +135 -135
- package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +26 -26
- package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +26 -26
- package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +26 -26
- package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +26 -26
- package/dist/180/common.cjs +29 -8
- package/dist/180/common.d.cts +142 -102
- package/dist/180/common.d.ts +142 -102
- package/dist/180/common.mjs +28 -7
- 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 +14 -14
- package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +14 -14
- package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/180/ethereumIngressEgress/depositFailed.d.cts +52 -52
- package/dist/180/ethereumIngressEgress/depositFailed.d.ts +52 -52
- package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/180/ethereumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +10 -10
- package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +10 -10
- package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
- package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
- package/dist/180/polkadotIngressEgress/depositFailed.d.cts +26 -26
- package/dist/180/polkadotIngressEgress/depositFailed.d.ts +26 -26
- package/dist/180/solanaIngressEgress/depositFailed.d.cts +26 -26
- package/dist/180/solanaIngressEgress/depositFailed.d.ts +26 -26
- 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(),
|
|
@@ -233,7 +253,7 @@ var palletCfIngressEgressVaultDepositWitness = z.object({
|
|
|
233
253
|
destinationAddress: cfChainsAddressEncodedAddress,
|
|
234
254
|
depositMetadata: cfChainsCcmDepositMetadataGenericForeignChainAddress.nullish(),
|
|
235
255
|
txId: hexString,
|
|
236
|
-
brokerFee: cfPrimitivesBeneficiaryAccountId32,
|
|
256
|
+
brokerFee: cfPrimitivesBeneficiaryAccountId32.nullish(),
|
|
237
257
|
affiliateFees: z.array(cfPrimitivesBeneficiaryAffiliateShortId),
|
|
238
258
|
refundParams: cfChainsChannelRefundParametersForeignChainAddress.nullish(),
|
|
239
259
|
dcaParams: cfPrimitivesDcaParameters.nullish(),
|
|
@@ -481,6 +501,7 @@ export {
|
|
|
481
501
|
cfChainsDepositOriginType,
|
|
482
502
|
cfChainsEvmDepositDetails,
|
|
483
503
|
cfChainsExecutexSwapAndCallError,
|
|
504
|
+
cfChainsSolApiSolanaGovCall,
|
|
484
505
|
cfChainsSolApiSolanaTransactionBuildingError,
|
|
485
506
|
cfChainsSolSolanaTransactionData,
|
|
486
507
|
cfChainsSwapOrigin,
|
|
@@ -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
|
+
};
|
|
@@ -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
|
} | {
|
|
@@ -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
|
} | {
|
|
@@ -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 };
|
|
@@ -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
|
} | {
|
|
@@ -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
|
} | {
|
|
@@ -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 };
|
|
@@ -78,13 +78,13 @@ declare const ethereumIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
78
78
|
__kind: "DepositChannel" | "Vault";
|
|
79
79
|
}>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
|
|
81
|
+
prewitnessedDepositId: bigint;
|
|
82
82
|
asset: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
83
83
|
depositDetails: {
|
|
84
84
|
txHashes?: `0x${string}`[] | null | undefined;
|
|
85
85
|
};
|
|
86
86
|
boostFee: bigint;
|
|
87
|
-
|
|
87
|
+
blockHeight: bigint;
|
|
88
88
|
amounts: [number, bigint][];
|
|
89
89
|
ingressFee: bigint;
|
|
90
90
|
maxBoostFeeBps: number;
|
|
@@ -107,7 +107,7 @@ declare const ethereumIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
107
107
|
depositAddress?: `0x${string}` | null | undefined;
|
|
108
108
|
channelId?: bigint | null | undefined;
|
|
109
109
|
}, {
|
|
110
|
-
|
|
110
|
+
prewitnessedDepositId: string | number;
|
|
111
111
|
asset: {
|
|
112
112
|
__kind: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
113
113
|
};
|
|
@@ -115,7 +115,7 @@ declare const ethereumIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
115
115
|
txHashes?: string[] | null | undefined;
|
|
116
116
|
};
|
|
117
117
|
boostFee: string | number;
|
|
118
|
-
|
|
118
|
+
blockHeight: string | number;
|
|
119
119
|
amounts: [number, string | number][];
|
|
120
120
|
ingressFee: string | number;
|
|
121
121
|
maxBoostFeeBps: number;
|
|
@@ -78,13 +78,13 @@ declare const ethereumIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
78
78
|
__kind: "DepositChannel" | "Vault";
|
|
79
79
|
}>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
|
|
81
|
+
prewitnessedDepositId: bigint;
|
|
82
82
|
asset: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
83
83
|
depositDetails: {
|
|
84
84
|
txHashes?: `0x${string}`[] | null | undefined;
|
|
85
85
|
};
|
|
86
86
|
boostFee: bigint;
|
|
87
|
-
|
|
87
|
+
blockHeight: bigint;
|
|
88
88
|
amounts: [number, bigint][];
|
|
89
89
|
ingressFee: bigint;
|
|
90
90
|
maxBoostFeeBps: number;
|
|
@@ -107,7 +107,7 @@ declare const ethereumIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
107
107
|
depositAddress?: `0x${string}` | null | undefined;
|
|
108
108
|
channelId?: bigint | null | undefined;
|
|
109
109
|
}, {
|
|
110
|
-
|
|
110
|
+
prewitnessedDepositId: string | number;
|
|
111
111
|
asset: {
|
|
112
112
|
__kind: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
113
113
|
};
|
|
@@ -115,7 +115,7 @@ declare const ethereumIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
115
115
|
txHashes?: string[] | null | undefined;
|
|
116
116
|
};
|
|
117
117
|
boostFee: string | number;
|
|
118
|
-
|
|
118
|
+
blockHeight: string | number;
|
|
119
119
|
amounts: [number, string | number][];
|
|
120
120
|
ingressFee: string | number;
|
|
121
121
|
maxBoostFeeBps: number;
|