The Wayback Machine - https://web.archive.org/web/20211125052953/https://github.com/topics/solidity
Skip to content
#

Solidity

solidity logo

Solidity is a statically-typed curly-braces programming language designed for developing smart contracts that run on various blockchain platforms, most notably, Ethereum. The Solidity programming language is an open source, community project governed by a core team. The core team is sponsored by the Ethereum Foundation. The programs compiled by the Solidity are intended to be run on Ethereum Virtual Machine.

Here are 6,445 public repositories matching this topic...

benediamond
benediamond commented Nov 21, 2021

Original title: "unusual behavior with mapping within struct within library".

Description

When a library contains a struct type whose only member is a mapping, and a contract contains a public member of that struct type, then compilation fails with error Internal or recursive type is not allowed for public state variables.. But if you add a further field in the struct (of type `

chainlink
0xfoobar
0xfoobar commented May 20, 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.

wolflo
wolflo commented Jul 28, 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
krzkaczor
krzkaczor commented Sep 26, 2021

We should add explicit runtime errors that stop CLI execution when an obvious version mismatch is detected. No one (me neither) checks peer dependency-related errors from a package manager.

TC should bail if:

  • ether target has detected too low ethers version detected
  • tc core package is too low to support given target package

Each target package should be able to define custom conditions

brownie

Created by Gavin Wood, Christian Reitwiessner, Alex Beregszaszi

Released August 2015

Latest release 16 days ago

Repository
ethereum/solidity
Website
soliditylang.org
Wikipedia
Wikipedia

Related Topics

blockchain cpp ethereum language smartcontracts