candymachine

package module
v0.0.0-...-cc46cae Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Namespace = "candymachine"
)

Variables

View Source
var File_connectors_source_candymachine_candymachine_proto protoreflect.FileDescriptor
View Source
var TopicTypes = map[string]proto.Message{
	"lotus.candymachine.0_0_0.nft_mintnft":                &MintNFT{},
	"lotus.candymachine.0_0_0.nft_updatecandymachine":     &UpdateCandyMachine{},
	"lotus.candymachine.0_0_0.nft_addconfiglines":         &AddConfigLines{},
	"lotus.candymachine.0_0_0.nft_initializecandymachine": &InitializeCandyMachine{},
	"lotus.candymachine.0_0_0.nft_updateauthority":        &UpdateAuthority{},
	"lotus.candymachine.0_0_0.nft_withdrawfunds":          &WithdrawFunds{},
}

Functions

This section is empty.

Types

type AddConfigLines

type AddConfigLines struct {
	Ts           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // we use the transaction's BlockTime here `GetTransactionResult.BlockTime`
	Id           []byte                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // hash of the event
	TxSignature  string                 `protobuf:"bytes,3,opt,name=txSignature,proto3" json:"txSignature,omitempty"`
	Index        uint32                 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
	ConfigLines  []*ConfigLine          `protobuf:"bytes,5,rep,name=configLines,proto3" json:"configLines,omitempty"`
	CandyMachine string                 `protobuf:"bytes,6,opt,name=candyMachine,proto3" json:"candyMachine,omitempty"`
	Authority    string                 `protobuf:"bytes,7,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

func DecodeAddConfigLines

func DecodeAddConfigLines(impl *candymachinev2.AddConfigLines, txResult *rpc.GetTransactionResult, signature solana.Signature) *AddConfigLines

func (*AddConfigLines) Descriptor deprecated

func (*AddConfigLines) Descriptor() ([]byte, []int)

Deprecated: Use AddConfigLines.ProtoReflect.Descriptor instead.

func (*AddConfigLines) GetAuthority

func (x *AddConfigLines) GetAuthority() string

func (*AddConfigLines) GetCandyMachine

func (x *AddConfigLines) GetCandyMachine() string

func (*AddConfigLines) GetConfigLines

func (x *AddConfigLines) GetConfigLines() []*ConfigLine

func (*AddConfigLines) GetId

func (x *AddConfigLines) GetId() []byte

func (*AddConfigLines) GetIndex

func (x *AddConfigLines) GetIndex() uint32

func (*AddConfigLines) GetTs

func (x *AddConfigLines) GetTs() *timestamppb.Timestamp

func (*AddConfigLines) GetTxSignature

func (x *AddConfigLines) GetTxSignature() string

func (*AddConfigLines) ProtoMessage

func (*AddConfigLines) ProtoMessage()

func (*AddConfigLines) ProtoReflect

func (x *AddConfigLines) ProtoReflect() protoreflect.Message

func (*AddConfigLines) Reset

func (x *AddConfigLines) Reset()

func (*AddConfigLines) String

func (x *AddConfigLines) String() string

type CandyMachineData

type CandyMachineData struct {
	Uuid                  string          `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Price                 uint64          `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"`
	Symbol                string          `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	SellerFeeBasisPoints  uint32          `protobuf:"varint,4,opt,name=sellerFeeBasisPoints,proto3" json:"sellerFeeBasisPoints,omitempty"`
	MaxSupply             uint64          `protobuf:"varint,5,opt,name=maxSupply,proto3" json:"maxSupply,omitempty"`
	IsMutable             bool            `protobuf:"varint,6,opt,name=isMutable,proto3" json:"isMutable,omitempty"`
	RetainAuthority       bool            `protobuf:"varint,7,opt,name=retainAuthority,proto3" json:"retainAuthority,omitempty"`
	GoLiveDate            uint64          `protobuf:"varint,8,opt,name=goLiveDate,proto3" json:"goLiveDate,omitempty"`
	EndSettings           *EndSettings    `protobuf:"bytes,9,opt,name=endSettings,proto3" json:"endSettings,omitempty"`
	Creators              []string        `protobuf:"bytes,10,rep,name=creators,proto3" json:"creators,omitempty"`
	HiddenSettings        *HiddenSettings `protobuf:"bytes,11,opt,name=hiddenSettings,proto3" json:"hiddenSettings,omitempty"`
	WhitelistMintSettings string          `protobuf:"bytes,12,opt,name=whitelistMintSettings,proto3" json:"whitelistMintSettings,omitempty"`
	ItemsAvailable        uint64          `protobuf:"varint,13,opt,name=ItemsAvailable,proto3" json:"ItemsAvailable,omitempty"`
	GatekeeperConfig      string          `protobuf:"bytes,14,opt,name=gatekeeperConfig,proto3" json:"gatekeeperConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*CandyMachineData) Descriptor deprecated

func (*CandyMachineData) Descriptor() ([]byte, []int)

Deprecated: Use CandyMachineData.ProtoReflect.Descriptor instead.

func (*CandyMachineData) GetCreators

func (x *CandyMachineData) GetCreators() []string

func (*CandyMachineData) GetEndSettings

func (x *CandyMachineData) GetEndSettings() *EndSettings

func (*CandyMachineData) GetGatekeeperConfig

func (x *CandyMachineData) GetGatekeeperConfig() string

func (*CandyMachineData) GetGoLiveDate

func (x *CandyMachineData) GetGoLiveDate() uint64

func (*CandyMachineData) GetHiddenSettings

func (x *CandyMachineData) GetHiddenSettings() *HiddenSettings

func (*CandyMachineData) GetIsMutable

func (x *CandyMachineData) GetIsMutable() bool

func (*CandyMachineData) GetItemsAvailable

func (x *CandyMachineData) GetItemsAvailable() uint64

func (*CandyMachineData) GetMaxSupply

func (x *CandyMachineData) GetMaxSupply() uint64

func (*CandyMachineData) GetPrice

func (x *CandyMachineData) GetPrice() uint64

func (*CandyMachineData) GetRetainAuthority

func (x *CandyMachineData) GetRetainAuthority() bool

func (*CandyMachineData) GetSellerFeeBasisPoints

func (x *CandyMachineData) GetSellerFeeBasisPoints() uint32

func (*CandyMachineData) GetSymbol

func (x *CandyMachineData) GetSymbol() string

func (*CandyMachineData) GetUuid

func (x *CandyMachineData) GetUuid() string

func (*CandyMachineData) GetWhitelistMintSettings

func (x *CandyMachineData) GetWhitelistMintSettings() string

func (*CandyMachineData) ProtoMessage

func (*CandyMachineData) ProtoMessage()

func (*CandyMachineData) ProtoReflect

func (x *CandyMachineData) ProtoReflect() protoreflect.Message

func (*CandyMachineData) Reset

func (x *CandyMachineData) Reset()

func (*CandyMachineData) String

func (x *CandyMachineData) String() string

type ConfigLine

type ConfigLine struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uri  string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigLine) Descriptor deprecated

