(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack)
| 54 | } |
| 55 | |
| 56 | func opMul(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) { |
| 57 | x, y := stack.pop(), stack.pop() |
| 58 | stack.push(math.U256(x.Mul(x, y))) |
| 59 | |
| 60 | evm.interpreter.intPool.put(y) |
| 61 | |
| 62 | return nil, nil |
| 63 | } |
| 64 | |
| 65 | func opDiv(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) { |
| 66 | x, y := stack.pop(), stack.peek() |