Module fadroma::scrt::permit

source ·
Expand description

Authentication using SNIP-24 query permits. Feature flag: permit

Structs

  • The type the represents a signed permit. You shouldn’t try to instantiate this type yourself unless you are writing test code. Rather you set this as a parameter in your contract query functions that you wish to authenticate.
  • Data needed to validate a Permit. You shouldn’t try to instantiate this type yourself unless you are writing test code.

Traits

  • Marker trait that enables strongly typed permits with a finite permission set. Any type that implements Serialize + JsonSchema + Clone + PartialEq already implements this trait due to its blanket implementation.