-
# Handle
Tomio
# Vulnerability details
## Impact
in function setLockPeriods multiplier can be set to lower than 100 which will break the calculation when dividing the multiplier in function _lock …
-
# Handle
TomFrenchBlockchain
# Vulnerability details
## Impact
Extra gas costs from unnecessary casting.
## Proof of Concept
`pointsCorrection` is stored as a int256 variable.
https://github.c…
-
# Handle
WatchPug
# Vulnerability details
Storage writes (`SSTORE`) to `distributableXDEFI` may not be needed when `previousDistributableXDEFI == currentDistributableXDEFI`, therefore the code can…
-
# Handle
onewayfunction
# Vulnerability details
## Impact
The owner of the `XDEFIDistribution` contract can use flash loans to atomically steal XDEFI from the contract without taking on any capita…
-
# Handle
sirhashalot
# Vulnerability details
## Impact
There is a require statement that contains the comment "Throw convenient error if trying to re-lock more than was unlocked. `amountUnlocked_…
-
# Handle
PierrickGT
# Vulnerability details
## Impact
In [lockWithPermit](https://github.com/XDeFi-tech/xdefi-distribution/blob/3856a42df295183b40c6eee89307308f196612fe/contracts/XDEFIDistribution…
-
### G-01 :
uint256 better than bool
TurboMaster.sol L#184
TurboBooster.sol L#28
### G-02:
bytes32 instead of string
TurboRouter.sol L#33
### G-03:
instead of using operator && on single require ch…
-
### Is your feature request related to a problem?
_No response_
### Describe the solution you'd like
Analyze and integrate EVM Wallets (extensions Chrome) like
- [X] TokenPocket (>= 0.0.9+11…
-
Ethereum Version:
mapping(bytes32 => uint256) private lpIndexInPool;
/*
* In [0, 60000) blocks, 160 XDEX per block, 9600000 XDEX distributed;
* In [60000, 180000) blocks, 80 …
-
# Handle
defsec
# Vulnerability details
## Impact
`!= 0` is a cheaper operation compared to `> 0`, when dealing with uint.
## Proof of Concept
1. Navigate to the following contracts.
```
http…