-
Is it possible to check vulnerabilities in contract build with Solidity 0.5x?
mstad updated
2 years ago
-
Create and work inside folder `experimental/erc_6806_holding_time_tracking`:
It adds an interface that tracks and describes the holding time of a Non-Fungible Token (NFT) by an account.
**Imple…
-
# 1. Floating pragmas are considered a bad practice.
Almost all the contracts have floating Pragmas, which is considered, a bad practice.
It is always recommended that `pragma` should be fixed (not …
-
when I compile the smart contract it throws this error : Unable to import "undefined": Not Found*
this is my smart contract:
```
pragma solidity ^0.4.0;
import "github.com/Arachnid/solidity-stri…
-
The following code has a quickfix which should change the mutability to "pure" but it does nothing.
```Solidity
pragma solidity ^0.5.4;
contract Contract {
function id(uint a) external retur…
-
### `require()`/`revert()` strings longer than 32 bytes cost extra gas
1. File: core-contracts/contracts/ERC721Payable.sol (lines [21-24](https://github.com/code-423n4/2022-03-joyn/blob/c9297ccd925eb…
-
The ASM tests were working fine until Ape `0.6.19`. However, after `0.6.19` there seem to be some changes to the log format that cause the `test_acu.py` test `test_modify_basket` to fail for different…
-
### Describe the issue:
If the rvalue of the assignment operation is Function object the '__str__' method doesn't work correctly.
```
pragma solidity ^0.8.7;
contract A {
function add(uin…
-
Deployed `TestWe.sol` ERC-721 contract and `TestWe.t.sol` to Base Sepolia in https://github.com/onchain-warfare/contracts/issues/1
Used the the Solidity Wizard to create a starter template to work …
-
**Describe the bug**
It seems like there is something off with how semgrep matches expressions. I get matches for code (both Solidity and Java) where I would not expect a match.
**To Reproduce**…