auctionv1

package
v8.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAuction        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuction          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuction = fmt.Errorf("proto: unexpected end of group")
)
View Source
var EventDutchAuctionEnded_Reason_name = map[int32]string{
	0: "REASON_UNSPECIFIED",
	1: "REASON_EXPIRED",
	2: "REASON_FILLED",
	3: "REASON_CLOSED_BY_OWNER",
}
View Source
var EventDutchAuctionEnded_Reason_value = map[string]int32{
	"REASON_UNSPECIFIED":     0,
	"REASON_EXPIRED":         1,
	"REASON_FILLED":          2,
	"REASON_CLOSED_BY_OWNER": 3,
}

Functions

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)

Types

type ActionDutchAuctionEnd

type ActionDutchAuctionEnd struct {
	// The auction to end.
	AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
}

Terminate the auction associated with the specified `auction_id`

func (*ActionDutchAuctionEnd) Descriptor

func (*ActionDutchAuctionEnd) Descriptor() ([]byte, []int)

func (*ActionDutchAuctionEnd) GetAuctionId

func (m *ActionDutchAuctionEnd) GetAuctionId() *AuctionId

func (*ActionDutchAuctionEnd) Marshal

func (m *ActionDutchAuctionEnd) Marshal() (dAtA []byte, err error)

func (*ActionDutchAuctionEnd) MarshalTo

func (m *ActionDutchAuctionEnd) MarshalTo(dAtA []byte) (int, error)

func (*ActionDutchAuctionEnd) MarshalToSizedBuffer

func (m *ActionDutchAuctionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActionDutchAuctionEnd) ProtoMessage

func (*ActionDutchAuctionEnd) ProtoMessage()

func (*ActionDutchAuctionEnd) Reset

func (m *ActionDutchAuctionEnd) Reset()

func (*ActionDutchAuctionEnd) Size

func (m *ActionDutchAuctionEnd) Size() (n int)

func (*ActionDutchAuctionEnd) String

func (m *ActionDutchAuctionEnd) String() string

func (*ActionDutchAuctionEnd) Unmarshal

func (m *ActionDutchAuctionEnd) Unmarshal(dAtA []byte) error

func (*ActionDutchAuctionEnd) XXX_DiscardUnknown

func (m *ActionDutchAuctionEnd) XXX_DiscardUnknown()

func (*ActionDutchAuctionEnd) XXX_Marshal

func (m *ActionDutchAuctionEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionDutchAuctionEnd) XXX_Merge

func (m *ActionDutchAuctionEnd) XXX_Merge(src proto.Message)

func (*ActionDutchAuctionEnd) XXX_Size

func (m *ActionDutchAuctionEnd) XXX_Size() int

func (*ActionDutchAuctionEnd) XXX_Unmarshal

func (m *ActionDutchAuctionEnd) XXX_Unmarshal(b []byte) error

type ActionDutchAuctionSchedule

type ActionDutchAuctionSchedule struct {
	Description *DutchAuctionDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
}

Initiates a Dutch auction using protocol-controlled liquidity.

func (*ActionDutchAuctionSchedule) Descriptor

func (*ActionDutchAuctionSchedule) Descriptor() ([]byte, []int)

func (*ActionDutchAuctionSchedule) GetDescription

func (*ActionDutchAuctionSchedule) Marshal

func (m *ActionDutchAuctionSchedule) Marshal() (dAtA []byte, err error)

func (*ActionDutchAuctionSchedule) MarshalTo

func (m *ActionDutchAuctionSchedule) MarshalTo(dAtA []byte) (int, error)

func (*ActionDutchAuctionSchedule) MarshalToSizedBuffer

func (m *ActionDutchAuctionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActionDutchAuctionSchedule) ProtoMessage

func (*ActionDutchAuctionSchedule) ProtoMessage()

func (*ActionDutchAuctionSchedule) Reset

func (m *ActionDutchAuctionSchedule) Reset()

func (*ActionDutchAuctionSchedule) Size

func (m *ActionDutchAuctionSchedule) Size() (n int)

func (*ActionDutchAuctionSchedule) String

func (m *ActionDutchAuctionSchedule) String() string

func (*ActionDutchAuctionSchedule) Unmarshal

func (m *ActionDutchAuctionSchedule) Unmarshal(dAtA []byte) error

func (*ActionDutchAuctionSchedule) XXX_DiscardUnknown

func (m *ActionDutchAuctionSchedule) XXX_DiscardUnknown()

func (*ActionDutchAuctionSchedule) XXX_Marshal

func (m *ActionDutchAuctionSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionDutchAuctionSchedule) XXX_Merge

func (m *ActionDutchAuctionSchedule) XXX_Merge(src proto.Message)

func (*ActionDutchAuctionSchedule) XXX_Size

func (m *ActionDutchAuctionSchedule) XXX_Size() int

func (*ActionDutchAuctionSchedule) XXX_Unmarshal

func (m *ActionDutchAuctionSchedule) XXX_Unmarshal(b []byte) error

type ActionDutchAuctionScheduleView

type ActionDutchAuctionScheduleView struct {
	Action         *ActionDutchAuctionSchedule `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	AuctionId      *AuctionId                  `protobuf:"bytes,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	InputMetadata  *v11.Metadata               `protobuf:"bytes,3,opt,name=input_metadata,json=inputMetadata,proto3" json:"input_metadata,omitempty"`
	OutputMetadata *v11.Metadata               `protobuf:"bytes,4,opt,name=output_metadata,json=outputMetadata,proto3" json:"output_metadata,omitempty"`
}

An `ActionDutchAuctionSchedule` augmented with additional metadata.

func (*ActionDutchAuctionScheduleView) Descriptor

func (*ActionDutchAuctionScheduleView) Descriptor() ([]byte, []int)

func (*ActionDutchAuctionScheduleView) GetAction

func (*ActionDutchAuctionScheduleView) GetAuctionId

func (m *ActionDutchAuctionScheduleView) GetAuctionId() *AuctionId

func (*ActionDutchAuctionScheduleView) GetInputMetadata

func (m *ActionDutchAuctionScheduleView) GetInputMetadata() *v11.Metadata

func (*ActionDutchAuctionScheduleView) GetOutputMetadata

func (m *ActionDutchAuctionScheduleView) GetOutputMetadata() *v11.Metadata

func (*ActionDutchAuctionScheduleView) Marshal

func (m *ActionDutchAuctionScheduleView) Marshal() (dAtA []byte, err error)

func (*ActionDutchAuctionScheduleView) MarshalTo

func (m *ActionDutchAuctionScheduleView) MarshalTo(dAtA []byte) (int, error)

func (*ActionDutchAuctionScheduleView) MarshalToSizedBuffer

func (m *ActionDutchAuctionScheduleView) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActionDutchAuctionScheduleView) ProtoMessage

func (*ActionDutchAuctionScheduleView) ProtoMessage()

func (*ActionDutchAuctionScheduleView) Reset

func (m *ActionDutchAuctionScheduleView) Reset()

func (*ActionDutchAuctionScheduleView) Size

func (m *ActionDutchAuctionScheduleView) Size() (n int)

func (*ActionDutchAuctionScheduleView) String

func (*ActionDutchAuctionScheduleView) Unmarshal

func (m *ActionDutchAuctionScheduleView) Unmarshal(dAtA []byte) error

