Christian
8b3dec6773
Arbitrary parameters for call() and all hash functions.
10 years ago
chriseth
1e1c4501dd
Typo fix.
10 years ago
Lefteris Karapetsas
368cc8ffea
LValueType of Expression Compiler is now CamelCase
10 years ago
Lefteris Karapetsas
830f0ec52a
ExpressionCompiler's enums to CamelCase
10 years ago
Christian
16bda2824b
Some cleanup in "move to memory" functions.
10 years ago
Lefteris Karapetsas
8d239921e9
SHA3 of string literals now should work
10 years ago
Lefteris Karapetsas
bbede4c31c
appendArgumentsCopyToMemory() has more complicated logic now
- Plus other fixes.
10 years ago
Lefteris Karapetsas
d3f9c89ee0
Fixes after rebase
10 years ago
Lefteris Karapetsas
5b1adccf6d
Renaming a function for clarity
10 years ago
Lefteris Karapetsas
04aa0cc9ba
Solidity SHA3 can now take multiple arguments
10 years ago
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
c38dd9765b
Whitespace and error messages.
10 years ago
Christian
f57dc81889
Code generation for events.
10 years ago
Lefteris Karapetsas
51fb3b6f75
No longer exposing retrieveValueFromStorage() as a public function
- plus small fix in EndToEndTests
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
50a4b6055b
Fixes after rebasing on develop
10 years ago
Lefteris Karapetsas
85e4b29260
Work on ExpressionCompiler preparing for Accessors from storage
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
Christian
de3e6a09db
Specify value for contract creation.
10 years ago
Christian
1b36ff453b
Modify gas and value for external function call.
10 years ago
Christian
de77918d05
Padding for ABI types.
10 years ago
Christian
e1338c7e6c
Arbitrary precision integer constants.
10 years ago
Gav Wood
2a21a544ce
Documentation update.
10 years ago
Christian
1d3801f726
Arbitrary precision integer constants.
10 years ago
Christian
460571bd77
Fix some warnings about uninitialized members.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Christian
b0af628f11
Calls to bare contracts.
10 years ago
Christian
615438a890
Swap literals to the end if optimizing.
10 years ago
Christian
781d58d705
String types.
10 years ago
Christian
f8c78bafb5
Variable-size stack elements for expression compiler.
10 years ago
Christian
a876e363e2
Removed unused members.
10 years ago
Christian
2506b42da8
Clear separation between ASTVisitor and ASTConstVisitor and more const specifiers.
10 years ago
Christian
1e5ebff359
Const AST visitor for the compiler.
10 years ago
Christian
e8c39062f8
Calling functions of other contracts.
10 years ago
Christian
898f989aa1
Sending ether.
10 years ago
Christian
27d20cd849
Magic variables.
10 years ago
Christian
ec2b010047
Mapping types.
10 years ago
Christian
a5542ba2de
State variables.
10 years ago
Christian
6ec55d3d5f
Type promotion fixes and tests.
10 years ago
Christian
ab7d2c8fd1
Proper type promotion and conversion.
10 years ago
Christian
6f3afc8583
Renamed file.
10 years ago
Christian
ea6d58a0d1
Contract compiler and also add ExpressionStatement to AST.
ExpressionStatement functions as glue between Statements and Expressions.
This way it is possible to detect when the border between statements and
expressions is crossed while walking the AST. Note that ExpressionStatement is
not the only border, almost every statement can contains expressions.
10 years ago