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
Christian
615438a890
Swap literals to the end if optimizing.
10 years ago
Christian
584242357a
Helper functions to access memory.
10 years ago
Christian
781d58d705
String types.
10 years ago
chriseth
5f48ab4046
Const change.
10 years ago
Christian
f8c78bafb5
Variable-size stack elements for expression compiler.
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
Gav Wood
362e5d8145
Warning fix.
ECDSA recover fix.
10 years ago
Christian
68acfc0544
Global functions.
10 years ago
Christian
898f989aa1
Sending ether.
10 years ago
Christian
d759075528
More general function types and references.
10 years ago
Christian
b185a748a5
Access to blockchain data.
10 years ago