func (*ActionDutchAuctionScheduleView) XXX_DiscardUnknown

func (m *ActionDutchAuctionScheduleView) XXX_DiscardUnknown()

func (*ActionDutchAuctionScheduleView) XXX_Marshal

func (m *ActionDutchAuctionScheduleView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionDutchAuctionScheduleView) XXX_Merge

func (m *ActionDutchAuctionScheduleView) XXX_Merge(src proto.Message)

func (*ActionDutchAuctionScheduleView) XXX_Size

func (m *ActionDutchAuctionScheduleView) XXX_Size() int

func (*ActionDutchAuctionScheduleView) XXX_Unmarshal

func (m *ActionDutchAuctionScheduleView) XXX_Unmarshal(b []byte) error

type ActionDutchAuctionWithdraw

type ActionDutchAuctionWithdraw struct {
	// The auction to withdraw funds from.
	AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	// The sequence number of the withdrawal.
	Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	// A transparent (zero blinding factor) commitment to the
	// auction's final reserves.
	//
	// The chain will check this commitment by recomputing it
	// with the on-chain state.
	ReservesCommitment *v11.BalanceCommitment `protobuf:"bytes,3,opt,name=reserves_commitment,json=reservesCommitment,proto3" json:"reserves_commitment,omitempty"`
}

Withdraw funds from the ended auction associated with the specified `auction_id`

func (*ActionDutchAuctionWithdraw) Descriptor

func (*ActionDutchAuctionWithdraw) Descriptor() ([]byte, []int)

func (*ActionDutchAuctionWithdraw) GetAuctionId

func (m *ActionDutchAuctionWithdraw) GetAuctionId() *AuctionId

func (*ActionDutchAuctionWithdraw) GetReservesCommitment

func (m *ActionDutchAuctionWithdraw) GetReservesCommitment() *v11.BalanceCommitment

func (*ActionDutchAuctionWithdraw) GetSeq

func (m *ActionDutchAuctionWithdraw) GetSeq() uint64

func (*ActionDutchAuctionWithdraw) Marshal

func (m *ActionDutchAuctionWithdraw) Marshal() (dAtA []byte, err error)

func (*ActionDutchAuctionWithdraw) MarshalTo

func (m *ActionDutchAuctionWithdraw) MarshalTo(dAtA []byte) (int, error)

func (*ActionDutchAuctionWithdraw) MarshalToSizedBuffer

func (m *ActionDutchAuctionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActionDutchAuctionWithdraw) ProtoMessage

func (*ActionDutchAuctionWithdraw) ProtoMessage()

func (*ActionDutchAuctionWithdraw) Reset

func (m *ActionDutchAuctionWithdraw) Reset()

func (*ActionDutchAuctionWithdraw) Size

func (m *ActionDutchAuctionWithdraw) Size() (n int)

func (*ActionDutchAuctionWithdraw) String

func (m *ActionDutchAuctionWithdraw) String() string

func (*ActionDutchAuctionWithdraw) Unmarshal

func (m *ActionDutchAuctionWithdraw) Unmarshal(dAtA []byte) error

func (*ActionDutchAuctionWithdraw) XXX_DiscardUnknown

func (m *ActionDutchAuctionWithdraw) XXX_DiscardUnknown()

func (*ActionDutchAuctionWithdraw) XXX_Marshal

func (m *ActionDutchAuctionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionDutchAuctionWithdraw) XXX_Merge

func (m *ActionDutchAuctionWithdraw) XXX_Merge(src proto.Message)

func (*ActionDutchAuctionWithdraw) XXX_Size

func (m *ActionDutchAuctionWithdraw) XXX_Size() int

func (*ActionDutchAuctionWithdraw) XXX_Unmarshal

func (m *ActionDutchAuctionWithdraw) XXX_Unmarshal(b []byte) error

type ActionDutchAuctionWithdrawPlan

type ActionDutchAuctionWithdrawPlan struct {
	AuctionId      *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	Seq            uint64     `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	ReservesInput  *v11.Value `protobuf:"bytes,3,opt,name=reserves_input,json=reservesInput,proto3" json:"reserves_input,omitempty"`
	ReservesOutput *v11.Value `protobuf:"bytes,4,opt,name=reserves_output,json=reservesOutput,proto3" json:"reserves_output,omitempty"`
}

A plan to a `ActionDutchAuctionWithdraw` which contains both private and public data.

func (*ActionDutchAuctionWithdrawPlan) Descriptor

func (*ActionDutchAuctionWithdrawPlan) Descriptor() ([]byte, []int)

func (*ActionDutchAuctionWithdrawPlan) GetAuctionId

func (m *ActionDutchAuctionWithdrawPlan) GetAuctionId() *AuctionId

func (*ActionDutchAuctionWithdrawPlan) GetReservesInput

func (m *ActionDutchAuctionWithdrawPlan) GetReservesInput() *v11.Value

func (*ActionDutchAuctionWithdrawPlan) GetReservesOutput

func (m *ActionDutchAuctionWithdrawPlan) GetReservesOutput() *v11.Value

func (*ActionDutchAuctionWithdrawPlan) GetSeq

func (*ActionDutchAuctionWithdrawPlan) Marshal

func (m *ActionDutchAuctionWithdrawPlan) Marshal() (dAtA []byte, err error)

func (*ActionDutchAuctionWithdrawPlan) MarshalTo

func (m *ActionDutchAuctionWithdrawPlan) MarshalTo(dAtA []byte) (int, error)

func (*ActionDutchAuctionWithdrawPlan) MarshalToSizedBuffer

func (m *ActionDutchAuctionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActionDutchAuctionWithdrawPlan) ProtoMessage

func (*ActionDutchAuctionWithdrawPlan) ProtoMessage()

func (*ActionDutchAuctionWithdrawPlan) Reset

func (m *ActionDutchAuctionWithdrawPlan) Reset()

func (*ActionDutchAuctionWithdrawPlan) Size

func (m *ActionDutchAuctionWithdrawPlan) Size() (n int)

func (*ActionDutchAuctionWithdrawPlan) String

func (*ActionDutchAuctionWithdrawPlan) Unmarshal

func (m *ActionDutchAuctionWithdrawPlan) Unmarshal(dAtA []byte) error

func (*ActionDutchAuctionWithdrawPlan) XXX_DiscardUnknown

func (m *ActionDutchAuctionWithdrawPlan) XXX_DiscardUnknown()

func (*ActionDutchAuctionWithdrawPlan) XXX_Marshal

func (m *ActionDutchAuctionWithdrawPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionDutchAuctionWithdrawPlan) XXX_Merge

func (m *ActionDutchAuctionWithdrawPlan) XXX_Merge(src proto.Message)

func (*ActionDutchAuctionWithdrawPlan) XXX_Size

func (m *ActionDutchAuctionWithdrawPlan) XXX_Size() int

func (*ActionDutchAuctionWithdrawPlan) XXX_Unmarshal

func (m *ActionDutchAuctionWithdrawPlan) XXX_Unmarshal(b []byte) error

type ActionDutchAuctionWithdrawView

type ActionDutchAuctionWithdrawView struct {
	Action *ActionDutchAuctionWithdraw `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	// A sequence of values that sum together to the provided
	// reserves commitment.
	Reserves []*v11.ValueView `protobuf:"bytes,2,rep,name=reserves,proto3" json:"reserves,omitempty"`
}

