Documentation
¶
Index ¶
- Variables
- func NewInsertAxieInfinityAccountsVars(clientId string, accounts []AxieInfinityAccount) map[string]interface{}
- func NewUpdateCommandResultsVars(commandId, transactionHash string, status api.WalletCommanderStatus, ...) map[string]interface{}
- func NewUpsertWalletCommanderActiveClientVars(clientId string, connected bool) map[string]interface{}
- func NewWalletCommanderSubscriptionVars(clientId string) map[string]interface{}
- type AxieInfinityAccount
- type WalletCommanderCommand
- func (w WalletCommanderCommand) UnmarshalClaimSlpPayload() (*api.ClaimSlpPayload, error)
- func (w WalletCommanderCommand) UnmarshalCreateAxieAccountPayload() (*api.CreateAxieAccountPayload, error)
- func (w WalletCommanderCommand) UnmarshalTransferAxiePayload() (*api.TransferAxiePayload, error)
- func (w WalletCommanderCommand) UnmarshalTransferSlpPayload() (*api.TransferSlpPayload, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var InsertAxieInfinityAccounts struct { InsertAxieInfinityAccounts struct { Affected_Rows int } `graphql:"insert_axie_infinity_accounts(objects: $objects)"` }
View Source
var UpdateCommandResults struct { UpdateWalletCommanderCommands struct { Id uuid } `` /* 184-byte string literal not displayed */ }
View Source
var UpsertWalletCommanderActiveClients struct { InsertWalletCommanderActiveClients struct { Client_Id string } `` /* 280-byte string literal not displayed */ }
View Source
var WallterCommanderSubscription struct { WalletCommanderCommand `graphql:"wallet_commander_commands(where: {client_id: {_eq: $clientId }, command_status:{ _eq: NOT_PROCESSED }})"` }
Functions ¶
func NewInsertAxieInfinityAccountsVars ¶ added in v0.1.7
func NewInsertAxieInfinityAccountsVars(clientId string, accounts []AxieInfinityAccount) map[string]interface{}
func NewUpdateCommandResultsVars ¶
func NewUpdateCommandResultsVars( commandId, transactionHash string, status api.WalletCommanderStatus, statusMessage string) map[string]interface{}
func NewUpsertWalletCommanderActiveClientVars ¶ added in v0.1.5
Types ¶
type AxieInfinityAccount ¶ added in v0.1.7
type WalletCommanderCommand ¶
type WalletCommanderCommand struct { Id graphql.ID Operation graphql.String Payload json.RawMessage }
func (WalletCommanderCommand) UnmarshalClaimSlpPayload ¶
func (w WalletCommanderCommand) UnmarshalClaimSlpPayload() (*api.ClaimSlpPayload, error)
func (WalletCommanderCommand) UnmarshalCreateAxieAccountPayload ¶ added in v0.1.9
func (w WalletCommanderCommand) UnmarshalCreateAxieAccountPayload() (*api.CreateAxieAccountPayload, error)
func (WalletCommanderCommand) UnmarshalTransferAxiePayload ¶
func (w WalletCommanderCommand) UnmarshalTransferAxiePayload() (*api.TransferAxiePayload, error)
func (WalletCommanderCommand) UnmarshalTransferSlpPayload ¶
func (w WalletCommanderCommand) UnmarshalTransferSlpPayload() (*api.TransferSlpPayload, error)
Click to show internal directories.
Click to hide internal directories.