File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
technical-reference/reference-technical-articles Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 30
30
* VenusERC4626Factory: [ ` 0xC6C8249a0B44973673f3Af673e530B85038a0480 ` ] ( https://sepolia.arbiscan.io/address/0xC6C8249a0B44973673f3Af673e530B85038a0480 )
31
31
* VenusERC4626Implementation: [ ` 0x3442ACDbCc927cC401236C69a14ca909fC5B14ba ` ] ( https://sepolia.arbiscan.io/address/0x3442ACDbCc927cC401236C69a14ca909fC5B14ba )
32
32
33
- ## zkSync Mainnet
33
+ ## ZKSync Mainnet
34
34
35
35
* VenusERC4626Factory: [ ` 0xDC59Dd76Dd7A64d743C764a9aa8C96Ff2Ea8BAc3 ` ] ( https://explorer.zksync.io/address/0xDC59Dd76Dd7A64d743C764a9aa8C96Ff2Ea8BAc3 )
36
36
* VenusERC4626Implementation: [ ` 0xBd86974B3a7348AC153aEFEe5Dc5111246a99c11 ` ] ( https://explorer.zksync.io/address/0xBd86974B3a7348AC153aEFEe5Dc5111246a99c11 )
37
37
38
- ## zkSync Sepolia
38
+ ## ZKSync Sepolia
39
39
40
40
* VenusERC4626Factory: [ ` 0xa30dcc21B8393A4031cD6364829CDfE2b6D7B283 ` ] ( https://sepolia.explorer.zksync.io/address/0xa30dcc21B8393A4031cD6364829CDfE2b6D7B283 )
41
41
* VenusERC4626Implementation: [ ` 0x97ab473c81C5E654B71690e3B4225180C687E3eB ` ] ( https://sepolia.explorer.zksync.io/address/0x97ab473c81C5E654B71690e3B4225180C687E3eB )
Original file line number Diff line number Diff line change @@ -703,8 +703,8 @@ These contracts were in the scope of the audits done before the launch of Isolat
703
703
** Scope** : VenusERC4626 Vaults
704
704
705
705
* [ Certik audit report] ( https://github.com/VenusProtocol/isolated-pools/blob/1faa46139aaec06e0eb2e48341bff22cd6c38c6c/audits/129_erc4626_certik_20250514.pdf )
706
- * [ FairyProof audit report] ( https://github.com/VenusProtocol/isolated-pools/blob/1faa46139aaec06e0eb2e48341bff22cd6c38c6c/audits/130_erc4626_fairyproof_20250414.pdf )
707
706
* [ Pessimistic audit report] ( https://github.com/VenusProtocol/isolated-pools/blob/1faa46139aaec06e0eb2e48341bff22cd6c38c6c/audits/131_erc4626_pessimistic_20250502.pdf )
707
+ * [ FairyProof audit report] ( https://github.com/VenusProtocol/isolated-pools/blob/1faa46139aaec06e0eb2e48341bff22cd6c38c6c/audits/130_erc4626_fairyproof_20250414.pdf )
708
708
709
709
<details >
710
710
<summary >Detailed scope</summary >
Original file line number Diff line number Diff line change @@ -192,9 +192,12 @@ contract VenusERC4626 is
192
192
193
193
#### Core ERC-4626 Functions
194
194
195
- - ** ` deposit(uint256 assets, address receiver) ` ** : Deposits assets and mints shares to the receiver.
196
- - ** ` mint(uint256 shares, address receiver) ` ** : Mints exact shares by depositing required assets.
197
- - ** ` withdraw(uint256 assets, address receiver, address owner) ` ** : Withdraws exact assets and burns shares from the owner.
195
+ - ** ` deposit(uint256 assets, address receiver) ` ** : Deposits assets and mints shares to the receiver.
196
+ - Note - It can mint slightly fewer shares than requested, because vToken.mint rounds down.
197
+ - ** ` mint(uint256 shares, address receiver) ` ** : Mints exact shares by depositing required assets.
198
+ - Note - It can mint slightly fewer shares than requested, because vToken.mint rounds down.
199
+ - ** ` withdraw(uint256 assets, address receiver, address owner) ` ** : Withdraws exact assets and burns shares from the owner.
200
+ - Note - Receiver can receive slightly more assets than requested, because VToken.redeemUnderlying rounds up
198
201
- ** ` redeem(uint256 shares, address receiver, address owner) ` ** : Redeems exact shares and transfers assets to the receiver.
199
202
- ** ` totalAssets() ` ** : Returns the total underlying assets held by the vault.
200
203
You can’t perform that action at this time.
0 commit comments