Commit a690bba 1 parent a1743b3 commit a690bba Copy full SHA for a690bba
File tree 3 files changed +9
-9
lines changed
src/methods/vault/requests/getVault
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -605,9 +605,9 @@ Returns the master data of the vault
605
605
606
606
#### Arguments:
607
607
608
- | Name | Type | Required |
609
- |------| ------|-------------|
610
- | vaultAddress | ` string ` | **Yes** |
608
+ | Name | Type | Required |
609
+ |-------------- |----------| ----------|
610
+ | vaultAddress | ` string ` | **Yes** |
611
611
612
612
#### Returns:
613
613
@@ -641,8 +641,8 @@ type Output = {
641
641
restakeOperatorsManager: string
642
642
restakeWithdrawalsManager: string
643
643
osTokenConfig: {
644
- ltvPercent: bigint
645
- thresholdPercent: bigint
644
+ ltvPercent: string
645
+ thresholdPercent: string
646
646
}
647
647
}
648
648
` ` `
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ const modifyVault = (input: ModifyVaultInput): ModifiedVault => {
71
71
? formatEther ( vault . capacity )
72
72
: '∞' ,
73
73
osTokenConfig : {
74
- ltvPercent : BigInt ( osTokenConfig . ltvPercent ) ,
75
- thresholdPercent : BigInt ( osTokenConfig . liqThresholdPercent ) ,
74
+ ltvPercent : osTokenConfig . ltvPercent ,
75
+ thresholdPercent : osTokenConfig . liqThresholdPercent ,
76
76
} ,
77
77
}
78
78
}
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ export type ModifiedVault = Omit<
28
28
isSmoothingPool : boolean
29
29
whitelistManager : string
30
30
osTokenConfig : {
31
- ltvPercent : bigint // The percent used to calculate how much user can mint OsToken shares
32
- thresholdPercent : bigint // The liquidation threshold percent used to calculate health factor for OsToken position
31
+ ltvPercent : string // The percent used to calculate how much user can mint OsToken shares
32
+ thresholdPercent : string // The liquidation threshold percent used to calculate health factor for OsToken position
33
33
}
34
34
35
35
/**
You can’t perform that action at this time.
0 commit comments