Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface {
String() string
}
represents an enum containing applications for a network
type BlockedWinner ¶
type BlockedWinner struct { Network network.BlockchainNetwork `json:"network"` Token token_details.TokenDetails `json:"token"` EthereumContractAddress string `json:"contract_address"` RewardTransactionHash string `json:"reward_transaction_hash"` WinnerAddress string `json:"winner_address"` WinningAmount misc.BigInt `json:"winning_amount"` BatchFirstBlock misc.BigInt `json:"first_block"` BatchLastBlock misc.BigInt `json:"last_block"` }
type PendingWinner ¶
type PendingWinner struct { // Category is the TokenShortName of the corresponding token (e.g. USDC) Category string `json:"category"` TokenDetails token_details.TokenDetails `json:"token_details"` TransactionHash string `json:"transaction_hash"` SenderAddress string `json:"sender_address"` NativeWinAmount misc.BigInt `json:"native_win_amount"` UsdWinAmount float64 `json:"usd_win_amount"` Utility applications.UtilityName `json:"utility"` BlockNumber *misc.BigInt `json:"block_number"` Network network.BlockchainNetwork `json:"network"` RewardType RewardType `json:"reward_type"` LogIndex *misc.BigInt `json:"log_index"` // this is the stringified result of either an ethereum.Application or sui.Application Application string `json:"application"` RewardTier int `json:"reward_tier"` }
PendingWinner is a winner that has been spooled but not sent
type RewardType ¶
type RewardType string
whether a win is for the sender or recipient "send" || "receive"
type Winner ¶
type Winner struct { Network network.BlockchainNetwork `json:"network"` TransactionHash string `json:"transaction_hash"` SendTransactionHash string `json:"send_transaction_hash"` SendTransactionLogIndex misc.BigInt `json:"log_index"` WinnerAddress string `json:"winner_address"` SolanaWinnerOwnerAddress string `json:"solana_winner_owner_address"` WinningAmount misc.BigInt `json:"winning_amount"` AwardedTime time.Time `json:"awarded_time"` RewardType RewardType `json:"reward_type"` // this is the stringified result of either an ethereum.Application, solana.Application, or sui.Application Application string `json:"application"` Utility applications.UtilityName `json:"utility"` BatchFirstBlock misc.BigInt `json:"first_block"` BatchLastBlock misc.BigInt `json:"last_block"` RewardTier int `json:"reward_tier"` TokenDetails token_details.TokenDetails `json:"token_details"` }
Click to show internal directories.
Click to hide internal directories.