@chainflip/processor 1.4.1 → 1.4.2
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/common.cjs +16 -26
- package/dist/100/common.d.cts +84 -171
- package/dist/100/common.d.ts +84 -171
- package/dist/100/common.mjs +16 -26
- package/dist/100/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/100/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/100/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/100/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/100/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/100/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/100/swapping/swapAmountTooLow.d.cts +5 -19
- package/dist/100/swapping/swapAmountTooLow.d.ts +5 -19
- package/dist/100/swapping/swapScheduled.d.cts +5 -19
- package/dist/100/swapping/swapScheduled.d.ts +5 -19
- package/dist/100/validator/palletConfigUpdated.d.cts +90 -218
- package/dist/100/validator/palletConfigUpdated.d.ts +90 -218
- package/dist/102/common.cjs +9 -27
- package/dist/102/common.d.cts +61 -167
- package/dist/102/common.d.ts +61 -167
- package/dist/102/common.mjs +9 -27
- package/dist/102/validator/palletConfigUpdated.d.cts +87 -229
- package/dist/102/validator/palletConfigUpdated.d.ts +87 -229
- package/dist/111/common.cjs +7 -2
- package/dist/111/common.d.cts +21 -2
- package/dist/111/common.d.ts +21 -2
- package/dist/111/common.mjs +7 -2
- package/dist/111/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/111/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/111/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/111/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/111/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/111/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/common.cjs +5 -35
- package/dist/120/common.d.cts +9 -185
- package/dist/120/common.d.ts +9 -185
- package/dist/120/common.mjs +6 -36
- package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
- package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
- package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -38
- package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -38
- package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
- package/dist/120/swapping/swapEgressIgnored.d.cts +2 -2
- package/dist/120/swapping/swapEgressIgnored.d.ts +2 -2
- package/dist/120/swapping/swapEgressScheduled.d.cts +2 -2
- package/dist/120/swapping/swapEgressScheduled.d.ts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +10 -38
- package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +10 -38
- package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/common.cjs +11 -21
- package/dist/131/common.d.cts +32 -121
- package/dist/131/common.d.ts +32 -121
- package/dist/131/common.mjs +14 -24
- package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
- package/dist/131/ethereumIngressEgress/depositReceived.d.cts +10 -38
- package/dist/131/ethereumIngressEgress/depositReceived.d.ts +10 -38
- package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
- package/dist/131/ethereumIngressEgress/transferFallbackRequested.d.cts +2 -2
- package/dist/131/ethereumIngressEgress/transferFallbackRequested.d.ts +2 -2
- package/dist/131/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/131/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/131/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/131/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/131/swapping/ccmFailed.d.cts +5 -19
- package/dist/131/swapping/ccmFailed.d.ts +5 -19
- package/dist/131/swapping/swapScheduled.d.cts +5 -19
- package/dist/131/swapping/swapScheduled.d.ts +5 -19
- package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
- package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/common.cjs +12 -52
- package/dist/141/common.d.cts +35 -320
- package/dist/141/common.d.ts +35 -320
- package/dist/141/common.mjs +15 -55
- package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/ethereumIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/liquidityPools/limitOrderUpdated.cjs +1 -1
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -106
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -106
- package/dist/141/liquidityPools/limitOrderUpdated.mjs +2 -2
- package/dist/141/liquidityPools/rangeOrderUpdated.cjs +1 -1
- package/dist/141/liquidityPools/rangeOrderUpdated.mjs +2 -2
- package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +15 -57
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +15 -57
- package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
- package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +15 -57
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +15 -57
- package/dist/141/polkadotIngressEgress/depositFinalised.mjs +2 -2
- package/dist/141/swapping/ccmFailed.d.cts +5 -19
- package/dist/141/swapping/ccmFailed.d.ts +5 -19
- package/dist/141/swapping/swapScheduled.d.cts +5 -19
- package/dist/141/swapping/swapScheduled.d.ts +5 -19
- package/package.json +1 -1
package/dist/120/common.d.cts
CHANGED
|
@@ -844,44 +844,24 @@ declare const cfPrimitivesChainsAssetsEthAsset: z.ZodEffects<z.ZodObject<{
|
|
|
844
844
|
}>, "Eth" | "Flip" | "Usdc", {
|
|
845
845
|
__kind: "Eth" | "Flip" | "Usdc";
|
|
846
846
|
}>;
|
|
847
|
-
declare const
|
|
847
|
+
declare const palletCfIngressEgressDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
848
848
|
__kind: z.ZodLiteral<"Swap">;
|
|
849
|
-
|
|
850
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
851
|
-
}, "strip", z.ZodTypeAny, {
|
|
852
|
-
swapId: bigint;
|
|
853
|
-
}, {
|
|
854
|
-
swapId: string | number;
|
|
855
|
-
}>;
|
|
849
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
856
850
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
value: {
|
|
858
|
-
swapId: bigint;
|
|
859
|
-
};
|
|
860
851
|
__kind: "Swap";
|
|
852
|
+
swapId: bigint;
|
|
861
853
|
}, {
|
|
862
|
-
value: {
|
|
863
|
-
swapId: string | number;
|
|
864
|
-
};
|
|
865
854
|
__kind: "Swap";
|
|
855
|
+
swapId: string | number;
|
|
866
856
|
}>, z.ZodObject<{
|
|
867
857
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
868
|
-
|
|
869
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
870
|
-
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
lpAccount: string;
|
|
872
|
-
}, {
|
|
873
|
-
lpAccount: string;
|
|
874
|
-
}>;
|
|
858
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
875
859
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
value: {
|
|
877
|
-
lpAccount: string;
|
|
878
|
-
};
|
|
879
860
|
__kind: "LiquidityProvision";
|
|
861
|
+
lpAccount: string;
|
|
880
862
|
}, {
|
|
881
|
-
value: {
|
|
882
|
-
lpAccount: string;
|
|
883
|
-
};
|
|
884
863
|
__kind: "LiquidityProvision";
|
|
864
|
+
lpAccount: string;
|
|
885
865
|
}>, z.ZodObject<{
|
|
886
866
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
887
867
|
value: z.ZodObject<{
|
|
@@ -913,7 +893,7 @@ declare const palletCfEthereumIngressEgressPalletDepositAction: z.ZodUnion<[z.Zo
|
|
|
913
893
|
}, {
|
|
914
894
|
__kind: "NoAction";
|
|
915
895
|
}>]>;
|
|
916
|
-
declare const
|
|
896
|
+
declare const palletCfIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
917
897
|
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
918
898
|
}, "strip", z.ZodTypeAny, {
|
|
919
899
|
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
@@ -931,84 +911,6 @@ declare const cfPrimitivesChainsAssetsDotAsset: z.ZodEffects<z.ZodObject<{
|
|
|
931
911
|
}>, "Dot", {
|
|
932
912
|
__kind: "Dot";
|
|
933
913
|
}>;
|
|
934
|
-
declare const palletCfPolkadotIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
935
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
936
|
-
value: z.ZodObject<{
|
|
937
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
938
|
-
}, "strip", z.ZodTypeAny, {
|
|
939
|
-
swapId: bigint;
|
|
940
|
-
}, {
|
|
941
|
-
swapId: string | number;
|
|
942
|
-
}>;
|
|
943
|
-
}, "strip", z.ZodTypeAny, {
|
|
944
|
-
value: {
|
|
945
|
-
swapId: bigint;
|
|
946
|
-
};
|
|
947
|
-
__kind: "Swap";
|
|
948
|
-
}, {
|
|
949
|
-
value: {
|
|
950
|
-
swapId: string | number;
|
|
951
|
-
};
|
|
952
|
-
__kind: "Swap";
|
|
953
|
-
}>, z.ZodObject<{
|
|
954
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
955
|
-
value: z.ZodObject<{
|
|
956
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
957
|
-
}, "strip", z.ZodTypeAny, {
|
|
958
|
-
lpAccount: string;
|
|
959
|
-
}, {
|
|
960
|
-
lpAccount: string;
|
|
961
|
-
}>;
|
|
962
|
-
}, "strip", z.ZodTypeAny, {
|
|
963
|
-
value: {
|
|
964
|
-
lpAccount: string;
|
|
965
|
-
};
|
|
966
|
-
__kind: "LiquidityProvision";
|
|
967
|
-
}, {
|
|
968
|
-
value: {
|
|
969
|
-
lpAccount: string;
|
|
970
|
-
};
|
|
971
|
-
__kind: "LiquidityProvision";
|
|
972
|
-
}>, z.ZodObject<{
|
|
973
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
974
|
-
value: z.ZodObject<{
|
|
975
|
-
principalSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
976
|
-
gasSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
977
|
-
}, "strip", z.ZodTypeAny, {
|
|
978
|
-
principalSwapId?: bigint | null | undefined;
|
|
979
|
-
gasSwapId?: bigint | null | undefined;
|
|
980
|
-
}, {
|
|
981
|
-
principalSwapId?: string | number | null | undefined;
|
|
982
|
-
gasSwapId?: string | number | null | undefined;
|
|
983
|
-
}>;
|
|
984
|
-
}, "strip", z.ZodTypeAny, {
|
|
985
|
-
value: {
|
|
986
|
-
principalSwapId?: bigint | null | undefined;
|
|
987
|
-
gasSwapId?: bigint | null | undefined;
|
|
988
|
-
};
|
|
989
|
-
__kind: "CcmTransfer";
|
|
990
|
-
}, {
|
|
991
|
-
value: {
|
|
992
|
-
principalSwapId?: string | number | null | undefined;
|
|
993
|
-
gasSwapId?: string | number | null | undefined;
|
|
994
|
-
};
|
|
995
|
-
__kind: "CcmTransfer";
|
|
996
|
-
}>, z.ZodObject<{
|
|
997
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
998
|
-
}, "strip", z.ZodTypeAny, {
|
|
999
|
-
__kind: "NoAction";
|
|
1000
|
-
}, {
|
|
1001
|
-
__kind: "NoAction";
|
|
1002
|
-
}>]>;
|
|
1003
|
-
declare const palletCfPolkadotIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
1004
|
-
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
1005
|
-
}, "strip", z.ZodTypeAny, {
|
|
1006
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1007
|
-
}, {
|
|
1008
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1009
|
-
}>, "BelowMinimumDeposit" | "NotEnoughToPayFees", {
|
|
1010
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1011
|
-
}>;
|
|
1012
914
|
declare const cfPrimitivesChainsAssetsBtcAsset: z.ZodEffects<z.ZodObject<{
|
|
1013
915
|
__kind: z.ZodEnum<["Btc"]>;
|
|
1014
916
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1028,83 +930,5 @@ declare const cfChainsBtcUtxoId: z.ZodObject<{
|
|
|
1028
930
|
txId: string;
|
|
1029
931
|
vout: number;
|
|
1030
932
|
}>;
|
|
1031
|
-
declare const palletCfBitcoinIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
1032
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
1033
|
-
value: z.ZodObject<{
|
|
1034
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
1035
|
-
}, "strip", z.ZodTypeAny, {
|
|
1036
|
-
swapId: bigint;
|
|
1037
|
-
}, {
|
|
1038
|
-
swapId: string | number;
|
|
1039
|
-
}>;
|
|
1040
|
-
}, "strip", z.ZodTypeAny, {
|
|
1041
|
-
value: {
|
|
1042
|
-
swapId: bigint;
|
|
1043
|
-
};
|
|
1044
|
-
__kind: "Swap";
|
|
1045
|
-
}, {
|
|
1046
|
-
value: {
|
|
1047
|
-
swapId: string | number;
|
|
1048
|
-
};
|
|
1049
|
-
__kind: "Swap";
|
|
1050
|
-
}>, z.ZodObject<{
|
|
1051
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
1052
|
-
value: z.ZodObject<{
|
|
1053
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
1054
|
-
}, "strip", z.ZodTypeAny, {
|
|
1055
|
-
lpAccount: string;
|
|
1056
|
-
}, {
|
|
1057
|
-
lpAccount: string;
|
|
1058
|
-
}>;
|
|
1059
|
-
}, "strip", z.ZodTypeAny, {
|
|
1060
|
-
value: {
|
|
1061
|
-
lpAccount: string;
|
|
1062
|
-
};
|
|
1063
|
-
__kind: "LiquidityProvision";
|
|
1064
|
-
}, {
|
|
1065
|
-
value: {
|
|
1066
|
-
lpAccount: string;
|
|
1067
|
-
};
|
|
1068
|
-
__kind: "LiquidityProvision";
|
|
1069
|
-
}>, z.ZodObject<{
|
|
1070
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
1071
|
-
value: z.ZodObject<{
|
|
1072
|
-
principalSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
1073
|
-
gasSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
1074
|
-
}, "strip", z.ZodTypeAny, {
|
|
1075
|
-
principalSwapId?: bigint | null | undefined;
|
|
1076
|
-
gasSwapId?: bigint | null | undefined;
|
|
1077
|
-
}, {
|
|
1078
|
-
principalSwapId?: string | number | null | undefined;
|
|
1079
|
-
gasSwapId?: string | number | null | undefined;
|
|
1080
|
-
}>;
|
|
1081
|
-
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
value: {
|
|
1083
|
-
principalSwapId?: bigint | null | undefined;
|
|
1084
|
-
gasSwapId?: bigint | null | undefined;
|
|
1085
|
-
};
|
|
1086
|
-
__kind: "CcmTransfer";
|
|
1087
|
-
}, {
|
|
1088
|
-
value: {
|
|
1089
|
-
principalSwapId?: string | number | null | undefined;
|
|
1090
|
-
gasSwapId?: string | number | null | undefined;
|
|
1091
|
-
};
|
|
1092
|
-
__kind: "CcmTransfer";
|
|
1093
|
-
}>, z.ZodObject<{
|
|
1094
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
1095
|
-
}, "strip", z.ZodTypeAny, {
|
|
1096
|
-
__kind: "NoAction";
|
|
1097
|
-
}, {
|
|
1098
|
-
__kind: "NoAction";
|
|
1099
|
-
}>]>;
|
|
1100
|
-
declare const palletCfBitcoinIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
1101
|
-
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
1102
|
-
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1104
|
-
}, {
|
|
1105
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1106
|
-
}>, "BelowMinimumDeposit" | "NotEnoughToPayFees", {
|
|
1107
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1108
|
-
}>;
|
|
1109
933
|
|
|
1110
|
-
export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcBitcoinFeeInfo, cfChainsBtcBitcoinTrackedData, cfChainsBtcBitcoinTransactionData, cfChainsBtcConsolidationParameters, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateBitcoin, cfChainsDotPolkadotTransactionData, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, hexString, numberOrHex, numericString,
|
|
934
|
+
export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcBitcoinFeeInfo, cfChainsBtcBitcoinTrackedData, cfChainsBtcBitcoinTransactionData, cfChainsBtcConsolidationParameters, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateBitcoin, cfChainsDotPolkadotTransactionData, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, hexString, numberOrHex, numericString, palletCfIngressEgressDepositAction, palletCfIngressEgressDepositIgnoredReason, palletCfSwappingCcmFailReason, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError };
|
package/dist/120/common.d.ts
CHANGED
|
@@ -844,44 +844,24 @@ declare const cfPrimitivesChainsAssetsEthAsset: z.ZodEffects<z.ZodObject<{
|
|
|
844
844
|
}>, "Eth" | "Flip" | "Usdc", {
|
|
845
845
|
__kind: "Eth" | "Flip" | "Usdc";
|
|
846
846
|
}>;
|
|
847
|
-
declare const
|
|
847
|
+
declare const palletCfIngressEgressDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
848
848
|
__kind: z.ZodLiteral<"Swap">;
|
|
849
|
-
|
|
850
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
851
|
-
}, "strip", z.ZodTypeAny, {
|
|
852
|
-
swapId: bigint;
|
|
853
|
-
}, {
|
|
854
|
-
swapId: string | number;
|
|
855
|
-
}>;
|
|
849
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
856
850
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
value: {
|
|
858
|
-
swapId: bigint;
|
|
859
|
-
};
|
|
860
851
|
__kind: "Swap";
|
|
852
|
+
swapId: bigint;
|
|
861
853
|
}, {
|
|
862
|
-
value: {
|
|
863
|
-
swapId: string | number;
|
|
864
|
-
};
|
|
865
854
|
__kind: "Swap";
|
|
855
|
+
swapId: string | number;
|
|
866
856
|
}>, z.ZodObject<{
|
|
867
857
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
868
|
-
|
|
869
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
870
|
-
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
lpAccount: string;
|
|
872
|
-
}, {
|
|
873
|
-
lpAccount: string;
|
|
874
|
-
}>;
|
|
858
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
875
859
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
value: {
|
|
877
|
-
lpAccount: string;
|
|
878
|
-
};
|
|
879
860
|
__kind: "LiquidityProvision";
|
|
861
|
+
lpAccount: string;
|
|
880
862
|
}, {
|
|
881
|
-
value: {
|
|
882
|
-
lpAccount: string;
|
|
883
|
-
};
|
|
884
863
|
__kind: "LiquidityProvision";
|
|
864
|
+
lpAccount: string;
|
|
885
865
|
}>, z.ZodObject<{
|
|
886
866
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
887
867
|
value: z.ZodObject<{
|
|
@@ -913,7 +893,7 @@ declare const palletCfEthereumIngressEgressPalletDepositAction: z.ZodUnion<[z.Zo
|
|
|
913
893
|
}, {
|
|
914
894
|
__kind: "NoAction";
|
|
915
895
|
}>]>;
|
|
916
|
-
declare const
|
|
896
|
+
declare const palletCfIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
917
897
|
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
918
898
|
}, "strip", z.ZodTypeAny, {
|
|
919
899
|
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
@@ -931,84 +911,6 @@ declare const cfPrimitivesChainsAssetsDotAsset: z.ZodEffects<z.ZodObject<{
|
|
|
931
911
|
}>, "Dot", {
|
|
932
912
|
__kind: "Dot";
|
|
933
913
|
}>;
|
|
934
|
-
declare const palletCfPolkadotIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
935
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
936
|
-
value: z.ZodObject<{
|
|
937
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
938
|
-
}, "strip", z.ZodTypeAny, {
|
|
939
|
-
swapId: bigint;
|
|
940
|
-
}, {
|
|
941
|
-
swapId: string | number;
|
|
942
|
-
}>;
|
|
943
|
-
}, "strip", z.ZodTypeAny, {
|
|
944
|
-
value: {
|
|
945
|
-
swapId: bigint;
|
|
946
|
-
};
|
|
947
|
-
__kind: "Swap";
|
|
948
|
-
}, {
|
|
949
|
-
value: {
|
|
950
|
-
swapId: string | number;
|
|
951
|
-
};
|
|
952
|
-
__kind: "Swap";
|
|
953
|
-
}>, z.ZodObject<{
|
|
954
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
955
|
-
value: z.ZodObject<{
|
|
956
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
957
|
-
}, "strip", z.ZodTypeAny, {
|
|
958
|
-
lpAccount: string;
|
|
959
|
-
}, {
|
|
960
|
-
lpAccount: string;
|
|
961
|
-
}>;
|
|
962
|
-
}, "strip", z.ZodTypeAny, {
|
|
963
|
-
value: {
|
|
964
|
-
lpAccount: string;
|
|
965
|
-
};
|
|
966
|
-
__kind: "LiquidityProvision";
|
|
967
|
-
}, {
|
|
968
|
-
value: {
|
|
969
|
-
lpAccount: string;
|
|
970
|
-
};
|
|
971
|
-
__kind: "LiquidityProvision";
|
|
972
|
-
}>, z.ZodObject<{
|
|
973
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
974
|
-
value: z.ZodObject<{
|
|
975
|
-
principalSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
976
|
-
gasSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
977
|
-
}, "strip", z.ZodTypeAny, {
|
|
978
|
-
principalSwapId?: bigint | null | undefined;
|
|
979
|
-
gasSwapId?: bigint | null | undefined;
|
|
980
|
-
}, {
|
|
981
|
-
principalSwapId?: string | number | null | undefined;
|
|
982
|
-
gasSwapId?: string | number | null | undefined;
|
|
983
|
-
}>;
|
|
984
|
-
}, "strip", z.ZodTypeAny, {
|
|
985
|
-
value: {
|
|
986
|
-
principalSwapId?: bigint | null | undefined;
|
|
987
|
-
gasSwapId?: bigint | null | undefined;
|
|
988
|
-
};
|
|
989
|
-
__kind: "CcmTransfer";
|
|
990
|
-
}, {
|
|
991
|
-
value: {
|
|
992
|
-
principalSwapId?: string | number | null | undefined;
|
|
993
|
-
gasSwapId?: string | number | null | undefined;
|
|
994
|
-
};
|
|
995
|
-
__kind: "CcmTransfer";
|
|
996
|
-
}>, z.ZodObject<{
|
|
997
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
998
|
-
}, "strip", z.ZodTypeAny, {
|
|
999
|
-
__kind: "NoAction";
|
|
1000
|
-
}, {
|
|
1001
|
-
__kind: "NoAction";
|
|
1002
|
-
}>]>;
|
|
1003
|
-
declare const palletCfPolkadotIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
1004
|
-
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
1005
|
-
}, "strip", z.ZodTypeAny, {
|
|
1006
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1007
|
-
}, {
|
|
1008
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1009
|
-
}>, "BelowMinimumDeposit" | "NotEnoughToPayFees", {
|
|
1010
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1011
|
-
}>;
|
|
1012
914
|
declare const cfPrimitivesChainsAssetsBtcAsset: z.ZodEffects<z.ZodObject<{
|
|
1013
915
|
__kind: z.ZodEnum<["Btc"]>;
|
|
1014
916
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1028,83 +930,5 @@ declare const cfChainsBtcUtxoId: z.ZodObject<{
|
|
|
1028
930
|
txId: string;
|
|
1029
931
|
vout: number;
|
|
1030
932
|
}>;
|
|
1031
|
-
declare const palletCfBitcoinIngressEgressPalletDepositAction: z.ZodUnion<[z.ZodObject<{
|
|
1032
|
-
__kind: z.ZodLiteral<"Swap">;
|
|
1033
|
-
value: z.ZodObject<{
|
|
1034
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
1035
|
-
}, "strip", z.ZodTypeAny, {
|
|
1036
|
-
swapId: bigint;
|
|
1037
|
-
}, {
|
|
1038
|
-
swapId: string | number;
|
|
1039
|
-
}>;
|
|
1040
|
-
}, "strip", z.ZodTypeAny, {
|
|
1041
|
-
value: {
|
|
1042
|
-
swapId: bigint;
|
|
1043
|
-
};
|
|
1044
|
-
__kind: "Swap";
|
|
1045
|
-
}, {
|
|
1046
|
-
value: {
|
|
1047
|
-
swapId: string | number;
|
|
1048
|
-
};
|
|
1049
|
-
__kind: "Swap";
|
|
1050
|
-
}>, z.ZodObject<{
|
|
1051
|
-
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
1052
|
-
value: z.ZodObject<{
|
|
1053
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
1054
|
-
}, "strip", z.ZodTypeAny, {
|
|
1055
|
-
lpAccount: string;
|
|
1056
|
-
}, {
|
|
1057
|
-
lpAccount: string;
|
|
1058
|
-
}>;
|
|
1059
|
-
}, "strip", z.ZodTypeAny, {
|
|
1060
|
-
value: {
|
|
1061
|
-
lpAccount: string;
|
|
1062
|
-
};
|
|
1063
|
-
__kind: "LiquidityProvision";
|
|
1064
|
-
}, {
|
|
1065
|
-
value: {
|
|
1066
|
-
lpAccount: string;
|
|
1067
|
-
};
|
|
1068
|
-
__kind: "LiquidityProvision";
|
|
1069
|
-
}>, z.ZodObject<{
|
|
1070
|
-
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
1071
|
-
value: z.ZodObject<{
|
|
1072
|
-
principalSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
1073
|
-
gasSwapId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
1074
|
-
}, "strip", z.ZodTypeAny, {
|
|
1075
|
-
principalSwapId?: bigint | null | undefined;
|
|
1076
|
-
gasSwapId?: bigint | null | undefined;
|
|
1077
|
-
}, {
|
|
1078
|
-
principalSwapId?: string | number | null | undefined;
|
|
1079
|
-
gasSwapId?: string | number | null | undefined;
|
|
1080
|
-
}>;
|
|
1081
|
-
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
value: {
|
|
1083
|
-
principalSwapId?: bigint | null | undefined;
|
|
1084
|
-
gasSwapId?: bigint | null | undefined;
|
|
1085
|
-
};
|
|
1086
|
-
__kind: "CcmTransfer";
|
|
1087
|
-
}, {
|
|
1088
|
-
value: {
|
|
1089
|
-
principalSwapId?: string | number | null | undefined;
|
|
1090
|
-
gasSwapId?: string | number | null | undefined;
|
|
1091
|
-
};
|
|
1092
|
-
__kind: "CcmTransfer";
|
|
1093
|
-
}>, z.ZodObject<{
|
|
1094
|
-
__kind: z.ZodLiteral<"NoAction">;
|
|
1095
|
-
}, "strip", z.ZodTypeAny, {
|
|
1096
|
-
__kind: "NoAction";
|
|
1097
|
-
}, {
|
|
1098
|
-
__kind: "NoAction";
|
|
1099
|
-
}>]>;
|
|
1100
|
-
declare const palletCfBitcoinIngressEgressDepositIgnoredReason: z.ZodEffects<z.ZodObject<{
|
|
1101
|
-
__kind: z.ZodEnum<["BelowMinimumDeposit", "NotEnoughToPayFees"]>;
|
|
1102
|
-
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1104
|
-
}, {
|
|
1105
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1106
|
-
}>, "BelowMinimumDeposit" | "NotEnoughToPayFees", {
|
|
1107
|
-
__kind: "BelowMinimumDeposit" | "NotEnoughToPayFees";
|
|
1108
|
-
}>;
|
|
1109
933
|
|
|
1110
|
-
export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcBitcoinFeeInfo, cfChainsBtcBitcoinTrackedData, cfChainsBtcBitcoinTransactionData, cfChainsBtcConsolidationParameters, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateBitcoin, cfChainsDotPolkadotTransactionData, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, hexString, numberOrHex, numericString,
|
|
934
|
+
export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcBitcoinFeeInfo, cfChainsBtcBitcoinTrackedData, cfChainsBtcBitcoinTransactionData, cfChainsBtcConsolidationParameters, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateBitcoin, cfChainsDotPolkadotTransactionData, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, hexString, numberOrHex, numericString, palletCfIngressEgressDepositAction, palletCfIngressEgressDepositIgnoredReason, palletCfSwappingCcmFailReason, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError };
|
package/dist/120/common.mjs
CHANGED
|
@@ -103,48 +103,22 @@ var cfChainsCcmDepositMetadata = z.object({
|
|
|
103
103
|
channelMetadata: cfChainsCcmChannelMetadata
|
|
104
104
|
});
|
|
105
105
|
var cfPrimitivesChainsAssetsEthAsset = simpleEnum(["Eth", "Flip", "Usdc"]);
|
|
106
|
-
var
|
|
107
|
-
z.object({ __kind: z.literal("Swap"),
|
|
108
|
-
z.object({ __kind: z.literal("LiquidityProvision"),
|
|
106
|
+
var palletCfIngressEgressDepositAction = z.union([
|
|
107
|
+
z.object({ __kind: z.literal("Swap"), swapId: numberOrHex }),
|
|
108
|
+
z.object({ __kind: z.literal("LiquidityProvision"), lpAccount: accountId }),
|
|
109
109
|
z.object({
|
|
110
110
|
__kind: z.literal("CcmTransfer"),
|
|
111
111
|
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
112
112
|
}),
|
|
113
113
|
z.object({ __kind: z.literal("NoAction") })
|
|
114
114
|
]);
|
|
115
|
-
var
|
|
115
|
+
var palletCfIngressEgressDepositIgnoredReason = simpleEnum([
|
|
116
116
|
"BelowMinimumDeposit",
|
|
117
117
|
"NotEnoughToPayFees"
|
|
118
118
|
]);
|
|
119
119
|
var cfPrimitivesChainsAssetsDotAsset = simpleEnum(["Dot"]);
|
|
120
|
-
var palletCfPolkadotIngressEgressPalletDepositAction = z.union([
|
|
121
|
-
z.object({ __kind: z.literal("Swap"), value: z.object({ swapId: numberOrHex }) }),
|
|
122
|
-
z.object({ __kind: z.literal("LiquidityProvision"), value: z.object({ lpAccount: accountId }) }),
|
|
123
|
-
z.object({
|
|
124
|
-
__kind: z.literal("CcmTransfer"),
|
|
125
|
-
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
126
|
-
}),
|
|
127
|
-
z.object({ __kind: z.literal("NoAction") })
|
|
128
|
-
]);
|
|
129
|
-
var palletCfPolkadotIngressEgressDepositIgnoredReason = simpleEnum([
|
|
130
|
-
"BelowMinimumDeposit",
|
|
131
|
-
"NotEnoughToPayFees"
|
|
132
|
-
]);
|
|
133
120
|
var cfPrimitivesChainsAssetsBtcAsset = simpleEnum(["Btc"]);
|
|
134
121
|
var cfChainsBtcUtxoId = z.object({ txId: hexString, vout: z.number() });
|
|
135
|
-
var palletCfBitcoinIngressEgressPalletDepositAction = z.union([
|
|
136
|
-
z.object({ __kind: z.literal("Swap"), value: z.object({ swapId: numberOrHex }) }),
|
|
137
|
-
z.object({ __kind: z.literal("LiquidityProvision"), value: z.object({ lpAccount: accountId }) }),
|
|
138
|
-
z.object({
|
|
139
|
-
__kind: z.literal("CcmTransfer"),
|
|
140
|
-
value: z.object({ principalSwapId: numberOrHex.nullish(), gasSwapId: numberOrHex.nullish() })
|
|
141
|
-
}),
|
|
142
|
-
z.object({ __kind: z.literal("NoAction") })
|
|
143
|
-
]);
|
|
144
|
-
var palletCfBitcoinIngressEgressDepositIgnoredReason = simpleEnum([
|
|
145
|
-
"BelowMinimumDeposit",
|
|
146
|
-
"NotEnoughToPayFees"
|
|
147
|
-
]);
|
|
148
122
|
export {
|
|
149
123
|
accountId,
|
|
150
124
|
cfChainsAddressEncodedAddress,
|
|
@@ -169,12 +143,8 @@ export {
|
|
|
169
143
|
hexString,
|
|
170
144
|
numberOrHex,
|
|
171
145
|
numericString,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
palletCfEthereumIngressEgressDepositIgnoredReason,
|
|
175
|
-
palletCfEthereumIngressEgressPalletDepositAction,
|
|
176
|
-
palletCfPolkadotIngressEgressDepositIgnoredReason,
|
|
177
|
-
palletCfPolkadotIngressEgressPalletDepositAction,
|
|
146
|
+
palletCfIngressEgressDepositAction,
|
|
147
|
+
palletCfIngressEgressDepositIgnoredReason,
|
|
178
148
|
palletCfSwappingCcmFailReason,
|
|
179
149
|
simpleEnum,
|
|
180
150
|
spArithmeticArithmeticError,
|
|
@@ -10,7 +10,7 @@ var ethereumIngressEgressDepositIgnored = _zod.z.object({
|
|
|
10
10
|
depositAddress: _commoncjs.hexString,
|
|
11
11
|
asset: _commoncjs.cfPrimitivesChainsAssetsEthAsset,
|
|
12
12
|
amount: _commoncjs.numberOrHex,
|
|
13
|
-
reason: _commoncjs.
|
|
13
|
+
reason: _commoncjs.palletCfIngressEgressDepositIgnoredReason
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
cfPrimitivesChainsAssetsEthAsset,
|
|
5
5
|
hexString,
|
|
6
6
|
numberOrHex,
|
|
7
|
-
|
|
7
|
+
palletCfIngressEgressDepositIgnoredReason
|
|
8
8
|
} from "../common.mjs";
|
|
9
9
|
var ethereumIngressEgressDepositIgnored = z.object({
|
|
10
10
|
depositAddress: hexString,
|
|
11
11
|
asset: cfPrimitivesChainsAssetsEthAsset,
|
|
12
12
|
amount: numberOrHex,
|
|
13
|
-
reason:
|
|
13
|
+
reason: palletCfIngressEgressDepositIgnoredReason
|
|
14
14
|
});
|
|
15
15
|
export {
|
|
16
16
|
ethereumIngressEgressDepositIgnored
|
|
@@ -11,7 +11,7 @@ var ethereumIngressEgressDepositReceived = _zod.z.object({
|
|
|
11
11
|
asset: _commoncjs.cfPrimitivesChainsAssetsEthAsset,
|
|
12
12
|
amount: _commoncjs.numberOrHex,
|
|
13
13
|
ingressFee: _commoncjs.numberOrHex,
|
|
14
|
-
action: _commoncjs.
|
|
14
|
+
action: _commoncjs.palletCfIngressEgressDepositAction
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
|
|
@@ -15,42 +15,22 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
15
15
|
ingressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
16
16
|
action: z.ZodUnion<[z.ZodObject<{
|
|
17
17
|
__kind: z.ZodLiteral<"Swap">;
|
|
18
|
-
|
|
19
|
-
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
swapId: bigint;
|
|
22
|
-
}, {
|
|
23
|
-
swapId: string | number;
|
|
24
|
-
}>;
|
|
18
|
+
swapId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
19
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
value: {
|
|
27
|
-
swapId: bigint;
|
|
28
|
-
};
|
|
29
20
|
__kind: "Swap";
|
|
21
|
+
swapId: bigint;
|
|
30
22
|
}, {
|
|
31
|
-
value: {
|
|
32
|
-
swapId: string | number;
|
|
33
|
-
};
|
|
34
23
|
__kind: "Swap";
|
|
24
|
+
swapId: string | number;
|
|
35
25
|
}>, z.ZodObject<{
|
|
36
26
|
__kind: z.ZodLiteral<"LiquidityProvision">;
|
|
37
|
-
|
|
38
|
-
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
lpAccount: string;
|
|
41
|
-
}, {
|
|
42
|
-
lpAccount: string;
|
|
43
|
-
}>;
|
|
27
|
+
lpAccount: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
44
28
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value: {
|
|
46
|
-
lpAccount: string;
|
|
47
|
-
};
|
|
48
29
|
__kind: "LiquidityProvision";
|
|
30
|
+
lpAccount: string;
|
|
49
31
|
}, {
|
|
50
|
-
value: {
|
|
51
|
-
lpAccount: string;
|
|
52
|
-
};
|
|
53
32
|
__kind: "LiquidityProvision";
|
|
33
|
+
lpAccount: string;
|
|
54
34
|
}>, z.ZodObject<{
|
|
55
35
|
__kind: z.ZodLiteral<"CcmTransfer">;
|
|
56
36
|
value: z.ZodObject<{
|
|
@@ -88,15 +68,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
88
68
|
depositAddress: `0x${string}`;
|
|
89
69
|
ingressFee: bigint;
|
|
90
70
|
action: {
|
|
91
|
-
value: {
|
|
92
|
-
swapId: bigint;
|
|
93
|
-
};
|
|
94
71
|
__kind: "Swap";
|
|
72
|
+
swapId: bigint;
|
|
95
73
|
} | {
|
|
96
|
-
value: {
|
|
97
|
-
lpAccount: string;
|
|
98
|
-
};
|
|
99
74
|
__kind: "LiquidityProvision";
|
|
75
|
+
lpAccount: string;
|
|
100
76
|
} | {
|
|
101
77
|
value: {
|
|
102
78
|
principalSwapId?: bigint | null | undefined;
|
|
@@ -114,15 +90,11 @@ declare const ethereumIngressEgressDepositReceived: z.ZodObject<{
|
|
|
114
90
|
depositAddress: string;
|
|
115
91
|
ingressFee: string | number;
|
|
116
92
|
action: {
|
|
117
|
-
value: {
|
|
118
|
-
swapId: string | number;
|
|
119
|
-
};
|
|
120
93
|
__kind: "Swap";
|
|
94
|
+
swapId: string | number;
|
|
121
95
|
} | {
|
|
122
|
-
value: {
|
|
123
|
-
lpAccount: string;
|
|
124
|
-
};
|
|
125
96
|
__kind: "LiquidityProvision";
|
|
97
|
+
lpAccount: string;
|
|
126
98
|
} | {
|
|
127
99
|
value: {
|
|
128
100
|
principalSwapId?: string | number | null | undefined;
|