import * as ops from 'bitcoin-ops' ; const OPS = Object . assign ( { OP_SSTX : 0xba , OP_SSTXCHANGE : 0xbd , OP_SSGEN : 0xbb , OP_SSRTX : 0xbc , } , ops || { } ) ; const REVERSE_OPS = [ ] ; Object . keys ( OPS ) . forEach ( code => { REVERSE_OPS [ OPS [ code ] ] = code ; } ) ; export { OPS , REVERSE_OPS } ;