interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
34 lines (33 loc) • 1.52 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getListImplementations = exports.getListAllInterfaces = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const reflection_1 = require("./reflection");
/**
* ListAllInterfaces lists all the interfaces registered in the interface
* registry.
* @name getListAllInterfaces
* @package cosmos.base.reflection.v1beta1
* @see proto service: cosmos.base.reflection.v1beta1.ListAllInterfaces
*/
exports.getListAllInterfaces = (0, helper_func_types_1.buildQuery)({
encode: reflection_1.ListAllInterfacesRequest.encode,
decode: reflection_1.ListAllInterfacesResponse.decode,
service: "cosmos.base.reflection.v1beta1.ReflectionService",
method: "ListAllInterfaces",
deps: [reflection_1.ListAllInterfacesRequest, reflection_1.ListAllInterfacesResponse]
});
/**
* ListImplementations list all the concrete types that implement a given
* interface.
* @name getListImplementations
* @package cosmos.base.reflection.v1beta1
* @see proto service: cosmos.base.reflection.v1beta1.ListImplementations
*/
exports.getListImplementations = (0, helper_func_types_1.buildQuery)({
encode: reflection_1.ListImplementationsRequest.encode,
decode: reflection_1.ListImplementationsResponse.decode,
service: "cosmos.base.reflection.v1beta1.ReflectionService",
method: "ListImplementations",
deps: [reflection_1.ListImplementationsRequest, reflection_1.ListImplementationsResponse]
});