Jared Wasinger
|
8d3fc41c9a
|
accounts/abi/bind, accounts/abi/bind/v2: fix error unpacking. update relevant binding example. make error unpacking test more comprehensive
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
5ae1de49c7
|
accounts/abi/bind: remove unecessary TODO from v2 template
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
4d2706c1c5
|
add TODO note about cleaning up template code for return values
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
1b7aecef93
|
don't emit constructor input packing method if the contract constructor has no inputs
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
c92220f20e
|
add docs explaining internal variables on the v2 binder/contractBinder structs. convert exported metadata object in binding to be non-pointer type. Fix some linter issues. remove unecessary TODO comments
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
bcc305dc20
|
remove unused comment. add method description for RawCreationTransact
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
1dd531a2ba
|
misc template additions I forgot to include in previous commits. introduce 'RawDeploymentTransact' method
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
9b453b04fe
|
better naming for instance of self-struct in member methods of structs in generated bindings
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
a934729c2d
|
remove useless todo in v2 template
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
8ea9929a30
|
accounts/abi/bind: fix some ugliness in the generated binding code which deals with pointer types
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
e50bfdd053
|
remove error return from generated pack method for constructors. add the results of feeding v1 binding test ABIs through the v2 generator.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
2949b1a11d
|
embed direct library relations in metadata in bindings. simplify dependency tree handling as a result of embedding it in the bindings.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
eb10c47793
|
wip: embed library relations in metadata
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
b1f3970c57
|
tests pass
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
3129593b3f
|
export event names in bindings. remove added APIs Filter/Watch-Logs which take event ids.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
709ff38bc1
|
gofmt files. add a TODO comment and remove another useless comment
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
736d587990
|
full support for errors with working test
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
9a59bdb239
|
generation of custom error unpacking builds (not tested yet)
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
28d57002ff
|
add generic log watching/filtering. skip adding generic call/transact (issue with interface regarding contract methods that don't take arguments)
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
1f25c68ec4
|
add error unpacking. simplify WatchLogs api.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
f2d78fcfaf
|
return multiple results in exported struct (instead of anonymous one). add return_structs contract example to have an example of it.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
d0a8ead758
|
add copyright notices. move v2 template to its own file. Rename V2Backend->BackendV2
|
2025-01-22 13:54:57 +01:00 |
|