Phoenix Bonds v0.1.0
Pre-release
Pre-release
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