StackLen returns the length of the stack of the VM's current contract.
()
| 19 | // StackLen returns the length of the stack of the VM's current |
| 20 | // contract. |
| 21 | func (vm *VM) StackLen() int { |
| 22 | return len(vm.contract.stack) |
| 23 | } |
| 24 | |
| 25 | // StackItem returns an "inspected" copy of an item on the VM's |
| 26 | // current contract stack, by position. Position 0 is the bottom of |
no outgoing calls