Commit Graph

135 Commits

Author SHA1 Message Date
Richard Moore
b7750cf098 docs: added jsdocs to abi 2022-11-27 21:54:49 -05:00
Richard Moore
16f3c44daa Refactor built-in constants. 2022-11-27 21:54:09 -05:00
Richard Moore
fe3270a6fe docs: added docs for hashing 2022-11-27 21:53:31 -05:00
Richard Moore
368f960904 docs: added jsdocs for crypto 2022-11-27 21:53:06 -05:00
Richard Moore
3f3f340878 docs: added jsdocs for transactions 2022-11-27 21:52:34 -05:00
Richard Moore
d75cc3c023 Moved to assert instead of throw helpers. 2022-11-27 21:52:21 -05:00
Richard Moore
fe342ca48a docs: added jsdocs for utils 2022-11-27 21:50:34 -05:00
Richard Moore
1966c2d6d4 Refactor wallet inheritance. 2022-11-27 21:49:24 -05:00
Richard Moore
cf4a579bf5 Refector Mnemonic for lasy wordlists. 2022-11-27 21:49:12 -05:00
Richard Moore
5581ec3f97 docs: added jsdocs to wallet 2022-11-27 21:48:13 -05:00
Richard Moore
7dd9049993 Added lazy instantiation to wordlists. 2022-11-27 21:45:42 -05:00
Richard Moore
f24aa17709 Removing dead files. 2022-11-27 21:44:35 -05:00
Richard Moore
c1a8adc5cf tests: added wallet encryption 2022-11-10 04:05:14 -05:00
Richard Moore
b42107364d Refactor Wallet and HDNodeWallet. 2022-11-10 04:04:53 -05:00
Richard Moore
1e56d5044e Refactor Wallet and HDNodeWallet structure. 2022-11-10 04:04:27 -05:00
Richard Moore
bbc488a472 admin: updated dist files 2022-11-09 22:45:17 -05:00
Richard Moore
84b1c3d41a tests: temporarily remove the avatar tests 2022-11-09 22:44:06 -05:00
Richard Moore
4b4fdbc6e3 tests: added typed values tests 2022-11-09 21:12:54 -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
3d3273a8c5 admin: updated dist files 2022-11-09 06:22:17 -05:00
Richard Moore
8af9e5953f tests: better error recovery on testing sending transactions 2022-11-09 06:20:48 -05:00
Richard Moore
6aa853abc3 Fixed ABI argument assertion. 2022-11-09 06:03:01 -05:00
Richard Moore
6f40dfdf77 Fixed HDNodeWallet mnemonic assertion. 2022-11-09 05:57:00 -05:00
Richard Moore
62b358024b tests: less chatty transaction sending tests 2022-11-09 02:53:13 -05:00
Richard Moore
60d7709069 More robust FallbackProvider with correct error pass-through. 2022-11-09 02:52:25 -05:00
Richard Moore
96d1eaabf3 Added better CCIP debug tracing. 2022-11-09 02:51:07 -05:00
Richard Moore
c85cc72564 Fix formatting when passed an existing ethers object and remove static confirmations. 2022-11-09 02:49:32 -05:00
Richard Moore
8ea7cc8ee1 Fix Etherscan POST serialization for bigints. 2022-11-09 02:48:29 -05:00
Richard Moore
b30597c686 Added more tests 2022-11-04 18:11:38 -04:00
Richard Moore
d2271617a6 More flexible Contract for events and allow listening to multiple events in a single filter. 2022-11-04 18:10:00 -04:00
Richard Moore
8fe938e69b Fixed provider events for filters which included a null. 2022-11-04 18:09:08 -04: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
17ac965b12 Remove empty subs on emit if subscribed using once. 2022-10-21 01:24:10 -04:00
Richard Moore
214b7ba217 admin: updated dist files 2022-10-20 05:03:32 -04:00
Richard Moore
e72a3cf078 tests: updated test suites 2022-10-20 05:00:49 -04:00
Richard Moore
1648beba74 Updated root exports. 2022-10-20 05:00:18 -04:00
Richard Moore
83d01f86ba Prevent signing invalid digests. 2022-10-20 04:59:55 -04:00
Richard Moore
5813b316d7 Fixed bug parsing raw non-compressed signatures. 2022-10-20 04:59:20 -04:00
Richard Moore
14af51d4e9 Fixed browser issue for HMAC. 2022-10-20 04:58:37 -04:00
Richard Moore
53c8291ed5 Use new makeError method in Contract. 2022-10-20 04:57:28 -04:00
Richard Moore
9c45482fad Added convenience functions for creating CALL_EXCEPTION Errors. 2022-10-20 04:55:25 -04:00
Richard Moore
a667dcbebe Sync testnets with v5 updates and update to new CALL_EXCEPTION model. 2022-10-20 04:54:26 -04:00
Richard Moore
f4539e5675 Inject common networks in main Network object to allow sync access to Network at the top-level. 2022-10-20 04:51:42 -04:00
Richard Moore
2486b88494 Fixed Wallet not passing non-enumerated properties along to be signed. 2022-10-20 04:50:39 -04:00
Richard Moore
15446f729b Updated to new CALL_EXCEPTION model, removing UNPREDICTABLE_GAS_LIMIT. 2022-10-20 04:49:40 -04:00
Richard Moore
22ebbf4e5c Fixed wrong hash computed with Transaction and added toJSON. 2022-10-20 04:48:52 -04:00
Richard Moore
45d29fd318 Allow computing an address from a SigningKey. 2022-10-20 04:47:44 -04:00
Richard Moore
1974c6abdc Removed old incompatible method of injected networks. 2022-10-20 04:47:05 -04:00
Richard Moore
55a6c9b715 tests: added more testing 2022-10-01 01:33:18 -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
fb57f6d848 tests: use retryIt for possibly long-running provider tests 2022-09-30 20:20:27 -04:00
Richard Moore
87e1f52702 Initial signature change to support custom WebSockets for reconnecting providers. 2022-09-30 20:04:03 -04:00
Richard Moore
db308812b2 Fix Interface signatures to allow strings as fragments. 2022-09-30 20:03:24 -04:00
Richard Moore
0fd2a450af Add negative hexstring support to getNumber. 2022-09-30 20:02:42 -04:00
Richard Moore
f4d2721baf tests: added more tests 2022-09-30 20:00:11 -04:00
Richard Moore
58ae6b7fc5 tests: fixed locking randomBytes test 2022-09-30 19:56:13 -04:00
Richard Moore
9771b851f8 Renamed Bytes32-based coding functions. 2022-09-30 05:54:00 -04:00
Richard Moore
7096b067da admin: update admin scripts to find meaningful head.. 2022-09-29 23:17:36 -04:00
Richard Moore
ad5b8da8bf admin: updated dist files 2022-09-29 22:57:27 -04:00
Richard Moore
c1f86802fb admin: updated version bump script 2022-09-29 22:54:58 -04:00
Richard Moore
1f2318a34a Fix some root exports. 2022-09-29 21:56:40 -04:00
Richard Moore
aa60fe3ed2 Added basic provider data tests. 2022-09-29 21:56:05 -04:00
Richard Moore
0ce18366b1 Renamed getStorageAt to getStorage and homestead to mainnet and fixed several Provider formatting bugs. 2022-09-29 21:55:13 -04:00
Richard Moore
e14cca31ba Refactor provider model for better socket provider support. 2022-09-29 21:53:25 -04:00
Richard Moore
a6faed5098 admin: update dist files 2022-09-27 03:45:27 -04:00
Richard Moore
4d435cd56e Fixed Fragment bugs and added getContract to EtherscanProvider.. 2022-09-27 03:35:23 -04:00
Richard Moore
ee06989ba3 Refactored JsonRpcApiProvider and the Provider model. 2022-09-17 23:17:52 -04:00
Richard Moore
40fad8bbc0 admin: update dist files 2022-09-15 23:02:59 -04:00
Richard Moore
067536a837 Added error coalescence back to JsonRpcApiProvider. 2022-09-15 22:56:48 -04:00
Richard Moore
b09a023d61 tests: updated avatar tests 2022-09-15 22:56:01 -04:00
Richard Moore
23868e74b1 Refactor imports. 2022-09-15 22:31:00 -04:00
Richard Moore
edcba76366 docs: added more jsdocs 2022-09-15 22:30:27 -04:00
Richard Moore
12a13c6d56 Refactor Fragment selector and topichash calculation in Contract (#3353). 2022-09-15 22:27:21 -04:00
Richard Moore
d7c6252521 tests: added initial provider tests. 2022-09-15 22:20:48 -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
f30cdf6262 docs: added jsdocs to utils. 2022-09-09 03:37:38 -04:00
Richard Moore
29ead2696c Removed dead file for logger. 2022-09-08 23:21:57 -04:00
Richard Moore
29949a6309 Replaced logger class with simpler functions. 2022-09-08 23:21:08 -04:00
Richard Moore
955e4c0af7 Fixed circular dependency in SigningKey. 2022-09-05 16:51:48 -04:00
Richard Moore
f5336c19b1 Initial code drop for v6-beta-exports. 2022-09-05 16:14:43 -04:00