Recent Releases of @primitivefi/rmm-core
@primitivefi/rmm-core - Mainnet Release
What's Changed
- perf: assorted optimizations by @transmissions11 in https://github.com/primitivefinance/rmm-core/pull/254
- Release beta.5 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/259
- Echidna/e2e swap by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/266
- fix: spelling by @rajivpo in https://github.com/primitivefinance/rmm-core/pull/262
- Mainnet Release by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/283
- Trail of Bits: Echidna Fuzzing by @NatalieChin80 in https://github.com/primitivefinance/rmm-core/pull/260
- Add ToB Audit and Fix Verify Script by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/284
- Feat/dodoc update by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/285
New Contributors
- @transmissions11 made their first contribution in https://github.com/primitivefinance/rmm-core/pull/254
- @rajivpo made their first contribution in https://github.com/primitivefinance/rmm-core/pull/262
- @NatalieChin80 made their first contribution in https://github.com/primitivefinance/rmm-core/pull/260
Full Changelog: https://github.com/primitivefinance/rmm-core/compare/v1.13.3...v2.0.0
- Solidity
Published by Alexangelj almost 4 years ago
@primitivefi/rmm-core - v1.0.0 Release
What's Changed
- Develop by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/1
- Feature/sim by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/7
- Feature/sim by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/6
- Feature/swaps by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/8
- Feature/lending by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/9
- lending changes by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/10
- Clean/initial refactor by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/11
- Feature/lending improvement by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/12
- Feature/refactored tests by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/13
- Tests/engine by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/14
- Feature/house by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/15
- Feature/factory by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/16
- Feature/interfaces by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/17
- feat(ERC3156): Adds the flash loan EIP to the Engine. by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/21
- Feature/house tests by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/23
- Feature/fees by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/22
- Feature/house liquidity by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/31
- Feature/oracle by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/24
- Feature/house borrow by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/32
- Feature/natspec by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/33
- Fix/natspec compile by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/36
- Remove unneeded margin deposit by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/38
- Draft/v0.1 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/37
- test: wip refactoring by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/39
- Test/better tools by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/45
- Fix/create test by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/52
- Refactor/engine tests by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/53
- Test/engine deposit by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/54
- Test/engine withdraw by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/55
- feat(uint128): Updates Margin.Data to have two uint128s, uses 1 stora… by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/56
- Refactor/calibration - Merge after refactor/margin by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/57
- Refactor/liquidity methods - Merge after refactor/calibration by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/59
- Refactor/position - Merge after merging refactor/liquidity-methods by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/60
- Test/load context by @clemlak in https://github.com/primitivefinance/rmm-core/pull/62
- Test/swap by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/64
- Refactor/test context by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/65
- Refactor/fix test context use by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/66
- Refactor/engine callbacks by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/67
- Create refactored to take in liquidity and add to pos of sender. by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/69
- Cleanup/dead fixtures files by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/70
- Alex/engine and cleanup by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/71
- Remove house by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/74
- Test/engine remove by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/76
- Add lend tests by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/77
- Test/libraries by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/79
- Main for audit scope by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/84
- Chore/setup by @clemlak in https://github.com/primitivefinance/rmm-core/pull/88
- Refactor/engine extra by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/89
- Add borrow tests: by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/90
- Refactor/reserve lib by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/91
- Refactor/engine functions by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/96
- Test/clement by @clemlak in https://github.com/primitivefinance/rmm-core/pull/99
- fix(create-tests): Fixed the create unit tests for engine and factory. by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/100
- Fix/engine lending by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/103
- fix(#105): Removes the returns in the libs for returning storage item. by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/108
- fix(#110, #98, #97): Updates Engine with new Calibration struct and t… by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/111
- chore: add npmrc and update package.json by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/112
- chore: add core contracts to module for periphery tests by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/113
- feat(sdk): Adds a typescript representation of the PrimitiveEngine.sol. by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/101
- Fix/unit tests by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/115
- Fix/swap tests july by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/118
- Fix/engine trading function by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/119
- Feature/config in context by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/121
- fix(borrow): remove requirement for no active liquidity on borrow by @kinrezC in https://github.com/primitivefinance/rmm-core/pull/122
- Feature/better test context by @clemlak in https://github.com/primitivefinance/rmm-core/pull/123
- Test/math step tests by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/124
- Release/v0.1.0 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/126
- Main: Release v0.1.0 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/127
- feat: include TypeChain defs into package by @clemlak in https://github.com/primitivefinance/rmm-core/pull/128
- Feat/arb.py by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/129
- Style/sim comments by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/130
- Fix/neg tau by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/131
- fix(swap-test): moves low wei swaps to fail cases, fixes with new con… by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/133
- feat(ci/cd): compilation w/ dummy private key + cloud testing by @zachdt in https://github.com/primitivefinance/rmm-core/pull/135
- Feat/reduce code by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/137
- Build/update packages by @clemlak in https://github.com/primitivefinance/rmm-core/pull/138
- Feat/solidity updates by @clemlak in https://github.com/primitivefinance/rmm-core/pull/141
- Test/more tests by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/143
- refactor(lock-error): moves lock error to errors interface by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/153
- Refactor/borrow margin by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/154
- refactor(create): removes logic from create that requires payment by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/152
- Alex/8121 - Fixed my posted issues by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/155
- Fix/swap tests by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/159
- feat(remove-flash-loan): removes flash loans from engine by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/160
- Test/new custom matchers by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/169
- Test/simplify by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/171
- Fix/tau 0 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/177
- Test/engine test aug12 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/178
- refactor(remove-black-scholes): removes blackscholes lib by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/179
- feat(liq-factor): adds a liquidity factor to float of 80% by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/183
- Release/v0.2.0 - Audit Freeze Aug 13 2021 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/185
New Contributors
- @kinrezC made their first contribution in https://github.com/primitivefinance/rmm-core/pull/9
- @zachdt made their first contribution in https://github.com/primitivefinance/rmm-core/pull/135
Full Changelog: https://github.com/primitivefinance/rmm-core/commits/v1.0.0
- Solidity
Published by Alexangelj about 4 years ago
@primitivefi/rmm-core - v1.0.0-rc.2
Full Changelog: https://github.com/primitivefinance/rmm-core/compare/v1.13.3...v1.0.0-rc.2
- Solidity
Published by Alexangelj about 4 years ago
@primitivefi/rmm-core - v1.0.0-rc.1
What's Changed
- Release Candidate 1: ToB Audit Fixes by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/268
- perf: assorted optimizations by @transmissions11 in https://github.com/primitivefinance/rmm-core/pull/254
- Release beta.5 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/259
- fix: spelling by @rajivpo in https://github.com/primitivefinance/rmm-core/pull/262
New Contributors
- @transmissions11 made their first contribution in https://github.com/primitivefinance/rmm-core/pull/254
- @rajivpo made their first contribution in https://github.com/primitivefinance/rmm-core/pull/262
Full Changelog: https://github.com/primitivefinance/rmm-core/compare/v1.13.3...v1.0.0-rc.1
- Solidity
Published by Alexangelj about 4 years ago
@primitivefi/rmm-core - v2.0.0-beta.5
What's Changed
- perf: assorted optimizations by @transmissions11 in https://github.com/primitivefinance/rmm-core/pull/254
- Release beta.5 by @Alexangelj in https://github.com/primitivefinance/rmm-core/pull/259
New Contributors
- @transmissions11 made their first contribution in https://github.com/primitivefinance/rmm-core/pull/254
Full Changelog: https://github.com/primitivefinance/rmm-core/compare/v1.13.3...v2.0.0-beta.5
- Solidity
Published by Alexangelj about 4 years ago
@primitivefi/rmm-core - v2.0.0-beta.1
Release Candidate - Beta 1
- Solidity
Published by Alexangelj about 4 years ago
@primitivefi/rmm-core - v1.13.3
1.13.3 (2021-11-09)
Bug Fixes
- whitepaper: adds the whitepaper to readme (73b3edf)
- Solidity
Published by Alexangelj over 4 years ago
@primitivefi/rmm-core - v1.13.2
1.13.2 (2021-11-07)
Bug Fixes
- readme: updates readme to force push semantic release (47119f5)
- Solidity
Published by Alexangelj over 4 years ago
@primitivefi/rmm-core - v1.12.1
1.12.1 (2021-11-05)
Bug Fixes
- G-01, G-02: gas optimizations in packing SwapDetails struct and unlocked variable (480cff2)
- L-01: incorrect error parameter (28cf7fb)
- L-05, create strike: fixes types in create event and strike as uint128 arg (f379780)
- L-05: pool creation arguments boundry check comments fix (f7a74f5)
- Solidity
Published by Alexangelj over 4 years ago
@primitivefi/rmm-core - v1.11.0
1.11.0 (2021-10-27)
Bug Fixes
- #240-A4: optimizes with uint64 sigma -> uint32 (5191969), closes #240-A4
- strike-check: moves strike check back to where it was in create (f6a1699)
- test: adds fees to pools and fixes test suite (e9d6971)
Features
- fee: adds a gamma item to the calibration struct (02bb9c0)
- Solidity
Published by Alexangelj over 4 years ago
@primitivefi/rmm-core - v1.10.0
1.10.0 (2021-10-07)
Features
- Solidity
Published by Alexangelj over 4 years ago
@primitivefi/rmm-core - v1.9.0
1.9.0 (2021-09-27)
Features
- readme: fixes readme to force semantic release (3ddeeab)
- Solidity
Published by Alexangelj over 4 years ago
@primitivefi/rmm-core - v1.6.0
1.6.0 (2021-09-12)
Bug Fixes
- 99: comment in safe transfer lib (523c5e0)
- cleanup: updates readme (501a9ca)
- cvf:1-12: remaining issues in cumulative cdf (eda5fba)
- cvf:13: removed from codebase (3be17d6)
- cvf:16: casts reserve values to uint256 before multiplying by delta time (762a32e)
- cvf:17: only sets reserve block timestamp if its new (f6519d1)
- cvf:23: removes timestamp arg from event (9002487)
- cvf:24: uses current tense events (d912c1f)
- cvf:25: number formats in natspec (6bcfd73)
- cvf:29: clearer natspec for swap direction (cd31a00)
- cvf:37: adds out of bounds error for delLiquidity (87a7d14)
- cvf:38: adds explicit pool expired error in create (b56ed17)
- cvf:39: uses PRECISION instead of 1e18 (bc84c9a)
- cvf:43,tests: moves state fns to above callbacks, fixes tests failing (60a4597)
- cvf:46: adds compile time constant for min liquidity (05285a0)
- cvf:50: reverts if both amounts 0 on deposit or withdraw (b4e9dad)
- cvf:54: fixes docstring for PoolExpiredError (11c2ef3)
- cvf:56: adds compile time constants (4d66e30)
- cvf:58: adds a bool to deposit swap proceeds to margin (4706a80)
- cvf:65: uses uint256 in Reserve.getAmounts fn (156c9a5)
- cvf:66: adds outofbounds error to engine (d983afa)
- cvf:70: adds explicit check to check if engine is already deployed (df82155)
- cvf:72: natspec for sigma (7d6b8f0)
- cvf:75: unneeded comment (d370b9c)
- cvf87: better comments in View calibrations() (da23c52)
- min-liq: min liq is now an immutable variable calced from factory (de4dc9b)
- old-contracts: removes old test contracts (d6ecc8e)
- remaining: fixes remaining tests, swap failing (d643579)
- replication-math: tests work (c0fae7e)
- testing: most tests passing (dcbb12c)
- types: removes old name types (1d1e301)
Features
- cleanup: cleans up all contracts for final commit (db63fd9)
- cleanup: removes rest of borrow (0ad7f51)
- reduce: delete borrowing (edd91c4)
- swap-res: adds a better swap test (2a12c06)
- Solidity
Published by zachdt over 4 years ago
@primitivefi/rmm-core - v1.5.0
1.5.0 (2021-09-03)
Bug Fixes
- 5.15: gas optimization in deposit (0a20b38)
- borrow-tests: fixes tests for borrow after refactor (7c8d8ab)
- C-03: refactors Units library to consider precision, wip (2e4e84c)
- invariant-check: remove extra condition on swap invariant check (aba6bf5)
Features
- reserve-collateral: changes debt -> collateralRisky and collateralStable (1ac7017)
- Solidity
Published by zachdt over 4 years ago
@primitivefi/rmm-core - v1.4.0
1.4.0 (2021-09-02)
Bug Fixes
- 5.10,5.12: removes duplicate invariant checks in swap (1fbc1ae)
- 5.4: adds utilization check in Reserve.remove() (3fed652)
- 5.8: changes condition in bal calcs from && to || (9639a35)
- 5.9: adds getAmounts to reserve library for duplicate logic (b1dd78d)
- fee-system: introduces checkpoint fee growth system (2774705)
- invariant-precision: invariant precision check fixed (49f8adc)
- L-03: changes return type uint128 -> uint64 on toUint64 fn (06b2196)
- L-04: adds checkUtilization fn to Reserve.sol, removes duplicate logic (0a1337e)
- L-04: adds two private functions to compare balances (b308980)
- lib-updates: begin fee fixing (294cbec)
- M-01: moves acumulator to happen before reserve updates (550b782)
- poolId-checks: adds checks to make sure pool is initialized (4bb626f)
- revert-invariant: revert positive invariant check to compare against 0 (3549dc5)
- updateFeeGrowth: adds an unchecked block when getting checkpoint deltas (0dfe5a8)
- utilization: removes the duplicate code and replaces with checkUtilization (522b501)
- zero-float: adds a check on float > 0 in swap, if positive invariant occurs (aa9a567)
Features
- borrow-fee: adds a fee in borrow that is sent to reserve extra fees (8257264)
- check-expiry: prevents borrow and allocate in expired pools (86482ec)
- fee-segmentation: adds a fee state in reserve to track excess borrow/swap fees (d567a35)
- repay-rebate: adds a 5 bip rebate to repay function (3ea5f4b)
- Solidity
Published by zachdt over 4 years ago
@primitivefi/rmm-core - v1.3.0
1.3.0 (2021-08-27)
Bug Fixes
- borrow-0-check: check and allow one collateral param to be 0 (c22661f)
- error-log: remove yarn error log (4b6c10d)
- events: adds params to borrow repay events (6d6e607)
- repay-borrow: resets inputs to 0 if used (1fecd74)
- std: stack too deep errors (0b06254)
- tests: tests for repay and borrow fixed, with changes to engine (f539568)
Features
- bump package version (311a00b)
- #186: add updateLastTimestamp fn (d666cd7), closes #186
- grace: adds a grace period in repay (4a5db23)
- Solidity
Published by zachdt over 4 years ago
@primitivefi/rmm-core - v1.2.0
1.2.0 (2021-08-13)
Features
- audit-freeze: release v0.2.0 for audit freeze aug 13 (9c2111f)
- Solidity
Published by zachdt over 4 years ago