Module fuels_programs::contract
source · Structs§
Contractis a struct to interface with a contract. That includes things such as compiling, deploying, and running transactions against a contract.- Contains all data relevant to a single contract call
- Helper that handles submitting a call to a client and formatting the response
- Configuration for contract deployment
- Helper that handles bundling multiple calls into a single transaction
- Configuration for contract storage
Traits§
Functions§
- Creates an ABI call based on a function selector and the encoding of its call arguments, which is a slice of
Tokens. It returns a preparedContractCallthat can further be used to make the actual transaction. This method is the underlying implementation of the functions generated from an ABI JSON spec, i.e, this is what’s generated: