Package cosmos.authz.v1beta1
Class MsgGrpc.MsgStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
-
- cosmos.authz.v1beta1.MsgGrpc.MsgStub
-
- Enclosing class:
- MsgGrpc
public static final class MsgGrpc.MsgStub extends io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
Msg defines the authz Msg service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MsgGrpc.MsgStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidexec(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.voidgrant(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.voidrevoke(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.
-
-
-
Method Detail
-
build
protected MsgGrpc.MsgStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MsgGrpc.MsgStub>
-
grant
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.
-
exec
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.
-
revoke
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.
-
-