UNPKG

lisk-framework

Version:

Lisk blockchain application platform

29 lines 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AllTokensFromChainSupportedEvent = exports.allTokensFromChainSupportedEventSchema = void 0; const base_event_1 = require("../../base_event"); const constants_1 = require("../constants"); exports.allTokensFromChainSupportedEventSchema = { $id: '/token/events/allTokensFromChainSupported', type: 'object', required: ['chainID'], properties: { chainID: { dataType: 'bytes', minLength: constants_1.CHAIN_ID_LENGTH, maxLength: constants_1.CHAIN_ID_LENGTH, fieldNumber: 1, }, }, }; class AllTokensFromChainSupportedEvent extends base_event_1.BaseEvent { constructor() { super(...arguments); this.schema = exports.allTokensFromChainSupportedEventSchema; } log(ctx, chainID) { this.add(ctx, { chainID }, [chainID]); } } exports.AllTokensFromChainSupportedEvent = AllTokensFromChainSupportedEvent; //# sourceMappingURL=all_tokens_from_chain_supported.js.map