lens

package
v0.4.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressLensHandle = common.HexToAddress("0xe7E7EaD361f3AaCD73A61A9bD6C10cA17F38E945")
)
View Source
var LensHandleABI = LensHandleMetaData.ABI

LensHandleABI is the input ABI used to generate the binding from. Deprecated: Use LensHandleMetaData.ABI instead.

View Source
var LensHandleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"lensHub\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenGuardianCooldown\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyEnabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisablingAlreadyTriggered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardianEnabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HandleContainsInvalidCharacters\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HandleFirstCharInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HandleLengthInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParameter\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEOA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotHub\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotOwnerNorWhitelisted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyOwnerOrHub\",\"type\":\"error\"},{\"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\":\"string\",\"name\":\"handle\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"namespace\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"handleId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"HandleMinted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenGuardianDisablingTimestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"TokenGuardianStateChanged\",\"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\"},{\"inputs\":[],\"name\":\"DANGER__disableTokenGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LENS_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NAMESPACE\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NAMESPACE_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OWNER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TOKEN_GUARDIAN_COOLDOWN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableTokenGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"getHandle\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getLocalName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNamespace\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNamespaceHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"}],\"name\":\"getTokenGuardianDisablingTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"localName\",\"type\":\"string\"}],\"name\":\"getTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"localName\",\"type\":\"string\"}],\"name\":\"migrateHandle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"localName\",\"type\":\"string\"}],\"name\":\"mintHandle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salePrice\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"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\":\"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\":\"uint256\",\"name\":\"royaltiesInBasisPoints\",\"type\":\"uint256\"}],\"name\":\"setRoyalty\",\"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\":\"pure\",\"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\"}]",
}

LensHandleMetaData contains all meta data concerning the LensHandle contract.

Functions

This section is empty.

Types

type LensHandle

type LensHandle struct {
	LensHandleCaller     // Read-only binding to the contract
	LensHandleTransactor // Write-only binding to the contract
	LensHandleFilterer   // Log filterer for contract events
}

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

func NewLensHandle

func NewLensHandle(address common.Address, backend bind.ContractBackend) (*LensHandle, error)

NewLensHandle creates a new instance of LensHandle, bound to a specific deployed contract.

type LensHandleApproval

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

LensHandleApproval represents a Approval event raised by the LensHandle contract.

type LensHandleApprovalForAll

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

LensHandleApprovalForAll represents a ApprovalForAll event raised by the LensHandle contract.

type LensHandleApprovalForAllIterator

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

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

func (*LensHandleApprovalForAllIterator) Close

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

func (*LensHandleApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LensHandleApprovalForAllIterator) 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 LensHandleApprovalIterator

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

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

func (*LensHandleApprovalIterator) Close

func (it *LensHandleApprovalIterator) Close() error

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

func (*LensHandleApprovalIterator) Error

func (it *LensHandleApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LensHandleApprovalIterator) Next

func (it *LensHandleApprovalIterator) 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 LensHandleCaller

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

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

func NewLensHandleCaller

func NewLensHandleCaller(address common.Address, caller bind.ContractCaller) (*LensHandleCaller, error)

NewLensHandleCaller creates a new read-only instance of LensHandle, bound to a specific deployed contract.

func (*LensHandleCaller) BalanceOf

func (_LensHandle *LensHandleCaller) 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 (*LensHandleCaller) Exists

func (_LensHandle *LensHandleCaller) Exists(opts *bind.CallOpts, tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*LensHandleCaller) GetApproved

func (_LensHandle *LensHandleCaller) 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 (*LensHandleCaller) GetHandle