An `ActionDutchAuctionWithdraw` augmented with additional metadata.

func (*ActionDutchAuctionWithdrawView) Descriptor

func (*ActionDutchAuctionWithdrawView) Descriptor() ([]byte, []int)

func (*ActionDutchAuctionWithdrawView) GetAction

func (*ActionDutchAuctionWithdrawView) GetReserves

func (m *ActionDutchAuctionWithdrawView) GetReserves() []*v11.ValueView

func (*ActionDutchAuctionWithdrawView) Marshal

func (m *ActionDutchAuctionWithdrawView) Marshal() (dAtA []byte, err error)

func (*ActionDutchAuctionWithdrawView) MarshalTo

func (m *ActionDutchAuctionWithdrawView) MarshalTo(dAtA []byte) (int, error)

func (*ActionDutchAuctionWithdrawView) MarshalToSizedBuffer

func (m *ActionDutchAuctionWithdrawView) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActionDutchAuctionWithdrawView) ProtoMessage

func (*ActionDutchAuctionWithdrawView) ProtoMessage()

func (*ActionDutchAuctionWithdrawView) Reset

func (m *ActionDutchAuctionWithdrawView) Reset()

func (*ActionDutchAuctionWithdrawView) Size

func (m *ActionDutchAuctionWithdrawView) Size() (n int)

func (*ActionDutchAuctionWithdrawView) String

func (*ActionDutchAuctionWithdrawView) Unmarshal

func (m *ActionDutchAuctionWithdrawView) Unmarshal(dAtA []byte) error

func (*ActionDutchAuctionWithdrawView) XXX_DiscardUnknown

func (m *ActionDutchAuctionWithdrawView) XXX_DiscardUnknown()

func (*ActionDutchAuctionWithdrawView) XXX_Marshal

func (m *ActionDutchAuctionWithdrawView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionDutchAuctionWithdrawView) XXX_Merge

func (m *ActionDutchAuctionWithdrawView) XXX_Merge(src proto.Message)

func (*ActionDutchAuctionWithdrawView) XXX_Size

func (m *ActionDutchAuctionWithdrawView) XXX_Size() int

func (*ActionDutchAuctionWithdrawView) XXX_Unmarshal

func (m *ActionDutchAuctionWithdrawView) XXX_Unmarshal(b []byte) error

type AuctionId

type AuctionId struct {
	Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
}

A unique identifier for an auction, obtained from hashing a domain separator along with the immutable part of an auction description.

func (*AuctionId) Descriptor

func (*AuctionId) Descriptor() ([]byte, []int)

func (*AuctionId) GetInner

func (m *AuctionId) GetInner() []byte

func (*AuctionId) Marshal

func (m *AuctionId) Marshal() (dAtA []byte, err error)

func (*AuctionId) MarshalTo

func (m *AuctionId) MarshalTo(dAtA []byte) (int, error)

func (*AuctionId) MarshalToSizedBuffer

func (m *AuctionId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuctionId) ProtoMessage

func (*AuctionId) ProtoMessage()

func (*AuctionId) Reset

func (m *AuctionId) Reset()

func (*AuctionId) Size

func (m *AuctionId) Size() (n int)

func (*AuctionId) String

func (m *AuctionId) String() string

func (*AuctionId) Unmarshal

func (m *AuctionId) Unmarshal(dAtA []byte) error

func (*AuctionId) XXX_DiscardUnknown

func (m *AuctionId) XXX_DiscardUnknown()

func (*AuctionId) XXX_Marshal

func (m *AuctionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionId) XXX_Merge

func (m *AuctionId) XXX_Merge(src proto.Message)

func (*AuctionId) XXX_Size

func (m *AuctionId) XXX_Size() int

func (*AuctionId) XXX_Unmarshal

func (m *AuctionId) XXX_Unmarshal(b []byte) error

type AuctionNft

