Documentation ¶
Index ¶
- func CallView(ch chain.ChainCore, contractHname, viewHname isc.Hname, params dict.Dict) (dict.Dict, error)
- func CheckNonce(ch chain.ChainCore, req isc.OffLedgerRequest) error
- func GetAccountBalance(ch chain.ChainCore, agentID isc.AgentID) (*isc.FungibleTokens, error)
- func HasRequestBeenProcessed(ch chain.ChainCore, reqID isc.RequestID) (bool, error)
- func SimulateCall(ch chain.Chain, req isc.Request) (*vm.RequestResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNonce ¶
func CheckNonce(ch chain.ChainCore, req isc.OffLedgerRequest) error
func GetAccountBalance ¶
func HasRequestBeenProcessed ¶
func SimulateCall ¶
SimulateCall executes the given request and discards the resulting chain state. It is useful for estimating gas.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.