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

Function opSelf

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

Source from the content-addressed store, hash-verified

112}
113
114func opSelf(vm *VM) {
115 vm.chargeCopy(Bytes(vm.contract.seed))
116 vm.push(Bytes(vm.contract.seed))
117}
118
119func opSeed(vm *VM) {
120 item := vm.peek()

Callers

nothing calls this directly

Calls 3

BytesTypeAlias · 0.85
chargeCopyMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected