AssertIsAuthorized
AssertIsAuthorized panics if caller does not have the specified role or if the role is absent.
Parameters:
- roleName: role identifier whose configured address is required
- caller: address that must match the configured address for roleName
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/access/v1.AssertIsAuthorized(,)"
Result