mirror of
https://github.com/tornadocash/provider.git
synced 2024-11-22 01:36:51 +01:00
feat: add store for example
This commit is contained in:
parent
c13dfa7f83
commit
5c23f8bfe2
14321
.idea/workspace.xml
14321
.idea/workspace.xml
File diff suppressed because it is too large
Load Diff
6
types/index.d.ts
vendored
6
types/index.d.ts
vendored
@ -44,7 +44,7 @@ type GetBalanceParams = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type WaitForTxReceiptParams = {
|
type WaitForTxReceiptParams = {
|
||||||
address: string
|
txHash: string
|
||||||
}
|
}
|
||||||
|
|
||||||
type BatchRequestParams = {
|
type BatchRequestParams = {
|
||||||
@ -73,8 +73,8 @@ interface ProviderInstance {
|
|||||||
contractRequest(params: ContractRequestParams): Promise<TransactionReceipt>
|
contractRequest(params: ContractRequestParams): Promise<TransactionReceipt>
|
||||||
getBalance(params: GetBalanceParams): Promise<number>
|
getBalance(params: GetBalanceParams): Promise<number>
|
||||||
waitForTxReceipt(params: WaitForTxReceiptParams): Promise<TransactionReceipt>
|
waitForTxReceipt(params: WaitForTxReceiptParams): Promise<TransactionReceipt>
|
||||||
batchRequest(params: WaitForTxReceiptParams): Promise<string[]>
|
batchRequest(params: BatchRequestParams): Promise<string[]>
|
||||||
checkNetworkVersion(params: WaitForTxReceiptParams): Promise<string>
|
checkNetworkVersion(): Promise<string>
|
||||||
on(params: OnListenerParams): void
|
on(params: OnListenerParams): void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user