├── .eslintrc.json ├── .github └── workflows │ ├── lint.yml │ └── publish.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── package.json ├── src ├── constants │ ├── abis │ │ ├── DeleverageZap.json │ │ ├── ERC20.json │ │ ├── Factory.json │ │ ├── HealthCalculatorZap.json │ │ ├── LeverageZap.json │ │ ├── MonetaryPolicy.json │ │ ├── MonetaryPolicy2.json │ │ ├── PegKeeper.json │ │ ├── controller.json │ │ ├── controller_v2.json │ │ └── llamma.json │ ├── coins.ts │ ├── llammas.ts │ └── utils.ts ├── crvusd.ts ├── external-api.ts ├── index.ts ├── interfaces.ts ├── llammas │ ├── LlammaTemplate.ts │ ├── index.ts │ └── llammaConstructor.ts └── utils.ts ├── test ├── general.test.ts ├── readme.test.ts ├── selfLiquidate.test.ts └── swap.test.ts ├── tsconfig.build.json └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/package.json -------------------------------------------------------------------------------- /src/constants/abis/DeleverageZap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/DeleverageZap.json -------------------------------------------------------------------------------- /src/constants/abis/ERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/ERC20.json -------------------------------------------------------------------------------- /src/constants/abis/Factory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/Factory.json -------------------------------------------------------------------------------- /src/constants/abis/HealthCalculatorZap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/HealthCalculatorZap.json -------------------------------------------------------------------------------- /src/constants/abis/LeverageZap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/LeverageZap.json -------------------------------------------------------------------------------- /src/constants/abis/MonetaryPolicy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/MonetaryPolicy.json -------------------------------------------------------------------------------- /src/constants/abis/MonetaryPolicy2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/MonetaryPolicy2.json -------------------------------------------------------------------------------- /src/constants/abis/PegKeeper.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/PegKeeper.json -------------------------------------------------------------------------------- /src/constants/abis/controller.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/controller.json -------------------------------------------------------------------------------- /src/constants/abis/controller_v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/controller_v2.json -------------------------------------------------------------------------------- /src/constants/abis/llamma.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/abis/llamma.json -------------------------------------------------------------------------------- /src/constants/coins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/coins.ts -------------------------------------------------------------------------------- /src/constants/llammas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/llammas.ts -------------------------------------------------------------------------------- /src/constants/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/constants/utils.ts -------------------------------------------------------------------------------- /src/crvusd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/crvusd.ts -------------------------------------------------------------------------------- /src/external-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/external-api.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/interfaces.ts -------------------------------------------------------------------------------- /src/llammas/LlammaTemplate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/llammas/LlammaTemplate.ts -------------------------------------------------------------------------------- /src/llammas/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/llammas/index.ts -------------------------------------------------------------------------------- /src/llammas/llammaConstructor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/llammas/llammaConstructor.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/general.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/test/general.test.ts -------------------------------------------------------------------------------- /test/readme.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/test/readme.test.ts -------------------------------------------------------------------------------- /test/selfLiquidate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/test/selfLiquidate.test.ts -------------------------------------------------------------------------------- /test/swap.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/test/swap.test.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curvefi/curve-stablecoin-js/HEAD/tsconfig.json --------------------------------------------------------------------------------