Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
2
votes
Accepted
Do smart contracts have a API?
Solidity does not have any way to interact with it directly rather you interact with it using ABI (application binary interface) which you get when you compile your solidity contract into bytecode (which …
0
votes
Could not find a declaration file for module 'solc'
This is caused you have some missing npm packages. have you tried running
npm i solc
0
votes
What linting and prettifying tools do you use?
I use Solidity visual developer, Solidity language support and the solidity extension and they work seamlessly. … There are some other linting extensions but won't recommend them if you are just beginning these are Solidity-solhint, solidity Debuger and solidity Extended They are very strict and you can experience …
0
votes
1
answer
368
views
How do I get addresses of tokens held by a smart contract?
My contract receives various types of ERC20 tokens. I'd like to know the addresses of the ERC20 tokens within the contract. The addresses are compulsory since they are still used within the contract.
…
2
votes
How to import Openzep ERC20: Identifier not found
You are trying to inherit ERC20 yet you have imported IERC20.sol