Skip to content

Commit a690bba

Browse files
authored
[subgraph update] update url (#165)
1 parent a1743b3 commit a690bba

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,9 @@ Returns the master data of the vault
605605
606606
#### Arguments:
607607
608-
| Name | Type | Required |
609-
|------|------|-------------|
610-
| vaultAddress | `string` | **Yes** |
608+
| Name | Type | Required |
609+
|--------------|----------|----------|
610+
| vaultAddress | `string` | **Yes** |
611611
612612
#### Returns:
613613
@@ -641,8 +641,8 @@ type Output = {
641641
restakeOperatorsManager: string
642642
restakeWithdrawalsManager: string
643643
osTokenConfig: {
644-
ltvPercent: bigint
645-
thresholdPercent: bigint
644+
ltvPercent: string
645+
thresholdPercent: string
646646
}
647647
}
648648
```

src/methods/vault/requests/getVault/modifyVault.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ const modifyVault = (input: ModifyVaultInput): ModifiedVault => {
7171
? formatEther(vault.capacity)
7272
: '∞',
7373
osTokenConfig: {
74-
ltvPercent: BigInt(osTokenConfig.ltvPercent),
75-
thresholdPercent: BigInt(osTokenConfig.liqThresholdPercent),
74+
ltvPercent: osTokenConfig.ltvPercent,
75+
thresholdPercent: osTokenConfig.liqThresholdPercent,
7676
},
7777
}
7878
}

src/methods/vault/requests/getVault/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export type ModifiedVault = Omit<
2828
isSmoothingPool: boolean
2929
whitelistManager: string
3030
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
3333
}
3434

3535
/**

0 commit comments

Comments
 (0)