-
# Lines of code
https://github.com/jbx-protocol/juice-contracts-v2-code4rena/blob/733810a0339a5c0cb608345e6fc66a6edeac13cc/contracts/JBController.sol#L816
https://github.com/jbx-protocol/juice-contra…
-
Hi there,
Assuming, the code can inspect big number, and if ensured it fits into int256 - how to covert it?
I didn't find any example.
-
### Version Information
* vyper Version (output of `vyper --version` OR linkable commit hash vyperlang/vyper@): vyperlang/vyper@b43fface148b45cbd2c90b5d24f77398a63745b5
### Issue Description
Several…
-
Hi there,
#### System information
Geth version: 1.7.3-stable-4bb3c89d
OS & Version: Darwin MacBookPro 17.3.0
#### Expected behaviour
Constant method of smart contract has result type `int…
-
# _Issue_title_
Overloading is in Solidity as in Java no bigger problem. Its different when it comes to generating signed and unsigned integers.
## _Issue_description_
here is a test smart con…
-
I'm planning to create a PR for uint256 and int256 but I would like some guidance related to the types.
Rust doesn't implement native i256 neither u256. Should this crate follow the example of [kli…
-
# Handle
cmichel
# Vulnerability details
`LeveragedPool.executePriceChange` function performs unsafe casts.
If the _unsigned_ values are above the maximum _signed value_ (`type(int256).max`), it w…
-
* 角色存储器/控制器
*
* 主合约
*/
pragma solidity ^0.4.25;
pragma experimental ABIEncoderV2;
import "./LibString.sol";not
import "./Table.sol";
import "./MapStorage.sol";
import "./SolarPanelsS…
-
# Lines of code
https://github.com/code-423n4/2024-05-predy/blob/main/src/libraries/Perp.sol#L206
# Vulnerability details
## Impact
Anyone can invoke the `reallocate` function to reallocate the LP…
-
# Handle
Omik
# Vulnerability details
## Impact
when using -2**255 it takes more gas, than using type(int256).min
## Recommended Mitigation Steps
use type(int256).min;