@chainflip/processor 2.0.4 → 2.1.0-alpha.1
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/11000/assethubIngressEgress/ccmEgressInvalid.d.cts +107 -107
- package/dist/11000/assethubIngressEgress/ccmEgressInvalid.d.ts +107 -107
- package/dist/11000/assethubIngressEgress/depositFailed.d.cts +161 -161
- package/dist/11000/assethubIngressEgress/depositFailed.d.ts +161 -161
- package/dist/11000/assethubIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
- package/dist/11000/assethubIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
- package/dist/11000/lendingPools/boostFundsAdded.d.cts +2 -2
- package/dist/11000/lendingPools/boostFundsAdded.d.ts +2 -2
- package/dist/11000/lendingPools/stoppedBoosting.d.cts +2 -2
- package/dist/11000/lendingPools/stoppedBoosting.d.ts +2 -2
- package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.cts +107 -107
- package/dist/11000/polkadotIngressEgress/ccmEgressInvalid.d.ts +107 -107
- package/dist/11000/polkadotIngressEgress/depositFailed.d.cts +207 -207
- package/dist/11000/polkadotIngressEgress/depositFailed.d.ts +207 -207
- package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
- package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
- package/dist/11000/solanaIngressEgress/ccmEgressInvalid.d.cts +26 -26
- package/dist/11000/solanaIngressEgress/ccmEgressInvalid.d.ts +26 -26
- package/dist/11000/solanaIngressEgress/depositFailed.d.cts +40 -40
- package/dist/11000/solanaIngressEgress/depositFailed.d.ts +40 -40
- package/dist/11000/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +22 -22
- package/dist/11000/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +22 -22
- package/dist/11000/swapping/refundEgressScheduled.d.cts +2 -2
- package/dist/11000/swapping/refundEgressScheduled.d.ts +2 -2
- package/dist/11000/swapping/refundedOnChain.d.cts +4 -4
- package/dist/11000/swapping/refundedOnChain.d.ts +4 -4
- package/dist/11000/swapping/swapDepositAddressReady.d.cts +57 -57
- package/dist/11000/swapping/swapDepositAddressReady.d.ts +57 -57
- package/dist/11000/swapping/swapRequested.d.cts +94 -94
- package/dist/11000/swapping/swapRequested.d.ts +94 -94
- package/dist/11100/bitcoinIngressEgress/depositFailed.d.cts +318 -318
- package/dist/11100/bitcoinIngressEgress/depositFailed.d.ts +318 -318
- package/dist/11100/flip/flipMinted.d.cts +2 -2
- package/dist/11100/flip/flipMinted.d.ts +2 -2
- package/dist/11100/funding/sCCallCannotBeDecoded.d.cts +2 -2
- package/dist/11100/funding/sCCallCannotBeDecoded.d.ts +2 -2
- package/dist/11100/funding/sCCallCannotBeExecuted.d.cts +31 -31
- package/dist/11100/funding/sCCallCannotBeExecuted.d.ts +31 -31
- package/dist/11100/funding/sCCallExecuted.d.cts +2 -2
- package/dist/11100/funding/sCCallExecuted.d.ts +2 -2
- package/dist/11100/swapping/swapDepositAddressReady.d.cts +52 -52
- package/dist/11100/swapping/swapDepositAddressReady.d.ts +52 -52
- package/dist/11100/swapping/swapExecuted.d.cts +14 -14
- package/dist/11100/swapping/swapExecuted.d.ts +14 -14
- package/dist/11100/swapping/swapRequested.d.cts +386 -386
- package/dist/11100/swapping/swapRequested.d.ts +386 -386
- package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
- package/dist/11200/assethubIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
- package/dist/11200/assethubIngressEgress/depositBoosted.d.cts +6 -6
- package/dist/11200/assethubIngressEgress/depositBoosted.d.ts +6 -6
- package/dist/11200/assethubIngressEgress/depositFailed.d.cts +184 -184
- package/dist/11200/assethubIngressEgress/depositFailed.d.ts +184 -184
- package/dist/11200/assethubIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/11200/assethubIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/11200/bitcoinIngressEgress/depositBoosted.d.cts +14 -14
- package/dist/11200/bitcoinIngressEgress/depositBoosted.d.ts +14 -14
- package/dist/11200/bitcoinIngressEgress/depositFailed.d.cts +36 -36
- package/dist/11200/bitcoinIngressEgress/depositFailed.d.ts +36 -36
- package/dist/11200/bitcoinIngressEgress/depositFinalised.d.cts +8 -8
- package/dist/11200/bitcoinIngressEgress/depositFinalised.d.ts +8 -8
- package/dist/11200/ethereumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
- package/dist/11200/ethereumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
- package/dist/11200/ethereumIngressEgress/depositBoosted.d.cts +6 -6
- package/dist/11200/ethereumIngressEgress/depositBoosted.d.ts +6 -6
- package/dist/11200/ethereumIngressEgress/depositFailed.d.cts +184 -184
- package/dist/11200/ethereumIngressEgress/depositFailed.d.ts +184 -184
- package/dist/11200/ethereumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/11200/ethereumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/120/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/120/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +4 -4
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +4 -4
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
- package/dist/150/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
- package/dist/150/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/150/arbitrumIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/150/arbitrumIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
- package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
- package/dist/150/assetBalances/refundSkipped.d.cts +97 -97
- package/dist/150/assetBalances/refundSkipped.d.ts +97 -97
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.cts +57 -57
- package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.ts +57 -57
- package/dist/180/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/180/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +150 -150
- package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +150 -150
- package/dist/180/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/180/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
- package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/180/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
- package/dist/180/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
- package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +313 -313
- package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +313 -313
- package/dist/180/bitcoinIngressEgress/depositFinalised.d.cts +24 -24
- package/dist/180/bitcoinIngressEgress/depositFinalised.d.ts +24 -24
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
- package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
- package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
- package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.cts +20 -20
- package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.ts +20 -20
- package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +6 -6
- package/dist/180/ethereumIngressEgress/depositBoosted.d.ts +6 -6
- package/dist/180/ethereumIngressEgress/depositFailed.d.cts +179 -179
- package/dist/180/ethereumIngressEgress/depositFailed.d.ts +179 -179
- 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 +57 -57
- package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +57 -57
- 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 +68 -68
- package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.ts +68 -68
- package/dist/180/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/180/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/180/polkadotIngressEgress/depositFailed.d.cts +185 -185
- package/dist/180/polkadotIngressEgress/depositFailed.d.ts +185 -185
- package/dist/180/polkadotIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/180/polkadotIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +64 -64
- package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +64 -64
- package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
- package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +2 -2
- package/dist/190/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/190/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +24 -24
- package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +24 -24
- package/dist/190/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/190/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/190/arbitrumIngressEgress/depositFailed.d.cts +10 -10
- package/dist/190/arbitrumIngressEgress/depositFailed.d.ts +10 -10
- package/dist/190/arbitrumIngressEgress/depositFinalised.d.cts +8 -8
- package/dist/190/arbitrumIngressEgress/depositFinalised.d.ts +8 -8
- package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +20 -20
- package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +20 -20
- package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.cts +2 -2
- package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.ts +2 -2
- package/dist/190/assetBalances/accountCredited.d.cts +2 -2
- package/dist/190/assetBalances/accountCredited.d.ts +2 -2
- package/dist/190/assetBalances/accountDebited.d.cts +2 -2
- package/dist/190/assetBalances/accountDebited.d.ts +2 -2
- package/dist/190/swapping/batchSwapFailed.d.cts +2 -2
- package/dist/190/swapping/batchSwapFailed.d.ts +2 -2
- package/dist/200/lendingPools/loanCreated.d.cts +4 -4
- package/dist/200/lendingPools/loanCreated.d.ts +4 -4
- package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.cjs +10 -0
- package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.d.cts +24 -0
- package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.d.ts +24 -0
- package/dist/210/arbitrumIngressEgress/assetEgressStatusChanged.mjs +10 -0
- package/dist/210/arbitrumIngressEgress/depositBoosted.cjs +27 -0
- package/dist/210/arbitrumIngressEgress/depositBoosted.d.cts +203 -0
- package/dist/210/arbitrumIngressEgress/depositBoosted.d.ts +203 -0
- package/dist/210/arbitrumIngressEgress/depositBoosted.mjs +27 -0
- package/dist/210/arbitrumIngressEgress/depositFailed.cjs +15 -0
- package/dist/210/arbitrumIngressEgress/depositFailed.d.cts +1426 -0
- package/dist/210/arbitrumIngressEgress/depositFailed.d.ts +1426 -0
- package/dist/210/arbitrumIngressEgress/depositFailed.mjs +15 -0
- package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.cjs +10 -0
- package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.d.cts +24 -0
- package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.d.ts +24 -0
- package/dist/210/arbitrumIngressEgress/depositFetchesScheduled.mjs +10 -0
- package/dist/210/arbitrumIngressEgress/depositFinalised.cjs +25 -0
- package/dist/210/arbitrumIngressEgress/depositFinalised.d.cts +197 -0
- package/dist/210/arbitrumIngressEgress/depositFinalised.d.ts +197 -0
- package/dist/210/arbitrumIngressEgress/depositFinalised.mjs +25 -0
- package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.cjs +17 -0
- package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +43 -0
- package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.d.ts +43 -0
- package/dist/210/arbitrumIngressEgress/insufficientBoostLiquidity.mjs +17 -0
- package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.cjs +11 -0
- package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.d.cts +27 -0
- package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.d.ts +27 -0
- package/dist/210/arbitrumIngressEgress/invalidCcmRefunded.mjs +11 -0
- package/dist/210/arbitrumIngressEgress/palletConfigUpdated.cjs +9 -0
- package/dist/210/arbitrumIngressEgress/palletConfigUpdated.d.cts +150 -0
- package/dist/210/arbitrumIngressEgress/palletConfigUpdated.d.ts +150 -0
- package/dist/210/arbitrumIngressEgress/palletConfigUpdated.mjs +9 -0
- package/dist/210/arbitrumIngressEgress/transferFallbackRequested.cjs +18 -0
- package/dist/210/arbitrumIngressEgress/transferFallbackRequested.d.cts +65 -0
- package/dist/210/arbitrumIngressEgress/transferFallbackRequested.d.ts +65 -0
- package/dist/210/arbitrumIngressEgress/transferFallbackRequested.mjs +18 -0
- package/dist/210/assetBalances/accountCredited.cjs +12 -0
- package/dist/210/assetBalances/accountCredited.d.cts +30 -0
- package/dist/210/assetBalances/accountCredited.d.ts +30 -0
- package/dist/210/assetBalances/accountCredited.mjs +12 -0
- package/dist/210/assetBalances/accountDebited.cjs +12 -0
- package/dist/210/assetBalances/accountDebited.d.cts +30 -0
- package/dist/210/assetBalances/accountDebited.d.ts +30 -0
- package/dist/210/assetBalances/accountDebited.mjs +12 -0
- package/dist/210/assethubIngressEgress/depositFailed.cjs +14 -0
- package/dist/210/assethubIngressEgress/depositFailed.d.cts +1417 -0
- package/dist/210/assethubIngressEgress/depositFailed.d.ts +1417 -0
- package/dist/210/assethubIngressEgress/depositFailed.mjs +14 -0
- package/dist/210/bitcoinIngressEgress/depositFailed.cjs +15 -0
- package/dist/210/bitcoinIngressEgress/depositFailed.d.cts +2335 -0
- package/dist/210/bitcoinIngressEgress/depositFailed.d.ts +2335 -0
- package/dist/210/bitcoinIngressEgress/depositFailed.mjs +15 -0
- package/dist/210/common.cjs +1178 -0
- package/dist/210/common.d.cts +26271 -0
- package/dist/210/common.d.ts +26271 -0
- package/dist/210/common.mjs +1178 -0
- package/dist/210/environment/addedNewArbAsset.cjs +7 -0
- package/dist/210/environment/addedNewArbAsset.d.cts +13 -0
- package/dist/210/environment/addedNewArbAsset.d.ts +13 -0
- package/dist/210/environment/addedNewArbAsset.mjs +7 -0
- package/dist/210/environment/addedNewEthAsset.cjs +7 -0
- package/dist/210/environment/addedNewEthAsset.d.cts +13 -0
- package/dist/210/environment/addedNewEthAsset.d.ts +13 -0
- package/dist/210/environment/addedNewEthAsset.mjs +7 -0
- package/dist/210/environment/runtimeSafeModeUpdated.cjs +9 -0
- package/dist/210/environment/runtimeSafeModeUpdated.d.cts +1928 -0
- package/dist/210/environment/runtimeSafeModeUpdated.d.ts +1928 -0
- package/dist/210/environment/runtimeSafeModeUpdated.mjs +9 -0
- package/dist/210/environment/updatedArbAsset.cjs +7 -0
- package/dist/210/environment/updatedArbAsset.d.cts +13 -0
- package/dist/210/environment/updatedArbAsset.d.ts +13 -0
- package/dist/210/environment/updatedArbAsset.mjs +7 -0
- package/dist/210/environment/updatedEthAsset.cjs +7 -0
- package/dist/210/environment/updatedEthAsset.d.cts +13 -0
- package/dist/210/environment/updatedEthAsset.d.ts +13 -0
- package/dist/210/environment/updatedEthAsset.mjs +7 -0
- package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.cjs +10 -0
- package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.d.cts +24 -0
- package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.d.ts +24 -0
- package/dist/210/ethereumIngressEgress/assetEgressStatusChanged.mjs +10 -0
- package/dist/210/ethereumIngressEgress/depositBoosted.cjs +27 -0
- package/dist/210/ethereumIngressEgress/depositBoosted.d.cts +203 -0
- package/dist/210/ethereumIngressEgress/depositBoosted.d.ts +203 -0
- package/dist/210/ethereumIngressEgress/depositBoosted.mjs +27 -0
- package/dist/210/ethereumIngressEgress/depositFailed.cjs +15 -0
- package/dist/210/ethereumIngressEgress/depositFailed.d.cts +1426 -0
- package/dist/210/ethereumIngressEgress/depositFailed.d.ts +1426 -0
- package/dist/210/ethereumIngressEgress/depositFailed.mjs +15 -0
- package/dist/210/ethereumIngressEgress/depositFetchesScheduled.cjs +10 -0
- package/dist/210/ethereumIngressEgress/depositFetchesScheduled.d.cts +24 -0
- package/dist/210/ethereumIngressEgress/depositFetchesScheduled.d.ts +24 -0
- package/dist/210/ethereumIngressEgress/depositFetchesScheduled.mjs +10 -0
- package/dist/210/ethereumIngressEgress/depositFinalised.cjs +25 -0
- package/dist/210/ethereumIngressEgress/depositFinalised.d.cts +197 -0
- package/dist/210/ethereumIngressEgress/depositFinalised.d.ts +197 -0
- package/dist/210/ethereumIngressEgress/depositFinalised.mjs +25 -0
- package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.cjs +17 -0
- package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +43 -0
- package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +43 -0
- package/dist/210/ethereumIngressEgress/insufficientBoostLiquidity.mjs +17 -0
- package/dist/210/ethereumIngressEgress/invalidCcmRefunded.cjs +11 -0
- package/dist/210/ethereumIngressEgress/invalidCcmRefunded.d.cts +27 -0
- package/dist/210/ethereumIngressEgress/invalidCcmRefunded.d.ts +27 -0
- package/dist/210/ethereumIngressEgress/invalidCcmRefunded.mjs +11 -0
- package/dist/210/ethereumIngressEgress/palletConfigUpdated.cjs +9 -0
- package/dist/210/ethereumIngressEgress/palletConfigUpdated.d.cts +150 -0
- package/dist/210/ethereumIngressEgress/palletConfigUpdated.d.ts +150 -0
- package/dist/210/ethereumIngressEgress/palletConfigUpdated.mjs +9 -0
- package/dist/210/ethereumIngressEgress/transferFallbackRequested.cjs +18 -0
- package/dist/210/ethereumIngressEgress/transferFallbackRequested.d.cts +65 -0
- package/dist/210/ethereumIngressEgress/transferFallbackRequested.d.ts +65 -0
- package/dist/210/ethereumIngressEgress/transferFallbackRequested.mjs +18 -0
- package/dist/210/funding/funded.cjs +12 -0
- package/dist/210/funding/funded.d.cts +87 -0
- package/dist/210/funding/funded.d.ts +87 -0
- package/dist/210/funding/funded.mjs +12 -0
- package/dist/210/governance/newGovernanceCouncil.cjs +9 -0
- package/dist/210/governance/newGovernanceCouncil.d.cts +26 -0
- package/dist/210/governance/newGovernanceCouncil.d.ts +26 -0
- package/dist/210/governance/newGovernanceCouncil.mjs +9 -0
- package/dist/210/lendingPools/boostFundsAdded.cjs +11 -0
- package/dist/210/lendingPools/boostFundsAdded.d.cts +44 -0
- package/dist/210/lendingPools/boostFundsAdded.d.ts +44 -0
- package/dist/210/lendingPools/boostFundsAdded.mjs +11 -0
- package/dist/210/lendingPools/boostPoolCreated.cjs +9 -0
- package/dist/210/lendingPools/boostPoolCreated.d.cts +38 -0
- package/dist/210/lendingPools/boostPoolCreated.d.ts +38 -0
- package/dist/210/lendingPools/boostPoolCreated.mjs +9 -0
- package/dist/210/lendingPools/collateralAdded.cjs +16 -0
- package/dist/210/lendingPools/collateralAdded.d.cts +67 -0
- package/dist/210/lendingPools/collateralAdded.d.ts +67 -0
- package/dist/210/lendingPools/collateralAdded.mjs +16 -0
- package/dist/210/lendingPools/collateralRemoved.cjs +10 -0
- package/dist/210/lendingPools/collateralRemoved.d.cts +24 -0
- package/dist/210/lendingPools/collateralRemoved.d.ts +24 -0
- package/dist/210/lendingPools/collateralRemoved.mjs +10 -0
- package/dist/210/lendingPools/collateralTopupAssetUpdated.cjs +10 -0
- package/dist/210/lendingPools/collateralTopupAssetUpdated.d.cts +24 -0
- package/dist/210/lendingPools/collateralTopupAssetUpdated.d.ts +24 -0
- package/dist/210/lendingPools/collateralTopupAssetUpdated.mjs +10 -0
- package/dist/210/lendingPools/lendingFundsAdded.cjs +11 -0
- package/dist/210/lendingPools/lendingFundsAdded.d.cts +27 -0
- package/dist/210/lendingPools/lendingFundsAdded.d.ts +27 -0
- package/dist/210/lendingPools/lendingFundsAdded.mjs +11 -0
- package/dist/210/lendingPools/lendingFundsRemoved.cjs +11 -0
- package/dist/210/lendingPools/lendingFundsRemoved.d.cts +27 -0
- package/dist/210/lendingPools/lendingFundsRemoved.d.ts +27 -0
- package/dist/210/lendingPools/lendingFundsRemoved.mjs +11 -0
- package/dist/210/lendingPools/lendingPoolCreated.cjs +7 -0
- package/dist/210/lendingPools/lendingPoolCreated.d.cts +21 -0
- package/dist/210/lendingPools/lendingPoolCreated.d.ts +21 -0
- package/dist/210/lendingPools/lendingPoolCreated.mjs +7 -0
- package/dist/210/lendingPools/loanCreated.cjs +12 -0
- package/dist/210/lendingPools/loanCreated.d.cts +30 -0
- package/dist/210/lendingPools/loanCreated.d.ts +30 -0
- package/dist/210/lendingPools/loanCreated.mjs +12 -0
- package/dist/210/lendingPools/loanRepaid.cjs +11 -0
- package/dist/210/lendingPools/loanRepaid.d.cts +42 -0
- package/dist/210/lendingPools/loanRepaid.d.ts +42 -0
- package/dist/210/lendingPools/loanRepaid.mjs +11 -0
- package/dist/210/lendingPools/palletConfigUpdated.cjs +9 -0
- package/dist/210/lendingPools/palletConfigUpdated.d.cts +387 -0
- package/dist/210/lendingPools/palletConfigUpdated.d.ts +387 -0
- package/dist/210/lendingPools/palletConfigUpdated.mjs +9 -0
- package/dist/210/lendingPools/stoppedBoosting.cjs +12 -0
- package/dist/210/lendingPools/stoppedBoosting.d.cts +47 -0
- package/dist/210/lendingPools/stoppedBoosting.d.ts +47 -0
- package/dist/210/lendingPools/stoppedBoosting.mjs +12 -0
- package/dist/210/liquidityPools/assetSwapped.cjs +12 -0
- package/dist/210/liquidityPools/assetSwapped.d.cts +40 -0
- package/dist/210/liquidityPools/assetSwapped.d.ts +40 -0
- package/dist/210/liquidityPools/assetSwapped.mjs +12 -0
- package/dist/210/liquidityPools/limitOrderUpdated.cjs +24 -0
- package/dist/210/liquidityPools/limitOrderUpdated.d.cts +98 -0
- package/dist/210/liquidityPools/limitOrderUpdated.d.ts +98 -0
- package/dist/210/liquidityPools/limitOrderUpdated.mjs +24 -0
- package/dist/210/liquidityPools/newPoolCreated.cjs +12 -0
- package/dist/210/liquidityPools/newPoolCreated.d.cts +40 -0
- package/dist/210/liquidityPools/newPoolCreated.d.ts +40 -0
- package/dist/210/liquidityPools/newPoolCreated.mjs +12 -0
- package/dist/210/liquidityPools/orderDeletionFailed.cjs +7 -0
- package/dist/210/liquidityPools/orderDeletionFailed.d.cts +126 -0
- package/dist/210/liquidityPools/orderDeletionFailed.d.ts +126 -0
- package/dist/210/liquidityPools/orderDeletionFailed.mjs +7 -0
- package/dist/210/liquidityPools/palletConfigUpdated.cjs +9 -0
- package/dist/210/liquidityPools/palletConfigUpdated.d.cts +43 -0
- package/dist/210/liquidityPools/palletConfigUpdated.d.ts +43 -0
- package/dist/210/liquidityPools/palletConfigUpdated.mjs +9 -0
- package/dist/210/liquidityPools/poolFeeSet.cjs +11 -0
- package/dist/210/liquidityPools/poolFeeSet.d.cts +37 -0
- package/dist/210/liquidityPools/poolFeeSet.d.ts +37 -0
- package/dist/210/liquidityPools/poolFeeSet.mjs +11 -0
- package/dist/210/liquidityPools/priceImpactLimitSet.cjs +10 -0
- package/dist/210/liquidityPools/priceImpactLimitSet.d.cts +45 -0
- package/dist/210/liquidityPools/priceImpactLimitSet.d.ts +45 -0
- package/dist/210/liquidityPools/priceImpactLimitSet.mjs +10 -0
- package/dist/210/liquidityPools/rangeOrderUpdated.cjs +22 -0
- package/dist/210/liquidityPools/rangeOrderUpdated.d.cts +208 -0
- package/dist/210/liquidityPools/rangeOrderUpdated.d.ts +208 -0
- package/dist/210/liquidityPools/rangeOrderUpdated.mjs +22 -0
- package/dist/210/liquidityProvider/assetTransferred.cjs +12 -0
- package/dist/210/liquidityProvider/assetTransferred.d.cts +30 -0
- package/dist/210/liquidityProvider/assetTransferred.d.ts +30 -0
- package/dist/210/liquidityProvider/assetTransferred.mjs +12 -0
- package/dist/210/liquidityProvider/liquidityDepositAddressReady.cjs +20 -0
- package/dist/210/liquidityProvider/liquidityDepositAddressReady.d.cts +90 -0
- package/dist/210/liquidityProvider/liquidityDepositAddressReady.d.ts +90 -0
- package/dist/210/liquidityProvider/liquidityDepositAddressReady.mjs +20 -0
- package/dist/210/liquidityProvider/withdrawalEgressScheduled.cjs +18 -0
- package/dist/210/liquidityProvider/withdrawalEgressScheduled.d.cts +94 -0
- package/dist/210/liquidityProvider/withdrawalEgressScheduled.d.ts +94 -0
- package/dist/210/liquidityProvider/withdrawalEgressScheduled.mjs +18 -0
- package/dist/210/polkadotIngressEgress/depositFailed.cjs +14 -0
- package/dist/210/polkadotIngressEgress/depositFailed.d.cts +1417 -0
- package/dist/210/polkadotIngressEgress/depositFailed.d.ts +1417 -0
- package/dist/210/polkadotIngressEgress/depositFailed.mjs +14 -0
- package/dist/210/solanaIngressEgress/depositFailed.cjs +15 -0
- package/dist/210/solanaIngressEgress/depositFailed.d.cts +1498 -0
- package/dist/210/solanaIngressEgress/depositFailed.d.ts +1498 -0
- package/dist/210/solanaIngressEgress/depositFailed.mjs +15 -0
- package/dist/210/swapping/accountCreationDepositAddressReady.cjs +22 -0
- package/dist/210/swapping/accountCreationDepositAddressReady.d.cts +147 -0
- package/dist/210/swapping/accountCreationDepositAddressReady.d.ts +147 -0
- package/dist/210/swapping/accountCreationDepositAddressReady.mjs +22 -0
- package/dist/210/swapping/batchSwapFailed.cjs +11 -0
- package/dist/210/swapping/batchSwapFailed.d.cts +37 -0
- package/dist/210/swapping/batchSwapFailed.d.ts +37 -0
- package/dist/210/swapping/batchSwapFailed.mjs +11 -0
- package/dist/210/swapping/creditedOnChain.cjs +12 -0
- package/dist/210/swapping/creditedOnChain.d.cts +30 -0
- package/dist/210/swapping/creditedOnChain.d.ts +30 -0
- package/dist/210/swapping/creditedOnChain.mjs +12 -0
- package/dist/210/swapping/palletConfigUpdated.cjs +7 -0
- package/dist/210/swapping/palletConfigUpdated.d.cts +254 -0
- package/dist/210/swapping/palletConfigUpdated.d.ts +254 -0
- package/dist/210/swapping/palletConfigUpdated.mjs +7 -0
- package/dist/210/swapping/refundEgressIgnored.cjs +12 -0
- package/dist/210/swapping/refundEgressIgnored.d.cts +247 -0
- package/dist/210/swapping/refundEgressIgnored.d.ts +247 -0
- package/dist/210/swapping/refundEgressIgnored.mjs +12 -0
- package/dist/210/swapping/refundEgressScheduled.cjs +18 -0
- package/dist/210/swapping/refundEgressScheduled.d.cts +56 -0
- package/dist/210/swapping/refundEgressScheduled.d.ts +56 -0
- package/dist/210/swapping/refundEgressScheduled.mjs +18 -0
- package/dist/210/swapping/refundedOnChain.cjs +13 -0
- package/dist/210/swapping/refundedOnChain.d.cts +33 -0
- package/dist/210/swapping/refundedOnChain.d.ts +33 -0
- package/dist/210/swapping/refundedOnChain.mjs +13 -0
- package/dist/210/swapping/swapAmountConfiscated.cjs +12 -0
- package/dist/210/swapping/swapAmountConfiscated.d.cts +30 -0
- package/dist/210/swapping/swapAmountConfiscated.d.ts +30 -0
- package/dist/210/swapping/swapAmountConfiscated.mjs +12 -0
- package/dist/210/swapping/swapDepositAddressReady.cjs +31 -0
- package/dist/210/swapping/swapDepositAddressReady.d.cts +694 -0
- package/dist/210/swapping/swapDepositAddressReady.d.ts +694 -0
- package/dist/210/swapping/swapDepositAddressReady.mjs +31 -0
- package/dist/210/swapping/swapEgressIgnored.cjs +12 -0
- package/dist/210/swapping/swapEgressIgnored.d.cts +247 -0
- package/dist/210/swapping/swapEgressIgnored.d.ts +247 -0
- package/dist/210/swapping/swapEgressIgnored.mjs +12 -0
- package/dist/210/swapping/swapEgressScheduled.cjs +17 -0
- package/dist/210/swapping/swapEgressScheduled.d.cts +53 -0
- package/dist/210/swapping/swapEgressScheduled.d.ts +53 -0
- package/dist/210/swapping/swapEgressScheduled.mjs +17 -0
- package/dist/210/swapping/swapExecuted.cjs +18 -0
- package/dist/210/swapping/swapExecuted.d.cts +58 -0
- package/dist/210/swapping/swapExecuted.d.ts +58 -0
- package/dist/210/swapping/swapExecuted.mjs +18 -0
- package/dist/210/swapping/swapRequested.cjs +25 -0
- package/dist/210/swapping/swapRequested.d.cts +3992 -0
- package/dist/210/swapping/swapRequested.d.ts +3992 -0
- package/dist/210/swapping/swapRequested.mjs +25 -0
- package/dist/210/swapping/withdrawalRequested.cjs +20 -0
- package/dist/210/swapping/withdrawalRequested.d.cts +97 -0
- package/dist/210/swapping/withdrawalRequested.d.ts +97 -0
- package/dist/210/swapping/withdrawalRequested.mjs +20 -0
- package/dist/210/tradingStrategy/fundsAddedToStrategy.cjs +10 -0
- package/dist/210/tradingStrategy/fundsAddedToStrategy.d.cts +24 -0
- package/dist/210/tradingStrategy/fundsAddedToStrategy.d.ts +24 -0
- package/dist/210/tradingStrategy/fundsAddedToStrategy.mjs +10 -0
- package/dist/210/tradingStrategy/palletConfigUpdated.cjs +9 -0
- package/dist/210/tradingStrategy/palletConfigUpdated.d.cts +107 -0
- package/dist/210/tradingStrategy/palletConfigUpdated.d.ts +107 -0
- package/dist/210/tradingStrategy/palletConfigUpdated.mjs +9 -0
- package/dist/210/tradingStrategy/strategyDeployed.cjs +11 -0
- package/dist/210/tradingStrategy/strategyDeployed.d.cts +133 -0
- package/dist/210/tradingStrategy/strategyDeployed.d.ts +133 -0
- package/dist/210/tradingStrategy/strategyDeployed.mjs +11 -0
- package/package.json +2 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// generated/210/ethereumIngressEgress/depositFailed.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import {
|
|
4
|
+
numberOrHex,
|
|
5
|
+
palletCfEthereumIngressEgressDepositFailedDetailsEthereum,
|
|
6
|
+
palletCfEthereumIngressEgressDepositFailedReason
|
|
7
|
+
} from "../common.mjs";
|
|
8
|
+
var ethereumIngressEgressDepositFailed = z.object({
|
|
9
|
+
blockHeight: numberOrHex,
|
|
10
|
+
reason: palletCfEthereumIngressEgressDepositFailedReason,
|
|
11
|
+
details: palletCfEthereumIngressEgressDepositFailedDetailsEthereum
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
ethereumIngressEgressDepositFailed
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/210/ethereumIngressEgress/depositFetchesScheduled.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
var _commoncjs = require('../common.cjs');
|
|
4
|
+
var ethereumIngressEgressDepositFetchesScheduled = _zod.z.object({
|
|
5
|
+
channelId: _commoncjs.numberOrHex,
|
|
6
|
+
asset: _commoncjs.cfPrimitivesChainsAssetsEthAsset
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.ethereumIngressEgressDepositFetchesScheduled = ethereumIngressEgressDepositFetchesScheduled;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const ethereumIngressEgressDepositFetchesScheduled: z.ZodObject<{
|
|
4
|
+
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
5
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Usdt", "Wbtc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
13
|
+
}>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
asset: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
16
|
+
channelId: bigint;
|
|
17
|
+
}, {
|
|
18
|
+
asset: {
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
20
|
+
};
|
|
21
|
+
channelId: string | number;
|
|
22
|
+
}>;
|
|
23
|
+
|
|
24
|
+
export { ethereumIngressEgressDepositFetchesScheduled };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const ethereumIngressEgressDepositFetchesScheduled: z.ZodObject<{
|
|
4
|
+
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
5
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Usdt", "Wbtc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
13
|
+
}>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
asset: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
16
|
+
channelId: bigint;
|
|
17
|
+
}, {
|
|
18
|
+
asset: {
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
20
|
+
};
|
|
21
|
+
channelId: string | number;
|
|
22
|
+
}>;
|
|
23
|
+
|
|
24
|
+
export { ethereumIngressEgressDepositFetchesScheduled };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// generated/210/ethereumIngressEgress/depositFetchesScheduled.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { cfPrimitivesChainsAssetsEthAsset, numberOrHex } from "../common.mjs";
|
|
4
|
+
var ethereumIngressEgressDepositFetchesScheduled = z.object({
|
|
5
|
+
channelId: numberOrHex,
|
|
6
|
+
asset: cfPrimitivesChainsAssetsEthAsset
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
ethereumIngressEgressDepositFetchesScheduled
|
|
10
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/210/ethereumIngressEgress/depositFinalised.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _commoncjs = require('../common.cjs');
|
|
11
|
+
var ethereumIngressEgressDepositFinalised = _zod.z.object({
|
|
12
|
+
depositAddress: _commoncjs.hexString.nullish(),
|
|
13
|
+
asset: _commoncjs.cfPrimitivesChainsAssetsEthAsset,
|
|
14
|
+
amount: _commoncjs.numberOrHex,
|
|
15
|
+
blockHeight: _commoncjs.numberOrHex,
|
|
16
|
+
depositDetails: _commoncjs.cfChainsEvmDepositDetails,
|
|
17
|
+
ingressFee: _commoncjs.numberOrHex,
|
|
18
|
+
maxBoostFeeBps: _zod.z.number(),
|
|
19
|
+
action: _commoncjs.palletCfEthereumIngressEgressDepositAction,
|
|
20
|
+
channelId: _commoncjs.numberOrHex.nullish(),
|
|
21
|
+
originType: _commoncjs.cfChainsDepositOriginType
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.ethereumIngressEgressDepositFinalised = ethereumIngressEgressDepositFinalised;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
4
|
+
depositAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>;
|
|
5
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Usdt", "Wbtc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
13
|
+
}>;
|
|
14
|
+
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
|
+
blockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
|
+
depositDetails: z.ZodObject<{
|
|
17
|
+
txHashes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">>>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
txHashes?: `0x${string}`[] | null | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
txHashes?: string[] | null | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
|
+
maxBoostFeeBps: z.ZodNumber;
|
|
25
|
+
action: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
26
|
+
__kind: z.ZodLiteral<"Swap">;
|
|
27
|
+
swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
__kind: "Swap";
|
|
30
|
+
swapRequestId: bigint;
|
|
31
|
+
}, {
|
|
32
|
+
__kind: "Swap";
|
|
33
|
+
swapRequestId: string | number;
|
|
34
|
+
}>, z.ZodObject<{
|
|
35
|
+
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
36
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, `cF${string}`, string>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
__kind: "LiquidityProvision";
|
|
39
|
+
lpAccount: `cF${string}`;
|
|
40
|
+
}, {
|
|
41
|
+
__kind: "LiquidityProvision";
|
|
42
|
+
lpAccount: string;
|
|
43
|
+
}>, z.ZodObject<{
|
|
44
|
+
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
45
|
+
swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
__kind: "CcmTransfer";
|
|
48
|
+
swapRequestId: bigint;
|
|
49
|
+
}, {
|
|
50
|
+
__kind: "CcmTransfer";
|
|
51
|
+
swapRequestId: string | number;
|
|
52
|
+
}>, z.ZodObject<{
|
|
53
|
+
__kind: z.ZodLiteral<"BoostersCredited">;
|
|
54
|
+
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
55
|
+
networkFeeFromBoost: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
56
|
+
networkFeeSwapRequestId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
__kind: "BoostersCredited";
|
|
59
|
+
prewitnessedDepositId: bigint;
|
|
60
|
+
networkFeeFromBoost: bigint;
|
|
61
|
+
networkFeeSwapRequestId?: bigint | null | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
__kind: "BoostersCredited";
|
|
64
|
+
prewitnessedDepositId: string | number;
|
|
65
|
+
networkFeeFromBoost: string | number;
|
|
66
|
+
networkFeeSwapRequestId?: string | number | null | undefined;
|
|
67
|
+
}>, z.ZodObject<{
|
|
68
|
+
__kind: z.ZodLiteral<"Refund">;
|
|
69
|
+
egressId: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodEffects<z.ZodObject<{
|
|
70
|
+
__kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana", "Assethub"]>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
73
|
+
}, {
|
|
74
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
75
|
+
}>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", {
|
|
76
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
77
|
+
}>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>>>;
|
|
78
|
+
reason: z.ZodEffects<z.ZodObject<{
|
|
79
|
+
__kind: z.ZodEnum<["InvalidBrokerFees", "InvalidRefundParameters", "InvalidDcaParameters", "CcmUnsupportedForTargetChain", "CcmInvalidMetadata", "InvalidDestinationAddress"]>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
82
|
+
}, {
|
|
83
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
84
|
+
}>, "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress", {
|
|
85
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
86
|
+
}>;
|
|
87
|
+
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
__kind: "Refund";
|
|
90
|
+
amount: bigint;
|
|
91
|
+
reason: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
92
|
+
egressId?: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint] | null | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
__kind: "Refund";
|
|
95
|
+
amount: string | number;
|
|
96
|
+
reason: {
|
|
97
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
98
|
+
};
|
|
99
|
+
egressId?: [{
|
|
100
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
101
|
+
}, string | number] | null | undefined;
|
|
102
|
+
}>, z.ZodObject<{
|
|
103
|
+
__kind: z.ZodLiteral<"Unrefundable">;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
__kind: "Unrefundable";
|
|
106
|
+
}, {
|
|
107
|
+
__kind: "Unrefundable";
|
|
108
|
+
}>]>;
|
|
109
|
+
channelId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
110
|
+
originType: z.ZodEffects<z.ZodObject<{
|
|
111
|
+
__kind: z.ZodEnum<["DepositChannel", "Vault"]>;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
__kind: "DepositChannel" | "Vault";
|
|
114
|
+
}, {
|
|
115
|
+
__kind: "DepositChannel" | "Vault";
|
|
116
|
+
}>, "DepositChannel" | "Vault", {
|
|
117
|
+
__kind: "DepositChannel" | "Vault";
|
|
118
|
+
}>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
asset: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
121
|
+
amount: bigint;
|
|
122
|
+
depositDetails: {
|
|
123
|
+
txHashes?: `0x${string}`[] | null | undefined;
|
|
124
|
+
};
|
|
125
|
+
blockHeight: bigint;
|
|
126
|
+
ingressFee: bigint;
|
|
127
|
+
maxBoostFeeBps: number;
|
|
128
|
+
action: {
|
|
129
|
+
__kind: "Swap";
|
|
130
|
+
swapRequestId: bigint;
|
|
131
|
+
} | {
|
|
132
|
+
__kind: "LiquidityProvision";
|
|
133
|
+
lpAccount: `cF${string}`;
|
|
134
|
+
} | {
|
|
135
|
+
__kind: "CcmTransfer";
|
|
136
|
+
swapRequestId: bigint;
|
|
137
|
+
} | {
|
|
138
|
+
__kind: "BoostersCredited";
|
|
139
|
+
prewitnessedDepositId: bigint;
|
|
140
|
+
networkFeeFromBoost: bigint;
|
|
141
|
+
networkFeeSwapRequestId?: bigint | null | undefined;
|
|
142
|
+
} | {
|
|
143
|
+
__kind: "Refund";
|
|
144
|
+
amount: bigint;
|
|
145
|
+
reason: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
146
|
+
egressId?: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint] | null | undefined;
|
|
147
|
+
} | {
|
|
148
|
+
__kind: "Unrefundable";
|
|
149
|
+
};
|
|
150
|
+
originType: "DepositChannel" | "Vault";
|
|
151
|
+
channelId?: bigint | null | undefined;
|
|
152
|
+
depositAddress?: `0x${string}` | null | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
asset: {
|
|
155
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
156
|
+
};
|
|
157
|
+
amount: string | number;
|
|
158
|
+
depositDetails: {
|
|
159
|
+
txHashes?: string[] | null | undefined;
|
|
160
|
+
};
|
|
161
|
+
blockHeight: string | number;
|
|
162
|
+
ingressFee: string | number;
|
|
163
|
+
maxBoostFeeBps: number;
|
|
164
|
+
action: {
|
|
165
|
+
__kind: "Swap";
|
|
166
|
+
swapRequestId: string | number;
|
|
167
|
+
} | {
|
|
168
|
+
__kind: "LiquidityProvision";
|
|
169
|
+
lpAccount: string;
|
|
170
|
+
} | {
|
|
171
|
+
__kind: "CcmTransfer";
|
|
172
|
+
swapRequestId: string | number;
|
|
173
|
+
} | {
|
|
174
|
+
__kind: "BoostersCredited";
|
|
175
|
+
prewitnessedDepositId: string | number;
|
|
176
|
+
networkFeeFromBoost: string | number;
|
|
177
|
+
networkFeeSwapRequestId?: string | number | null | undefined;
|
|
178
|
+
} | {
|
|
179
|
+
__kind: "Refund";
|
|
180
|
+
amount: string | number;
|
|
181
|
+
reason: {
|
|
182
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
183
|
+
};
|
|
184
|
+
egressId?: [{
|
|
185
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
186
|
+
}, string | number] | null | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
__kind: "Unrefundable";
|
|
189
|
+
};
|
|
190
|
+
originType: {
|
|
191
|
+
__kind: "DepositChannel" | "Vault";
|
|
192
|
+
};
|
|
193
|
+
channelId?: string | number | null | undefined;
|
|
194
|
+
depositAddress?: string | null | undefined;
|
|
195
|
+
}>;
|
|
196
|
+
|
|
197
|
+
export { ethereumIngressEgressDepositFinalised };
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
4
|
+
depositAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>;
|
|
5
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Usdt", "Wbtc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
13
|
+
}>;
|
|
14
|
+
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
|
+
blockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
|
+
depositDetails: z.ZodObject<{
|
|
17
|
+
txHashes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">>>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
txHashes?: `0x${string}`[] | null | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
txHashes?: string[] | null | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
|
+
maxBoostFeeBps: z.ZodNumber;
|
|
25
|
+
action: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
26
|
+
__kind: z.ZodLiteral<"Swap">;
|
|
27
|
+
swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
__kind: "Swap";
|
|
30
|
+
swapRequestId: bigint;
|
|
31
|
+
}, {
|
|
32
|
+
__kind: "Swap";
|
|
33
|
+
swapRequestId: string | number;
|
|
34
|
+
}>, z.ZodObject<{
|
|
35
|
+
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
36
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, `cF${string}`, string>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
__kind: "LiquidityProvision";
|
|
39
|
+
lpAccount: `cF${string}`;
|
|
40
|
+
}, {
|
|
41
|
+
__kind: "LiquidityProvision";
|
|
42
|
+
lpAccount: string;
|
|
43
|
+
}>, z.ZodObject<{
|
|
44
|
+
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
45
|
+
swapRequestId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
__kind: "CcmTransfer";
|
|
48
|
+
swapRequestId: bigint;
|
|
49
|
+
}, {
|
|
50
|
+
__kind: "CcmTransfer";
|
|
51
|
+
swapRequestId: string | number;
|
|
52
|
+
}>, z.ZodObject<{
|
|
53
|
+
__kind: z.ZodLiteral<"BoostersCredited">;
|
|
54
|
+
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
55
|
+
networkFeeFromBoost: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
56
|
+
networkFeeSwapRequestId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
__kind: "BoostersCredited";
|
|
59
|
+
prewitnessedDepositId: bigint;
|
|
60
|
+
networkFeeFromBoost: bigint;
|
|
61
|
+
networkFeeSwapRequestId?: bigint | null | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
__kind: "BoostersCredited";
|
|
64
|
+
prewitnessedDepositId: string | number;
|
|
65
|
+
networkFeeFromBoost: string | number;
|
|
66
|
+
networkFeeSwapRequestId?: string | number | null | undefined;
|
|
67
|
+
}>, z.ZodObject<{
|
|
68
|
+
__kind: z.ZodLiteral<"Refund">;
|
|
69
|
+
egressId: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodEffects<z.ZodObject<{
|
|
70
|
+
__kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana", "Assethub"]>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
73
|
+
}, {
|
|
74
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
75
|
+
}>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", {
|
|
76
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
77
|
+
}>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>>>;
|
|
78
|
+
reason: z.ZodEffects<z.ZodObject<{
|
|
79
|
+
__kind: z.ZodEnum<["InvalidBrokerFees", "InvalidRefundParameters", "InvalidDcaParameters", "CcmUnsupportedForTargetChain", "CcmInvalidMetadata", "InvalidDestinationAddress"]>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
82
|
+
}, {
|
|
83
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
84
|
+
}>, "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress", {
|
|
85
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
86
|
+
}>;
|
|
87
|
+
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
__kind: "Refund";
|
|
90
|
+
amount: bigint;
|
|
91
|
+
reason: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
92
|
+
egressId?: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint] | null | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
__kind: "Refund";
|
|
95
|
+
amount: string | number;
|
|
96
|
+
reason: {
|
|
97
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
98
|
+
};
|
|
99
|
+
egressId?: [{
|
|
100
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
101
|
+
}, string | number] | null | undefined;
|
|
102
|
+
}>, z.ZodObject<{
|
|
103
|
+
__kind: z.ZodLiteral<"Unrefundable">;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
__kind: "Unrefundable";
|
|
106
|
+
}, {
|
|
107
|
+
__kind: "Unrefundable";
|
|
108
|
+
}>]>;
|
|
109
|
+
channelId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
110
|
+
originType: z.ZodEffects<z.ZodObject<{
|
|
111
|
+
__kind: z.ZodEnum<["DepositChannel", "Vault"]>;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
__kind: "DepositChannel" | "Vault";
|
|
114
|
+
}, {
|
|
115
|
+
__kind: "DepositChannel" | "Vault";
|
|
116
|
+
}>, "DepositChannel" | "Vault", {
|
|
117
|
+
__kind: "DepositChannel" | "Vault";
|
|
118
|
+
}>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
asset: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
121
|
+
amount: bigint;
|
|
122
|
+
depositDetails: {
|
|
123
|
+
txHashes?: `0x${string}`[] | null | undefined;
|
|
124
|
+
};
|
|
125
|
+
blockHeight: bigint;
|
|
126
|
+
ingressFee: bigint;
|
|
127
|
+
maxBoostFeeBps: number;
|
|
128
|
+
action: {
|
|
129
|
+
__kind: "Swap";
|
|
130
|
+
swapRequestId: bigint;
|
|
131
|
+
} | {
|
|
132
|
+
__kind: "LiquidityProvision";
|
|
133
|
+
lpAccount: `cF${string}`;
|
|
134
|
+
} | {
|
|
135
|
+
__kind: "CcmTransfer";
|
|
136
|
+
swapRequestId: bigint;
|
|
137
|
+
} | {
|
|
138
|
+
__kind: "BoostersCredited";
|
|
139
|
+
prewitnessedDepositId: bigint;
|
|
140
|
+
networkFeeFromBoost: bigint;
|
|
141
|
+
networkFeeSwapRequestId?: bigint | null | undefined;
|
|
142
|
+
} | {
|
|
143
|
+
__kind: "Refund";
|
|
144
|
+
amount: bigint;
|
|
145
|
+
reason: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
146
|
+
egressId?: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub", bigint] | null | undefined;
|
|
147
|
+
} | {
|
|
148
|
+
__kind: "Unrefundable";
|
|
149
|
+
};
|
|
150
|
+
originType: "DepositChannel" | "Vault";
|
|
151
|
+
channelId?: bigint | null | undefined;
|
|
152
|
+
depositAddress?: `0x${string}` | null | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
asset: {
|
|
155
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
156
|
+
};
|
|
157
|
+
amount: string | number;
|
|
158
|
+
depositDetails: {
|
|
159
|
+
txHashes?: string[] | null | undefined;
|
|
160
|
+
};
|
|
161
|
+
blockHeight: string | number;
|
|
162
|
+
ingressFee: string | number;
|
|
163
|
+
maxBoostFeeBps: number;
|
|
164
|
+
action: {
|
|
165
|
+
__kind: "Swap";
|
|
166
|
+
swapRequestId: string | number;
|
|
167
|
+
} | {
|
|
168
|
+
__kind: "LiquidityProvision";
|
|
169
|
+
lpAccount: string;
|
|
170
|
+
} | {
|
|
171
|
+
__kind: "CcmTransfer";
|
|
172
|
+
swapRequestId: string | number;
|
|
173
|
+
} | {
|
|
174
|
+
__kind: "BoostersCredited";
|
|
175
|
+
prewitnessedDepositId: string | number;
|
|
176
|
+
networkFeeFromBoost: string | number;
|
|
177
|
+
networkFeeSwapRequestId?: string | number | null | undefined;
|
|
178
|
+
} | {
|
|
179
|
+
__kind: "Refund";
|
|
180
|
+
amount: string | number;
|
|
181
|
+
reason: {
|
|
182
|
+
__kind: "InvalidBrokerFees" | "InvalidRefundParameters" | "InvalidDcaParameters" | "CcmUnsupportedForTargetChain" | "CcmInvalidMetadata" | "InvalidDestinationAddress";
|
|
183
|
+
};
|
|
184
|
+
egressId?: [{
|
|
185
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana" | "Assethub";
|
|
186
|
+
}, string | number] | null | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
__kind: "Unrefundable";
|
|
189
|
+
};
|
|
190
|
+
originType: {
|
|
191
|
+
__kind: "DepositChannel" | "Vault";
|
|
192
|
+
};
|
|
193
|
+
channelId?: string | number | null | undefined;
|
|
194
|
+
depositAddress?: string | null | undefined;
|
|
195
|
+
}>;
|
|
196
|
+
|
|
197
|
+
export { ethereumIngressEgressDepositFinalised };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// generated/210/ethereumIngressEgress/depositFinalised.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import {
|
|
4
|
+
cfChainsDepositOriginType,
|
|
5
|
+
cfChainsEvmDepositDetails,
|
|
6
|
+
cfPrimitivesChainsAssetsEthAsset,
|
|
7
|
+
hexString,
|
|
8
|
+
numberOrHex,
|
|
9
|
+
palletCfEthereumIngressEgressDepositAction
|
|
10
|
+
} from "../common.mjs";
|
|
11
|
+
var ethereumIngressEgressDepositFinalised = z.object({
|
|
12
|
+
depositAddress: hexString.nullish(),
|
|
13
|
+
asset: cfPrimitivesChainsAssetsEthAsset,
|
|
14
|
+
amount: numberOrHex,
|
|
15
|
+
blockHeight: numberOrHex,
|
|
16
|
+
depositDetails: cfChainsEvmDepositDetails,
|
|
17
|
+
ingressFee: numberOrHex,
|
|
18
|
+
maxBoostFeeBps: z.number(),
|
|
19
|
+
action: palletCfEthereumIngressEgressDepositAction,
|
|
20
|
+
channelId: numberOrHex.nullish(),
|
|
21
|
+
originType: cfChainsDepositOriginType
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
ethereumIngressEgressDepositFinalised
|
|
25
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/210/ethereumIngressEgress/insufficientBoostLiquidity.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _commoncjs = require('../common.cjs');
|
|
8
|
+
var ethereumIngressEgressInsufficientBoostLiquidity = _zod.z.object({
|
|
9
|
+
prewitnessedDepositId: _commoncjs.numberOrHex,
|
|
10
|
+
asset: _commoncjs.cfPrimitivesChainsAssetsEthAsset,
|
|
11
|
+
amountAttempted: _commoncjs.numberOrHex,
|
|
12
|
+
channelId: _commoncjs.numberOrHex.nullish(),
|
|
13
|
+
originType: _commoncjs.cfChainsDepositOriginType
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.ethereumIngressEgressInsufficientBoostLiquidity = ethereumIngressEgressInsufficientBoostLiquidity;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const ethereumIngressEgressInsufficientBoostLiquidity: z.ZodObject<{
|
|
4
|
+
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
5
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Usdt", "Wbtc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
13
|
+
}>;
|
|
14
|
+
amountAttempted: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
|
+
channelId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
16
|
+
originType: z.ZodEffects<z.ZodObject<{
|
|
17
|
+
__kind: z.ZodEnum<["DepositChannel", "Vault"]>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
__kind: "DepositChannel" | "Vault";
|
|
20
|
+
}, {
|
|
21
|
+
__kind: "DepositChannel" | "Vault";
|
|
22
|
+
}>, "DepositChannel" | "Vault", {
|
|
23
|
+
__kind: "DepositChannel" | "Vault";
|
|
24
|
+
}>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
asset: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
27
|
+
prewitnessedDepositId: bigint;
|
|
28
|
+
originType: "DepositChannel" | "Vault";
|
|
29
|
+
amountAttempted: bigint;
|
|
30
|
+
channelId?: bigint | null | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
asset: {
|
|
33
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
34
|
+
};
|
|
35
|
+
prewitnessedDepositId: string | number;
|
|
36
|
+
originType: {
|
|
37
|
+
__kind: "DepositChannel" | "Vault";
|
|
38
|
+
};
|
|
39
|
+
amountAttempted: string | number;
|
|
40
|
+
channelId?: string | number | null | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
|
|
43
|
+
export { ethereumIngressEgressInsufficientBoostLiquidity };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const ethereumIngressEgressInsufficientBoostLiquidity: z.ZodObject<{
|
|
4
|
+
prewitnessedDepositId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
5
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Usdt", "Wbtc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
13
|
+
}>;
|
|
14
|
+
amountAttempted: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
|
+
channelId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
16
|
+
originType: z.ZodEffects<z.ZodObject<{
|
|
17
|
+
__kind: z.ZodEnum<["DepositChannel", "Vault"]>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
__kind: "DepositChannel" | "Vault";
|
|
20
|
+
}, {
|
|
21
|
+
__kind: "DepositChannel" | "Vault";
|
|
22
|
+
}>, "DepositChannel" | "Vault", {
|
|
23
|
+
__kind: "DepositChannel" | "Vault";
|
|
24
|
+
}>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
asset: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
27
|
+
prewitnessedDepositId: bigint;
|
|
28
|
+
originType: "DepositChannel" | "Vault";
|
|
29
|
+
amountAttempted: bigint;
|
|
30
|
+
channelId?: bigint | null | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
asset: {
|
|
33
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Usdt" | "Wbtc";
|
|
34
|
+
};
|
|
35
|
+
prewitnessedDepositId: string | number;
|
|
36
|
+
originType: {
|
|
37
|
+
__kind: "DepositChannel" | "Vault";
|
|
38
|
+
};
|
|
39
|
+
amountAttempted: string | number;
|
|
40
|
+
channelId?: string | number | null | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
|
|
43
|
+
export { ethereumIngressEgressInsufficientBoostLiquidity };
|