Commit Graph

37 Commits

Author SHA1 Message Date
Leonid Logvinov
0c8cf12650 Add AbiType 2018-01-10 11:24:35 +01:00
Leonid Logvinov
162f1d94dc Add ContractInstance type 2018-01-10 11:24:35 +01:00
Leonid Logvinov
be20e04c7b Extend Abi types 2018-01-10 11:24:35 +01:00
Leonid Logvinov
6210333628 Add return type for sendAsync 2018-01-10 11:24:35 +01:00
Leonid Logvinov
9acb745956 Add sendAsync types in provider 2018-01-10 11:24:35 +01:00
Leonid Logvinov
a9afc0f3f0 Add Web3.isChecksumAddress 2018-01-10 11:24:35 +01:00
libertylocked
c04cbb480a Add auth options to HttpProvider 2018-01-10 11:24:35 +01:00
Leonid Logvinov
817a6d1828 Fix linter errors 2018-01-10 11:24:35 +01:00
Leonid Logvinov
80291930f0 Make error types consistent 2018-01-10 11:24:34 +01:00
Leonid Logvinov
cf8678b979 Introduce BlockWithoutTransactionData and BlockWithTransactionData 2018-01-10 11:24:34 +01:00
Leonid Logvinov
67722c0fb8 Add LogEntry type 2018-01-10 11:24:34 +01:00
Leonid Logvinov
0b6e246c04 Add web3.personal.sign 2018-01-10 11:24:34 +01:00
Leonid Logvinov
3992295678 Add a lot of types 2018-01-10 11:24:34 +01:00
Sergey Ukustov
da404b9acc Extract API interfaces: web3.version, web3.eth, web3.personal 2018-01-10 11:24:34 +01:00
Sergey Ukustov
da8db153be Optional provider parameter in Web3 constructor 2018-01-10 11:24:34 +01:00
Fabio Berger
2cdb0de1c3 Add missing semi-colon 2018-01-10 11:24:34 +01:00
Fabio Berger
66bd798e80 Add missing semi-colons 2018-01-10 11:24:34 +01:00
libertylocked
cf37dfb257 Add web3.eth.blockNumber 2018-01-10 11:24:34 +01:00
Sergey Ukustov
217f84204e Add web3.sha3 method declaration 2018-01-10 11:24:34 +01:00
Fabio Berger
14e94a5376 Use single instead of double quotes by convention 2018-01-10 11:24:34 +01:00
Fabio Berger
08508afdb2 Remove spaces between union types to remain stylistically consistent 2018-01-10 11:24:33 +01:00
Sergey Ukustov
4220f25e01 Constructor definition does not include name or constant modifier 2018-01-10 11:24:33 +01:00
Sergey Ukustov
4ff5afecc8 Revamp AbiDefinition 2018-01-10 11:24:33 +01:00
Sergey Ukustov
2eabb439d9 filter.stopWatching accepts callback 2018-01-10 11:24:33 +01:00
Sergey Ukustov
2bc9d5d490 filter.watch callback param accepts arguments 2018-01-10 11:24:33 +01:00
Leonid Logvinov
1a38893b52 Fix version typings 2018-01-10 11:24:33 +01:00
Leonid Logvinov
a3c9d0ace5 Add at function to Contract class 2018-01-10 11:24:33 +01:00
Leonid Logvinov
ef76c4c62b Make currentProvider a variable, not a function 2018-01-10 11:24:33 +01:00
Fabio Berger
d6754685cc remove default import 2018-01-10 11:24:33 +01:00
Fabio Berger
5c4a1dcbd5 Move interface definitions into the web3 namespace 2018-01-10 11:24:32 +01:00
Fabio Berger
15b5fcbaf9 Export all interfaces and export the web3 constructor as the default export 2018-01-10 11:24:32 +01:00
Fabio Berger
0af2ba1b7d Move Provider type outside of namespace 2018-01-10 11:24:32 +01:00
Fabio Berger
07eb250083 Allow numbers to also be passed to fromWei and toWei 2018-01-10 11:24:32 +01:00
Fabio Berger
d7d22c36ed Add toWei and getTransactionReceipt definitions 2018-01-10 11:24:32 +01:00
Fabio Berger
98e9c3b800 Add getBlockNumber definition 2018-01-10 11:24:32 +01:00
Fabio Berger
a7f1137db8 Add bigNumber dependency 2018-01-10 11:24:32 +01:00
Fabio Berger
0a2f82a19d Add initial version of typings and README 2018-01-10 11:24:31 +01:00