type AuctionNft struct {
	Id  *AuctionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Seq uint64     `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
}

A bearer NFT tracking ownership of an auction and its proceeds.

func (*AuctionNft) Descriptor

func (*AuctionNft) Descriptor() ([]byte, []int)

func (*AuctionNft) GetId

func (m *AuctionNft) GetId() *AuctionId

func (*AuctionNft) GetSeq

func (m *AuctionNft) GetSeq() uint64

func (*AuctionNft) Marshal

func (m *AuctionNft) Marshal() (dAtA []byte, err error)

func (*AuctionNft) MarshalTo

func (m *AuctionNft) MarshalTo(dAtA []byte) (int, error)

func (*AuctionNft) MarshalToSizedBuffer

func (m *AuctionNft) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuctionNft) ProtoMessage

func (*AuctionNft) ProtoMessage()

func (*AuctionNft) Reset

func (m *AuctionNft) Reset()

func (*AuctionNft) Size

func (m *AuctionNft) Size() (n int)

func (*AuctionNft) String

func (m *AuctionNft) String() string

func (*AuctionNft) Unmarshal

func (m *AuctionNft) Unmarshal(dAtA []byte) error

func (*AuctionNft) XXX_DiscardUnknown

func (m *AuctionNft) XXX_DiscardUnknown()

func (*AuctionNft) XXX_Marshal

func (m *AuctionNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionNft) XXX_Merge

func (m *AuctionNft) XXX_Merge(src proto.Message)

func (*AuctionNft) XXX_Size

func (m *AuctionNft) XXX_Size() int

func (*AuctionNft) XXX_Unmarshal

func (m *AuctionNft) XXX_Unmarshal(b []byte) error

type AuctionParameters

type AuctionParameters struct {
}

The configuration parameters for the auction component.

func (*AuctionParameters) Descriptor

func (*AuctionParameters) Descriptor() ([]byte, []int)

func (*AuctionParameters) Marshal

func (m *AuctionParameters) Marshal() (dAtA []byte, err error)

func (*AuctionParameters) MarshalTo

func (m *AuctionParameters) MarshalTo(dAtA []byte) (int, error)

func (*AuctionParameters) MarshalToSizedBuffer

func (m *AuctionParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuctionParameters) ProtoMessage

func (*AuctionParameters) ProtoMessage()

func (*AuctionParameters) Reset

func (m *AuctionParameters) Reset()

func (*AuctionParameters) Size

func (m *AuctionParameters) Size() (n int)

func (*AuctionParameters) String

func (m *AuctionParameters) String() string

func (*AuctionParameters) Unmarshal

func (m *AuctionParameters) Unmarshal(dAtA []byte) error

func (*AuctionParameters) XXX_DiscardUnknown

func (m *AuctionParameters) XXX_DiscardUnknown()

func (*AuctionParameters) XXX_Marshal

func (m *AuctionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionParameters) XXX_Merge

func (m *AuctionParameters) XXX_Merge(src proto.Message)

func (*AuctionParameters) XXX_Size

func (m *AuctionParameters) XXX_Size() int

func (*AuctionParameters) XXX_Unmarshal

func (m *AuctionParameters) XXX_Unmarshal(b []byte) error

type AuctionStateByIdRequest

type AuctionStateByIdRequest struct {
	Id *AuctionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*AuctionStateByIdRequest) Descriptor

func (*AuctionStateByIdRequest) Descriptor() ([]byte, []int)

func (*AuctionStateByIdRequest) GetId

func (m *AuctionStateByIdRequest) GetId() *AuctionId

func (*AuctionStateByIdRequest) Marshal

func (m *AuctionStateByIdRequest) Marshal() (dAtA []byte, err error)

func (*AuctionStateByIdRequest) MarshalTo

func (m *AuctionStateByIdRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuctionStateByIdRequest) MarshalToSizedBuffer

func (m *AuctionStateByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuctionStateByIdRequest) ProtoMessage

func (*AuctionStateByIdRequest) ProtoMessage()

func (*AuctionStateByIdRequest) Reset

func (m *AuctionStateByIdRequest) Reset()

func (*AuctionStateByIdRequest) Size

func (m *AuctionStateByIdRequest) Size() (n int)

func (*AuctionStateByIdRequest) String

func (m *AuctionStateByIdRequest) String() string

func (*AuctionStateByIdRequest) Unmarshal

func (m *AuctionStateByIdRequest) Unmarshal(dAtA []byte) error

func (*AuctionStateByIdRequest) XXX_DiscardUnknown

func (m *AuctionStateByIdRequest) XXX_DiscardUnknown()

func (*AuctionStateByIdRequest) XXX_Marshal

func (m *AuctionStateByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionStateByIdRequest) XXX_Merge

func (m *AuctionStateByIdRequest) XXX_Merge(src proto.Message)

func (*AuctionStateByIdRequest) XXX_Size

func (m *AuctionStateByIdRequest) XXX_Size() int

func (*AuctionStateByIdRequest) XXX_Unmarshal

func (m *AuctionStateByIdRequest) XXX_Unmarshal(b []byte) error

type AuctionStateByIdResponse

type AuctionStateByIdResponse struct {
	// If present, the state of the auction. If not present, no such auction is known.
	Auction *types.Any `protobuf:"bytes,2,opt,name=auction,proto3" json:"auction,omitempty"`
	// The state of any DEX positions relevant to the returned auction.
	//
	// Could be empty, depending on the auction state.
	Positions []*v1.Position `protobuf:"bytes,3,rep,name=positions,proto3" json:"positions,omitempty"`
}

func (*AuctionStateByIdResponse) Descriptor

func (*AuctionStateByIdResponse) Descriptor() ([]byte, []int)

func (*AuctionStateByIdResponse) GetAuction

func (m *AuctionStateByIdResponse) GetAuction() *types.Any

func (*AuctionStateByIdResponse) GetPositions

func (m *AuctionStateByIdResponse) GetPositions() []*v1.Position

func (*AuctionStateByIdResponse) Marshal

func (m *AuctionStateByIdResponse) Marshal() (dAtA []byte, err error)

func (*AuctionStateByIdResponse) MarshalTo

func (m *AuctionStateByIdResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuctionStateByIdResponse) MarshalToSizedBuffer

func (m *AuctionStateByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuctionStateByIdResponse) ProtoMessage

func (*AuctionStateByIdResponse) ProtoMessage()

func (*AuctionStateByIdResponse) Reset

func (m *AuctionStateByIdResponse) Reset()

func (*AuctionStateByIdResponse) Size

func (m *AuctionStateByIdResponse) Size() (n int)

func (*AuctionStateByIdResponse) String

func (m *AuctionStateByIdResponse) String() string

func (*AuctionStateByIdResponse) Unmarshal

func (m *AuctionStateByIdResponse) Unmarshal(dAtA []byte) error

func (*AuctionStateByIdResponse) XXX_DiscardUnknown

func (m *AuctionStateByIdResponse) XXX_DiscardUnknown()

func (*AuctionStateByIdResponse) XXX_Marshal

func (m *AuctionStateByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionStateByIdResponse) XXX_Merge

func (m *AuctionStateByIdResponse) XXX_Merge(src proto.Message)

func (*AuctionStateByIdResponse) XXX_Size

func (m *AuctionStateByIdResponse) XXX_Size() int

func (*AuctionStateByIdResponse) XXX_Unmarshal

func (m *AuctionStateByIdResponse) XXX_Unmarshal(b []byte) error

type AuctionStateByIdsRequest

type AuctionStateByIdsRequest struct {
	// The auction IDs to request. Only known IDs will be returned in the response.
	Id []*AuctionId `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
}

func (*AuctionStateByIdsRequest) Descriptor

func (*AuctionStateByIdsRequest) Descriptor() ([]byte, []int)

func (*AuctionStateByIdsRequest) GetId

func (m *AuctionStateByIdsRequest) GetId() []*AuctionId

func (*AuctionStateByIdsRequest) Marshal

func (m *AuctionStateByIdsRequest) Marshal() (dAtA []byte, err error)

func (*AuctionStateByIdsRequest) MarshalTo

func (m *AuctionStateByIdsRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuctionStateByIdsRequest) MarshalToSizedBuffer

func (m *AuctionStateByIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuctionStateByIdsRequest) ProtoMessage

func (*AuctionStateByIdsRequest) ProtoMessage()

func (*AuctionStateByIdsRequest) Reset

func (m *AuctionStateByIdsRequest) Reset()

func (*AuctionStateByIdsRequest) Size

func (m *AuctionStateByIdsRequest) Size() (n int)

func (*AuctionStateByIdsRequest) String

func (m *AuctionStateByIdsRequest) String() string

func (*AuctionStateByIdsRequest) Unmarshal

func (m *AuctionStateByIdsRequest) Unmarshal(dAtA []byte) error

func (*AuctionStateByIdsRequest) XXX_DiscardUnknown

func (m *AuctionStateByIdsRequest) XXX_DiscardUnknown()

func (*AuctionStateByIdsRequest) XXX_Marshal

func (m *AuctionStateByIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionStateByIdsRequest) XXX_Merge

func (m *AuctionStateByIdsRequest) XXX_Merge(src proto.Message)

func (*AuctionStateByIdsRequest) XXX_Size

func (m *AuctionStateByIdsRequest) XXX_Size() int

func (*AuctionStateByIdsRequest) XXX_Unmarshal

func (m *AuctionStateByIdsRequest) XXX_Unmarshal(b []byte) error

type AuctionStateByIdsResponse

type AuctionStateByIdsResponse struct {
	// The auction ID of the returned auction.
	Id *AuctionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The state of the returned auction.
	Auction *DutchAuctionState `protobuf:"bytes,2,opt,name=auction,proto3" json:"auction,omitempty"`
	// The state of any DEX positions relevant to the returned auction.
	//
	// Could be empty, depending on the auction state.
	Positions []*v1.Position `protobuf:"bytes,3,rep,name=positions,proto3" json:"positions,omitempty"`
}

func (*AuctionStateByIdsResponse) Descriptor

func (*AuctionStateByIdsResponse) Descriptor() ([]byte, []int)

func (*AuctionStateByIdsResponse) GetAuction

func (*AuctionStateByIdsResponse) GetId

func (*AuctionStateByIdsResponse) GetPositions

func (m *AuctionStateByIdsResponse) GetPositions() []*v1.Position

func (*AuctionStateByIdsResponse) Marshal

func (m *AuctionStateByIdsResponse) Marshal() (dAtA []byte, err error)

func (*AuctionStateByIdsResponse) MarshalTo

func (m *AuctionStateByIdsResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuctionStateByIdsResponse) MarshalToSizedBuffer

func (m *AuctionStateByIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuctionStateByIdsResponse) ProtoMessage

func (*AuctionStateByIdsResponse) ProtoMessage()

