Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ opCaller
Function
opCaller
protocol/txvm/contract.go:129–132 ·
view source on GitHub ↗
(vm *VM)
Source
from the content-addressed store, hash-verified
127
}
128
129
func
opCaller(vm *VM) {
130
vm.chargeCopy(Bytes(vm.caller))
131
vm.push(Bytes(vm.caller))
132
}
133
134
func
opGet(vm *VM) {
135
item, ok := vm.argstack.pop()
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