MCPcopy 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
68func (st *Stack) peek() *big.Int {
69 return st.data[st.len()-1]
70}
71
72// Back returns the n'th item in stack
73func (st *Stack) Back(n int) *big.Int {

Callers 15

opAddFunction · 0.45
opSubFunction · 0.45
opDivFunction · 0.45
opNotFunction · 0.45
opLtFunction · 0.45
opGtFunction · 0.45
opSltFunction · 0.45
opSgtFunction · 0.45
opEqFunction · 0.45
opIszeroFunction · 0.45
opOrFunction · 0.45
opXorFunction · 0.45

Calls 1

lenMethod · 0.95

Tested by

no test coverage detected