@1delta/margin-fetcher 0.0.101 → 0.0.102
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/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22931,7 +22931,10 @@ function getExponentForOracle(chainId, fork) {
|
|
|
22931
22931
|
if (chainId === Chain.AVALANCHE_C_CHAIN || chainId === Chain.MODE) {
|
|
22932
22932
|
return 10n;
|
|
22933
22933
|
}
|
|
22934
|
-
if (chainId === Chain.XDC_NETWORK)
|
|
22934
|
+
if (chainId === Chain.XDC_NETWORK) {
|
|
22935
|
+
if (fork === Lender.FATHOM) return 0n;
|
|
22936
|
+
if (fork === Lender.PRIME_FI) return 10n;
|
|
22937
|
+
}
|
|
22935
22938
|
if (chainId === Chain.TELOS_EVM_MAINNET) return 10n;
|
|
22936
22939
|
if (chainId === Chain.SONIC_MAINNET && fork === Lender.POLTER) return 10n;
|
|
22937
22940
|
if (chainId === Chain.ARBITRUM_ONE && fork === Lender.RADIANT_V2) return 10n;
|