Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
114
func
opSelf(vm *VM) {
115
vm.chargeCopy(Bytes(vm.contract.seed))
116
vm.push(Bytes(vm.contract.seed))
117
}
118
119
func
opSeed(vm *VM) {
120
item := vm.peek()
Callers
nothing calls this directly
Calls
3
Bytes
TypeAlias · 0.85
chargeCopy
Method · 0.80
push
Method · 0.45
Tested by
no test coverage detected