Documentation ¶
Index ¶
- Constants
- Variables
- func NewCadenceString(str string) cadence.String
- type DepositEvent
- type MomentDestroyedEvent
- type MomentLockedEvent
- type MomentMintedEvent
- type MomentUnlockedEvent
- type PlayAddedToSetEvent
- type PlayCreatedEvent
- type RevealedEvent
- type SetCreatedEvent
- type SetLockedEvent
- type SetPlayRetiredEvent
- type SubeditionAddedToMomentEvent
- type SubeditionCreatedEvent
- type WithdrawEvent
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 (
EventSubeditionAddedToMoment = "TopShot.SubeditionAddedToMoment"
)
View Source
var (
EventSubeditionCreated = "TopShot.SubeditionCreated"
)
View Source
var (
EventWithdraw = "TopShot.Withdraw"
)
View Source
var (
MomentLocked = "TopShotLocking.MomentLocked"
)
View Source
var (
MomentUnlocked = "TopShotLocking.MomentUnlocked"
)
Functions ¶
func NewCadenceString ¶
Types ¶
type DepositEvent ¶
func DecodeDepositEvent ¶
func DecodeDepositEvent(b []byte) (DepositEvent, error)
type MomentDestroyedEvent ¶
type MomentDestroyedEvent interface {
Id() uint64
}
func DecodeMomentDestroyedEvent ¶
func DecodeMomentDestroyedEvent(b []byte) (MomentDestroyedEvent, error)
type MomentLockedEvent ¶
func DecodeMomentLockedEvent ¶
func DecodeMomentLockedEvent(b []byte) (MomentLockedEvent, error)
type MomentMintedEvent ¶
type MomentMintedEvent interface { MomentId() uint64 PlayId() uint32 SetId() uint32 SerialNumber() uint32 SubeditionId() uint32 }
func DecodeMomentMintedEvent ¶
func DecodeMomentMintedEvent(b []byte) (MomentMintedEvent, error)
type MomentUnlockedEvent ¶
type MomentUnlockedEvent interface {
FlowID() uint64
}
func DecodeMomentUnlockedEvent ¶
func DecodeMomentUnlockedEvent(b []byte) (MomentUnlockedEvent, 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 ¶
func DecodeRevealedEvent ¶
func DecodeRevealedEvent(b []byte) (RevealedEvent, error)
type SetCreatedEvent ¶
func DecodeSetCreatedEvent ¶
func DecodeSetCreatedEvent(b []byte) (SetCreatedEvent, error)
type SetLockedEvent ¶
type SetLockedEvent interface {
SetID() uint32
}
func DecodeSetLockedEvent ¶
func DecodeSetLockedEvent(b []byte) (SetLockedEvent, error)
type SetPlayRetiredEvent ¶
func DecodeSetPlayRetiredEvent ¶
func DecodeSetPlayRetiredEvent(b []byte) (SetPlayRetiredEvent, error)
type SubeditionAddedToMomentEvent ¶
func DecodeSubeditionAddedToMomentEvent ¶
func DecodeSubeditionAddedToMomentEvent(b []byte) (SubeditionAddedToMomentEvent, error)
type SubeditionCreatedEvent ¶
type SubeditionCreatedEvent interface { SubeditionId() uint32 Name() string MetaData() map[string]interface{} }
func DecodeSubeditionCreatedEvent ¶
func DecodeSubeditionCreatedEvent(b []byte) (SubeditionCreatedEvent, error)
type WithdrawEvent ¶
func DecodeWithdrawEvent ¶
func DecodeWithdrawEvent(b []byte) (WithdrawEvent, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.