import EVM from '../classes/evm.class' ; import Opcode from '../interfaces/opcode.interface' ; export class CALLVALUE { readonly name : string ; readonly type ? : string ; readonly wrapped : boolean ; constructor ( ) { this . name = 'CALLVALUE' ; this . wrapped = false ; } toString ( ) { return 'msg.value' ; } } export default ( opcode , state ) : void => { state . stack . push ( new CALLVALUE ( ) ) ; } ;