honestworknft

package
v0.0.0-...-49025f2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HonestworknftABI = HonestworknftMetaData.ABI

HonestworknftABI is the input ABI used to generate the binding from. Deprecated: Use HonestworknftMetaData.ABI instead.

View Source
var HonestworknftMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_baseUri\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"_whitelistedTokens\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tier\",\"type\":\"uint256\"}],\"name\":\"Upgrade\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"_tokenIds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tier\",\"type\":\"uint256\"}],\"name\":\"adminMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseUri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenTier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserTier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getWhitelistToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"publicMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"removeWhitelistToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_baseUri\",\"type\":\"string\"}],\"name\":\"setBaseUri\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tierOneFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tierTwoFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tierThreeFee\",\"type\":\"uint256\"}],\"name\":\"setTiers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenCap\",\"type\":\"uint256\"}],\"name\":\"setTokenCap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"}],\"name\":\"setWhitelistRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"_interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tierOneFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tierThreeFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tierTwoFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenCap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_levels\",\"type\":\"uint256\"}],\"name\":\"upgradeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"whitelistCap\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_proof\",\"type\":\"bytes32[]\"}],\"name\":\"whitelistMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"whitelistRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"whitelistToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"whitelistedTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

HonestworknftMetaData contains all meta data concerning the Honestworknft contract.

Functions

This section is empty.

Types

type Honestworknft

type Honestworknft struct {
	HonestworknftCaller     // Read-only binding to the contract
	HonestworknftTransactor // Write-only binding to the contract
	HonestworknftFilterer   // Log filterer for contract events
}

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

func NewHonestworknft

func NewHonestworknft(address common.Address, backend bind.ContractBackend) (*Honestworknft, error)

NewHonestworknft creates a new instance of Honestworknft, bound to a specific deployed contract.

type HonestworknftApproval

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

HonestworknftApproval represents a Approval event raised by the Honestworknft contract.

type HonestworknftApprovalForAll

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

HonestworknftApprovalForAll represents a ApprovalForAll event raised by the Honestworknft contract.

type HonestworknftApprovalForAllIterator

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

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

func (*HonestworknftApprovalForAllIterator) Close

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

func (*HonestworknftApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HonestworknftApprovalForAllIterator) 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 HonestworknftApprovalIterator

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

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

func (*HonestworknftApprovalIterator) Close

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

func (*HonestworknftApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HonestworknftApprovalIterator) 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 HonestworknftCaller

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

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

func NewHonestworknftCaller

func NewHonestworknftCaller(address common.Address, caller bind.ContractCaller) (*HonestworknftCaller, error)

NewHonestworknftCaller creates a new read-only instance of Honestworknft, bound to a specific deployed contract.

func (*HonestworknftCaller) BalanceOf

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) BaseUri

func (_Honestworknft *HonestworknftCaller) BaseUri(opts *bind.CallOpts) (string, error)

BaseUri is a free data retrieval call binding the contract method 0x9abc8320.

Solidity: function baseUri() view returns(string)

func (*HonestworknftCaller) GetApproved

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) GetTokenTier

func (_Honestworknft *HonestworknftCaller) GetTokenTier(opts *bind.CallOpts, _tokenId *big.Int) (*big.Int, error)

GetTokenTier is a free data retrieval call binding the contract method 0xc26b265f.

Solidity: function getTokenTier(uint256 _tokenId) view returns(uint256)

func (*HonestworknftCaller) GetUserTier

func (_Honestworknft *HonestworknftCaller) GetUserTier(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

GetUserTier is a free data retrieval call binding the contract method 0xe4d2620e.

Solidity: function getUserTier(address _user) view returns(uint256)

func (*HonestworknftCaller) GetWhitelistToken

func (_Honestworknft *HonestworknftCaller) GetWhitelistToken(opts *bind.CallOpts, _token common.Address) (bool, error)

GetWhitelistToken is a free data retrieval call binding the contract method 0xac4e357d.

Solidity: function getWhitelistToken(address _token) view returns(bool)

func (*HonestworknftCaller) IsApprovedForAll

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) IsPaused

func (_Honestworknft *HonestworknftCaller) IsPaused(opts *bind.CallOpts) (bool, error)

IsPaused is a free data retrieval call binding the contract method 0xb187bd26.

Solidity: function isPaused() view returns(bool)

func (*HonestworknftCaller) Name

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) Owner

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) OwnerOf

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) SupportsInterface

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) Symbol

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) Tier

