feat: add store for example

This commit is contained in:
Nik Dement'ev 2020-11-06 15:14:07 +03:00
parent c13dfa7f83
commit 5c23f8bfe2
No known key found for this signature in database
GPG Key ID: 769B05D57CF16FE2
2 changed files with 9 additions and 14318 deletions

File diff suppressed because it is too large Load Diff

6
types/index.d.ts vendored
View File

@ -44,7 +44,7 @@ type GetBalanceParams = {
}
type WaitForTxReceiptParams = {
address: string
txHash: string
}
type BatchRequestParams = {
@ -73,8 +73,8 @@ interface ProviderInstance {
contractRequest(params: ContractRequestParams): Promise<TransactionReceipt>
getBalance(params: GetBalanceParams): Promise<number>
waitForTxReceipt(params: WaitForTxReceiptParams): Promise<TransactionReceipt>
batchRequest(params: WaitForTxReceiptParams): Promise<string[]>
checkNetworkVersion(params: WaitForTxReceiptParams): Promise<string>
batchRequest(params: BatchRequestParams): Promise<string[]>
checkNetworkVersion(): Promise<string>
on(params: OnListenerParams): void
}