Optional
expandconst parserOptions: ParserOptions = {
expandGlobalConstant: {
'expr...': { prim: 'DROP', args: [{ int: '2' }] }
}
}
const p = new Parser(parserOptions);
Optional
expandExpand Michelson macros during parsing.
Optional
protocolOptional
trace
Expand global constants during parsing.
expandGlobalConstant
expects an object where the keys are global constant hashes and the values are the corresponding JSON Micheline expressions.