Skip to content

Releases: SetProtocol/set-protocol-v2

v0.1.14

10 Mar 22:15
a0647b9
Compare
Choose a tag to compare
  • Update IssuanceModule (#201 )

PerpV2LeverageModule Audit Fixes and Patches

02 Feb 19:55
402b746
Compare
Choose a tag to compare

#189: Ensure returned accountValueIssued never negative in #_executePositionTrades
#190: PerpV2LeverageModule ABDK audit fixes
#191: Fix bug in function preciseDivCeil (thanks to @gzliudan)
#192: PerpV2 module fixes and optimizations

Add PerpV2LeverageModuleViewer

20 Jan 19:22
62def3e
Compare
Choose a tag to compare

Added following endpoints to Viewer contract:

  • getMaximumSetTokenIssueAmount - Maximum amount of SetTokens that can be minted (for Sets that hold Perp positions)
  • getVirtualAssetsDisplayInfo - Get info about all vAssets held by the Set.
  • getTotalCollateralUnit - Get position unit of Total Collateral held by Set

v0.1.9

03 Jan 20:14
b98d386
Compare
Choose a tag to compare
  • Add Decentraland (DG) token migrator contract PR 183

v0.1.6

14 Dec 23:28
fc90605
Compare
Choose a tag to compare
  • Add PerpV2LeverageModule (#158 #177)
  • Fix typescript in published package so that importing utils and fixtures works (#173)

v0.1.0

09 Sep 23:39
59c819c
Compare
Choose a tag to compare

This release contains breaking changes in typechain artifacts distributed with this package, due to upgrading to the @typechain/hardhat plugin from hardhat-typechain.

To import ambient type definitions (.d.ts) from this package you must now pull directly from the typechain folder external to dist, e.g

import { Controller } from "@setprotocol/set-protocol-v2/typechain"

Summary:

  • upgrades Hardhat and associated deps to the London HF
  • upgrade ethers to latest for EIP1559 support
  • remove typechain file re-writing logic for installation and test commands
  • updates library link id generation for new format in typechain/hardhat

Added

  • @typechain/hardhat

Upgrades

  • hardhat -> v2.6.1
  • solidity-coverage -> v0.7.17
  • ethers -> 5.4.6
  • ethereum-waffle -> 3.4.0
  • typescript -> v4
  • typechain -> 5.1.2
  • @typechain/ethers-v5 -> 7.0.1

Removed (unused or replaced dev deps)

  • @typechain/truffle-4,
  • @typechain/truffle-5
  • @typechain/web3-1
  • hardhat-deploy
  • hardhat-typechain (replaced with/ @typechain/hardhat)

Additional

  • Rewrite all vyper-compiled contract abi gas fields to be string instead of number (for typechain).
  • Remove fix-typechain.js and misc typechain hack yarn commands

0.0.52

30 Aug 12:47
f2d67d1
Compare
Choose a tag to compare
  • Add Aave Leverage Module
  • Add Issuance Validation Utils library
  • Add Debt Issuance Module V2

v0.0.51

19 Aug 15:35
df81804
Compare
Choose a tag to compare
Rename contract to LendingPoolAddressesProviderMock (#126)

* Rename contract to LendingPoolAddressesProviderMock

* Bump package to 0.0.51

0.0.46

14 Jul 23:53
66f9172
Compare
Choose a tag to compare

Add multi-hop to UniswapV2IndexExchangeAdapter

0.0.44

07 Jul 15:21
76db026
Compare
Choose a tag to compare

Add AMMSplitter