Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ peek
Method
peek
core/vm/stack.go:68–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
}
67
68
func
(st *Stack) peek() *big.Int {
69
return
st.data[st.len()-1]
70
}
71
72
// Back returns the n'th item in stack
73
func
(st *Stack) Back(n int) *big.Int {
Callers
15
opAdd
Function · 0.45
opSub
Function · 0.45
opDiv
Function · 0.45
opNot
Function · 0.45
opLt
Function · 0.45
opGt
Function · 0.45
opSlt
Function · 0.45
opSgt
Function · 0.45
opEq
Function · 0.45
opIszero
Function · 0.45
opOr
Function · 0.45
opXor
Function · 0.45
Calls
1
len
Method · 0.95
Tested by
no test coverage detected