View Source DiodeClient.Shell (Diode Client v1.0.1)

me = Diode.miner() |> Wallet.address!() Shell.get_balance(me)

fleetContract = Base16.decode("0x6728c7bea74db60c2fb117c15de28b0b0686c389") Shell.call(fleetContract, "accountant")

registryContract = Diode.registry_address() Shell.call(registryContract, "ContractStake", ["address"], [fleetContract])

addr = Chain.GenesisFactory.genesis_accounts |> hd |> elem(0) Shell.call_from(Wallet.from_address(addr), registryContract, "ContractStake", ["address"], [fleetContract])

Link to this section Summary

Link to this section Functions

Link to this function

create_transaction(address, function_name, types, values, opts \\ [])

View Source
Link to this function

get_account(address, peak \\ peak())

View Source
Link to this function

get_account_root(address, peak \\ peak())

View Source
Link to this function

get_account_roots(address, peak \\ peak())

View Source
Link to this function

get_account_value(address, key, peak \\ peak())

View Source
Link to this function

get_account_values(address, keys, peak \\ peak())

View Source
Link to this function

get_block_header(block_index)

View Source
Link to this function

peak_number(peak \\ peak())

View Source
Link to this function

send_transaction(address, function_name, types, values, opts \\ [])

View Source