Module std::auth

Expand description

Functionality for determining who is calling a contract.


The error type used when an Identity cannot be determined.


Get the owner of the inputs (of type Input::Coin or Input::Message) to a

If the caller is internal, returns the contract ID of the caller.

Returns true if the caller is external (i.e. a script).

Get the Identity (i.e. Address or ContractId) from which a call was made.

Get the current predicate’s address when called in an internal context.