Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ opAdd
Function
opAdd
protocol/txvm/math.go:9–11 ·
view source on GitHub ↗
(vm *VM)
Source
from the content-addressed store, hash-verified
7
)
8
9
func
opAdd(vm *VM) {
10
binOp(vm, checked.AddInt64)
11
}
12
13
func
opNeg(vm *VM) {
14
a := int64(vm.popInt())
Callers
nothing calls this directly
Calls
1
binOp
Function · 0.85
Tested by
no test coverage detected