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

Function opYield

protocol/txvm/contract.go:91–96  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

89}
90
91func opYield(vm *VM) {
92 prog := vm.popBytes()
93 vm.contract.program = prog
94 vm.argstack.push(vm.contract)
95 vm.unwinding = true
96}
97
98func opWrap(vm *VM) {
99 if !stackPortable(vm.contract.stack) {

Callers

nothing calls this directly

Calls 2

popBytesMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected