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.
0
votes
1
answer
54
views
I have a problem using a transfer function in my smart contract solidity 0.4.16
to another address, but everytime I try to send tokens, there's an error, I think it's because the "msg.sender" has to approve the tokens, but idk, this is the code, if you want to review it:
pragma solidity …
0
votes
2
answers
52
views
I have a question about the ERC20 standard
pragma solidity 0.4.16;
interface IERC20 {
function transfer(address _to, uint256 _value) public returns (bool);
}
contract TokenPool {
function batchTransfer(address _tokenAddress, address[] …
0
votes
2
answers
135
views
I have a question about underflow cases in smart contracts
So, has there been any smart contracts that interact with other ERC20 tokens that have underflow issues? Like incidents where for example using a specific function that has an underflow where a huge a …
0
votes
2
answers
38
views
Does anyone know why this still reverts?
(By the way, the message that appears before sending the transaction is: "gas estimation failed" and more text, then "execution reversed") These are the codes:
pragma solidity 0.4.21;
import ". … .*/
pragma solidity ^0.4.21;
import ". …
0
votes
1
answer
162
views
Does anyone know why this error happens (batchTransfer)
it works ill add SafeMath libraries, but it doesn't, an error always pops up when im trying to batchTransfer test tokens from the contract to 2 wallet addresses, this is the code in question:
pragma solidity …