@chainflip/rpc 1.11.7 → 1.11.9
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/common.d.cts +14 -5
- package/dist/common.d.ts +14 -5
- package/dist/parsers.cjs +5 -2
- package/dist/parsers.d.cts +14 -5
- package/dist/parsers.d.ts +14 -5
- package/dist/parsers.mjs +5 -2
- package/package.json +1 -1
package/dist/common.d.cts
CHANGED
|
@@ -25855,17 +25855,17 @@ declare const rpcResult: {
|
|
|
25855
25855
|
}>;
|
|
25856
25856
|
network_fee_contributions: z.ZodObject<{
|
|
25857
25857
|
extra_interest: z.ZodNumber;
|
|
25858
|
-
|
|
25858
|
+
low_ltv_penalty_max: z.ZodNumber;
|
|
25859
25859
|
from_origination_fee: z.ZodNumber;
|
|
25860
25860
|
from_liquidation_fee: z.ZodNumber;
|
|
25861
25861
|
}, "strip", z.ZodTypeAny, {
|
|
25862
25862
|
extra_interest: number;
|
|
25863
|
-
|
|
25863
|
+
low_ltv_penalty_max: number;
|
|
25864
25864
|
from_origination_fee: number;
|
|
25865
25865
|
from_liquidation_fee: number;
|
|
25866
25866
|
}, {
|
|
25867
25867
|
extra_interest: number;
|
|
25868
|
-
|
|
25868
|
+
low_ltv_penalty_max: number;
|
|
25869
25869
|
from_origination_fee: number;
|
|
25870
25870
|
from_liquidation_fee: number;
|
|
25871
25871
|
}>;
|
|
@@ -25877,6 +25877,9 @@ declare const rpcResult: {
|
|
|
25877
25877
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25878
25878
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25879
25879
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
25880
|
+
minimum_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25881
|
+
minimum_update_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25882
|
+
minimum_update_collateral_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25880
25883
|
}, "strip", z.ZodTypeAny, {
|
|
25881
25884
|
ltv_thresholds: {
|
|
25882
25885
|
target: number;
|
|
@@ -25889,7 +25892,7 @@ declare const rpcResult: {
|
|
|
25889
25892
|
};
|
|
25890
25893
|
network_fee_contributions: {
|
|
25891
25894
|
extra_interest: number;
|
|
25892
|
-
|
|
25895
|
+
low_ltv_penalty_max: number;
|
|
25893
25896
|
from_origination_fee: number;
|
|
25894
25897
|
from_liquidation_fee: number;
|
|
25895
25898
|
};
|
|
@@ -25901,6 +25904,9 @@ declare const rpcResult: {
|
|
|
25901
25904
|
soft_liquidation_max_oracle_slippage: number;
|
|
25902
25905
|
hard_liquidation_max_oracle_slippage: number;
|
|
25903
25906
|
fee_swap_max_oracle_slippage: number;
|
|
25907
|
+
minimum_loan_amount_usd: bigint;
|
|
25908
|
+
minimum_update_loan_amount_usd: bigint;
|
|
25909
|
+
minimum_update_collateral_amount_usd: bigint;
|
|
25904
25910
|
}, {
|
|
25905
25911
|
ltv_thresholds: {
|
|
25906
25912
|
target: number;
|
|
@@ -25913,7 +25919,7 @@ declare const rpcResult: {
|
|
|
25913
25919
|
};
|
|
25914
25920
|
network_fee_contributions: {
|
|
25915
25921
|
extra_interest: number;
|
|
25916
|
-
|
|
25922
|
+
low_ltv_penalty_max: number;
|
|
25917
25923
|
from_origination_fee: number;
|
|
25918
25924
|
from_liquidation_fee: number;
|
|
25919
25925
|
};
|
|
@@ -25925,6 +25931,9 @@ declare const rpcResult: {
|
|
|
25925
25931
|
soft_liquidation_max_oracle_slippage: number;
|
|
25926
25932
|
hard_liquidation_max_oracle_slippage: number;
|
|
25927
25933
|
fee_swap_max_oracle_slippage: number;
|
|
25934
|
+
minimum_loan_amount_usd: string | number;
|
|
25935
|
+
minimum_update_loan_amount_usd: string | number;
|
|
25936
|
+
minimum_update_collateral_amount_usd: string | number;
|
|
25928
25937
|
}>;
|
|
25929
25938
|
readonly cf_loan_accounts: z.ZodArray<z.ZodObject<{
|
|
25930
25939
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
package/dist/common.d.ts
CHANGED
|
@@ -25855,17 +25855,17 @@ declare const rpcResult: {
|
|
|
25855
25855
|
}>;
|
|
25856
25856
|
network_fee_contributions: z.ZodObject<{
|
|
25857
25857
|
extra_interest: z.ZodNumber;
|
|
25858
|
-
|
|
25858
|
+
low_ltv_penalty_max: z.ZodNumber;
|
|
25859
25859
|
from_origination_fee: z.ZodNumber;
|
|
25860
25860
|
from_liquidation_fee: z.ZodNumber;
|
|
25861
25861
|
}, "strip", z.ZodTypeAny, {
|
|
25862
25862
|
extra_interest: number;
|
|
25863
|
-
|
|
25863
|
+
low_ltv_penalty_max: number;
|
|
25864
25864
|
from_origination_fee: number;
|
|
25865
25865
|
from_liquidation_fee: number;
|
|
25866
25866
|
}, {
|
|
25867
25867
|
extra_interest: number;
|
|
25868
|
-
|
|
25868
|
+
low_ltv_penalty_max: number;
|
|
25869
25869
|
from_origination_fee: number;
|
|
25870
25870
|
from_liquidation_fee: number;
|
|
25871
25871
|
}>;
|
|
@@ -25877,6 +25877,9 @@ declare const rpcResult: {
|
|
|
25877
25877
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25878
25878
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25879
25879
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
25880
|
+
minimum_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25881
|
+
minimum_update_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25882
|
+
minimum_update_collateral_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25880
25883
|
}, "strip", z.ZodTypeAny, {
|
|
25881
25884
|
ltv_thresholds: {
|
|
25882
25885
|
target: number;
|
|
@@ -25889,7 +25892,7 @@ declare const rpcResult: {
|
|
|
25889
25892
|
};
|
|
25890
25893
|
network_fee_contributions: {
|
|
25891
25894
|
extra_interest: number;
|
|
25892
|
-
|
|
25895
|
+
low_ltv_penalty_max: number;
|
|
25893
25896
|
from_origination_fee: number;
|
|
25894
25897
|
from_liquidation_fee: number;
|
|
25895
25898
|
};
|
|
@@ -25901,6 +25904,9 @@ declare const rpcResult: {
|
|
|
25901
25904
|
soft_liquidation_max_oracle_slippage: number;
|
|
25902
25905
|
hard_liquidation_max_oracle_slippage: number;
|
|
25903
25906
|
fee_swap_max_oracle_slippage: number;
|
|
25907
|
+
minimum_loan_amount_usd: bigint;
|
|
25908
|
+
minimum_update_loan_amount_usd: bigint;
|
|
25909
|
+
minimum_update_collateral_amount_usd: bigint;
|
|
25904
25910
|
}, {
|
|
25905
25911
|
ltv_thresholds: {
|
|
25906
25912
|
target: number;
|
|
@@ -25913,7 +25919,7 @@ declare const rpcResult: {
|
|
|
25913
25919
|
};
|
|
25914
25920
|
network_fee_contributions: {
|
|
25915
25921
|
extra_interest: number;
|
|
25916
|
-
|
|
25922
|
+
low_ltv_penalty_max: number;
|
|
25917
25923
|
from_origination_fee: number;
|
|
25918
25924
|
from_liquidation_fee: number;
|
|
25919
25925
|
};
|
|
@@ -25925,6 +25931,9 @@ declare const rpcResult: {
|
|
|
25925
25931
|
soft_liquidation_max_oracle_slippage: number;
|
|
25926
25932
|
hard_liquidation_max_oracle_slippage: number;
|
|
25927
25933
|
fee_swap_max_oracle_slippage: number;
|
|
25934
|
+
minimum_loan_amount_usd: string | number;
|
|
25935
|
+
minimum_update_loan_amount_usd: string | number;
|
|
25936
|
+
minimum_update_collateral_amount_usd: string | number;
|
|
25928
25937
|
}>;
|
|
25929
25938
|
readonly cf_loan_accounts: z.ZodArray<z.ZodObject<{
|
|
25930
25939
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
package/dist/parsers.cjs
CHANGED
|
@@ -610,7 +610,7 @@ var cfLendingConfig = _zod.z.object({
|
|
|
610
610
|
}),
|
|
611
611
|
network_fee_contributions: _zod.z.object({
|
|
612
612
|
extra_interest: _zod.z.number(),
|
|
613
|
-
|
|
613
|
+
low_ltv_penalty_max: _zod.z.number(),
|
|
614
614
|
from_origination_fee: _zod.z.number(),
|
|
615
615
|
from_liquidation_fee: _zod.z.number()
|
|
616
616
|
}),
|
|
@@ -621,7 +621,10 @@ var cfLendingConfig = _zod.z.object({
|
|
|
621
621
|
liquidation_swap_chunk_size_usd: numberOrHex,
|
|
622
622
|
soft_liquidation_max_oracle_slippage: _zod.z.number(),
|
|
623
623
|
hard_liquidation_max_oracle_slippage: _zod.z.number(),
|
|
624
|
-
fee_swap_max_oracle_slippage: _zod.z.number()
|
|
624
|
+
fee_swap_max_oracle_slippage: _zod.z.number(),
|
|
625
|
+
minimum_loan_amount_usd: numberOrHex,
|
|
626
|
+
minimum_update_loan_amount_usd: numberOrHex,
|
|
627
|
+
minimum_update_collateral_amount_usd: numberOrHex
|
|
625
628
|
});
|
|
626
629
|
var cfLoanAccount = _zod.z.object({
|
|
627
630
|
account: accountId,
|
package/dist/parsers.d.cts
CHANGED
|
@@ -30174,17 +30174,17 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30174
30174
|
}>;
|
|
30175
30175
|
network_fee_contributions: z.ZodObject<{
|
|
30176
30176
|
extra_interest: z.ZodNumber;
|
|
30177
|
-
|
|
30177
|
+
low_ltv_penalty_max: z.ZodNumber;
|
|
30178
30178
|
from_origination_fee: z.ZodNumber;
|
|
30179
30179
|
from_liquidation_fee: z.ZodNumber;
|
|
30180
30180
|
}, "strip", z.ZodTypeAny, {
|
|
30181
30181
|
extra_interest: number;
|
|
30182
|
-
|
|
30182
|
+
low_ltv_penalty_max: number;
|
|
30183
30183
|
from_origination_fee: number;
|
|
30184
30184
|
from_liquidation_fee: number;
|
|
30185
30185
|
}, {
|
|
30186
30186
|
extra_interest: number;
|
|
30187
|
-
|
|
30187
|
+
low_ltv_penalty_max: number;
|
|
30188
30188
|
from_origination_fee: number;
|
|
30189
30189
|
from_liquidation_fee: number;
|
|
30190
30190
|
}>;
|
|
@@ -30196,6 +30196,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30196
30196
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30197
30197
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30198
30198
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
30199
|
+
minimum_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30200
|
+
minimum_update_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30201
|
+
minimum_update_collateral_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30199
30202
|
}, "strip", z.ZodTypeAny, {
|
|
30200
30203
|
ltv_thresholds: {
|
|
30201
30204
|
target: number;
|
|
@@ -30208,7 +30211,7 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30208
30211
|
};
|
|
30209
30212
|
network_fee_contributions: {
|
|
30210
30213
|
extra_interest: number;
|
|
30211
|
-
|
|
30214
|
+
low_ltv_penalty_max: number;
|
|
30212
30215
|
from_origination_fee: number;
|
|
30213
30216
|
from_liquidation_fee: number;
|
|
30214
30217
|
};
|
|
@@ -30220,6 +30223,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30220
30223
|
soft_liquidation_max_oracle_slippage: number;
|
|
30221
30224
|
hard_liquidation_max_oracle_slippage: number;
|
|
30222
30225
|
fee_swap_max_oracle_slippage: number;
|
|
30226
|
+
minimum_loan_amount_usd: bigint;
|
|
30227
|
+
minimum_update_loan_amount_usd: bigint;
|
|
30228
|
+
minimum_update_collateral_amount_usd: bigint;
|
|
30223
30229
|
}, {
|
|
30224
30230
|
ltv_thresholds: {
|
|
30225
30231
|
target: number;
|
|
@@ -30232,7 +30238,7 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30232
30238
|
};
|
|
30233
30239
|
network_fee_contributions: {
|
|
30234
30240
|
extra_interest: number;
|
|
30235
|
-
|
|
30241
|
+
low_ltv_penalty_max: number;
|
|
30236
30242
|
from_origination_fee: number;
|
|
30237
30243
|
from_liquidation_fee: number;
|
|
30238
30244
|
};
|
|
@@ -30244,6 +30250,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30244
30250
|
soft_liquidation_max_oracle_slippage: number;
|
|
30245
30251
|
hard_liquidation_max_oracle_slippage: number;
|
|
30246
30252
|
fee_swap_max_oracle_slippage: number;
|
|
30253
|
+
minimum_loan_amount_usd: string | number;
|
|
30254
|
+
minimum_update_loan_amount_usd: string | number;
|
|
30255
|
+
minimum_update_collateral_amount_usd: string | number;
|
|
30247
30256
|
}>;
|
|
30248
30257
|
declare const cfLoanAccount: z.ZodObject<{
|
|
30249
30258
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
package/dist/parsers.d.ts
CHANGED
|
@@ -30174,17 +30174,17 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30174
30174
|
}>;
|
|
30175
30175
|
network_fee_contributions: z.ZodObject<{
|
|
30176
30176
|
extra_interest: z.ZodNumber;
|
|
30177
|
-
|
|
30177
|
+
low_ltv_penalty_max: z.ZodNumber;
|
|
30178
30178
|
from_origination_fee: z.ZodNumber;
|
|
30179
30179
|
from_liquidation_fee: z.ZodNumber;
|
|
30180
30180
|
}, "strip", z.ZodTypeAny, {
|
|
30181
30181
|
extra_interest: number;
|
|
30182
|
-
|
|
30182
|
+
low_ltv_penalty_max: number;
|
|
30183
30183
|
from_origination_fee: number;
|
|
30184
30184
|
from_liquidation_fee: number;
|
|
30185
30185
|
}, {
|
|
30186
30186
|
extra_interest: number;
|
|
30187
|
-
|
|
30187
|
+
low_ltv_penalty_max: number;
|
|
30188
30188
|
from_origination_fee: number;
|
|
30189
30189
|
from_liquidation_fee: number;
|
|
30190
30190
|
}>;
|
|
@@ -30196,6 +30196,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30196
30196
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30197
30197
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30198
30198
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
30199
|
+
minimum_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30200
|
+
minimum_update_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30201
|
+
minimum_update_collateral_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30199
30202
|
}, "strip", z.ZodTypeAny, {
|
|
30200
30203
|
ltv_thresholds: {
|
|
30201
30204
|
target: number;
|
|
@@ -30208,7 +30211,7 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30208
30211
|
};
|
|
30209
30212
|
network_fee_contributions: {
|
|
30210
30213
|
extra_interest: number;
|
|
30211
|
-
|
|
30214
|
+
low_ltv_penalty_max: number;
|
|
30212
30215
|
from_origination_fee: number;
|
|
30213
30216
|
from_liquidation_fee: number;
|
|
30214
30217
|
};
|
|
@@ -30220,6 +30223,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30220
30223
|
soft_liquidation_max_oracle_slippage: number;
|
|
30221
30224
|
hard_liquidation_max_oracle_slippage: number;
|
|
30222
30225
|
fee_swap_max_oracle_slippage: number;
|
|
30226
|
+
minimum_loan_amount_usd: bigint;
|
|
30227
|
+
minimum_update_loan_amount_usd: bigint;
|
|
30228
|
+
minimum_update_collateral_amount_usd: bigint;
|
|
30223
30229
|
}, {
|
|
30224
30230
|
ltv_thresholds: {
|
|
30225
30231
|
target: number;
|
|
@@ -30232,7 +30238,7 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30232
30238
|
};
|
|
30233
30239
|
network_fee_contributions: {
|
|
30234
30240
|
extra_interest: number;
|
|
30235
|
-
|
|
30241
|
+
low_ltv_penalty_max: number;
|
|
30236
30242
|
from_origination_fee: number;
|
|
30237
30243
|
from_liquidation_fee: number;
|
|
30238
30244
|
};
|
|
@@ -30244,6 +30250,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30244
30250
|
soft_liquidation_max_oracle_slippage: number;
|
|
30245
30251
|
hard_liquidation_max_oracle_slippage: number;
|
|
30246
30252
|
fee_swap_max_oracle_slippage: number;
|
|
30253
|
+
minimum_loan_amount_usd: string | number;
|
|
30254
|
+
minimum_update_loan_amount_usd: string | number;
|
|
30255
|
+
minimum_update_collateral_amount_usd: string | number;
|
|
30247
30256
|
}>;
|
|
30248
30257
|
declare const cfLoanAccount: z.ZodObject<{
|
|
30249
30258
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
package/dist/parsers.mjs
CHANGED
|
@@ -610,7 +610,7 @@ var cfLendingConfig = z.object({
|
|
|
610
610
|
}),
|
|
611
611
|
network_fee_contributions: z.object({
|
|
612
612
|
extra_interest: z.number(),
|
|
613
|
-
|
|
613
|
+
low_ltv_penalty_max: z.number(),
|
|
614
614
|
from_origination_fee: z.number(),
|
|
615
615
|
from_liquidation_fee: z.number()
|
|
616
616
|
}),
|
|
@@ -621,7 +621,10 @@ var cfLendingConfig = z.object({
|
|
|
621
621
|
liquidation_swap_chunk_size_usd: numberOrHex,
|
|
622
622
|
soft_liquidation_max_oracle_slippage: z.number(),
|
|
623
623
|
hard_liquidation_max_oracle_slippage: z.number(),
|
|
624
|
-
fee_swap_max_oracle_slippage: z.number()
|
|
624
|
+
fee_swap_max_oracle_slippage: z.number(),
|
|
625
|
+
minimum_loan_amount_usd: numberOrHex,
|
|
626
|
+
minimum_update_loan_amount_usd: numberOrHex,
|
|
627
|
+
minimum_update_collateral_amount_usd: numberOrHex
|
|
625
628
|
});
|
|
626
629
|
var cfLoanAccount = z.object({
|
|
627
630
|
account: accountId,
|