Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ pop
Method
pop
protocol/txvm/vm.go:203–209 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
201
}
202
203
func
(vm *VM) pop() Item {
204
res, ok := vm.contract.stack.pop()
205
if
!ok {
206
panic(errors.Wrap(ErrUnderflow,
"popping stack item"
))
207
}
208
return
res
209
}
210
211
func
(vm *VM) popData() Data {
212
v, ok := vm.pop().(Data)
Callers
9
popValue
Method · 0.95
popData
Method · 0.95
popBytes
Method · 0.95
popInt
Method · 0.95
popTuple
Method · 0.95
opCall
Function · 0.45
opGet
Function · 0.45
opPut
Function · 0.45
opDrop
Function · 0.45
Calls
1
Wrap
Function · 0.92
Tested by
no test coverage detected