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

Function opRetire

protocol/txvm/values.go:111–114  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

109}
110
111func opRetire(vm *VM) {
112 val := vm.popValue()
113 vm.logRetirement(val.amount, val.assetID, val.anchor)
114}
115
116func (vm *VM) popValue() *value {
117 item := vm.pop()

Callers

nothing calls this directly

Calls 2

popValueMethod · 0.80
logRetirementMethod · 0.80

Tested by

no test coverage detected