@curvefi/llamalend-api 1.0.12 → 1.0.13

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/llamalend.js CHANGED
@@ -580,7 +580,6 @@ class Llamalend {
580
580
  else {
581
581
  this.setContract(controllers[i], controllerABI);
582
582
  }
583
- this.setContract(controllers[i], controllerABI);
584
583
  const monetary_policy_address = (yield this.contracts[controllers[i]].contract.monetary_policy(this.constantOptions)).toLowerCase();
585
584
  this.setContract(monetary_policy_address, MonetaryPolicy2ABI);
586
585
  const _llammaId = is_eth ? "eth" : collateral_symbol.toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/llamalend-api",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "JavaScript library for Curve Lending",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",
package/src/llamalend.ts CHANGED
@@ -453,7 +453,6 @@ class Llamalend implements ILlamalend {
453
453
  this.setContract(controllers[i], controllerABI);
454
454
  }
455
455
 
456
- this.setContract(controllers[i], controllerABI);
457
456
  const monetary_policy_address = (await this.contracts[controllers[i]].contract.monetary_policy(this.constantOptions)).toLowerCase();
458
457
  this.setContract(monetary_policy_address, MonetaryPolicy2ABI);
459
458
  const _llammaId: string = is_eth ? "eth" : collateral_symbol.toLowerCase();