Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
243
func
(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
251
func
(vm *VM) peek() Item {
252
v, ok := vm.contract.stack.peek(0)
Callers
3
opInput
Function · 0.80
opUntuple
Function · 0.80
opField
Function · 0.80
Calls
2
pop
Method · 0.95
WithData
Function · 0.92
Tested by
no test coverage detected