MCPcopy Create free account
hub / github.com/chain/txvm / popTuple

Method popTuple

protocol/txvm/vm.go:243–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241}
242
243func (vm *VM) popTuple() Tuple {
244 v, ok := vm.pop().(Tuple)
245 if !ok {
246 panic(errors.WithData(ErrType, "want", "Tuple"))
247 }
248 return v
249}
250
251func (vm *VM) peek() Item {
252 v, ok := vm.contract.stack.peek(0)

Callers 3

opInputFunction · 0.80
opUntupleFunction · 0.80
opFieldFunction · 0.80

Calls 2

popMethod · 0.95
WithDataFunction · 0.92

Tested by

no test coverage detected