Christian
7dc695e840
Super keyword.
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
4dfc7c4436
Fix stack size of typetypes.
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
4fe47c5014
Explicit calls to base class function.
10 years ago
Gav Wood
d2ba0f336e
Missing comma.
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
arkpar
72628e8f32
fixed warnings for msvc build
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
de77918d05
Padding for ABI types.
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
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
cc55936f67
Possibility for unary operators to change type.
10 years ago
Christian
ff4fe8257a
Use shared_from_this instead of manually supplying a shared_ptr to this.
10 years ago
Gav Wood
6cc8c9de69
VM skips push data when looking for JUMPDEST.
Warnings fixes.
10 years ago
Gav Wood
bf8174ecee
Warnings fixes.
Make Mix work with Qt 5.2
Minor other alterations.
10 years ago
Lefteris Karapetsas
0c003958b9
FunctionType also gets CanonicalSignature
- also using iterators in the signature creation function
10 years ago
Christian
6e36344632
Possibility for binary operators to yield types different from their operands'.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Christian
b0af628f11
Calls to bare contracts.
10 years ago
Marek Kotewicz
d70190b0da
removed explicit
10 years ago
Marek Kotewicz
4b90d315b7
user-provided default constructor
10 years ago
Christian
781d58d705
String types.
10 years ago
Christian
afc6b75b80
Some more consts.
10 years ago
Christian
2506b42da8
Clear separation between ASTVisitor and ASTConstVisitor and more const specifiers.
10 years ago
Christian
e8c39062f8
Calling functions of other contracts.
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
Christian
27d20cd849
Magic variables.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
10 years ago
Christian
6ee07c2cb8
Convenience class for type members.
10 years ago
Christian
ad1a1f3ee2
We only care about member types.
10 years ago
Christian
bbc3a1b37e
Struct types.
10 years ago
Christian
ec2b010047
Mapping types.
10 years ago
Christian
650b31777b
Do not return after throw.
10 years ago