func (*AuctionStateByIdsResponse) Reset

func (m *AuctionStateByIdsResponse) Reset()

func (*AuctionStateByIdsResponse) Size

func (m *AuctionStateByIdsResponse) Size() (n int)

func (*AuctionStateByIdsResponse) String

func (m *AuctionStateByIdsResponse) String() string

func (*AuctionStateByIdsResponse) Unmarshal

func (m *AuctionStateByIdsResponse) Unmarshal(dAtA []byte) error

func (*AuctionStateByIdsResponse) XXX_DiscardUnknown

func (m *AuctionStateByIdsResponse) XXX_DiscardUnknown()

func (*AuctionStateByIdsResponse) XXX_Marshal

func (m *AuctionStateByIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionStateByIdsResponse) XXX_Merge

func (m *AuctionStateByIdsResponse) XXX_Merge(src proto.Message)

func (*AuctionStateByIdsResponse) XXX_Size

func (m *AuctionStateByIdsResponse) XXX_Size() int

func (*AuctionStateByIdsResponse) XXX_Unmarshal

func (m *AuctionStateByIdsResponse) XXX_Unmarshal(b []byte) error

type DutchAuction

type DutchAuction struct {
	// The immutable data describing the auction and its auction ID.
	Description *DutchAuctionDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The mutable data describing the auction's execution.
	State *DutchAuctionState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
}

func (*DutchAuction) Descriptor

func (*DutchAuction) Descriptor() ([]byte, []int)

func (*DutchAuction) GetDescription

func (m *DutchAuction) GetDescription() *DutchAuctionDescription

func (*DutchAuction) GetState

func (m *DutchAuction) GetState() *DutchAuctionState

func (*DutchAuction) Marshal

func (m *DutchAuction) Marshal() (dAtA []byte, err error)

func (*DutchAuction) MarshalTo

func (m *DutchAuction) MarshalTo(dAtA []byte) (int, error)

func (*DutchAuction) MarshalToSizedBuffer

func (m *DutchAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DutchAuction) ProtoMessage

func (*DutchAuction) ProtoMessage()

func (*DutchAuction) Reset

func (m *DutchAuction) Reset()

func (*DutchAuction) Size

func (m *DutchAuction) Size() (n int)

func (*DutchAuction) String

func (m *DutchAuction) String() string

func (*DutchAuction) Unmarshal

func (m *DutchAuction) Unmarshal(dAtA []byte) error

func (*DutchAuction) XXX_DiscardUnknown

func (m *DutchAuction) XXX_DiscardUnknown()

func (*DutchAuction) XXX_Marshal

func (m *DutchAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DutchAuction) XXX_Merge

func (m *DutchAuction) XXX_Merge(src proto.Message)

func (*DutchAuction) XXX_Size

func (m *DutchAuction) XXX_Size() int

func (*DutchAuction) XXX_Unmarshal

func (m *DutchAuction) XXX_Unmarshal(b []byte) error

type DutchAuctionDescription

type DutchAuctionDescription struct {
	// The value the seller wishes to auction.
	Input *v11.Value `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// The asset ID of the target asset the seller wishes to acquire.
	OutputId *v11.AssetId `protobuf:"bytes,2,opt,name=output_id,json=outputId,proto3" json:"output_id,omitempty"`
	// The maximum output the seller can receive.
	//
	// This implicitly defines the starting price for the auction.
	MaxOutput *v12.Amount `protobuf:"bytes,3,opt,name=max_output,json=maxOutput,proto3" json:"max_output,omitempty"`
	// The minimum output the seller is willing to receive.
	//
	// This implicitly defines the ending price for the auction.
	MinOutput *v12.Amount `protobuf:"bytes,4,opt,name=min_output,json=minOutput,proto3" json:"min_output,omitempty"`
	// The block height at which the auction begins.
	//
	// This allows the seller to schedule an auction at a future time.
	StartHeight uint64 `protobuf:"varint,5,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	// The block height at which the auction ends.
	//
	// Together with `start_height`, `max_output`, and `min_output`,
	// this implicitly defines the speed of the auction.
	EndHeight uint64 `protobuf:"varint,6,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	// The number of discrete price steps to use for the auction.
	//
	// `end_height - start_height` must be a multiple of `step_count`.
	StepCount uint64 `protobuf:"varint,7,opt,name=step_count,json=stepCount,proto3" json:"step_count,omitempty"`
	// A random nonce used to allow identical auctions to have
	// distinct auction IDs.
	Nonce []byte `protobuf:"bytes,8,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

Describes a Dutch auction using programmatic liquidity on the DEX.

func (*DutchAuctionDescription) Descriptor

func (*DutchAuctionDescription) Descriptor() ([]byte, []int)

func (*DutchAuctionDescription) GetEndHeight

func (m *DutchAuctionDescription) GetEndHeight() uint64

func (*DutchAuctionDescription) GetInput

func (m *DutchAuctionDescription) GetInput() *v11.Value

func (*DutchAuctionDescription) GetMaxOutput

func (m *DutchAuctionDescription) GetMaxOutput() *v12.Amount

func (*DutchAuctionDescription) GetMinOutput

func (m *DutchAuctionDescription) GetMinOutput() *v12.Amount

func (*DutchAuctionDescription) GetNonce

func (m *DutchAuctionDescription) GetNonce() []byte

func (*DutchAuctionDescription) GetOutputId

func (m *DutchAuctionDescription) GetOutputId() *v11.AssetId

func (*DutchAuctionDescription) GetStartHeight

func (m *DutchAuctionDescription) GetStartHeight() uint64

func (*DutchAuctionDescription) GetStepCount

func (m *DutchAuctionDescription) GetStepCount() uint64

func (*DutchAuctionDescription) Marshal

func (m *DutchAuctionDescription) Marshal() (dAtA []byte, err error)

func (*DutchAuctionDescription) MarshalTo

func (m *DutchAuctionDescription) MarshalTo(dAtA []byte) (int, error)

func (*DutchAuctionDescription) MarshalToSizedBuffer

func (m *DutchAuctionDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DutchAuctionDescription) ProtoMessage

func (*DutchAuctionDescription) ProtoMessage()

func (*DutchAuctionDescription) Reset

func (m *DutchAuctionDescription) Reset()

func (*DutchAuctionDescription) Size

func (m *DutchAuctionDescription) Size() (n int)

func (*DutchAuctionDescription) String

func (m *DutchAuctionDescription) String() string

func (*DutchAuctionDescription) Unmarshal

func (m *DutchAuctionDescription) Unmarshal(dAtA []byte) error

func (*DutchAuctionDescription) XXX_DiscardUnknown

func (m *DutchAuctionDescription) XXX_DiscardUnknown()

func (*DutchAuctionDescription) XXX_Marshal

func (m *DutchAuctionDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DutchAuctionDescription) XXX_Merge

func (m *DutchAuctionDescription) XXX_Merge(src proto.Message)

func (*DutchAuctionDescription) XXX_Size

func (m *DutchAuctionDescription) XXX_Size() int

func (*DutchAuctionDescription) XXX_Unmarshal

func (m *DutchAuctionDescription) XXX_Unmarshal(b []byte) error

type DutchAuctionState

type DutchAuctionState struct {
	// The sequence number of the auction state.
	//
	// Dutch auctions move from:
	// 0 (opened) => 1 (closed) => n (withdrawn)
	Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// If present, the current position controlled by this auction.
	CurrentPosition *v1.PositionId `protobuf:"bytes,2,opt,name=current_position,json=currentPosition,proto3" json:"current_position,omitempty"`
	// If present, the next trigger height to step down the price.
	NextTrigger uint64 `protobuf:"varint,3,opt,name=next_trigger,json=nextTrigger,proto3" json:"next_trigger,omitempty"`
	// The amount of the input asset directly owned by the auction.
	//
	// The auction may also own the input asset indirectly,
	// via the reserves of `current_position` if it exists.
	InputReserves *v12.Amount `protobuf:"bytes,4,opt,name=input_reserves,json=inputReserves,proto3" json:"input_reserves,omitempty"`
	// The amount of the output asset directly owned by the auction.
	//
	// The auction may also own the output asset indirectly,
	// via the reserves of `current_position` if it exists.
	OutputReserves *v12.Amount `protobuf:"bytes,5,opt,name=output_reserves,json=outputReserves,proto3" json:"output_reserves,omitempty"`
}

func (*DutchAuctionState) Descriptor

func (*DutchAuctionState) Descriptor() ([]byte, []int)

func (*DutchAuctionState) GetCurrentPosition

func (m *DutchAuctionState) GetCurrentPosition() *v1.PositionId

func (*DutchAuctionState) GetInputReserves

func (m *DutchAuctionState) GetInputReserves() *v12.Amount

func (*DutchAuctionState) GetNextTrigger

func (m *DutchAuctionState) GetNextTrigger() uint64

func (*DutchAuctionState) GetOutputReserves

func (m *DutchAuctionState) GetOutputReserves() *v12.Amount

func (*DutchAuctionState) GetSeq

func (m *DutchAuctionState) GetSeq() uint64

func (*DutchAuctionState) Marshal

func (m *DutchAuctionState) Marshal() (dAtA []byte, err error)

func (*DutchAuctionState) MarshalTo

func (m *DutchAuctionState) MarshalTo(dAtA []byte) (int, error)

func (*DutchAuctionState) MarshalToSizedBuffer

func (m *DutchAuctionState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DutchAuctionState) ProtoMessage

func (*DutchAuctionState) ProtoMessage()

func (*DutchAuctionState) Reset

func (m *DutchAuctionState) Reset()

func (*DutchAuctionState) Size

func (m *DutchAuctionState) Size() (n int)

func (*DutchAuctionState) String

func (m *DutchAuctionState) String() string

func (*DutchAuctionState) Unmarshal

func (m *DutchAuctionState) Unmarshal(dAtA []byte) error

func (*DutchAuctionState) XXX_DiscardUnknown

func (m *DutchAuctionState) XXX_DiscardUnknown()

func (*DutchAuctionState) XXX_Marshal

func (m *DutchAuctionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DutchAuctionState) XXX_Merge

func (m *DutchAuctionState) XXX_Merge(src proto.Message)

func (*DutchAuctionState) XXX_Size

func (m *DutchAuctionState) XXX_Size() int

func (*DutchAuctionState) XXX_Unmarshal

func (m *DutchAuctionState) XXX_Unmarshal(b []byte) error

type EventDutchAuctionEnded

type EventDutchAuctionEnded struct {
	AuctionId *AuctionId                    `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	State     *DutchAuctionState            `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Reason    EventDutchAuctionEnded_Reason `` /* 136-byte string literal not displayed */
}

func (*EventDutchAuctionEnded) Descriptor

func (*EventDutchAuctionEnded) Descriptor() ([]byte, []int)

func (*EventDutchAuctionEnded) GetAuctionId

func (m *EventDutchAuctionEnded) GetAuctionId() *AuctionId

func (*EventDutchAuctionEnded) GetReason

func (*EventDutchAuctionEnded) GetState

func (*EventDutchAuctionEnded) Marshal

func (m *EventDutchAuctionEnded) Marshal() (dAtA []byte, err error)

func (*EventDutchAuctionEnded) MarshalTo

func (m *EventDutchAuctionEnded) MarshalTo(dAtA []byte) (int, error)

func (*EventDutchAuctionEnded) MarshalToSizedBuffer

func (m *EventDutchAuctionEnded) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDutchAuctionEnded) ProtoMessage

