Module contract

Source

Structs§

CompiledContract
A compiled representation of a contract.
Contract
Contract is a struct to interface with a contract. That includes things such as compiling, deploying, and running transactions against a contract. The contract has a wallet attribute, used to pay for transactions and sign them. It allows doing calls without passing a wallet/signer each time.
ContractCall
Contains all data relevant to a single contract call
ContractCallHandler
Helper that handles submitting a call to a client and formatting the response
MultiContractCallHandler
Helper that handles bundling multiple calls into a single transaction

Constants§

DEFAULT_TX_DEP_ESTIMATION_ATTEMPTS
How many times to attempt to resolve missing tx dependencies.

Functions§

get_decoded_output
Based on the receipts returned by the call, the contract ID (which is null in the case of a script), and the output param, decode the values and return them.