Lefteris Karapetsas
6441a1d93d
Simple mapping accessors working
10 years ago
Lefteris Karapetsas
4795991f2a
Code generation for mapping state variable accessor
- Work in progress
10 years ago
Christian
47f6c9a5de
Padding fixes.
10 years ago
Christian
c38dd9765b
Whitespace and error messages.
10 years ago
Christian
f57dc81889
Code generation for events.
10 years ago
Lu Guanqun
b0c3579e25
implement named arguments
10 years ago
Lefteris Karapetsas
51fb3b6f75
No longer exposing retrieveValueFromStorage() as a public function
- plus small fix in EndToEndTests
10 years ago
Christian
104e726847
Style changes.
10 years ago
Christian
7dc695e840
Super keyword.
10 years ago
Lefteris Karapetsas
2fcfb45760
Various fixes pertaining to State Variable accessors
10 years ago
Lefteris Karapetsas
309ffb8948
EVM Code for simple accessor function is properly generated
10 years ago
Lefteris Karapetsas
85e4b29260
Work on ExpressionCompiler preparing for Accessors from storage
10 years ago
liana
1b5098cd04
- cosmetic changes
10 years ago
liana
16ef4eb9a7
-redesigned appendTypeConversion function
10 years ago
liana
54ade2fd44
- modifications according to PR review
10 years ago
liana
20421bbfc1
- corrected assert
10 years ago
liana
75f01f6a76
- added conversion for string/hash of equal sizes
- added tests
10 years ago
Christian
4fe47c5014
Explicit calls to base class function.
10 years ago
Christian
df44090ae6
Inheritance in compiler.
10 years ago
Lefteris Karapetsas
7e145a3d1c
Some addition to Solidity Execution Framework
10 years ago
liana
7651909bdf
- corrected delete in case we have more than one locals
- added a test
10 years ago
liana
3012ee73b2
removed spaces
10 years ago
liana
658b8d86d2
Corrected "delete" for local variables i.e. set them to 0
Added test case
10 years ago
Gav Wood
1f7ccc48d5
Add blockhash to Solidity.
Autopadding fix.
10 years ago
Lefteris Karapetsas
d5c859efb9
Update ExpressionCompiler.cpp
10 years ago
liana
3e166f15fc
- added functionality to set values to 0 when deleting structure(not for mapping)
- added unit test
Made some changes after Christian`s review on pull request
- remove/edit comments
- BoolType and ContractType return VoidType after delete
- fixed constructor_arguments test
- fixed set to 0 when deleting variable from stack
- changed test case to test that
10 years ago
Lefteris Karapetsas
b91a6c73cc
Fixing an unused parameter warning in ExpressionCompiler
10 years ago
Christian
917cade816
Style.
10 years ago
Christian
9da6bb3629
More flexible access to stack during external function call.
10 years ago
Christian
1419263ccc
Use min gas for send().
10 years ago
Christian
de3e6a09db
Specify value for contract creation.
10 years ago
Christian
1b36ff453b
Modify gas and value for external function call.
10 years ago
Christian
5e0b71730c
More convenient function type construction.
10 years ago
Christian
1e3929d5ad
Coding style: Prefix for const variables.
10 years ago
Christian
08f556cd5a
Contracts are Addresses.
10 years ago
Christian
d9334abe89
Correct type conversions.
10 years ago
Christian
de77918d05
Padding for ABI types.
10 years ago
Christian
e1338c7e6c
Arbitrary precision integer constants.
10 years ago
Christian
8ad6951f38
Some changes to the log functions.
10 years ago
Lefteris Karapetsas
299305548f
Adjustments to Solidity compiler code for Function Hash
10 years ago
Gav Wood
0ca84e5a0d
Basic logging in Solidity (though no tests yet).
10 years ago
Lefteris Karapetsas
9fff09af6b
Compiler EVM generation now takes into account for the new function hash
identifier
- Changed tests to comply with the new function hash identifier
- Changed the function index offset to 4, and made it a constant for
easy adjustment in the future
10 years ago
Christian
1d3801f726
Arbitrary precision integer constants.
10 years ago
Christian
0de9e2aebd
Bugfix: Use parameter (not argument) type size on stack for function calls.
10 years ago
Gav Wood
9dd9b025d1
BLOCKHASH
10 years ago
Christian
e427a0a2ca
Bugfix: Additional swap for compound assignment.
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Christian
8eee0a2033
Correctly check for string prefix plus indentation change.
10 years ago
Christian
b0af628f11
Calls to bare contracts.
10 years ago