Evgenii Stratonikov
0decb95591
[ #625 ] morph/client: make all constructors return no error
...
In some places we panic, in some we return error, in some (audit) just return a client.
However in all of the places static client is created immediately before
the sugared-client creation.
This commit makes all constructors to just return a client for the sake
of code simplification and unification.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-02-01 15:47:54 +03:00
Leonard Lyubich
d6c0307431
[ #627 ] morph: Inherit internal.StaticClient interface in all wrappers
...
There is a need to provide contract address getter from all contract client
wrappers.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-30 14:47:04 +03:00
Alex Vanin
a7f6a3df78
[ #812 ] morph/client: Add underline client getter in reputation wrapper
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-13 14:51:07 +03:00
Pavel Karpy
79b350b628
[ #770 ] morph: Support non-alpha notary request by wrappers
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-09-07 12:55:01 +03:00
Pavel Karpy
48827f42d3
[ #643 ] pkg: Sync method names and commentaries to them
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-24 16:10:44 +03:00
Pavel Karpy
057ebf9d51
[ #584 ] pkg/innerring: Stop using deprecated methods
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-03 13:59:59 +03:00
Evgenii Stratonikov
2b2b2c2c45
[ #496 ] Use single contract wrapper constructor
...
There is no need in a separate `New()` or `WrapClient()`
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-05-25 13:41:39 +03:00
Evgenii Stratonikov
b52751e992
[ #496 ] innerring/invoke: move wrapper structs to separate packages
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-05-25 13:41:39 +03:00
Alex Vanin
b9a1aaec23
[ #452 ] morph/client: Add reputation contract client wrapper
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-06 10:35:20 +03:00