Documentation ¶
Index ¶
- Variables
- type ExecutionAssertion
- type MessageStack
- type TimeBounds
- func (tb *TimeBounds) AsIntArray() [4]*big.Int
- func (tb *TimeBounds) AsValue() value.TupleValue
- func (tb *TimeBounds) Clone() *TimeBounds
- func (tb *TimeBounds) Equals(other *TimeBounds) bool
- func (tb *TimeBounds) IsValidTime(block *common.TimeBlocks, timestamp *big.Int) error
- func (a *TimeBounds) MarshalToBuf() *TimeBoundsBlocksBuf
- type TimeBoundsBlocksBuf
- func (*TimeBoundsBlocksBuf) Descriptor() ([]byte, []int)deprecated
- func (x *TimeBoundsBlocksBuf) GetLowerBoundBlock() *common.TimeBlocksBuf
- func (x *TimeBoundsBlocksBuf) GetLowerBoundTimestamp() *common.BigIntegerBuf
- func (x *TimeBoundsBlocksBuf) GetUpperBoundBlock() *common.TimeBlocksBuf
- func (x *TimeBoundsBlocksBuf) GetUpperBoundTimestamp() *common.BigIntegerBuf
- func (*TimeBoundsBlocksBuf) ProtoMessage()
- func (x *TimeBoundsBlocksBuf) ProtoReflect() protoreflect.Message
- func (x *TimeBoundsBlocksBuf) Reset()
- func (x *TimeBoundsBlocksBuf) String() string
- func (a *TimeBoundsBlocksBuf) Unmarshal() *TimeBounds
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protocol_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExecutionAssertion ¶ added in v0.4.0
type ExecutionAssertion struct { AfterHash common.Hash DidInboxInsn bool NumGas uint64 OutMsgs []value.Value Logs []value.Value }
func NewExecutionAssertion ¶ added in v0.4.0
func (*ExecutionAssertion) Equals ¶ added in v0.4.0
func (a *ExecutionAssertion) Equals(b *ExecutionAssertion) bool
type MessageStack ¶ added in v0.4.0
type MessageStack struct {
// contains filtered or unexported fields
}
func NewMessageStack ¶ added in v0.4.0
func NewMessageStack() *MessageStack
func (*MessageStack) AddMessage ¶ added in v0.4.0
func (in *MessageStack) AddMessage(msgVal value.Value)
func (*MessageStack) Clone ¶ added in v0.4.0
func (in *MessageStack) Clone() *MessageStack
func (*MessageStack) GetValue ¶ added in v0.4.0
func (in *MessageStack) GetValue() value.TupleValue
func (*MessageStack) IsEmpty ¶ added in v0.4.0
func (in *MessageStack) IsEmpty() bool
func (*MessageStack) String ¶ added in v0.4.0
func (in *MessageStack) String() string
type TimeBounds ¶
type TimeBounds struct { LowerBoundBlock *common.TimeBlocks UpperBoundBlock *common.TimeBlocks LowerBoundTimestamp *big.Int UpperBoundTimestamp *big.Int }
func NewRandomTimeBounds ¶ added in v0.6.0
func NewRandomTimeBounds() *TimeBounds
func (*TimeBounds) AsIntArray ¶ added in v0.5.0
func (tb *TimeBounds) AsIntArray() [4]*big.Int
func (*TimeBounds) AsValue ¶
func (tb *TimeBounds) AsValue() value.TupleValue
func (*TimeBounds) Clone ¶ added in v0.5.0
func (tb *TimeBounds) Clone() *TimeBounds
func (*TimeBounds) Equals ¶
func (tb *TimeBounds) Equals(other *TimeBounds) bool
func (*TimeBounds) IsValidTime ¶
func (tb *TimeBounds) IsValidTime(block *common.TimeBlocks, timestamp *big.Int) error
func (*TimeBounds) MarshalToBuf ¶ added in v0.5.0
func (a *TimeBounds) MarshalToBuf() *TimeBoundsBlocksBuf
type TimeBoundsBlocksBuf ¶ added in v0.4.0
type TimeBoundsBlocksBuf struct { LowerBoundBlock *common.TimeBlocksBuf `protobuf:"bytes,1,opt,name=lowerBoundBlock,proto3" json:"lowerBoundBlock,omitempty"` UpperBoundBlock *common.TimeBlocksBuf `protobuf:"bytes,2,opt,name=upperBoundBlock,proto3" json:"upperBoundBlock,omitempty"` LowerBoundTimestamp *common.BigIntegerBuf `protobuf:"bytes,3,opt,name=lowerBoundTimestamp,proto3" json:"lowerBoundTimestamp,omitempty"` UpperBoundTimestamp *common.BigIntegerBuf `protobuf:"bytes,4,opt,name=upperBoundTimestamp,proto3" json:"upperBoundTimestamp,omitempty"` // contains filtered or unexported fields }
func (*TimeBoundsBlocksBuf) Descriptor
deprecated
added in
v0.4.0
func (*TimeBoundsBlocksBuf) Descriptor() ([]byte, []int)
Deprecated: Use TimeBoundsBlocksBuf.ProtoReflect.Descriptor instead.
func (*TimeBoundsBlocksBuf) GetLowerBoundBlock ¶ added in v0.5.0
func (x *TimeBoundsBlocksBuf) GetLowerBoundBlock() *common.TimeBlocksBuf
func (*TimeBoundsBlocksBuf) GetLowerBoundTimestamp ¶ added in v0.5.0
func (x *TimeBoundsBlocksBuf) GetLowerBoundTimestamp() *common.BigIntegerBuf
func (*TimeBoundsBlocksBuf) GetUpperBoundBlock ¶ added in v0.5.0
func (x *TimeBoundsBlocksBuf) GetUpperBoundBlock() *common.TimeBlocksBuf
func (*TimeBoundsBlocksBuf) GetUpperBoundTimestamp ¶ added in v0.5.0
func (x *TimeBoundsBlocksBuf) GetUpperBoundTimestamp() *common.BigIntegerBuf
func (*TimeBoundsBlocksBuf) ProtoMessage ¶ added in v0.4.0
func (*TimeBoundsBlocksBuf) ProtoMessage()
func (*TimeBoundsBlocksBuf) ProtoReflect ¶ added in v0.5.0
func (x *TimeBoundsBlocksBuf) ProtoReflect() protoreflect.Message
func (*TimeBoundsBlocksBuf) Reset ¶ added in v0.4.0
func (x *TimeBoundsBlocksBuf) Reset()
func (*TimeBoundsBlocksBuf) String ¶ added in v0.4.0
func (x *TimeBoundsBlocksBuf) String() string
func (*TimeBoundsBlocksBuf) Unmarshal ¶ added in v0.4.0
func (a *TimeBoundsBlocksBuf) Unmarshal() *TimeBounds
Click to show internal directories.
Click to hide internal directories.