func (*ConfigLine) Descriptor() ([]byte, []int)

Deprecated: Use ConfigLine.ProtoReflect.Descriptor instead.

func (*ConfigLine) GetName

func (x *ConfigLine) GetName() string

func (*ConfigLine) GetUri

func (x *ConfigLine) GetUri() string

func (*ConfigLine) ProtoMessage

func (*ConfigLine) ProtoMessage()

func (*ConfigLine) ProtoReflect

func (x *ConfigLine) ProtoReflect() protoreflect.Message

func (*ConfigLine) Reset

func (x *ConfigLine) Reset()

func (*ConfigLine) String

func (x *ConfigLine) String() string

type Connector

type Connector struct {
	*connector.Connector
	CandyMachinePublicKey solana.PublicKey
	// contains filtered or unexported fields
}

func NewConnector

func NewConnector(conf *viper.Viper) *Connector

func (*Connector) ConvertInstructionToMessage

func (c *Connector) ConvertInstructionToMessage(instruction *candymachinev2.Instruction, txResult *rpc.GetTransactionResult, _ *solana.Transaction, signature solana.Signature) proto.Message

func (*Connector) Start

func (c *Connector) Start()

type EndSettings

type EndSettings struct {
	EndSettingType uint32 `protobuf:"varint,1,opt,name=endSettingType,proto3" json:"endSettingType,omitempty"`
	Number         uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*EndSettings) Descriptor deprecated

