View Source DiodeClient.Shell (Diode Client v1.0.0)
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