transactions

package
v0.0.0-...-501b615 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BurnRacingTimeNFT

func BurnRacingTimeNFT(nftId uint64) *flow.TransactionResult

func CreateAddress

func CreateAddress(seed string, sigAlgo crypto.SignatureAlgorithm, hashAlgo crypto.HashAlgorithm) (accountAddr string, privateKey string)

func DeployContract

func DeployContract() *flow.TransactionResult

func MintNFT

func MintNFT(nft *NFTInfo) *flow.TransactionResult

func SetupAccount

func SetupAccount() *flow.TransactionResult

func TransferRacingTimeNFT

func TransferRacingTimeNFT(toAddress string, nftId uint64) *flow.TransactionResult

TransferRacingTimeNFT This transaction transfers a RacingTime NFT from one account to another.

func UpdateContract

func UpdateContract() *flow.TransactionResult

Types

type NFTInfo

type NFTInfo struct {
	RewardID     uint32
	TypeID       uint32
	SerialNumber uint32
	Ipfs         string
}

Jump to

Keyboard shortcuts

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