func (_LensHandle *LensHandleCaller) GetHandle(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetHandle is a free data retrieval call binding the contract method 0xec81d194.

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

func (*LensHandleCaller) GetLocalName

func (_LensHandle *LensHandleCaller) GetLocalName(opts *bind.CallOpts, tokenId *big.Int) (string, error)

GetLocalName is a free data retrieval call binding the contract method 0x4985e504.

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

func (*LensHandleCaller) GetNamespace

func (_LensHandle *LensHandleCaller) GetNamespace(opts *bind.CallOpts) (string, error)

GetNamespace is a free data retrieval call binding the contract method 0x27ac4b70.

Solidity: function getNamespace() pure returns(string)

func (*LensHandleCaller) GetNamespaceHash

func (_LensHandle *LensHandleCaller) GetNamespaceHash(opts *bind.CallOpts) ([32]byte, error)

GetNamespaceHash is a free data retrieval call binding the contract method 0xb16f1eef.

Solidity: function getNamespaceHash() pure returns(bytes32)

func (*LensHandleCaller) GetTokenGuardianDisablingTimestamp

func (_LensHandle *LensHandleCaller) GetTokenGuardianDisablingTimestamp(opts *bind.CallOpts, wallet common.Address) (*big.Int, error)

GetTokenGuardianDisablingTimestamp is a free data retrieval call binding the contract method 0xf3bc61f1.

Solidity: function getTokenGuardianDisablingTimestamp(address wallet) view returns(uint256)

func (*LensHandleCaller) GetTokenId

func (_LensHandle *LensHandleCaller) GetTokenId(opts *bind.CallOpts, localName string) (*big.Int, error)

GetTokenId is a free data retrieval call binding the contract method 0x1e7663bc.

Solidity: function getTokenId(string localName) pure returns(uint256)

func (*LensHandleCaller) IsApprovedForAll

func (_LensHandle *LensHandleCaller) 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 (*LensHandleCaller) LENSHUB

func (_LensHandle *LensHandleCaller) LENSHUB(opts *bind.CallOpts) (common.Address, error)

LENSHUB is a free data retrieval call binding the contract method 0x7bb9c89b.

Solidity: function LENS_HUB() view returns(address)

func (*LensHandleCaller) NAMESPACE

func (_LensHandle *LensHandleCaller) NAMESPACE(opts *bind.CallOpts) (string, error)

NAMESPACE is a free data retrieval call binding the contract method 0x44ba1fca.

Solidity: function NAMESPACE() view returns(string)

func (*LensHandleCaller) NAMESPACEHASH

func (_LensHandle *LensHandleCaller) NAMESPACEHASH(opts *bind.CallOpts) ([32]byte, error)

NAMESPACEHASH is a free data retrieval call binding the contract method 0x051fb218.

Solidity: function NAMESPACE_HASH() view returns(bytes32)

func (*LensHandleCaller) Name

func (_LensHandle *LensHandleCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() pure returns(string)

func (*LensHandleCaller) OWNER

func (_LensHandle *LensHandleCaller) OWNER(opts *bind.CallOpts) (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(address)

func (*LensHandleCaller) OwnerOf

func (_LensHandle *LensHandleCaller) 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 (*LensHandleCaller) RoyaltyInfo

func (_LensHandle *LensHandleCaller) RoyaltyInfo(opts *bind.CallOpts, tokenId *big.Int, salePrice *big.Int) (common.Address, *big.Int, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address, uint256)

func (*LensHandleCaller) SupportsInterface

func (_LensHandle *LensHandleCaller) 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 (*LensHandleCaller) Symbol

func (_LensHandle *LensHandleCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() pure returns(string)

func (*LensHandleCaller) TOKENGUARDIANCOOLDOWN

func (_LensHandle *LensHandleCaller) TOKENGUARDIANCOOLDOWN(opts *bind.CallOpts) (*big.Int, error)

TOKENGUARDIANCOOLDOWN is a free data retrieval call binding the contract method 0xa88fae83.

Solidity: function TOKEN_GUARDIAN_COOLDOWN() view returns(uint256)

func (*LensHandleCaller) TokenURI

func (_LensHandle *LensHandleCaller) 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 (*LensHandleCaller) TotalSupply

func (_LensHandle *LensHandleCaller) 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)

type LensHandleCallerRaw

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

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

func (*LensHandleCallerRaw) Call

func (_LensHandle *LensHandleCallerRaw) 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 LensHandleCallerSession

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

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

func (*LensHandleCallerSession) BalanceOf

func (_LensHandle *LensHandleCallerSession) 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 (*LensHandleCallerSession) Exists

func (_LensHandle *LensHandleCallerSession) Exists(tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*LensHandleCallerSession) GetApproved

func (_LensHandle *LensHandleCallerSession) 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 (*LensHandleCallerSession) GetHandle

func (_LensHandle *LensHandleCallerSession) GetHandle(tokenId *big.Int) (string, error)

GetHandle is a free data retrieval call binding the contract method 0xec81d194.

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

func (*LensHandleCallerSession) GetLocalName

func (_LensHandle *LensHandleCallerSession) GetLocalName(tokenId *big.Int) (string, error)

GetLocalName is a free data retrieval call binding the contract method 0x4985e504.

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

func (*LensHandleCallerSession) GetNamespace

func (_LensHandle *LensHandleCallerSession) GetNamespace() (string, error)

GetNamespace is a free data retrieval call binding the contract method 0x27ac4b70.

Solidity: function getNamespace() pure returns(string)

func (*LensHandleCallerSession) GetNamespaceHash

func (_LensHandle *LensHandleCallerSession) GetNamespaceHash() ([32]byte, error)

GetNamespaceHash is a free data retrieval call binding the contract method 0xb16f1eef.

Solidity: function getNamespaceHash() pure returns(bytes32)

func (*LensHandleCallerSession) GetTokenGuardianDisablingTimestamp

func (_LensHandle *LensHandleCallerSession) GetTokenGuardianDisablingTimestamp(wallet common.Address) (*big.Int, error)

GetTokenGuardianDisablingTimestamp is a free data retrieval call binding the contract method 0xf3bc61f1.

Solidity: function getTokenGuardianDisablingTimestamp(address wallet) view returns(uint256)

func (*LensHandleCallerSession) GetTokenId

func (_LensHandle *LensHandleCallerSession) GetTokenId(localName string) (*big.Int, error)

GetTokenId is a free data retrieval call binding the contract method 0x1e7663bc.

Solidity: function getTokenId(string localName) pure returns(uint256)

func (*LensHandleCallerSession) IsApprovedForAll

func (_LensHandle *LensHandleCallerSession) 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 (*LensHandleCallerSession) LENSHUB

func (_LensHandle *LensHandleCallerSession) LENSHUB() (common.Address, error)

LENSHUB is a free data retrieval call binding the contract method 0x7bb9c89b.

Solidity: function LENS_HUB() view returns(address)

func (*LensHandleCallerSession) NAMESPACE

func (_LensHandle *LensHandleCallerSession) NAMESPACE() (string, error)

NAMESPACE is a free data retrieval call binding the contract method 0x44ba1fca.

Solidity: function NAMESPACE() view returns(string)

func (*LensHandleCallerSession) NAMESPACEHASH

func (_LensHandle *LensHandleCallerSession) NAMESPACEHASH() ([32]byte, error)

NAMESPACEHASH is a free data retrieval call binding the contract method 0x051fb218.

Solidity: function NAMESPACE_HASH() view returns(bytes32)

func (*LensHandleCallerSession) Name

func (_LensHandle *LensHandleCallerSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*LensHandleCallerSession) OWNER

func (_LensHandle *LensHandleCallerSession) OWNER() (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(address)

func (*LensHandleCallerSession) OwnerOf

func (_LensHandle *LensHandleCallerSession) 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 (*LensHandleCallerSession) RoyaltyInfo

func (_LensHandle *LensHandleCallerSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (common.Address, *big.Int, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address, uint256)

func (*LensHandleCallerSession) SupportsInterface

func (_LensHandle *LensHandleCallerSession) 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 (*LensHandleCallerSession) Symbol

func (_LensHandle *LensHandleCallerSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*LensHandleCallerSession) TOKENGUARDIANCOOLDOWN

func (_LensHandle *LensHandleCallerSession) TOKENGUARDIANCOOLDOWN() (*big.Int, error)

TOKENGUARDIANCOOLDOWN is a free data retrieval call binding the contract method 0xa88fae83.

Solidity: function TOKEN_GUARDIAN_COOLDOWN() view returns(uint256)

func (*LensHandleCallerSession) TokenURI

func (_LensHandle *LensHandleCallerSession) 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 (*LensHandleCallerSession) TotalSupply

func (_LensHandle *LensHandleCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type LensHandleFilterer

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

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

func NewLensHandleFilterer

func NewLensHandleFilterer(address common.Address, filterer bind.ContractFilterer) (*LensHandleFilterer, error)

NewLensHandleFilterer creates a new log filterer instance of LensHandle, bound to a specific deployed contract.

func (*LensHandleFilterer) FilterApproval

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

func (_LensHandle *LensHandleFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*LensHandleApprovalForAllIterator, 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 (*LensHandleFilterer) FilterHandleMinted

func (_LensHandle *LensHandleFilterer) FilterHandleMinted(opts *bind.FilterOpts) (*LensHandleHandleMintedIterator, error)

FilterHandleMinted is a free log retrieval operation binding the contract event 0x30a132e912787e50de6193fe56a96ea6188c0bbf676679d630a25d3293c3e19a.

Solidity: event HandleMinted(string handle, string namespace, uint256 handleId, address to, uint256 timestamp)

func (*LensHandleFilterer) FilterTokenGuardianStateChanged

func (_LensHandle *LensHandleFilterer) FilterTokenGuardianStateChanged(opts *bind.FilterOpts, wallet []common.Address, enabled []bool) (*LensHandleTokenGuardianStateChangedIterator, error)

FilterTokenGuardianStateChanged is a free log retrieval operation binding the contract event 0x035adf3bbe16b317cf4a3e05c966ea6571d1af00147c5f121bd1514b1e322a06.

Solidity: event TokenGuardianStateChanged(address indexed wallet, bool indexed enabled, uint256 tokenGuardianDisablingTimestamp, uint256 timestamp)

func (*LensHandleFilterer) FilterTransfer

func (_LensHandle *LensHandleFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*LensHandleTransferIterator, 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 (*LensHandleFilterer) ParseApproval

func (_LensHandle *LensHandleFilterer) ParseApproval(log types.Log) (*LensHandleApproval, 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 (*LensHandleFilterer) ParseApprovalForAll

func (_LensHandle *LensHandleFilterer) ParseApprovalForAll(log types.Log) (*LensHandleApprovalForAll, error)

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

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

func (*LensHandleFilterer) ParseHandleMinted

func (_LensHandle *LensHandleFilterer) ParseHandleMinted(log types.Log) (*LensHandleHandleMinted, error)

ParseHandleMinted is a log parse operation binding the contract event 0x30a132e912787e50de6193fe56a96ea6188c0bbf676679d630a25d3293c3e19a.

Solidity: event HandleMinted(string handle, string namespace, uint256 handleId, address to, uint256 timestamp)

func (*LensHandleFilterer) ParseTokenGuardianStateChanged

func (_LensHandle *LensHandleFilterer) ParseTokenGuardianStateChanged(log types.Log) (*LensHandleTokenGuardianStateChanged, error)

ParseTokenGuardianStateChanged is a log parse operation binding the contract event 0x035adf3bbe16b317cf4a3e05c966ea6571d1af00147c5f121bd1514b1e322a06.

Solidity: event TokenGuardianStateChanged(address indexed wallet, bool indexed enabled, uint256 tokenGuardianDisablingTimestamp, uint256 timestamp)

func (*LensHandleFilterer) ParseTransfer

func (_LensHandle *LensHandleFilterer) ParseTransfer(log types.Log) (*LensHandleTransfer, 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 (*LensHandleFilterer) WatchApproval

func (_LensHandle *LensHandleFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LensHandleApproval, 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 (*LensHandleFilterer) WatchApprovalForAll

func (_LensHandle *LensHandleFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *LensHandleApprovalForAll, 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 (*LensHandleFilterer) WatchHandleMinted

func (_LensHandle *LensHandleFilterer) WatchHandleMinted(opts *bind.WatchOpts, sink chan<- *LensHandleHandleMinted) (event.Subscription, error)

WatchHandleMinted is a free log subscription operation binding the contract event 0x30a132e912787e50de6193fe56a96ea6188c0bbf676679d630a25d3293c3e19a.

Solidity: event HandleMinted(string handle, string namespace, uint256 handleId, address to, uint256 timestamp)

func (*LensHandleFilterer) WatchTokenGuardianStateChanged

func (_LensHandle *LensHandleFilterer) WatchTokenGuardianStateChanged(opts *bind.WatchOpts, sink chan<- *LensHandleTokenGuardianStateChanged, wallet []common.Address, enabled []bool) (event.Subscription, error)

WatchTokenGuardianStateChanged is a free log subscription operation binding the contract event 0x035adf3bbe16b317cf4a3e05c966ea6571d1af00147c5f121bd1514b1e322a06.

Solidity: event TokenGuardianStateChanged(address indexed wallet, bool indexed enabled, uint256 tokenGuardianDisablingTimestamp, uint256 timestamp)

func (*LensHandleFilterer) WatchTransfer

func (_LensHandle *LensHandleFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LensHandleTransfer, 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)

type LensHandleHandleMinted

type LensHandleHandleMinted struct {
	Handle    string
	Namespace string
	HandleId  *big.Int
	To        common.Address
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

LensHandleHandleMinted represents a HandleMinted event raised by the LensHandle contract.

type LensHandleHandleMintedIterator

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

LensHandleHandleMintedIterator is returned from FilterHandleMinted and is used to iterate over the raw logs and unpacked data for HandleMinted events raised by the LensHandle contract.

func (*LensHandleHandleMintedIterator) Close

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

func (*LensHandleHandleMintedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LensHandleHandleMintedIterator) 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 LensHandleRaw

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

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

func (*LensHandleRaw) Call

func (_LensHandle *LensHandleRaw) 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 (*LensHandleRaw) Transact

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

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

func (*LensHandleRaw) Transfer

func (_LensHandle *LensHandleRaw) 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 LensHandleSession

type LensHandleSession struct {
	Contract     *LensHandle       // 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
}

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

func (*LensHandleSession) Approve

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) BalanceOf

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) Burn

func (_LensHandle *LensHandleSession) Burn(tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) returns()

func (*LensHandleSession) DANGERDisableTokenGuardian

func (_LensHandle *LensHandleSession) DANGERDisableTokenGuardian() (*types.Transaction, error)

DANGERDisableTokenGuardian is a paid mutator transaction binding the contract method 0x2248f76d.

Solidity: function DANGER__disableTokenGuardian() returns()

func (*LensHandleSession) EnableTokenGuardian

func (_LensHandle *LensHandleSession) EnableTokenGuardian() (*types.Transaction, error)

EnableTokenGuardian is a paid mutator transaction binding the contract method 0x1e9df673.

Solidity: function enableTokenGuardian() returns()

func (*LensHandleSession) Exists

func (_LensHandle *LensHandleSession) Exists(tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*LensHandleSession) GetApproved

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) GetHandle

func (_LensHandle *LensHandleSession) GetHandle(tokenId *big.Int) (string, error)

GetHandle is a free data retrieval call binding the contract method 0xec81d194.

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

func (*LensHandleSession) GetLocalName

func (_LensHandle *LensHandleSession) GetLocalName(tokenId *big.Int) (string, error)

GetLocalName is a free data retrieval call binding the contract method 0x4985e504.

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

func (*LensHandleSession) GetNamespace

func (_LensHandle *LensHandleSession) GetNamespace() (string, error)

GetNamespace is a free data retrieval call binding the contract method 0x27ac4b70.

Solidity: function getNamespace() pure returns(string)

func (*LensHandleSession) GetNamespaceHash

func (_LensHandle *LensHandleSession) GetNamespaceHash() ([32]byte, error)

GetNamespaceHash is a free data retrieval call binding the contract method 0xb16f1eef.

Solidity: function getNamespaceHash() pure returns(bytes32)

func (*LensHandleSession) GetTokenGuardianDisablingTimestamp

func (_LensHandle *LensHandleSession) GetTokenGuardianDisablingTimestamp(wallet common.Address) (*big.Int, error)

GetTokenGuardianDisablingTimestamp is a free data retrieval call binding the contract method 0xf3bc61f1.

Solidity: function getTokenGuardianDisablingTimestamp(address wallet) view returns(uint256)

func (*LensHandleSession) GetTokenId

func (_LensHandle *LensHandleSession) GetTokenId(localName string) (*big.Int, error)

GetTokenId is a free data retrieval call binding the contract method 0x1e7663bc.

Solidity: function getTokenId(string localName) pure returns(uint256)

func (*LensHandleSession) IsApprovedForAll

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) LENSHUB

func (_LensHandle *LensHandleSession) LENSHUB() (common.Address, error)

LENSHUB is a free data retrieval call binding the contract method 0x7bb9c89b.

Solidity: function LENS_HUB() view returns(address)

func (*LensHandleSession) MigrateHandle

func (_LensHandle *LensHandleSession) MigrateHandle(to common.Address, localName string) (*types.Transaction, error)

MigrateHandle is a paid mutator transaction binding the contract method 0x5993bc26.

Solidity: function migrateHandle(address to, string localName) returns(uint256)

func (*LensHandleSession) MintHandle

func (_LensHandle *LensHandleSession) MintHandle(to common.Address, localName string) (*types.Transaction, error)

MintHandle is a paid mutator transaction binding the contract method 0xf08e8f5e.

Solidity: function mintHandle(address to, string localName) returns(uint256)

func (*LensHandleSession) NAMESPACE

func (_LensHandle *LensHandleSession) NAMESPACE() (string, error)

NAMESPACE is a free data retrieval call binding the contract method 0x44ba1fca.

Solidity: function NAMESPACE() view returns(string)

func (*LensHandleSession) NAMESPACEHASH

func (_LensHandle *LensHandleSession) NAMESPACEHASH() ([32]byte, error)

NAMESPACEHASH is a free data retrieval call binding the contract method 0x051fb218.

Solidity: function NAMESPACE_HASH() view returns(bytes32)

func (*LensHandleSession) Name

func (_LensHandle *LensHandleSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*LensHandleSession) OWNER

func (_LensHandle *LensHandleSession) OWNER() (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(address)

func (*LensHandleSession) OwnerOf

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) RoyaltyInfo

func (_LensHandle *LensHandleSession) RoyaltyInfo(tokenId *big.Int, salePrice *big.Int) (common.Address, *big.Int, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 tokenId, uint256 salePrice) view returns(address, uint256)

func (*LensHandleSession) SafeTransferFrom

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) SafeTransferFrom0

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) SetApprovalForAll

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) SetRoyalty

func (_LensHandle *LensHandleSession) SetRoyalty(royaltiesInBasisPoints *big.Int) (*types.Transaction, error)

SetRoyalty is a paid mutator transaction binding the contract method 0x4209a2e1.

Solidity: function setRoyalty(uint256 royaltiesInBasisPoints) returns()

func (*LensHandleSession) SupportsInterface

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) Symbol

func (_LensHandle *LensHandleSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*LensHandleSession) TOKENGUARDIANCOOLDOWN

func (_LensHandle *LensHandleSession) TOKENGUARDIANCOOLDOWN() (*big.Int, error)

TOKENGUARDIANCOOLDOWN is a free data retrieval call binding the contract method 0xa88fae83.

Solidity: function TOKEN_GUARDIAN_COOLDOWN() view returns(uint256)

func (*LensHandleSession) TokenURI

func (_LensHandle *LensHandleSession) 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 (*LensHandleSession) TotalSupply

func (_LensHandle *LensHandleSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*LensHandleSession) TransferFrom

func (_LensHandle *LensHandleSession) 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()

type LensHandleTokenGuardianStateChanged

type LensHandleTokenGuardianStateChanged struct {
	Wallet                          common.Address
	Enabled                         bool
	TokenGuardianDisablingTimestamp *big.Int
	Timestamp                       *big.Int
	Raw                             types.Log // Blockchain specific contextual infos
}

LensHandleTokenGuardianStateChanged represents a TokenGuardianStateChanged event raised by the LensHandle contract.

type LensHandleTokenGuardianStateChangedIterator

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

LensHandleTokenGuardianStateChangedIterator is returned from FilterTokenGuardianStateChanged and is used to iterate over the raw logs and unpacked data for TokenGuardianStateChanged events raised by the LensHandle contract.

func (*LensHandleTokenGuardianStateChangedIterator) Close

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

func (*LensHandleTokenGuardianStateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LensHandleTokenGuardianStateChangedIterator) 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 LensHandleTransactor

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

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

func NewLensHandleTransactor

func NewLensHandleTransactor(address common.Address, transactor bind.ContractTransactor) (*LensHandleTransactor, error)

NewLensHandleTransactor creates a new write-only instance of LensHandle, bound to a specific deployed contract.

func (*LensHandleTransactor) Approve

func (_LensHandle *LensHandleTransactor) 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 (*LensHandleTransactor) Burn

func (_LensHandle *LensHandleTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) returns()

func (*LensHandleTransactor) DANGERDisableTokenGuardian

func (_LensHandle *LensHandleTransactor) DANGERDisableTokenGuardian(opts *bind.TransactOpts) (*types.Transaction, error)

DANGERDisableTokenGuardian is a paid mutator transaction binding the contract method 0x2248f76d.

Solidity: function DANGER__disableTokenGuardian() returns()

func (*LensHandleTransactor) EnableTokenGuardian

func (_LensHandle *LensHandleTransactor) EnableTokenGuardian(opts *bind.TransactOpts) (*types.Transaction, error)

EnableTokenGuardian is a paid mutator transaction binding the contract method 0x1e9df673.

Solidity: function enableTokenGuardian() returns()

func (*LensHandleTransactor) MigrateHandle

func (_LensHandle *LensHandleTransactor) MigrateHandle(opts *bind.TransactOpts, to common.Address, localName string) (*types.Transaction, error)

MigrateHandle is a paid mutator transaction binding the contract method 0x5993bc26.

Solidity: function migrateHandle(address to, string localName) returns(uint256)

func (*LensHandleTransactor) MintHandle

func (_LensHandle *LensHandleTransactor) MintHandle(opts *bind.TransactOpts, to common.Address, localName string) (*types.Transaction, error)

MintHandle is a paid mutator transaction binding the contract method 0xf08e8f5e.

Solidity: function mintHandle(address to, string localName) returns(uint256)

func (*LensHandleTransactor) SafeTransferFrom

func (_LensHandle *LensHandleTransactor) 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 (*LensHandleTransactor) SafeTransferFrom0

func (_LensHandle *LensHandleTransactor) 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 (*LensHandleTransactor) SetApprovalForAll

func (_LensHandle *LensHandleTransactor) 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 (*LensHandleTransactor) SetRoyalty

func (_LensHandle *LensHandleTransactor) SetRoyalty(opts *bind.TransactOpts, royaltiesInBasisPoints *big.Int) (*types.Transaction, error)

SetRoyalty is a paid mutator transaction binding the contract method 0x4209a2e1.

Solidity: function setRoyalty(uint256 royaltiesInBasisPoints) returns()

func (*LensHandleTransactor) TransferFrom

func (_LensHandle *LensHandleTransactor) 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()

type LensHandleTransactorRaw

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

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

func (*LensHandleTransactorRaw) Transact

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

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

func (*LensHandleTransactorRaw) Transfer

func (_LensHandle *LensHandleTransactorRaw) 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 LensHandleTransactorSession

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

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

func (*LensHandleTransactorSession) Approve

func (_LensHandle *LensHandleTransactorSession) 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 (*LensHandleTransactorSession) Burn

func (_LensHandle *LensHandleTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) returns()

func (*LensHandleTransactorSession) DANGERDisableTokenGuardian

func (_LensHandle *LensHandleTransactorSession) DANGERDisableTokenGuardian() (*types.Transaction, error)

DANGERDisableTokenGuardian is a paid mutator transaction binding the contract method 0x2248f76d.

Solidity: function DANGER__disableTokenGuardian() returns()

func (*LensHandleTransactorSession) EnableTokenGuardian

func (_LensHandle *LensHandleTransactorSession) EnableTokenGuardian() (*types.Transaction, error)

EnableTokenGuardian is a paid mutator transaction binding the contract method 0x1e9df673.

Solidity: function enableTokenGuardian() returns()

func (*LensHandleTransactorSession) MigrateHandle

func (_LensHandle *LensHandleTransactorSession) MigrateHandle(to common.Address, localName string) (*types.Transaction, error)

MigrateHandle is a paid mutator transaction binding the contract method 0x5993bc26.

Solidity: function migrateHandle(address to, string localName) returns(uint256)

func (*LensHandleTransactorSession) MintHandle

func (_LensHandle *LensHandleTransactorSession) MintHandle(to common.Address, localName string) (*types.Transaction, error)

MintHandle is a paid mutator transaction binding the contract method 0xf08e8f5e.

Solidity: function mintHandle(address to, string localName) returns(uint256)

func (*LensHandleTransactorSession) SafeTransferFrom

func (_LensHandle *LensHandleTransactorSession) 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 (*LensHandleTransactorSession) SafeTransferFrom0

func (_LensHandle *LensHandleTransactorSession) 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 (*LensHandleTransactorSession) SetApprovalForAll

func (_LensHandle *LensHandleTransactorSession) 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 (*LensHandleTransactorSession) SetRoyalty

func (_LensHandle *LensHandleTransactorSession) SetRoyalty(royaltiesInBasisPoints *big.Int) (*types.Transaction, error)

SetRoyalty is a paid mutator transaction binding the contract method 0x4209a2e1.

Solidity: function setRoyalty(uint256 royaltiesInBasisPoints) returns()

func (*LensHandleTransactorSession) TransferFrom

func (_LensHandle *LensHandleTransactorSession) 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()

type LensHandleTransfer

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

LensHandleTransfer represents a Transfer event raised by the LensHandle contract.

type LensHandleTransferIterator

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

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

func (*LensHandleTransferIterator) Close

func (it *LensHandleTransferIterator) Close() error

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

func (*LensHandleTransferIterator) Error

func (it *LensHandleTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LensHandleTransferIterator) Next

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