MCPcopy 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
78func 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
87func opField(vm *VM) {
88 n := int64(vm.popInt())

Callers

nothing calls this directly

Calls 4

IntTypeAlias · 0.85
popTupleMethod · 0.80
chargeMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected