chriseth
|
62355aead3
|
Respect memory model for revert.
|
2021-05-03 18:23:41 +02:00 |
|
Mathias Baumann
|
e197ebbdd1
|
Replace TypePointer with Type const*
|
2021-03-23 11:47:19 +01:00 |
|
chriseth
|
994fdb7517
|
Determine encoding type earlier.
|
2021-01-11 11:57:22 +01:00 |
|
Djordje Mijovic
|
eea6513b5d
|
[Sol->Yul] Implementing copying dynamically encoded structs from calldata to memory
Co-authored-by: Leonardo <leo@ethereum.org>
|
2020-11-23 23:22:34 +01:00 |
|
Djordje Mijovic
|
4bff99a518
|
Adding additional abi decoding functions for arrays.
Co-authored-by: chriseth <chris@ethereum.org>
|
2020-11-23 14:52:51 +01:00 |
|
chriseth
|
fd6196af16
|
Copying of arrays from storage to memory.
|
2020-10-08 15:16:13 +02:00 |
|
Sachin Grover
|
b7adb2aa42
|
Add SPDX license identifier if not present already in source file
Fixes: #9220
|
2020-07-17 20:24:12 +05:30 |
|
chriseth
|
e986fde0c1
|
Introduce non-reversed version of tupleEncoder.
|
2020-05-07 15:08:09 +02:00 |
|
Daniel Kirchner
|
857ed12b05
|
Use plain members and references instead of shared pointers for MultiUseYulFunctionCollector
|
2020-03-04 16:16:34 +01:00 |
|
Daniel Kirchner
|
24d6e6295e
|
Reuse the mechanism for abi functions and move tracking of used functions to CompilerContext
|
2020-03-03 15:11:18 +01:00 |
|
Daniel Kirchner
|
90fa56c719
|
Allow use of yul util functions in legacy code generation.
|
2020-03-02 16:32:30 +01:00 |
|
Jason Cobb
|
6db0d50094
|
Don't use identifiers starting with an underscore followed by an uppercase letter
|
2020-02-17 12:44:39 -05:00 |
|
Leonardo Alt
|
36928c7a35
|
Add reason string for internal reverts
|
2020-02-10 11:57:20 -03:00 |
|
Christian Parpart
|
6b23412fae
|
C++ namespace cleanup (except tests).
|
2020-01-07 15:51:50 +01:00 |
|
mingchuan
|
bfe074b2b1
|
Fix storage array abi encoding
Fix incorrect abi encoding of storage array of data type that occupy multiple storage slots
|
2019-06-19 10:46:05 +08:00 |
|
chriseth
|
31b7037749
|
Move storage access functions to utils.
|
2019-05-02 12:11:41 +02:00 |
|
Christian Parpart
|
bf43eebea9
|
libsolidity: Introducing TypeProvider API, for clear type system ownership.
|
2019-04-16 18:26:45 +02:00 |
|
Mathias Baumann
|
b4380a2137
|
Move convert functions to Yul module
|
2019-04-09 15:31:46 +02:00 |
|
Daniel Kirchner
|
91a2a9a9c3
|
Implement ABI encoding of calldata arrays and structs.
|
2019-04-04 13:05:32 +02:00 |
|
Daniel Kirchner
|
b0cb330397
|
Allow encoding calldata arrays for base types that do not require cleanup.
|
2019-04-04 11:18:03 +02:00 |
|
Alex Beregszaszi
|
43008dd08e
|
Validate value types in decoder of ABIEncoderV2.
|
2019-04-03 11:32:02 +02:00 |
|
chriseth
|
a1fe2562c4
|
Move suffixedVariableNameList to utils.
|
2019-03-27 17:14:17 +01:00 |
|
chriseth
|
68d4a85575
|
Properly read and clean value types read from storage.
|
2019-03-25 18:28:43 +01:00 |
|
Daniel Kirchner
|
66d6711364
|
ABIFunctions: Split out a function for generating a comma separated list of variable names.
|
2019-03-25 10:58:18 +01:00 |
|
chriseth
|
d515d77bfe
|
Extract utility functions from ABI encoder.
|
2019-03-05 22:13:55 +01:00 |
|
Leonardo Alt
|
2405b2151a
|
EVMVersion in langutil namespace instead of solidity
|
2019-02-25 15:29:57 +01:00 |
|
Daniel Kirchner
|
0e4912a203
|
ABIEncoderV2: Implement calldata structs without dynamically encoded members.
|
2019-02-11 15:46:58 +01:00 |
|
chriseth
|
a08f4f43fa
|
Add packed encoder V2.
|
2019-02-11 11:37:47 +01:00 |
|
chriseth
|
1b9d30f05f
|
Packed encoding.
|
2019-02-11 11:37:47 +01:00 |
|
chriseth
|
49f8fa4cfe
|
Extract storing length to its own function.
|
2019-02-06 14:03:49 +01:00 |
|
chriseth
|
7a69455c13
|
Provide ABI encoding options as single struct parameter.
|
2019-01-21 16:43:32 +01:00 |
|
Leonardo Alt
|
ab76676271
|
Sort includes in libsolidity/codegen
|
2018-12-17 17:06:11 +01:00 |
|
Christian Parpart
|
87821c53c3
|
Isolating files shared between Yul- and Solidity language frontend.
|
2018-11-21 18:58:12 +00:00 |
|
chriseth
|
5e01d767d0
|
Prevent externally used functions from being removed.
|
2018-10-17 14:12:10 +02:00 |
|
Cryptomental
|
140dbfdbd8
|
Code, Changelog, ReleaseChecklist: Fix typos.
Refs: #4442
|
2018-07-11 00:26:23 +02:00 |
|
Alex Beregszaszi
|
4cdb6c809a
|
Change comments
|
2018-06-14 09:31:28 +01:00 |
|
chriseth
|
2968639406
|
Removed signed shift right from the utilities.
|
2018-04-30 20:34:43 +01:00 |
|
Alex Beregszaszi
|
c3608eaf90
|
Use native shift instructions in ABIFunctions on Constantinople
|
2018-04-30 20:34:43 +01:00 |
|
chriseth
|
5a3dbb0269
|
Cleanup and overflow checks for data pointers.
|
2017-11-29 17:08:44 +01:00 |
|
chriseth
|
bdc1ff8ec7
|
ABI decoder.
|
2017-11-29 17:08:44 +01:00 |
|
chriseth
|
80cefb9cc8
|
Rename "compacted" to "fromStack".
|
2017-10-04 16:56:54 +02:00 |
|
chriseth
|
70d70e7816
|
Implement struct encoder.
|
2017-09-16 12:31:12 +01:00 |
|
chriseth
|
80ce3ca66f
|
Move ABI encoder into its own function.
|
2017-09-15 20:46:32 +01:00 |
|
Alex Beregszaszi
|
9897c56b2c
|
Mark a lot of functions static (where possible)
|
2017-08-22 10:51:46 +01:00 |
|
Alex Beregszaszi
|
e2cfc9ee92
|
Mark a lot of functions const (where possible)
|
2017-08-22 10:51:46 +01:00 |
|
chriseth
|
42fe8a2cb1
|
New ABI encoder.
|
2017-08-14 12:44:25 +02:00 |
|