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 "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/access/v1.AssertIsAuthorized(,)"
Result