soroban_sdk

Module auth

Source
Expand description

Auth contains types for building custom account contracts.

Structs§

  • Authorization context of a single contract call.
  • Authorization context for create_contract host function that creates a new contract on behalf of authorizer address.
  • Authorization context for create_contract host function that creates a new contract on behalf of authorizer address. This is the same as CreateContractHostFnContext, but also has contract constructor arguments.
  • Value of contract node in InvokerContractAuthEntry tree.

Enums§

  • Context of a single authorized call performed by an address.
  • Contract executable used for creating a new contract and used in CreateContractHostFnContext.
  • 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 that a contract implements to support being used as a custom account for auth.