Commit Graph

45 Commits

Author SHA1 Message Date
Richard Moore
20c3d1b109 Fixed type guard for non-Typed instances (#4087). 2023-06-06 21:24:02 -04:00
Richard Moore
bbcfb5f6b8 docs: added jsdocs and general documentation 2023-06-01 17:42:48 -04:00
Richard Moore
2e5935b91c Fix Result.map when Array contains zero elements (#4036, #4048). 2023-05-15 17:18:46 -04:00
Richard Moore
8c5973e3a9 Added support for legacy ABI JSON fragments (#3932). 2023-04-06 04:25:54 -04:00
Richard Moore
c58ab3a976 Add _in_ operator support for contract and contract.filters (#3901). 2023-04-06 02:46:47 -04:00
Richard Moore
9cb2a9d89b docs: added Typed info 2023-04-05 04:20:48 -04:00
Richard Moore
c220fe2ea7 Fixed stray unreachable code (#3890). 2023-03-12 04:45:12 -04:00
Richard Moore
f1a810dcb5 Fixed typo in error messages (#3822, #3824). 2023-02-28 21:18:27 -05:00
Richard Moore
4f2d1e1c7b docs: fixed typos in docs 2023-02-26 18:25:02 -05:00
Richard Moore
399356b912 Fixed Result to behave correctly like an array using slice and toArray (#3787). 2023-02-18 21:42:01 -05:00
Richard Moore
4512e97f9b Replaced substring from 0 index with startsWith (#3691). 2023-02-18 14:00:42 -05:00
Richard Moore
762c2f34ea Fixed inverted assert in duplicate name detection for ABI encoding (#3792). 2023-02-18 13:45:45 -05:00
Richard Moore
4d9b29de75 Fixed custom error decoding (#3785). 2023-02-16 08:17:39 -05:00
Richard Moore
e1e0929348 Removed stray debug logging. 2023-02-16 07:49:33 -05:00
Richard Moore
314595113c docs: added more jsdocs and examples 2023-02-12 21:21:11 -05:00
Richard Moore
522fd16f68 Fixed human-readable parser when identifier begins with valid type prefix (#3728). 2023-02-03 21:50:30 -05:00
Richard Moore
975815b825 Added EventFragment.getTopicHash. 2023-01-31 16:57:58 -05:00
Richard Moore
a336a3acfc Added FunctionFragment.getSelector (#1032). 2023-01-31 16:53:43 -05:00
Richard Moore
c3f8e8ac07 Initial support for fallback and receive methods on contracts. 2023-01-30 22:28:18 -05:00
Richard Moore
32f605eb7b Interface returns null instead of throws on missing fragment. 2023-01-27 17:27:29 -05:00
Richard Moore
9bf98a01be Use correct default for JSON ABI arrays. 2023-01-26 13:46:51 -05:00
Richard Moore
d0f087bdae Add basic species constructor for Result fo better Array-method support. 2023-01-26 11:32:56 -05:00
Richard Moore
c45ee95146 Added interation methods for Interface fragments. 2023-01-22 16:39:11 -05:00
Richard Moore
1b13716986 Fixed JSON ABI parsing (#3674). 2023-01-22 16:37:30 -05:00
Richard Moore
46ddc89441 docs: added jsdocs 2022-12-30 11:28:26 -05:00
Richard Moore
d190e654f8 docs: added breadcrumb titles 2022-12-12 02:47:12 -05:00
Richard Moore
724881f34d docs: added examples to jsdocs 2022-12-09 18:21:45 -05:00
Richard Moore
e1c8b99307 Fixed twos-complement issues. 2022-11-30 15:39:59 -05:00
Richard Moore
b7750cf098 docs: added jsdocs to abi 2022-11-27 21:54:49 -05:00
Richard Moore
257654bc5d Fixed bugs in typed address and 48-bit numeric values. 2022-11-09 21:12:21 -05:00
Richard Moore
6aa853abc3 Fixed ABI argument assertion. 2022-11-09 06:03:01 -05:00
Richard Moore
3db5864041 Switched to assert instead of throwArgument. 2022-11-04 18:08:37 -04:00
Richard Moore
e5c068c395 Converted throwArgumentError to assertArgument. 2022-10-25 04:06:00 -04:00
Richard Moore
9c45482fad Added convenience functions for creating CALL_EXCEPTION Errors. 2022-10-20 04:55:25 -04:00
Richard Moore
8bece98e3e Allow indexed parameters on Events. 2022-10-01 01:29:44 -04:00
Richard Moore
992c7eef07 Simplified Fragment API 2022-10-01 01:17:15 -04:00
Richard Moore
db308812b2 Fix Interface signatures to allow strings as fragments. 2022-09-30 20:03:24 -04:00
Richard Moore
9771b851f8 Renamed Bytes32-based coding functions. 2022-09-30 05:54:00 -04:00
Richard Moore
4d435cd56e Fixed Fragment bugs and added getContract to EtherscanProvider.. 2022-09-27 03:35:23 -04:00
Richard Moore
74f7967be6 Refactor Fragment selector and topichash calculation (#3353). 2022-09-15 22:19:05 -04:00
Richard Moore
1e99d82259 docs: added docs for Interface. 2022-09-09 18:35:08 -04:00
Richard Moore
b617322ee8 Removed superfluous types for refining type properties. 2022-09-09 18:33:36 -04:00
Richard Moore
5bdac36a99 Convert FormatType mnemonic to string literals. 2022-09-09 16:28:32 -04:00
Richard Moore
29949a6309 Replaced logger class with simpler functions. 2022-09-08 23:21:08 -04:00
Richard Moore
f5336c19b1 Initial code drop for v6-beta-exports. 2022-09-05 16:14:43 -04:00