Skip to main content
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
Results tagged with
Search options not deleted user 63536

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

Sending entire contract balance to address

There are two reasons for the error you are getting: The contract's balance is empty. The address you are going to transfer ether is not payable. I speculate that the first reason is much more proba …
Nima shiri's user avatar
0 votes
1 answer
156 views

How to implement recurrent smart contract without third-party libraries? [closed]

I want to implement an investment service based on ethereum smart contracts in which customers receive dividends four times in a month. For example, a customer receives dividends on 8th, 16th, 21th, a …
Nima shiri's user avatar
0 votes
1 answer
116 views

Sending ether directly from metamask to fallback function

I want to send some amount of ether to a smart contract from metamask (without using web3) and want it to perform some specific tasks based on that amount. For example, if I send 0.9 ether, I want it …
Nima shiri's user avatar
0 votes
0 answers
735 views

Invalid implicit conversion from rational_const 5 / 2 to uint256 requested

I have the following code snippet inside my contract: plans[1100] = Plan(7, 3); plans[1101] = Plan(7, 2.5); plans[1102] = Plan(15, 4); plans[1103] = Plan(30, 6); plans[1104] = Plan(30, 5); When I try …
Nima shiri's user avatar