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
1
answer
2k
views
Why was it necessary to develop Solidity? [duplicate]
What is the advantage of Solidity over say C# etc? …
1
vote
2
answers
154
views
Why won't this Ether distribution function execute properly?
I have written and deployed the following contract (source published):
https://ropsten.etherscan.io/address/0xCaD97e58Ea88De59802F676e911E60099C5Df714
When executing the function 'fillBid' using Mis …
1
vote
1
answer
4k
views
Efficient way to use selfdestruct() as safe ether transfer option?
Workflow:
deploy contract Foo
send ether to Foo
execute function safeTransfer specifying the destination address and value in wei
pragma solidity ^0.4.11;
contract Interface {
function pay();
} …
0
votes
How do I deposit ether into a smart contract, actual ether - not a sub-coin?
There are three possible ways to send ether to a contract. The standard one is to use address.transfer/send or similar. For this to work the contract needs to have a payable function.
Then there are …
6
votes
2
answers
10k
views
Using Solidity, how can I execute the transferFrom function of an ERC20 Token?
I am trying to accept ERC20 Tokens as payment in a contract. As I understand it the sender will have to use the approve function to give my contract an allowance first. So far so good. What I do not u …
0
votes
How should I store user's password in a smart contract?
As Jakub pointed out you can use keccak256 to store and verify secret passwords. Two problems with this method:
Supplying the plaintext password during access will reveal it to anyone monitoring the …
2
votes
1
answer
4k
views
ERC20 Token holder balances not showing up
I have implemented an ERC20 token using the official standard and am trying to check the token holders on Ropsten Etherscan. It shows the total supply but not the holders. The source can be found here …