Documentation
¶
Overview ¶
Package orderfills defines Polymarket on-chain OrderFilled truth models.
Index ¶
Constants ¶
View Source
const ( SideBUY = "BUY" SideSELL = "SELL" SourceOnchainOrderFilled = "onchain_order_filled" )
Variables ¶
This section is empty.
Functions ¶
func ValidateFill ¶
func ValidateQuery ¶
Types ¶
type BlockNumberReader ¶
type Fill ¶
type Fill struct {
TxHash string
LogIndex uint
Exchange string
MarketID string
ConditionID string
TokenID string
Side string
Price string
Size string
BlockNumber uint64
FilledAt time.Time
Source string
}
func NormalizeFill ¶
type Reader ¶
func NewReaderWithOptions ¶
func NewReaderWithOptions(options ReaderOptions) Reader
type ReaderOptions ¶
Click to show internal directories.
Click to hide internal directories.