Commit Graph

125 Commits

Author SHA1 Message Date
Kamil Śliwak
1bf700e088 Return a type error when an enum has more than 256 members 2020-11-16 18:58:19 +01:00
chriseth
5ffee049fa Merge remote-tracking branch 'origin/develop' into breaking 2020-11-03 14:05:14 +01:00
chriseth
631570c547 Documentation. 2020-11-03 13:31:51 +01:00
chriseth
ce50f05fc1 Merge remote-tracking branch 'origin/develop' into HEAD 2020-10-29 16:44:47 +01:00
Kamil Śliwak
cfc878f8a5 docs/abi-spec.rst: There are 256 possible values for uint8 enums 2020-10-28 13:33:30 +01:00
Kamil Śliwak
bc85439576 docs/abi-spec.rst: Note about zero-length fixed-size arrays 2020-10-28 13:33:17 +01:00
chriseth
4bdec8107c Merge remote-tracking branch 'origin/develop' into HEAD 2020-09-29 09:53:50 +02:00
Harikrishnan Mulackal
8339765509 [DOCS] Change >=0.7.0 to ^0.7.0 2020-09-28 13:02:31 +02:00
Harikrishnan Mulackal
710231e2b1 Docs: change >0.6.99 <0.8.0 to >=0.7.0 2020-09-28 11:14:45 +02:00
Mathias Baumann
b72fb1333b Adjust docs example to work with v0.8.0 2020-09-08 13:36:16 +02:00
chriseth
479d7a059f Documentation. 2020-07-07 12:16:18 +02:00
chriseth
6b3171c38b Merge remote-tracking branch 'origin/develop' into breaking 2020-06-10 11:30:50 +02:00
ethers
91f4ae12a9
remove SHA-3 as Keccak-256 is clearer
Reduce confusion as Keccak-256 is clear enough
2020-06-08 19:16:24 -07:00
chriseth
257bc6a416 Merge remote-tracking branch 'origin/develop' into breaking 2020-05-14 13:04:46 +02:00
chriseth
d33b67b3c2 Add license tags to documentation snippets. 2020-05-13 22:16:34 +02:00
chriseth
1fe55370f4 Merge remote-tracking branch 'origin/develop' into HEAD 2020-04-28 13:02:06 +02:00
chriseth
615668bfb4
Explain nonpayable
Fixes https://github.com/ethereum/solidity/issues/8736
2020-04-23 01:35:21 +02:00
chriseth
6728e3ef94 Merge remote-tracking branch 'origin/develop' into breaking 2020-04-22 17:21:32 +02:00
Evan Saulpaugh
1a67b86f24
clarify description of padding for int<M> types 2020-04-10 02:23:13 -05:00
Evan Saulpaugh
1ef24562a9
change positive to non-negative 2020-04-10 02:17:57 -05:00
chriseth
7d68f9f6c3 Merge remote-tracking branch 'origin/develop' into breaking 2020-03-24 13:35:41 +01:00
Erik Kundt
50c22f0800 Adds script which compiles docs example with minimum compiler version. 2020-03-18 19:27:38 +01:00
Erik Kundt
fe1676203d Updates documentation to 0.7.0. 2020-01-10 18:56:38 +01:00
chriseth
7b950f8e9e Update ABI docs. 2019-12-13 14:49:09 +01:00
Daniel Kirchner
c33d233d88 Update docs. 2019-12-03 10:50:53 +01:00
Daniel Kirchner
3321fc56ea Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
Alexander Arlt
cd3ad73b5a Update tests. 2019-11-01 14:54:47 -05:00
chriseth
f884373142 Merge branch 'origin/develop' into develop_060 2019-10-02 16:29:36 +02:00
Micah Zoltu
ae84782d0e
Removes the optionality on output in ABI docs.
I _believe_ (someone more knowledgable than I should verify this claim) that Solidity will always write out an `output` member.  If there are no return parameters, then the array will be empty, but the `output` property will be present.

If this is not correct, I will withdraw this PR, but if the assertion is correct then the docs should reflect that so people can rely on the `output` property being present when writing ABI processors.

I also fixed some inconsistency in line termination character.  It was sometimes `.` and sometimes `;`.  I picked `.`, but don't really care which as long as it is consistent.
2019-09-23 16:42:34 +08:00
Daniel Kirchner
793b1890e8 `type field in ABI JSON no longer defaults to function` 2019-09-06 15:35:01 +02:00
Daniel Kirchner
f4d990e5be Drop constant and payable fields from ABI. 2019-09-06 14:42:09 +02:00
Mathias Baumann
7234e59e07 ABI documentation clarifications 2019-08-07 15:53:53 +02:00
Chris Ward
5305dd6eac Confirm to style guide 2019-05-23 14:46:59 +02:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +01:00
chriseth
4eb48dd6b7 Specify packed encoding and add warning. 2019-02-05 16:49:24 +01:00
Evan Saulpaugh
bda0bc8f08
improve packed encoding test vector
packed byte length of ints now unambiguously shown to be type-dependent, not value dependent e.g. uint16(0x03) is 0x0003 not 0x03
2019-01-18 02:30:15 -06:00
Chris Ward
cefc6c433e Update non-existant pragma 0.4.99 to 0.5.0
Use correct syntax for pragma

Change pragma syntax

One more change to pragma syntax
2019-01-07 14:20:10 +01:00
chriseth
96d220163d
Merge pull request #5731 from poiresel/docs_spelling_fixes
resolve spelling issues in the docs folder
2019-01-07 12:26:50 +01:00
poiresel
bf93665ad8 resolve spelling issues in the docs folder 2018-12-21 10:49:11 -05:00
chriseth
ac6f80b4e9 [DOC] More details about packed encoding. 2018-12-20 14:49:52 +01:00
chriseth
3d1ca07e9b
Merge pull request #3047 from ethereum/abi-strict
Add strict encoding mode to the ABI spec
2018-10-17 19:14:00 +02:00
Chris Ward
973d91ec89 Update docs on event data and logs
Updates from comments

Clarify code comments and add an event output example

Clarification from review

Updated with information from @gumb0

Add clarifier

Updates from review

Remove link

Update example code
2018-10-05 11:25:48 +02:00
chriseth
1305bf34f0
Merge pull request #5073 from IIIIllllIIIIllllIIIIllllIIIIllllIIIIll/patch-4
separate out a new "Design Criteria" section from "Formal Specification"
2018-10-04 13:02:33 +02:00
Li Xuanji
26d36e1faa separate out a new "Design Criteria" section from "Formal Specification" 2018-10-04 13:00:33 +02:00
Alex Beregszaszi
608f36d77b
Merge pull request #5082 from ethereum/abiUpdate
[DOCS] Update abi.
2018-09-25 20:31:17 +01:00
Alex Beregszaszi
e3e9ce53d7 Set 0.5.x specific example code to be compilable with >0.4.99 <0.6.0 (e.g. 0.5.x only) 2018-09-25 19:04:34 +01:00
Alex Beregszaszi
3ca00c73f9 Update version pragma in all documentation examples 2018-09-25 19:03:25 +01:00
chriseth
e470408cf4 [DOCS] Update abi. 2018-09-25 19:01:02 +02:00
Leonardo Alt
e785fe0c07 Add struct->tuple to the Solidity->ABI types table 2018-09-20 15:08:52 +02:00
Leonardo Alt
1770e9c02f Explaining how Solidity types map to ABI types 2018-09-19 14:28:45 +02:00