Skip to content

Commit 36b894e

Browse files
committed
Merge branch 'develop' into feat/swapper
2 parents 53573b5 + 332a647 commit 36b894e

File tree

14 files changed

+950
-2294
lines changed

14 files changed

+950
-2294
lines changed

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
1+
## [1.1.0-dev.1](https://github.com/VenusProtocol/venus-periphery/compare/v1.0.1-dev.1...v1.1.0-dev.1) (2025-12-02)
2+
3+
4+
### Features
5+
6+
* add Collateral swapper functionality ([9b4a131](https://github.com/VenusProtocol/venus-periphery/commit/9b4a1311f8c30005a86b925ce1b0b372a56dd3d6))
7+
* added debt swap feature ([429a814](https://github.com/VenusProtocol/venus-periphery/commit/429a814ffc8517b11f2ed2ac1dd00eeccb7e05f8))
8+
* utility to swap wbnb to bnb ([4884ea3](https://github.com/VenusProtocol/venus-periphery/commit/4884ea302c369d87038e897df1b2bed305f6bf17))
9+
10+
11+
### Bug Fixes
12+
13+
* added missing netspec and forceApprove ([11b59a1](https://github.com/VenusProtocol/venus-periphery/commit/11b59a1ddf9896e37ac683189bda6398f4d7d73a))
14+
* added unit tests for debt swap ([75821c6](https://github.com/VenusProtocol/venus-periphery/commit/75821c671beaddec1ad844b734488f2b841478f0))
15+
* expanded tests ([dee3f89](https://github.com/VenusProtocol/venus-periphery/commit/dee3f89345be52c9f832763d45d215c0ef9762a3))
16+
* fixed compiler error ([c83bb05](https://github.com/VenusProtocol/venus-periphery/commit/c83bb05f918b700d706426d2bd3db155f6adb81b))
17+
* fixed event name ([0c5d144](https://github.com/VenusProtocol/venus-periphery/commit/0c5d144ceb69f16579daef46980c3c921b2e0daa))
18+
* fixed fork tests ([b15c2d7](https://github.com/VenusProtocol/venus-periphery/commit/b15c2d716588c9af627bc8820f2dae4fa0ff8871))
19+
* fixed imports ([528402e](https://github.com/VenusProtocol/venus-periphery/commit/528402e89c638363f96f6e392dda6c31e4362abf))
20+
* fixed lint ([0943f62](https://github.com/VenusProtocol/venus-periphery/commit/0943f62dc04e127f3dbf7f409ba628896bc62213))
21+
* fixed ut ([35e8411](https://github.com/VenusProtocol/venus-periphery/commit/35e84115f6dfc9c6fa1df9dc513a171cf265072b))
22+
* fixed yarn lock ([1593207](https://github.com/VenusProtocol/venus-periphery/commit/15932074b0a1aa6d45ed833294001c29c2a4eeb7))
23+
* fixed yarn lock ([9e149df](https://github.com/VenusProtocol/venus-periphery/commit/9e149df8196d19a0706189f5d48ce51eaa602bc8))
24+
* implement fork tests for debt swap ([35ebe30](https://github.com/VenusProtocol/venus-periphery/commit/35ebe305f27a624b84714386264be6685e5fbc9d))
25+
* m02 ([cff664c](https://github.com/VenusProtocol/venus-periphery/commit/cff664cf7bbdf4503de68f399a21e58c22f5347b))
26+
* remove duplicate check ([95a87c0](https://github.com/VenusProtocol/venus-periphery/commit/95a87c030e208bda6b78bc72c0a5f43efb37257d))
27+
* renamed CollateralSwapper to PositionSwapper ([4555faa](https://github.com/VenusProtocol/venus-periphery/commit/4555faa6a4a1c34de54e8d0c63725d7b1e28bdd9))
28+
* renamed file ([ea4c952](https://github.com/VenusProtocol/venus-periphery/commit/ea4c9520c88ccdbfc6d30d727eabcd8000af213e))
29+
* s1 ([fbccb32](https://github.com/VenusProtocol/venus-periphery/commit/fbccb329847a5241362dde677be586f1d4be0ad3))
30+
* s3 ([7ab4537](https://github.com/VenusProtocol/venus-periphery/commit/7ab4537f379129f0baabdd36b9acb997067dd347))
31+
* update yarn.lock ([98a464b](https://github.com/VenusProtocol/venus-periphery/commit/98a464b8f2933111887298e2ef566aba5582e965))
32+
* upgrade vtoken ([055a55f](https://github.com/VenusProtocol/venus-periphery/commit/055a55fdc19432463980c83a76a5ecebccdc1273))
33+
* use facets with whitelisted feature ([2ba681f](https://github.com/VenusProtocol/venus-periphery/commit/2ba681f326d8cb4726a71af21cdaae98fb35f405))
34+
* use forceApprove ([2853954](https://github.com/VenusProtocol/venus-periphery/commit/2853954cd09a4daaf33ffcd1c87ef5e40d30cabd))
35+
* vlp-02 ([3852699](https://github.com/VenusProtocol/venus-periphery/commit/38526995a69fca00c1618dde5b84617cac4bfbe2))
36+
* vlp-02 ([f3088b2](https://github.com/VenusProtocol/venus-periphery/commit/f3088b27ee287bf3c891a23c39807dae5dabb518))
37+
* vlp-04 ([540a95e](https://github.com/VenusProtocol/venus-periphery/commit/540a95e7464e9072e82f1e34f53a2752b70140df))
38+
* vps-01 ([7d8a6ad](https://github.com/VenusProtocol/venus-periphery/commit/7d8a6ad565eb735d0cdc2fbe7518d854e9593460))
39+
* vps-01 ([aeeb8cf](https://github.com/VenusProtocol/venus-periphery/commit/aeeb8cfca14be53958307b8c5ca5bae9fc588e3a))
40+
* vps-02 ([2625454](https://github.com/VenusProtocol/venus-periphery/commit/26254543c225a68eaaecf46996527c83bc4bc0ae))
41+
* vps-02 ([9063796](https://github.com/VenusProtocol/venus-periphery/commit/9063796eff8e55c80476bf4b6c514804f751e64c))
42+
* vps-03 ([65cb255](https://github.com/VenusProtocol/venus-periphery/commit/65cb255d77dee91e2cfef6b55e2140f2756441a5))
43+
* vps-03 ([b209b9f](https://github.com/VenusProtocol/venus-periphery/commit/b209b9fec8ef5782cec70e8be28ffe3783d3fa15))
44+
* vps-03 ([8e1c7f9](https://github.com/VenusProtocol/venus-periphery/commit/8e1c7f9d2b27c8a245927495159b5fac1f89bc23))
45+
* vps-04 ([f249d4e](https://github.com/VenusProtocol/venus-periphery/commit/f249d4e535397cb086074c4932aadbe53e2c80a4))
46+
* vps-05 and vps-16 ([454b93e](https://github.com/VenusProtocol/venus-periphery/commit/454b93ec0e21a826fe2363b4b4b883c1503e96f4))
47+
* vps-06 ([6f52088](https://github.com/VenusProtocol/venus-periphery/commit/6f52088a0995d2e59671f8d6a6c3450ac111eb91))
48+
* vps-07 ([991d561](https://github.com/VenusProtocol/venus-periphery/commit/991d5610dc7b5e39d81b38b9e0729506308ef9ac))
49+
* vps-13 ([e4f3997](https://github.com/VenusProtocol/venus-periphery/commit/e4f3997f2af9f87f897cfed396ebcb02fd0425e2))
50+
* vps-14 ([bc86a53](https://github.com/VenusProtocol/venus-periphery/commit/bc86a533a4d7d95af05904355acc5c6ebdff32ce))
51+
* vps-15 ([11c448d](https://github.com/VenusProtocol/venus-periphery/commit/11c448d33182a5211c74e48ec5691c7ac16c962d))
52+
53+
## [1.0.1-dev.1](https://github.com/VenusProtocol/venus-periphery/compare/v1.0.0...v1.0.1-dev.1) (2025-10-20)
54+
55+
56+
### Bug Fixes
57+
58+
* fixed contract verification ([9f0293e](https://github.com/VenusProtocol/venus-periphery/commit/9f0293e7c0d53815f847c48d06fcdd47e6ae7d6c))
59+
160
## 1.0.0 (2025-07-31)
261

362

contracts/test/Imports-legacy.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { InterestRateModelHarness } from "@venusprotocol/venus-protocol/contracts/test/InterestRateModelHarness.sol";
12
// SPDX-License-Identifier: BSD-3-Clause
23
pragma solidity 0.5.16;
34

contracts/test/Imports.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
pragma solidity 0.8.25;
33

4+
import { IAccessControlManagerV8 } from "@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol";
45
import { ComptrollerMock } from "@venusprotocol/venus-protocol/contracts/test/ComptrollerMock.sol";
56
import { VBNB } from "@venusprotocol/venus-protocol/contracts/Tokens/VTokens/VBNB.sol";
67
import { Diamond } from "@venusprotocol/venus-protocol/contracts/Comptroller/Diamond/Diamond.sol";

deployments/bscmainnet/SwapHelper.json

Lines changed: 2 additions & 5 deletions
Large diffs are not rendered by default.

deployments/bscmainnet/solcInputs/4c6c3ced8b62cc3ecee2f6cfbd2182da.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@
7878
"userdoc",
7979
"evm.gasEstimates"
8080
],
81-
"": [
82-
"ast"
83-
]
81+
"": ["ast"]
8482
}
8583
},
8684
"metadata": {
8785
"useLiteralContent": true
8886
}
8987
}
90-
}
88+
}

deployments/bscmainnet/solcInputs/5daf1620a8af9648f7f80eb086519ad7.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@
7878
"userdoc",
7979
"evm.gasEstimates"
8080
],
81-
"": [
82-
"ast"
83-
]
81+
"": ["ast"]
8482
}
8583
},
8684
"metadata": {
8785
"useLiteralContent": true
8886
}
8987
}
90-
}
88+
}

deployments/bsctestnet/SwapHelper.json

Lines changed: 2 additions & 5 deletions
Large diffs are not rendered by default.

deployments/bsctestnet/solcInputs/4c6c3ced8b62cc3ecee2f6cfbd2182da.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@
7878
"userdoc",
7979
"evm.gasEstimates"
8080
],
81-
"": [
82-
"ast"
83-
]
81+
"": ["ast"]
8482
}
8583
},
8684
"metadata": {
8785
"useLiteralContent": true
8886
}
8987
}
90-
}
88+
}

deployments/bsctestnet/solcInputs/5daf1620a8af9648f7f80eb086519ad7.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@
7878
"userdoc",
7979
"evm.gasEstimates"
8080
],
81-
"": [
82-
"ast"
83-
]
81+
"": ["ast"]
8482
}
8583
},
8684
"metadata": {
8785
"useLiteralContent": true
8886
}
8987
}
90-
}
88+
}

hardhat.config.zksync.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,23 @@ const config: HardhatUserConfig = {
5151
},
5252
solidity: {
5353
compilers: [
54+
{
55+
version: "0.8.28",
56+
settings: {
57+
optimizer: {
58+
enabled: true,
59+
details: {
60+
yul: !process.env.CI,
61+
},
62+
},
63+
evmVersion: "cancun",
64+
outputSelection: {
65+
"*": {
66+
"*": ["storageLayout"],
67+
},
68+
},
69+
},
70+
},
5471
{
5572
version: "0.8.25",
5673
settings: {

0 commit comments

Comments
 (0)