From ac2526653b9c1aef90709d79259ccdaad0726bd2 Mon Sep 17 00:00:00 2001 From: Usn Zorro <> Date: Wed, 29 Jun 2022 22:36:35 +0300 Subject: [PATCH] 2.0.0: Transition to a stable collateral backing (USDT/USDC/etc). 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%). --- Cargo.toml | 2 +- tests/tests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 74b9a03..fdb886b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2018" name = "usn" -version = "1.1.1" +version = "2.0.0" [lib] crate-type = ["cdylib"] diff --git a/tests/tests.js b/tests/tests.js index 34aee77..396e64b 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -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\..\../); }); });