func (*EndSettings) Descriptor() ([]byte, []int)

Deprecated: Use EndSettings.ProtoReflect.Descriptor instead.

func (*EndSettings) GetEndSettingType

func (x *EndSettings) GetEndSettingType() uint32

func (*EndSettings) GetNumber

func (x *EndSettings) GetNumber() uint64

func (*EndSettings) ProtoMessage

func (*EndSettings) ProtoMessage()

func (*EndSettings) ProtoReflect

func (x *EndSettings) ProtoReflect() protoreflect.Message

func (*EndSettings) Reset

func (x *EndSettings) Reset()

func (*EndSettings) String

func (x *EndSettings) String() string

type HiddenSettings

type HiddenSettings struct {
	Name string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uri  string   `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	Hash []uint32 `protobuf:"varint,3,rep,packed,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*HiddenSettings) Descriptor deprecated

func (*HiddenSettings) Descriptor() ([]byte, []int)

Deprecated: Use HiddenSettings.ProtoReflect.Descriptor instead.

func (*HiddenSettings) GetHash

func (x *HiddenSettings) GetHash() []uint32

func (*HiddenSettings) GetName

func (x *HiddenSettings) GetName() string

func (*HiddenSettings) GetUri

func (x *HiddenSettings) GetUri() string

func (*HiddenSettings) ProtoMessage

func (*HiddenSettings) ProtoMessage()

func (*HiddenSettings) ProtoReflect

func (x *HiddenSettings) ProtoReflect() protoreflect.Message

func (*HiddenSettings) Reset

func (x *HiddenSettings) Reset()

func (*HiddenSettings) String

func (x *HiddenSettings) String() string

type InitializeCandyMachine

type InitializeCandyMachine struct {
	Ts            *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // we use the transaction's BlockTime here `GetTransactionResult.BlockTime`
	Id            []byte                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // hash of the event
	TxSignature   string                 `protobuf:"bytes,3,opt,name=txSignature,proto3" json:"txSignature,omitempty"`
	Data          *CandyMachineData      `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	CandyMachine  string                 `protobuf:"bytes,5,opt,name=candyMachine,proto3" json:"candyMachine,omitempty"`
	Wallet        string                 `protobuf:"bytes,6,opt,name=wallet,proto3" json:"wallet,omitempty"`
	Authority     string                 `protobuf:"bytes,7,opt,name=authority,proto3" json:"authority,omitempty"`
	Payer         string                 `protobuf:"bytes,8,opt,name=payer,proto3" json:"payer,omitempty"`
	SystemProgram string                 `protobuf:"bytes,9,opt,name=systemProgram,proto3" json:"systemProgram,omitempty"`
	Rent          string                 `protobuf:"bytes,10,opt,name=rent,proto3" json:"rent,omitempty"`
	// contains filtered or unexported fields
}

func DecodeInitializeCandyMachine

func DecodeInitializeCandyMachine(impl *candymachinev2.InitializeCandyMachine, txResult *rpc.GetTransactionResult, signature solana.Signature) *InitializeCandyMachine

func (*InitializeCandyMachine) Descriptor deprecated

func (*InitializeCandyMachine) Descriptor() ([]byte, []int)

Deprecated: Use InitializeCandyMachine.ProtoReflect.Descriptor instead.

func (*InitializeCandyMachine) GetAuthority

func (x *InitializeCandyMachine) GetAuthority() string

func (*InitializeCandyMachine) GetCandyMachine

func (x *InitializeCandyMachine) GetCandyMachine() string

func (*InitializeCandyMachine) GetData

func (*InitializeCandyMachine) GetId

func (x *InitializeCandyMachine) GetId() []byte

func (*InitializeCandyMachine) GetPayer

func (x *InitializeCandyMachine) GetPayer() string

func (*InitializeCandyMachine) GetRent

func (x *InitializeCandyMachine) GetRent() string

func (*InitializeCandyMachine) GetSystemProgram

func (x *InitializeCandyMachine) GetSystemProgram() string

func (*InitializeCandyMachine) GetTs

func (*InitializeCandyMachine) GetTxSignature

func (x *InitializeCandyMachine) GetTxSignature() string

func (*InitializeCandyMachine) GetWallet

func (x *InitializeCandyMachine) GetWallet() string

func (*InitializeCandyMachine) ProtoMessage

func (*InitializeCandyMachine) ProtoMessage()

func (*InitializeCandyMachine) ProtoReflect

func (x *InitializeCandyMachine) ProtoReflect() protoreflect.Message

func (*InitializeCandyMachine) Reset

func (x *InitializeCandyMachine) Reset()

func (*InitializeCandyMachine) String

func (x *InitializeCandyMachine) String() string

type MintNFT

type MintNFT struct {
	Ts                       *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // we use the transaction's BlockTime here `GetTransactionResult.BlockTime`
	Id                       []byte                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // hash of the event
	TxSignature              string                 `protobuf:"bytes,3,opt,name=txSignature,proto3" json:"txSignature,omitempty"`
	CreatorBump              uint32                 `protobuf:"varint,4,opt,name=creatorBump,proto3" json:"creatorBump,omitempty"`
	CandyMachine             string                 `protobuf:"bytes,5,opt,name=candyMachine,proto3" json:"candyMachine,omitempty"`
	CandyMachineCreator      string                 `protobuf:"bytes,6,opt,name=candyMachineCreator,proto3" json:"candyMachineCreator,omitempty"`
	Payer                    string                 `protobuf:"bytes,7,opt,name=payer,proto3" json:"payer,omitempty"`
	Wallet                   string                 `protobuf:"bytes,8,opt,name=wallet,proto3" json:"wallet,omitempty"`
	Metadata                 string                 `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Mint                     string                 `protobuf:"bytes,10,opt,name=mint,proto3" json:"mint,omitempty"`
	MintAuthority            string                 `protobuf:"bytes,11,opt,name=mintAuthority,proto3" json:"mintAuthority,omitempty"`
	UpdateAuthority          string                 `protobuf:"bytes,12,opt,name=updateAuthority,proto3" json:"updateAuthority,omitempty"`
	MasterEdition            string                 `protobuf:"bytes,13,opt,name=masterEdition,proto3" json:"masterEdition,omitempty"`
	TokenMetadataProgram     string                 `protobuf:"bytes,14,opt,name=tokenMetadataProgram,proto3" json:"tokenMetadataProgram,omitempty"`
	TokenProgram             string                 `protobuf:"bytes,15,opt,name=tokenProgram,proto3" json:"tokenProgram,omitempty"`
	SystemProgram            string                 `protobuf:"bytes,16,opt,name=systemProgram,proto3" json:"systemProgram,omitempty"`
	Rent                     string                 `protobuf:"bytes,17,opt,name=rent,proto3" json:"rent,omitempty"`
	Clock                    string                 `protobuf:"bytes,18,opt,name=clock,proto3" json:"clock,omitempty"`
	RecentBlockhashes        string                 `protobuf:"bytes,19,opt,name=recentBlockhashes,proto3" json:"recentBlockhashes,omitempty"`
	InstructionSysvarAccount string                 `protobuf:"bytes,20,opt,name=instructionSysvarAccount,proto3" json:"instructionSysvarAccount,omitempty"`
	// contains filtered or unexported fields
}

func DecodeMintNFT

func DecodeMintNFT(impl *candymachinev2.MintNft, txResult *rpc.GetTransactionResult, signature solana.Signature) *MintNFT

func (*MintNFT) Descriptor deprecated

func (*MintNFT) Descriptor() ([]byte, []int)

Deprecated: Use MintNFT.ProtoReflect.Descriptor instead.

func (*MintNFT) GetCandyMachine

func (x *MintNFT) GetCandyMachine() string

func (*MintNFT) GetCandyMachineCreator

func (x *MintNFT) GetCandyMachineCreator() string

func (*MintNFT) GetClock

func (x *MintNFT) GetClock() string

func (*MintNFT) GetCreatorBump

func (x *MintNFT) GetCreatorBump() uint32

func (*MintNFT) GetId

func (x *MintNFT) GetId() []byte

func (*MintNFT) GetInstructionSysvarAccount

func (x *MintNFT) GetInstructionSysvarAccount() string

func (*MintNFT) GetMasterEdition

func (x *MintNFT) GetMasterEdition() string

func (*MintNFT) GetMetadata

func (x *MintNFT) GetMetadata() string

func (*MintNFT) GetMint

func (x *MintNFT) GetMint() string

func (*MintNFT) GetMintAuthority

func (x *MintNFT) GetMintAuthority() string

func (*MintNFT) GetPayer

func (x *MintNFT) GetPayer() string

func (*MintNFT) GetRecentBlockhashes

func (x *MintNFT) GetRecentBlockhashes() string

func (*MintNFT) GetRent

func (x *MintNFT) GetRent() string

func (*MintNFT) GetSystemProgram

func (x *MintNFT) GetSystemProgram() string

func (*MintNFT) GetTokenMetadataProgram

func (x *MintNFT) GetTokenMetadataProgram() string

func (*MintNFT) GetTokenProgram

func (x *MintNFT) GetTokenProgram() string

func (*MintNFT) GetTs

func (x *MintNFT) GetTs() *timestamppb.Timestamp

func (*MintNFT) GetTxSignature

func (x *MintNFT) GetTxSignature() string

func (*MintNFT) GetUpdateAuthority

func (x *MintNFT) GetUpdateAuthority() string

func (*MintNFT) GetWallet

func (x *MintNFT) GetWallet() string

func (*MintNFT) ProtoMessage

func (*MintNFT) ProtoMessage()

func (*MintNFT) ProtoReflect

func (x *MintNFT) ProtoReflect() protoreflect.Message

func (*MintNFT) Reset

func (x *MintNFT) Reset()

func (*MintNFT) String

func (x *MintNFT) String() string

type UpdateAuthority

type UpdateAuthority struct {
	Ts           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // we use the transaction's BlockTime here `GetTransactionResult.BlockTime`
	Id           []byte                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // hash of the event
	TxSignature  string                 `protobuf:"bytes,3,opt,name=txSignature,proto3" json:"txSignature,omitempty"`
	NewAuthority string                 `protobuf:"bytes,4,opt,name=newAuthority,proto3" json:"newAuthority,omitempty"`
	CandyMachine string                 `protobuf:"bytes,5,opt,name=candyMachine,proto3" json:"candyMachine,omitempty"`
	Authority    string                 `protobuf:"bytes,6,opt,name=authority,proto3" json:"authority,omitempty"`
	Wallet       string                 `protobuf:"bytes,7,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// contains filtered or unexported fields
}

func DecodeUpdateAuthority

func DecodeUpdateAuthority(impl *candymachinev2.UpdateAuthority, txResult *rpc.GetTransactionResult, signature solana.Signature) *UpdateAuthority

func (*UpdateAuthority) Descriptor deprecated

func (*UpdateAuthority) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAuthority.ProtoReflect.Descriptor instead.

func (*UpdateAuthority) GetAuthority

func (x *UpdateAuthority) GetAuthority() string

func (*UpdateAuthority) GetCandyMachine

func (x *UpdateAuthority) GetCandyMachine() string

func (*UpdateAuthority) GetId

func (x *UpdateAuthority) GetId() []byte

func (*UpdateAuthority) GetNewAuthority

func (x *UpdateAuthority) GetNewAuthority() string

func (*UpdateAuthority) GetTs

func (*UpdateAuthority) GetTxSignature

func (x *UpdateAuthority) GetTxSignature() string

func (*UpdateAuthority) GetWallet

func (x *UpdateAuthority) GetWallet() string

func (*UpdateAuthority) ProtoMessage

func (*UpdateAuthority) ProtoMessage()

func (*UpdateAuthority) ProtoReflect

func (x *UpdateAuthority) ProtoReflect() protoreflect.Message

func (*UpdateAuthority) Reset

func (x *UpdateAuthority) Reset()

func (*UpdateAuthority) String

func (x *UpdateAuthority) String() string

type UpdateCandyMachine

type UpdateCandyMachine struct {
	Ts           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // we use the transaction's BlockTime here `GetTransactionResult.BlockTime`
	Id           []byte                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // hash of the event
	TxSignature  string                 `protobuf:"bytes,3,opt,name=txSignature,proto3" json:"txSignature,omitempty"`
	CandyMachine string                 `protobuf:"bytes,4,opt,name=candyMachine,proto3" json:"candyMachine,omitempty"`
	Authority    string                 `protobuf:"bytes,5,opt,name=authority,proto3" json:"authority,omitempty"`
	Wallet       string                 `protobuf:"bytes,6,opt,name=wallet,proto3" json:"wallet,omitempty"`
	// contains filtered or unexported fields
}

func DecodeUpdateCandyMachine

func DecodeUpdateCandyMachine(impl *candymachinev2.UpdateCandyMachine, txResult *rpc.GetTransactionResult, signature solana.Signature) *UpdateCandyMachine

func (*UpdateCandyMachine) Descriptor deprecated

func (*UpdateCandyMachine) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCandyMachine.ProtoReflect.Descriptor instead.

func (*UpdateCandyMachine) GetAuthority

func (x *UpdateCandyMachine) GetAuthority() string

func (*UpdateCandyMachine) GetCandyMachine

func (x *UpdateCandyMachine) GetCandyMachine() string

func (*UpdateCandyMachine) GetId

func (x *UpdateCandyMachine) GetId() []byte

func (*UpdateCandyMachine) GetTs

func (*UpdateCandyMachine) GetTxSignature

func (x *UpdateCandyMachine) GetTxSignature() string

func (*UpdateCandyMachine) GetWallet

func (x *UpdateCandyMachine) GetWallet() string

func (*UpdateCandyMachine) ProtoMessage

func (*UpdateCandyMachine) ProtoMessage()

func (*UpdateCandyMachine) ProtoReflect

func (x *UpdateCandyMachine) ProtoReflect() protoreflect.Message

func (*UpdateCandyMachine) Reset

func (x *UpdateCandyMachine) Reset()

func (*UpdateCandyMachine) String

func (x *UpdateCandyMachine) String() string

type WithdrawFunds

type WithdrawFunds struct {
	Ts           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // we use the transaction's BlockTime here `GetTransactionResult.BlockTime`
	Id           []byte                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // hash of the event
	TxSignature  string                 `protobuf:"bytes,3,opt,name=txSignature,proto3" json:"txSignature,omitempty"`
	CandyMachine string                 `protobuf:"bytes,4,opt,name=candyMachine,proto3" json:"candyMachine,omitempty"`
	Authority    string                 `protobuf:"bytes,5,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

func DecodeWithdrawFunds

func DecodeWithdrawFunds(impl *candymachinev2.WithdrawFunds, txResult *rpc.GetTransactionResult, signature solana.Signature) *WithdrawFunds

func (*WithdrawFunds) Descriptor deprecated

func (*WithdrawFunds) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawFunds.ProtoReflect.Descriptor instead.

func (*WithdrawFunds) GetAuthority

func (x *WithdrawFunds) GetAuthority() string

func (*WithdrawFunds) GetCandyMachine

func (x *WithdrawFunds) GetCandyMachine() string

func (*WithdrawFunds) GetId

func (x *WithdrawFunds) GetId() []byte

func (*WithdrawFunds) GetTs

func (x *WithdrawFunds) GetTs() *timestamppb.Timestamp

func (*WithdrawFunds) GetTxSignature

func (x *WithdrawFunds) GetTxSignature() string

func (*WithdrawFunds) ProtoMessage

func (*WithdrawFunds) ProtoMessage()

func (*WithdrawFunds) ProtoReflect

func (x *WithdrawFunds) ProtoReflect() protoreflect.Message

func (*WithdrawFunds) Reset

func (x *WithdrawFunds) Reset()

func (*WithdrawFunds) String

func (x *WithdrawFunds) String() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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