Documentation ¶
Index ¶
- func ReturnNormalStack(s *Stack)
- func ReturnRStack(rs *ReturnStack)
- type ReturnStack
- type Stack
- func (st *Stack) Back(n int) *uint256.Int
- func (st *Stack) Cap() int
- func (st *Stack) Dup(n int)
- func (st *Stack) Len() int
- func (st *Stack) Peek() *uint256.Int
- func (st *Stack) Pop() (ret uint256.Int)
- func (st *Stack) Print()
- func (st *Stack) Push(d *uint256.Int)
- func (st *Stack) PushN(ds ...uint256.Int)
- func (st *Stack) Reset()
- func (st *Stack) Swap(n int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReturnNormalStack ¶
func ReturnNormalStack(s *Stack)
func ReturnRStack ¶
func ReturnRStack(rs *ReturnStack)
Types ¶
type ReturnStack ¶
type ReturnStack struct {
// contains filtered or unexported fields
}
ReturnStack is an object for basic return stack operations.
func NewReturnStack ¶
func NewReturnStack() *ReturnStack
func (*ReturnStack) Data ¶
func (st *ReturnStack) Data() []uint32
func (*ReturnStack) Pop ¶
func (st *ReturnStack) Pop() (ret uint32)
A uint32 is sufficient as for code below 4.2G
func (*ReturnStack) Push ¶
func (st *ReturnStack) Push(d uint32)
Click to show internal directories.
Click to hide internal directories.