@gearbox-protocol/sdk 6.0.1 → 6.0.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.
|
@@ -98,11 +98,11 @@ class GearboxBackendApi {
|
|
|
98
98
|
static getStaticTokenUrl = () => STATIC_TOKEN;
|
|
99
99
|
static getRewardsMerkleUrl = (network, root, account) => {
|
|
100
100
|
const path = `${network}_${root.slice(2)}/${account.slice(2, 4)}`;
|
|
101
|
-
const url = `https://am.gearbox.
|
|
101
|
+
const url = `https://am.gearbox.fi/${path.toLowerCase()}.json`;
|
|
102
102
|
return url;
|
|
103
103
|
};
|
|
104
104
|
static getNFTMerkleUrl = (network, root) => {
|
|
105
|
-
const url = `https://dm.gearbox.
|
|
105
|
+
const url = `https://dm.gearbox.fi/${network.toLowerCase()}_${root}.json`;
|
|
106
106
|
return url;
|
|
107
107
|
};
|
|
108
108
|
static getLeaderboardUrl = (url, chainId) => {
|
|
@@ -69,11 +69,11 @@ class GearboxBackendApi {
|
|
|
69
69
|
static getStaticTokenUrl = () => STATIC_TOKEN;
|
|
70
70
|
static getRewardsMerkleUrl = (network, root, account) => {
|
|
71
71
|
const path = `${network}_${root.slice(2)}/${account.slice(2, 4)}`;
|
|
72
|
-
const url = `https://am.gearbox.
|
|
72
|
+
const url = `https://am.gearbox.fi/${path.toLowerCase()}.json`;
|
|
73
73
|
return url;
|
|
74
74
|
};
|
|
75
75
|
static getNFTMerkleUrl = (network, root) => {
|
|
76
|
-
const url = `https://dm.gearbox.
|
|
76
|
+
const url = `https://dm.gearbox.fi/${network.toLowerCase()}_${root}.json`;
|
|
77
77
|
return url;
|
|
78
78
|
};
|
|
79
79
|
static getLeaderboardUrl = (url, chainId) => {
|