abi

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MerchantMangerABI = MerchantMangerMetaData.ABI

MerchantMangerABI is the input ABI used to generate the binding from. Deprecated: Use MerchantMangerMetaData.ABI instead.

View Source
var MerchantMangerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"initialOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_fccAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_usdtTokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_NFTManagerAddr\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"FccTokenAddr\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIERC20\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"UsdtTokenAddr\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIERC20\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"activityAdd\",\"inputs\":[{\"name\":\"_businessName\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_activityContent\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_latitudeLongitude\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_activityDeadLine\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_totalDropAmts\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_dropType\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"_dropNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minDropAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_maxDropAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tokenContractAddr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"_activityId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"activityDropedToAccount\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"activityFinish\",\"inputs\":[{\"name\":\"_activityId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"activityInfoArrs\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"activityId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"businessAccount\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"businessName\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"activityContent\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"latitudeLongitude\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"activityCreateTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"activityDeadLine\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"dropType\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"dropNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"minDropAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"maxDropAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokenContractAddr\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"activityInfoChangedIdx\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"activityInfoExtArrs\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"activityId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"alreadyDropAmts\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"alreadyDropNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"businessMinedAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"businessMinedWithdrawedAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"activityStatus\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"drop\",\"inputs\":[{\"name\":\"_activityId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_userAccount\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_dropAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"dropInfoArrs\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"activityId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"userAccount\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"dropTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"dropAmt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getCurrentMinePercent\",\"inputs\":[],\"outputs\":[{\"name\":\"currentMinePercent\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"iNFTManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractINFTManager\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"minePercent\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"minedAmt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"totalMineAmt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"addresspayable\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawUToken\",\"inputs\":[{\"name\":\"_tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"ActivityAdd\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_activityId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"_totalDropAmts\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_businessName\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_activityContent\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_latitudeLongitude\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_activityDeadLine\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_dropType\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"},{\"name\":\"_dropNumber\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_minDropAmt\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_maxDropAmt\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_tokenContractAddr\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ActivityFinish\",\"inputs\":[{\"name\":\"_activityId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"_tokenContractAddr\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"_returnAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_minedAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"AddMineAmt\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_addMineAmt\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Drop\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_activityId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"_dropAmt\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Received\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SetMinePercent\",\"inputs\":[{\"name\":\"minePercent\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SetValidTime\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_time\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawUToken\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_tokenAddr\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Wthdraw\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AddressEmptyCode\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"FailedCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientBalance\",\"inputs\":[{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"needed\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SafeERC20FailedOperation\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]}]",
}

MerchantMangerMetaData contains all meta data concerning the MerchantManger contract.

View Source
var NFTManagerABI = NFTManagerMetaData.ABI

NFTManagerABI is the input ABI used to generate the binding from. Deprecated: Use NFTManagerMetaData.ABI instead.

View Source
var NFTManagerMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"initialOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_fccAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_usdtAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_redemptionPoolAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"FccTokenAddr\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIERC20\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"UsdtTokenAddr\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIERC20\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"basicMineAmt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"createNFT\",\"inputs\":[{\"name\":\"_businessName\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_description\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_imgUrl\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_businessAddress\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_webSite\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_social\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_type\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"_tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getApproved\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getMerchantNTFDeadline\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getUTokenBalance\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getUserNTFDeadline\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isApprovedForAll\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"merchantNTFDeadline\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"minedAmt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nftTypeMap\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ownerOf\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proMineAmt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"redemptionPoolAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"safeTransferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"safeTransferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setApprovalForAll\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setUriPrefix\",\"inputs\":[{\"name\":\"_uriPrefix\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setValues\",\"inputs\":[{\"name\":\"_merchantValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_userValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tokenURI\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalMineAmt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"uriPrefix\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"userNTFDeadline\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"addresspayable\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawUToken\",\"inputs\":[{\"name\":\"_tokenAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"_ret\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ApprovalForAll\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"CreateNFT\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_tokenId\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_businessName\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_description\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_imgUrl\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_businessAddress\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_webSite\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_social\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"_value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_deadline\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_type\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Received\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SetValidTime\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_time\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SetValues\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_merchantValue\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"_userValue\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UriPrefixSet\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"urlPrefix\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawUToken\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_tokenAddr\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Wthdraw\",\"inputs\":[{\"name\":\"who\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AddressEmptyCode\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721IncorrectOwner\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InsufficientApproval\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidApprover\",\"inputs\":[{\"name\":\"approver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidOperator\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidReceiver\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721InvalidSender\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC721NonexistentToken\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"FailedCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientBalance\",\"inputs\":[{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"needed\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SafeERC20FailedOperation\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]}]",
}

NFTManagerMetaData contains all meta data concerning the NFTManager contract.

Functions

This section is empty.

Types

type MerchantManger

type MerchantManger struct {
	MerchantMangerCaller     // Read-only binding to the contract
	MerchantMangerTransactor // Write-only binding to the contract
	MerchantMangerFilterer   // Log filterer for contract events
}

MerchantManger is an auto generated Go binding around an Ethereum contract.

func NewMerchantManger

func NewMerchantManger(address common.Address, backend bind.ContractBackend) (*MerchantManger, error)

NewMerchantManger creates a new instance of MerchantManger, bound to a specific deployed contract.

type MerchantMangerActivityAdd

