StackItem returns an "inspected" copy of an item on the VM's current contract stack, by position. Position 0 is the bottom of the stack and StackLen()-1 is the top.
(i int)
| 26 | // current contract stack, by position. Position 0 is the bottom of |
| 27 | // the stack and StackLen()-1 is the top. |
| 28 | func (vm *VM) StackItem(i int) Data { |
| 29 | return vm.contract.stack[i].inspect() |
| 30 | } |
| 31 | |
| 32 | // Seed returns the contract seed of the VM's current contract. |
| 33 | func (vm *VM) Seed() []byte { |