Skip to main content
Address: 0x000000000000000000000000000000000000100E The Authz precompile reads grants from the Cosmos authz module. A grant lets a grantee account send specific messages for a granter account. All methods are view functions. The precompile is available since v6.7.0.

Interface

Authz.sol

Methods

Notes

  • Every address argument must have an associated Sei address. Otherwise, the call reverts.
  • If you pass a msgTypeUrl and no grant matches it, grants reverts.
  • authorization is the grant’s authorization encoded as JSON. It includes an @type field that names the authorization type.
  • expiration is a Unix timestamp in seconds. In GrantAuthorization, granter and grantee are Sei addresses.
  • For paginated methods, pass empty bytes for the first page, then pass the returned nextKey. An empty nextKey means there are no more pages.