Documentation ¶
Index ¶
- type EmptyError
- type Flat
- func (f *Flat) Clone() Stack
- func (f *Flat) CloneImpl() *Flat
- func (f *Flat) Count() int64
- func (f *Flat) Equal(yin Stack) (bool, string)
- func (f *Flat) FullyExpandedValue() value.Value
- func (f *Flat) FullyExpandedValueImpl() value.Value
- func (f *Flat) IsEmpty() bool
- func (f *Flat) Pop() (value.Value, error)
- func (f *Flat) PopCodePoint() (val value.CodePointValue, err error)
- func (f *Flat) PopHashOnly() (val value.HashOnlyValue, err error)
- func (f *Flat) PopInt() (val value.IntValue, err error)
- func (f *Flat) PopTuple() (value.TupleValue, error)
- func (f *Flat) ProofValue(stackInfo []byte) value.Value
- func (f *Flat) Push(val value.Value)
- func (f *Flat) PushCodePoint(v value.CodePointValue)
- func (f *Flat) PushHashOnly(b value.HashOnlyValue)
- func (f *Flat) PushInt(v value.IntValue)
- func (f *Flat) PushTuple(v value.TupleValue)
- func (f *Flat) Size() int64
- func (f *Flat) SolidityProofValue(stackInfo []byte) (value.HashOnlyValue, []value.Value)
- func (f *Flat) StateValue() value.Value
- func (f *Flat) String() string
- type Stack
- type Tuple
- func (m *Tuple) Clone() Stack
- func (m *Tuple) Count() int64
- func (m *Tuple) Equal(yin Stack) (bool, string)
- func (m *Tuple) FullyExpandedValue() value.Value
- func (m *Tuple) IsEmpty() bool
- func (m *Tuple) Pop() (value.Value, error)
- func (m *Tuple) PopCodePoint() (value.CodePointValue, error)
- func (m *Tuple) PopInt() (value.IntValue, error)
- func (m *Tuple) PopTuple() (value.TupleValue, error)
- func (m *Tuple) ProofValue(stackInfo []byte) value.Value
- func (m *Tuple) Push(v value.Value)
- func (m *Tuple) PushCodePoint(v value.CodePointValue)
- func (m *Tuple) PushInt(v value.IntValue)
- func (m *Tuple) PushTuple(v value.TupleValue)
- func (m *Tuple) Size() int64
- func (m *Tuple) SolidityProofValue(stackInfo []byte) (value.HashOnlyValue, []value.Value)
- func (m *Tuple) StateValue() value.Value
- func (m *Tuple) String() string
- type TypeError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyError ¶
type EmptyError struct{}
func (EmptyError) Error ¶
func (e EmptyError) Error() string
type Flat ¶
type Flat struct {
// contains filtered or unexported fields
}
func FlatFromTupleChain ¶
func NewEmptyFlat ¶
func NewEmptyFlat() *Flat
func (*Flat) FullyExpandedValue ¶
func (*Flat) FullyExpandedValueImpl ¶
func (*Flat) PopCodePoint ¶
func (f *Flat) PopCodePoint() (val value.CodePointValue, err error)
func (*Flat) PopHashOnly ¶
func (f *Flat) PopHashOnly() (val value.HashOnlyValue, err error)
func (*Flat) PushCodePoint ¶
func (f *Flat) PushCodePoint(v value.CodePointValue)
func (*Flat) PushHashOnly ¶
func (f *Flat) PushHashOnly(b value.HashOnlyValue)
func (*Flat) PushTuple ¶
func (f *Flat) PushTuple(v value.TupleValue)
func (*Flat) SolidityProofValue ¶
func (*Flat) StateValue ¶
type Stack ¶
type Stack interface { Clone() Stack Push(value.Value) PushInt(value.IntValue) PushTuple(value.TupleValue) PushCodePoint(value.CodePointValue) Pop() (value.Value, error) // Only error than can return is EmptyError PopInt() (value.IntValue, error) PopTuple() (value.TupleValue, error) PopCodePoint() (value.CodePointValue, error) Equal(Stack) (bool, string) // current usage is for testing only. Revisit return value if other usage identified IsEmpty() bool Size() int64 Count() int64 StateValue() value.Value ProofValue([]byte) value.Value SolidityProofValue([]byte) (value.HashOnlyValue, []value.Value) FullyExpandedValue() value.Value }
type Tuple ¶
type Tuple struct {
// contains filtered or unexported fields
}
func (*Tuple) FullyExpandedValue ¶
func (*Tuple) PopCodePoint ¶
func (m *Tuple) PopCodePoint() (value.CodePointValue, error)
func (*Tuple) PushCodePoint ¶
func (m *Tuple) PushCodePoint(v value.CodePointValue)
func (*Tuple) PushTuple ¶
func (m *Tuple) PushTuple(v value.TupleValue)
func (*Tuple) SolidityProofValue ¶
func (*Tuple) StateValue ¶
Click to show internal directories.
Click to hide internal directories.