solidity
Here are 5,604 public repositories matching this topic...
Page
Abstract
The Solidity Style Guide is not up to date with all the features added recently to the language. It needs to be updated
Details
There are now good linters available, such as solhint so I have doubts whether maintaining detailed guidelines independently
Issue
The "Full Example" of using @truffle/contract to interact with contracts should include an example of listening to an event with a filter.
In the past, it used to be possible to pass a filter object on indexed event parameters when listening to an event, as seen for example [here](https://ethereum.
-
Updated
Sep 10, 2021 - JavaScript
-
Updated
Aug 30, 2021 - HTML
-
Updated
Sep 6, 2021 - Java
-
Updated
Sep 12, 2021
Description
Add a contract similar to Aave's AddressProvider or Uniswap's getPair() functionality.
Motivation
On-chain lookups of price oracles given the asset addresses.
Justification
String manipulation is difficult and expensive in Solidity, and you usually work with the token address, not its string name.
-
Updated
Aug 21, 2021
-
Updated
Sep 3, 2021 - JavaScript
-
Updated
Aug 29, 2021 - Python
-
Updated
Sep 4, 2021
Testing methods like evm_mine and evm_increaseTime expect integer parameters. Unlike other methods, they reject these parameters if they are not decimal-encoded.
To reproduce
npx hardhat --version -> 2.5.0
Run npx hardhat node and make the following rpc calls:
> curl -H "Content-Type: application/json" -X POST --data \
'{"id":1337,"jsonrpc":"2.0","method":"evm
-
Updated
Aug 30, 2021 - C++
-
Updated
Mar 24, 2018 - JavaScript
-
Updated
Jun 11, 2021 - Python
Add flags to slither-check-upgradeability to disable some detectors per name, or per detectors impact, or to enable only some of the detectors (per name/impact)
-
Updated
Sep 12, 2021 - TypeScript
-
Updated
Mar 2, 2021 - JavaScript
Overview
Currently when I run brownie console, it recompiles all the contracts. Apparently due to some issue which is not identified.
I only want to compile once with brownie compile -all. That's it.
I work on the frontend side, I don't modify the contracts, I just need a local fork and run some scripts.
Currently it's slow as hell
-
Updated
Jun 26, 2021 - Go
-
Updated
Apr 24, 2020 - Solidity
-
Updated
Aug 28, 2021 - Solidity
We can safely disallow any use of solc below 0.4.25.
-
Updated
May 6, 2021 - JavaScript
-
Updated
Sep 12, 2021 - Kotlin
-
Updated
Aug 8, 2021 - JavaScript
-
Updated
Sep 13, 2021 - TypeScript
Improve this page
Add a description, image, and links to the solidity topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the solidity topic, visit your repo's landing page and select "manage topics."
The
ECDSAcontract has a functiontoEthSignedMessage(bytes32), but we should have a function that works for any length of abytesarray:Where
uintToBytesis implemented from an ideally