type MerchantMangerActivityAdd struct {
	Who               common.Address
	ActivityId        *big.Int
	TotalDropAmts     *big.Int
	BusinessName      string
	ActivityContent   string
	LatitudeLongitude string
	ActivityDeadLine  *big.Int
	DropType          uint8
	DropNumber        *big.Int
	MinDropAmt        *big.Int
	MaxDropAmt        *big.Int
	TokenContractAddr common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

MerchantMangerActivityAdd represents a ActivityAdd event raised by the MerchantManger contract.

type MerchantMangerActivityAddIterator

type MerchantMangerActivityAddIterator struct {
	Event *MerchantMangerActivityAdd // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerActivityAddIterator is returned from FilterActivityAdd and is used to iterate over the raw logs and unpacked data for ActivityAdd events raised by the MerchantManger contract.

func (*MerchantMangerActivityAddIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerActivityAddIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerActivityAddIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerActivityFinish

type MerchantMangerActivityFinish struct {
	ActivityId        *big.Int
	TokenContractAddr common.Address
	ReturnAmount      *big.Int
	MinedAmount       *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

MerchantMangerActivityFinish represents a ActivityFinish event raised by the MerchantManger contract.

type MerchantMangerActivityFinishIterator

type MerchantMangerActivityFinishIterator struct {
	Event *MerchantMangerActivityFinish // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerActivityFinishIterator is returned from FilterActivityFinish and is used to iterate over the raw logs and unpacked data for ActivityFinish events raised by the MerchantManger contract.

func (*MerchantMangerActivityFinishIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerActivityFinishIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerActivityFinishIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerAddMineAmt

type MerchantMangerAddMineAmt struct {
	Who        common.Address
	AddMineAmt *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MerchantMangerAddMineAmt represents a AddMineAmt event raised by the MerchantManger contract.

type MerchantMangerAddMineAmtIterator

type MerchantMangerAddMineAmtIterator struct {
	Event *MerchantMangerAddMineAmt // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerAddMineAmtIterator is returned from FilterAddMineAmt and is used to iterate over the raw logs and unpacked data for AddMineAmt events raised by the MerchantManger contract.

func (*MerchantMangerAddMineAmtIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerAddMineAmtIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerAddMineAmtIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerCaller

type MerchantMangerCaller struct {
	// contains filtered or unexported fields
}

MerchantMangerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMerchantMangerCaller

func NewMerchantMangerCaller(address common.Address, caller bind.ContractCaller) (*MerchantMangerCaller, error)

NewMerchantMangerCaller creates a new read-only instance of MerchantManger, bound to a specific deployed contract.

func (*MerchantMangerCaller) ActivityDropedToAccount

func (_MerchantManger *MerchantMangerCaller) ActivityDropedToAccount(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)

ActivityDropedToAccount is a free data retrieval call binding the contract method 0x85a455f5.

Solidity: function activityDropedToAccount(uint256 , address ) view returns(bool)

func (*MerchantMangerCaller) ActivityInfoArrs

func (_MerchantManger *MerchantMangerCaller) ActivityInfoArrs(opts *bind.CallOpts, arg0 *big.Int) (struct {
	ActivityId         *big.Int
	BusinessAccount    common.Address
	BusinessName       string
	ActivityContent    string
	LatitudeLongitude  string
	ActivityCreateTime *big.Int
	ActivityDeadLine   *big.Int
	DropType           uint8
	DropNumber         *big.Int
	MinDropAmt         *big.Int
	MaxDropAmt         *big.Int
	TokenContractAddr  common.Address
}, error)

ActivityInfoArrs is a free data retrieval call binding the contract method 0xa0752825.

Solidity: function activityInfoArrs(uint256 ) view returns(uint256 activityId, address businessAccount, string businessName, string activityContent, string latitudeLongitude, uint256 activityCreateTime, uint256 activityDeadLine, uint8 dropType, uint256 dropNumber, uint256 minDropAmt, uint256 maxDropAmt, address tokenContractAddr)

func (*MerchantMangerCaller) ActivityInfoChangedIdx

func (_MerchantManger *MerchantMangerCaller) ActivityInfoChangedIdx(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

ActivityInfoChangedIdx is a free data retrieval call binding the contract method 0xfefee0e1.

Solidity: function activityInfoChangedIdx(uint256 ) view returns(uint256)

func (*MerchantMangerCaller) ActivityInfoExtArrs

func (_MerchantManger *MerchantMangerCaller) ActivityInfoExtArrs(opts *bind.CallOpts, arg0 *big.Int) (struct {
	ActivityId                 *big.Int
	AlreadyDropAmts            *big.Int
	AlreadyDropNumber          *big.Int
	BusinessMinedAmt           *big.Int
	BusinessMinedWithdrawedAmt *big.Int
	ActivityStatus             uint8
}, error)

ActivityInfoExtArrs is a free data retrieval call binding the contract method 0x4d43959d.

Solidity: function activityInfoExtArrs(uint256 ) view returns(uint256 activityId, uint256 alreadyDropAmts, uint256 alreadyDropNumber, uint256 businessMinedAmt, uint256 businessMinedWithdrawedAmt, uint8 activityStatus)

func (*MerchantMangerCaller) DropInfoArrs

func (_MerchantManger *MerchantMangerCaller) DropInfoArrs(opts *bind.CallOpts, arg0 *big.Int) (struct {
	ActivityId  *big.Int
	UserAccount common.Address
	DropTime    *big.Int
	DropAmt     *big.Int
}, error)

DropInfoArrs is a free data retrieval call binding the contract method 0x2a916c20.

Solidity: function dropInfoArrs(uint256 ) view returns(uint256 activityId, address userAccount, uint256 dropTime, uint256 dropAmt)

func (*MerchantMangerCaller) FccTokenAddr

func (_MerchantManger *MerchantMangerCaller) FccTokenAddr(opts *bind.CallOpts) (common.Address, error)

FccTokenAddr is a free data retrieval call binding the contract method 0x4ba1332f.

Solidity: function FccTokenAddr() view returns(address)

func (*MerchantMangerCaller) GetCurrentMinePercent

func (_MerchantManger *MerchantMangerCaller) GetCurrentMinePercent(opts *bind.CallOpts) (uint8, error)

GetCurrentMinePercent is a free data retrieval call binding the contract method 0x86b89a40.

Solidity: function getCurrentMinePercent() view returns(uint8 currentMinePercent)

func (*MerchantMangerCaller) INFTManager

func (_MerchantManger *MerchantMangerCaller) INFTManager(opts *bind.CallOpts) (common.Address, error)

INFTManager is a free data retrieval call binding the contract method 0xbbe68511.

Solidity: function iNFTManager() view returns(address)

func (*MerchantMangerCaller) MinePercent

func (_MerchantManger *MerchantMangerCaller) MinePercent(opts *bind.CallOpts) (uint8, error)

MinePercent is a free data retrieval call binding the contract method 0xa6d93915.

Solidity: function minePercent() view returns(uint8)

func (*MerchantMangerCaller) MinedAmt

func (_MerchantManger *MerchantMangerCaller) MinedAmt(opts *bind.CallOpts) (*big.Int, error)

MinedAmt is a free data retrieval call binding the contract method 0xf7859c28.

Solidity: function minedAmt() view returns(uint256)

func (*MerchantMangerCaller) Owner

func (_MerchantManger *MerchantMangerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MerchantMangerCaller) TotalMineAmt

func (_MerchantManger *MerchantMangerCaller) TotalMineAmt(opts *bind.CallOpts) (*big.Int, error)

TotalMineAmt is a free data retrieval call binding the contract method 0x88e40a5a.

Solidity: function totalMineAmt() view returns(uint256)

func (*MerchantMangerCaller) UsdtTokenAddr

func (_MerchantManger *MerchantMangerCaller) UsdtTokenAddr(opts *bind.CallOpts) (common.Address, error)

UsdtTokenAddr is a free data retrieval call binding the contract method 0xb6d18c8c.

Solidity: function UsdtTokenAddr() view returns(address)

type MerchantMangerCallerRaw

type MerchantMangerCallerRaw struct {
	Contract *MerchantMangerCaller // Generic read-only contract binding to access the raw methods on
}

MerchantMangerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MerchantMangerCallerRaw) Call

func (_MerchantManger *MerchantMangerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type MerchantMangerCallerSession

type MerchantMangerCallerSession struct {
	Contract *MerchantMangerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

MerchantMangerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MerchantMangerCallerSession) ActivityDropedToAccount

func (_MerchantManger *MerchantMangerCallerSession) ActivityDropedToAccount(arg0 *big.Int, arg1 common.Address) (bool, error)

ActivityDropedToAccount is a free data retrieval call binding the contract method 0x85a455f5.

Solidity: function activityDropedToAccount(uint256 , address ) view returns(bool)

func (*MerchantMangerCallerSession) ActivityInfoArrs

func (_MerchantManger *MerchantMangerCallerSession) ActivityInfoArrs(arg0 *big.Int) (struct {
	ActivityId         *big.Int
	BusinessAccount    common.Address
	BusinessName       string
	ActivityContent    string
	LatitudeLongitude  string
	ActivityCreateTime *big.Int
	ActivityDeadLine   *big.Int
	DropType           uint8
	DropNumber         *big.Int
	MinDropAmt         *big.Int
	MaxDropAmt         *big.Int
	TokenContractAddr  common.Address
}, error)

ActivityInfoArrs is a free data retrieval call binding the contract method 0xa0752825.

Solidity: function activityInfoArrs(uint256 ) view returns(uint256 activityId, address businessAccount, string businessName, string activityContent, string latitudeLongitude, uint256 activityCreateTime, uint256 activityDeadLine, uint8 dropType, uint256 dropNumber, uint256 minDropAmt, uint256 maxDropAmt, address tokenContractAddr)

func (*MerchantMangerCallerSession) ActivityInfoChangedIdx

func (_MerchantManger *MerchantMangerCallerSession) ActivityInfoChangedIdx(arg0 *big.Int) (*big.Int, error)

ActivityInfoChangedIdx is a free data retrieval call binding the contract method 0xfefee0e1.

Solidity: function activityInfoChangedIdx(uint256 ) view returns(uint256)

func (*MerchantMangerCallerSession) ActivityInfoExtArrs

func (_MerchantManger *MerchantMangerCallerSession) ActivityInfoExtArrs(arg0 *big.Int) (struct {
	ActivityId                 *big.Int
	AlreadyDropAmts            *big.Int
	AlreadyDropNumber          *big.Int
	BusinessMinedAmt           *big.Int
	BusinessMinedWithdrawedAmt *big.Int
	ActivityStatus             uint8
}, error)

ActivityInfoExtArrs is a free data retrieval call binding the contract method 0x4d43959d.

Solidity: function activityInfoExtArrs(uint256 ) view returns(uint256 activityId, uint256 alreadyDropAmts, uint256 alreadyDropNumber, uint256 businessMinedAmt, uint256 businessMinedWithdrawedAmt, uint8 activityStatus)

func (*MerchantMangerCallerSession) DropInfoArrs

func (_MerchantManger *MerchantMangerCallerSession) DropInfoArrs(arg0 *big.Int) (struct {
	ActivityId  *big.Int
	UserAccount common.Address
	DropTime    *big.Int
	DropAmt     *big.Int
}, error)

DropInfoArrs is a free data retrieval call binding the contract method 0x2a916c20.

Solidity: function dropInfoArrs(uint256 ) view returns(uint256 activityId, address userAccount, uint256 dropTime, uint256 dropAmt)

func (*MerchantMangerCallerSession) FccTokenAddr

func (_MerchantManger *MerchantMangerCallerSession) FccTokenAddr() (common.Address, error)

FccTokenAddr is a free data retrieval call binding the contract method 0x4ba1332f.

Solidity: function FccTokenAddr() view returns(address)

func (*MerchantMangerCallerSession) GetCurrentMinePercent

func (_MerchantManger *MerchantMangerCallerSession) GetCurrentMinePercent() (uint8, error)

GetCurrentMinePercent is a free data retrieval call binding the contract method 0x86b89a40.

Solidity: function getCurrentMinePercent() view returns(uint8 currentMinePercent)

func (*MerchantMangerCallerSession) INFTManager

func (_MerchantManger *MerchantMangerCallerSession) INFTManager() (common.Address, error)

INFTManager is a free data retrieval call binding the contract method 0xbbe68511.

Solidity: function iNFTManager() view returns(address)

func (*MerchantMangerCallerSession) MinePercent

func (_MerchantManger *MerchantMangerCallerSession) MinePercent() (uint8, error)

MinePercent is a free data retrieval call binding the contract method 0xa6d93915.

Solidity: function minePercent() view returns(uint8)

func (*MerchantMangerCallerSession) MinedAmt

func (_MerchantManger *MerchantMangerCallerSession) MinedAmt() (*big.Int, error)

MinedAmt is a free data retrieval call binding the contract method 0xf7859c28.

Solidity: function minedAmt() view returns(uint256)

func (*MerchantMangerCallerSession) Owner

func (_MerchantManger *MerchantMangerCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MerchantMangerCallerSession) TotalMineAmt

func (_MerchantManger *MerchantMangerCallerSession) TotalMineAmt() (*big.Int, error)

TotalMineAmt is a free data retrieval call binding the contract method 0x88e40a5a.

Solidity: function totalMineAmt() view returns(uint256)

func (*MerchantMangerCallerSession) UsdtTokenAddr

func (_MerchantManger *MerchantMangerCallerSession) UsdtTokenAddr() (common.Address, error)

UsdtTokenAddr is a free data retrieval call binding the contract method 0xb6d18c8c.

Solidity: function UsdtTokenAddr() view returns(address)

type MerchantMangerDrop

type MerchantMangerDrop struct {
	Who        common.Address
	ActivityId *big.Int
	DropAmt    *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MerchantMangerDrop represents a Drop event raised by the MerchantManger contract.

type MerchantMangerDropIterator

type MerchantMangerDropIterator struct {
	Event *MerchantMangerDrop // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerDropIterator is returned from FilterDrop and is used to iterate over the raw logs and unpacked data for Drop events raised by the MerchantManger contract.

func (*MerchantMangerDropIterator) Close

func (it *MerchantMangerDropIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerDropIterator) Error

func (it *MerchantMangerDropIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerDropIterator) Next

func (it *MerchantMangerDropIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerFilterer

type MerchantMangerFilterer struct {
	// contains filtered or unexported fields
}

MerchantMangerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMerchantMangerFilterer

func NewMerchantMangerFilterer(address common.Address, filterer bind.ContractFilterer) (*MerchantMangerFilterer, error)

NewMerchantMangerFilterer creates a new log filterer instance of MerchantManger, bound to a specific deployed contract.

func (*MerchantMangerFilterer) FilterActivityAdd

func (_MerchantManger *MerchantMangerFilterer) FilterActivityAdd(opts *bind.FilterOpts, who []common.Address, _activityId []*big.Int) (*MerchantMangerActivityAddIterator, error)

FilterActivityAdd is a free log retrieval operation binding the contract event 0xcc07277f6a9ae6659df5a850b317ba47d741264062fc7654d69b9fe11f4fabef.

Solidity: event ActivityAdd(address indexed who, uint256 indexed _activityId, uint256 _totalDropAmts, string _businessName, string _activityContent, string _latitudeLongitude, uint256 _activityDeadLine, uint8 _dropType, uint256 _dropNumber, uint256 _minDropAmt, uint256 _maxDropAmt, address _tokenContractAddr)

func (*MerchantMangerFilterer) FilterActivityFinish

func (_MerchantManger *MerchantMangerFilterer) FilterActivityFinish(opts *bind.FilterOpts, _activityId []*big.Int) (*MerchantMangerActivityFinishIterator, error)

FilterActivityFinish is a free log retrieval operation binding the contract event 0x32b4fb78ab9b6fcf0181a2a3906e5473b095a3e71595ccc87bd039bbacc6acaf.

Solidity: event ActivityFinish(uint256 indexed _activityId, address _tokenContractAddr, uint256 _returnAmount, uint256 _minedAmount)

func (*MerchantMangerFilterer) FilterAddMineAmt

func (_MerchantManger *MerchantMangerFilterer) FilterAddMineAmt(opts *bind.FilterOpts, who []common.Address) (*MerchantMangerAddMineAmtIterator, error)

FilterAddMineAmt is a free log retrieval operation binding the contract event 0x36a36f6d06ab1b164d3fbb904d2e7657b13fc5444f9ac18bc9a7af5aa6868376.

Solidity: event AddMineAmt(address indexed who, uint256 _addMineAmt)

func (*MerchantMangerFilterer) FilterDrop

func (_MerchantManger *MerchantMangerFilterer) FilterDrop(opts *bind.FilterOpts, who []common.Address, _activityId []*big.Int) (*MerchantMangerDropIterator, error)

FilterDrop is a free log retrieval operation binding the contract event 0xd034d7fdd827eb4f41b668e02da1342cb8eced53d850fef72e1b2cd2c8387bac.

Solidity: event Drop(address indexed who, uint256 indexed _activityId, uint256 _dropAmt)

func (*MerchantMangerFilterer) FilterOwnershipTransferred

func (_MerchantManger *MerchantMangerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MerchantMangerOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MerchantMangerFilterer) FilterReceived

func (_MerchantManger *MerchantMangerFilterer) FilterReceived(opts *bind.FilterOpts, who []common.Address) (*MerchantMangerReceivedIterator, error)

FilterReceived is a free log retrieval operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed who, uint256 _value)

func (*MerchantMangerFilterer) FilterSetMinePercent

func (_MerchantManger *MerchantMangerFilterer) FilterSetMinePercent(opts *bind.FilterOpts) (*MerchantMangerSetMinePercentIterator, error)

FilterSetMinePercent is a free log retrieval operation binding the contract event 0x3b2d1b3b0c360549745cd56590950679dbfca066aea0899c4a5a15cca3adfdf8.

Solidity: event SetMinePercent(uint8 minePercent)

func (*MerchantMangerFilterer) FilterSetValidTime

func (_MerchantManger *MerchantMangerFilterer) FilterSetValidTime(opts *bind.FilterOpts, who []common.Address) (*MerchantMangerSetValidTimeIterator, error)

FilterSetValidTime is a free log retrieval operation binding the contract event 0x8651cd625889c15ab8587456aba8cc25b781c5fa977a1811f04967c2acad02b8.

Solidity: event SetValidTime(address indexed who, uint256 _time)

func (*MerchantMangerFilterer) FilterWithdrawUToken

func (_MerchantManger *MerchantMangerFilterer) FilterWithdrawUToken(opts *bind.FilterOpts, who []common.Address, _tokenAddr []common.Address, _account []common.Address) (*MerchantMangerWithdrawUTokenIterator, error)

FilterWithdrawUToken is a free log retrieval operation binding the contract event 0xf314360eddb258cb001ab9dd025a30d7be229f08113f1e5617a7f82a00e0e78f.

Solidity: event WithdrawUToken(address indexed who, address indexed _tokenAddr, address indexed _account, uint256 _value)

func (*MerchantMangerFilterer) FilterWthdraw

func (_MerchantManger *MerchantMangerFilterer) FilterWthdraw(opts *bind.FilterOpts, who []common.Address) (*MerchantMangerWthdrawIterator, error)

FilterWthdraw is a free log retrieval operation binding the contract event 0x622ece8fe6c9adcdeb3aacfcf426facb5e94734cb9eb4cca7b66595853b87340.

Solidity: event Wthdraw(address indexed who, uint256 _amount)

func (*MerchantMangerFilterer) ParseActivityAdd

func (_MerchantManger *MerchantMangerFilterer) ParseActivityAdd(log types.Log) (*MerchantMangerActivityAdd, error)

ParseActivityAdd is a log parse operation binding the contract event 0xcc07277f6a9ae6659df5a850b317ba47d741264062fc7654d69b9fe11f4fabef.

Solidity: event ActivityAdd(address indexed who, uint256 indexed _activityId, uint256 _totalDropAmts, string _businessName, string _activityContent, string _latitudeLongitude, uint256 _activityDeadLine, uint8 _dropType, uint256 _dropNumber, uint256 _minDropAmt, uint256 _maxDropAmt, address _tokenContractAddr)

func (*MerchantMangerFilterer) ParseActivityFinish

func (_MerchantManger *MerchantMangerFilterer) ParseActivityFinish(log types.Log) (*MerchantMangerActivityFinish, error)

ParseActivityFinish is a log parse operation binding the contract event 0x32b4fb78ab9b6fcf0181a2a3906e5473b095a3e71595ccc87bd039bbacc6acaf.

Solidity: event ActivityFinish(uint256 indexed _activityId, address _tokenContractAddr, uint256 _returnAmount, uint256 _minedAmount)

func (*MerchantMangerFilterer) ParseAddMineAmt

func (_MerchantManger *MerchantMangerFilterer) ParseAddMineAmt(log types.Log) (*MerchantMangerAddMineAmt, error)

ParseAddMineAmt is a log parse operation binding the contract event 0x36a36f6d06ab1b164d3fbb904d2e7657b13fc5444f9ac18bc9a7af5aa6868376.

Solidity: event AddMineAmt(address indexed who, uint256 _addMineAmt)

func (*MerchantMangerFilterer) ParseDrop

func (_MerchantManger *MerchantMangerFilterer) ParseDrop(log types.Log) (*MerchantMangerDrop, error)

ParseDrop is a log parse operation binding the contract event 0xd034d7fdd827eb4f41b668e02da1342cb8eced53d850fef72e1b2cd2c8387bac.

Solidity: event Drop(address indexed who, uint256 indexed _activityId, uint256 _dropAmt)

func (*MerchantMangerFilterer) ParseOwnershipTransferred

func (_MerchantManger *MerchantMangerFilterer) ParseOwnershipTransferred(log types.Log) (*MerchantMangerOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MerchantMangerFilterer) ParseReceived

func (_MerchantManger *MerchantMangerFilterer) ParseReceived(log types.Log) (*MerchantMangerReceived, error)

ParseReceived is a log parse operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed who, uint256 _value)

func (*MerchantMangerFilterer) ParseSetMinePercent

func (_MerchantManger *MerchantMangerFilterer) ParseSetMinePercent(log types.Log) (*MerchantMangerSetMinePercent, error)

ParseSetMinePercent is a log parse operation binding the contract event 0x3b2d1b3b0c360549745cd56590950679dbfca066aea0899c4a5a15cca3adfdf8.

Solidity: event SetMinePercent(uint8 minePercent)

func (*MerchantMangerFilterer) ParseSetValidTime

func (_MerchantManger *MerchantMangerFilterer) ParseSetValidTime(log types.Log) (*MerchantMangerSetValidTime, error)

ParseSetValidTime is a log parse operation binding the contract event 0x8651cd625889c15ab8587456aba8cc25b781c5fa977a1811f04967c2acad02b8.

Solidity: event SetValidTime(address indexed who, uint256 _time)

func (*MerchantMangerFilterer) ParseWithdrawUToken

func (_MerchantManger *MerchantMangerFilterer) ParseWithdrawUToken(log types.Log) (*MerchantMangerWithdrawUToken, error)

ParseWithdrawUToken is a log parse operation binding the contract event 0xf314360eddb258cb001ab9dd025a30d7be229f08113f1e5617a7f82a00e0e78f.

Solidity: event WithdrawUToken(address indexed who, address indexed _tokenAddr, address indexed _account, uint256 _value)

func (*MerchantMangerFilterer) ParseWthdraw

func (_MerchantManger *MerchantMangerFilterer) ParseWthdraw(log types.Log) (*MerchantMangerWthdraw, error)

ParseWthdraw is a log parse operation binding the contract event 0x622ece8fe6c9adcdeb3aacfcf426facb5e94734cb9eb4cca7b66595853b87340.

Solidity: event Wthdraw(address indexed who, uint256 _amount)

func (*MerchantMangerFilterer) WatchActivityAdd

func (_MerchantManger *MerchantMangerFilterer) WatchActivityAdd(opts *bind.WatchOpts, sink chan<- *MerchantMangerActivityAdd, who []common.Address, _activityId []*big.Int) (event.Subscription, error)

WatchActivityAdd is a free log subscription operation binding the contract event 0xcc07277f6a9ae6659df5a850b317ba47d741264062fc7654d69b9fe11f4fabef.

Solidity: event ActivityAdd(address indexed who, uint256 indexed _activityId, uint256 _totalDropAmts, string _businessName, string _activityContent, string _latitudeLongitude, uint256 _activityDeadLine, uint8 _dropType, uint256 _dropNumber, uint256 _minDropAmt, uint256 _maxDropAmt, address _tokenContractAddr)

func (*MerchantMangerFilterer) WatchActivityFinish

func (_MerchantManger *MerchantMangerFilterer) WatchActivityFinish(opts *bind.WatchOpts, sink chan<- *MerchantMangerActivityFinish, _activityId []*big.Int) (event.Subscription, error)

WatchActivityFinish is a free log subscription operation binding the contract event 0x32b4fb78ab9b6fcf0181a2a3906e5473b095a3e71595ccc87bd039bbacc6acaf.

Solidity: event ActivityFinish(uint256 indexed _activityId, address _tokenContractAddr, uint256 _returnAmount, uint256 _minedAmount)

func (*MerchantMangerFilterer) WatchAddMineAmt

func (_MerchantManger *MerchantMangerFilterer) WatchAddMineAmt(opts *bind.WatchOpts, sink chan<- *MerchantMangerAddMineAmt, who []common.Address) (event.Subscription, error)

WatchAddMineAmt is a free log subscription operation binding the contract event 0x36a36f6d06ab1b164d3fbb904d2e7657b13fc5444f9ac18bc9a7af5aa6868376.

Solidity: event AddMineAmt(address indexed who, uint256 _addMineAmt)

func (*MerchantMangerFilterer) WatchDrop

func (_MerchantManger *MerchantMangerFilterer) WatchDrop(opts *bind.WatchOpts, sink chan<- *MerchantMangerDrop, who []common.Address, _activityId []*big.Int) (event.Subscription, error)

WatchDrop is a free log subscription operation binding the contract event 0xd034d7fdd827eb4f41b668e02da1342cb8eced53d850fef72e1b2cd2c8387bac.

Solidity: event Drop(address indexed who, uint256 indexed _activityId, uint256 _dropAmt)

func (*MerchantMangerFilterer) WatchOwnershipTransferred

func (_MerchantManger *MerchantMangerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MerchantMangerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*MerchantMangerFilterer) WatchReceived

func (_MerchantManger *MerchantMangerFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *MerchantMangerReceived, who []common.Address) (event.Subscription, error)

WatchReceived is a free log subscription operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed who, uint256 _value)

func (*MerchantMangerFilterer) WatchSetMinePercent

func (_MerchantManger *MerchantMangerFilterer) WatchSetMinePercent(opts *bind.WatchOpts, sink chan<- *MerchantMangerSetMinePercent) (event.Subscription, error)

WatchSetMinePercent is a free log subscription operation binding the contract event 0x3b2d1b3b0c360549745cd56590950679dbfca066aea0899c4a5a15cca3adfdf8.

Solidity: event SetMinePercent(uint8 minePercent)

func (*MerchantMangerFilterer) WatchSetValidTime

func (_MerchantManger *MerchantMangerFilterer) WatchSetValidTime(opts *bind.WatchOpts, sink chan<- *MerchantMangerSetValidTime, who []common.Address) (event.Subscription, error)

WatchSetValidTime is a free log subscription operation binding the contract event 0x8651cd625889c15ab8587456aba8cc25b781c5fa977a1811f04967c2acad02b8.

Solidity: event SetValidTime(address indexed who, uint256 _time)

func (*MerchantMangerFilterer) WatchWithdrawUToken

func (_MerchantManger *MerchantMangerFilterer) WatchWithdrawUToken(opts *bind.WatchOpts, sink chan<- *MerchantMangerWithdrawUToken, who []common.Address, _tokenAddr []common.Address, _account []common.Address) (event.Subscription, error)

WatchWithdrawUToken is a free log subscription operation binding the contract event 0xf314360eddb258cb001ab9dd025a30d7be229f08113f1e5617a7f82a00e0e78f.

Solidity: event WithdrawUToken(address indexed who, address indexed _tokenAddr, address indexed _account, uint256 _value)

func (*MerchantMangerFilterer) WatchWthdraw

func (_MerchantManger *MerchantMangerFilterer) WatchWthdraw(opts *bind.WatchOpts, sink chan<- *MerchantMangerWthdraw, who []common.Address) (event.Subscription, error)

WatchWthdraw is a free log subscription operation binding the contract event 0x622ece8fe6c9adcdeb3aacfcf426facb5e94734cb9eb4cca7b66595853b87340.

Solidity: event Wthdraw(address indexed who, uint256 _amount)

type MerchantMangerOwnershipTransferred

type MerchantMangerOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

MerchantMangerOwnershipTransferred represents a OwnershipTransferred event raised by the MerchantManger contract.

type MerchantMangerOwnershipTransferredIterator

type MerchantMangerOwnershipTransferredIterator struct {
	Event *MerchantMangerOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MerchantManger contract.

func (*MerchantMangerOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerRaw

type MerchantMangerRaw struct {
	Contract *MerchantManger // Generic contract binding to access the raw methods on
}

MerchantMangerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MerchantMangerRaw) Call

func (_MerchantManger *MerchantMangerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*MerchantMangerRaw) Transact

func (_MerchantManger *MerchantMangerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MerchantMangerRaw) Transfer

func (_MerchantManger *MerchantMangerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MerchantMangerReceived

type MerchantMangerReceived struct {
	Who   common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MerchantMangerReceived represents a Received event raised by the MerchantManger contract.

type MerchantMangerReceivedIterator

type MerchantMangerReceivedIterator struct {
	Event *MerchantMangerReceived // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerReceivedIterator is returned from FilterReceived and is used to iterate over the raw logs and unpacked data for Received events raised by the MerchantManger contract.

func (*MerchantMangerReceivedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerReceivedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerSession

type MerchantMangerSession struct {
	Contract     *MerchantManger   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

MerchantMangerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MerchantMangerSession) ActivityAdd

func (_MerchantManger *MerchantMangerSession) ActivityAdd(_businessName string, _activityContent string, _latitudeLongitude string, _activityDeadLine *big.Int, _totalDropAmts *big.Int, _dropType uint8, _dropNumber *big.Int, _minDropAmt *big.Int, _maxDropAmt *big.Int, _tokenContractAddr common.Address) (*types.Transaction, error)

ActivityAdd is a paid mutator transaction binding the contract method 0x43b22efc.

Solidity: function activityAdd(string _businessName, string _activityContent, string _latitudeLongitude, uint256 _activityDeadLine, uint256 _totalDropAmts, uint8 _dropType, uint256 _dropNumber, uint256 _minDropAmt, uint256 _maxDropAmt, address _tokenContractAddr) returns(bool _ret, uint256 _activityId)

func (*MerchantMangerSession) ActivityDropedToAccount

func (_MerchantManger *MerchantMangerSession) ActivityDropedToAccount(arg0 *big.Int, arg1 common.Address) (bool, error)

ActivityDropedToAccount is a free data retrieval call binding the contract method 0x85a455f5.

Solidity: function activityDropedToAccount(uint256 , address ) view returns(bool)

func (*MerchantMangerSession) ActivityFinish

func (_MerchantManger *MerchantMangerSession) ActivityFinish(_activityId *big.Int) (*types.Transaction, error)

ActivityFinish is a paid mutator transaction binding the contract method 0xcbd596c4.

Solidity: function activityFinish(uint256 _activityId) returns(bool _ret)

func (*MerchantMangerSession) ActivityInfoArrs

func (_MerchantManger *MerchantMangerSession) ActivityInfoArrs(arg0 *big.Int) (struct {
	ActivityId         *big.Int
	BusinessAccount    common.Address
	BusinessName       string
	ActivityContent    string
	LatitudeLongitude  string
	ActivityCreateTime *big.Int
	ActivityDeadLine   *big.Int
	DropType           uint8
	DropNumber         *big.Int
	MinDropAmt         *big.Int
	MaxDropAmt         *big.Int
	TokenContractAddr  common.Address
}, error)

ActivityInfoArrs is a free data retrieval call binding the contract method 0xa0752825.

Solidity: function activityInfoArrs(uint256 ) view returns(uint256 activityId, address businessAccount, string businessName, string activityContent, string latitudeLongitude, uint256 activityCreateTime, uint256 activityDeadLine, uint8 dropType, uint256 dropNumber, uint256 minDropAmt, uint256 maxDropAmt, address tokenContractAddr)

func (*MerchantMangerSession) ActivityInfoChangedIdx

func (_MerchantManger *MerchantMangerSession) ActivityInfoChangedIdx(arg0 *big.Int) (*big.Int, error)

ActivityInfoChangedIdx is a free data retrieval call binding the contract method 0xfefee0e1.

Solidity: function activityInfoChangedIdx(uint256 ) view returns(uint256)

func (*MerchantMangerSession) ActivityInfoExtArrs

func (_MerchantManger *MerchantMangerSession) ActivityInfoExtArrs(arg0 *big.Int) (struct {
	ActivityId                 *big.Int
	AlreadyDropAmts            *big.Int
	AlreadyDropNumber          *big.Int
	BusinessMinedAmt           *big.Int
	BusinessMinedWithdrawedAmt *big.Int
	ActivityStatus             uint8
}, error)

ActivityInfoExtArrs is a free data retrieval call binding the contract method 0x4d43959d.

Solidity: function activityInfoExtArrs(uint256 ) view returns(uint256 activityId, uint256 alreadyDropAmts, uint256 alreadyDropNumber, uint256 businessMinedAmt, uint256 businessMinedWithdrawedAmt, uint8 activityStatus)

func (*MerchantMangerSession) Drop

func (_MerchantManger *MerchantMangerSession) Drop(_activityId *big.Int, _userAccount common.Address, _dropAmt *big.Int) (*types.Transaction, error)

Drop is a paid mutator transaction binding the contract method 0xc8c1d78d.

Solidity: function drop(uint256 _activityId, address _userAccount, uint256 _dropAmt) returns(bool _ret)

func (*MerchantMangerSession) DropInfoArrs

func (_MerchantManger *MerchantMangerSession) DropInfoArrs(arg0 *big.Int) (struct {
	ActivityId  *big.Int
	UserAccount common.Address
	DropTime    *big.Int
	DropAmt     *big.Int
}, error)

DropInfoArrs is a free data retrieval call binding the contract method 0x2a916c20.

Solidity: function dropInfoArrs(uint256 ) view returns(uint256 activityId, address userAccount, uint256 dropTime, uint256 dropAmt)

func (*MerchantMangerSession) FccTokenAddr

func (_MerchantManger *MerchantMangerSession) FccTokenAddr() (common.Address, error)

FccTokenAddr is a free data retrieval call binding the contract method 0x4ba1332f.

Solidity: function FccTokenAddr() view returns(address)

func (*MerchantMangerSession) GetCurrentMinePercent

func (_MerchantManger *MerchantMangerSession) GetCurrentMinePercent() (uint8, error)

GetCurrentMinePercent is a free data retrieval call binding the contract method 0x86b89a40.

Solidity: function getCurrentMinePercent() view returns(uint8 currentMinePercent)

func (*MerchantMangerSession) INFTManager

func (_MerchantManger *MerchantMangerSession) INFTManager() (common.Address, error)

INFTManager is a free data retrieval call binding the contract method 0xbbe68511.

Solidity: function iNFTManager() view returns(address)

func (*MerchantMangerSession) MinePercent

func (_MerchantManger *MerchantMangerSession) MinePercent() (uint8, error)

MinePercent is a free data retrieval call binding the contract method 0xa6d93915.

Solidity: function minePercent() view returns(uint8)

func (*MerchantMangerSession) MinedAmt

func (_MerchantManger *MerchantMangerSession) MinedAmt() (*big.Int, error)

MinedAmt is a free data retrieval call binding the contract method 0xf7859c28.

Solidity: function minedAmt() view returns(uint256)

func (*MerchantMangerSession) Owner

func (_MerchantManger *MerchantMangerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*MerchantMangerSession) Receive

func (_MerchantManger *MerchantMangerSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MerchantMangerSession) RenounceOwnership

func (_MerchantManger *MerchantMangerSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MerchantMangerSession) TotalMineAmt

func (_MerchantManger *MerchantMangerSession) TotalMineAmt() (*big.Int, error)

TotalMineAmt is a free data retrieval call binding the contract method 0x88e40a5a.

Solidity: function totalMineAmt() view returns(uint256)

func (*MerchantMangerSession) TransferOwnership

func (_MerchantManger *MerchantMangerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*MerchantMangerSession) UsdtTokenAddr

func (_MerchantManger *MerchantMangerSession) UsdtTokenAddr() (common.Address, error)

UsdtTokenAddr is a free data retrieval call binding the contract method 0xb6d18c8c.

Solidity: function UsdtTokenAddr() view returns(address)

func (*MerchantMangerSession) Withdraw

func (_MerchantManger *MerchantMangerSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _recipient, uint256 _amount) returns(bool _ret)

func (*MerchantMangerSession) WithdrawUToken

func (_MerchantManger *MerchantMangerSession) WithdrawUToken(_tokenAddr common.Address, _account common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawUToken is a paid mutator transaction binding the contract method 0xde3f2b22.

Solidity: function withdrawUToken(address _tokenAddr, address _account, uint256 _value) returns(bool _ret)

type MerchantMangerSetMinePercent

type MerchantMangerSetMinePercent struct {
	MinePercent uint8
	Raw         types.Log // Blockchain specific contextual infos
}

MerchantMangerSetMinePercent represents a SetMinePercent event raised by the MerchantManger contract.

type MerchantMangerSetMinePercentIterator

type MerchantMangerSetMinePercentIterator struct {
	Event *MerchantMangerSetMinePercent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerSetMinePercentIterator is returned from FilterSetMinePercent and is used to iterate over the raw logs and unpacked data for SetMinePercent events raised by the MerchantManger contract.

func (*MerchantMangerSetMinePercentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerSetMinePercentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerSetMinePercentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerSetValidTime

type MerchantMangerSetValidTime struct {
	Who  common.Address
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

MerchantMangerSetValidTime represents a SetValidTime event raised by the MerchantManger contract.

type MerchantMangerSetValidTimeIterator

type MerchantMangerSetValidTimeIterator struct {
	Event *MerchantMangerSetValidTime // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerSetValidTimeIterator is returned from FilterSetValidTime and is used to iterate over the raw logs and unpacked data for SetValidTime events raised by the MerchantManger contract.

func (*MerchantMangerSetValidTimeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerSetValidTimeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerSetValidTimeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerTransactor

type MerchantMangerTransactor struct {
	// contains filtered or unexported fields
}

MerchantMangerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMerchantMangerTransactor

func NewMerchantMangerTransactor(address common.Address, transactor bind.ContractTransactor) (*MerchantMangerTransactor, error)

NewMerchantMangerTransactor creates a new write-only instance of MerchantManger, bound to a specific deployed contract.

func (*MerchantMangerTransactor) ActivityAdd

func (_MerchantManger *MerchantMangerTransactor) ActivityAdd(opts *bind.TransactOpts, _businessName string, _activityContent string, _latitudeLongitude string, _activityDeadLine *big.Int, _totalDropAmts *big.Int, _dropType uint8, _dropNumber *big.Int, _minDropAmt *big.Int, _maxDropAmt *big.Int, _tokenContractAddr common.Address) (*types.Transaction, error)

ActivityAdd is a paid mutator transaction binding the contract method 0x43b22efc.

Solidity: function activityAdd(string _businessName, string _activityContent, string _latitudeLongitude, uint256 _activityDeadLine, uint256 _totalDropAmts, uint8 _dropType, uint256 _dropNumber, uint256 _minDropAmt, uint256 _maxDropAmt, address _tokenContractAddr) returns(bool _ret, uint256 _activityId)

func (*MerchantMangerTransactor) ActivityFinish

func (_MerchantManger *MerchantMangerTransactor) ActivityFinish(opts *bind.TransactOpts, _activityId *big.Int) (*types.Transaction, error)

ActivityFinish is a paid mutator transaction binding the contract method 0xcbd596c4.

Solidity: function activityFinish(uint256 _activityId) returns(bool _ret)

func (*MerchantMangerTransactor) Drop

func (_MerchantManger *MerchantMangerTransactor) Drop(opts *bind.TransactOpts, _activityId *big.Int, _userAccount common.Address, _dropAmt *big.Int) (*types.Transaction, error)

Drop is a paid mutator transaction binding the contract method 0xc8c1d78d.

Solidity: function drop(uint256 _activityId, address _userAccount, uint256 _dropAmt) returns(bool _ret)

func (*MerchantMangerTransactor) Receive

func (_MerchantManger *MerchantMangerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MerchantMangerTransactor) RenounceOwnership

func (_MerchantManger *MerchantMangerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MerchantMangerTransactor) TransferOwnership

func (_MerchantManger *MerchantMangerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*MerchantMangerTransactor) Withdraw

func (_MerchantManger *MerchantMangerTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _recipient, uint256 _amount) returns(bool _ret)

func (*MerchantMangerTransactor) WithdrawUToken

func (_MerchantManger *MerchantMangerTransactor) WithdrawUToken(opts *bind.TransactOpts, _tokenAddr common.Address, _account common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawUToken is a paid mutator transaction binding the contract method 0xde3f2b22.

Solidity: function withdrawUToken(address _tokenAddr, address _account, uint256 _value) returns(bool _ret)

type MerchantMangerTransactorRaw

type MerchantMangerTransactorRaw struct {
	Contract *MerchantMangerTransactor // Generic write-only contract binding to access the raw methods on
}

MerchantMangerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MerchantMangerTransactorRaw) Transact

func (_MerchantManger *MerchantMangerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MerchantMangerTransactorRaw) Transfer

func (_MerchantManger *MerchantMangerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MerchantMangerTransactorSession

type MerchantMangerTransactorSession struct {
	Contract     *MerchantMangerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

MerchantMangerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MerchantMangerTransactorSession) ActivityAdd

func (_MerchantManger *MerchantMangerTransactorSession) ActivityAdd(_businessName string, _activityContent string, _latitudeLongitude string, _activityDeadLine *big.Int, _totalDropAmts *big.Int, _dropType uint8, _dropNumber *big.Int, _minDropAmt *big.Int, _maxDropAmt *big.Int, _tokenContractAddr common.Address) (*types.Transaction, error)

ActivityAdd is a paid mutator transaction binding the contract method 0x43b22efc.

Solidity: function activityAdd(string _businessName, string _activityContent, string _latitudeLongitude, uint256 _activityDeadLine, uint256 _totalDropAmts, uint8 _dropType, uint256 _dropNumber, uint256 _minDropAmt, uint256 _maxDropAmt, address _tokenContractAddr) returns(bool _ret, uint256 _activityId)

func (*MerchantMangerTransactorSession) ActivityFinish

func (_MerchantManger *MerchantMangerTransactorSession) ActivityFinish(_activityId *big.Int) (*types.Transaction, error)

ActivityFinish is a paid mutator transaction binding the contract method 0xcbd596c4.

Solidity: function activityFinish(uint256 _activityId) returns(bool _ret)

func (*MerchantMangerTransactorSession) Drop

func (_MerchantManger *MerchantMangerTransactorSession) Drop(_activityId *big.Int, _userAccount common.Address, _dropAmt *big.Int) (*types.Transaction, error)

Drop is a paid mutator transaction binding the contract method 0xc8c1d78d.

Solidity: function drop(uint256 _activityId, address _userAccount, uint256 _dropAmt) returns(bool _ret)

func (*MerchantMangerTransactorSession) Receive

func (_MerchantManger *MerchantMangerTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*MerchantMangerTransactorSession) RenounceOwnership

func (_MerchantManger *MerchantMangerTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MerchantMangerTransactorSession) TransferOwnership

func (_MerchantManger *MerchantMangerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*MerchantMangerTransactorSession) Withdraw

func (_MerchantManger *MerchantMangerTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _recipient, uint256 _amount) returns(bool _ret)

func (*MerchantMangerTransactorSession) WithdrawUToken

func (_MerchantManger *MerchantMangerTransactorSession) WithdrawUToken(_tokenAddr common.Address, _account common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawUToken is a paid mutator transaction binding the contract method 0xde3f2b22.

Solidity: function withdrawUToken(address _tokenAddr, address _account, uint256 _value) returns(bool _ret)

type MerchantMangerWithdrawUToken

type MerchantMangerWithdrawUToken struct {
	Who       common.Address
	TokenAddr common.Address
	Account   common.Address
	Value     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

MerchantMangerWithdrawUToken represents a WithdrawUToken event raised by the MerchantManger contract.

type MerchantMangerWithdrawUTokenIterator

type MerchantMangerWithdrawUTokenIterator struct {
	Event *MerchantMangerWithdrawUToken // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerWithdrawUTokenIterator is returned from FilterWithdrawUToken and is used to iterate over the raw logs and unpacked data for WithdrawUToken events raised by the MerchantManger contract.

func (*MerchantMangerWithdrawUTokenIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerWithdrawUTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerWithdrawUTokenIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MerchantMangerWthdraw

type MerchantMangerWthdraw struct {
	Who    common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MerchantMangerWthdraw represents a Wthdraw event raised by the MerchantManger contract.

type MerchantMangerWthdrawIterator

type MerchantMangerWthdrawIterator struct {
	Event *MerchantMangerWthdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MerchantMangerWthdrawIterator is returned from FilterWthdraw and is used to iterate over the raw logs and unpacked data for Wthdraw events raised by the MerchantManger contract.

func (*MerchantMangerWthdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MerchantMangerWthdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MerchantMangerWthdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManager

type NFTManager struct {
	NFTManagerCaller     // Read-only binding to the contract
	NFTManagerTransactor // Write-only binding to the contract
	NFTManagerFilterer   // Log filterer for contract events
}

NFTManager is an auto generated Go binding around an Ethereum contract.

func NewNFTManager

func NewNFTManager(address common.Address, backend bind.ContractBackend) (*NFTManager, error)

NewNFTManager creates a new instance of NFTManager, bound to a specific deployed contract.

type NFTManagerApproval

type NFTManagerApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

NFTManagerApproval represents a Approval event raised by the NFTManager contract.

type NFTManagerApprovalForAll

type NFTManagerApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

NFTManagerApprovalForAll represents a ApprovalForAll event raised by the NFTManager contract.

type NFTManagerApprovalForAllIterator

type NFTManagerApprovalForAllIterator struct {
	Event *NFTManagerApprovalForAll // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the NFTManager contract.

func (*NFTManagerApprovalForAllIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerApprovalIterator

type NFTManagerApprovalIterator struct {
	Event *NFTManagerApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the NFTManager contract.

func (*NFTManagerApprovalIterator) Close

func (it *NFTManagerApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerApprovalIterator) Error

func (it *NFTManagerApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerApprovalIterator) Next

func (it *NFTManagerApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerCaller

type NFTManagerCaller struct {
	// contains filtered or unexported fields
}

NFTManagerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewNFTManagerCaller

func NewNFTManagerCaller(address common.Address, caller bind.ContractCaller) (*NFTManagerCaller, error)

NewNFTManagerCaller creates a new read-only instance of NFTManager, bound to a specific deployed contract.

func (*NFTManagerCaller) BalanceOf

func (_NFTManager *NFTManagerCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*NFTManagerCaller) BasicMineAmt

func (_NFTManager *NFTManagerCaller) BasicMineAmt(opts *bind.CallOpts) (*big.Int, error)

BasicMineAmt is a free data retrieval call binding the contract method 0x94399817.

Solidity: function basicMineAmt() view returns(uint256)

func (*NFTManagerCaller) FccTokenAddr

func (_NFTManager *NFTManagerCaller) FccTokenAddr(opts *bind.CallOpts) (common.Address, error)

FccTokenAddr is a free data retrieval call binding the contract method 0x4ba1332f.

Solidity: function FccTokenAddr() view returns(address)

func (*NFTManagerCaller) GetApproved

func (_NFTManager *NFTManagerCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*NFTManagerCaller) GetMerchantNTFDeadline

func (_NFTManager *NFTManagerCaller) GetMerchantNTFDeadline(opts *bind.CallOpts, _account common.Address) (*big.Int, error)

GetMerchantNTFDeadline is a free data retrieval call binding the contract method 0x39795078.

Solidity: function getMerchantNTFDeadline(address _account) view returns(uint256)

func (*NFTManagerCaller) GetUTokenBalance

func (_NFTManager *NFTManagerCaller) GetUTokenBalance(opts *bind.CallOpts) (*big.Int, error)

GetUTokenBalance is a free data retrieval call binding the contract method 0x96e6c5ee.

Solidity: function getUTokenBalance() view returns(uint256)

func (*NFTManagerCaller) GetUserNTFDeadline

func (_NFTManager *NFTManagerCaller) GetUserNTFDeadline(opts *bind.CallOpts, _account common.Address) (*big.Int, error)

GetUserNTFDeadline is a free data retrieval call binding the contract method 0x8dce8b13.

Solidity: function getUserNTFDeadline(address _account) view returns(uint256)

func (*NFTManagerCaller) IsApprovedForAll

func (_NFTManager *NFTManagerCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*NFTManagerCaller) MerchantNTFDeadline

func (_NFTManager *NFTManagerCaller) MerchantNTFDeadline(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MerchantNTFDeadline is a free data retrieval call binding the contract method 0xc498d1b0.

Solidity: function merchantNTFDeadline(address ) view returns(uint256)

func (*NFTManagerCaller) MinedAmt

func (_NFTManager *NFTManagerCaller) MinedAmt(opts *bind.CallOpts) (*big.Int, error)

MinedAmt is a free data retrieval call binding the contract method 0xf7859c28.

Solidity: function minedAmt() view returns(uint256)

func (*NFTManagerCaller) Name

func (_NFTManager *NFTManagerCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*NFTManagerCaller) NftTypeMap

func (_NFTManager *NFTManagerCaller) NftTypeMap(opts *bind.CallOpts, arg0 *big.Int) (uint8, error)

NftTypeMap is a free data retrieval call binding the contract method 0x78b0fbbd.

Solidity: function nftTypeMap(uint256 ) view returns(uint8)

func (*NFTManagerCaller) Owner

func (_NFTManager *NFTManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*NFTManagerCaller) OwnerOf

func (_NFTManager *NFTManagerCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*NFTManagerCaller) ProMineAmt

func (_NFTManager *NFTManagerCaller) ProMineAmt(opts *bind.CallOpts) (*big.Int, error)

ProMineAmt is a free data retrieval call binding the contract method 0x80c7fb97.

Solidity: function proMineAmt() view returns(uint256)

func (*NFTManagerCaller) RedemptionPoolAddress

func (_NFTManager *NFTManagerCaller) RedemptionPoolAddress(opts *bind.CallOpts) (common.Address, error)

RedemptionPoolAddress is a free data retrieval call binding the contract method 0xb6648e47.

Solidity: function redemptionPoolAddress() view returns(address)

func (*NFTManagerCaller) SupportsInterface

func (_NFTManager *NFTManagerCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*NFTManagerCaller) Symbol

func (_NFTManager *NFTManagerCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*NFTManagerCaller) TokenURI

func (_NFTManager *NFTManagerCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*NFTManagerCaller) TotalMineAmt

func (_NFTManager *NFTManagerCaller) TotalMineAmt(opts *bind.CallOpts) (*big.Int, error)

TotalMineAmt is a free data retrieval call binding the contract method 0x88e40a5a.

Solidity: function totalMineAmt() view returns(uint256)

func (*NFTManagerCaller) UriPrefix

func (_NFTManager *NFTManagerCaller) UriPrefix(opts *bind.CallOpts) (string, error)

UriPrefix is a free data retrieval call binding the contract method 0x62b99ad4.

Solidity: function uriPrefix() view returns(string)

func (*NFTManagerCaller) UsdtTokenAddr

func (_NFTManager *NFTManagerCaller) UsdtTokenAddr(opts *bind.CallOpts) (common.Address, error)

UsdtTokenAddr is a free data retrieval call binding the contract method 0xb6d18c8c.

Solidity: function UsdtTokenAddr() view returns(address)

func (*NFTManagerCaller) UserNTFDeadline

func (_NFTManager *NFTManagerCaller) UserNTFDeadline(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserNTFDeadline is a free data retrieval call binding the contract method 0x121e3012.

Solidity: function userNTFDeadline(address ) view returns(uint256)

type NFTManagerCallerRaw

type NFTManagerCallerRaw struct {
	Contract *NFTManagerCaller // Generic read-only contract binding to access the raw methods on
}

NFTManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*NFTManagerCallerRaw) Call

func (_NFTManager *NFTManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type NFTManagerCallerSession

type NFTManagerCallerSession struct {
	Contract *NFTManagerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

NFTManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*NFTManagerCallerSession) BalanceOf

func (_NFTManager *NFTManagerCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*NFTManagerCallerSession) BasicMineAmt

func (_NFTManager *NFTManagerCallerSession) BasicMineAmt() (*big.Int, error)

BasicMineAmt is a free data retrieval call binding the contract method 0x94399817.

Solidity: function basicMineAmt() view returns(uint256)

func (*NFTManagerCallerSession) FccTokenAddr

func (_NFTManager *NFTManagerCallerSession) FccTokenAddr() (common.Address, error)

FccTokenAddr is a free data retrieval call binding the contract method 0x4ba1332f.

Solidity: function FccTokenAddr() view returns(address)

func (*NFTManagerCallerSession) GetApproved

func (_NFTManager *NFTManagerCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*NFTManagerCallerSession) GetMerchantNTFDeadline

func (_NFTManager *NFTManagerCallerSession) GetMerchantNTFDeadline(_account common.Address) (*big.Int, error)

GetMerchantNTFDeadline is a free data retrieval call binding the contract method 0x39795078.

Solidity: function getMerchantNTFDeadline(address _account) view returns(uint256)

func (*NFTManagerCallerSession) GetUTokenBalance

func (_NFTManager *NFTManagerCallerSession) GetUTokenBalance() (*big.Int, error)

GetUTokenBalance is a free data retrieval call binding the contract method 0x96e6c5ee.

Solidity: function getUTokenBalance() view returns(uint256)

func (*NFTManagerCallerSession) GetUserNTFDeadline

func (_NFTManager *NFTManagerCallerSession) GetUserNTFDeadline(_account common.Address) (*big.Int, error)

GetUserNTFDeadline is a free data retrieval call binding the contract method 0x8dce8b13.

Solidity: function getUserNTFDeadline(address _account) view returns(uint256)

func (*NFTManagerCallerSession) IsApprovedForAll

func (_NFTManager *NFTManagerCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*NFTManagerCallerSession) MerchantNTFDeadline

func (_NFTManager *NFTManagerCallerSession) MerchantNTFDeadline(arg0 common.Address) (*big.Int, error)

MerchantNTFDeadline is a free data retrieval call binding the contract method 0xc498d1b0.

Solidity: function merchantNTFDeadline(address ) view returns(uint256)

func (*NFTManagerCallerSession) MinedAmt

func (_NFTManager *NFTManagerCallerSession) MinedAmt() (*big.Int, error)

MinedAmt is a free data retrieval call binding the contract method 0xf7859c28.

Solidity: function minedAmt() view returns(uint256)

func (*NFTManagerCallerSession) Name

func (_NFTManager *NFTManagerCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*NFTManagerCallerSession) NftTypeMap

func (_NFTManager *NFTManagerCallerSession) NftTypeMap(arg0 *big.Int) (uint8, error)

NftTypeMap is a free data retrieval call binding the contract method 0x78b0fbbd.

Solidity: function nftTypeMap(uint256 ) view returns(uint8)

func (*NFTManagerCallerSession) Owner

func (_NFTManager *NFTManagerCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*NFTManagerCallerSession) OwnerOf

func (_NFTManager *NFTManagerCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*NFTManagerCallerSession) ProMineAmt

func (_NFTManager *NFTManagerCallerSession) ProMineAmt() (*big.Int, error)

ProMineAmt is a free data retrieval call binding the contract method 0x80c7fb97.

Solidity: function proMineAmt() view returns(uint256)

func (*NFTManagerCallerSession) RedemptionPoolAddress

func (_NFTManager *NFTManagerCallerSession) RedemptionPoolAddress() (common.Address, error)

RedemptionPoolAddress is a free data retrieval call binding the contract method 0xb6648e47.

Solidity: function redemptionPoolAddress() view returns(address)

func (*NFTManagerCallerSession) SupportsInterface

func (_NFTManager *NFTManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*NFTManagerCallerSession) Symbol

func (_NFTManager *NFTManagerCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*NFTManagerCallerSession) TokenURI

func (_NFTManager *NFTManagerCallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*NFTManagerCallerSession) TotalMineAmt

func (_NFTManager *NFTManagerCallerSession) TotalMineAmt() (*big.Int, error)

TotalMineAmt is a free data retrieval call binding the contract method 0x88e40a5a.

Solidity: function totalMineAmt() view returns(uint256)

func (*NFTManagerCallerSession) UriPrefix

func (_NFTManager *NFTManagerCallerSession) UriPrefix() (string, error)

UriPrefix is a free data retrieval call binding the contract method 0x62b99ad4.

Solidity: function uriPrefix() view returns(string)

func (*NFTManagerCallerSession) UsdtTokenAddr

func (_NFTManager *NFTManagerCallerSession) UsdtTokenAddr() (common.Address, error)

UsdtTokenAddr is a free data retrieval call binding the contract method 0xb6d18c8c.

Solidity: function UsdtTokenAddr() view returns(address)

func (*NFTManagerCallerSession) UserNTFDeadline

func (_NFTManager *NFTManagerCallerSession) UserNTFDeadline(arg0 common.Address) (*big.Int, error)

UserNTFDeadline is a free data retrieval call binding the contract method 0x121e3012.

Solidity: function userNTFDeadline(address ) view returns(uint256)

type NFTManagerCreateNFT

type NFTManagerCreateNFT struct {
	Who             common.Address
	TokenId         *big.Int
	BusinessName    string
	Description     string
	ImgUrl          string
	BusinessAddress string
	WebSite         string
	Social          string
	Value           *big.Int
	Deadline        *big.Int
	Type            uint8
	Raw             types.Log // Blockchain specific contextual infos
}

NFTManagerCreateNFT represents a CreateNFT event raised by the NFTManager contract.

type NFTManagerCreateNFTIterator

type NFTManagerCreateNFTIterator struct {
	Event *NFTManagerCreateNFT // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerCreateNFTIterator is returned from FilterCreateNFT and is used to iterate over the raw logs and unpacked data for CreateNFT events raised by the NFTManager contract.

func (*NFTManagerCreateNFTIterator) Close

func (it *NFTManagerCreateNFTIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerCreateNFTIterator) Error

func (it *NFTManagerCreateNFTIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerCreateNFTIterator) Next

func (it *NFTManagerCreateNFTIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerFilterer

type NFTManagerFilterer struct {
	// contains filtered or unexported fields
}

NFTManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewNFTManagerFilterer

func NewNFTManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*NFTManagerFilterer, error)

NewNFTManagerFilterer creates a new log filterer instance of NFTManager, bound to a specific deployed contract.

func (*NFTManagerFilterer) FilterApproval

func (_NFTManager *NFTManagerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*NFTManagerApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*NFTManagerFilterer) FilterApprovalForAll

func (_NFTManager *NFTManagerFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*NFTManagerApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*NFTManagerFilterer) FilterCreateNFT

func (_NFTManager *NFTManagerFilterer) FilterCreateNFT(opts *bind.FilterOpts, who []common.Address) (*NFTManagerCreateNFTIterator, error)

FilterCreateNFT is a free log retrieval operation binding the contract event 0x2f07f1d4b070b2c0047f7ddd468bfd61a682b1ad5553c708a1fa6023812e0888.

Solidity: event CreateNFT(address indexed who, uint256 _tokenId, string _businessName, string _description, string _imgUrl, string _businessAddress, string _webSite, string _social, uint256 _value, uint256 _deadline, uint8 _type)

func (*NFTManagerFilterer) FilterOwnershipTransferred

func (_NFTManager *NFTManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*NFTManagerOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*NFTManagerFilterer) FilterReceived

func (_NFTManager *NFTManagerFilterer) FilterReceived(opts *bind.FilterOpts, who []common.Address) (*NFTManagerReceivedIterator, error)

FilterReceived is a free log retrieval operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed who, uint256 _value)

func (*NFTManagerFilterer) FilterSetValidTime

func (_NFTManager *NFTManagerFilterer) FilterSetValidTime(opts *bind.FilterOpts, who []common.Address) (*NFTManagerSetValidTimeIterator, error)

FilterSetValidTime is a free log retrieval operation binding the contract event 0x8651cd625889c15ab8587456aba8cc25b781c5fa977a1811f04967c2acad02b8.

Solidity: event SetValidTime(address indexed who, uint256 _time)

func (*NFTManagerFilterer) FilterSetValues

func (_NFTManager *NFTManagerFilterer) FilterSetValues(opts *bind.FilterOpts, who []common.Address) (*NFTManagerSetValuesIterator, error)

FilterSetValues is a free log retrieval operation binding the contract event 0x606bc42962399672a7f4089c08b1af4d207c5ff123b0c5e3e35aa03decb13fb8.

Solidity: event SetValues(address indexed who, uint256 _merchantValue, uint256 _userValue)

func (*NFTManagerFilterer) FilterTransfer

func (_NFTManager *NFTManagerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*NFTManagerTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*NFTManagerFilterer) FilterUriPrefixSet

func (_NFTManager *NFTManagerFilterer) FilterUriPrefixSet(opts *bind.FilterOpts, who []common.Address) (*NFTManagerUriPrefixSetIterator, error)

FilterUriPrefixSet is a free log retrieval operation binding the contract event 0x8aed2472df7eda2618a927a1e73256d01e814a5b03b0fff4931cc2774e39b0c6.

Solidity: event UriPrefixSet(address indexed who, string urlPrefix)

func (*NFTManagerFilterer) FilterWithdrawUToken

func (_NFTManager *NFTManagerFilterer) FilterWithdrawUToken(opts *bind.FilterOpts, who []common.Address, _tokenAddr []common.Address, _account []common.Address) (*NFTManagerWithdrawUTokenIterator, error)

FilterWithdrawUToken is a free log retrieval operation binding the contract event 0xf314360eddb258cb001ab9dd025a30d7be229f08113f1e5617a7f82a00e0e78f.

Solidity: event WithdrawUToken(address indexed who, address indexed _tokenAddr, address indexed _account, uint256 _value)

func (*NFTManagerFilterer) FilterWthdraw

func (_NFTManager *NFTManagerFilterer) FilterWthdraw(opts *bind.FilterOpts, who []common.Address) (*NFTManagerWthdrawIterator, error)

FilterWthdraw is a free log retrieval operation binding the contract event 0x622ece8fe6c9adcdeb3aacfcf426facb5e94734cb9eb4cca7b66595853b87340.

Solidity: event Wthdraw(address indexed who, uint256 _amount)

func (*NFTManagerFilterer) ParseApproval

func (_NFTManager *NFTManagerFilterer) ParseApproval(log types.Log) (*NFTManagerApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*NFTManagerFilterer) ParseApprovalForAll

func (_NFTManager *NFTManagerFilterer) ParseApprovalForAll(log types.Log) (*NFTManagerApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*NFTManagerFilterer) ParseCreateNFT

func (_NFTManager *NFTManagerFilterer) ParseCreateNFT(log types.Log) (*NFTManagerCreateNFT, error)

ParseCreateNFT is a log parse operation binding the contract event 0x2f07f1d4b070b2c0047f7ddd468bfd61a682b1ad5553c708a1fa6023812e0888.

Solidity: event CreateNFT(address indexed who, uint256 _tokenId, string _businessName, string _description, string _imgUrl, string _businessAddress, string _webSite, string _social, uint256 _value, uint256 _deadline, uint8 _type)

func (*NFTManagerFilterer) ParseOwnershipTransferred

func (_NFTManager *NFTManagerFilterer) ParseOwnershipTransferred(log types.Log) (*NFTManagerOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*NFTManagerFilterer) ParseReceived

func (_NFTManager *NFTManagerFilterer) ParseReceived(log types.Log) (*NFTManagerReceived, error)

ParseReceived is a log parse operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed who, uint256 _value)

func (*NFTManagerFilterer) ParseSetValidTime

func (_NFTManager *NFTManagerFilterer) ParseSetValidTime(log types.Log) (*NFTManagerSetValidTime, error)

ParseSetValidTime is a log parse operation binding the contract event 0x8651cd625889c15ab8587456aba8cc25b781c5fa977a1811f04967c2acad02b8.

Solidity: event SetValidTime(address indexed who, uint256 _time)

func (*NFTManagerFilterer) ParseSetValues

func (_NFTManager *NFTManagerFilterer) ParseSetValues(log types.Log) (*NFTManagerSetValues, error)

ParseSetValues is a log parse operation binding the contract event 0x606bc42962399672a7f4089c08b1af4d207c5ff123b0c5e3e35aa03decb13fb8.

Solidity: event SetValues(address indexed who, uint256 _merchantValue, uint256 _userValue)

func (*NFTManagerFilterer) ParseTransfer

func (_NFTManager *NFTManagerFilterer) ParseTransfer(log types.Log) (*NFTManagerTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*NFTManagerFilterer) ParseUriPrefixSet

func (_NFTManager *NFTManagerFilterer) ParseUriPrefixSet(log types.Log) (*NFTManagerUriPrefixSet, error)

ParseUriPrefixSet is a log parse operation binding the contract event 0x8aed2472df7eda2618a927a1e73256d01e814a5b03b0fff4931cc2774e39b0c6.

Solidity: event UriPrefixSet(address indexed who, string urlPrefix)

func (*NFTManagerFilterer) ParseWithdrawUToken

func (_NFTManager *NFTManagerFilterer) ParseWithdrawUToken(log types.Log) (*NFTManagerWithdrawUToken, error)

ParseWithdrawUToken is a log parse operation binding the contract event 0xf314360eddb258cb001ab9dd025a30d7be229f08113f1e5617a7f82a00e0e78f.

Solidity: event WithdrawUToken(address indexed who, address indexed _tokenAddr, address indexed _account, uint256 _value)

func (*NFTManagerFilterer) ParseWthdraw

func (_NFTManager *NFTManagerFilterer) ParseWthdraw(log types.Log) (*NFTManagerWthdraw, error)

ParseWthdraw is a log parse operation binding the contract event 0x622ece8fe6c9adcdeb3aacfcf426facb5e94734cb9eb4cca7b66595853b87340.

Solidity: event Wthdraw(address indexed who, uint256 _amount)

func (*NFTManagerFilterer) WatchApproval

func (_NFTManager *NFTManagerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *NFTManagerApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*NFTManagerFilterer) WatchApprovalForAll

func (_NFTManager *NFTManagerFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NFTManagerApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*NFTManagerFilterer) WatchCreateNFT

func (_NFTManager *NFTManagerFilterer) WatchCreateNFT(opts *bind.WatchOpts, sink chan<- *NFTManagerCreateNFT, who []common.Address) (event.Subscription, error)

WatchCreateNFT is a free log subscription operation binding the contract event 0x2f07f1d4b070b2c0047f7ddd468bfd61a682b1ad5553c708a1fa6023812e0888.

Solidity: event CreateNFT(address indexed who, uint256 _tokenId, string _businessName, string _description, string _imgUrl, string _businessAddress, string _webSite, string _social, uint256 _value, uint256 _deadline, uint8 _type)

func (*NFTManagerFilterer) WatchOwnershipTransferred

func (_NFTManager *NFTManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NFTManagerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*NFTManagerFilterer) WatchReceived

func (_NFTManager *NFTManagerFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *NFTManagerReceived, who []common.Address) (event.Subscription, error)

WatchReceived is a free log subscription operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.

Solidity: event Received(address indexed who, uint256 _value)

func (*NFTManagerFilterer) WatchSetValidTime

func (_NFTManager *NFTManagerFilterer) WatchSetValidTime(opts *bind.WatchOpts, sink chan<- *NFTManagerSetValidTime, who []common.Address) (event.Subscription, error)

WatchSetValidTime is a free log subscription operation binding the contract event 0x8651cd625889c15ab8587456aba8cc25b781c5fa977a1811f04967c2acad02b8.

Solidity: event SetValidTime(address indexed who, uint256 _time)

func (*NFTManagerFilterer) WatchSetValues

func (_NFTManager *NFTManagerFilterer) WatchSetValues(opts *bind.WatchOpts, sink chan<- *NFTManagerSetValues, who []common.Address) (event.Subscription, error)

WatchSetValues is a free log subscription operation binding the contract event 0x606bc42962399672a7f4089c08b1af4d207c5ff123b0c5e3e35aa03decb13fb8.

Solidity: event SetValues(address indexed who, uint256 _merchantValue, uint256 _userValue)

func (*NFTManagerFilterer) WatchTransfer

func (_NFTManager *NFTManagerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *NFTManagerTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*NFTManagerFilterer) WatchUriPrefixSet

func (_NFTManager *NFTManagerFilterer) WatchUriPrefixSet(opts *bind.WatchOpts, sink chan<- *NFTManagerUriPrefixSet, who []common.Address) (event.Subscription, error)

WatchUriPrefixSet is a free log subscription operation binding the contract event 0x8aed2472df7eda2618a927a1e73256d01e814a5b03b0fff4931cc2774e39b0c6.

Solidity: event UriPrefixSet(address indexed who, string urlPrefix)

func (*NFTManagerFilterer) WatchWithdrawUToken

func (_NFTManager *NFTManagerFilterer) WatchWithdrawUToken(opts *bind.WatchOpts, sink chan<- *NFTManagerWithdrawUToken, who []common.Address, _tokenAddr []common.Address, _account []common.Address) (event.Subscription, error)

WatchWithdrawUToken is a free log subscription operation binding the contract event 0xf314360eddb258cb001ab9dd025a30d7be229f08113f1e5617a7f82a00e0e78f.

Solidity: event WithdrawUToken(address indexed who, address indexed _tokenAddr, address indexed _account, uint256 _value)

func (*NFTManagerFilterer) WatchWthdraw

func (_NFTManager *NFTManagerFilterer) WatchWthdraw(opts *bind.WatchOpts, sink chan<- *NFTManagerWthdraw, who []common.Address) (event.Subscription, error)

WatchWthdraw is a free log subscription operation binding the contract event 0x622ece8fe6c9adcdeb3aacfcf426facb5e94734cb9eb4cca7b66595853b87340.

Solidity: event Wthdraw(address indexed who, uint256 _amount)

type NFTManagerOwnershipTransferred

type NFTManagerOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

NFTManagerOwnershipTransferred represents a OwnershipTransferred event raised by the NFTManager contract.

type NFTManagerOwnershipTransferredIterator

type NFTManagerOwnershipTransferredIterator struct {
	Event *NFTManagerOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the NFTManager contract.

func (*NFTManagerOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerRaw

type NFTManagerRaw struct {
	Contract *NFTManager // Generic contract binding to access the raw methods on
}

NFTManagerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*NFTManagerRaw) Call

func (_NFTManager *NFTManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*NFTManagerRaw) Transact

func (_NFTManager *NFTManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*NFTManagerRaw) Transfer

func (_NFTManager *NFTManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type NFTManagerReceived

type NFTManagerReceived struct {
	Who   common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

NFTManagerReceived represents a Received event raised by the NFTManager contract.

type NFTManagerReceivedIterator

type NFTManagerReceivedIterator struct {
	Event *NFTManagerReceived // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerReceivedIterator is returned from FilterReceived and is used to iterate over the raw logs and unpacked data for Received events raised by the NFTManager contract.

func (*NFTManagerReceivedIterator) Close

func (it *NFTManagerReceivedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerReceivedIterator) Error

func (it *NFTManagerReceivedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerReceivedIterator) Next

func (it *NFTManagerReceivedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerSession

type NFTManagerSession struct {
	Contract     *NFTManager       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

NFTManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*NFTManagerSession) Approve

func (_NFTManager *NFTManagerSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*NFTManagerSession) BalanceOf

func (_NFTManager *NFTManagerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*NFTManagerSession) BasicMineAmt

func (_NFTManager *NFTManagerSession) BasicMineAmt() (*big.Int, error)

BasicMineAmt is a free data retrieval call binding the contract method 0x94399817.

Solidity: function basicMineAmt() view returns(uint256)

func (*NFTManagerSession) CreateNFT

func (_NFTManager *NFTManagerSession) CreateNFT(_businessName string, _description string, _imgUrl string, _businessAddress string, _webSite string, _social string, _type uint8) (*types.Transaction, error)

CreateNFT is a paid mutator transaction binding the contract method 0x463d5059.

Solidity: function createNFT(string _businessName, string _description, string _imgUrl, string _businessAddress, string _webSite, string _social, uint8 _type) returns(bool _ret, uint256 _tokenId)

func (*NFTManagerSession) FccTokenAddr

func (_NFTManager *NFTManagerSession) FccTokenAddr() (common.Address, error)

FccTokenAddr is a free data retrieval call binding the contract method 0x4ba1332f.

Solidity: function FccTokenAddr() view returns(address)

func (*NFTManagerSession) GetApproved

func (_NFTManager *NFTManagerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*NFTManagerSession) GetMerchantNTFDeadline

func (_NFTManager *NFTManagerSession) GetMerchantNTFDeadline(_account common.Address) (*big.Int, error)

GetMerchantNTFDeadline is a free data retrieval call binding the contract method 0x39795078.

Solidity: function getMerchantNTFDeadline(address _account) view returns(uint256)

func (*NFTManagerSession) GetUTokenBalance

func (_NFTManager *NFTManagerSession) GetUTokenBalance() (*big.Int, error)

GetUTokenBalance is a free data retrieval call binding the contract method 0x96e6c5ee.

Solidity: function getUTokenBalance() view returns(uint256)

func (*NFTManagerSession) GetUserNTFDeadline

func (_NFTManager *NFTManagerSession) GetUserNTFDeadline(_account common.Address) (*big.Int, error)

GetUserNTFDeadline is a free data retrieval call binding the contract method 0x8dce8b13.

Solidity: function getUserNTFDeadline(address _account) view returns(uint256)

func (*NFTManagerSession) IsApprovedForAll

func (_NFTManager *NFTManagerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*NFTManagerSession) MerchantNTFDeadline

func (_NFTManager *NFTManagerSession) MerchantNTFDeadline(arg0 common.Address) (*big.Int, error)

MerchantNTFDeadline is a free data retrieval call binding the contract method 0xc498d1b0.

Solidity: function merchantNTFDeadline(address ) view returns(uint256)

func (*NFTManagerSession) MinedAmt

func (_NFTManager *NFTManagerSession) MinedAmt() (*big.Int, error)

MinedAmt is a free data retrieval call binding the contract method 0xf7859c28.

Solidity: function minedAmt() view returns(uint256)

func (*NFTManagerSession) Name

func (_NFTManager *NFTManagerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*NFTManagerSession) NftTypeMap

func (_NFTManager *NFTManagerSession) NftTypeMap(arg0 *big.Int) (uint8, error)

NftTypeMap is a free data retrieval call binding the contract method 0x78b0fbbd.

Solidity: function nftTypeMap(uint256 ) view returns(uint8)

func (*NFTManagerSession) Owner

func (_NFTManager *NFTManagerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*NFTManagerSession) OwnerOf

func (_NFTManager *NFTManagerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*NFTManagerSession) ProMineAmt

func (_NFTManager *NFTManagerSession) ProMineAmt() (*big.Int, error)

ProMineAmt is a free data retrieval call binding the contract method 0x80c7fb97.

Solidity: function proMineAmt() view returns(uint256)

func (*NFTManagerSession) Receive

func (_NFTManager *NFTManagerSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*NFTManagerSession) RedemptionPoolAddress

func (_NFTManager *NFTManagerSession) RedemptionPoolAddress() (common.Address, error)

RedemptionPoolAddress is a free data retrieval call binding the contract method 0xb6648e47.

Solidity: function redemptionPoolAddress() view returns(address)

func (*NFTManagerSession) RenounceOwnership

func (_NFTManager *NFTManagerSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*NFTManagerSession) SafeTransferFrom

func (_NFTManager *NFTManagerSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*NFTManagerSession) SafeTransferFrom0

func (_NFTManager *NFTManagerSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*NFTManagerSession) SetApprovalForAll

func (_NFTManager *NFTManagerSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*NFTManagerSession) SetUriPrefix

func (_NFTManager *NFTManagerSession) SetUriPrefix(_uriPrefix string) (*types.Transaction, error)

SetUriPrefix is a paid mutator transaction binding the contract method 0x7ec4a659.

Solidity: function setUriPrefix(string _uriPrefix) returns(bool _ret)

func (*NFTManagerSession) SetValues

func (_NFTManager *NFTManagerSession) SetValues(_merchantValue *big.Int, _userValue *big.Int) (*types.Transaction, error)

SetValues is a paid mutator transaction binding the contract method 0x9c3dfaf6.

Solidity: function setValues(uint256 _merchantValue, uint256 _userValue) returns(bool _ret)

func (*NFTManagerSession) SupportsInterface

func (_NFTManager *NFTManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*NFTManagerSession) Symbol

func (_NFTManager *NFTManagerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*NFTManagerSession) TokenURI

func (_NFTManager *NFTManagerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*NFTManagerSession) TotalMineAmt

func (_NFTManager *NFTManagerSession) TotalMineAmt() (*big.Int, error)

TotalMineAmt is a free data retrieval call binding the contract method 0x88e40a5a.

Solidity: function totalMineAmt() view returns(uint256)

func (*NFTManagerSession) TransferFrom

func (_NFTManager *NFTManagerSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*NFTManagerSession) TransferOwnership

func (_NFTManager *NFTManagerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*NFTManagerSession) UriPrefix

func (_NFTManager *NFTManagerSession) UriPrefix() (string, error)

UriPrefix is a free data retrieval call binding the contract method 0x62b99ad4.

Solidity: function uriPrefix() view returns(string)

func (*NFTManagerSession) UsdtTokenAddr

func (_NFTManager *NFTManagerSession) UsdtTokenAddr() (common.Address, error)

UsdtTokenAddr is a free data retrieval call binding the contract method 0xb6d18c8c.

Solidity: function UsdtTokenAddr() view returns(address)

func (*NFTManagerSession) UserNTFDeadline

func (_NFTManager *NFTManagerSession) UserNTFDeadline(arg0 common.Address) (*big.Int, error)

UserNTFDeadline is a free data retrieval call binding the contract method 0x121e3012.

Solidity: function userNTFDeadline(address ) view returns(uint256)

func (*NFTManagerSession) Withdraw

func (_NFTManager *NFTManagerSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _recipient, uint256 _amount) returns(bool _ret)

func (*NFTManagerSession) WithdrawUToken

func (_NFTManager *NFTManagerSession) WithdrawUToken(_tokenAddr common.Address, _account common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawUToken is a paid mutator transaction binding the contract method 0xde3f2b22.

Solidity: function withdrawUToken(address _tokenAddr, address _account, uint256 _value) returns(bool _ret)

type NFTManagerSetValidTime

type NFTManagerSetValidTime struct {
	Who  common.Address
	Time *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

NFTManagerSetValidTime represents a SetValidTime event raised by the NFTManager contract.

type NFTManagerSetValidTimeIterator

type NFTManagerSetValidTimeIterator struct {
	Event *NFTManagerSetValidTime // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerSetValidTimeIterator is returned from FilterSetValidTime and is used to iterate over the raw logs and unpacked data for SetValidTime events raised by the NFTManager contract.

func (*NFTManagerSetValidTimeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerSetValidTimeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerSetValidTimeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerSetValues

type NFTManagerSetValues struct {
	Who           common.Address
	MerchantValue *big.Int
	UserValue     *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

NFTManagerSetValues represents a SetValues event raised by the NFTManager contract.

type NFTManagerSetValuesIterator

type NFTManagerSetValuesIterator struct {
	Event *NFTManagerSetValues // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerSetValuesIterator is returned from FilterSetValues and is used to iterate over the raw logs and unpacked data for SetValues events raised by the NFTManager contract.

func (*NFTManagerSetValuesIterator) Close

func (it *NFTManagerSetValuesIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerSetValuesIterator) Error

func (it *NFTManagerSetValuesIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerSetValuesIterator) Next

func (it *NFTManagerSetValuesIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerTransactor

type NFTManagerTransactor struct {
	// contains filtered or unexported fields
}

NFTManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewNFTManagerTransactor

func NewNFTManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*NFTManagerTransactor, error)

NewNFTManagerTransactor creates a new write-only instance of NFTManager, bound to a specific deployed contract.

func (*NFTManagerTransactor) Approve

func (_NFTManager *NFTManagerTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*NFTManagerTransactor) CreateNFT

func (_NFTManager *NFTManagerTransactor) CreateNFT(opts *bind.TransactOpts, _businessName string, _description string, _imgUrl string, _businessAddress string, _webSite string, _social string, _type uint8) (*types.Transaction, error)

CreateNFT is a paid mutator transaction binding the contract method 0x463d5059.

Solidity: function createNFT(string _businessName, string _description, string _imgUrl, string _businessAddress, string _webSite, string _social, uint8 _type) returns(bool _ret, uint256 _tokenId)

func (*NFTManagerTransactor) Receive

func (_NFTManager *NFTManagerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*NFTManagerTransactor) RenounceOwnership

func (_NFTManager *NFTManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*NFTManagerTransactor) SafeTransferFrom

func (_NFTManager *NFTManagerTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*NFTManagerTransactor) SafeTransferFrom0

func (_NFTManager *NFTManagerTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*NFTManagerTransactor) SetApprovalForAll

func (_NFTManager *NFTManagerTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*NFTManagerTransactor) SetUriPrefix

func (_NFTManager *NFTManagerTransactor) SetUriPrefix(opts *bind.TransactOpts, _uriPrefix string) (*types.Transaction, error)

SetUriPrefix is a paid mutator transaction binding the contract method 0x7ec4a659.

Solidity: function setUriPrefix(string _uriPrefix) returns(bool _ret)

func (*NFTManagerTransactor) SetValues

func (_NFTManager *NFTManagerTransactor) SetValues(opts *bind.TransactOpts, _merchantValue *big.Int, _userValue *big.Int) (*types.Transaction, error)

SetValues is a paid mutator transaction binding the contract method 0x9c3dfaf6.

Solidity: function setValues(uint256 _merchantValue, uint256 _userValue) returns(bool _ret)

func (*NFTManagerTransactor) TransferFrom

func (_NFTManager *NFTManagerTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*NFTManagerTransactor) TransferOwnership

func (_NFTManager *NFTManagerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*NFTManagerTransactor) Withdraw

func (_NFTManager *NFTManagerTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _recipient, uint256 _amount) returns(bool _ret)

func (*NFTManagerTransactor) WithdrawUToken

func (_NFTManager *NFTManagerTransactor) WithdrawUToken(opts *bind.TransactOpts, _tokenAddr common.Address, _account common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawUToken is a paid mutator transaction binding the contract method 0xde3f2b22.

Solidity: function withdrawUToken(address _tokenAddr, address _account, uint256 _value) returns(bool _ret)

type NFTManagerTransactorRaw

type NFTManagerTransactorRaw struct {
	Contract *NFTManagerTransactor // Generic write-only contract binding to access the raw methods on
}

NFTManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*NFTManagerTransactorRaw) Transact

func (_NFTManager *NFTManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*NFTManagerTransactorRaw) Transfer

func (_NFTManager *NFTManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type NFTManagerTransactorSession

type NFTManagerTransactorSession struct {
	Contract     *NFTManagerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

NFTManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*NFTManagerTransactorSession) Approve

func (_NFTManager *NFTManagerTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*NFTManagerTransactorSession) CreateNFT

func (_NFTManager *NFTManagerTransactorSession) CreateNFT(_businessName string, _description string, _imgUrl string, _businessAddress string, _webSite string, _social string, _type uint8) (*types.Transaction, error)

CreateNFT is a paid mutator transaction binding the contract method 0x463d5059.

Solidity: function createNFT(string _businessName, string _description, string _imgUrl, string _businessAddress, string _webSite, string _social, uint8 _type) returns(bool _ret, uint256 _tokenId)

func (*NFTManagerTransactorSession) Receive

func (_NFTManager *NFTManagerTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*NFTManagerTransactorSession) RenounceOwnership

func (_NFTManager *NFTManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*NFTManagerTransactorSession) SafeTransferFrom

func (_NFTManager *NFTManagerTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*NFTManagerTransactorSession) SafeTransferFrom0

func (_NFTManager *NFTManagerTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*NFTManagerTransactorSession) SetApprovalForAll

func (_NFTManager *NFTManagerTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*NFTManagerTransactorSession) SetUriPrefix

func (_NFTManager *NFTManagerTransactorSession) SetUriPrefix(_uriPrefix string) (*types.Transaction, error)

SetUriPrefix is a paid mutator transaction binding the contract method 0x7ec4a659.

Solidity: function setUriPrefix(string _uriPrefix) returns(bool _ret)

func (*NFTManagerTransactorSession) SetValues

func (_NFTManager *NFTManagerTransactorSession) SetValues(_merchantValue *big.Int, _userValue *big.Int) (*types.Transaction, error)

SetValues is a paid mutator transaction binding the contract method 0x9c3dfaf6.

Solidity: function setValues(uint256 _merchantValue, uint256 _userValue) returns(bool _ret)

func (*NFTManagerTransactorSession) TransferFrom

func (_NFTManager *NFTManagerTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*NFTManagerTransactorSession) TransferOwnership

func (_NFTManager *NFTManagerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*NFTManagerTransactorSession) Withdraw

func (_NFTManager *NFTManagerTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address _recipient, uint256 _amount) returns(bool _ret)

func (*NFTManagerTransactorSession) WithdrawUToken

func (_NFTManager *NFTManagerTransactorSession) WithdrawUToken(_tokenAddr common.Address, _account common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawUToken is a paid mutator transaction binding the contract method 0xde3f2b22.

Solidity: function withdrawUToken(address _tokenAddr, address _account, uint256 _value) returns(bool _ret)

type NFTManagerTransfer

type NFTManagerTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

NFTManagerTransfer represents a Transfer event raised by the NFTManager contract.

type NFTManagerTransferIterator

type NFTManagerTransferIterator struct {
	Event *NFTManagerTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the NFTManager contract.

func (*NFTManagerTransferIterator) Close

func (it *NFTManagerTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerTransferIterator) Error

func (it *NFTManagerTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerTransferIterator) Next

func (it *NFTManagerTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerUriPrefixSet

type NFTManagerUriPrefixSet struct {
	Who       common.Address
	UrlPrefix string
	Raw       types.Log // Blockchain specific contextual infos
}

NFTManagerUriPrefixSet represents a UriPrefixSet event raised by the NFTManager contract.

type NFTManagerUriPrefixSetIterator

type NFTManagerUriPrefixSetIterator struct {
	Event *NFTManagerUriPrefixSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerUriPrefixSetIterator is returned from FilterUriPrefixSet and is used to iterate over the raw logs and unpacked data for UriPrefixSet events raised by the NFTManager contract.

func (*NFTManagerUriPrefixSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerUriPrefixSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerUriPrefixSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerWithdrawUToken

type NFTManagerWithdrawUToken struct {
	Who       common.Address
	TokenAddr common.Address
	Account   common.Address
	Value     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

NFTManagerWithdrawUToken represents a WithdrawUToken event raised by the NFTManager contract.

type NFTManagerWithdrawUTokenIterator

type NFTManagerWithdrawUTokenIterator struct {
	Event *NFTManagerWithdrawUToken // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerWithdrawUTokenIterator is returned from FilterWithdrawUToken and is used to iterate over the raw logs and unpacked data for WithdrawUToken events raised by the NFTManager contract.

func (*NFTManagerWithdrawUTokenIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerWithdrawUTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerWithdrawUTokenIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NFTManagerWthdraw

type NFTManagerWthdraw struct {
	Who    common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

NFTManagerWthdraw represents a Wthdraw event raised by the NFTManager contract.

type NFTManagerWthdrawIterator

type NFTManagerWthdrawIterator struct {
	Event *NFTManagerWthdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NFTManagerWthdrawIterator is returned from FilterWthdraw and is used to iterate over the raw logs and unpacked data for Wthdraw events raised by the NFTManager contract.

func (*NFTManagerWthdrawIterator) Close

func (it *NFTManagerWthdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*NFTManagerWthdrawIterator) Error

func (it *NFTManagerWthdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTManagerWthdrawIterator) Next

func (it *NFTManagerWthdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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