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

Function opContractProgram

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

Source from the content-addressed store, hash-verified

107}
108
109func opContractProgram(vm *VM) {
110 vm.chargeCopy(Bytes(vm.contract.program))
111 vm.push(Bytes(vm.contract.program))
112}
113
114func opSelf(vm *VM) {
115 vm.chargeCopy(Bytes(vm.contract.seed))

Callers

nothing calls this directly

Calls 3

BytesTypeAlias · 0.85
chargeCopyMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected