stack

package
v2.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func New

func New(max int) *Stack

func (*Stack) CheckStackDepth

func (s *Stack) CheckStackDepth(minRequire int, willAdd int) error

func (*Stack) Dup

func (s *Stack) Dup(n int)

func (*Stack) GetData

func (s *Stack) GetData() []*evmutils.Int

func (*Stack) Len

func (s *Stack) Len() int

func (*Stack) Peek

func (s *Stack) Peek() *evmutils.Int

func (*Stack) PeekN

func (s *Stack) PeekN(n int) []*evmutils.Int

func (*Stack) Pop

func (s *Stack) Pop() *evmutils.Int

func (*Stack) PopN

func (s *Stack) PopN(n int) []*evmutils.Int

func (*Stack) Print2Str added in v2.3.3

func (s *Stack) Print2Str() string

func (*Stack) Push

func (s *Stack) Push(i *evmutils.Int)

func (*Stack) PushN

func (s *Stack) PushN(i []*evmutils.Int)

func (*Stack) Swap

func (s *Stack) Swap(n int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL