Package cosmos.authz.v1beta1
Class MsgGrpc.MsgFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<MsgGrpc.MsgFutureStub>
-
- cosmos.authz.v1beta1.MsgGrpc.MsgFutureStub
-
- Enclosing class:
- MsgGrpc
public static final class MsgGrpc.MsgFutureStub extends io.grpc.stub.AbstractFutureStub<MsgGrpc.MsgFutureStub>
Msg defines the authz Msg service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MsgGrpc.MsgFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<cosmos.authz.v1beta1.Tx.MsgExecResponse>exec(cosmos.authz.v1beta1.Tx.MsgExec request)Exec attempts to execute the provided messages using authorizations granted to the grantee.com.google.common.util.concurrent.ListenableFuture<cosmos.authz.v1beta1.Tx.MsgGrantResponse>grant(cosmos.authz.v1beta1.Tx.MsgGrant request)Grant grants the provided authorization to the grantee on the granter's account with the provided expiration time.com.google.common.util.concurrent.ListenableFuture<cosmos.authz.v1beta1.Tx.MsgRevokeResponse>revoke(cosmos.authz.v1beta1.Tx.MsgRevoke request)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.MsgFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MsgGrpc.MsgFutureStub>
-
grant
public com.google.common.util.concurrent.ListenableFuture<cosmos.authz.v1beta1.Tx.MsgGrantResponse> grant(cosmos.authz.v1beta1.Tx.MsgGrant request)
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 com.google.common.util.concurrent.ListenableFuture<cosmos.authz.v1beta1.Tx.MsgExecResponse> exec(cosmos.authz.v1beta1.Tx.MsgExec request)
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 com.google.common.util.concurrent.ListenableFuture<cosmos.authz.v1beta1.Tx.MsgRevokeResponse> revoke(cosmos.authz.v1beta1.Tx.MsgRevoke request)
Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.
-
-