@chainflip/processor 1.4.8 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +28 -28
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +28 -28
- package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
- package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
- package/dist/100/funding/funded.d.cts +2 -2
- package/dist/100/funding/funded.d.ts +2 -2
- package/dist/100/funding/redemptionRequested.d.cts +2 -2
- package/dist/100/funding/redemptionRequested.d.ts +2 -2
- package/dist/100/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/100/liquidityProvider/accountCredited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountCredited.d.ts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.ts +6 -6
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +8 -8
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +8 -8
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +6 -6
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +6 -6
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
- package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
- package/dist/100/swapping/ccmDepositReceived.d.cts +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/swapAmountTooLow.d.cts +30 -30
- package/dist/100/swapping/swapAmountTooLow.d.ts +30 -30
- package/dist/100/swapping/swapDepositAddressReady.d.cts +24 -24
- package/dist/100/swapping/swapDepositAddressReady.d.ts +24 -24
- package/dist/100/swapping/swapEgressScheduled.d.cts +4 -4
- package/dist/100/swapping/swapEgressScheduled.d.ts +4 -4
- package/dist/100/swapping/swapScheduled.d.cts +100 -100
- package/dist/100/swapping/swapScheduled.d.ts +100 -100
- package/dist/100/swapping/withdrawalRequested.d.cts +16 -16
- package/dist/100/swapping/withdrawalRequested.d.ts +16 -16
- package/dist/111/bitcoinIngressEgress/transferFallbackRequested.d.cts +22 -22
- package/dist/111/bitcoinIngressEgress/transferFallbackRequested.d.ts +22 -22
- 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/120/swapping/ccmFailed.d.cts +4 -4
- package/dist/120/swapping/ccmFailed.d.ts +4 -4
- package/dist/120/swapping/swapEgressIgnored.d.cts +6 -6
- package/dist/120/swapping/swapEgressIgnored.d.ts +6 -6
- package/dist/120/swapping/swapEgressScheduled.d.cts +10 -10
- package/dist/120/swapping/swapEgressScheduled.d.ts +10 -10
- package/dist/120/swapping/swapExecuted.d.cts +14 -14
- package/dist/120/swapping/swapExecuted.d.ts +14 -14
- package/dist/120/swapping/withdrawalRequested.d.cts +6 -6
- package/dist/120/swapping/withdrawalRequested.d.ts +6 -6
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +24 -24
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +24 -24
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +24 -24
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +24 -24
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/bitcoinIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/bitcoinIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/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/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/arbitrumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/150/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/150/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/150/ethereumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/ethereumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.ts +16 -16
- 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/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/150/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/150/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/150/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/150/liquidityProvider/assetTransferred.d.cts +3 -3
- package/dist/150/liquidityProvider/assetTransferred.d.ts +3 -3
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/150/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/150/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/160/common.cjs +121 -8
- package/dist/160/common.d.cts +1182 -41
- package/dist/160/common.d.ts +1182 -41
- package/dist/160/common.mjs +120 -7
- package/dist/160/environment/durableNonceSetForAccount.cjs +10 -0
- package/dist/160/environment/durableNonceSetForAccount.d.cts +14 -0
- package/dist/160/environment/durableNonceSetForAccount.d.ts +14 -0
- package/dist/160/environment/durableNonceSetForAccount.mjs +10 -0
- package/dist/160/environment/solanaInitialized.cjs +6 -0
- package/dist/160/environment/solanaInitialized.d.cts +5 -0
- package/dist/160/environment/solanaInitialized.d.ts +5 -0
- package/dist/160/environment/solanaInitialized.mjs +6 -0
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/liquidityPools/assetSwapped.cjs +12 -0
- package/dist/160/liquidityPools/assetSwapped.d.cts +40 -0
- package/dist/160/liquidityPools/assetSwapped.d.ts +40 -0
- package/dist/160/liquidityPools/assetSwapped.mjs +12 -0
- package/dist/160/liquidityPools/limitOrderUpdated.cjs +24 -0
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +98 -0
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +98 -0
- package/dist/160/liquidityPools/limitOrderUpdated.mjs +24 -0
- package/dist/160/liquidityPools/newPoolCreated.cjs +12 -0
- package/dist/160/liquidityPools/newPoolCreated.d.cts +40 -0
- package/dist/160/liquidityPools/newPoolCreated.d.ts +40 -0
- package/dist/160/liquidityPools/newPoolCreated.mjs +12 -0
- package/dist/160/liquidityPools/poolFeeSet.cjs +11 -0
- package/dist/160/liquidityPools/poolFeeSet.d.cts +37 -0
- package/dist/160/liquidityPools/poolFeeSet.d.ts +37 -0
- package/dist/160/liquidityPools/poolFeeSet.mjs +11 -0
- package/dist/160/liquidityPools/priceImpactLimitSet.cjs +10 -0
- package/dist/160/liquidityPools/priceImpactLimitSet.d.cts +45 -0
- package/dist/160/liquidityPools/priceImpactLimitSet.d.ts +45 -0
- package/dist/160/liquidityPools/priceImpactLimitSet.mjs +10 -0
- package/dist/160/liquidityPools/rangeOrderUpdated.cjs +22 -0
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +208 -0
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +208 -0
- package/dist/160/liquidityPools/rangeOrderUpdated.mjs +22 -0
- package/dist/160/liquidityProvider/accountCredited.cjs +11 -0
- package/dist/160/liquidityProvider/accountCredited.d.cts +27 -0
- package/dist/160/liquidityProvider/accountCredited.d.ts +27 -0
- package/dist/160/liquidityProvider/accountCredited.mjs +11 -0
- package/dist/160/liquidityProvider/accountDebited.cjs +11 -0
- package/dist/160/liquidityProvider/accountDebited.d.cts +27 -0
- package/dist/160/liquidityProvider/accountDebited.d.ts +27 -0
- package/dist/160/liquidityProvider/accountDebited.mjs +11 -0
- package/dist/160/liquidityProvider/assetTransferred.cjs +12 -0
- package/dist/160/liquidityProvider/assetTransferred.d.cts +30 -0
- package/dist/160/liquidityProvider/assetTransferred.d.ts +30 -0
- package/dist/160/liquidityProvider/assetTransferred.mjs +12 -0
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.cjs +20 -0
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +114 -0
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +114 -0
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.mjs +20 -0
- package/dist/160/liquidityProvider/liquidityDepositCredited.cjs +11 -0
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +27 -0
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +27 -0
- package/dist/160/liquidityProvider/liquidityDepositCredited.mjs +11 -0
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.cjs +18 -0
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +118 -0
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +118 -0
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.mjs +18 -0
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/160/solanaBroadcaster/broadcastSuccess.cjs +11 -0
- package/dist/160/solanaBroadcaster/broadcastSuccess.d.cts +17 -0
- package/dist/160/solanaBroadcaster/broadcastSuccess.d.ts +17 -0
- package/dist/160/solanaBroadcaster/broadcastSuccess.mjs +11 -0
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.cjs +12 -0
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.d.cts +142 -0
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.d.ts +142 -0
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.mjs +12 -0
- package/dist/160/solanaBroadcaster/transactionFeeDeficitRecorded.cjs +10 -0
- package/dist/160/solanaBroadcaster/transactionFeeDeficitRecorded.d.cts +14 -0
- package/dist/160/solanaBroadcaster/transactionFeeDeficitRecorded.d.ts +14 -0
- package/dist/160/solanaBroadcaster/transactionFeeDeficitRecorded.mjs +10 -0
- package/dist/160/solanaChainTracking/chainStateUpdated.cjs +9 -0
- package/dist/160/solanaChainTracking/chainStateUpdated.d.cts +40 -0
- package/dist/160/solanaChainTracking/chainStateUpdated.d.ts +40 -0
- package/dist/160/solanaChainTracking/chainStateUpdated.mjs +9 -0
- package/dist/160/solanaIngressEgress/assetEgressStatusChanged.cjs +10 -0
- package/dist/160/solanaIngressEgress/assetEgressStatusChanged.d.cts +24 -0
- package/dist/160/solanaIngressEgress/assetEgressStatusChanged.d.ts +24 -0
- package/dist/160/solanaIngressEgress/assetEgressStatusChanged.mjs +10 -0
- package/dist/160/solanaIngressEgress/boostFundsAdded.cjs +11 -0
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +44 -0
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +44 -0
- package/dist/160/solanaIngressEgress/boostFundsAdded.mjs +11 -0
- package/dist/160/solanaIngressEgress/boostPoolCreated.cjs +9 -0
- package/dist/160/solanaIngressEgress/boostPoolCreated.d.cts +38 -0
- package/dist/160/solanaIngressEgress/boostPoolCreated.d.ts +38 -0
- package/dist/160/solanaIngressEgress/boostPoolCreated.mjs +9 -0
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.cjs +14 -0
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +532 -0
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +532 -0
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.mjs +14 -0
- package/dist/160/solanaIngressEgress/depositBoosted.d.cts +16 -16
- package/dist/160/solanaIngressEgress/depositBoosted.d.ts +16 -16
- package/dist/160/solanaIngressEgress/depositFetchesScheduled.cjs +10 -0
- package/dist/160/solanaIngressEgress/depositFetchesScheduled.d.cts +24 -0
- package/dist/160/solanaIngressEgress/depositFetchesScheduled.d.ts +24 -0
- package/dist/160/solanaIngressEgress/depositFetchesScheduled.mjs +10 -0
- package/dist/160/solanaIngressEgress/depositFinalised.d.cts +11 -11
- package/dist/160/solanaIngressEgress/depositFinalised.d.ts +11 -11
- package/dist/160/solanaIngressEgress/depositIgnored.cjs +17 -0
- package/dist/160/solanaIngressEgress/depositIgnored.d.cts +40 -0
- package/dist/160/solanaIngressEgress/depositIgnored.d.ts +40 -0
- package/dist/160/solanaIngressEgress/depositIgnored.mjs +17 -0
- package/dist/160/solanaIngressEgress/depositWitnessRejected.cjs +10 -0
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +263 -0
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +263 -0
- package/dist/160/solanaIngressEgress/depositWitnessRejected.mjs +10 -0
- package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.cjs +12 -0
- package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.d.cts +30 -0
- package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.d.ts +30 -0
- package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.mjs +12 -0
- package/dist/160/solanaIngressEgress/minimumDepositSet.cjs +10 -0
- package/dist/160/solanaIngressEgress/minimumDepositSet.d.cts +24 -0
- package/dist/160/solanaIngressEgress/minimumDepositSet.d.ts +24 -0
- package/dist/160/solanaIngressEgress/minimumDepositSet.mjs +10 -0
- package/dist/160/solanaIngressEgress/stoppedBoosting.cjs +12 -0
- package/dist/160/solanaIngressEgress/stoppedBoosting.d.cts +47 -0
- package/dist/160/solanaIngressEgress/stoppedBoosting.d.ts +47 -0
- package/dist/160/solanaIngressEgress/stoppedBoosting.mjs +12 -0
- package/dist/160/solanaIngressEgress/transferFallbackRequested.cjs +12 -0
- package/dist/160/solanaIngressEgress/transferFallbackRequested.d.cts +30 -0
- package/dist/160/solanaIngressEgress/transferFallbackRequested.d.ts +30 -0
- package/dist/160/solanaIngressEgress/transferFallbackRequested.mjs +12 -0
- package/dist/160/solanaThresholdSigner/thresholdSignatureRequest.cjs +14 -0
- package/dist/160/solanaThresholdSigner/thresholdSignatureRequest.d.cts +107 -0
- package/dist/160/solanaThresholdSigner/thresholdSignatureRequest.d.ts +107 -0
- package/dist/160/solanaThresholdSigner/thresholdSignatureRequest.mjs +14 -0
- package/dist/160/swapping/batchSwapFailed.cjs +11 -0
- package/dist/160/swapping/batchSwapFailed.d.cts +37 -0
- package/dist/160/swapping/batchSwapFailed.d.ts +37 -0
- package/dist/160/swapping/batchSwapFailed.mjs +11 -0
- package/dist/160/swapping/ccmFailed.d.cts +120 -120
- package/dist/160/swapping/ccmFailed.d.ts +120 -120
- package/dist/160/swapping/maximumSwapAmountSet.cjs +10 -0
- package/dist/160/swapping/maximumSwapAmountSet.d.cts +24 -0
- package/dist/160/swapping/maximumSwapAmountSet.d.ts +24 -0
- package/dist/160/swapping/maximumSwapAmountSet.mjs +10 -0
- package/dist/160/swapping/refundEgressIgnored.d.cts +25 -25
- package/dist/160/swapping/refundEgressIgnored.d.ts +25 -25
- package/dist/160/swapping/refundEgressScheduled.d.cts +9 -9
- package/dist/160/swapping/refundEgressScheduled.d.ts +9 -9
- package/dist/160/swapping/swapAmountConfiscated.d.cts +8 -8
- package/dist/160/swapping/swapAmountConfiscated.d.ts +8 -8
- package/dist/160/swapping/swapDepositAddressReady.cjs +27 -0
- package/dist/160/swapping/swapDepositAddressReady.d.cts +545 -0
- package/dist/160/swapping/swapDepositAddressReady.d.ts +545 -0
- package/dist/160/swapping/swapDepositAddressReady.mjs +27 -0
- package/dist/160/swapping/swapEgressIgnored.d.cts +25 -25
- package/dist/160/swapping/swapEgressIgnored.d.ts +25 -25
- package/dist/160/swapping/swapEgressScheduled.d.cts +9 -9
- package/dist/160/swapping/swapEgressScheduled.d.ts +9 -9
- package/dist/160/swapping/swapExecuted.d.cts +14 -14
- package/dist/160/swapping/swapExecuted.d.ts +14 -14
- package/dist/160/swapping/swapRequested.d.cts +194 -194
- package/dist/160/swapping/swapRequested.d.ts +194 -194
- package/dist/160/swapping/withdrawalRequested.cjs +18 -0
- package/dist/160/swapping/withdrawalRequested.d.cts +118 -0
- package/dist/160/swapping/withdrawalRequested.d.ts +118 -0
- package/dist/160/swapping/withdrawalRequested.mjs +18 -0
- package/package.json +1 -1
|
@@ -68,11 +68,11 @@ declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
depositAddress: `0x${string}`;
|
|
70
70
|
asset: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
71
|
+
amount: bigint;
|
|
72
|
+
blockHeight: bigint;
|
|
71
73
|
depositDetails: {
|
|
72
74
|
txHashes?: `0x${string}`[] | null | undefined;
|
|
73
75
|
};
|
|
74
|
-
channelId: bigint;
|
|
75
|
-
blockHeight: bigint;
|
|
76
76
|
ingressFee: bigint;
|
|
77
77
|
action: {
|
|
78
78
|
__kind: "Swap";
|
|
@@ -89,17 +89,17 @@ declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
89
89
|
__kind: "BoostersCredited";
|
|
90
90
|
prewitnessedDepositId: bigint;
|
|
91
91
|
};
|
|
92
|
-
|
|
92
|
+
channelId: bigint;
|
|
93
93
|
}, {
|
|
94
94
|
depositAddress: string;
|
|
95
95
|
asset: {
|
|
96
96
|
__kind: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
97
97
|
};
|
|
98
|
+
amount: string | number;
|
|
99
|
+
blockHeight: string | number;
|
|
98
100
|
depositDetails: {
|
|
99
101
|
txHashes?: string[] | null | undefined;
|
|
100
102
|
};
|
|
101
|
-
channelId: string | number;
|
|
102
|
-
blockHeight: string | number;
|
|
103
103
|
ingressFee: string | number;
|
|
104
104
|
action: {
|
|
105
105
|
__kind: "Swap";
|
|
@@ -116,7 +116,7 @@ declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
116
116
|
__kind: "BoostersCredited";
|
|
117
117
|
prewitnessedDepositId: string | number;
|
|
118
118
|
};
|
|
119
|
-
|
|
119
|
+
channelId: string | number;
|
|
120
120
|
}>;
|
|
121
121
|
|
|
122
122
|
export { ethereumIngressEgressDepositFinalised };
|
|
@@ -68,11 +68,11 @@ declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
depositAddress: `0x${string}`;
|
|
70
70
|
asset: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
71
|
+
amount: bigint;
|
|
72
|
+
blockHeight: bigint;
|
|
71
73
|
depositDetails: {
|
|
72
74
|
txHashes?: `0x${string}`[] | null | undefined;
|
|
73
75
|
};
|
|
74
|
-
channelId: bigint;
|
|
75
|
-
blockHeight: bigint;
|
|
76
76
|
ingressFee: bigint;
|
|
77
77
|
action: {
|
|
78
78
|
__kind: "Swap";
|
|
@@ -89,17 +89,17 @@ declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
89
89
|
__kind: "BoostersCredited";
|
|
90
90
|
prewitnessedDepositId: bigint;
|
|
91
91
|
};
|
|
92
|
-
|
|
92
|
+
channelId: bigint;
|
|
93
93
|
}, {
|
|
94
94
|
depositAddress: string;
|
|
95
95
|
asset: {
|
|
96
96
|
__kind: "Eth" | "Flip" | "Usdc" | "Usdt";
|
|
97
97
|
};
|
|
98
|
+
amount: string | number;
|
|
99
|
+
blockHeight: string | number;
|
|
98
100
|
depositDetails: {
|
|
99
101
|
txHashes?: string[] | null | undefined;
|
|
100
102
|
};
|
|
101
|
-
channelId: string | number;
|
|
102
|
-
blockHeight: string | number;
|
|
103
103
|
ingressFee: string | number;
|
|
104
104
|
action: {
|
|
105
105
|
__kind: "Swap";
|
|
@@ -116,7 +116,7 @@ declare const ethereumIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
116
116
|
__kind: "BoostersCredited";
|
|
117
117
|
prewitnessedDepositId: string | number;
|
|
118
118
|
};
|
|
119
|
-
|
|
119
|
+
channelId: string | number;
|
|
120
120
|
}>;
|
|
121
121
|
|
|
122
122
|
export { ethereumIngressEgressDepositFinalised };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/160/liquidityPools/assetSwapped.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
var _commoncjs = require('../common.cjs');
|
|
4
|
+
var liquidityPoolsAssetSwapped = _zod.z.object({
|
|
5
|
+
from: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
6
|
+
to: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
7
|
+
inputAmount: _commoncjs.numberOrHex,
|
|
8
|
+
outputAmount: _commoncjs.numberOrHex
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.liquidityPoolsAssetSwapped = liquidityPoolsAssetSwapped;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const liquidityPoolsAssetSwapped: z.ZodObject<{
|
|
4
|
+
from: z.ZodEffects<z.ZodObject<{
|
|
5
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
8
|
+
}, {
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
10
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
12
|
+
}>;
|
|
13
|
+
to: z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
17
|
+
}, {
|
|
18
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
19
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
20
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
21
|
+
}>;
|
|
22
|
+
inputAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
|
+
outputAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
from: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
26
|
+
to: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
27
|
+
inputAmount: bigint;
|
|
28
|
+
outputAmount: bigint;
|
|
29
|
+
}, {
|
|
30
|
+
from: {
|
|
31
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
32
|
+
};
|
|
33
|
+
to: {
|
|
34
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
35
|
+
};
|
|
36
|
+
inputAmount: string | number;
|
|
37
|
+
outputAmount: string | number;
|
|
38
|
+
}>;
|
|
39
|
+
|
|
40
|
+
export { liquidityPoolsAssetSwapped };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const liquidityPoolsAssetSwapped: z.ZodObject<{
|
|
4
|
+
from: z.ZodEffects<z.ZodObject<{
|
|
5
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
8
|
+
}, {
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
10
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
12
|
+
}>;
|
|
13
|
+
to: z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
17
|
+
}, {
|
|
18
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
19
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
20
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
21
|
+
}>;
|
|
22
|
+
inputAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
|
+
outputAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
from: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
26
|
+
to: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
27
|
+
inputAmount: bigint;
|
|
28
|
+
outputAmount: bigint;
|
|
29
|
+
}, {
|
|
30
|
+
from: {
|
|
31
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
32
|
+
};
|
|
33
|
+
to: {
|
|
34
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
35
|
+
};
|
|
36
|
+
inputAmount: string | number;
|
|
37
|
+
outputAmount: string | number;
|
|
38
|
+
}>;
|
|
39
|
+
|
|
40
|
+
export { liquidityPoolsAssetSwapped };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// generated/160/liquidityPools/assetSwapped.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { cfPrimitivesChainsAssetsAnyAsset, numberOrHex } from "../common.mjs";
|
|
4
|
+
var liquidityPoolsAssetSwapped = z.object({
|
|
5
|
+
from: cfPrimitivesChainsAssetsAnyAsset,
|
|
6
|
+
to: cfPrimitivesChainsAssetsAnyAsset,
|
|
7
|
+
inputAmount: numberOrHex,
|
|
8
|
+
outputAmount: numberOrHex
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
liquidityPoolsAssetSwapped
|
|
12
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/160/liquidityPools/limitOrderUpdated.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _commoncjs = require('../common.cjs');
|
|
10
|
+
var liquidityPoolsLimitOrderUpdated = _zod.z.object({
|
|
11
|
+
lp: _commoncjs.accountId,
|
|
12
|
+
baseAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
13
|
+
quoteAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
14
|
+
side: _commoncjs.cfAmmCommonSide,
|
|
15
|
+
id: _commoncjs.numberOrHex,
|
|
16
|
+
tick: _zod.z.number(),
|
|
17
|
+
sellAmountChange: _commoncjs.palletCfPoolsIncreaseOrDecreaseU128.nullish(),
|
|
18
|
+
sellAmountTotal: _commoncjs.numberOrHex,
|
|
19
|
+
collectedFees: _commoncjs.numberOrHex,
|
|
20
|
+
boughtAmount: _commoncjs.numberOrHex
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
exports.liquidityPoolsLimitOrderUpdated = liquidityPoolsLimitOrderUpdated;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
4
|
+
lp: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
5
|
+
baseAsset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
13
|
+
}>;
|
|
14
|
+
quoteAsset: z.ZodEffects<z.ZodObject<{
|
|
15
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
18
|
+
}, {
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
20
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
21
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
22
|
+
}>;
|
|
23
|
+
side: z.ZodEffects<z.ZodObject<{
|
|
24
|
+
__kind: z.ZodEnum<["Buy", "Sell"]>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
__kind: "Buy" | "Sell";
|
|
27
|
+
}, {
|
|
28
|
+
__kind: "Buy" | "Sell";
|
|
29
|
+
}>, "Buy" | "Sell", {
|
|
30
|
+
__kind: "Buy" | "Sell";
|
|
31
|
+
}>;
|
|
32
|
+
id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
33
|
+
tick: z.ZodNumber;
|
|
34
|
+
sellAmountChange: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
35
|
+
__kind: z.ZodLiteral<"Increase">;
|
|
36
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
__kind: "Increase";
|
|
39
|
+
value: bigint;
|
|
40
|
+
}, {
|
|
41
|
+
__kind: "Increase";
|
|
42
|
+
value: string | number;
|
|
43
|
+
}>, z.ZodObject<{
|
|
44
|
+
__kind: z.ZodLiteral<"Decrease">;
|
|
45
|
+
value: 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: "Decrease";
|
|
48
|
+
value: bigint;
|
|
49
|
+
}, {
|
|
50
|
+
__kind: "Decrease";
|
|
51
|
+
value: string | number;
|
|
52
|
+
}>]>>>;
|
|
53
|
+
sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
54
|
+
collectedFees: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
55
|
+
boughtAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
58
|
+
quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
59
|
+
lp: string;
|
|
60
|
+
side: "Buy" | "Sell";
|
|
61
|
+
id: bigint;
|
|
62
|
+
tick: number;
|
|
63
|
+
sellAmountTotal: bigint;
|
|
64
|
+
collectedFees: bigint;
|
|
65
|
+
boughtAmount: bigint;
|
|
66
|
+
sellAmountChange?: {
|
|
67
|
+
__kind: "Increase";
|
|
68
|
+
value: bigint;
|
|
69
|
+
} | {
|
|
70
|
+
__kind: "Decrease";
|
|
71
|
+
value: bigint;
|
|
72
|
+
} | null | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
baseAsset: {
|
|
75
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
76
|
+
};
|
|
77
|
+
quoteAsset: {
|
|
78
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
79
|
+
};
|
|
80
|
+
lp: string;
|
|
81
|
+
side: {
|
|
82
|
+
__kind: "Buy" | "Sell";
|
|
83
|
+
};
|
|
84
|
+
id: string | number;
|
|
85
|
+
tick: number;
|
|
86
|
+
sellAmountTotal: string | number;
|
|
87
|
+
collectedFees: string | number;
|
|
88
|
+
boughtAmount: string | number;
|
|
89
|
+
sellAmountChange?: {
|
|
90
|
+
__kind: "Increase";
|
|
91
|
+
value: string | number;
|
|
92
|
+
} | {
|
|
93
|
+
__kind: "Decrease";
|
|
94
|
+
value: string | number;
|
|
95
|
+
} | null | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
|
|
98
|
+
export { liquidityPoolsLimitOrderUpdated };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
4
|
+
lp: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
5
|
+
baseAsset: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
9
|
+
}, {
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
13
|
+
}>;
|
|
14
|
+
quoteAsset: z.ZodEffects<z.ZodObject<{
|
|
15
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
18
|
+
}, {
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
20
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
21
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
22
|
+
}>;
|
|
23
|
+
side: z.ZodEffects<z.ZodObject<{
|
|
24
|
+
__kind: z.ZodEnum<["Buy", "Sell"]>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
__kind: "Buy" | "Sell";
|
|
27
|
+
}, {
|
|
28
|
+
__kind: "Buy" | "Sell";
|
|
29
|
+
}>, "Buy" | "Sell", {
|
|
30
|
+
__kind: "Buy" | "Sell";
|
|
31
|
+
}>;
|
|
32
|
+
id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
33
|
+
tick: z.ZodNumber;
|
|
34
|
+
sellAmountChange: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
35
|
+
__kind: z.ZodLiteral<"Increase">;
|
|
36
|
+
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
__kind: "Increase";
|
|
39
|
+
value: bigint;
|
|
40
|
+
}, {
|
|
41
|
+
__kind: "Increase";
|
|
42
|
+
value: string | number;
|
|
43
|
+
}>, z.ZodObject<{
|
|
44
|
+
__kind: z.ZodLiteral<"Decrease">;
|
|
45
|
+
value: 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: "Decrease";
|
|
48
|
+
value: bigint;
|
|
49
|
+
}, {
|
|
50
|
+
__kind: "Decrease";
|
|
51
|
+
value: string | number;
|
|
52
|
+
}>]>>>;
|
|
53
|
+
sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
54
|
+
collectedFees: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
55
|
+
boughtAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
58
|
+
quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
59
|
+
lp: string;
|
|
60
|
+
side: "Buy" | "Sell";
|
|
61
|
+
id: bigint;
|
|
62
|
+
tick: number;
|
|
63
|
+
sellAmountTotal: bigint;
|
|
64
|
+
collectedFees: bigint;
|
|
65
|
+
boughtAmount: bigint;
|
|
66
|
+
sellAmountChange?: {
|
|
67
|
+
__kind: "Increase";
|
|
68
|
+
value: bigint;
|
|
69
|
+
} | {
|
|
70
|
+
__kind: "Decrease";
|
|
71
|
+
value: bigint;
|
|
72
|
+
} | null | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
baseAsset: {
|
|
75
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
76
|
+
};
|
|
77
|
+
quoteAsset: {
|
|
78
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
79
|
+
};
|
|
80
|
+
lp: string;
|
|
81
|
+
side: {
|
|
82
|
+
__kind: "Buy" | "Sell";
|
|
83
|
+
};
|
|
84
|
+
id: string | number;
|
|
85
|
+
tick: number;
|
|
86
|
+
sellAmountTotal: string | number;
|
|
87
|
+
collectedFees: string | number;
|
|
88
|
+
boughtAmount: string | number;
|
|
89
|
+
sellAmountChange?: {
|
|
90
|
+
__kind: "Increase";
|
|
91
|
+
value: string | number;
|
|
92
|
+
} | {
|
|
93
|
+
__kind: "Decrease";
|
|
94
|
+
value: string | number;
|
|
95
|
+
} | null | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
|
|
98
|
+
export { liquidityPoolsLimitOrderUpdated };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// generated/160/liquidityPools/limitOrderUpdated.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import {
|
|
4
|
+
accountId,
|
|
5
|
+
cfAmmCommonSide,
|
|
6
|
+
cfPrimitivesChainsAssetsAnyAsset,
|
|
7
|
+
numberOrHex,
|
|
8
|
+
palletCfPoolsIncreaseOrDecreaseU128
|
|
9
|
+
} from "../common.mjs";
|
|
10
|
+
var liquidityPoolsLimitOrderUpdated = z.object({
|
|
11
|
+
lp: accountId,
|
|
12
|
+
baseAsset: cfPrimitivesChainsAssetsAnyAsset,
|
|
13
|
+
quoteAsset: cfPrimitivesChainsAssetsAnyAsset,
|
|
14
|
+
side: cfAmmCommonSide,
|
|
15
|
+
id: numberOrHex,
|
|
16
|
+
tick: z.number(),
|
|
17
|
+
sellAmountChange: palletCfPoolsIncreaseOrDecreaseU128.nullish(),
|
|
18
|
+
sellAmountTotal: numberOrHex,
|
|
19
|
+
collectedFees: numberOrHex,
|
|
20
|
+
boughtAmount: numberOrHex
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
liquidityPoolsLimitOrderUpdated
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/160/liquidityPools/newPoolCreated.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
var _commoncjs = require('../common.cjs');
|
|
4
|
+
var liquidityPoolsNewPoolCreated = _zod.z.object({
|
|
5
|
+
baseAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
6
|
+
quoteAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
7
|
+
feeHundredthPips: _zod.z.number(),
|
|
8
|
+
initialPrice: _commoncjs.numberOrHex
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.liquidityPoolsNewPoolCreated = liquidityPoolsNewPoolCreated;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const liquidityPoolsNewPoolCreated: z.ZodObject<{
|
|
4
|
+
baseAsset: z.ZodEffects<z.ZodObject<{
|
|
5
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
8
|
+
}, {
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
10
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
12
|
+
}>;
|
|
13
|
+
quoteAsset: z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
17
|
+
}, {
|
|
18
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
19
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
20
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
21
|
+
}>;
|
|
22
|
+
feeHundredthPips: z.ZodNumber;
|
|
23
|
+
initialPrice: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
26
|
+
quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
27
|
+
feeHundredthPips: number;
|
|
28
|
+
initialPrice: bigint;
|
|
29
|
+
}, {
|
|
30
|
+
baseAsset: {
|
|
31
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
32
|
+
};
|
|
33
|
+
quoteAsset: {
|
|
34
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
35
|
+
};
|
|
36
|
+
feeHundredthPips: number;
|
|
37
|
+
initialPrice: string | number;
|
|
38
|
+
}>;
|
|
39
|
+
|
|
40
|
+
export { liquidityPoolsNewPoolCreated };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const liquidityPoolsNewPoolCreated: z.ZodObject<{
|
|
4
|
+
baseAsset: z.ZodEffects<z.ZodObject<{
|
|
5
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
8
|
+
}, {
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
10
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
12
|
+
}>;
|
|
13
|
+
quoteAsset: z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
17
|
+
}, {
|
|
18
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
19
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
20
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
21
|
+
}>;
|
|
22
|
+
feeHundredthPips: z.ZodNumber;
|
|
23
|
+
initialPrice: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
26
|
+
quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
27
|
+
feeHundredthPips: number;
|
|
28
|
+
initialPrice: bigint;
|
|
29
|
+
}, {
|
|
30
|
+
baseAsset: {
|
|
31
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
32
|
+
};
|
|
33
|
+
quoteAsset: {
|
|
34
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
35
|
+
};
|
|
36
|
+
feeHundredthPips: number;
|
|
37
|
+
initialPrice: string | number;
|
|
38
|
+
}>;
|
|
39
|
+
|
|
40
|
+
export { liquidityPoolsNewPoolCreated };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// generated/160/liquidityPools/newPoolCreated.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { cfPrimitivesChainsAssetsAnyAsset, numberOrHex } from "../common.mjs";
|
|
4
|
+
var liquidityPoolsNewPoolCreated = z.object({
|
|
5
|
+
baseAsset: cfPrimitivesChainsAssetsAnyAsset,
|
|
6
|
+
quoteAsset: cfPrimitivesChainsAssetsAnyAsset,
|
|
7
|
+
feeHundredthPips: z.number(),
|
|
8
|
+
initialPrice: numberOrHex
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
liquidityPoolsNewPoolCreated
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/160/liquidityPools/poolFeeSet.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
var _commoncjs = require('../common.cjs');
|
|
4
|
+
var liquidityPoolsPoolFeeSet = _zod.z.object({
|
|
5
|
+
baseAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
6
|
+
quoteAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
7
|
+
feeHundredthPips: _zod.z.number()
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.liquidityPoolsPoolFeeSet = liquidityPoolsPoolFeeSet;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const liquidityPoolsPoolFeeSet: z.ZodObject<{
|
|
4
|
+
baseAsset: z.ZodEffects<z.ZodObject<{
|
|
5
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
8
|
+
}, {
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
10
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
12
|
+
}>;
|
|
13
|
+
quoteAsset: z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
17
|
+
}, {
|
|
18
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
19
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
|
|
20
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
21
|
+
}>;
|
|
22
|
+
feeHundredthPips: z.ZodNumber;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
25
|
+
quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
26
|
+
feeHundredthPips: number;
|
|
27
|
+
}, {
|
|
28
|
+
baseAsset: {
|
|
29
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
30
|
+
};
|
|
31
|
+
quoteAsset: {
|
|
32
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
33
|
+
};
|
|
34
|
+
feeHundredthPips: number;
|
|
35
|
+
}>;
|
|
36
|
+
|
|
37
|
+
export { liquidityPoolsPoolFeeSet };
|