-
Notifications
You must be signed in to change notification settings - Fork 45
/
exw3.ex
22 lines (22 loc) · 1.21 KB
/
exw3.ex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
defmodule ExW3 do
defdelegate accounts(opts \\ []), to: ExW3.Rpc
defdelegate block_number(opts \\ []), to: ExW3.Rpc
defdelegate balance(account, opts \\ []), to: ExW3.Rpc
defdelegate tx_receipt(tx_hash), to: ExW3.Rpc
defdelegate block(block_number), to: ExW3.Rpc
defdelegate new_filter(map), to: ExW3.Rpc
defdelegate get_filter_changes(filter_id), to: ExW3.Rpc
defdelegate get_logs(filter, opts \\ []), to: ExW3.Rpc
defdelegate uninstall_filter(filter_id), to: ExW3.Rpc
defdelegate mine(num_blocks \\ 1), to: ExW3.Rpc
defdelegate personal_list_accounts(opts \\ []), to: ExW3.Rpc
defdelegate personal_new_account(password, opts \\ []), to: ExW3.Rpc
defdelegate personal_unlock_account(params, opts \\ []), to: ExW3.Rpc
defdelegate personal_send_transaction(param_map, passphrase, opts \\ []), to: ExW3.Rpc
defdelegate personal_sign_transaction(param_map, passphrase, opts \\ []), to: ExW3.Rpc
defdelegate personal_sign(data, address, passphrase, opts \\ []), to: ExW3.Rpc
defdelegate personal_ec_recover(data0, data1, opts \\ []), to: ExW3.Rpc
defdelegate eth_sign(data0, data1, opts \\ []), to: ExW3.Rpc
defdelegate eth_call(arguments), to: ExW3.Rpc
defdelegate eth_send(arguments), to: ExW3.Rpc
end