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.
1
vote
0
answers
331
views
pushing into struct array at a particular index
pragma solidity ^0.4.10;
contract A {
struct someStruct{
uint prop1;
uint prop2;
address [] users;
}
mapping (uint => someStruct) public structList;
someStruct …
3
votes
1
answer
481
views
how to deploy derived smart contracts solidity
If i have a solidity code, which has 2 or 3 contract in it, which depends on each other, How do we deploy such contracts. … As when we put this code in browser-solidity, we get different Bytecode and Interface for all the contracts separately. This might be a very stupid question. But how do we deploy these? …
3
votes
2
answers
4k
views
compiling solidity code using [email protected] on node.js
Trying to compile solidity smart contract on windows using [email protected]. …
1
vote
0
answers
465
views
Sending ethers to named function with parameters fails
transaction fails, according to my understanding this has something to do with the type of parameters, because it works when the parameter type is "address" but fails with "string", "bytes32", "uint256". solidity … version: pragma solidity ^ 0.4.15;
Please find the code below:
This fails:
struct transact{
address to;
address from;
uint amt;
uint256 timeStamp ;
}
mapping(string => transact) transactions …
1
vote
1
answer
4k
views
How to use web3.filter to check if the transaction is processed
i am trying to send ether to an account and then deploying a contract with that account. So i need to setup a watcher which triggers when the transaction is completed or mined, so that i can deploy th …