func (*EventDutchAuctionEnded) ProtoMessage()

func (*EventDutchAuctionEnded) Reset

func (m *EventDutchAuctionEnded) Reset()

func (*EventDutchAuctionEnded) Size

func (m *EventDutchAuctionEnded) Size() (n int)

func (*EventDutchAuctionEnded) String

func (m *EventDutchAuctionEnded) String() string

func (*EventDutchAuctionEnded) Unmarshal

func (m *EventDutchAuctionEnded) Unmarshal(dAtA []byte) error

func (*EventDutchAuctionEnded) XXX_DiscardUnknown

func (m *EventDutchAuctionEnded) XXX_DiscardUnknown()

func (*EventDutchAuctionEnded) XXX_Marshal

func (m *EventDutchAuctionEnded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDutchAuctionEnded) XXX_Merge

func (m *EventDutchAuctionEnded) XXX_Merge(src proto.Message)

func (*EventDutchAuctionEnded) XXX_Size

func (m *EventDutchAuctionEnded) XXX_Size() int

func (*EventDutchAuctionEnded) XXX_Unmarshal

func (m *EventDutchAuctionEnded) XXX_Unmarshal(b []byte) error

type EventDutchAuctionEnded_Reason

type EventDutchAuctionEnded_Reason int32

The reason the auction ended.

const (
	EventDutchAuctionEnded_REASON_UNSPECIFIED EventDutchAuctionEnded_Reason = 0
	// The auction ended due to reaching its terminal height.
	EventDutchAuctionEnded_REASON_EXPIRED EventDutchAuctionEnded_Reason = 1
	// The auction ran out of reserves.
	EventDutchAuctionEnded_REASON_FILLED EventDutchAuctionEnded_Reason = 2
	// The auction ended was terminated by the initiator.
	EventDutchAuctionEnded_REASON_CLOSED_BY_OWNER EventDutchAuctionEnded_Reason = 3
)

func (EventDutchAuctionEnded_Reason) EnumDescriptor

func (EventDutchAuctionEnded_Reason) EnumDescriptor() ([]byte, []int)

func (EventDutchAuctionEnded_Reason) String

type EventDutchAuctionScheduled

