MCPcopy Create free account
hub / github.com/CPChain/chain / Back

Method Back

core/vm/stack.go:73–75  ·  view source on GitHub ↗

Back returns the n'th item in stack

(n int)

Source from the content-addressed store, hash-verified

71
72// Back returns the n'th item in stack
73func (st *Stack) Back(n int) *big.Int {
74 return st.data[st.len()-n-1]
75}
76
77func (st *Stack) require(n int) error {
78 if st.len() < n {

Callers 15

gasCallDataCopyFunction · 0.80
gasReturnDataCopyFunction · 0.80
gasSStoreFunction · 0.80
makeGasLogFunction · 0.80
gasSha3Function · 0.80
gasCodeCopyFunction · 0.80
gasExtCodeCopyFunction · 0.80
gasCallFunction · 0.80
gasCallCodeFunction · 0.80
gasSuicideFunction · 0.80
gasDelegateCallFunction · 0.80
gasStaticCallFunction · 0.80

Calls 1

lenMethod · 0.95

Tested by

no test coverage detected