SecureWallet.readContractsTRT

Used for reading contract from TRT. Creates a trt.dartRead command for the TRT. Takes hash of given contract and creates dart index with #contract for lookup in TRT These indices are put into the trt.dartRead specifying the command.

struct SecureWallet(Net : SecureNet)
const
const(HiRPC.Sender)
readContractsTRT
(,
HiRPC hirpc = HiRPC(null)
)

Parameters

contracts const(Document)[]

list of contracts to lookup

hirpc HiRPC

hirpc to use

Return Value

Type: const(HiRPC.Sender)

trt.dartRead hirpc.sender