query

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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

func NewUpsertWalletCommanderActiveClientVars(clientId string, connected bool) map[string]interface{}

func NewWalletCommanderSubscriptionVars

func NewWalletCommanderSubscriptionVars(clientId string) map[string]interface{}

Types

type AxieInfinityAccount added in v0.1.7

type AxieInfinityAccount struct {
	RoninWallet string
	AccessToken string
}

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)

Jump to

Keyboard shortcuts

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