Releases: mars-protocol/v1-fields-of-mars
Releases · mars-protocol/v1-fields-of-mars
v1.0.0
v1.0.0-rc3
- At the end of
update_position
andliquidate
function calls, purge the position from contract storage if it is empty. - Add new attributes
{bond,debt}_amount
to theposition_changed
event
v1.0.0-rc2
health
query now returns the amount of bonded LP tokens and debt tokens, in addition to their values- Added a new
positions
query which enumerates all positions
v1.0.0-rc1
Release candidate
v0.6.1
- Remove logics related to tax. Terraform Labs has introduced a governance proposal to reduce tax cap to zero, and ultimately remove the tax mechanism completely. Once this proposal is executed, it will no longer be necessary to include tax-related logics in the contracts.
- Add the snapshot functionality back. Snapshot was previously removed because the size of the contract's compiled bytecode exceeded the limit imposed by Terra blockchain. Now since we removed tax logics, we have enough space to add snapshots back.
v0.6.0
- Change of contract interface: replace
increase_position
/reduce_position
/pay_debt
with a single functionupdate_position
, which takes a list of user-definedAction
s. This gives much more flexibilities to frontends. - Integration with Astro generator
- Improvement to liquidation logic
- Fix a vulnerability related to the calculation of LP token value
- Split off asset adapters to a separate repository:
cw-asset