From 790d7848f8a5d544c9c4435a8be996eb6ea11ab1 Mon Sep 17 00:00:00 2001 From: macket Date: Sat, 26 Aug 2023 21:49:24 +0400 Subject: [PATCH 1/2] fix: monetary_policy_address lower case --- src/crvusd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crvusd.ts b/src/crvusd.ts index 1c6cc92..2caf013 100644 --- a/src/crvusd.ts +++ b/src/crvusd.ts @@ -140,7 +140,7 @@ class Crvusd implements Icrvusd { this.setContract(llamma.controller_address, controllerABI); const monetary_policy_address = await this.contracts[llamma.controller_address].contract.monetary_policy(this.constantOptions); llamma.monetary_policy_address = monetary_policy_address.toLowerCase(); - this.setContract(monetary_policy_address, llamma.monetary_policy_abi); + this.setContract(llamma.monetary_policy_address, llamma.monetary_policy_abi); if (llamma.collateral_address === "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee") { this.setContract(this.constants.WETH, ERC20ABI); } else { From 9032a367a0606f6c21cd3a0a939f0f5380545783 Mon Sep 17 00:00:00 2001 From: macket Date: Sat, 26 Aug 2023 21:50:33 +0400 Subject: [PATCH 2/2] build: v1.3.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e293ac4..29d2307 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@curvefi/stablecoin-api", - "version": "1.3.6", + "version": "1.3.7", "description": "JavaScript library for Curve Stablecoin", "main": "lib/index.js", "author": "Macket",