public abstract static class MsgGrpc.MsgImplBase
extends java.lang.Object
implements io.grpc.BindableService
Msg defines the authz Msg service.
| Constructor and Description |
|---|
MsgImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
exec(cosmos.authz.v1beta1.Tx.MsgExec request,
io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgExecResponse> responseObserver)
Exec attempts to execute the provided messages using
authorizations granted to the grantee.
|
void |
grant(cosmos.authz.v1beta1.Tx.MsgGrant request,
io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgGrantResponse> responseObserver)
Grant grants the provided authorization to the grantee on the granter's
account with the provided expiration time.
|
void |
revoke(cosmos.authz.v1beta1.Tx.MsgRevoke request,
io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgRevokeResponse> responseObserver)
Revoke revokes any authorization corresponding to the provided method name on the
granter's account that has been granted to the grantee.
|
public void grant(cosmos.authz.v1beta1.Tx.MsgGrant request,
io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgGrantResponse> responseObserver)
Grant grants the provided authorization to the grantee on the granter's account with the provided expiration time. If there is already a grant for the given (granter, grantee, Authorization) triple, then the grant will be overwritten.
public void exec(cosmos.authz.v1beta1.Tx.MsgExec request,
io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgExecResponse> responseObserver)
Exec attempts to execute the provided messages using authorizations granted to the grantee. Each message should have only one signer corresponding to the granter of the authorization.
public void revoke(cosmos.authz.v1beta1.Tx.MsgRevoke request,
io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgRevokeResponse> responseObserver)
Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableService