issues
search
Tsunami-Exchange
/
tsunami-contracts
Tsunami Exchange Smart Contracts (RIDE)
2
stars
2
forks
source link
Brief audit of `vAMM3s.ride`
#35
Closed
deemru
closed
1 year ago
deemru
commented
1 year ago
[x] MEDIUM: unused code
https://github.com/Tsunami-Exchange/tsunami-contracts/blob/259ed9d413bb83936111f2f238d4cf37b9a07bf2/contracts/ride/vAMM3s.ride#L415
https://github.com/Tsunami-Exchange/tsunami-contracts/blob/259ed9d413bb83936111f2f238d4cf37b9a07bf2/contracts/ride/vAMM3s.ride#L418-L423
[x] LOW: unused code
https://github.com/Tsunami-Exchange/tsunami-contracts/blob/259ed9d413bb83936111f2f238d4cf37b9a07bf2/contracts/ride/vAMM3s.ride#L342-L356
https://github.com/Tsunami-Exchange/tsunami-contracts/blob/259ed9d413bb83936111f2f238d4cf37b9a07bf2/contracts/ride/vAMM3s.ride#L436-L452
https://github.com/Tsunami-Exchange/tsunami-contracts/blob/259ed9d413bb83936111f2f238d4cf37b9a07bf2/contracts/ride/vAMM3s.ride#L502-L516
[x] HIGH:
notifyVaultBalanceChange
goes without
syncTerminalPriceToOracle
weights
https://github.com/Tsunami-Exchange/tsunami-contracts/blob/259ed9d413bb83936111f2f238d4cf37b9a07bf2/contracts/ride/vAMM3s.ride#L788-L796
notifyVaultBalanceChange
goes withoutsyncTerminalPriceToOracle
weights https://github.com/Tsunami-Exchange/tsunami-contracts/blob/259ed9d413bb83936111f2f238d4cf37b9a07bf2/contracts/ride/vAMM3s.ride#L788-L796