Releases: linear-protocol/phoenix-bonds
Releases · linear-protocol/phoenix-bonds
Phoenix Bonds v1.1.0
Introduce new feature Bond with $LiNEAR, and add view functions for contract source metadata and lost&found total amount.
What's Changed
- chore: update deploy script by @dongcool in #61
- feat: contract source metadata by @linguists in #62
- feat: bond with LiNEAR by @dongcool in #59
- docs: mechanism by @dongcool in #63
- chore: phoenix bonds v1.1.0 release by @linguists in #64
- fix: keep pNEAR price consistent when bond with LiNEAR by @dongcool in #65
- feat: get total lost and found amount by @dongcool in #66
Full Changelog: v1.0.1...v1.1.0
Phoenix Bonds v1.0.1
This patch fixes the alpha calculation issue when mean length of pending bonds exceeds target length
What's Changed
- feat(cli): transfer LiNEAR rewards from DAO by @dongcool in #57
- fix: alpha calculation when mean length exceeds target by @dongcool in #58
- chore: phoenix bonds v1.0.1 release by @linguists in #60
Full Changelog: v1.0.0...v1.0.1
Phoenix Bonds v1.0.0
This is Phoenix Bonds v1.0.0 release, which includes all the key features:
- Bond: user bonds
$n$ NEAR, and create a new bond note with bonding amount set to$n$ - Cancel: user cancels a bond with amount
$n$ , and receives LiNEAR with value equals to$n$ NEAR - Commit: user commits a bond note with amount
$n$ NEAR to receive pNEAR minted for her/him - Redeem: user redeems
$p$ pNEAR, and will receive LiNEAR based on the pNEAR redemption price
What's Changed
- feat: list all bond notes by @Arkff in #32
- fix: reserve pool calculation by @linguists in #33
- fix: linear amount calculation for
cancel
,redeem
andwithdraw_treasury
by @linguists in #34 - feat: accrual info by @dongcool in #35
- feat: cli by @dongcool in #31
- feat: add bond note ID to linear transfer memo when cancel by @0xdefacto in #36
- refactor: move internal methods out of
near_bindgen
block by @0xdefacto in #37 - chore: testnet env by @linguists in #38
- feat: change mean length type and add into summary by @dongcool in #40
- refactor: optimize redeem by @dongcool in #41
- feat: pNEAR token icon by @linguists in #48
- chore: lint bin folder by @dongcool in #47
- test: pause contract by @dongcool in #43
- chore: two more dev environments by @linguists in #45
- chore: staging env by @dongcool in #50
- cli: treasury withdraw by @dongcool in #46
- test: small change when stake to LiNEAR by @dongcool in #49
- doc: update readme by @dongcool in #54
- chore: add license by @dongcool in #44
- chore: prod config by @dongcool in #52
- fix:
upgrade()
not requires 1 yN and CLI cmd that proposes upgrade by @dongcool in #53 - chore: lint-staged warning by @linguists in #55
- chore: phoenix bonds v1.0.0 release by @linguists in #56
Full Changelog: v0.1.0...v1.0.0
Phoenix Bonds v0.1.0
This is an internal release that marks the version that is ready for auditing and testnet testing, which includes major features in Phoenix Bonds:
- Bond: user bonds
$n$ NEAR, and create a new bond note with bonding amount set to$n$ - Cancel: user cancels a bond with amount
$n$ , and receives LiNEAR with value equals to$n$ NEAR - Commit: user commits a bond note with amount
$n$ NEAR to receive pNEAR minted for her/him - Redeem: user redeems
$p$ pNEAR, and will receive LiNEAR based on the pNEAR redemption price.
What's Changed
- feat: init phoenix bonds by @dongcool in #2
- feat: bootstrap period by @dongcool in #3
- github CI by @dongcool in #6
- feat: alpha calculation by @dongcool in #4
- chore: remove unused file by @dongcool in #8
- fix: change weighted sum to big decimal by @dongcool in #9
- fix: assert accrual config by @linguists in #17
- feat: gas and integration tests by @dongcool in #7
- test: integration tests of bond note interfaces by @0xdefacto in #19
- fix: fix typos using CSpell by @0xdefacto in #20
- fix: assert tau by @linguists in #16
- style: fix comments by @linguists in #14
- feat: bond note block height by @dongcool in #23
- feat: use ft standard storage impl by @linguists in #22
- feat: get_summary by @dongcool in #21
- feat: contract upgradability by @linguists in #15
- test: lost and found by @dongcool in #13
- feat: pause contract by @dongcool in #24
- fix: refund all deposits when bond failed and redeem amount cannot be 0 by @linguists in #28
- feat: fit with LiNEAR stake interface by @linguists in #26
- feat: treasury withdraw by @dongcool in #25
- feat: add note ID to bond event by @linguists in #30
- test: several corner cases by @linguists in #29
Full Changelog: https://github.com/linear-protocol/phoenix-bonds/commits/v0.1.0