-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new mirror_admin_manager contract * integrate admin_manager with governance, multiple poll types with different parameters * add the hability to change the mir-ust pair on collector * add collector migration logic * feat: ability to deprecate a staking token * add migration loogic for staking pool_infos * feat: integrate collateral_oracle with new tefi_oracle * fix test and typos, closes #77 * feat: integrate mint contract with new oracle and preIPO mech * feat: update mAsset whitelisting process to use new oracle and preIPO mech * chore: update admin_manager schema * chore: fmt and clippy * chore: fmt, clippy and generate schemas * fix(col_oracle): change is_revoked migration to consider rewly revoked assets * fix(col_oracle): add missing migrate_config funtion to migration entry point * fix(gov): minor fixes * make gov update_config an admin action * chore: fmt & clippy fixes * fix typos * gov: add poll_gas_limit parameter to prevent ghost failed polls * gov: add unit tests for new poll configs * migrate MIR-UST pair on contract migration (collector, staking) + add friendlier staking error for deprecated token * fix: modify bond migration check to have new addresses marked as migrated * remove unnecessary optional storage parameter + minor optimization * add admin_action to PollResponse * prevent converting address 2 times * update versions to v2.2.0 * update tefi_oracle to latest version, improved whitelisting process * col_oracle: migrate anchor oracle source to mirror tefi oracle * remove previous staking migration logic * change oracle address on factory/mint contracts migration * fix pagination on descending positions query * import tefi-oracle package from crates.io * update CHANGELOG and optimizer version
- Loading branch information
Showing
67 changed files
with
1,466 additions
and
1,511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# 2.1.4 | ||
# 2.2.0 - Re-release | ||
|
||
* Auction discount fix for mint contract #92 | ||
* Restore the updates for v2.2.0 that were postponed (#93) | ||
* First round of preparations for Astroport migration (#80) | ||
* Allow governance voters to execute migrations with a new admin_manager contract (#81) | ||
* Integrate with the new oracle contracts (#81) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 13 additions & 2 deletions
15
contracts/mirror_collateral_oracle/schema/migrate_msg.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "MigrateMsg", | ||
"description": "We currently take no arguments for migrations", | ||
"type": "object" | ||
"type": "object", | ||
"required": [ | ||
"anchor_tefi_oracle_addr", | ||
"mirror_tefi_oracle_addr" | ||
], | ||
"properties": { | ||
"anchor_tefi_oracle_addr": { | ||
"type": "string" | ||
}, | ||
"mirror_tefi_oracle_addr": { | ||
"type": "string" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.