Christian
f9d853fe90
Simple copy of bytes to storage.
10 years ago
Christian
10667e0b41
Tests and some code for msg.data.
10 years ago
Christian
1e6f3cb1bd
Introduced byte array type.
10 years ago
Lu Guanqun
1372154ff2
small fixes per chris's comments
10 years ago
Lu Guanqun
e85fe2348f
add exponent operator
https://www.pivotaltracker.com/n/projects/1189488/stories/83746404
10 years ago
Christian
8b3dec6773
Arbitrary parameters for call() and all hash functions.
10 years ago
Lefteris Karapetsas
46dfdc97af
Camelcasing enums in Types.h
10 years ago
Lefteris Karapetsas
6bb8233d15
Changing Solidity Code to use CamelCase enum values
10 years ago
Christian
a7a14c07ba
Small cleanup.
10 years ago
Lefteris Karapetsas
490cb5608e
Small fixes in Types and ExpressionCompiler
10 years ago
Christian
6219085ad9
Accessors for structs.
10 years ago
Lefteris Karapetsas
deea982c00
getRealType() introduced
10 years ago
Christian
a90ec7576c
Some fixes for the ether units parser.
10 years ago
Lefteris Karapetsas
e296d86cc6
More style changes in enums
10 years ago
Lefteris Karapetsas
c0151476ad
Minor Style fixes
10 years ago
Lefteris Karapetsas
c11c26c094
Tests and fixes for ether subdenominations
10 years ago
Lefteris Karapetsas
28e99bbd7d
Adding ether subdenominations after constan literals
10 years ago
Gav Wood
101915767f
Minor typo.
10 years ago
Lefteris Karapetsas
6c5120978e
Accessors for multiple mappings implemented
10 years ago
Lefteris Karapetsas
c6c8a1ceeb
Adding mapping treatment to FunctionType
Plus a TypeResolution test for it
10 years ago
Christian
edefb95aae
Fallback functions.
10 years ago
Christian
d3e2d2adf3
Parsing of events.
10 years ago
Lefteris Karapetsas
93abe45771
FunctionType now returns const ref for Declaration
10 years ago
Lefteris Karapetsas
941a424e71
Minor fixes plus a rebase merge fix
10 years ago
Lefteris Karapetsas
122aada70f
Contract Interface Functions now return FunctionType
- Enchanced Function Type by declaration so that it can provide all the
required information at each place interface functions are consumed
- Changed all places where interface functions was used.
- Simplified Mix's FunctionDefinition code
10 years ago
Christian
7dc695e840
Super keyword.
10 years ago
Lefteris Karapetsas
eb51218af4
Simplify FunctionType's Vardecl constructor
10 years ago
Lefteris Karapetsas
3732d42ce8
Various small fixes for Sol Automatic Accessors
10 years ago
Lefteris Karapetsas
06764f026e
State variable accessors code is now more organized
- FunctionDescription is the abstraction of what should describe a
function. It can either be a VariableDeclaration of a
FunctionDefinition.
- ParamDescription is what FunctionDescription uses to describe its
parameters for outside use purposes with a pair of (name, type)
strings
- Modified code around Solidity and especially interface handler to
adapt to this change
10 years ago
Lefteris Karapetsas
818742dac9
Work in progress for state variable accessors
- Changed the code so that a generic declaration with the combination of
a function type can be used wherer a function definition was used
before
- Since using an std::pair everywhere is really tiring with this commit
I am in the process of abstracting it into a function
10 years ago
Christian
2566466a6c
Type resolution for function modifiers.
10 years ago
liana
75f01f6a76
- added conversion for string/hash of equal sizes
- added tests
10 years ago
Christian
747bf7f2d4
Include virtual function overrides in constructor context.
10 years ago
Christian
0019c53f5c
Implicit conversion from derived to base.
10 years ago
Christian
4fe47c5014
Explicit calls to base class function.
10 years ago
Gav Wood
1f7ccc48d5
Add blockhash to Solidity.
Autopadding fix.
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
43602427a1
Remove redundancy in FunctionType::getSizeOnStack.
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
18f7839fd5
Define strings = vector<string>
10 years ago
Christian
5e0b71730c
More convenient function type construction.
10 years ago
Christian
08f556cd5a
Contracts are Addresses.
10 years ago
Christian
a017d2b1de
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
10 years ago
Christian
e1338c7e6c
Arbitrary precision integer constants.
10 years ago
Christian
f6ddd3fd33
Possibility for unary operators to change type.
10 years ago
Christian
874b2b34ea
Use shared_from_this instead of manually supplying a shared_ptr to this.
10 years ago
Lefteris Karapetsas
299305548f
Adjustments to Solidity compiler code for Function Hash
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
7158f408ac
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
10 years ago