@curvefi/api 2.8.6 → 2.8.7
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/lib/factory/common.js +10 -0
- package/lib/factory/constants.js +6 -1
- package/package.json +1 -1
package/lib/factory/common.js
CHANGED
|
@@ -32,6 +32,11 @@ function setFactoryZapContracts() {
|
|
|
32
32
|
contract: new ethers_1.Contract(metaUsdZapAddress, deposit_json_1.default, this.signer || this.provider),
|
|
33
33
|
multicallContract: new ethcall_1.Contract(metaUsdZapAddress, deposit_json_1.default),
|
|
34
34
|
};
|
|
35
|
+
var metaUsd2ZapAddress = "0x4244eB811D6e0Ef302326675207A95113dB4E1F8".toLowerCase();
|
|
36
|
+
this.contracts[metaUsd2ZapAddress] = {
|
|
37
|
+
contract: new ethers_1.Contract(metaUsd2ZapAddress, DepositZapFantom_json_1.default, this.signer || this.provider),
|
|
38
|
+
multicallContract: new ethcall_1.Contract(metaUsd2ZapAddress, DepositZapFantom_json_1.default),
|
|
39
|
+
};
|
|
35
40
|
}
|
|
36
41
|
else if (this.chainId === 100) {
|
|
37
42
|
var metaUsdZapAddress = "0x87C067fAc25f123554a0E76596BF28cFa37fD5E9".toLowerCase();
|
|
@@ -92,6 +97,11 @@ function setFactoryZapContracts() {
|
|
|
92
97
|
contract: new ethers_1.Contract(metaBtcZapAddress, DepositZapFantom_json_1.default, this.signer || this.provider),
|
|
93
98
|
multicallContract: new ethcall_1.Contract(metaBtcZapAddress, DepositZapFantom_json_1.default),
|
|
94
99
|
};
|
|
100
|
+
var metaUsd2ZapAddress = "0x58AC91f5BE7dC0c35b24B96B19BAc55FBB8E705e".toLowerCase();
|
|
101
|
+
this.contracts[metaUsd2ZapAddress] = {
|
|
102
|
+
contract: new ethers_1.Contract(metaUsd2ZapAddress, DepositZapFantom_json_1.default, this.signer || this.provider),
|
|
103
|
+
multicallContract: new ethcall_1.Contract(metaUsd2ZapAddress, DepositZapFantom_json_1.default),
|
|
104
|
+
};
|
|
95
105
|
}
|
|
96
106
|
}
|
|
97
107
|
exports.setFactoryZapContracts = setFactoryZapContracts;
|
package/lib/factory/constants.js
CHANGED
|
@@ -110,6 +110,8 @@ exports.implementationABIDictArbitrum = {
|
|
|
110
110
|
"0xBE175115BF33E12348ff77CcfEE4726866A0Fbd5": MetaUSDBalances_json_1.default,
|
|
111
111
|
"0x094d12e5b541784701FD8d65F11fc0598FBC6332": MetaBTCRen_json_1.default,
|
|
112
112
|
"0xF1f85a74AD6c64315F85af52d3d46bF715236ADc": MetaBTCBalancesRen_json_1.default,
|
|
113
|
+
"0x8DEb66a4A40E370355bEe35f12E55Fe9c755d686": MetaFraxUSD_json_1.default,
|
|
114
|
+
"0x3edE9b145F82e9e46C03f8A8F67B77aEE847b632": MetaFraxUSDBalances_json_1.default,
|
|
113
115
|
"0x54e8A25d0Ac0E4945b697C80b8372445FEA17A62": Plain2Basic_json_1.default,
|
|
114
116
|
"0xD68970e266cE1A015953897C7055a5E0bC657Af8": Plain2Balances_json_1.default,
|
|
115
117
|
"0x7DA64233Fefb352f8F501B357c018158ED8aA455": Plain2ETH_json_1.default,
|
|
@@ -193,6 +195,8 @@ exports.implementationBasePoolIdDictArbitrum = {
|
|
|
193
195
|
"0xBE175115BF33E12348ff77CcfEE4726866A0Fbd5": "2pool",
|
|
194
196
|
"0x094d12e5b541784701FD8d65F11fc0598FBC6332": "ren",
|
|
195
197
|
"0xF1f85a74AD6c64315F85af52d3d46bF715236ADc": "ren",
|
|
198
|
+
"0x8DEb66a4A40E370355bEe35f12E55Fe9c755d686": "factory-v2-41",
|
|
199
|
+
"0x3edE9b145F82e9e46C03f8A8F67B77aEE847b632": "factory-v2-41", // fraxbp
|
|
196
200
|
};
|
|
197
201
|
exports.implementationBasePoolIdDictOptimism = {
|
|
198
202
|
"0x78CF256256C8089d68Cde634Cf7cDEFb39286470": "3pool",
|
|
@@ -226,10 +230,11 @@ exports.basePoolIdZapDictAvalanche = {
|
|
|
226
230
|
exports.basePoolIdZapDictArbitrum = {
|
|
227
231
|
"2pool": "0x7544Fe3d184b6B55D6B36c3FCA1157eE0Ba30287".toLowerCase(),
|
|
228
232
|
ren: "0x803A2B40c5a9BB2B86DD630B274Fa2A9202874C2".toLowerCase(),
|
|
233
|
+
"factory-v2-41": "0x58AC91f5BE7dC0c35b24B96B19BAc55FBB8E705e".toLowerCase(),
|
|
229
234
|
};
|
|
230
235
|
exports.basePoolIdZapDictOptimism = {
|
|
231
236
|
"3pool": "0x167e42a1c7ab4be03764a2222aac57f5f6754411".toLowerCase(),
|
|
232
|
-
"factory-v2-16": "
|
|
237
|
+
"factory-v2-16": "0x4244eB811D6e0Ef302326675207A95113dB4E1F8".toLowerCase(),
|
|
233
238
|
};
|
|
234
239
|
exports.basePoolIdZapDictXDai = {
|
|
235
240
|
"3pool": "0x87C067fAc25f123554a0E76596BF28cFa37fD5E9".toLowerCase(),
|