@chainflip/processor 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/100/ethereumBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
- package/dist/100/ethereumBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
- package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/100/swapping/ccmDepositReceived.d.cts +62 -62
- package/dist/100/swapping/ccmDepositReceived.d.ts +62 -62
- package/dist/100/swapping/ccmFailed.d.cts +62 -62
- package/dist/100/swapping/ccmFailed.d.ts +62 -62
- package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
- package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
- package/dist/100/swapping/swapAmountTooLow.d.cts +19 -19
- package/dist/100/swapping/swapAmountTooLow.d.ts +19 -19
- package/dist/100/swapping/swapDepositAddressReady.d.cts +26 -26
- package/dist/100/swapping/swapDepositAddressReady.d.ts +26 -26
- package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
- package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
- package/dist/100/swapping/swapExecuted.d.cts +12 -12
- package/dist/100/swapping/swapExecuted.d.ts +12 -12
- package/dist/100/swapping/swapScheduled.d.cts +91 -91
- package/dist/100/swapping/swapScheduled.d.ts +91 -91
- package/dist/100/swapping/withdrawalRequested.d.cts +4 -4
- package/dist/100/swapping/withdrawalRequested.d.ts +4 -4
- package/dist/100/system/extrinsicFailed.d.cts +16 -16
- package/dist/100/system/extrinsicFailed.d.ts +16 -16
- package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
- package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
- package/dist/11000/environment/runtimeSafeModeUpdated.d.cts +28 -28
- package/dist/11000/environment/runtimeSafeModeUpdated.d.ts +28 -28
- 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 +203 -203
- package/dist/11000/polkadotIngressEgress/depositFailed.d.ts +203 -203
- package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +103 -103
- package/dist/11000/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +103 -103
- package/dist/11100/assethubIngressEgress/depositFailed.d.cts +30 -30
- package/dist/11100/assethubIngressEgress/depositFailed.d.ts +30 -30
- package/dist/11100/polkadotIngressEgress/depositFailed.d.cts +30 -30
- package/dist/11100/polkadotIngressEgress/depositFailed.d.ts +30 -30
- package/dist/11100/solanaIngressEgress/depositFailed.d.cts +166 -166
- package/dist/11100/solanaIngressEgress/depositFailed.d.ts +166 -166
- package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
- package/dist/11200/arbitrumIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
- package/dist/11200/arbitrumIngressEgress/depositBoosted.d.cts +6 -6
- package/dist/11200/arbitrumIngressEgress/depositBoosted.d.ts +6 -6
- package/dist/11200/arbitrumIngressEgress/depositFailed.d.cts +184 -184
- package/dist/11200/arbitrumIngressEgress/depositFailed.d.ts +184 -184
- package/dist/11200/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/11200/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
- 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/polkadotIngressEgress/channelRejectionRequestReceived.d.cts +2 -2
- package/dist/11200/polkadotIngressEgress/channelRejectionRequestReceived.d.ts +2 -2
- package/dist/11200/polkadotIngressEgress/depositBoosted.d.cts +6 -6
- package/dist/11200/polkadotIngressEgress/depositBoosted.d.ts +6 -6
- package/dist/11200/polkadotIngressEgress/depositFailed.d.cts +184 -184
- package/dist/11200/polkadotIngressEgress/depositFailed.d.ts +184 -184
- package/dist/11200/polkadotIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/11200/polkadotIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/131/swapping/swapDepositAddressReady.d.cts +18 -18
- package/dist/131/swapping/swapDepositAddressReady.d.ts +18 -18
- package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/131/swapping/swapExecuted.d.cts +12 -12
- package/dist/131/swapping/swapExecuted.d.ts +12 -12
- package/dist/131/swapping/swapScheduled.d.cts +14 -14
- package/dist/131/swapping/swapScheduled.d.ts +14 -14
- package/dist/131/swapping/withdrawalRequested.d.cts +6 -6
- package/dist/131/swapping/withdrawalRequested.d.ts +6 -6
- package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
- package/dist/141/arbitrumBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
- package/dist/141/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/141/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/141/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/141/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/141/liquidityProvider/assetTransferred.d.cts +3 -3
- package/dist/141/liquidityProvider/assetTransferred.d.ts +3 -3
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +2 -2
- package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/swapping/ccmDepositReceived.d.cts +68 -68
- package/dist/141/swapping/ccmDepositReceived.d.ts +68 -68
- package/dist/141/swapping/ccmFailed.d.cts +73 -73
- package/dist/141/swapping/ccmFailed.d.ts +73 -73
- package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/141/swapping/swapDepositAddressReady.d.cts +26 -26
- package/dist/141/swapping/swapDepositAddressReady.d.ts +26 -26
- package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/141/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/141/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/141/swapping/swapExecuted.d.cts +90 -90
- package/dist/141/swapping/swapExecuted.d.ts +90 -90
- package/dist/141/swapping/swapScheduled.d.cts +99 -99
- package/dist/141/swapping/swapScheduled.d.ts +99 -99
- package/dist/141/swapping/withdrawalRequested.d.cts +10 -10
- package/dist/141/swapping/withdrawalRequested.d.ts +10 -10
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
- package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/150/swapping/ccmDepositReceived.d.cts +74 -74
- package/dist/150/swapping/ccmDepositReceived.d.ts +74 -74
- package/dist/150/swapping/ccmFailed.d.cts +79 -79
- package/dist/150/swapping/ccmFailed.d.ts +79 -79
- package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/150/swapping/swapDepositAddressReady.d.cts +25 -25
- package/dist/150/swapping/swapDepositAddressReady.d.ts +25 -25
- package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapExecuted.d.cts +94 -94
- package/dist/150/swapping/swapExecuted.d.ts +94 -94
- package/dist/150/swapping/swapScheduled.d.cts +103 -103
- package/dist/150/swapping/swapScheduled.d.ts +103 -103
- package/dist/150/swapping/withdrawalRequested.d.cts +10 -10
- package/dist/150/swapping/withdrawalRequested.d.ts +10 -10
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +28 -28
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +28 -28
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +26 -26
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +26 -26
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.cts +2 -2
- package/dist/170/bitcoinIngressEgress/boostedDepositLost.d.ts +2 -2
- package/dist/170/bitcoinIngressEgress/ccmFailed.d.cts +37 -37
- package/dist/170/bitcoinIngressEgress/ccmFailed.d.ts +37 -37
- package/dist/170/bitcoinIngressEgress/depositBoosted.d.cts +30 -30
- package/dist/170/bitcoinIngressEgress/depositBoosted.d.ts +30 -30
- package/dist/170/bitcoinIngressEgress/depositFinalised.d.cts +30 -30
- package/dist/170/bitcoinIngressEgress/depositFinalised.d.ts +30 -30
- package/dist/170/bitcoinIngressEgress/depositIgnored.d.cts +30 -30
- package/dist/170/bitcoinIngressEgress/depositIgnored.d.ts +30 -30
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.cts +56 -56
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.ts +56 -56
- package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
- package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.cts +4 -4
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.ts +4 -4
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.cts +4 -4
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.ts +4 -4
- package/dist/170/reputation/offencePenalty.d.cts +6 -6
- package/dist/170/reputation/offencePenalty.d.ts +6 -6
- package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
- package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
- package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +10 -10
- package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +10 -10
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +10 -10
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +10 -10
- 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/190/assethubBroadcaster/broadcastCallbackExecuted.d.cts +28 -28
- package/dist/190/assethubBroadcaster/broadcastCallbackExecuted.d.ts +28 -28
- package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/190/assethubIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.cts +50 -50
- package/dist/190/assethubIngressEgress/ccmEgressInvalid.d.ts +50 -50
- package/dist/190/assethubIngressEgress/depositFailed.d.cts +170 -170
- package/dist/190/assethubIngressEgress/depositFailed.d.ts +170 -170
- package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/190/assethubIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
- package/dist/190/assethubIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
- package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.cts +2 -2
- package/dist/190/assethubIngressEgress/transactionRejectedByBroker.d.ts +2 -2
- package/dist/190/assethubIngressEgress/transferFallbackRequested.d.cts +2 -2
- package/dist/190/assethubIngressEgress/transferFallbackRequested.d.ts +2 -2
- package/dist/190/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/190/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/190/reputation/offencePenalty.d.cts +6 -6
- package/dist/190/reputation/offencePenalty.d.ts +6 -6
- package/dist/190/reputation/penaltyUpdated.d.cts +4 -4
- package/dist/190/reputation/penaltyUpdated.d.ts +4 -4
- package/dist/200/common.cjs +68 -10
- package/dist/200/common.d.cts +1199 -215
- package/dist/200/common.d.ts +1199 -215
- package/dist/200/common.mjs +67 -9
- package/dist/200/environment/runtimeSafeModeUpdated.d.cts +9 -0
- package/dist/200/environment/runtimeSafeModeUpdated.d.ts +9 -0
- package/dist/200/funding/funded.cjs +12 -0
- package/dist/200/funding/funded.d.cts +87 -0
- package/dist/200/funding/funded.d.ts +87 -0
- package/dist/200/funding/funded.mjs +12 -0
- package/dist/200/lendingPools/collateralAdded.cjs +7 -1
- package/dist/200/lendingPools/collateralAdded.d.cts +13 -0
- package/dist/200/lendingPools/collateralAdded.d.ts +13 -0
- package/dist/200/lendingPools/collateralAdded.mjs +8 -2
- package/dist/200/lendingPools/liquidationCompleted.cjs +13 -0
- package/dist/200/lendingPools/liquidationCompleted.d.cts +24 -0
- package/dist/200/lendingPools/liquidationCompleted.d.ts +24 -0
- package/dist/200/lendingPools/liquidationCompleted.mjs +13 -0
- package/dist/200/lendingPools/liquidationInitiated.cjs +5 -1
- package/dist/200/lendingPools/liquidationInitiated.d.cts +13 -3
- package/dist/200/lendingPools/liquidationInitiated.d.ts +13 -3
- package/dist/200/lendingPools/liquidationInitiated.mjs +6 -2
- package/dist/200/lendingPools/loanCreated.d.cts +2 -2
- package/dist/200/lendingPools/loanCreated.d.ts +2 -2
- package/dist/200/lendingPools/palletConfigUpdated.d.cts +17 -12
- package/dist/200/lendingPools/palletConfigUpdated.d.ts +17 -12
- package/dist/200/lendingPools/whitelistUpdated.cjs +9 -0
- package/dist/200/lendingPools/whitelistUpdated.d.cts +66 -0
- package/dist/200/lendingPools/whitelistUpdated.d.ts +66 -0
- package/dist/200/lendingPools/whitelistUpdated.mjs +9 -0
- package/dist/200/swapping/accountCreationDepositAddressReady.cjs +23 -0
- package/dist/200/swapping/accountCreationDepositAddressReady.d.cts +319 -0
- package/dist/200/swapping/accountCreationDepositAddressReady.d.ts +319 -0
- package/dist/200/swapping/accountCreationDepositAddressReady.mjs +23 -0
- package/dist/200/swapping/swapRequestCompleted.cjs +10 -0
- package/dist/200/swapping/swapRequestCompleted.d.cts +24 -0
- package/dist/200/swapping/swapRequestCompleted.d.ts +24 -0
- package/dist/200/swapping/swapRequestCompleted.mjs +10 -0
- package/dist/200/swapping/swapRequested.d.cts +1066 -52
- package/dist/200/swapping/swapRequested.d.ts +1066 -52
- package/package.json +2 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// generated/200/lendingPools/liquidationCompleted.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import {
|
|
4
|
+
accountId,
|
|
5
|
+
palletCfLendingPoolsGeneralLendingLiquidationCompletionReason
|
|
6
|
+
} from "../common.mjs";
|
|
7
|
+
var lendingPoolsLiquidationCompleted = z.object({
|
|
8
|
+
borrowerId: accountId,
|
|
9
|
+
reason: palletCfLendingPoolsGeneralLendingLiquidationCompletionReason
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
lendingPoolsLiquidationCompleted
|
|
13
|
+
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/lendingPools/liquidationInitiated.ts
|
|
2
2
|
var _zod = require('zod');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
3
7
|
var _commoncjs = require('../common.cjs');
|
|
4
8
|
var lendingPoolsLiquidationInitiated = _zod.z.object({
|
|
5
9
|
borrowerId: _commoncjs.accountId,
|
|
6
10
|
swaps: _zod.z.array(_zod.z.tuple([_commoncjs.numberOrHex, _zod.z.array(_commoncjs.numberOrHex)])),
|
|
7
|
-
|
|
11
|
+
liquidationType: _commoncjs.palletCfLendingPoolsGeneralLendingLiquidationType
|
|
8
12
|
});
|
|
9
13
|
|
|
10
14
|
|
|
@@ -3,15 +3,25 @@ import { z } from 'zod';
|
|
|
3
3
|
declare const lendingPoolsLiquidationInitiated: z.ZodObject<{
|
|
4
4
|
borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
5
5
|
swaps: z.ZodArray<z.ZodTuple<[z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, "many">], null>, "many">;
|
|
6
|
-
|
|
6
|
+
liquidationType: z.ZodEffects<z.ZodObject<{
|
|
7
|
+
__kind: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
10
|
+
}, {
|
|
11
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
12
|
+
}>, "SoftVoluntary" | "Soft" | "Hard", {
|
|
13
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
14
|
+
}>;
|
|
7
15
|
}, "strip", z.ZodTypeAny, {
|
|
8
16
|
borrowerId: string;
|
|
9
17
|
swaps: [bigint, bigint[]][];
|
|
10
|
-
|
|
18
|
+
liquidationType: "SoftVoluntary" | "Soft" | "Hard";
|
|
11
19
|
}, {
|
|
12
20
|
borrowerId: string;
|
|
13
21
|
swaps: [string | number, (string | number)[]][];
|
|
14
|
-
|
|
22
|
+
liquidationType: {
|
|
23
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
24
|
+
};
|
|
15
25
|
}>;
|
|
16
26
|
|
|
17
27
|
export { lendingPoolsLiquidationInitiated };
|
|
@@ -3,15 +3,25 @@ import { z } from 'zod';
|
|
|
3
3
|
declare const lendingPoolsLiquidationInitiated: z.ZodObject<{
|
|
4
4
|
borrowerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
5
5
|
swaps: z.ZodArray<z.ZodTuple<[z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>, "many">], null>, "many">;
|
|
6
|
-
|
|
6
|
+
liquidationType: z.ZodEffects<z.ZodObject<{
|
|
7
|
+
__kind: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
10
|
+
}, {
|
|
11
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
12
|
+
}>, "SoftVoluntary" | "Soft" | "Hard", {
|
|
13
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
14
|
+
}>;
|
|
7
15
|
}, "strip", z.ZodTypeAny, {
|
|
8
16
|
borrowerId: string;
|
|
9
17
|
swaps: [bigint, bigint[]][];
|
|
10
|
-
|
|
18
|
+
liquidationType: "SoftVoluntary" | "Soft" | "Hard";
|
|
11
19
|
}, {
|
|
12
20
|
borrowerId: string;
|
|
13
21
|
swaps: [string | number, (string | number)[]][];
|
|
14
|
-
|
|
22
|
+
liquidationType: {
|
|
23
|
+
__kind: "SoftVoluntary" | "Soft" | "Hard";
|
|
24
|
+
};
|
|
15
25
|
}>;
|
|
16
26
|
|
|
17
27
|
export { lendingPoolsLiquidationInitiated };
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
// generated/200/lendingPools/liquidationInitiated.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
accountId,
|
|
5
|
+
numberOrHex,
|
|
6
|
+
palletCfLendingPoolsGeneralLendingLiquidationType
|
|
7
|
+
} from "../common.mjs";
|
|
4
8
|
var lendingPoolsLiquidationInitiated = z.object({
|
|
5
9
|
borrowerId: accountId,
|
|
6
10
|
swaps: z.array(z.tuple([numberOrHex, z.array(numberOrHex)])),
|
|
7
|
-
|
|
11
|
+
liquidationType: palletCfLendingPoolsGeneralLendingLiquidationType
|
|
8
12
|
});
|
|
9
13
|
export {
|
|
10
14
|
lendingPoolsLiquidationInitiated
|
|
@@ -15,15 +15,15 @@ declare const lendingPoolsLoanCreated: z.ZodObject<{
|
|
|
15
15
|
principalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
borrowerId: string;
|
|
18
|
-
loanId: bigint;
|
|
19
18
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
19
|
+
loanId: bigint;
|
|
20
20
|
principalAmount: bigint;
|
|
21
21
|
}, {
|
|
22
22
|
borrowerId: string;
|
|
23
|
-
loanId: string | number;
|
|
24
23
|
asset: {
|
|
25
24
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
26
25
|
};
|
|
26
|
+
loanId: string | number;
|
|
27
27
|
principalAmount: string | number;
|
|
28
28
|
}>;
|
|
29
29
|
|
|
@@ -15,15 +15,15 @@ declare const lendingPoolsLoanCreated: z.ZodObject<{
|
|
|
15
15
|
principalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
borrowerId: string;
|
|
18
|
-
loanId: bigint;
|
|
19
18
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
19
|
+
loanId: bigint;
|
|
20
20
|
principalAmount: bigint;
|
|
21
21
|
}, {
|
|
22
22
|
borrowerId: string;
|
|
23
|
-
loanId: string | number;
|
|
24
23
|
asset: {
|
|
25
24
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
26
25
|
};
|
|
26
|
+
loanId: string | number;
|
|
27
27
|
principalAmount: string | number;
|
|
28
28
|
}>;
|
|
29
29
|
|
|
@@ -142,17 +142,17 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
142
142
|
extraInterest: z.ZodNumber;
|
|
143
143
|
fromOriginationFee: z.ZodNumber;
|
|
144
144
|
fromLiquidationFee: z.ZodNumber;
|
|
145
|
-
|
|
145
|
+
lowLtvPenaltyMax: z.ZodNumber;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
extraInterest: number;
|
|
148
148
|
fromOriginationFee: number;
|
|
149
149
|
fromLiquidationFee: number;
|
|
150
|
-
|
|
150
|
+
lowLtvPenaltyMax: number;
|
|
151
151
|
}, {
|
|
152
152
|
extraInterest: number;
|
|
153
153
|
fromOriginationFee: number;
|
|
154
154
|
fromLiquidationFee: number;
|
|
155
|
-
|
|
155
|
+
lowLtvPenaltyMax: number;
|
|
156
156
|
}>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
158
|
__kind: "SetNetworkFeeContributions";
|
|
@@ -160,7 +160,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
160
160
|
extraInterest: number;
|
|
161
161
|
fromOriginationFee: number;
|
|
162
162
|
fromLiquidationFee: number;
|
|
163
|
-
|
|
163
|
+
lowLtvPenaltyMax: number;
|
|
164
164
|
};
|
|
165
165
|
}, {
|
|
166
166
|
__kind: "SetNetworkFeeContributions";
|
|
@@ -168,7 +168,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
168
168
|
extraInterest: number;
|
|
169
169
|
fromOriginationFee: number;
|
|
170
170
|
fromLiquidationFee: number;
|
|
171
|
-
|
|
171
|
+
lowLtvPenaltyMax: number;
|
|
172
172
|
};
|
|
173
173
|
}>, z.ZodObject<{
|
|
174
174
|
__kind: z.ZodLiteral<"SetFeeSwapIntervalBlocks">;
|
|
@@ -223,13 +223,16 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
223
223
|
feeSwap: number;
|
|
224
224
|
}>, z.ZodObject<{
|
|
225
225
|
__kind: z.ZodLiteral<"SetLiquidationSwapChunkSizeUsd">;
|
|
226
|
-
|
|
226
|
+
soft: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
227
|
+
hard: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
227
228
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
value: bigint;
|
|
229
229
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
230
|
+
soft: bigint;
|
|
231
|
+
hard: bigint;
|
|
230
232
|
}, {
|
|
231
|
-
value: string | number;
|
|
232
233
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
234
|
+
soft: string | number;
|
|
235
|
+
hard: string | number;
|
|
233
236
|
}>, z.ZodObject<{
|
|
234
237
|
__kind: z.ZodLiteral<"SetMinimumAmounts">;
|
|
235
238
|
minimumLoanAmountUsd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -280,7 +283,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
280
283
|
extraInterest: number;
|
|
281
284
|
fromOriginationFee: number;
|
|
282
285
|
fromLiquidationFee: number;
|
|
283
|
-
|
|
286
|
+
lowLtvPenaltyMax: number;
|
|
284
287
|
};
|
|
285
288
|
} | {
|
|
286
289
|
value: number;
|
|
@@ -300,8 +303,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
300
303
|
hardLiquidation: number;
|
|
301
304
|
feeSwap: number;
|
|
302
305
|
} | {
|
|
303
|
-
value: bigint;
|
|
304
306
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
307
|
+
soft: bigint;
|
|
308
|
+
hard: bigint;
|
|
305
309
|
} | {
|
|
306
310
|
__kind: "SetMinimumAmounts";
|
|
307
311
|
minimumLoanAmountUsd: bigint;
|
|
@@ -344,7 +348,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
344
348
|
extraInterest: number;
|
|
345
349
|
fromOriginationFee: number;
|
|
346
350
|
fromLiquidationFee: number;
|
|
347
|
-
|
|
351
|
+
lowLtvPenaltyMax: number;
|
|
348
352
|
};
|
|
349
353
|
} | {
|
|
350
354
|
value: number;
|
|
@@ -364,8 +368,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
364
368
|
hardLiquidation: number;
|
|
365
369
|
feeSwap: number;
|
|
366
370
|
} | {
|
|
367
|
-
value: string | number;
|
|
368
371
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
372
|
+
soft: string | number;
|
|
373
|
+
hard: string | number;
|
|
369
374
|
} | {
|
|
370
375
|
__kind: "SetMinimumAmounts";
|
|
371
376
|
minimumLoanAmountUsd: string | number;
|
|
@@ -142,17 +142,17 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
142
142
|
extraInterest: z.ZodNumber;
|
|
143
143
|
fromOriginationFee: z.ZodNumber;
|
|
144
144
|
fromLiquidationFee: z.ZodNumber;
|
|
145
|
-
|
|
145
|
+
lowLtvPenaltyMax: z.ZodNumber;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
extraInterest: number;
|
|
148
148
|
fromOriginationFee: number;
|
|
149
149
|
fromLiquidationFee: number;
|
|
150
|
-
|
|
150
|
+
lowLtvPenaltyMax: number;
|
|
151
151
|
}, {
|
|
152
152
|
extraInterest: number;
|
|
153
153
|
fromOriginationFee: number;
|
|
154
154
|
fromLiquidationFee: number;
|
|
155
|
-
|
|
155
|
+
lowLtvPenaltyMax: number;
|
|
156
156
|
}>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
158
|
__kind: "SetNetworkFeeContributions";
|
|
@@ -160,7 +160,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
160
160
|
extraInterest: number;
|
|
161
161
|
fromOriginationFee: number;
|
|
162
162
|
fromLiquidationFee: number;
|
|
163
|
-
|
|
163
|
+
lowLtvPenaltyMax: number;
|
|
164
164
|
};
|
|
165
165
|
}, {
|
|
166
166
|
__kind: "SetNetworkFeeContributions";
|
|
@@ -168,7 +168,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
168
168
|
extraInterest: number;
|
|
169
169
|
fromOriginationFee: number;
|
|
170
170
|
fromLiquidationFee: number;
|
|
171
|
-
|
|
171
|
+
lowLtvPenaltyMax: number;
|
|
172
172
|
};
|
|
173
173
|
}>, z.ZodObject<{
|
|
174
174
|
__kind: z.ZodLiteral<"SetFeeSwapIntervalBlocks">;
|
|
@@ -223,13 +223,16 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
223
223
|
feeSwap: number;
|
|
224
224
|
}>, z.ZodObject<{
|
|
225
225
|
__kind: z.ZodLiteral<"SetLiquidationSwapChunkSizeUsd">;
|
|
226
|
-
|
|
226
|
+
soft: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
227
|
+
hard: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
227
228
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
value: bigint;
|
|
229
229
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
230
|
+
soft: bigint;
|
|
231
|
+
hard: bigint;
|
|
230
232
|
}, {
|
|
231
|
-
value: string | number;
|
|
232
233
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
234
|
+
soft: string | number;
|
|
235
|
+
hard: string | number;
|
|
233
236
|
}>, z.ZodObject<{
|
|
234
237
|
__kind: z.ZodLiteral<"SetMinimumAmounts">;
|
|
235
238
|
minimumLoanAmountUsd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -280,7 +283,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
280
283
|
extraInterest: number;
|
|
281
284
|
fromOriginationFee: number;
|
|
282
285
|
fromLiquidationFee: number;
|
|
283
|
-
|
|
286
|
+
lowLtvPenaltyMax: number;
|
|
284
287
|
};
|
|
285
288
|
} | {
|
|
286
289
|
value: number;
|
|
@@ -300,8 +303,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
300
303
|
hardLiquidation: number;
|
|
301
304
|
feeSwap: number;
|
|
302
305
|
} | {
|
|
303
|
-
value: bigint;
|
|
304
306
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
307
|
+
soft: bigint;
|
|
308
|
+
hard: bigint;
|
|
305
309
|
} | {
|
|
306
310
|
__kind: "SetMinimumAmounts";
|
|
307
311
|
minimumLoanAmountUsd: bigint;
|
|
@@ -344,7 +348,7 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
344
348
|
extraInterest: number;
|
|
345
349
|
fromOriginationFee: number;
|
|
346
350
|
fromLiquidationFee: number;
|
|
347
|
-
|
|
351
|
+
lowLtvPenaltyMax: number;
|
|
348
352
|
};
|
|
349
353
|
} | {
|
|
350
354
|
value: number;
|
|
@@ -364,8 +368,9 @@ declare const lendingPoolsPalletConfigUpdated: z.ZodObject<{
|
|
|
364
368
|
hardLiquidation: number;
|
|
365
369
|
feeSwap: number;
|
|
366
370
|
} | {
|
|
367
|
-
value: string | number;
|
|
368
371
|
__kind: "SetLiquidationSwapChunkSizeUsd";
|
|
372
|
+
soft: string | number;
|
|
373
|
+
hard: string | number;
|
|
369
374
|
} | {
|
|
370
375
|
__kind: "SetMinimumAmounts";
|
|
371
376
|
minimumLoanAmountUsd: string | number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/lendingPools/whitelistUpdated.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
var _commoncjs = require('../common.cjs');
|
|
4
|
+
var lendingPoolsWhitelistUpdated = _zod.z.object({
|
|
5
|
+
update: _commoncjs.palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.lendingPoolsWhitelistUpdated = lendingPoolsWhitelistUpdated;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const lendingPoolsWhitelistUpdated: z.ZodObject<{
|
|
4
|
+
update: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
5
|
+
__kind: z.ZodLiteral<"SetAllowAll">;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
__kind: "SetAllowAll";
|
|
8
|
+
}, {
|
|
9
|
+
__kind: "SetAllowAll";
|
|
10
|
+
}>, z.ZodObject<{
|
|
11
|
+
__kind: z.ZodLiteral<"SetAllowedAccounts">;
|
|
12
|
+
value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
value: string[];
|
|
15
|
+
__kind: "SetAllowedAccounts";
|
|
16
|
+
}, {
|
|
17
|
+
value: string[];
|
|
18
|
+
__kind: "SetAllowedAccounts";
|
|
19
|
+
}>, z.ZodObject<{
|
|
20
|
+
__kind: z.ZodLiteral<"AddAllowedAccounts">;
|
|
21
|
+
value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
value: string[];
|
|
24
|
+
__kind: "AddAllowedAccounts";
|
|
25
|
+
}, {
|
|
26
|
+
value: string[];
|
|
27
|
+
__kind: "AddAllowedAccounts";
|
|
28
|
+
}>, z.ZodObject<{
|
|
29
|
+
__kind: z.ZodLiteral<"RemoveAllowedAccounts">;
|
|
30
|
+
value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
value: string[];
|
|
33
|
+
__kind: "RemoveAllowedAccounts";
|
|
34
|
+
}, {
|
|
35
|
+
value: string[];
|
|
36
|
+
__kind: "RemoveAllowedAccounts";
|
|
37
|
+
}>]>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
update: {
|
|
40
|
+
__kind: "SetAllowAll";
|
|
41
|
+
} | {
|
|
42
|
+
value: string[];
|
|
43
|
+
__kind: "SetAllowedAccounts";
|
|
44
|
+
} | {
|
|
45
|
+
value: string[];
|
|
46
|
+
__kind: "AddAllowedAccounts";
|
|
47
|
+
} | {
|
|
48
|
+
value: string[];
|
|
49
|
+
__kind: "RemoveAllowedAccounts";
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
update: {
|
|
53
|
+
__kind: "SetAllowAll";
|
|
54
|
+
} | {
|
|
55
|
+
value: string[];
|
|
56
|
+
__kind: "SetAllowedAccounts";
|
|
57
|
+
} | {
|
|
58
|
+
value: string[];
|
|
59
|
+
__kind: "AddAllowedAccounts";
|
|
60
|
+
} | {
|
|
61
|
+
value: string[];
|
|
62
|
+
__kind: "RemoveAllowedAccounts";
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
65
|
+
|
|
66
|
+
export { lendingPoolsWhitelistUpdated };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const lendingPoolsWhitelistUpdated: z.ZodObject<{
|
|
4
|
+
update: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
5
|
+
__kind: z.ZodLiteral<"SetAllowAll">;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
__kind: "SetAllowAll";
|
|
8
|
+
}, {
|
|
9
|
+
__kind: "SetAllowAll";
|
|
10
|
+
}>, z.ZodObject<{
|
|
11
|
+
__kind: z.ZodLiteral<"SetAllowedAccounts">;
|
|
12
|
+
value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
value: string[];
|
|
15
|
+
__kind: "SetAllowedAccounts";
|
|
16
|
+
}, {
|
|
17
|
+
value: string[];
|
|
18
|
+
__kind: "SetAllowedAccounts";
|
|
19
|
+
}>, z.ZodObject<{
|
|
20
|
+
__kind: z.ZodLiteral<"AddAllowedAccounts">;
|
|
21
|
+
value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
value: string[];
|
|
24
|
+
__kind: "AddAllowedAccounts";
|
|
25
|
+
}, {
|
|
26
|
+
value: string[];
|
|
27
|
+
__kind: "AddAllowedAccounts";
|
|
28
|
+
}>, z.ZodObject<{
|
|
29
|
+
__kind: z.ZodLiteral<"RemoveAllowedAccounts">;
|
|
30
|
+
value: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>, "many">;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
value: string[];
|
|
33
|
+
__kind: "RemoveAllowedAccounts";
|
|
34
|
+
}, {
|
|
35
|
+
value: string[];
|
|
36
|
+
__kind: "RemoveAllowedAccounts";
|
|
37
|
+
}>]>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
update: {
|
|
40
|
+
__kind: "SetAllowAll";
|
|
41
|
+
} | {
|
|
42
|
+
value: string[];
|
|
43
|
+
__kind: "SetAllowedAccounts";
|
|
44
|
+
} | {
|
|
45
|
+
value: string[];
|
|
46
|
+
__kind: "AddAllowedAccounts";
|
|
47
|
+
} | {
|
|
48
|
+
value: string[];
|
|
49
|
+
__kind: "RemoveAllowedAccounts";
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
update: {
|
|
53
|
+
__kind: "SetAllowAll";
|
|
54
|
+
} | {
|
|
55
|
+
value: string[];
|
|
56
|
+
__kind: "SetAllowedAccounts";
|
|
57
|
+
} | {
|
|
58
|
+
value: string[];
|
|
59
|
+
__kind: "AddAllowedAccounts";
|
|
60
|
+
} | {
|
|
61
|
+
value: string[];
|
|
62
|
+
__kind: "RemoveAllowedAccounts";
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
65
|
+
|
|
66
|
+
export { lendingPoolsWhitelistUpdated };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// generated/200/lendingPools/whitelistUpdated.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate } from "../common.mjs";
|
|
4
|
+
var lendingPoolsWhitelistUpdated = z.object({
|
|
5
|
+
update: palletCfLendingPoolsGeneralLendingWhitelistWhitelistUpdate
|
|
6
|
+
});
|
|
7
|
+
export {
|
|
8
|
+
lendingPoolsWhitelistUpdated
|
|
9
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// generated/200/swapping/accountCreationDepositAddressReady.ts
|
|
2
|
+
var _zod = require('zod');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _commoncjs = require('../common.cjs');
|
|
10
|
+
var swappingAccountCreationDepositAddressReady = _zod.z.object({
|
|
11
|
+
channelId: _commoncjs.numberOrHex,
|
|
12
|
+
asset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
|
|
13
|
+
depositAddress: _commoncjs.cfChainsAddressEncodedAddress,
|
|
14
|
+
requestedBy: _commoncjs.accountId,
|
|
15
|
+
requestedFor: _commoncjs.accountId,
|
|
16
|
+
depositChainExpiryBlock: _commoncjs.numberOrHex,
|
|
17
|
+
boostFee: _zod.z.number(),
|
|
18
|
+
channelOpeningFee: _commoncjs.numberOrHex,
|
|
19
|
+
refundAddress: _commoncjs.cfChainsAddressForeignChainAddress
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.swappingAccountCreationDepositAddressReady = swappingAccountCreationDepositAddressReady;
|