Skip to content

Commit

Permalink
2.0.0: Transition to a stable collateral backing (USDT/USDC/etc).
Browse files Browse the repository at this point in the history
1. Depricate `buy`/`sell` (restrict exchanging USN for NEAR).
2. Add deposit/withdraw mechanics to exchange USN for USDT/USDC/DAI collateral.
3. Commission: 0.01%.
4. `withdraw_stable_pool` for moving out a stable pool liquidity via DAO (up to 5%).
  • Loading branch information
Usn Zorro committed Jun 29, 2022
1 parent 3a3818d commit ac25266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2018"
name = "usn"
version = "1.1.1"
version = "2.0.0"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const GAS_FOR_CALL = '200000000000000'; // 200 TGas
describe('Smoke Test', function () {
it('should get a version', async () => {
const version = await global.aliceContract.version();
assert.match(version, /1\..\../);
assert.match(version, /2\..\../);
});
});

Expand Down

0 comments on commit ac25266

Please sign in to comment.