import { OpCode } from '.' ; import { EvmContext } from '../vm/evm-context' ; class JumpDestOp implements OpCode { public readonly code = 0x5b ; public readonly mnemonic = 'JUMPDEST' ; public readonly description = 'Mark a valid destination for jumps' ; public readonly gas = 1 ; public readonly bytes = 1 ; public toString ( params ) { return `${ this . mnemonic }` ; } public handle ( context ) { context . ip += this . bytes ; } } export const JumpDest = new JumpDestOp ( ) ;