View Source DiodeClient.Shell.Common (Diode Client v1.3.4)

Common functions for the shell implementations.

Summary

Functions

call(shell, address, method, types, args, opts \\ [])

call_tx(shell, transaction, opts \\ [])

create_meta_transaction(shell, address, callcode, nonce, opts \\ [])

create_transaction(shell, address, data, opts)

decode_result(result, types)

gas_price(shell)

get_block_header(shell, block_index)

get_transaction_receipt(shell, tx_hash)

send_transaction(shell, tx)