Commit Graph

198 Commits

Author SHA1 Message Date
Richard Moore
9b118af304
Updated dist files. 2018-10-07 01:13:10 -04:00
Richard Moore
e39e2ed718
Added address to HDNode (#196). 2018-10-07 01:09:56 -04:00
Richard Moore
b2db10e216
Mark progressCallback as optional (#293). 2018-10-07 00:42:52 -04:00
Richard Moore
3736a15714
Updated dist files. 2018-10-04 20:25:07 -04:00
Richard Moore
248158130e
Added automatic event parsing for contract transaction receipts from tx.wait. 2018-10-04 19:54:15 -04:00
Richard Moore
f5c7ccbb80
Added ability to wait for a specific number of confirmations (#229). 2018-10-04 17:27:42 -04:00
Richard Moore
24335d0dd7
Fix for geth-etc (official geth is fine), which returns Receipts before the blockHash is synced to the database. 2018-10-04 16:46:19 -04:00
Richard Moore
908c2c1096
Fixed confirmations tests and bootstrap fast blockNumber. 2018-10-04 16:44:29 -04:00
Richard Moore
9797b36186
Added confirmations to TransactionResponse (#156, #238). 2018-10-04 16:24:31 -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
99fed75202
Added version to errors. 2018-10-03 22:50:22 -04:00
Richard Moore
cb5f9f576a
Fixed French and Spanish for browsers without Uint8Array.forEach. 2018-10-03 22:47:44 -04:00
Richard Moore
f6d946cf68
Updated dist files. 2018-10-03 20:03:32 -04:00
Richard Moore
c34a1f73c6
Added French and Spanish BIP-39 wordlists (#191). 2018-10-03 19:58:45 -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
5a0ebf84ef
Updated dist files. 2018-10-01 17:34:44 -04:00
Richard Moore
c9c5b4d641
Added chainId as supported override for contract transactions. 2018-10-01 17:33:09 -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
061b0eae1d
Version bump (major). 2018-09-27 17:17:41 -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
543e12c6ca
Changing contract deployment to ContractFactory. 2018-09-26 15:47:09 -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
f4dd5d19e7
Updated dist files. 2018-09-24 16:07:14 -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
eef07e5a4f
Updated dist files. 2018-09-06 16:41:02 -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
e0cefb0398
Added VoidSigner for read-only access as a specific address. 2018-09-04 10:28:26 -04:00
Richard Moore
6018bf63f9
Make AbstractSigner provider readonly. 2018-09-04 10:27:22 -04:00
Richard Moore
7aebe53e5b
Change Buffer constructor to safer operations (#265). 2018-09-04 10:20:31 -04:00
Richard Moore
32a070d909
Added support for fetching block transactions with blocks. 2018-09-04 10:08:50 -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
280dc56a74
Removing address from JsonRpcSigner and cache address (#263). 2018-08-27 13:27:59 +02:00
Richard Moore
2b9d8d6d6a
Silence warning for external keyword in human-readable ABI. 2018-08-27 13:27:03 +02:00
Richard Moore
810e9e743e
Updated dist files. 2018-08-21 13:13:52 +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
2b88efea65
Updated dist files. 2018-08-13 17:01:44 +01: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
46a55a1d99
Removing old dead code. 2018-08-13 16:56:20 +01:00
Richard Moore
2c1022cde1
Removed timeout from wait so we can use confirmations in the future instead and remain backwards compatible. 2018-08-13 16:54:32 +01:00
Richard Moore
f9723c42cb
Re-use shallowCopy. 2018-08-13 16:52:35 +01:00
Richard Moore
3635a9bb40
Fixed custom network chain ID check. 2018-08-13 16:50:47 +01:00
Richard Moore
a80a8a8ced
Fixed miscalculating estimated fees for payable functions. 2018-08-05 18:35:00 -04:00
Richard Moore
e3b04bb3fc
Updated dist files. 2018-08-04 19:40:06 -04:00
Richard Moore
fcee62a3d9
Fixed parseSignature with empty parameter lists. 2018-08-04 19:34:30 -04:00
Richard Moore
7f1fbfc203
Make wallet.encrypt options optional. 2018-08-04 19:33:51 -04:00
Richard Moore
4f63b82bbb
Updated dist files. 2018-08-03 15:26:01 -04:00
Richard Moore
f63c844c42
Added support for getting JsonRpcSigner by index and fixed gas limit in sendTransaction. 2018-08-03 15:22:28 -04:00
Richard Moore
1c45840148
Updated dist files. 2018-08-02 21:35:39 -04:00
Richard Moore
421b2c857b
Fixing TypeScript compiler using host paths for resolving constants. 2018-08-02 21:34:10 -04:00
Richard Moore
bacf42a22f
Updated dist files. 2018-08-02 20:43:09 -04:00
Richard Moore
5c8703fb30
Restructuring for TypeScript. 2018-08-02 20:30:44 -04:00
Richard Moore
c7555516ff
Using the Vyper-style gas limits sans the base cost. 2018-08-02 17:14:06 -04:00
Richard Moore
957ccd2eaf
Updated dist files and tests. 2018-08-01 18:05:19 -04:00
Richard Moore
558ef2c00d
Updated ethers exported structure. 2018-08-01 17:35:23 -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
4b15229832
Calculate estimated gasLimit for JsonRpcProvider. 2018-08-01 15:47:02 -04:00
Richard Moore
cc6f658ef1
Added support for Web3 v1.0 providers. 2018-07-30 23:14:07 -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
d05da1e487
Added transactionHash to error for consistency. 2018-07-27 03:45:11 -04:00
Richard Moore
a1a765f6e4
Fixed types for Log Description. 2018-07-26 17:31:08 -04:00
Richard Moore
1d98928475
Updated dist files. 2018-07-26 17:02:32 -04:00
Richard Moore
73486d6f39
Added public and stateMutability for payable to ABI coder. 2018-07-26 16:58:31 -04:00
Richard Moore
640ed5dc33
Fixed recursive promise filling for contract calls. 2018-07-26 16:57:47 -04:00
Richard Moore
97b6d8a797
Updated dist files. 2018-07-25 21:20:21 -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
5a0607d11b
Updated dist files. 2018-07-23 19:23:53 -04:00
Richard Moore
7014afaab6
Fixing out-of-order browserify imports again. 2018-07-23 05:37:07 -04:00
Richard Moore
3a5ec9b4ca
Updated dist files. 2018-07-23 02:59:01 -04:00
Richard Moore
bceefc7197
Better browserify for English wordlist. 2018-07-22 21:07:50 -04:00
Richard Moore
bfff3ea4cc
Simpler empty modules for shims. 2018-07-22 20:41:30 -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
d0cf0c8f43
Restructuring browser shims. 2018-07-22 18:25:36 -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
d701995bc0
Correct wallet.createRandom to have optional options. 2018-07-18 16:30:42 -04:00
Richard Moore
b9aca357a9
Updated generated version file. 2018-07-17 16:09:35 -04:00
Richard Moore
26f5a558d6
Fixed some concerns of eslint. 2018-07-17 16:09:06 -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
614b2d0325
Removing default export from wordlists. 2018-07-16 00:32:26 -04:00
Richard Moore
b61643fecb
Fixed internal exports to use types. 2018-07-16 00:09:13 -04:00