MsgServiceBase constructor
MsgServiceBase()
Implementation
MsgServiceBase() {
$addMethod($grpc.ServiceMethod<$0.MsgStoreCode, $0.MsgStoreCodeResponse>(
'StoreCode',
storeCode_Pre,
false,
false,
($core.List<$core.int> value) => $0.MsgStoreCode.fromBuffer(value),
($0.MsgStoreCodeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MsgInstantiateContract,
$0.MsgInstantiateContractResponse>(
'InstantiateContract',
instantiateContract_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.MsgInstantiateContract.fromBuffer(value),
($0.MsgInstantiateContractResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MsgExecuteContract,
$0.MsgExecuteContractResponse>(
'ExecuteContract',
executeContract_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.MsgExecuteContract.fromBuffer(value),
($0.MsgExecuteContractResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MsgMigrateContract,
$0.MsgMigrateContractResponse>(
'MigrateContract',
migrateContract_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.MsgMigrateContract.fromBuffer(value),
($0.MsgMigrateContractResponse value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$0.MsgUpdateAdmin, $0.MsgUpdateAdminResponse>(
'UpdateAdmin',
updateAdmin_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.MsgUpdateAdmin.fromBuffer(value),
($0.MsgUpdateAdminResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MsgClearAdmin, $0.MsgClearAdminResponse>(
'ClearAdmin',
clearAdmin_Pre,
false,
false,
($core.List<$core.int> value) => $0.MsgClearAdmin.fromBuffer(value),
($0.MsgClearAdminResponse value) => value.writeToBuffer()));
}