Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ opUntuple
Function
opUntuple
protocol/txvm/data.go:78–85 ·
view source on GitHub ↗
(vm *VM)
Source
from the content-addressed store, hash-verified
76
}
77
78
func
opUntuple(vm *VM) {
79
t := vm.popTuple()
80
for
_, v :=
range
t {
81
vm.push(v)
82
}
83
vm.push(Int(len(t)))
84
vm.charge(int64(len(t)))
85
}
86
87
func
opField(vm *VM) {
88
n := int64(vm.popInt())
Callers
nothing calls this directly
Calls
4
Int
TypeAlias · 0.85
popTuple
Method · 0.80
charge
Method · 0.80
push
Method · 0.45
Tested by
no test coverage detected