Expand description
Auth contains types for building custom account contracts.
Structs§
- Contract
Context - Authorization context of a single contract call.
- Create
Contract Host FnContext - Authorization context for
create_contract
host function that creates a new contract on behalf of authorizer address. - Create
Contract With Constructor Host FnContext - Authorization context for
create_contract
host function that creates a new contract on behalf of authorizer address. This is the same asCreateContractHostFnContext
, but also has contract constructor arguments. - SubContract
Invocation - Value of contract node in InvokerContractAuthEntry tree.
Enums§
- Context
- Context of a single authorized call performed by an address.
- Contract
Executable - Contract executable used for creating a new contract and used in
CreateContractHostFnContext
. - Invoker
Contract Auth Entry - A node in the tree of authorizations performed on behalf of the current contract as invoker of the contracts deeper in the call stack.
Traits§
- Custom
Account Interface - Custom account interface that a contract implements to support being used as a custom account for auth.