solidity
Here are 5,051 public repositories matching this topic...
By default the compiler prints any JSON output in a compact form:
echo "contract C {}" | solc - --combined-json abi{"contracts":{"<stdin>:C":{"abi":[]}},"version":"0.8.6+commit.11564f7e.Linux.g++"}You can use --pretty-json option to get nicely indented output from --combined-json option:
echo "contract C {}" | solc - --combined-json abi --prettyHi, just wondering why there are no tests in the scaffolded project when running truffle init...
Can I make a PR adding this? Where in the main truffle source code should I put this file?
thanks!
-
Updated
Jun 1, 2021 - JavaScript
-
Updated
Jun 7, 2021 - HTML
-
Updated
Jun 30, 2021 - Java
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
Jul 3, 2021
-
Updated
Jul 3, 2021 - Python
-
Updated
Jun 29, 2021
-
Updated
Jun 30, 2021 - JavaScript
-
Updated
Jul 1, 2021 - C++
-
Updated
Mar 24, 2018 - JavaScript
-
Updated
Jun 11, 2021 - Python
We are using "no-return-wait": "error", but it would've be better to do the opposite and to actually enforce return await everywhere, so that we have better async stack traces. See this comment.
Links:
no-return-await- [
@typescript-eslint/return-await](https://
-
Updated
Mar 2, 2021 - JavaScript
From @Arachnid recent tweet, it looks like there is not good up to date solution to generate doc from natspec. We should explore the current solutions and create something on top of slither
-
Updated
Jul 3, 2021 - TypeScript
-
Updated
Jun 26, 2021 - Go
-
Updated
Apr 24, 2020 - Solidity
Overview
If I import a file that has a constructor and just that file, and try to compile and deploy, brownie ignores it.
Specification
Here's what a file that brownie would ignore looks like:
pragma solidity 0.4.24;
import "@chainlink/contracts/src/v0.4/Oracle.sol";
(I remapped chainlink contacts so I could use the @ syntax)
However, Oracle.sol has a constructo
-
Updated
May 6, 2021 - JavaScript
-
Updated
Jul 4, 2021 - Kotlin
-
Updated
Jun 8, 2021 - Solidity
We can safely disallow any use of solc below 0.4.25.
-
Updated
Jul 3, 2021 - Clojure
I left a review and then got this message
which seems strange as it's telling me something I know.
-
Updated
Feb 11, 2019 - 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