erc721

package
v0.0.0-...-0c64813 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DecentraLand
	DecentraLand_decodeTokenId = "decodeTokenId(uint256)"
	DecentraLand_encodeTokenId = "encodeTokenId(int256,int256)"
	DecentraLand_landData      = "landData(int256,int256)"
	DecentraLand_landOf        = "landOf(address)"
	DecentraLand_transferLand  = "transferLand(int256,int256,address)"
	DecentraLand_ownerOfLand   = "ownerOfLand(int256,int256)"

	// RedPacket
	RedPacket_newRedPacket           = "newRedPacket(uint256,address,address,uint256,uint256,uint256)"
	RedPacket_openMany               = "openMany(uint256,address[],uint256,bool)"
	RedPacket_setTaxCost             = "setTaxCost(uint256,uint256)"
	RedPacket_changeWallet           = "changeWallet(address)"
	RedPacket_changeMaxCount         = "changeMaxCount(uint256)"
	RedPacket_getRedPacketOpenDetail = "getRedPacketOpenDetail(uint256)"
	RedPacket_getRedPacketStatus     = "getRedPacketStatus(uint256)"
	RedPacket_sendEther              = "sendEther(uint256)"
	RedPacket_getTaxCost             = "getTaxCost()"
	RedPacket_maxCount               = "maxCount()"
	RedPacket_addAdmin               = "addAdmin(address)"
	RedPacket_delAdmin               = "delAdmin(address)"
	RedPacket_changeGatherValue      = "changeGatherValue(uint256)"
)

Variables

View Source
var (
	Method_ownerOf             = SignABI(ownerOf)
	Method_setApprovalForAll   = SignABI(setApprovalForAll)
	Method_getApprovedAddress  = SignABI(getApprovedAddress)
	Method_isApprovedForAll    = SignABI(isApprovedForAll)
	Method_takeOwnership       = SignABI(takeOwnership)
	Method_tokenOfOwnerByIndex = SignABI(tokenOfOwnerByIndex)
	Method_tokenMetadata       = SignABI(tokenMetadata)
	Method_tokensOf            = SignABI(tokensOf)
	Method_exists              = SignABI(exists)
	Method_setAssetHolder      = SignABI(setAssetHolder)
	Method_isAuthorized        = SignABI(isAuthorized)
	Method_description         = SignABI(description)
	Method_transferLand        = SignABI(DecentraLand_transferLand)
)

Method/Event id

Functions

func AddRedPacketAdmin

func AddRedPacketAdmin(addr string) ([]byte, error)

func ChangeMaxCount

func ChangeMaxCount(value string) ([]byte, error)

func ChangeRedPacketGatherValue

func ChangeRedPacketGatherValue(value string) ([]byte, error)

func ChangeWallet

func ChangeWallet(address string) ([]byte, error)

func DecodeTokenId

func DecodeTokenId(value string) string

func DelRedPacketAdmin

func DelRedPacketAdmin(addr string) ([]byte, error)

func Description

func Description() string

func EncodeTokenId

func EncodeTokenId(x, y string) string

func GetDescription

func GetDescription() string

func GetRedPacketOpenDetail

func GetRedPacketOpenDetail(value string) string

func GetRedPacketStatus

func GetRedPacketStatus(value string) string

func GetTokenMetadata

func GetTokenMetadata(value string) string

func IsExists

func IsExists(value string) string

func LandData

func LandData(x, y string) string

func LandOf

func LandOf(address string) string

func MaxCount

func MaxCount() string

func NewRedPacket

func NewRedPacket(tokenId, address, from string, value, count, cmd string) ([]byte, error)

func OpenMany

func OpenMany(tokeId string, addresses []string, cmd string, end bool) ([]byte, error)

func OwnerOf

func OwnerOf(value string) string

func OwnerOfLand

func OwnerOfLand(x, y string) string

func SendEther

func SendEther(value string) ([]byte, error)

func SetAssetHolder

func SetAssetHolder(to string, value string) ([]byte, error)

func SetTaxCost

func SetTaxCost(min, max string) ([]byte, error)

func SignABI

func SignABI(abi string) string

SignABI sign abi string

func TakeOwnership

func TakeOwnership(value string) ([]byte, error)

func TaxCost

func TaxCost() string

func TokenOfOwnerByIndex

func TokenOfOwnerByIndex(adress string, value string) string

func TokensOf

func TokensOf(address string) string

func TransferLand

func TransferLand(to string, x, y string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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