UNPKG

@swaptoshi/governance-module

Version:

Klayr governance on-chain module

36 lines 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDelegatedVoteEndpointRequestSchema = exports.getDelegatedVoteEndpointResponseSchema = void 0; exports.getDelegatedVoteEndpointResponseSchema = { $id: '/governance/endpoint/response/getDelegatedVote', type: 'object', required: ['outgoingDelegation', 'incomingDelegation'], properties: { outgoingDelegation: { dataType: 'string', format: 'klayr32', fieldNumber: 1, }, incomingDelegation: { type: 'array', fieldNumber: 2, items: { dataType: 'string', format: 'klayr32', }, }, }, }; exports.getDelegatedVoteEndpointRequestSchema = { $id: '/governance/endpoint/request/getDelegatedVote', type: 'object', required: ['address'], properties: { address: { dataType: 'string', format: 'klayr32', fieldNumber: 1, }, }, }; //# sourceMappingURL=get_delegated_vote.js.map