type EventDutchAuctionScheduled struct {
	AuctionId   *AuctionId               `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	Description *DutchAuctionDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*EventDutchAuctionScheduled) Descriptor

func (*EventDutchAuctionScheduled) Descriptor() ([]byte, []int)

func (*EventDutchAuctionScheduled) GetAuctionId

func (m *EventDutchAuctionScheduled) GetAuctionId() *AuctionId

func (*EventDutchAuctionScheduled) GetDescription

func (*EventDutchAuctionScheduled) Marshal

func (m *EventDutchAuctionScheduled) Marshal() (dAtA []byte, err error)

func (*EventDutchAuctionScheduled) MarshalTo

func (m *EventDutchAuctionScheduled) MarshalTo(dAtA []byte) (int, error)

func (*EventDutchAuctionScheduled) MarshalToSizedBuffer

func (m *EventDutchAuctionScheduled) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDutchAuctionScheduled) ProtoMessage

func (*EventDutchAuctionScheduled) ProtoMessage()

func (*EventDutchAuctionScheduled) Reset

func (m *EventDutchAuctionScheduled) Reset()

func (*EventDutchAuctionScheduled) Size

func (m *EventDutchAuctionScheduled) Size() (n int)

func (*EventDutchAuctionScheduled) String

func (m *EventDutchAuctionScheduled) String() string

func (*EventDutchAuctionScheduled) Unmarshal

func (m *EventDutchAuctionScheduled) Unmarshal(dAtA []byte) error

func (*EventDutchAuctionScheduled) XXX_DiscardUnknown

func (m *EventDutchAuctionScheduled) XXX_DiscardUnknown()

func (*EventDutchAuctionScheduled) XXX_Marshal

func (m *EventDutchAuctionScheduled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDutchAuctionScheduled) XXX_Merge

func (m *EventDutchAuctionScheduled) XXX_Merge(src proto.Message)

func (*EventDutchAuctionScheduled) XXX_Size

func (m *EventDutchAuctionScheduled) XXX_Size() int

func (*EventDutchAuctionScheduled) XXX_Unmarshal

func (m *EventDutchAuctionScheduled) XXX_Unmarshal(b []byte) error

type EventDutchAuctionUpdated

type EventDutchAuctionUpdated struct {
	AuctionId *AuctionId         `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	State     *DutchAuctionState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
}

func (*EventDutchAuctionUpdated) Descriptor

func (*EventDutchAuctionUpdated) Descriptor() ([]byte, []int)

func (*EventDutchAuctionUpdated) GetAuctionId

func (m *EventDutchAuctionUpdated) GetAuctionId() *AuctionId

func (*EventDutchAuctionUpdated) GetState

func (*EventDutchAuctionUpdated) Marshal

func (m *EventDutchAuctionUpdated) Marshal() (dAtA []byte, err error)

func (*EventDutchAuctionUpdated) MarshalTo

func (m *EventDutchAuctionUpdated) MarshalTo(dAtA []byte) (int, error)

func (*EventDutchAuctionUpdated) MarshalToSizedBuffer

func (m *EventDutchAuctionUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDutchAuctionUpdated) ProtoMessage

func (*EventDutchAuctionUpdated) ProtoMessage()

func (*EventDutchAuctionUpdated) Reset

func (m *EventDutchAuctionUpdated) Reset()

func (*EventDutchAuctionUpdated) Size

func (m *EventDutchAuctionUpdated) Size() (n int)

func (*EventDutchAuctionUpdated) String

func (m *EventDutchAuctionUpdated) String() string

func (*EventDutchAuctionUpdated) Unmarshal

func (m *EventDutchAuctionUpdated) Unmarshal(dAtA []byte) error

func (*EventDutchAuctionUpdated) XXX_DiscardUnknown

func (m *EventDutchAuctionUpdated) XXX_DiscardUnknown()

func (*EventDutchAuctionUpdated) XXX_Marshal

func (m *EventDutchAuctionUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDutchAuctionUpdated) XXX_Merge

func (m *EventDutchAuctionUpdated) XXX_Merge(src proto.Message)

func (*EventDutchAuctionUpdated) XXX_Size

func (m *EventDutchAuctionUpdated) XXX_Size() int

func (*EventDutchAuctionUpdated) XXX_Unmarshal

func (m *EventDutchAuctionUpdated) XXX_Unmarshal(b []byte) error

type EventDutchAuctionWithdrawn

type EventDutchAuctionWithdrawn struct {
	AuctionId *AuctionId         `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
	State     *DutchAuctionState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
}

func (*EventDutchAuctionWithdrawn) Descriptor

func (*EventDutchAuctionWithdrawn) Descriptor() ([]byte, []int)

func (*EventDutchAuctionWithdrawn) GetAuctionId

func (m *EventDutchAuctionWithdrawn) GetAuctionId() *AuctionId

func (*EventDutchAuctionWithdrawn) GetState

func (*EventDutchAuctionWithdrawn) Marshal

func (m *EventDutchAuctionWithdrawn) Marshal() (dAtA []byte, err error)

func (*EventDutchAuctionWithdrawn) MarshalTo

func (m *EventDutchAuctionWithdrawn) MarshalTo(dAtA []byte) (int, error)

func (*EventDutchAuctionWithdrawn) MarshalToSizedBuffer

func (m *EventDutchAuctionWithdrawn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDutchAuctionWithdrawn) ProtoMessage

func (*EventDutchAuctionWithdrawn) ProtoMessage()

func (*EventDutchAuctionWithdrawn) Reset

func (m *EventDutchAuctionWithdrawn) Reset()

func (*EventDutchAuctionWithdrawn) Size

func (m *EventDutchAuctionWithdrawn) Size() (n int)

func (*EventDutchAuctionWithdrawn) String

func (m *EventDutchAuctionWithdrawn) String() string

func (*EventDutchAuctionWithdrawn) Unmarshal

func (m *EventDutchAuctionWithdrawn) Unmarshal(dAtA []byte) error

func (*EventDutchAuctionWithdrawn) XXX_DiscardUnknown

func (m *EventDutchAuctionWithdrawn) XXX_DiscardUnknown()

func (*EventDutchAuctionWithdrawn) XXX_Marshal

func (m *EventDutchAuctionWithdrawn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDutchAuctionWithdrawn) XXX_Merge

func (m *EventDutchAuctionWithdrawn) XXX_Merge(src proto.Message)

func (*EventDutchAuctionWithdrawn) XXX_Size

func (m *EventDutchAuctionWithdrawn) XXX_Size() int

func (*EventDutchAuctionWithdrawn) XXX_Unmarshal

func (m *EventDutchAuctionWithdrawn) XXX_Unmarshal(b []byte) error

type EventValueCircuitBreakerCredit

type EventValueCircuitBreakerCredit struct {
	// The asset ID being deposited into the Auction component.
	AssetId *v11.AssetId `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The previous balance of the asset in the Auction component.
	PreviousBalance *v12.Amount `protobuf:"bytes,2,opt,name=previous_balance,json=previousBalance,proto3" json:"previous_balance,omitempty"`
	// The new balance of the asset in the Auction component.
	NewBalance *v12.Amount `protobuf:"bytes,3,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"`
}

A message emitted when value flows *into* the auction component.

func (*EventValueCircuitBreakerCredit) Descriptor

func (*EventValueCircuitBreakerCredit) Descriptor() ([]byte, []int)

func (*EventValueCircuitBreakerCredit) GetAssetId

func (m *EventValueCircuitBreakerCredit) GetAssetId() *v11.AssetId

func (*EventValueCircuitBreakerCredit) GetNewBalance

func (m *EventValueCircuitBreakerCredit) GetNewBalance() *v12.Amount

func (*EventValueCircuitBreakerCredit) GetPreviousBalance

func (m *EventValueCircuitBreakerCredit) GetPreviousBalance() *v12.Amount

func (*EventValueCircuitBreakerCredit) Marshal

func (m *EventValueCircuitBreakerCredit) Marshal() (dAtA []byte, err error)

func (*EventValueCircuitBreakerCredit) MarshalTo

func (m *EventValueCircuitBreakerCredit) MarshalTo(dAtA []byte) (int, error)

func (*EventValueCircuitBreakerCredit) MarshalToSizedBuffer

