Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EventRevealed specifies that there is a Revealed Event on a PackNFT Contract located at the address
EventRevealed = "PackNFT.Revealed"
)
Variables ¶
View Source
var (
// This variable specifies that there is a Deposit Event on a TopShot Contract located at address 0x04
EventDeposit = "TopShot.Deposit"
)
View Source
var (
EventMomentDestroyed = "TopShot.MomentDestroyed"
)
View Source
var (
// This variable specifies that there is a MomentMinted Event on a TopShot Contract located at address 0x04
EventMomentMinted = "TopShot.MomentMinted"
)
View Source
var (
EventPlayAddedToSet = "TopShot.PlayAddedToSet"
)
View Source
var (
EventPlayCreated = "TopShot.PlayCreated"
)
View Source
var (
EventPlayRetiredFromSet = "TopShot.PlayRetiredFromSet"
)
View Source
var (
EventSetCreated = "TopShot.SetCreated"
)
View Source
var (
EventSetLocked = "TopShot.SetLocked"
)
View Source
var (
// This variable specifies that there is a Withdraw Event on a TopShot Contract located at address 0x04
EventWithdraw = "TopShot.Withdraw"
)
Functions ¶
func NewCadenceString ¶ added in v1.1.0
Types ¶
type DepositEvent ¶
func DecodeDepositEvent ¶
func DecodeDepositEvent(b []byte) (DepositEvent, error)
type MomentDestroyedEvent ¶ added in v1.0.3
type MomentDestroyedEvent interface {
Id() uint64
}
func DecodeMomentDestroyedEvent ¶ added in v1.0.3
func DecodeMomentDestroyedEvent(b []byte) (MomentDestroyedEvent, error)
type MomentMintedEvent ¶
type MomentMintedEvent interface { MomentId() uint64 PlayId() uint32 SetId() uint32 SerialNumber() uint32 }
func DecodeMomentMintedEvent ¶
func DecodeMomentMintedEvent(b []byte) (MomentMintedEvent, error)
type PlayAddedToSetEvent ¶
func DecodePlayAddedToSetEvent ¶
func DecodePlayAddedToSetEvent(b []byte) (PlayAddedToSetEvent, error)
type PlayCreatedEvent ¶
type PlayCreatedEvent interface { Id() uint32 MetaData() map[interface{}]interface{} }
func DecodePlayCreatedEvent ¶
func DecodePlayCreatedEvent(b []byte) (PlayCreatedEvent, error)
type RevealedEvent ¶ added in v1.0.5
func DecodeRevealedEvent ¶ added in v1.0.5
func DecodeRevealedEvent(b []byte) (RevealedEvent, error)
type SetCreatedEvent ¶
func DecodeSetCreatedEvent ¶
func DecodeSetCreatedEvent(b []byte) (SetCreatedEvent, error)
type SetLockedEvent ¶ added in v1.0.4
type SetLockedEvent interface {
SetID() uint32
}
func DecodeSetLockedEvent ¶ added in v1.0.4
func DecodeSetLockedEvent(b []byte) (SetLockedEvent, error)
type SetPlayRetiredEvent ¶ added in v1.0.4
func DecodeSetPlayRetiredEvent ¶ added in v1.0.4
func DecodeSetPlayRetiredEvent(b []byte) (SetPlayRetiredEvent, error)
type WithdrawEvent ¶
func DecodeWithdrawEvent ¶
func DecodeWithdrawEvent(b []byte) (WithdrawEvent, error)
Click to show internal directories.
Click to hide internal directories.