Module rubi::session

source ·

Structs

Helper for managing a transaction before submitting it to a node
RubiconSession wraps up all of the basic contracts that the protocol uses into one convenient struct. It provides all of the basic functions you would need to tracsact with the protocol. All of the view/pure functions are async, and will return the expected value. All of the mutating functions are sync, and will return a ContractCall. You can then take that ContractCall and manipulate it as you want (e.g. setting gas limits) before sending it to your configured provider with the .send() method.