Leanne
e5836fc276
Fixes typo
2018-11-03 16:02:41 -04:00
Berk Erol
19064e81bc
Add check for whether voter has right to vote
2018-10-26 09:53:57 +03:00
chriseth
0712da6421
Fix version pragma in documentation.
2018-10-09 03:15:53 +02:00
chriseth
d76bfcd935
Fix typos.
2018-10-04 13:28:16 +02:00
Alex Beregszaszi
3ca00c73f9
Update version pragma in all documentation examples
2018-09-25 19:03:25 +01:00
chriseth
5272fe660c
Updates to examples.
2018-09-13 18:04:49 +02:00
Daniel Kirchner
12aaca1645
Add payable and non-payable state mutability to AddressType.
2018-09-13 15:15:49 +02:00
Crypto Jerônimo
628919f416
Fix typo in documentation.
2018-08-15 08:18:57 +01:00
chriseth
e3b6c5a4bd
Update documentation.
2018-08-14 18:07:15 +02:00
chriseth
6cf299bec6
Update documentation examples.
2018-08-14 15:50:46 +02:00
Daniel Kirchner
cea46acef7
Update documentation.
2018-08-01 17:18:17 +02:00
chriseth
c5ff173431
Merge pull request #4512 from chase1745/use-explicit-data-locations-external-tests
...
Added default data locations to docs and other external tests.
2018-07-16 14:04:18 +02:00
Chase McDermott
3267adcd14
Added default data locations to docs and other external tests.
2018-07-14 16:42:43 -05:00
Michał Załęcki
7c1672f36e
Fix typo in the function name
2018-07-14 18:32:47 +02:00
Cryptomental
eb92d5f760
docs: Fix typos.
...
Used codespell and manual fixes.
Refs: #4442
2018-07-10 22:57:59 +02:00
chriseth
4547b32348
Merge pull request #4212 from jvmaia/patch-3
...
micropayment channel example with two chapters
2018-07-10 15:34:36 +02:00
chriseth
15283e8535
Some copy-editing.
2018-07-10 00:45:00 +02:00
João Vítor
7ffdad4ae3
add explanation about the splitSignature function
2018-06-25 19:06:44 -03:00
chriseth
17493e64ed
Documentation.
2018-06-25 17:17:18 +02:00
Alex Beregszaszi
b7ad97610f
Update documentation for strict address literals
2018-06-25 16:17:50 +02:00
João Vítor
6ec61e283c
update code version
2018-06-11 20:14:17 -03:00
João Vítor
48e6bb51fb
update micropayment channel example
2018-06-07 16:37:14 -03:00
João Vítor
1db78a1660
fix recoverSigner function
2018-06-03 18:20:53 -03:00
João Vítor
94381c67b9
fix returns
2018-06-03 17:57:15 -03:00
João Vítor
6bd82428d2
fix clainTimeout() function
2018-06-03 17:36:28 -03:00
João Vítor
e89d635045
fix a word
2018-06-03 13:20:49 -03:00
João Vítor
d1aa9b0a17
write the full contracts
2018-06-03 12:31:46 -03:00
João Vítor
1dca223e77
fix code syntax
2018-05-31 11:13:14 -03:00
João Vítor
61454f574a
split long lines
2018-05-31 11:03:42 -03:00
João Vítor
70345d7c9c
micropayment channel example with two chapters
2018-05-31 06:20:14 -03:00
chriseth
6c8f78fb8f
Update documentation for multi variable declaration statement.
2018-05-16 03:52:24 +02:00
chriseth
65d8e5446c
Update some examples to remove warnings.
2018-04-30 16:21:55 +02:00
Lefteris Karapetsas
8a7224683b
Docs: Update solidity version for revert with reason
2018-04-15 23:12:28 +02:00
chriseth
344a388d44
Update documentation.
2018-04-12 13:09:38 +02:00
NetX
089c295641
Update solidity-by-example.rst
2018-04-09 16:57:38 +02:00
chriseth
66ee9aa2f1
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-02 12:29:48 +01:00
chriseth
098033c94a
Fix name shadowing in ballot example contract.
2018-02-27 00:02:39 +01:00
chriseth
f58024b974
Documentation about emitting events.
2018-02-22 15:17:42 +01:00
mirgj
d01786f0aa
Update solidity-by-example.rst
...
highestBidder is the address.
it's highestBid that should be != 0 to be considered as pending return.
It's that right?
2018-02-22 01:42:57 +08:00
Jim McDonald
93cf4dee66
Fixes for failing tests
2017-12-13 07:55:46 +00:00
Jim McDonald
6e521d59b0
Fix Solidity warnings
2017-12-12 18:47:30 +00:00
chriseth
d0be67f6b0
Bugfix in blind auction
2017-11-23 18:43:19 +01:00
William Morriss
d05b24162f
also rm biddingTime
2017-10-08 13:40:18 -07:00
William Morriss
c3ec0beba5
remove auctionStart
2017-10-08 13:24:27 -07:00
Alex Beregszaszi
550d646b97
Explain safe purchase (even number)
2017-08-28 12:14:41 +01:00
Chim Kan
efe9d55ab2
Update on the example for BlindAction
...
In the Mist app, the Blind Action contract cannot compile because it cannot accept implicit conversion of integer to byte32. I just added the conversion method byte32 in line 470 for bid.blindedBid.
2017-08-24 12:03:27 -04:00
Chim Kan
b5d2a4ecd7
Adding storage into the pointer for Voter delegate
...
Hi,
The example from https://github.com/ethereum/solidity/blob/develop/docs/solidity-by-example.rst is not working.
It keeps giving this error in the Mist program:
Could not compile source code.
Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.
Voter delegate = voters[to];
^------------^
The solution is just to add the keyword "storage" and then the example works again.
2017-08-23 20:25:12 -04:00
Adrián Calvo
8d832c7cd3
Removes reference to stack depth attack
...
Changed the old stack depth attack reference to a generic execution of an untrusted contract to keep the suggestion of the withdrawal pattern.
2017-08-04 14:08:37 +02:00
Alex Beregszaszi
318e52c77d
Avoid using .send in the examples
2017-07-26 23:05:09 +01:00
Alex Beregszaszi
48a15ea19d
Use the storage keyword in examples
2017-07-26 23:05:09 +01:00