Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

2 fix review #75

Merged
merged 100 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
e4e0017
feat: automatic mint deposit vault without tests
gomel-tdl1 Jul 17, 2024
7052bc8
feat: automatic deposit mint tests
gomel-tdl1 Jul 17, 2024
94410bb
feat: initial fee
gomel-tdl1 Jul 18, 2024
e403c1f
feat: limits
gomel-tdl1 Jul 18, 2024
c70d51a
feat: set daily limit method
gomel-tdl1 Jul 18, 2024
551165f
feat: depositInstant functionality and tests
gomel-tdl1 Jul 22, 2024
a162538
feat: depositInstant tests
gomel-tdl1 Jul 23, 2024
eb43b42
feat: depositRequest test complex
gomel-tdl1 Jul 24, 2024
3f802d2
feat: toggle greenlist
gomel-tdl1 Jul 24, 2024
21a808d
feat: greenlist for depositVault implementation
gomel-tdl1 Jul 24, 2024
8001fe9
feat: blacklist implementation to depositVault
gomel-tdl1 Jul 24, 2024
35eaee8
chore: sanctions list base contracts
kostyamospan Jul 25, 2024
1d5a298
chore: tests for withSanctionsList
kostyamospan Jul 25, 2024
ee0aaf3
chore: sanctions list integration into deposit vault
kostyamospan Jul 25, 2024
88a72a4
chore: deposit tests for sanctioned user
kostyamospan Jul 25, 2024
4459837
chore: sanctions list natspec
kostyamospan Jul 25, 2024
6447ac1
Merge pull request #54 from RedDuck-Software/feat/chainalysis-sanctio…
gomel-tdl1 Jul 26, 2024
e74ac8f
feat: safe approve without tests
gomel-tdl1 Jul 26, 2024
a9cc996
feat: tests for variability tolarance
gomel-tdl1 Jul 26, 2024
83adeb3
feat: redemption instant and request with tests
gomel-tdl1 Jul 30, 2024
ca2b402
feat: fiat redeem request with tests
gomel-tdl1 Jul 30, 2024
60b8cf1
feat: redeption vault all tests
gomel-tdl1 Jul 31, 2024
99f8df3
fix: test
gomel-tdl1 Jul 31, 2024
3be1d68
feat: managable vault notespec
gomel-tdl1 Jul 31, 2024
e476eba
feat: greenlist notespec
gomel-tdl1 Jul 31, 2024
126ed8c
feat: remane variables to more understandable
gomel-tdl1 Jul 31, 2024
8778a01
feat: redemption vaut notespec
gomel-tdl1 Jul 31, 2024
6cfa45d
fix: rest rests
gomel-tdl1 Jul 31, 2024
69d4368
feat: minting referrer id
gomel-tdl1 Aug 1, 2024
e2ec7dd
feat: fn pauser
gomel-tdl1 Aug 1, 2024
8efc93a
fix: structs explicit field initialization
gomel-tdl1 Aug 1, 2024
30e95ff
fix: red dep vauls approve request
gomel-tdl1 Aug 1, 2024
12ade80
fix: removed duplicates
gomel-tdl1 Aug 1, 2024
7a4d97a
fix: rename minAmountToFirstDeposit
gomel-tdl1 Aug 1, 2024
499189d
fix: added fee > 100% validation
gomel-tdl1 Aug 1, 2024
31695f7
feat: setTokenFee functionality and tests
gomel-tdl1 Aug 1, 2024
b1f0f28
fix: formula of price diviation on custom aggregator
gomel-tdl1 Aug 1, 2024
aa97b73
fix: greenlist for fiat
gomel-tdl1 Aug 1, 2024
7413870
fix: notescec
gomel-tdl1 Aug 1, 2024
f6c5f10
fix: request id
gomel-tdl1 Aug 2, 2024
347dcce
fix: fee validation func
gomel-tdl1 Aug 2, 2024
37cc7fa
fix: addresses validation and comments
gomel-tdl1 Aug 2, 2024
c162d1f
fix: remove unsensable require
gomel-tdl1 Aug 2, 2024
05c9eb8
fix: test
gomel-tdl1 Aug 2, 2024
a8eefc2
fix: double check
gomel-tdl1 Aug 2, 2024
3ca1b44
feat: rewrite pause fn id to selectors
gomel-tdl1 Aug 2, 2024
2a26daa
feat: fist deposit in mToken
gomel-tdl1 Aug 2, 2024
aad3834
feat: min deposit amount in mToken
gomel-tdl1 Aug 2, 2024
704fca2
feat: no flat fees for waived
gomel-tdl1 Aug 2, 2024
e78c9a5
fix: remove only in tests
gomel-tdl1 Aug 2, 2024
b1ab350
feat: buidl interface
gomel-tdl1 Aug 5, 2024
c235631
fix: enable safe approve for fiat
gomel-tdl1 Aug 5, 2024
9cb371a
Merge branch 'private-audit' into feat/buidl-redemption
gomel-tdl1 Aug 5, 2024
929c4cb
feat: make initialize with structures
gomel-tdl1 Aug 5, 2024
33f7c1e
fix: tests
gomel-tdl1 Aug 5, 2024
5994bd1
feat: buidl redemption mock and tests
gomel-tdl1 Aug 6, 2024
0d5cc42
feat: mBasis redemption vault with swapper and tests
gomel-tdl1 Aug 8, 2024
962f932
feat: swapper and tests
gomel-tdl1 Aug 12, 2024
1d5d65d
fix: natspecs
gomel-tdl1 Aug 12, 2024
8eb364e
fix: double calculate fee issue
gomel-tdl1 Aug 12, 2024
6c4d0cf
fix: lastRequestId name
gomel-tdl1 Aug 12, 2024
f969c48
fix: diviation calc mul before div
gomel-tdl1 Aug 12, 2024
72f642a
feat: added stablecoin flag to token config
gomel-tdl1 Aug 13, 2024
22cab69
Merge commit '929c4cbfdaef4c1adb1e5d2ad0f180b5e2cbc078' into private-…
gomel-tdl1 Aug 13, 2024
04febe5
feat: make initialize with structures
gomel-tdl1 Aug 13, 2024
6e79f0c
feat: standart redeem address for pull tokens
gomel-tdl1 Aug 13, 2024
e6d9e26
feat: min receive amount for instant operations
gomel-tdl1 Aug 13, 2024
76d877e
fix: more readable conditions
gomel-tdl1 Aug 13, 2024
66120ee
Merge branch 'feat/buidl-and-swapper' into private-audit
gomel-tdl1 Aug 14, 2024
0d34257
fix: tests after merge
gomel-tdl1 Aug 14, 2024
4abcc5b
fix: natspecs
gomel-tdl1 Aug 14, 2024
eb26926
fix: added gaps
gymnasy55 Sep 2, 2024
e2f618b
fix: move limit updates
gymnasy55 Sep 2, 2024
2a3adbd
fix: added set tokens receiver function
gymnasy55 Sep 2, 2024
0353e34
fix: buidl redeem flow
kostyamospan Aug 30, 2024
caa434a
fix: buidl redeem flow tests
kostyamospan Aug 30, 2024
1f85108
fix: format
gymnasy55 Sep 3, 2024
f5e9dd5
fix: added min buidl redeem amount
gymnasy55 Sep 3, 2024
e9f9c13
fix: additional tests
gymnasy55 Sep 4, 2024
0facccc
Merge pull request #64 from RedDuck-Software/fix-review-103
gymnasy55 Sep 5, 2024
ddbedfe
Merge pull request #65 from RedDuck-Software/fix-review-110
gymnasy55 Sep 5, 2024
e7a549d
Merge pull request #66 from RedDuck-Software/fix-review-111
gymnasy55 Sep 5, 2024
6ef1c3c
Merge pull request #67 from RedDuck-Software/fix-review-99
gymnasy55 Sep 5, 2024
5409b1b
Merge pull request #68 from RedDuck-Software/fix-review-100
gymnasy55 Sep 5, 2024
287af69
fix: change allowance in redemption requests
gymnasy55 Sep 16, 2024
f425f35
fix: code coverage for abstract and started for else branches
gymnasy55 Sep 16, 2024
078cf60
fix: redemption vault initializer test
gymnasy55 Sep 16, 2024
d88050e
fix: allowance update for fiat in redeem request approval + tests
kostyamospan Sep 17, 2024
fe115b3
Merge branch 'fix-review-redeem-allowance' into fix/code-coverage
kostyamospan Sep 17, 2024
1bd507c
fix: coverage
kostyamospan Sep 18, 2024
6b86ad1
fix: codestyle
kostyamospan Sep 18, 2024
dc28696
Merge pull request #70 from RedDuck-Software/fix/code-coverage
kostyamospan Sep 18, 2024
4bde8dd
fix: buidl check out token
kostyamospan Sep 18, 2024
b4c69ad
Merge pull request #71 from RedDuck-Software/fix/buidl-check-out-token
kostyamospan Sep 19, 2024
9815d15
fix: gap storage pos
kostyamospan Sep 20, 2024
068fe3d
fix: min buidl balance var
kostyamospan Sep 20, 2024
c7ac667
fix: tests and codestyle
kostyamospan Sep 20, 2024
8166db7
chore: minBuidlBalance setter added
kostyamospan Sep 23, 2024
543b6eb
Merge pull request #73 from RedDuck-Software/fix/gap-position
kostyamospan Sep 23, 2024
21ab5ff
Merge pull request #74 from RedDuck-Software/fix/buidl-min-balance
kostyamospan Sep 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .openzeppelin/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@
"src": "contracts/DepositVault.sol:35"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "106",
"type": "t_struct(Counter)4184_storage",
Expand Down Expand Up @@ -754,7 +754,7 @@
"src": "contracts/abstract/ManageableVault.sol:52"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "105",
"type": "t_struct(Counter)4184_storage",
Expand Down Expand Up @@ -1172,7 +1172,7 @@
"src": "contracts/DepositVault.sol:35"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "206",
"type": "t_struct(Counter)4896_storage",
Expand Down Expand Up @@ -1418,7 +1418,7 @@
"src": "contracts/abstract/ManageableVault.sol:57"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "205",
"type": "t_struct(Counter)4896_storage",
Expand Down Expand Up @@ -1628,7 +1628,7 @@
"src": "contracts/abstract/ManageableVault.sol:57"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "205",
"type": "t_struct(Counter)4896_storage",
Expand Down Expand Up @@ -2050,7 +2050,7 @@
"src": "contracts/DepositVault.sol:35"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "206",
"type": "t_struct(Counter)4896_storage",
Expand Down
30 changes: 15 additions & 15 deletions .openzeppelin/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@
"src": "contracts\\DepositVault.sol:59"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "10",
"type": "t_struct(Counter)4184_storage",
Expand Down Expand Up @@ -947,7 +947,7 @@
"src": "contracts\\RedemptionVault.sol:44"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "7",
"type": "t_struct(Counter)4184_storage",
Expand Down Expand Up @@ -1215,7 +1215,7 @@
"src": "contracts\\DepositVault.sol:60"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "60",
"type": "t_struct(Counter)4268_storage",
Expand Down Expand Up @@ -1477,7 +1477,7 @@
"src": "contracts\\RedemptionVault.sol:45"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "57",
"type": "t_struct(Counter)4268_storage",
Expand Down Expand Up @@ -1759,7 +1759,7 @@
"src": "contracts\\DepositVault.sol:60"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "60",
"type": "t_struct(Counter)4980_storage",
Expand Down Expand Up @@ -2021,7 +2021,7 @@
"src": "contracts\\RedemptionVault.sol:45"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "57",
"type": "t_struct(Counter)4268_storage",
Expand Down Expand Up @@ -2279,7 +2279,7 @@
"src": "contracts\\RedemptionVault.sol:45"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "57",
"type": "t_struct(Counter)4268_storage",
Expand Down Expand Up @@ -2831,7 +2831,7 @@
"src": "contracts/abstract/ManageableVault.sol:57"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "106",
"type": "t_struct(Counter)4896_storage",
Expand Down Expand Up @@ -3041,7 +3041,7 @@
"src": "contracts/DepositVault.sol:35"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "107",
"type": "t_struct(Counter)4896_storage",
Expand Down Expand Up @@ -3491,7 +3491,7 @@
"src": "contracts/DepositVault.sol:35"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "206",
"type": "t_struct(Counter)4896_storage",
Expand Down Expand Up @@ -3729,7 +3729,7 @@
"src": "contracts/abstract/ManageableVault.sol:57"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "205",
"type": "t_struct(Counter)4896_storage",
Expand Down Expand Up @@ -3939,7 +3939,7 @@
"src": "contracts/DepositVault.sol:35"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "206",
"type": "t_struct(Counter)4184_storage",
Expand Down Expand Up @@ -4185,7 +4185,7 @@
"src": "contracts/abstract/ManageableVault.sol:57"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "205",
"type": "t_struct(Counter)4184_storage",
Expand Down Expand Up @@ -4607,7 +4607,7 @@
"src": "contracts/DepositVault.sol:35"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "206",
"type": "t_struct(Counter)4184_storage",
Expand Down Expand Up @@ -4853,7 +4853,7 @@
"src": "contracts/abstract/ManageableVault.sol:57"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "205",
"type": "t_struct(Counter)4184_storage",
Expand Down
2 changes: 1 addition & 1 deletion .openzeppelin/unknown-128123.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
"src": "contracts/abstract/ManageableVault.sol:52"
},
{
"label": "lastRequestId",
"label": "currentRequestId",
"offset": 0,
"slot": "105",
"type": "t_struct(Counter)4896_storage",
Expand Down
2 changes: 1 addition & 1 deletion .solcover.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"norpc": true,
"testCommand": "yarn test",
"compileCommand": "yarn compile",
"skipFiles": ["mocks", "testers"],
"skipFiles": ["mocks", "testers", "eUSD"],
"configureYulOptimizer": true,
"providerOptions": {
"default_balance_ether": "10000000000000000000000000"
Expand Down
Loading
Loading