func (_Honestworknft *HonestworknftCaller) Tier(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Tier is a free data retrieval call binding the contract method 0x6dda34db.

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

func (*HonestworknftCaller) TierOneFee

func (_Honestworknft *HonestworknftCaller) TierOneFee(opts *bind.CallOpts) (*big.Int, error)

TierOneFee is a free data retrieval call binding the contract method 0x9a50c628.

Solidity: function tierOneFee() view returns(uint256)

func (*HonestworknftCaller) TierThreeFee

func (_Honestworknft *HonestworknftCaller) TierThreeFee(opts *bind.CallOpts) (*big.Int, error)

TierThreeFee is a free data retrieval call binding the contract method 0x9d951b3b.

Solidity: function tierThreeFee() view returns(uint256)

func (*HonestworknftCaller) TierTwoFee

func (_Honestworknft *HonestworknftCaller) TierTwoFee(opts *bind.CallOpts) (*big.Int, error)

TierTwoFee is a free data retrieval call binding the contract method 0x08ac6289.

Solidity: function tierTwoFee() view returns(uint256)

func (*HonestworknftCaller) TokenByIndex

func (_Honestworknft *HonestworknftCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*HonestworknftCaller) TokenCap

func (_Honestworknft *HonestworknftCaller) TokenCap(opts *bind.CallOpts) (*big.Int, error)

TokenCap is a free data retrieval call binding the contract method 0xdd54291b.

Solidity: function tokenCap() view returns(uint256)

func (*HonestworknftCaller) TokenIds

func (_Honestworknft *HonestworknftCaller) TokenIds(opts *bind.CallOpts) (*big.Int, error)

TokenIds is a free data retrieval call binding the contract method 0xaa46a400.

Solidity: function _tokenIds() view returns(uint256 _value)

func (*HonestworknftCaller) TokenOfOwnerByIndex

func (_Honestworknft *HonestworknftCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*HonestworknftCaller) TokenURI

func (_Honestworknft *HonestworknftCaller) 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 (*HonestworknftCaller) TotalSupply

func (_Honestworknft *HonestworknftCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*HonestworknftCaller) WhitelistCap

func (_Honestworknft *HonestworknftCaller) WhitelistCap(opts *bind.CallOpts, arg0 common.Address) (bool, error)

WhitelistCap is a free data retrieval call binding the contract method 0xff5de458.

Solidity: function whitelistCap(address ) view returns(bool)

func (*HonestworknftCaller) WhitelistRoot

func (_Honestworknft *HonestworknftCaller) WhitelistRoot(opts *bind.CallOpts) ([32]byte, error)

WhitelistRoot is a free data retrieval call binding the contract method 0x386bfc98.

Solidity: function whitelistRoot() view returns(bytes32)

func (*HonestworknftCaller) WhitelistedTokens

func (_Honestworknft *HonestworknftCaller) WhitelistedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error)

WhitelistedTokens is a free data retrieval call binding the contract method 0xdaf9c210.

Solidity: function whitelistedTokens(address ) view returns(bool)

type HonestworknftCallerRaw

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

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

func (*HonestworknftCallerRaw) Call

func (_Honestworknft *HonestworknftCallerRaw) 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 HonestworknftCallerSession

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

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

func (*HonestworknftCallerSession) BalanceOf

func (_Honestworknft *HonestworknftCallerSession) 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 (*HonestworknftCallerSession) BaseUri

func (_Honestworknft *HonestworknftCallerSession) BaseUri() (string, error)

BaseUri is a free data retrieval call binding the contract method 0x9abc8320.

Solidity: function baseUri() view returns(string)

func (*HonestworknftCallerSession) GetApproved

func (_Honestworknft *HonestworknftCallerSession) 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 (*HonestworknftCallerSession) GetTokenTier

func (_Honestworknft *HonestworknftCallerSession) GetTokenTier(_tokenId *big.Int) (*big.Int, error)

GetTokenTier is a free data retrieval call binding the contract method 0xc26b265f.

Solidity: function getTokenTier(uint256 _tokenId) view returns(uint256)

func (*HonestworknftCallerSession) GetUserTier

func (_Honestworknft *HonestworknftCallerSession) GetUserTier(_user common.Address) (*big.Int, error)

GetUserTier is a free data retrieval call binding the contract method 0xe4d2620e.

Solidity: function getUserTier(address _user) view returns(uint256)

func (*HonestworknftCallerSession) GetWhitelistToken

func (_Honestworknft *HonestworknftCallerSession) GetWhitelistToken(_token common.Address) (bool, error)

GetWhitelistToken is a free data retrieval call binding the contract method 0xac4e357d.

Solidity: function getWhitelistToken(address _token) view returns(bool)

func (*HonestworknftCallerSession) IsApprovedForAll

func (_Honestworknft *HonestworknftCallerSession) 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 (*HonestworknftCallerSession) IsPaused

func (_Honestworknft *HonestworknftCallerSession) IsPaused() (bool, error)

IsPaused is a free data retrieval call binding the contract method 0xb187bd26.

Solidity: function isPaused() view returns(bool)

func (*HonestworknftCallerSession) Name

