@neo-one/smart-contract-compiler
Version:
NEO•ONE TypeScript smart contract compiler.
14 lines (12 loc) • 588 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.invokeLogSerialize = void 0;
const constants_1 = require("../../constants");
const invokeGlobal = (sb, node, options, property) => {
sb.emitPushInt(node, 1);
sb.emitOp(node, 'PACK');
sb.emitHelper(node, options, sb.helpers.getGlobalProperty({ property }));
sb.emitHelper(node, options, sb.helpers.invokeCall());
};
exports.invokeLogSerialize = (sb, node, options) => invokeGlobal(sb, node, options, constants_1.GlobalProperty.GenericLogSerialize);
//# sourceMappingURL=serialize.js.map