Documentation ¶
Index ¶
- Constants
- Variables
- func AddRedPacketAdmin(addr string) ([]byte, error)
- func ChangeMaxCount(value string) ([]byte, error)
- func ChangeRedPacketGatherValue(value string) ([]byte, error)
- func ChangeWallet(address string) ([]byte, error)
- func DecodeTokenId(value string) string
- func DelRedPacketAdmin(addr string) ([]byte, error)
- func Description() string
- func EncodeTokenId(x, y string) string
- func GetDescription() string
- func GetRedPacketOpenDetail(value string) string
- func GetRedPacketStatus(value string) string
- func GetTokenMetadata(value string) string
- func IsExists(value string) string
- func LandData(x, y string) string
- func LandOf(address string) string
- func MaxCount() string
- func NewRedPacket(tokenId, address, from string, value, count, cmd string) ([]byte, error)
- func OpenMany(tokeId string, addresses []string, cmd string, end bool) ([]byte, error)
- func OwnerOf(value string) string
- func OwnerOfLand(x, y string) string
- func SendEther(value string) ([]byte, error)
- func SetAssetHolder(to string, value string) ([]byte, error)
- func SetTaxCost(min, max string) ([]byte, error)
- func SignABI(abi string) string
- func TakeOwnership(value string) ([]byte, error)
- func TaxCost() string
- func TokenOfOwnerByIndex(adress string, value string) string
- func TokensOf(address string) string
- func TransferLand(to string, x, y string) ([]byte, error)
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 ChangeMaxCount ¶
func ChangeWallet ¶
func DecodeTokenId ¶
func DelRedPacketAdmin ¶
func Description ¶
func Description() string
func EncodeTokenId ¶
func GetDescription ¶
func GetDescription() string
func GetRedPacketOpenDetail ¶
func GetRedPacketStatus ¶
func GetTokenMetadata ¶
func NewRedPacket ¶
func OwnerOfLand ¶
func SetTaxCost ¶
func TakeOwnership ¶
func TokenOfOwnerByIndex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.