Leonid Logvinov
3b158cb726
Address feedback
2018-03-12 03:37:29 +01:00
Leonid Logvinov
13299158d1
Add sol-cover implementation
2018-03-12 03:37:27 +01:00
Leonid Logvinov
76afb6b116
Add types for ABIv2
2018-02-14 15:52:06 -08:00
gagarin55
5927e65045
web3 typings fix - web3.net.peerCount returns number
2018-02-14 16:18:49 +03:00
Olaf Tomalka
97c228031a
Fixed getTransactionReceipt not returning null
2018-01-25 23:52:24 +01:00
Olaf Tomalka
a53e6db537
Fix web3 typing defaultAccount not allowing undefined
...
The default value for the defaultAccount property is undefined,
this happens in real-life scenarios, and so the type should
explicitly warn users about it
2018-01-15 16:02:42 +01:00
Leonid Logvinov
571b3c4da8
Add types for getData on a web3 contract
2018-01-11 14:25:49 +01:00
Leonid Logvinov
78fd942faa
Return to old way of including web3 types
2018-01-10 11:24:37 +01:00
Leonid Logvinov
c2d6e78b2a
Manually apply #14
2018-01-10 11:24:37 +01:00
Olaf Tomalka
7233a11ba0
Added stateMutability to ABIs
...
In the newest version of Solidity, additional property was added,
called state mutability, specyfing what kind of access does the
function have to memory and storage.
Additionally, constructor mutability is limited to payable/non-payable
as it HAS to modify the storage to actually deploy the contract
2018-01-10 11:24:37 +01:00
Olaf Tomalka
9889c8f9e0
Fix ContractInstance new() not parsing properly
...
new is a keyword in typescript and so if a function is called new(),
tsc and for example Visual Studio Code don't regonize types for this
function. The fix is to write this function in quotes
2018-01-10 11:24:37 +01:00
Olaf Tomalka
7e2e392ecc
Made the callback in filter.stopWatching optional
2018-01-10 11:24:37 +01:00
Amir Bandeali
6912a67eba
Add new to contract interface
2018-01-10 11:24:37 +01:00
Amir Bandeali
6abc83de83
fix typo
2018-01-10 11:24:37 +01:00
Leonid Logvinov
a88be1af44
Make transactionIndex nullable
2018-01-10 11:24:36 +01:00
Leonid Logvinov
6eb5411029
Improve log events types
2018-01-10 11:24:36 +01:00
Leonid Logvinov
fdf213ef72
Constraint status type
2018-01-10 11:24:36 +01:00
Leonid Logvinov
bcc902a889
Add status to a transaction receipt
2018-01-10 11:24:36 +01:00
Sergey Ukustov
24ff2ec30c
Add async web3.personal.sign
2018-01-10 11:24:36 +01:00
Sergey Ukustov
4e0c67e2a1
Fix indentation
2018-01-10 11:24:36 +01:00
Leonid Logvinov
dd5d1c00e5
Make all parameters of FilterObject optional
2018-01-10 11:24:36 +01:00
Leonid Logvinov
005d8184aa
Add LogTopic type
2018-01-10 11:24:36 +01:00
Leonid Logvinov
ae37f8d9b6
Define sendAsync on HttpProvider
2018-01-10 11:24:36 +01:00
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