Commit Graph

77 Commits

Author SHA1 Message Date
Richard Moore
e39e2ed718
Added address to HDNode (#196). 2018-10-07 01:09:56 -04:00
Richard Moore
731f189010
Fixed nested errors for providers that were masking true error (#292). 2018-10-04 15:24:29 -04:00
Richard Moore
281bd0613d
Added support for JSON serialized BigNumbers in the constructor (#288). 2018-10-03 19:54:38 -04:00
Richard Moore
5e86e02304
Fixed wildcard events and made nested events more robust (#289). 2018-10-01 17:30:45 -04:00
Richard Moore
ef5d19e5c9
More logical interface for hexDataSlice (mimic slice). 2018-09-27 16:52:05 -04:00
Richard Moore
f4e247fc92
Fixed trailing-zero issue after commify fix. 2018-09-26 16:11:38 -04:00
Richard Moore
57439af25d
Removed options from unit conversion and added separate otto-safe commify function (#202, prep for #228). 2018-09-26 15:44:39 -04:00
Richard Moore
05e30f4680
Major overhaul of file layout and import/export structure to better support TypeScript. 2018-09-24 15:55:17 -04:00
Richard Moore
9c87e569cf
Added Ethereum Classic Testnet to networks. 2018-09-21 15:34:56 -04:00
Richard Moore
15761027df
Added constructor support for Human-Readable ABI. 2018-09-21 15:34:24 -04:00
Richard Moore
892f30a051
Check HTTP status before parsing body in fetchJson (#280). 2018-09-20 12:44:46 -04:00
Richard Moore
13e50ec6db
Exposed more secp256k1 primitives (#233 #271). 2018-09-06 16:37:44 -04:00
Richard Moore
9dcf6f3253
Added headers and timeout to fetchJson (#224 #257). 2018-09-06 16:34:45 -04:00
Richard Moore
7aebe53e5b
Change Buffer constructor to safer operations (#265). 2018-09-04 10:20:31 -04:00
Richard Moore
afae5cd2f9
Block calling contract methods until it deployed, if it is pending deployment. 2018-08-27 13:38:48 +02:00
Richard Moore
2b9d8d6d6a
Silence warning for external keyword in human-readable ABI. 2018-08-27 13:27:03 +02:00
Richard Moore
e092746165
Removed jsonCopy and added deepCopy instead (#261). 2018-08-21 13:11:44 +02:00
Richard Moore
388b658bfa
Invalid utf-8 strings now fail by default. 2018-08-21 13:08:28 +02:00
Richard Moore
0358e8afb7
Fixed typo in units for finney (#259). 2018-08-21 13:01:55 +02:00
Richard Moore
f4c3073304
Removed BigNumber and AbiCoder objects from utils and exposed them at the root. 2018-08-13 16:58:19 +01:00
Richard Moore
e4d5786861
Fixed isType for null values. 2018-08-13 16:56:59 +01:00
Richard Moore
3635a9bb40
Fixed custom network chain ID check. 2018-08-13 16:50:47 +01:00
Richard Moore
fcee62a3d9
Fixed parseSignature with empty parameter lists. 2018-08-04 19:34:30 -04:00
Richard Moore
421b2c857b
Fixing TypeScript compiler using host paths for resolving constants. 2018-08-02 21:34:10 -04:00
Richard Moore
5c8703fb30
Restructuring for TypeScript. 2018-08-02 20:30:44 -04:00
Richard Moore
b73a964bac
Moved type to enum for hmac SupportedAlgorithms. 2018-08-01 17:33:23 -04:00
Richard Moore
3e091a2938
Added Vyper-style gas ABI support. 2018-08-01 17:24:11 -04:00
Richard Moore
cb6d18035f
Added error code detection for sendTransaction. 2018-08-01 17:02:27 -04:00
Richard Moore
9b885296d0
Major re-factor of the library layout for TypeScript; still up for discussion. 2018-07-30 18:59:52 -04:00
Richard Moore
a966a60656
Changed constant name for consistency. 2018-07-27 03:46:38 -04:00
Richard Moore
a1a765f6e4
Fixed types for Log Description. 2018-07-26 17:31:08 -04:00
Richard Moore
73486d6f39
Added public and stateMutability for payable to ABI coder. 2018-07-26 16:58:31 -04:00
Richard Moore
00bb20546b
No longer using instanceof which conflicts with npm link. 2018-07-25 21:15:43 -04:00
Richard Moore
7cf8596906
Added bounds checks to the number coder and fixed bytes coder. 2018-07-25 19:32:27 -04:00
Richard Moore
7014afaab6
Fixing out-of-order browserify imports again. 2018-07-23 05:37:07 -04:00
Richard Moore
7d4caa05ca
Use class instance to detect BigNumber. 2018-07-22 20:06:36 -04:00
Richard Moore
004fd7d37d
Make formatUnits options optional. 2018-07-22 20:05:45 -04:00
Richard Moore
e3da92d1ee
Lazy load the elliptic curve; also fixed circular dependencies internal to the library that cause issues in browserify. 2018-07-22 20:05:14 -04:00
Richard Moore
0bc72c5ed4
Export computePublicKey in utils. 2018-07-22 19:59:27 -04:00
Richard Moore
2aa2a38e37
Added a (hacky) way to get TypeScript to support the Contract meta-class functions. 2018-07-18 16:32:16 -04:00
Richard Moore
a062f75d38
Made Signatures more flexible for input. 2018-07-17 15:32:06 -04:00
Richard Moore
ce864fa1b2
Fixed browser shim for setImmediate. 2018-07-17 02:05:24 -04:00
Richard Moore
b61b84dfc8
Moved static Wallet calls to utils and refactors exposed types. 2018-07-17 01:44:04 -04:00
Richard Moore
e8c657ba70
Fixed type definitions using absolute path. 2018-07-16 03:59:25 -04:00
Richard Moore
d1ce9f4964
Refactored imports and exports to be both node-friendly and TypeScript-friendly. 2018-07-16 03:27:49 -04:00
Richard Moore
e4df325e22
Moved getNetwork to utils. 2018-07-16 00:48:41 -04:00
Richard Moore
3b843a1782
Moving away from default exports. 2018-07-16 00:39:29 -04:00
Richard Moore
b61643fecb
Fixed internal exports to use types. 2018-07-16 00:09:13 -04:00
Richard Moore
5f3ceec6f9
Refactored types for TypeScript and to remove circular dependencies. 2018-07-14 17:19:08 -04:00
Richard Moore
d6260ae11a
Fixing weird browserify bug with pacakge resolution order. 2018-07-12 20:11:32 -04:00