Documentation ¶
Index ¶
- type Account
- type Asset
- type AssetCollection
- type AssetContract
- type AssetPaymentToken
- type AssetsResponse
- type BaseItemMetadataType
- type BaseItemType
- type BaseStreamMessage
- type Chain
- type Collection
- type CollectionMetadata
- type CollectionSlug
- type CollectionSource
- type CollectionStats
- type Fees
- type ItemCancelledEvent
- type ItemCancelledEventPayload
- type ItemListedEvent
- type ItemListedEventPayload
- type ItemMetadataUpdateEvent
- type ItemMetadataUpdatePayload
- type ItemReceivedBidEvent
- type ItemReceivedBidEventPayload
- type ItemReceivedOfferEvent
- type ItemReceivedOfferEventPayload
- type ItemSoldEvent
- type ItemSoldEventPayload
- type ItemTransferredEvent
- type ItemTransferredEventPayload
- type LastSale
- type MetadataERC721
- type NotificationRecipients
- type OSCollection
- type OpenSeaListingsResponse
- type PayloadItemAndColl
- type PaymentToken
- type PrimaryAssetContract
- type Profile
- type SeaportAccount
- type SeaportAsset
- type SeaportAssetBundle
- type SeaportAssetContract
- type SeaportCollection
- type SeaportConsiderationItem
- type SeaportDisplayData
- type SeaportFees
- type SeaportMakerFees
- type SeaportOffer
- type SeaportOrder
- type SeaportOwner
- type SeaportParameters
- type SeaportProtocolData
- type SeaportUser
- type Trait
- type Transaction
- type User
- type WatchGroup
- type WatchUser
- type WatchWallet
- type Watcher
- type WatcherUsers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶ added in v0.2.0
type Asset struct { ID int `json:"id"` AnimationOriginalURL string `json:"animation_original_url"` AnimationURL string `json:"animation_url"` AssetContract AssetContract `json:"asset_contract"` BackgroundColor interface{} `json:"background_color"` Collection Collection `json:"collection"` Creator Profile `json:"creator"` Decimals interface{} `json:"decimals"` Description string `json:"description"` ExternalLink string `json:"external_link"` ImageOriginalURL string `json:"image_original_url"` ImagePreviewURL string `json:"image_preview_url"` ImageThumbnailURL string `json:"image_thumbnail_url"` ImageURL string `json:"image_url"` IsNsfw bool `json:"is_nsfw"` IsPresale bool `json:"is_presale"` LastSale LastSale `json:"last_sale"` ListingDate interface{} `json:"listing_date"` Name string `json:"name"` NumSales int `json:"num_sales"` Owner Profile `json:"owner"` Permalink string `json:"permalink"` RarityData interface{} `json:"rarity_data"` SeaportSellOrders interface{} `json:"seaport_sell_orders"` SupportsWyvern bool `json:"supports_wyvern"` TokenID string `json:"token_id"` TokenMetadata string `json:"token_metadata"` TopBid interface{} `json:"top_bid"` Traits []Trait `json:"traits"` TransferFee interface{} `json:"transfer_fee"` TransferFeePaymentToken interface{} `json:"transfer_fee_payment_token"` }
type AssetCollection ¶
type AssetCollection struct { Editors []string `json:"editors"` PaymentTokens []AssetPaymentToken `json:"payment_tokens"` PrimaryAssetContracts []PrimaryAssetContract `json:"primary_asset_contracts"` Traits struct{} `json:"traits"` Stats CollectionStats `json:"stats"` BannerImageURL string `json:"banner_image_url"` ChatURL any `json:"chat_url"` CreatedDate string `json:"created_date"` DefaultToFiat bool `json:"default_to_fiat"` Description string `json:"description"` DevBuyerFeeBasisPoints string `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints string `json:"dev_seller_fee_basis_points"` DiscordURL string `json:"discord_url"` DisplayData struct { CardDisplayStyle string `json:"card_display_style"` } `json:"display_data"` ExternalURL string `json:"external_url"` Featured bool `json:"featured"` FeaturedImageURL any `json:"featured_image_url"` Hidden bool `json:"hidden"` SafelistRequestStatus string `json:"safelist_request_status"` ImageURL string `json:"image_url"` IsSubjectToWhitelist bool `json:"is_subject_to_whitelist"` LargeImageURL any `json:"large_image_url"` MediumUsername any `json:"medium_username"` Name string `json:"name"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints string `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints string `json:"opensea_seller_fee_basis_points"` PayoutAddress any `json:"payout_address"` RequireEmail bool `json:"require_email"` ShortDescription any `json:"short_description"` Slug string `json:"slug"` TelegramURL any `json:"telegram_url"` TwitterUsername any `json:"twitter_username"` InstagramUsername any `json:"instagram_username"` WikiURL any `json:"wiki_url"` OwnedAssetCount int `json:"owned_asset_count"` }
type AssetContract ¶
type AssetContract struct { Collection OSCollection `json:"collection"` Address string `json:"address"` AssetContractType string `json:"asset_contract_type"` CreatedDate string `json:"created_date"` Name string `json:"name"` NftVersion string `json:"nft_version"` OpenseaVersion any `json:"opensea_version"` Owner int `json:"owner"` SchemaName string `json:"schema_name"` Symbol string `json:"symbol"` TotalSupply any `json:"total_supply"` Description string `json:"description"` ExternalLink string `json:"external_link"` ImageURL string `json:"image_url"` DefaultToFiat bool `json:"default_to_fiat"` DevBuyerFeeBasisPoints int `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints int `json:"dev_seller_fee_basis_points"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints int `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints int `json:"opensea_seller_fee_basis_points"` BuyerFeeBasisPoints int `json:"buyer_fee_basis_points"` SellerFeeBasisPoints int `json:"seller_fee_basis_points"` PayoutAddress string `json:"payout_address"` }
type AssetPaymentToken ¶
type AssetsResponse ¶ added in v0.2.0
type BaseItemMetadataType ¶
type BaseItemType ¶
type BaseItemType struct { NftID string `mapstructure:"nft_id"` Permalink string `mapstructure:"permalink"` Metadata BaseItemMetadataType `mapstructure:"metadata"` Chain Chain `mapstructure:"chain"` }
type BaseStreamMessage ¶
type Collection ¶ added in v0.2.0
type Collection struct { BannerImageURL string `json:"banner_image_url"` ChatURL interface{} `json:"chat_url"` CreatedDate string `json:"created_date"` DefaultToFiat bool `json:"default_to_fiat"` Description string `json:"description"` DevBuyerFeeBasisPoints string `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints string `json:"dev_seller_fee_basis_points"` DiscordURL interface{} `json:"discord_url"` DisplayData SeaportDisplayData `json:"display_data"` ExternalURL interface{} `json:"external_url"` Featured bool `json:"featured"` FeaturedImageURL string `json:"featured_image_url"` Fees Fees `json:"fees"` Hidden bool `json:"hidden"` ImageURL string `json:"image_url"` InstagramUsername interface{} `json:"instagram_username"` IsNsfw bool `json:"is_nsfw"` IsRarityEnabled bool `json:"is_rarity_enabled"` IsSubjectToWhitelist bool `json:"is_subject_to_whitelist"` LargeImageURL string `json:"large_image_url"` MediumUsername interface{} `json:"medium_username"` Name string `json:"name"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints string `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints string `json:"opensea_seller_fee_basis_points"` PayoutAddress interface{} `json:"payout_address"` RequireEmail bool `json:"require_email"` SafelistRequestStatus string `json:"safelist_request_status"` ShortDescription interface{} `json:"short_description"` Slug string `json:"slug"` Stats CollectionStats `json:"stats"` TelegramURL interface{} `json:"telegram_url"` TwitterUsername interface{} `json:"twitter_username"` WikiURL interface{} `json:"wiki_url"` }
type CollectionMetadata ¶ added in v0.0.16
type CollectionSlug ¶
type CollectionSource ¶ added in v0.2.0
type CollectionSource int64
const ( FromConfiguration CollectionSource = iota FromWallet FromStream )
func (*CollectionSource) MarshalJSON ¶ added in v0.2.0
func (cs *CollectionSource) MarshalJSON() ([]byte, error)
func (*CollectionSource) String ¶ added in v0.2.0
func (cs *CollectionSource) String() string
func (*CollectionSource) UnmarshalJSON ¶ added in v0.2.0
func (cs *CollectionSource) UnmarshalJSON(b []byte) error
type CollectionStats ¶
type CollectionStats struct { OneDayVolume float64 `json:"one_day_volume"` OneDayChange float64 `json:"one_day_change"` OneDaySales float64 `json:"one_day_sales"` OneDayAveragePrice float64 `json:"one_day_average_price"` SevenDayVolume float64 `json:"seven_day_volume"` SevenDayChange float64 `json:"seven_day_change"` SevenDaySales float64 `json:"seven_day_sales"` SevenDayAveragePrice float64 `json:"seven_day_average_price"` ThirtyDayVolume float64 `json:"thirty_day_volume"` ThirtyDayChange float64 `json:"thirty_day_change"` ThirtyDaySales float64 `json:"thirty_day_sales"` ThirtyDayAveragePrice float64 `json:"thirty_day_average_price"` TotalVolume float64 `json:"total_volume"` TotalSales float64 `json:"total_sales"` TotalSupply float64 `json:"total_supply"` Count float64 `json:"count"` NumOwners float64 `json:"num_owners"` AveragePrice float64 `json:"average_price"` NumReports float64 `json:"num_reports"` MarketCap float64 `json:"market_cap"` FloorPrice float64 `json:"floor_price"` }
type Fees ¶ added in v0.2.0
type Fees struct { SellerFees interface{} `json:"seller_fees"` OpenseaFees interface{} `json:"opensea_fees"` }
type ItemCancelledEvent ¶
type ItemCancelledEvent struct { BaseStreamMessage `mapstructure:",squash"` Payload ItemCancelledEventPayload `mapstructure:"payload"` }
type ItemCancelledEventPayload ¶
type ItemCancelledEventPayload struct { PayloadItemAndColl `mapstructure:",squash"` Quantity int `mapstructure:"quantity"` ListingType string `mapstructure:"listing_type"` Transaction Transaction `mapstructure:"transaction"` PaymentToken PaymentToken `mapstructure:"payment_token"` EventTimestamp string `mapstructure:"event_timestamp"` }
type ItemListedEvent ¶
type ItemListedEvent struct { BaseStreamMessage `mapstructure:",squash"` Payload ItemListedEventPayload `mapstructure:"payload"` }
type ItemListedEventPayload ¶
type ItemListedEventPayload struct { PayloadItemAndColl `mapstructure:",squash"` Quantity int `mapstructure:"quantity"` ListingType string `mapstructure:"listing_type"` ListingDate string `mapstructure:"listing_date"` ExpirationDate string `mapstructure:"expiration_date"` Maker Account `mapstructure:"maker"` Taker Account `mapstructure:"taker"` BasePrice string `mapstructure:"base_price"` PaymentToken PaymentToken `mapstructure:"payment_token"` IsPrivate bool `mapstructure:"is_private"` EventTimestamp string `mapstructure:"event_timestamp"` }
type ItemMetadataUpdateEvent ¶
type ItemMetadataUpdateEvent struct { BaseStreamMessage `mapstructure:",squash"` Payload ItemMetadataUpdatePayload `mapstructure:"payload"` }
type ItemMetadataUpdatePayload ¶
type ItemMetadataUpdatePayload struct { PayloadItemAndColl `mapstructure:",squash"` BaseItemMetadataType `mapstructure:",squash"` Description string `mapstructure:"description"` BackgroundColor string `mapstructure:"background_color"` Traits []Trait `mapstructure:"traits"` }
type ItemReceivedBidEvent ¶
type ItemReceivedBidEvent struct { BaseStreamMessage `mapstructure:",squash"` Payload ItemReceivedBidEventPayload `mapstructure:"payload"` }
type ItemReceivedBidEventPayload ¶
type ItemReceivedBidEventPayload struct { PayloadItemAndColl `mapstructure:",squash"` Quantity int `mapstructure:"quantity"` CreatedDate string `mapstructure:"created_date"` ExpirationDate string `mapstructure:"expiration_date"` Maker Account `mapstructure:"maker"` Taker Account `mapstructure:"taker"` BasePrice string `mapstructure:"base_price"` PaymentToken PaymentToken `mapstructure:"payment_token"` EventTimestamp string `mapstructure:"event_timestamp"` }
type ItemReceivedOfferEvent ¶
type ItemReceivedOfferEvent struct { BaseStreamMessage `mapstructure:",squash"` Payload ItemReceivedOfferEventPayload `mapstructure:"payload"` }
type ItemReceivedOfferEventPayload ¶
type ItemReceivedOfferEventPayload struct { PayloadItemAndColl `mapstructure:",squash"` Quantity int `mapstructure:"quantity"` CreatedDate string `mapstructure:"created_date"` ExpirationDate string `mapstructure:"expiration_date"` Maker Account `mapstructure:"maker"` Taker Account `mapstructure:"taker"` BasePrice string `mapstructure:"base_price"` PaymentToken PaymentToken `mapstructure:"payment_token"` EventTimestamp string `mapstructure:"event_timestamp"` }
type ItemSoldEvent ¶
type ItemSoldEvent struct { BaseStreamMessage `mapstructure:",squash"` Payload ItemSoldEventPayload `mapstructure:"payload"` }
type ItemSoldEventPayload ¶
type ItemSoldEventPayload struct { PayloadItemAndColl `mapstructure:",squash"` ListingType string `mapstructure:"listing_type"` ClosingDate string `mapstructure:"closing_date"` Transaction Transaction `mapstructure:"transaction"` Maker Account `mapstructure:"maker"` Taker Account `mapstructure:"taker"` SalePrice string `mapstructure:"sale_price"` PaymentToken PaymentToken `mapstructure:"payment_token"` IsPrivate bool `mapstructure:"is_private"` EventTimestamp string `mapstructure:"event_timestamp"` }
type ItemTransferredEvent ¶
type ItemTransferredEvent struct { BaseStreamMessage `mapstructure:",squash"` Payload ItemTransferredEventPayload `mapstructure:"payload"` }
type ItemTransferredEventPayload ¶
type ItemTransferredEventPayload struct { PayloadItemAndColl `mapstructure:",squash"` FromAccount Account `mapstructure:"from_account"` Quantity int `mapstructure:"quantity"` ToAccount Account `mapstructure:"to_account"` Transaction Transaction `mapstructure:"transaction"` EventTimestamp string `mapstructure:"event_timestamp"` }
type LastSale ¶ added in v0.2.0
type LastSale struct { Asset struct { Decimals interface{} `json:"decimals"` TokenID string `json:"token_id"` } `json:"asset"` AssetBundle interface{} `json:"asset_bundle"` EventType string `json:"event_type"` EventTimestamp string `json:"event_timestamp"` AuctionType interface{} `json:"auction_type"` TotalPrice string `json:"total_price"` PaymentToken PaymentToken `json:"payment_token"` Transaction interface{} `json:"transaction"` CreatedDate string `json:"created_date"` Quantity string `json:"quantity"` }
type MetadataERC721 ¶ added in v0.0.16
type MetadataERC721 struct {
Image string `json:"image"`
}
type NotificationRecipients ¶ added in v0.2.0
type OSCollection ¶
type OSCollection struct { BannerImageURL string `json:"banner_image_url"` ChatURL any `json:"chat_url"` CreatedDate string `json:"created_date"` DefaultToFiat bool `json:"default_to_fiat"` Description string `json:"description"` DevBuyerFeeBasisPoints string `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints string `json:"dev_seller_fee_basis_points"` DiscordURL string `json:"discord_url"` DisplayData struct { CardDisplayStyle string `json:"card_display_style"` } `json:"display_data"` ExternalURL string `json:"external_url"` Featured bool `json:"featured"` FeaturedImageURL any `json:"featured_image_url"` Hidden bool `json:"hidden"` SafelistRequestStatus string `json:"safelist_request_status"` ImageURL string `json:"image_url"` IsSubjectToWhitelist bool `json:"is_subject_to_whitelist"` LargeImageURL any `json:"large_image_url"` MediumUsername any `json:"medium_username"` Name string `json:"name"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints string `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints string `json:"opensea_seller_fee_basis_points"` PayoutAddress string `json:"payout_address"` RequireEmail bool `json:"require_email"` ShortDescription any `json:"short_description"` Slug string `json:"slug"` TelegramURL any `json:"telegram_url"` TwitterUsername any `json:"twitter_username"` InstagramUsername any `json:"instagram_username"` WikiURL any `json:"wiki_url"` }
type OpenSeaListingsResponse ¶ added in v0.2.0
type OpenSeaListingsResponse struct { Next interface{} `json:"next"` Previous interface{} `json:"previous"` Orders []SeaportOrder `json:"orders"` }
type PayloadItemAndColl ¶
type PayloadItemAndColl struct { Item BaseItemType `mapstructure:"item"` Collection CollectionSlug `mapstructure:"collection"` }
type PaymentToken ¶
type PrimaryAssetContract ¶
type PrimaryAssetContract struct { Address string `json:"address"` AssetContractType string `json:"asset_contract_type"` CreatedDate string `json:"created_date"` Name string `json:"name"` NftVersion string `json:"nft_version"` OpenseaVersion any `json:"opensea_version"` Owner any `json:"owner"` SchemaName string `json:"schema_name"` Symbol string `json:"symbol"` TotalSupply string `json:"total_supply"` Description string `json:"description"` ExternalLink string `json:"external_link"` ImageURL string `json:"image_url"` DefaultToFiat bool `json:"default_to_fiat"` DevBuyerFeeBasisPoints int `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints int `json:"dev_seller_fee_basis_points"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints int `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints int `json:"opensea_seller_fee_basis_points"` BuyerFeeBasisPoints int `json:"buyer_fee_basis_points"` SellerFeeBasisPoints int `json:"seller_fee_basis_points"` PayoutAddress any `json:"payout_address"` }
type SeaportAccount ¶ added in v0.2.0
type SeaportAsset ¶ added in v0.2.0
type SeaportAsset struct { ID int `json:"id"` NumSales int `json:"num_sales"` BackgroundColor interface{} `json:"background_color"` ImageURL string `json:"image_url"` ImagePreviewURL string `json:"image_preview_url"` ImageThumbnailURL string `json:"image_thumbnail_url"` ImageOriginalURL string `json:"image_original_url"` AnimationURL interface{} `json:"animation_url"` AnimationOriginalURL interface{} `json:"animation_original_url"` Name string `json:"name"` Description string `json:"description"` ExternalLink interface{} `json:"external_link"` AssetContract SeaportAssetContract `json:"asset_contract"` Permalink string `json:"permalink"` Collection SeaportCollection `json:"collection"` Decimals interface{} `json:"decimals"` TokenMetadata string `json:"token_metadata"` IsNsfw bool `json:"is_nsfw"` Owner SeaportOwner `json:"owner"` TokenID string `json:"token_id"` }
type SeaportAssetBundle ¶ added in v0.2.0
type SeaportAssetBundle struct { Assets []SeaportAsset `json:"assets"` Maker interface{} `json:"maker"` Slug interface{} `json:"slug"` Name string `json:"name"` Description interface{} `json:"description"` ExternalLink interface{} `json:"external_link"` AssetContract SeaportAssetContract `json:"asset_contract"` Permalink string `json:"permalink"` SeaportSellOrders interface{} `json:"seaport_sell_orders"` }
type SeaportAssetContract ¶ added in v0.2.0
type SeaportAssetContract struct { Address string `json:"address"` AssetContractType string `json:"asset_contract_type"` CreatedDate string `json:"created_date"` Name string `json:"name"` NftVersion interface{} `json:"nft_version"` OpenseaVersion interface{} `json:"opensea_version"` Owner interface{} `json:"owner"` SchemaName string `json:"schema_name"` Symbol string `json:"symbol"` TotalSupply interface{} `json:"total_supply"` Description string `json:"description"` ExternalLink interface{} `json:"external_link"` ImageURL interface{} `json:"image_url"` DefaultToFiat bool `json:"default_to_fiat"` DevBuyerFeeBasisPoints int `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints int `json:"dev_seller_fee_basis_points"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints int `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints int `json:"opensea_seller_fee_basis_points"` BuyerFeeBasisPoints int `json:"buyer_fee_basis_points"` SellerFeeBasisPoints int `json:"seller_fee_basis_points"` PayoutAddress interface{} `json:"payout_address"` }
type SeaportCollection ¶ added in v0.2.0
type SeaportCollection struct { BannerImageURL string `json:"banner_image_url"` ChatURL interface{} `json:"chat_url"` CreatedDate time.Time `json:"created_date"` DefaultToFiat bool `json:"default_to_fiat"` Description string `json:"description"` DevBuyerFeeBasisPoints string `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints string `json:"dev_seller_fee_basis_points"` DiscordURL string `json:"discord_url"` DisplayData SeaportDisplayData `json:"display_data"` ExternalURL string `json:"external_url"` Featured bool `json:"featured"` FeaturedImageURL string `json:"featured_image_url"` Hidden bool `json:"hidden"` SafelistRequestStatus string `json:"safelist_request_status"` ImageURL string `json:"image_url"` IsSubjectToWhitelist bool `json:"is_subject_to_whitelist"` LargeImageURL string `json:"large_image_url"` MediumUsername interface{} `json:"medium_username"` Name string `json:"name"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints string `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints string `json:"opensea_seller_fee_basis_points"` PayoutAddress string `json:"payout_address"` RequireEmail bool `json:"require_email"` ShortDescription interface{} `json:"short_description"` Slug string `json:"slug"` TelegramURL interface{} `json:"telegram_url"` TwitterUsername interface{} `json:"twitter_username"` InstagramUsername interface{} `json:"instagram_username"` WikiURL interface{} `json:"wiki_url"` IsNsfw bool `json:"is_nsfw"` Fees SeaportFees `json:"fees"` IsRarityEnabled bool `json:"is_rarity_enabled"` }
type SeaportConsiderationItem ¶ added in v0.2.0
type SeaportDisplayData ¶ added in v0.2.0
type SeaportDisplayData struct {
CardDisplayStyle string `json:"card_display_style"`
}
type SeaportFees ¶ added in v0.2.0
type SeaportMakerFees ¶ added in v0.2.0
type SeaportMakerFees struct { Account SeaportAccount `json:"account"` BasisPoints string `json:"basis_points"` }
type SeaportOffer ¶ added in v0.2.0
type SeaportOrder ¶ added in v0.2.0
type SeaportOrder struct { CreatedDate string `json:"created_date"` ClosingDate string `json:"closing_date"` ListingTime int `json:"listing_time"` ExpirationTime int `json:"expiration_time"` OrderHash string `json:"order_hash"` ProtocolData SeaportProtocolData `json:"protocol_data"` ProtocolAddress string `json:"protocol_address"` Maker SeaportAccount `json:"maker"` Taker interface{} `json:"taker"` CurrentPrice string `json:"current_price"` MakerFees []SeaportMakerFees `json:"maker_fees"` TakerFees []interface{} `json:"taker_fees"` Side string `json:"side"` OrderType string `json:"order_type"` Cancelled bool `json:"cancelled"` Finalized bool `json:"finalized"` MarkedInvalid bool `json:"marked_invalid"` ClientSignature string `json:"client_signature"` RelayID string `json:"relay_id"` CriteriaProof interface{} `json:"criteria_proof"` MakerAssetBundle SeaportAssetBundle `json:"maker_asset_bundle"` TakerAssetBundle SeaportAssetBundle `json:"taker_asset_bundle"` }
type SeaportOwner ¶ added in v0.2.0
type SeaportOwner struct { User SeaportUser `json:"user"` ProfileImgURL string `json:"profile_img_url"` Address string `json:"address"` Config string `json:"config"` }
type SeaportParameters ¶ added in v0.2.0
type SeaportParameters struct { Offerer common.Address `json:"offerer"` Offer []SeaportOffer `json:"offer"` Consideration []SeaportConsiderationItem `json:"consideration"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` OrderType int `json:"orderType"` Zone common.Address `json:"zone"` ZoneHash common.Hash `json:"zoneHash"` Salt string `json:"salt"` ConduitKey common.Hash `json:"conduitKey"` TotalOriginalConsiderationItems int `json:"totalOriginalConsiderationItems"` Counter int `json:"counter"` }
type SeaportProtocolData ¶ added in v0.2.0
type SeaportProtocolData struct { Parameters SeaportParameters `json:"parameters"` Signature string `json:"signature"` }
type SeaportUser ¶ added in v0.2.0
type SeaportUser struct {
Username string `json:"username"`
}
type Trait ¶
type Trait struct { // TraitType string `mapstructure:"trait_type"` // Value string `mapstructure:"value"` // DisplayType string `mapstructure:"display_type"` // MaxValue int `mapstructure:"max_value"` // TraitCount string `mapstructure:"trait_count"` // Order int `mapstructure:"order"` TraitType interface{} `json:"trait_type"` Value interface{} `json:"value"` DisplayType interface{} `json:"display_type"` MaxValue interface{} `json:"max_value"` TraitCount interface{} `json:"trait_count"` Order interface{} `json:"order"` }
type Transaction ¶
type WatchGroup ¶ added in v0.2.0
type WatchGroup struct { Name string `mapstructure:"group"` TelegramChatID int64 `mapstructure:"telegram_chat_id"` Users []*WatchUser `mapstructure:"users"` Wallets []*WatchWallet `mapstructure:"wallets"` }
type WatchUser ¶ added in v0.2.0
type WatchUser struct { Name string `mapstructure:"name"` TelegramUsername string `mapstructure:"telegram_username"` Wallets []*WatchWallet `mapstructure:"wallets"` WalletAddresses []common.Address Group *WatchGroup }
type WatchWallet ¶ added in v0.2.0
type Watcher ¶ added in v0.2.0
type Watcher struct { Groups map[string]*WatchGroup UserAddresses map[common.Address]*WatchGroup WalletAddresses map[common.Address]*WatchGroup }
type WatcherUsers ¶ added in v0.2.0
func (*WatcherUsers) Contains ¶ added in v0.2.0
func (wu *WatcherUsers) Contains(address common.Address) bool
Contains returns true if the given string is in the slice.
func (*WatcherUsers) ContainsOneOf ¶ added in v0.2.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.