func (_Honestworknft *HonestworknftCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HonestworknftCallerSession) Owner

func (_Honestworknft *HonestworknftCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HonestworknftCallerSession) OwnerOf

func (_Honestworknft *HonestworknftCallerSession) 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 (*HonestworknftCallerSession) SupportsInterface

func (_Honestworknft *HonestworknftCallerSession) 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 (*HonestworknftCallerSession) Symbol

func (_Honestworknft *HonestworknftCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HonestworknftCallerSession) Tier

func (_Honestworknft *HonestworknftCallerSession) Tier(arg0 *big.Int) (*big.Int, error)

Tier is a free data retrieval call binding the contract method 0x6dda34db.

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

func (*HonestworknftCallerSession) TierOneFee

func (_Honestworknft *HonestworknftCallerSession) TierOneFee() (*big.Int, error)

TierOneFee is a free data retrieval call binding the contract method 0x9a50c628.

Solidity: function tierOneFee() view returns(uint256)

func (*HonestworknftCallerSession) TierThreeFee

func (_Honestworknft *HonestworknftCallerSession) TierThreeFee() (*big.Int, error)

TierThreeFee is a free data retrieval call binding the contract method 0x9d951b3b.

Solidity: function tierThreeFee() view returns(uint256)

func (*HonestworknftCallerSession) TierTwoFee

func (_Honestworknft *HonestworknftCallerSession) TierTwoFee() (*big.Int, error)

TierTwoFee is a free data retrieval call binding the contract method 0x08ac6289.

Solidity: function tierTwoFee() view returns(uint256)

func (*HonestworknftCallerSession) TokenByIndex

func (_Honestworknft *HonestworknftCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*HonestworknftCallerSession) TokenCap

func (_Honestworknft *HonestworknftCallerSession) TokenCap() (*big.Int, error)

TokenCap is a free data retrieval call binding the contract method 0xdd54291b.

Solidity: function tokenCap() view returns(uint256)

func (*HonestworknftCallerSession) TokenIds

func (_Honestworknft *HonestworknftCallerSession) TokenIds() (*big.Int, error)

TokenIds is a free data retrieval call binding the contract method 0xaa46a400.

Solidity: function _tokenIds() view returns(uint256 _value)

func (*HonestworknftCallerSession) TokenOfOwnerByIndex

func (_Honestworknft *HonestworknftCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*HonestworknftCallerSession) TokenURI

func (_Honestworknft *HonestworknftCallerSession) 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 (*HonestworknftCallerSession) TotalSupply

func (_Honestworknft *HonestworknftCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*HonestworknftCallerSession) WhitelistCap

func (_Honestworknft *HonestworknftCallerSession) WhitelistCap(arg0 common.Address) (bool, error)

WhitelistCap is a free data retrieval call binding the contract method 0xff5de458.

Solidity: function whitelistCap(address ) view returns(bool)

func (*HonestworknftCallerSession) WhitelistRoot

func (_Honestworknft *HonestworknftCallerSession) WhitelistRoot() ([32]byte, error)

WhitelistRoot is a free data retrieval call binding the contract method 0x386bfc98.

Solidity: function whitelistRoot() view returns(bytes32)

func (*HonestworknftCallerSession) WhitelistedTokens

func (_Honestworknft *HonestworknftCallerSession) WhitelistedTokens(arg0 common.Address) (bool, error)

WhitelistedTokens is a free data retrieval call binding the contract method 0xdaf9c210.

Solidity: function whitelistedTokens(address ) view returns(bool)

type HonestworknftFilterer

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

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

func NewHonestworknftFilterer

func NewHonestworknftFilterer(address common.Address, filterer bind.ContractFilterer) (*HonestworknftFilterer, error)

NewHonestworknftFilterer creates a new log filterer instance of Honestworknft, bound to a specific deployed contract.

func (*HonestworknftFilterer) FilterApproval

