issues
search
hats-finance
/
Common--Stableswap-0xd4d9a2772202ce33b24901d3fc94e95a84b37430
Apache License 2.0
0
stars
0
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Audit Report Draft Update
#40
hats-bug-reporter[bot]
opened
1 month ago
0
Changing A could allow an attacker to withdraw huge token balances when the change happens
#39
hats-bug-reporter[bot]
opened
2 months ago
3
LP token can be manipulated due to lack of 'MINIMUM_LIQUIDITY' when minting the first liquidity with add_liquidity()
#38
hats-bug-reporter[bot]
opened
2 months ago
5
Insufficient input validation - as a result, event spamming happen which would cause havoc in front end application when processing them
#37
hats-bug-reporter[bot]
opened
2 months ago
1
Storage can be bloated with low liquidity positions
#36
hats-bug-reporter[bot]
opened
2 months ago
10
User is not sufficiently protected during swaps
#35
hats-bug-reporter[bot]
opened
2 months ago
1
The absence of a mechanism or pause/un-pause to recover funds from the pool in the event of an issue poses a significant risk to user funds
#34
hats-bug-reporter[bot]
opened
2 months ago
3
oracle retrieves token price from issued chain
#33
hats-bug-reporter[bot]
opened
2 months ago
2
Missing deadline check allows outdated slippage and allows pending transactions to be unexpectedly executed.
#32
hats-bug-reporter[bot]
opened
2 months ago
1
failure to code x
#31
hats-bug-reporter[bot]
opened
2 months ago
0
users funds can be directly lost in swap_exact_in() exchange
#30
hats-bug-reporter[bot]
opened
2 months ago
1
Pools with more than 4 tokens will charge huge fees
#29
hats-bug-reporter[bot]
opened
2 months ago
1
The protocol allows calculations using stale oracles.
#28
hats-bug-reporter[bot]
opened
2 months ago
1
stale price can be prolonged
#27
hats-bug-reporter[bot]
opened
2 months ago
9
`lib.get_amounts_for_liquidity_mint` might be wrong
#26
hats-bug-reporter[bot]
opened
2 months ago
1
Protocol still get charged a fee
#25
hats-bug-reporter[bot]
opened
2 months ago
4
`remove_liquidity_by_shares` doesn't take a fee
#24
hats-bug-reporter[bot]
opened
2 months ago
1
LP providers can claim part of their own fee when adding liquidity
#23
hats-bug-reporter[bot]
opened
2 months ago
1
fee calculation isn't correct
#22
hats-bug-reporter[bot]
opened
2 months ago
1
add_liquidity : fee charging is missed on the first caller when adding liquidity
#21
hats-bug-reporter[bot]
opened
2 months ago
7
Lack of functions to update the external rate provider if any of the rate provider malfunction or compromised or throws error
#20
hats-bug-reporter[bot]
opened
2 months ago
6
`token_rate.update` doesn't check `Self::query_rate`'s return value
#19
hats-bug-reporter[bot]
opened
2 months ago
1
User can bypass the fees limits
#18
hats-bug-reporter[bot]
opened
2 months ago
1
fee_receiver : the fees are calculated even if `the fee_receiver` is not yet set
#17
hats-bug-reporter[bot]
opened
2 months ago
1
StablePoolContract : when creating the stable pool control, validation for some critical input is missing
#16
hats-bug-reporter[bot]
opened
2 months ago
3
The `TransferOwnershipAccepted` emit omits key information.
#15
hats-bug-reporter[bot]
opened
2 months ago
1
`lib.remove_liquidity_by_shares` forgets to charge protocol fee
#14
hats-bug-reporter[bot]
opened
2 months ago
1
`rated_swap_to` doesn't round in favor of the protocol
#13
hats-bug-reporter[bot]
opened
2 months ago
1
reserve system will be incorrect for FOT tokens
#12
hats-bug-reporter[bot]
opened
2 months ago
1
swap_exact_out offers incorrect protection for the user
#11
hats-bug-reporter[bot]
opened
2 months ago
1
token amount check is incorrect
#10
hats-bug-reporter[bot]
opened
2 months ago
1
`lib.add_liquidity` should returns dust token
#9
hats-bug-reporter[bot]
opened
2 months ago
1
`token_rate.update_rate` isn't correctly
#8
hats-bug-reporter[bot]
opened
2 months ago
1
Token updating can lead to incorrect price evaluation
#7
hats-bug-reporter[bot]
opened
2 months ago
3
renounce_ownership is not renouncing the ownership , instead it transfer the ownership to the pending_owner
#6
hats-bug-reporter[bot]
opened
2 months ago
1
Function can be declared as `&self` isntead of `&mut self`
#5
hats-bug-reporter[bot]
opened
2 months ago
1
Decimals are hardcoded
#4
hats-bug-reporter[bot]
opened
2 months ago
3
Removing liquidity by amount not rounding up, user will burn less LP share
#3
hats-bug-reporter[bot]
opened
2 months ago
2
Duplicate error id from different part of code
#2
hats-bug-reporter[bot]
opened
2 months ago
1
Growth Test
#1
hats-bug-reporter[bot]
opened
3 months ago
0