func (m *EventValueCircuitBreakerCredit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventValueCircuitBreakerCredit) ProtoMessage

func (*EventValueCircuitBreakerCredit) ProtoMessage()

func (*EventValueCircuitBreakerCredit) Reset

func (m *EventValueCircuitBreakerCredit) Reset()

func (*EventValueCircuitBreakerCredit) Size

func (m *EventValueCircuitBreakerCredit) Size() (n int)

func (*EventValueCircuitBreakerCredit) String

func (*EventValueCircuitBreakerCredit) Unmarshal

func (m *EventValueCircuitBreakerCredit) Unmarshal(dAtA []byte) error

func (*EventValueCircuitBreakerCredit) XXX_DiscardUnknown

func (m *EventValueCircuitBreakerCredit) XXX_DiscardUnknown()

func (*EventValueCircuitBreakerCredit) XXX_Marshal

func (m *EventValueCircuitBreakerCredit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventValueCircuitBreakerCredit) XXX_Merge

func (m *EventValueCircuitBreakerCredit) XXX_Merge(src proto.Message)

func (*EventValueCircuitBreakerCredit) XXX_Size

func (m *EventValueCircuitBreakerCredit) XXX_Size() int

func (*EventValueCircuitBreakerCredit) XXX_Unmarshal

func (m *EventValueCircuitBreakerCredit) XXX_Unmarshal(b []byte) error

type EventValueCircuitBreakerDebit

type EventValueCircuitBreakerDebit struct {
	// The asset ID being deposited into the Auction component.
	AssetId *v11.AssetId `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The previous balance of the asset in the Auction component.
	PreviousBalance *v12.Amount `protobuf:"bytes,2,opt,name=previous_balance,json=previousBalance,proto3" json:"previous_balance,omitempty"`
	// The new balance of the asset in the Auction component.
	NewBalance *v12.Amount `protobuf:"bytes,3,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"`
}

A message emitted when value flows *out* of the auction component.

func (*EventValueCircuitBreakerDebit) Descriptor

func (*EventValueCircuitBreakerDebit) Descriptor() ([]byte, []int)

func (*EventValueCircuitBreakerDebit) GetAssetId

func (m *EventValueCircuitBreakerDebit) GetAssetId() *v11.AssetId

func (*EventValueCircuitBreakerDebit) GetNewBalance

func (m *EventValueCircuitBreakerDebit) GetNewBalance() *v12.Amount

func (*EventValueCircuitBreakerDebit) GetPreviousBalance

func (m *EventValueCircuitBreakerDebit) GetPreviousBalance() *v12.Amount

func (*EventValueCircuitBreakerDebit) Marshal

func (m *EventValueCircuitBreakerDebit) Marshal() (dAtA []byte, err error)

func (*EventValueCircuitBreakerDebit) MarshalTo

func (m *EventValueCircuitBreakerDebit) MarshalTo(dAtA []byte) (int, error)

func (*EventValueCircuitBreakerDebit) MarshalToSizedBuffer

func (m *EventValueCircuitBreakerDebit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventValueCircuitBreakerDebit) ProtoMessage

func (*EventValueCircuitBreakerDebit) ProtoMessage()

func (*EventValueCircuitBreakerDebit) Reset

func (m *EventValueCircuitBreakerDebit) Reset()

func (*EventValueCircuitBreakerDebit) Size

func (m *EventValueCircuitBreakerDebit) Size() (n int)

func (*EventValueCircuitBreakerDebit) String

func (*EventValueCircuitBreakerDebit) Unmarshal

func (m *EventValueCircuitBreakerDebit) Unmarshal(dAtA []byte) error

func (*EventValueCircuitBreakerDebit) XXX_DiscardUnknown

func (m *EventValueCircuitBreakerDebit) XXX_DiscardUnknown()

func (*EventValueCircuitBreakerDebit) XXX_Marshal

func (m *EventValueCircuitBreakerDebit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventValueCircuitBreakerDebit) XXX_Merge

func (m *EventValueCircuitBreakerDebit) XXX_Merge(src proto.Message)

func (*EventValueCircuitBreakerDebit) XXX_Size

func (m *EventValueCircuitBreakerDebit) XXX_Size() int

func (*EventValueCircuitBreakerDebit) XXX_Unmarshal

func (m *EventValueCircuitBreakerDebit) XXX_Unmarshal(b []byte) error

type GenesisContent

type GenesisContent struct {
	// The configuration parameters for the auction component at genesis.
	Params *AuctionParameters `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

Genesis data for the auction component.

func (*GenesisContent) Descriptor

func (*GenesisContent) Descriptor() ([]byte, []int)

func (*GenesisContent) GetParams

func (m *GenesisContent) GetParams() *AuctionParameters

func (*GenesisContent) Marshal

func (m *GenesisContent) Marshal() (dAtA []byte, err error)

func (*GenesisContent) MarshalTo

func (m *GenesisContent) MarshalTo(dAtA []byte) (int, error)

func (*GenesisContent) MarshalToSizedBuffer

func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisContent) ProtoMessage

func (*GenesisContent) ProtoMessage()

func (*GenesisContent) Reset

func (m *GenesisContent) Reset()

func (*GenesisContent) Size

func (m *GenesisContent) Size() (n int)

func (*GenesisContent) String

func (m *GenesisContent) String() string

func (*GenesisContent) Unmarshal

func (m *GenesisContent) Unmarshal(dAtA []byte) error

func (*GenesisContent) XXX_DiscardUnknown

func (m *GenesisContent) XXX_DiscardUnknown()

func (*GenesisContent) XXX_Marshal

func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisContent) XXX_Merge

func (m *GenesisContent) XXX_Merge(src proto.Message)

func (*GenesisContent) XXX_Size

func (m *GenesisContent) XXX_Size() int

func (*GenesisContent) XXX_Unmarshal

func (m *GenesisContent) XXX_Unmarshal(b []byte) error

type QueryServiceClient

type QueryServiceClient interface {
	// Get the current state of an auction by ID.
	AuctionStateById(ctx context.Context, in *AuctionStateByIdRequest, opts ...grpc.CallOption) (*AuctionStateByIdResponse, error)
	// Get the current state of a group of auctions by ID.
	AuctionStateByIds(ctx context.Context, in *AuctionStateByIdsRequest, opts ...grpc.CallOption) (QueryService_AuctionStateByIdsClient, error)
}

QueryServiceClient is the client API for QueryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryServiceClient

func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient

type QueryServiceServer

type QueryServiceServer interface {
	// Get the current state of an auction by ID.
	AuctionStateById(context.Context, *AuctionStateByIdRequest) (*AuctionStateByIdResponse, error)
	// Get the current state of a group of auctions by ID.
	AuctionStateByIds(*AuctionStateByIdsRequest, QueryService_AuctionStateByIdsServer) error
}

QueryServiceServer is the server API for QueryService service.

type QueryService_AuctionStateByIdsClient

type QueryService_AuctionStateByIdsClient interface {
	Recv() (*AuctionStateByIdsResponse, error)
	grpc.ClientStream
}

type QueryService_AuctionStateByIdsServer

type QueryService_AuctionStateByIdsServer interface {
	Send(*AuctionStateByIdsResponse) error
	grpc.ServerStream
}

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServiceServer) AuctionStateById

func (*UnimplementedQueryServiceServer) AuctionStateByIds

Jump to

Keyboard shortcuts

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