func (_Honestworknft *HonestworknftFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*HonestworknftApprovalIterator, 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 (*HonestworknftFilterer) FilterApprovalForAll

func (_Honestworknft *HonestworknftFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*HonestworknftApprovalForAllIterator, 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 (*HonestworknftFilterer) FilterMint

func (_Honestworknft *HonestworknftFilterer) FilterMint(opts *bind.FilterOpts) (*HonestworknftMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0xf3cea5493d790af0133817606f7350a91d7f154ea52eaa79d179d4d231e50102.

Solidity: event Mint(uint256 id, address user)

func (*HonestworknftFilterer) FilterOwnershipTransferred

func (_Honestworknft *HonestworknftFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HonestworknftOwnershipTransferredIterator, error)

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

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

func (*HonestworknftFilterer) FilterTransfer

func (_Honestworknft *HonestworknftFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*HonestworknftTransferIterator, 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 (*HonestworknftFilterer) FilterUpgrade

func (_Honestworknft *HonestworknftFilterer) FilterUpgrade(opts *bind.FilterOpts) (*HonestworknftUpgradeIterator, error)

FilterUpgrade is a free log retrieval operation binding the contract event 0xeb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e9.

Solidity: event Upgrade(uint256 id, uint256 tier)

func (*HonestworknftFilterer) ParseApproval

func (_Honestworknft *HonestworknftFilterer) ParseApproval(log types.Log) (*HonestworknftApproval, 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 (*HonestworknftFilterer) ParseApprovalForAll

func (_Honestworknft *HonestworknftFilterer) ParseApprovalForAll(log types.Log) (*HonestworknftApprovalForAll, error)

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

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

func (*HonestworknftFilterer) ParseMint

func (_Honestworknft *HonestworknftFilterer) ParseMint(log types.Log) (*HonestworknftMint, error)

ParseMint is a log parse operation binding the contract event 0xf3cea5493d790af0133817606f7350a91d7f154ea52eaa79d179d4d231e50102.

Solidity: event Mint(uint256 id, address user)

func (*HonestworknftFilterer) ParseOwnershipTransferred

func (_Honestworknft *HonestworknftFilterer) ParseOwnershipTransferred(log types.Log) (*HonestworknftOwnershipTransferred, error)

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

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

func (*HonestworknftFilterer) ParseTransfer

func (_Honestworknft *HonestworknftFilterer) ParseTransfer(log types.Log) (*HonestworknftTransfer, 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 (*HonestworknftFilterer) ParseUpgrade

func (_Honestworknft *HonestworknftFilterer) ParseUpgrade(log types.Log) (*HonestworknftUpgrade, error)

ParseUpgrade is a log parse operation binding the contract event 0xeb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e9.

Solidity: event Upgrade(uint256 id, uint256 tier)

func (*HonestworknftFilterer) WatchApproval

func (_Honestworknft *HonestworknftFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *HonestworknftApproval, 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 (*HonestworknftFilterer) WatchApprovalForAll

func (_Honestworknft *HonestworknftFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *HonestworknftApprovalForAll, 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 (*HonestworknftFilterer) WatchMint

func (_Honestworknft *HonestworknftFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *HonestworknftMint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0xf3cea5493d790af0133817606f7350a91d7f154ea52eaa79d179d4d231e50102.

Solidity: event Mint(uint256 id, address user)

func (*HonestworknftFilterer) WatchOwnershipTransferred

func (_Honestworknft *HonestworknftFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HonestworknftOwnershipTransferred, 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 (*HonestworknftFilterer) WatchTransfer

func (_Honestworknft *HonestworknftFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *HonestworknftTransfer, 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 (*HonestworknftFilterer) WatchUpgrade

func (_Honestworknft *HonestworknftFilterer) WatchUpgrade(opts *bind.WatchOpts, sink chan<- *HonestworknftUpgrade) (event.Subscription, error)

WatchUpgrade is a free log subscription operation binding the contract event 0xeb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e9.

Solidity: event Upgrade(uint256 id, uint256 tier)

type HonestworknftMint

type HonestworknftMint struct {
	Id   *big.Int
	User common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

HonestworknftMint represents a Mint event raised by the Honestworknft contract.

type HonestworknftMintIterator

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

HonestworknftMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Honestworknft contract.

func (*HonestworknftMintIterator) Close

func (it *HonestworknftMintIterator) Close() error

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

func (*HonestworknftMintIterator) Error

func (it *HonestworknftMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HonestworknftMintIterator) Next

func (it *HonestworknftMintIterator) 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 HonestworknftOwnershipTransferred

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

HonestworknftOwnershipTransferred represents a OwnershipTransferred event raised by the Honestworknft contract.

type HonestworknftOwnershipTransferredIterator

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

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

func (*HonestworknftOwnershipTransferredIterator) Close

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

func (*HonestworknftOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HonestworknftOwnershipTransferredIterator) 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 HonestworknftRaw

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

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

func (*HonestworknftRaw) Call

func (_Honestworknft *HonestworknftRaw) 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 (*HonestworknftRaw) Transact

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

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

func (*HonestworknftRaw) Transfer

func (_Honestworknft *HonestworknftRaw) 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 HonestworknftSession

type HonestworknftSession struct {
	Contract     *Honestworknft    // 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
}

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

func (*HonestworknftSession) AdminMint

func (_Honestworknft *HonestworknftSession) AdminMint(_to common.Address, _tier *big.Int) (*types.Transaction, error)

AdminMint is a paid mutator transaction binding the contract method 0xe58306f9.

Solidity: function adminMint(address _to, uint256 _tier) returns()

func (*HonestworknftSession) Approve

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) BalanceOf

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) BaseUri

func (_Honestworknft *HonestworknftSession) BaseUri() (string, error)

BaseUri is a free data retrieval call binding the contract method 0x9abc8320.

Solidity: function baseUri() view returns(string)

func (*HonestworknftSession) GetApproved

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) GetTokenTier

func (_Honestworknft *HonestworknftSession) GetTokenTier(_tokenId *big.Int) (*big.Int, error)

GetTokenTier is a free data retrieval call binding the contract method 0xc26b265f.

Solidity: function getTokenTier(uint256 _tokenId) view returns(uint256)

func (*HonestworknftSession) GetUserTier

func (_Honestworknft *HonestworknftSession) GetUserTier(_user common.Address) (*big.Int, error)

GetUserTier is a free data retrieval call binding the contract method 0xe4d2620e.

Solidity: function getUserTier(address _user) view returns(uint256)

func (*HonestworknftSession) GetWhitelistToken

func (_Honestworknft *HonestworknftSession) GetWhitelistToken(_token common.Address) (bool, error)

GetWhitelistToken is a free data retrieval call binding the contract method 0xac4e357d.

Solidity: function getWhitelistToken(address _token) view returns(bool)

func (*HonestworknftSession) IsApprovedForAll

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) IsPaused

func (_Honestworknft *HonestworknftSession) IsPaused() (bool, error)

IsPaused is a free data retrieval call binding the contract method 0xb187bd26.

Solidity: function isPaused() view returns(bool)

func (*HonestworknftSession) Name

func (_Honestworknft *HonestworknftSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HonestworknftSession) Owner

func (_Honestworknft *HonestworknftSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HonestworknftSession) OwnerOf

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) Pause

func (_Honestworknft *HonestworknftSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*HonestworknftSession) PublicMint

func (_Honestworknft *HonestworknftSession) PublicMint(_token common.Address) (*types.Transaction, error)

PublicMint is a paid mutator transaction binding the contract method 0x32a93a3a.

Solidity: function publicMint(address _token) returns()

func (*HonestworknftSession) RemoveWhitelistToken

func (_Honestworknft *HonestworknftSession) RemoveWhitelistToken(_token common.Address) (*types.Transaction, error)

RemoveWhitelistToken is a paid mutator transaction binding the contract method 0xe9ee9107.

Solidity: function removeWhitelistToken(address _token) returns()

func (*HonestworknftSession) RenounceOwnership

func (_Honestworknft *HonestworknftSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HonestworknftSession) SafeTransferFrom

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) SafeTransferFrom0

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) SetApprovalForAll

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) SetBaseUri

func (_Honestworknft *HonestworknftSession) SetBaseUri(_baseUri string) (*types.Transaction, error)

SetBaseUri is a paid mutator transaction binding the contract method 0xa0bcfc7f.

Solidity: function setBaseUri(string _baseUri) returns()

func (*HonestworknftSession) SetTiers

func (_Honestworknft *HonestworknftSession) SetTiers(_tierOneFee *big.Int, _tierTwoFee *big.Int, _tierThreeFee *big.Int) (*types.Transaction, error)

SetTiers is a paid mutator transaction binding the contract method 0x0f8343e5.

Solidity: function setTiers(uint256 _tierOneFee, uint256 _tierTwoFee, uint256 _tierThreeFee) returns()

func (*HonestworknftSession) SetTokenCap

func (_Honestworknft *HonestworknftSession) SetTokenCap(_tokenCap *big.Int) (*types.Transaction, error)

SetTokenCap is a paid mutator transaction binding the contract method 0x2854bc7e.

Solidity: function setTokenCap(uint256 _tokenCap) returns()

func (*HonestworknftSession) SetWhitelistRoot

func (_Honestworknft *HonestworknftSession) SetWhitelistRoot(_root [32]byte) (*types.Transaction, error)

SetWhitelistRoot is a paid mutator transaction binding the contract method 0xf5aa406d.

Solidity: function setWhitelistRoot(bytes32 _root) returns()

func (*HonestworknftSession) SupportsInterface

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) Symbol

func (_Honestworknft *HonestworknftSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HonestworknftSession) Tier

func (_Honestworknft *HonestworknftSession) Tier(arg0 *big.Int) (*big.Int, error)

Tier is a free data retrieval call binding the contract method 0x6dda34db.

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

func (*HonestworknftSession) TierOneFee

func (_Honestworknft *HonestworknftSession) TierOneFee() (*big.Int, error)

TierOneFee is a free data retrieval call binding the contract method 0x9a50c628.

Solidity: function tierOneFee() view returns(uint256)

func (*HonestworknftSession) TierThreeFee

func (_Honestworknft *HonestworknftSession) TierThreeFee() (*big.Int, error)

TierThreeFee is a free data retrieval call binding the contract method 0x9d951b3b.

Solidity: function tierThreeFee() view returns(uint256)

func (*HonestworknftSession) TierTwoFee

func (_Honestworknft *HonestworknftSession) TierTwoFee() (*big.Int, error)

TierTwoFee is a free data retrieval call binding the contract method 0x08ac6289.

Solidity: function tierTwoFee() view returns(uint256)

func (*HonestworknftSession) TokenByIndex

func (_Honestworknft *HonestworknftSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*HonestworknftSession) TokenCap

func (_Honestworknft *HonestworknftSession) TokenCap() (*big.Int, error)

TokenCap is a free data retrieval call binding the contract method 0xdd54291b.

Solidity: function tokenCap() view returns(uint256)

func (*HonestworknftSession) TokenIds

func (_Honestworknft *HonestworknftSession) TokenIds() (*big.Int, error)

TokenIds is a free data retrieval call binding the contract method 0xaa46a400.

Solidity: function _tokenIds() view returns(uint256 _value)

func (*HonestworknftSession) TokenOfOwnerByIndex

func (_Honestworknft *HonestworknftSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*HonestworknftSession) TokenURI

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) TotalSupply

func (_Honestworknft *HonestworknftSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*HonestworknftSession) TransferFrom

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) TransferOwnership

func (_Honestworknft *HonestworknftSession) 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 (*HonestworknftSession) Unpause

func (_Honestworknft *HonestworknftSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*HonestworknftSession) UpgradeToken

func (_Honestworknft *HonestworknftSession) UpgradeToken(_token common.Address, _levels *big.Int) (*types.Transaction, error)

UpgradeToken is a paid mutator transaction binding the contract method 0xc9abb2e9.

Solidity: function upgradeToken(address _token, uint256 _levels) returns()

func (*HonestworknftSession) WhitelistCap

func (_Honestworknft *HonestworknftSession) WhitelistCap(arg0 common.Address) (bool, error)

WhitelistCap is a free data retrieval call binding the contract method 0xff5de458.

Solidity: function whitelistCap(address ) view returns(bool)

func (*HonestworknftSession) WhitelistMint

func (_Honestworknft *HonestworknftSession) WhitelistMint(_proof [][32]byte) (*types.Transaction, error)

WhitelistMint is a paid mutator transaction binding the contract method 0x372f657c.

Solidity: function whitelistMint(bytes32[] _proof) returns()

func (*HonestworknftSession) WhitelistRoot

func (_Honestworknft *HonestworknftSession) WhitelistRoot() ([32]byte, error)

WhitelistRoot is a free data retrieval call binding the contract method 0x386bfc98.

Solidity: function whitelistRoot() view returns(bytes32)

func (*HonestworknftSession) WhitelistToken

func (_Honestworknft *HonestworknftSession) WhitelistToken(_token common.Address) (*types.Transaction, error)

WhitelistToken is a paid mutator transaction binding the contract method 0x6247f6f2.

Solidity: function whitelistToken(address _token) returns()

func (*HonestworknftSession) WhitelistedTokens

func (_Honestworknft *HonestworknftSession) WhitelistedTokens(arg0 common.Address) (bool, error)

WhitelistedTokens is a free data retrieval call binding the contract method 0xdaf9c210.

Solidity: function whitelistedTokens(address ) view returns(bool)

func (*HonestworknftSession) Withdraw

func (_Honestworknft *HonestworknftSession) Withdraw(_token common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address _token, uint256 _amount) returns()

type HonestworknftTransactor

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

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

func NewHonestworknftTransactor

func NewHonestworknftTransactor(address common.Address, transactor bind.ContractTransactor) (*HonestworknftTransactor, error)

NewHonestworknftTransactor creates a new write-only instance of Honestworknft, bound to a specific deployed contract.

func (*HonestworknftTransactor) AdminMint

func (_Honestworknft *HonestworknftTransactor) AdminMint(opts *bind.TransactOpts, _to common.Address, _tier *big.Int) (*types.Transaction, error)

AdminMint is a paid mutator transaction binding the contract method 0xe58306f9.

Solidity: function adminMint(address _to, uint256 _tier) returns()

func (*HonestworknftTransactor) Approve

func (_Honestworknft *HonestworknftTransactor) 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 (*HonestworknftTransactor) Pause

func (_Honestworknft *HonestworknftTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*HonestworknftTransactor) PublicMint

func (_Honestworknft *HonestworknftTransactor) PublicMint(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

PublicMint is a paid mutator transaction binding the contract method 0x32a93a3a.

Solidity: function publicMint(address _token) returns()

func (*HonestworknftTransactor) RemoveWhitelistToken

func (_Honestworknft *HonestworknftTransactor) RemoveWhitelistToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

RemoveWhitelistToken is a paid mutator transaction binding the contract method 0xe9ee9107.

Solidity: function removeWhitelistToken(address _token) returns()

func (*HonestworknftTransactor) RenounceOwnership

func (_Honestworknft *HonestworknftTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HonestworknftTransactor) SafeTransferFrom

func (_Honestworknft *HonestworknftTransactor) 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 (*HonestworknftTransactor) SafeTransferFrom0

func (_Honestworknft *HonestworknftTransactor) 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 (*HonestworknftTransactor) SetApprovalForAll

func (_Honestworknft *HonestworknftTransactor) 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 (*HonestworknftTransactor) SetBaseUri

func (_Honestworknft *HonestworknftTransactor) SetBaseUri(opts *bind.TransactOpts, _baseUri string) (*types.Transaction, error)

SetBaseUri is a paid mutator transaction binding the contract method 0xa0bcfc7f.

Solidity: function setBaseUri(string _baseUri) returns()

func (*HonestworknftTransactor) SetTiers

func (_Honestworknft *HonestworknftTransactor) SetTiers(opts *bind.TransactOpts, _tierOneFee *big.Int, _tierTwoFee *big.Int, _tierThreeFee *big.Int) (*types.Transaction, error)

SetTiers is a paid mutator transaction binding the contract method 0x0f8343e5.

Solidity: function setTiers(uint256 _tierOneFee, uint256 _tierTwoFee, uint256 _tierThreeFee) returns()

func (*HonestworknftTransactor) SetTokenCap

func (_Honestworknft *HonestworknftTransactor) SetTokenCap(opts *bind.TransactOpts, _tokenCap *big.Int) (*types.Transaction, error)

SetTokenCap is a paid mutator transaction binding the contract method 0x2854bc7e.

Solidity: function setTokenCap(uint256 _tokenCap) returns()

func (*HonestworknftTransactor) SetWhitelistRoot

func (_Honestworknft *HonestworknftTransactor) SetWhitelistRoot(opts *bind.TransactOpts, _root [32]byte) (*types.Transaction, error)

SetWhitelistRoot is a paid mutator transaction binding the contract method 0xf5aa406d.

Solidity: function setWhitelistRoot(bytes32 _root) returns()

func (*HonestworknftTransactor) TransferFrom

func (_Honestworknft *HonestworknftTransactor) 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 (*HonestworknftTransactor) TransferOwnership

func (_Honestworknft *HonestworknftTransactor) 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 (*HonestworknftTransactor) Unpause

func (_Honestworknft *HonestworknftTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*HonestworknftTransactor) UpgradeToken

func (_Honestworknft *HonestworknftTransactor) UpgradeToken(opts *bind.TransactOpts, _token common.Address, _levels *big.Int) (*types.Transaction, error)

UpgradeToken is a paid mutator transaction binding the contract method 0xc9abb2e9.

Solidity: function upgradeToken(address _token, uint256 _levels) returns()

func (*HonestworknftTransactor) WhitelistMint

func (_Honestworknft *HonestworknftTransactor) WhitelistMint(opts *bind.TransactOpts, _proof [][32]byte) (*types.Transaction, error)

WhitelistMint is a paid mutator transaction binding the contract method 0x372f657c.

Solidity: function whitelistMint(bytes32[] _proof) returns()

func (*HonestworknftTransactor) WhitelistToken

func (_Honestworknft *HonestworknftTransactor) WhitelistToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

WhitelistToken is a paid mutator transaction binding the contract method 0x6247f6f2.

Solidity: function whitelistToken(address _token) returns()

func (*HonestworknftTransactor) Withdraw

func (_Honestworknft *HonestworknftTransactor) Withdraw(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address _token, uint256 _amount) returns()

type HonestworknftTransactorRaw

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

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

func (*HonestworknftTransactorRaw) Transact

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

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

func (*HonestworknftTransactorRaw) Transfer

func (_Honestworknft *HonestworknftTransactorRaw) 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 HonestworknftTransactorSession

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

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

func (*HonestworknftTransactorSession) AdminMint

func (_Honestworknft *HonestworknftTransactorSession) AdminMint(_to common.Address, _tier *big.Int) (*types.Transaction, error)

AdminMint is a paid mutator transaction binding the contract method 0xe58306f9.

Solidity: function adminMint(address _to, uint256 _tier) returns()

func (*HonestworknftTransactorSession) Approve

func (_Honestworknft *HonestworknftTransactorSession) 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 (*HonestworknftTransactorSession) Pause

func (_Honestworknft *HonestworknftTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*HonestworknftTransactorSession) PublicMint

func (_Honestworknft *HonestworknftTransactorSession) PublicMint(_token common.Address) (*types.Transaction, error)

PublicMint is a paid mutator transaction binding the contract method 0x32a93a3a.

Solidity: function publicMint(address _token) returns()

func (*HonestworknftTransactorSession) RemoveWhitelistToken

func (_Honestworknft *HonestworknftTransactorSession) RemoveWhitelistToken(_token common.Address) (*types.Transaction, error)

RemoveWhitelistToken is a paid mutator transaction binding the contract method 0xe9ee9107.

Solidity: function removeWhitelistToken(address _token) returns()

func (*HonestworknftTransactorSession) RenounceOwnership

func (_Honestworknft *HonestworknftTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HonestworknftTransactorSession) SafeTransferFrom

func (_Honestworknft *HonestworknftTransactorSession) 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 (*HonestworknftTransactorSession) SafeTransferFrom0

func (_Honestworknft *HonestworknftTransactorSession) 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 (*HonestworknftTransactorSession) SetApprovalForAll

func (_Honestworknft *HonestworknftTransactorSession) 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 (*HonestworknftTransactorSession) SetBaseUri

func (_Honestworknft *HonestworknftTransactorSession) SetBaseUri(_baseUri string) (*types.Transaction, error)

SetBaseUri is a paid mutator transaction binding the contract method 0xa0bcfc7f.

Solidity: function setBaseUri(string _baseUri) returns()

func (*HonestworknftTransactorSession) SetTiers

func (_Honestworknft *HonestworknftTransactorSession) SetTiers(_tierOneFee *big.Int, _tierTwoFee *big.Int, _tierThreeFee *big.Int) (*types.Transaction, error)

SetTiers is a paid mutator transaction binding the contract method 0x0f8343e5.

Solidity: function setTiers(uint256 _tierOneFee, uint256 _tierTwoFee, uint256 _tierThreeFee) returns()

func (*HonestworknftTransactorSession) SetTokenCap

func (_Honestworknft *HonestworknftTransactorSession) SetTokenCap(_tokenCap *big.Int) (*types.Transaction, error)

SetTokenCap is a paid mutator transaction binding the contract method 0x2854bc7e.

Solidity: function setTokenCap(uint256 _tokenCap) returns()

func (*HonestworknftTransactorSession) SetWhitelistRoot

func (_Honestworknft *HonestworknftTransactorSession) SetWhitelistRoot(_root [32]byte) (*types.Transaction, error)

SetWhitelistRoot is a paid mutator transaction binding the contract method 0xf5aa406d.

Solidity: function setWhitelistRoot(bytes32 _root) returns()

func (*HonestworknftTransactorSession) TransferFrom

func (_Honestworknft *HonestworknftTransactorSession) 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 (*HonestworknftTransactorSession) TransferOwnership

func (_Honestworknft *HonestworknftTransactorSession) 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 (*HonestworknftTransactorSession) Unpause

func (_Honestworknft *HonestworknftTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*HonestworknftTransactorSession) UpgradeToken

func (_Honestworknft *HonestworknftTransactorSession) UpgradeToken(_token common.Address, _levels *big.Int) (*types.Transaction, error)

UpgradeToken is a paid mutator transaction binding the contract method 0xc9abb2e9.

Solidity: function upgradeToken(address _token, uint256 _levels) returns()

func (*HonestworknftTransactorSession) WhitelistMint

func (_Honestworknft *HonestworknftTransactorSession) WhitelistMint(_proof [][32]byte) (*types.Transaction, error)

WhitelistMint is a paid mutator transaction binding the contract method 0x372f657c.

Solidity: function whitelistMint(bytes32[] _proof) returns()

func (*HonestworknftTransactorSession) WhitelistToken

func (_Honestworknft *HonestworknftTransactorSession) WhitelistToken(_token common.Address) (*types.Transaction, error)

WhitelistToken is a paid mutator transaction binding the contract method 0x6247f6f2.

Solidity: function whitelistToken(address _token) returns()

func (*HonestworknftTransactorSession) Withdraw

func (_Honestworknft *HonestworknftTransactorSession) Withdraw(_token common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(address _token, uint256 _amount) returns()

type HonestworknftTransfer

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

HonestworknftTransfer represents a Transfer event raised by the Honestworknft contract.

type HonestworknftTransferIterator

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

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

func (*HonestworknftTransferIterator) Close

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

func (*HonestworknftTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HonestworknftTransferIterator) 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 HonestworknftUpgrade

type HonestworknftUpgrade struct {
	Id   *big.Int
	Tier *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

HonestworknftUpgrade represents a Upgrade event raised by the Honestworknft contract.

type HonestworknftUpgradeIterator

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

HonestworknftUpgradeIterator is returned from FilterUpgrade and is used to iterate over the raw logs and unpacked data for Upgrade events raised by the Honestworknft contract.

func (*HonestworknftUpgradeIterator) Close

func (it *HonestworknftUpgradeIterator) Close() error

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

func (*HonestworknftUpgradeIterator) Error

func (it *HonestworknftUpgradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HonestworknftUpgradeIterator) 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.

Jump to

Keyboard shortcuts

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