build

package
v0.0.0-...-9a83fbb Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnsoulABI = EnsoulMetaData.ABI

EnsoulABI is the input ABI used to generate the binding from. Deprecated: Use EnsoulMetaData.ABI instead.

View Source
var EnsoulMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"AddOrgAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Allow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"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\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"RemoveOrgAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"RevokeAllow\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MINT_TO_BATCH_ADDRESS_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"addOrgAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"allow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIdList\",\"type\":\"uint256[]\"}],\"name\":\"allowBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"burnBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_tokenURI\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_contractURI\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"isAllow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"mintBySignature\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toList\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mintToBatchAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toList\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"mintToBatchAddressBySignature\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"orgAdmins\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"revokeAllow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIdList\",\"type\":\"uint256[]\"}],\"name\":\"revokeAllowBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"revokeOrgAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"contractURI_\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newName\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newuri\",\"type\":\"string\"}],\"name\":\"setURI\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"usedSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

EnsoulMetaData contains all meta data concerning the Ensoul contract.

Functions

This section is empty.

Types

type Ensoul

type Ensoul struct {
	EnsoulCaller     // Read-only binding to the contract
	EnsoulTransactor // Write-only binding to the contract
	EnsoulFilterer   // Log filterer for contract events
}

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

func NewEnsoul

func NewEnsoul(address common.Address, backend bind.ContractBackend) (*Ensoul, error)

NewEnsoul creates a new instance of Ensoul, bound to a specific deployed contract.

type EnsoulAddOrgAdmin

type EnsoulAddOrgAdmin struct {
	Owner common.Address
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

EnsoulAddOrgAdmin represents a AddOrgAdmin event raised by the Ensoul contract.

type EnsoulAddOrgAdminIterator

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

EnsoulAddOrgAdminIterator is returned from FilterAddOrgAdmin and is used to iterate over the raw logs and unpacked data for AddOrgAdmin events raised by the Ensoul contract.

func (*EnsoulAddOrgAdminIterator) Close

func (it *EnsoulAddOrgAdminIterator) Close() error

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

func (*EnsoulAddOrgAdminIterator) Error

func (it *EnsoulAddOrgAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulAddOrgAdminIterator) Next

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

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

EnsoulAllow represents a Allow event raised by the Ensoul contract.

type EnsoulAllowIterator

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

EnsoulAllowIterator is returned from FilterAllow and is used to iterate over the raw logs and unpacked data for Allow events raised by the Ensoul contract.

func (*EnsoulAllowIterator) Close

func (it *EnsoulAllowIterator) Close() error

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

func (*EnsoulAllowIterator) Error

func (it *EnsoulAllowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulAllowIterator) Next

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

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

EnsoulApprovalForAll represents a ApprovalForAll event raised by the Ensoul contract.

type EnsoulApprovalForAllIterator

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

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

func (*EnsoulApprovalForAllIterator) Close

func (it *EnsoulApprovalForAllIterator) Close() error

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

func (*EnsoulApprovalForAllIterator) Error

func (it *EnsoulApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulApprovalForAllIterator) 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 EnsoulCaller

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

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

func NewEnsoulCaller

func NewEnsoulCaller(address common.Address, caller bind.ContractCaller) (*EnsoulCaller, error)

NewEnsoulCaller creates a new read-only instance of Ensoul, bound to a specific deployed contract.

func (*EnsoulCaller) BalanceOf

func (_Ensoul *EnsoulCaller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*EnsoulCaller) BalanceOfBatch

func (_Ensoul *EnsoulCaller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*EnsoulCaller) ContractURI

func (_Ensoul *EnsoulCaller) ContractURI(opts *bind.CallOpts) (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() view returns(string)

func (*EnsoulCaller) Exists

func (_Ensoul *EnsoulCaller) Exists(opts *bind.CallOpts, id *big.Int) (bool, error)

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

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

func (*EnsoulCaller) IsAllow

func (_Ensoul *EnsoulCaller) IsAllow(opts *bind.CallOpts, sender common.Address, tokenId *big.Int) (bool, error)

IsAllow is a free data retrieval call binding the contract method 0xc3b165a0.

Solidity: function isAllow(address sender, uint256 tokenId) view returns(bool)

func (*EnsoulCaller) IsApprovedForAll

func (_Ensoul *EnsoulCaller) IsApprovedForAll(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

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

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

func (*EnsoulCaller) MINTTOBATCHADDRESSTYPEHASH

func (_Ensoul *EnsoulCaller) MINTTOBATCHADDRESSTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

MINTTOBATCHADDRESSTYPEHASH is a free data retrieval call binding the contract method 0xd0587324.

Solidity: function MINT_TO_BATCH_ADDRESS_TYPEHASH() view returns(bytes32)

func (*EnsoulCaller) MINTTYPEHASH

func (_Ensoul *EnsoulCaller) MINTTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

MINTTYPEHASH is a free data retrieval call binding the contract method 0xf76fc35e.

Solidity: function MINT_TYPEHASH() view returns(bytes32)

func (*EnsoulCaller) Name

func (_Ensoul *EnsoulCaller) 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 (*EnsoulCaller) OrgAdmins

func (_Ensoul *EnsoulCaller) OrgAdmins(opts *bind.CallOpts, arg0 common.Address) (bool, error)

OrgAdmins is a free data retrieval call binding the contract method 0x2da582fd.

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

func (*EnsoulCaller) Owner

func (_Ensoul *EnsoulCaller) 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 (*EnsoulCaller) Paused

func (_Ensoul *EnsoulCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*EnsoulCaller) SupportsInterface

func (_Ensoul *EnsoulCaller) 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 (*EnsoulCaller) TotalSupply

func (_Ensoul *EnsoulCaller) TotalSupply(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

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

Solidity: function totalSupply(uint256 id) view returns(uint256)

func (*EnsoulCaller) Uri

func (_Ensoul *EnsoulCaller) Uri(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

func (*EnsoulCaller) UsedSignature

func (_Ensoul *EnsoulCaller) UsedSignature(opts *bind.CallOpts, v uint8, r [32]byte, s [32]byte) (bool, error)

UsedSignature is a free data retrieval call binding the contract method 0xf9afb455.

Solidity: function usedSignature(uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*EnsoulCaller) Version

func (_Ensoul *EnsoulCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(string)

type EnsoulCallerRaw

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

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

func (*EnsoulCallerRaw) Call

func (_Ensoul *EnsoulCallerRaw) 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 EnsoulCallerSession

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

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

func (*EnsoulCallerSession) BalanceOf

func (_Ensoul *EnsoulCallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*EnsoulCallerSession) BalanceOfBatch

func (_Ensoul *EnsoulCallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*EnsoulCallerSession) ContractURI

func (_Ensoul *EnsoulCallerSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() view returns(string)

func (*EnsoulCallerSession) Exists

func (_Ensoul *EnsoulCallerSession) Exists(id *big.Int) (bool, error)

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

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

func (*EnsoulCallerSession) IsAllow

func (_Ensoul *EnsoulCallerSession) IsAllow(sender common.Address, tokenId *big.Int) (bool, error)

IsAllow is a free data retrieval call binding the contract method 0xc3b165a0.

Solidity: function isAllow(address sender, uint256 tokenId) view returns(bool)

func (*EnsoulCallerSession) IsApprovedForAll

func (_Ensoul *EnsoulCallerSession) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error)

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

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

func (*EnsoulCallerSession) MINTTOBATCHADDRESSTYPEHASH

func (_Ensoul *EnsoulCallerSession) MINTTOBATCHADDRESSTYPEHASH() ([32]byte, error)

MINTTOBATCHADDRESSTYPEHASH is a free data retrieval call binding the contract method 0xd0587324.

Solidity: function MINT_TO_BATCH_ADDRESS_TYPEHASH() view returns(bytes32)

func (*EnsoulCallerSession) MINTTYPEHASH

func (_Ensoul *EnsoulCallerSession) MINTTYPEHASH() ([32]byte, error)

MINTTYPEHASH is a free data retrieval call binding the contract method 0xf76fc35e.

Solidity: function MINT_TYPEHASH() view returns(bytes32)

func (*EnsoulCallerSession) Name

func (_Ensoul *EnsoulCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*EnsoulCallerSession) OrgAdmins

func (_Ensoul *EnsoulCallerSession) OrgAdmins(arg0 common.Address) (bool, error)

OrgAdmins is a free data retrieval call binding the contract method 0x2da582fd.

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

func (*EnsoulCallerSession) Owner

func (_Ensoul *EnsoulCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*EnsoulCallerSession) Paused

func (_Ensoul *EnsoulCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*EnsoulCallerSession) SupportsInterface

func (_Ensoul *EnsoulCallerSession) 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 (*EnsoulCallerSession) TotalSupply

func (_Ensoul *EnsoulCallerSession) TotalSupply(id *big.Int) (*big.Int, error)

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

Solidity: function totalSupply(uint256 id) view returns(uint256)

func (*EnsoulCallerSession) Uri

func (_Ensoul *EnsoulCallerSession) Uri(arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

func (*EnsoulCallerSession) UsedSignature

func (_Ensoul *EnsoulCallerSession) UsedSignature(v uint8, r [32]byte, s [32]byte) (bool, error)

UsedSignature is a free data retrieval call binding the contract method 0xf9afb455.

Solidity: function usedSignature(uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*EnsoulCallerSession) Version

func (_Ensoul *EnsoulCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(string)

type EnsoulFilterer

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

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

func NewEnsoulFilterer

func NewEnsoulFilterer(address common.Address, filterer bind.ContractFilterer) (*EnsoulFilterer, error)

NewEnsoulFilterer creates a new log filterer instance of Ensoul, bound to a specific deployed contract.

func (*EnsoulFilterer) FilterAddOrgAdmin

func (_Ensoul *EnsoulFilterer) FilterAddOrgAdmin(opts *bind.FilterOpts, owner []common.Address) (*EnsoulAddOrgAdminIterator, error)

FilterAddOrgAdmin is a free log retrieval operation binding the contract event 0x0946149fadb373d97c89d42bf92bd205ec9e2d04eead514b56103b6b37e38e8c.

Solidity: event AddOrgAdmin(address indexed owner, address admin)

func (*EnsoulFilterer) FilterAllow

func (_Ensoul *EnsoulFilterer) FilterAllow(opts *bind.FilterOpts) (*EnsoulAllowIterator, error)

FilterAllow is a free log retrieval operation binding the contract event 0x887d9984e762f92db7d8e62204192cc636432b470e181f49d117b7e8ac8c0505.

Solidity: event Allow(address from, address to, uint256 tokenId)

func (*EnsoulFilterer) FilterApprovalForAll

func (_Ensoul *EnsoulFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*EnsoulApprovalForAllIterator, error)

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

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

func (*EnsoulFilterer) FilterOwnershipTransferred

func (_Ensoul *EnsoulFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*EnsoulOwnershipTransferredIterator, error)

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

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

func (*EnsoulFilterer) FilterPaused

func (_Ensoul *EnsoulFilterer) FilterPaused(opts *bind.FilterOpts) (*EnsoulPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*EnsoulFilterer) FilterRemoveOrgAdmin

func (_Ensoul *EnsoulFilterer) FilterRemoveOrgAdmin(opts *bind.FilterOpts, owner []common.Address) (*EnsoulRemoveOrgAdminIterator, error)

FilterRemoveOrgAdmin is a free log retrieval operation binding the contract event 0x8acadb026d2aa97ceec2fb8432e6f98ad2702d6e0a97796a25a4debf07eada26.

Solidity: event RemoveOrgAdmin(address indexed owner, address admin)

func (*EnsoulFilterer) FilterRevokeAllow

func (_Ensoul *EnsoulFilterer) FilterRevokeAllow(opts *bind.FilterOpts) (*EnsoulRevokeAllowIterator, error)

FilterRevokeAllow is a free log retrieval operation binding the contract event 0xf8a9f575a23431b5f500265d7b6ece4d082e77854c4e6f656fc26a5365a47212.

Solidity: event RevokeAllow(address from, address to, uint256 tokenId)

func (*EnsoulFilterer) FilterTransferBatch

func (_Ensoul *EnsoulFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*EnsoulTransferBatchIterator, error)

FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*EnsoulFilterer) FilterTransferSingle

func (_Ensoul *EnsoulFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*EnsoulTransferSingleIterator, error)

FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*EnsoulFilterer) FilterURI

func (_Ensoul *EnsoulFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*EnsoulURIIterator, error)

FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*EnsoulFilterer) FilterUnpaused

func (_Ensoul *EnsoulFilterer) FilterUnpaused(opts *bind.FilterOpts) (*EnsoulUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*EnsoulFilterer) ParseAddOrgAdmin

func (_Ensoul *EnsoulFilterer) ParseAddOrgAdmin(log types.Log) (*EnsoulAddOrgAdmin, error)

ParseAddOrgAdmin is a log parse operation binding the contract event 0x0946149fadb373d97c89d42bf92bd205ec9e2d04eead514b56103b6b37e38e8c.

Solidity: event AddOrgAdmin(address indexed owner, address admin)

func (*EnsoulFilterer) ParseAllow

func (_Ensoul *EnsoulFilterer) ParseAllow(log types.Log) (*EnsoulAllow, error)

ParseAllow is a log parse operation binding the contract event 0x887d9984e762f92db7d8e62204192cc636432b470e181f49d117b7e8ac8c0505.

Solidity: event Allow(address from, address to, uint256 tokenId)

func (*EnsoulFilterer) ParseApprovalForAll

func (_Ensoul *EnsoulFilterer) ParseApprovalForAll(log types.Log) (*EnsoulApprovalForAll, error)

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

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

func (*EnsoulFilterer) ParseOwnershipTransferred

func (_Ensoul *EnsoulFilterer) ParseOwnershipTransferred(log types.Log) (*EnsoulOwnershipTransferred, error)

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

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

func (*EnsoulFilterer) ParsePaused

func (_Ensoul *EnsoulFilterer) ParsePaused(log types.Log) (*EnsoulPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*EnsoulFilterer) ParseRemoveOrgAdmin

func (_Ensoul *EnsoulFilterer) ParseRemoveOrgAdmin(log types.Log) (*EnsoulRemoveOrgAdmin, error)

ParseRemoveOrgAdmin is a log parse operation binding the contract event 0x8acadb026d2aa97ceec2fb8432e6f98ad2702d6e0a97796a25a4debf07eada26.

Solidity: event RemoveOrgAdmin(address indexed owner, address admin)

func (*EnsoulFilterer) ParseRevokeAllow

func (_Ensoul *EnsoulFilterer) ParseRevokeAllow(log types.Log) (*EnsoulRevokeAllow, error)

ParseRevokeAllow is a log parse operation binding the contract event 0xf8a9f575a23431b5f500265d7b6ece4d082e77854c4e6f656fc26a5365a47212.

Solidity: event RevokeAllow(address from, address to, uint256 tokenId)

func (*EnsoulFilterer) ParseTransferBatch

func (_Ensoul *EnsoulFilterer) ParseTransferBatch(log types.Log) (*EnsoulTransferBatch, error)

ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*EnsoulFilterer) ParseTransferSingle

func (_Ensoul *EnsoulFilterer) ParseTransferSingle(log types.Log) (*EnsoulTransferSingle, error)

ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*EnsoulFilterer) ParseURI

func (_Ensoul *EnsoulFilterer) ParseURI(log types.Log) (*EnsoulURI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*EnsoulFilterer) ParseUnpaused

func (_Ensoul *EnsoulFilterer) ParseUnpaused(log types.Log) (*EnsoulUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*EnsoulFilterer) WatchAddOrgAdmin

func (_Ensoul *EnsoulFilterer) WatchAddOrgAdmin(opts *bind.WatchOpts, sink chan<- *EnsoulAddOrgAdmin, owner []common.Address) (event.Subscription, error)

WatchAddOrgAdmin is a free log subscription operation binding the contract event 0x0946149fadb373d97c89d42bf92bd205ec9e2d04eead514b56103b6b37e38e8c.

Solidity: event AddOrgAdmin(address indexed owner, address admin)

func (*EnsoulFilterer) WatchAllow

func (_Ensoul *EnsoulFilterer) WatchAllow(opts *bind.WatchOpts, sink chan<- *EnsoulAllow) (event.Subscription, error)

WatchAllow is a free log subscription operation binding the contract event 0x887d9984e762f92db7d8e62204192cc636432b470e181f49d117b7e8ac8c0505.

Solidity: event Allow(address from, address to, uint256 tokenId)

func (*EnsoulFilterer) WatchApprovalForAll

func (_Ensoul *EnsoulFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *EnsoulApprovalForAll, account []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 account, address indexed operator, bool approved)

func (*EnsoulFilterer) WatchOwnershipTransferred

func (_Ensoul *EnsoulFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *EnsoulOwnershipTransferred, 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 (*EnsoulFilterer) WatchPaused

func (_Ensoul *EnsoulFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *EnsoulPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*EnsoulFilterer) WatchRemoveOrgAdmin

func (_Ensoul *EnsoulFilterer) WatchRemoveOrgAdmin(opts *bind.WatchOpts, sink chan<- *EnsoulRemoveOrgAdmin, owner []common.Address) (event.Subscription, error)

WatchRemoveOrgAdmin is a free log subscription operation binding the contract event 0x8acadb026d2aa97ceec2fb8432e6f98ad2702d6e0a97796a25a4debf07eada26.

Solidity: event RemoveOrgAdmin(address indexed owner, address admin)

func (*EnsoulFilterer) WatchRevokeAllow

func (_Ensoul *EnsoulFilterer) WatchRevokeAllow(opts *bind.WatchOpts, sink chan<- *EnsoulRevokeAllow) (event.Subscription, error)

WatchRevokeAllow is a free log subscription operation binding the contract event 0xf8a9f575a23431b5f500265d7b6ece4d082e77854c4e6f656fc26a5365a47212.

Solidity: event RevokeAllow(address from, address to, uint256 tokenId)

func (*EnsoulFilterer) WatchTransferBatch

func (_Ensoul *EnsoulFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *EnsoulTransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*EnsoulFilterer) WatchTransferSingle

func (_Ensoul *EnsoulFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *EnsoulTransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*EnsoulFilterer) WatchURI

func (_Ensoul *EnsoulFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *EnsoulURI, id []*big.Int) (event.Subscription, error)

WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*EnsoulFilterer) WatchUnpaused

func (_Ensoul *EnsoulFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *EnsoulUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type EnsoulOwnershipTransferred

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

EnsoulOwnershipTransferred represents a OwnershipTransferred event raised by the Ensoul contract.

type EnsoulOwnershipTransferredIterator

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

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

func (*EnsoulOwnershipTransferredIterator) Close

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

func (*EnsoulOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulOwnershipTransferredIterator) 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 EnsoulPaused

type EnsoulPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

EnsoulPaused represents a Paused event raised by the Ensoul contract.

type EnsoulPausedIterator

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

EnsoulPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Ensoul contract.

func (*EnsoulPausedIterator) Close

func (it *EnsoulPausedIterator) Close() error

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

func (*EnsoulPausedIterator) Error

func (it *EnsoulPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulPausedIterator) Next

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

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

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

func (*EnsoulRaw) Call

func (_Ensoul *EnsoulRaw) 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 (*EnsoulRaw) Transact

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

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

func (*EnsoulRaw) Transfer

func (_Ensoul *EnsoulRaw) 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 EnsoulRemoveOrgAdmin

type EnsoulRemoveOrgAdmin struct {
	Owner common.Address
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

EnsoulRemoveOrgAdmin represents a RemoveOrgAdmin event raised by the Ensoul contract.

type EnsoulRemoveOrgAdminIterator

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

EnsoulRemoveOrgAdminIterator is returned from FilterRemoveOrgAdmin and is used to iterate over the raw logs and unpacked data for RemoveOrgAdmin events raised by the Ensoul contract.

func (*EnsoulRemoveOrgAdminIterator) Close

func (it *EnsoulRemoveOrgAdminIterator) Close() error

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

func (*EnsoulRemoveOrgAdminIterator) Error

func (it *EnsoulRemoveOrgAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulRemoveOrgAdminIterator) 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 EnsoulRevokeAllow

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

EnsoulRevokeAllow represents a RevokeAllow event raised by the Ensoul contract.

type EnsoulRevokeAllowIterator

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

EnsoulRevokeAllowIterator is returned from FilterRevokeAllow and is used to iterate over the raw logs and unpacked data for RevokeAllow events raised by the Ensoul contract.

func (*EnsoulRevokeAllowIterator) Close

func (it *EnsoulRevokeAllowIterator) Close() error

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

func (*EnsoulRevokeAllowIterator) Error

func (it *EnsoulRevokeAllowIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulRevokeAllowIterator) Next

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

type EnsoulSession struct {
	Contract     *Ensoul           // 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
}

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

func (*EnsoulSession) AddOrgAdmin

func (_Ensoul *EnsoulSession) AddOrgAdmin(admin common.Address) (*types.Transaction, error)

AddOrgAdmin is a paid mutator transaction binding the contract method 0xfdab306e.

Solidity: function addOrgAdmin(address admin) returns()

func (*EnsoulSession) Allow

func (_Ensoul *EnsoulSession) Allow(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Allow is a paid mutator transaction binding the contract method 0x6c6f31f2.

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

func (*EnsoulSession) AllowBatch

func (_Ensoul *EnsoulSession) AllowBatch(toList []common.Address, tokenIdList []*big.Int) (*types.Transaction, error)

AllowBatch is a paid mutator transaction binding the contract method 0xf22b975e.

Solidity: function allowBatch(address[] toList, uint256[] tokenIdList) returns()

func (*EnsoulSession) BalanceOf

func (_Ensoul *EnsoulSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*EnsoulSession) BalanceOfBatch

func (_Ensoul *EnsoulSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*EnsoulSession) Burn

func (_Ensoul *EnsoulSession) Burn(id *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 id, uint256 amount) returns()

func (*EnsoulSession) BurnBatch

func (_Ensoul *EnsoulSession) BurnBatch(ids []*big.Int, amounts []*big.Int) (*types.Transaction, error)

BurnBatch is a paid mutator transaction binding the contract method 0x83ca4b6f.

Solidity: function burnBatch(uint256[] ids, uint256[] amounts) returns()

func (*EnsoulSession) ContractURI

func (_Ensoul *EnsoulSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() view returns(string)

func (*EnsoulSession) Exists

func (_Ensoul *EnsoulSession) Exists(id *big.Int) (bool, error)

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

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

func (*EnsoulSession) Initialize

func (_Ensoul *EnsoulSession) Initialize(_owner common.Address, _tokenURI string, _contractURI string, _name string) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x5f1e6f6d.

Solidity: function initialize(address _owner, string _tokenURI, string _contractURI, string _name) returns()

func (*EnsoulSession) IsAllow

func (_Ensoul *EnsoulSession) IsAllow(sender common.Address, tokenId *big.Int) (bool, error)

IsAllow is a free data retrieval call binding the contract method 0xc3b165a0.

Solidity: function isAllow(address sender, uint256 tokenId) view returns(bool)

func (*EnsoulSession) IsApprovedForAll

func (_Ensoul *EnsoulSession) IsApprovedForAll(arg0 common.Address, arg1 common.Address) (bool, error)

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

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

func (*EnsoulSession) MINTTOBATCHADDRESSTYPEHASH

func (_Ensoul *EnsoulSession) MINTTOBATCHADDRESSTYPEHASH() ([32]byte, error)

MINTTOBATCHADDRESSTYPEHASH is a free data retrieval call binding the contract method 0xd0587324.

Solidity: function MINT_TO_BATCH_ADDRESS_TYPEHASH() view returns(bytes32)

func (*EnsoulSession) MINTTYPEHASH

func (_Ensoul *EnsoulSession) MINTTYPEHASH() ([32]byte, error)

MINTTYPEHASH is a free data retrieval call binding the contract method 0xf76fc35e.

Solidity: function MINT_TYPEHASH() view returns(bytes32)

func (*EnsoulSession) Mint

func (_Ensoul *EnsoulSession) Mint(account common.Address, id *big.Int, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x156e29f6.

Solidity: function mint(address account, uint256 id, uint256 amount) returns()

func (*EnsoulSession) MintBySignature

func (_Ensoul *EnsoulSession) MintBySignature(to common.Address, tokenId *big.Int, amount *big.Int, expiration *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

MintBySignature is a paid mutator transaction binding the contract method 0x13b4e6a2.

Solidity: function mintBySignature(address to, uint256 tokenId, uint256 amount, uint256 expiration, uint8 v, bytes32 r, bytes32 s) returns()

func (*EnsoulSession) MintToBatchAddress

func (_Ensoul *EnsoulSession) MintToBatchAddress(toList []common.Address, tokenId *big.Int, amount *big.Int) (*types.Transaction, error)

MintToBatchAddress is a paid mutator transaction binding the contract method 0x1b99a310.

Solidity: function mintToBatchAddress(address[] toList, uint256 tokenId, uint256 amount) returns()

func (*EnsoulSession) MintToBatchAddressBySignature

func (_Ensoul *EnsoulSession) MintToBatchAddressBySignature(toList []common.Address, tokenId *big.Int, amount *big.Int, expiration *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

MintToBatchAddressBySignature is a paid mutator transaction binding the contract method 0xf2485310.

Solidity: function mintToBatchAddressBySignature(address[] toList, uint256 tokenId, uint256 amount, uint256 expiration, uint8 v, bytes32 r, bytes32 s) returns()

func (*EnsoulSession) Name

func (_Ensoul *EnsoulSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*EnsoulSession) OrgAdmins

func (_Ensoul *EnsoulSession) OrgAdmins(arg0 common.Address) (bool, error)

OrgAdmins is a free data retrieval call binding the contract method 0x2da582fd.

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

func (*EnsoulSession) Owner

func (_Ensoul *EnsoulSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*EnsoulSession) Pause

func (_Ensoul *EnsoulSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*EnsoulSession) Paused

func (_Ensoul *EnsoulSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*EnsoulSession) RenounceOwnership

func (_Ensoul *EnsoulSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*EnsoulSession) RevokeAllow

func (_Ensoul *EnsoulSession) RevokeAllow(to common.Address, tokenId *big.Int) (*types.Transaction, error)

RevokeAllow is a paid mutator transaction binding the contract method 0xcabaed72.

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

func (*EnsoulSession) RevokeAllowBatch

func (_Ensoul *EnsoulSession) RevokeAllowBatch(toList []common.Address, tokenIdList []*big.Int) (*types.Transaction, error)

RevokeAllowBatch is a paid mutator transaction binding the contract method 0x23c854ba.

Solidity: function revokeAllowBatch(address[] toList, uint256[] tokenIdList) returns()

func (*EnsoulSession) RevokeOrgAdmin

func (_Ensoul *EnsoulSession) RevokeOrgAdmin(admin common.Address) (*types.Transaction, error)

RevokeOrgAdmin is a paid mutator transaction binding the contract method 0xeb918fde.

Solidity: function revokeOrgAdmin(address admin) returns()

func (*EnsoulSession) SafeBatchTransferFrom

func (_Ensoul *EnsoulSession) SafeBatchTransferFrom(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address , address , uint256[] , uint256[] , bytes ) returns()

func (*EnsoulSession) SafeTransferFrom

func (_Ensoul *EnsoulSession) SafeTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address , address , uint256 , uint256 , bytes ) returns()

func (*EnsoulSession) SetApprovalForAll

func (_Ensoul *EnsoulSession) SetApprovalForAll(arg0 common.Address, arg1 bool) (*types.Transaction, error)

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

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

func (*EnsoulSession) SetContractURI

func (_Ensoul *EnsoulSession) SetContractURI(contractURI_ string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string contractURI_) returns()

func (*EnsoulSession) SetName

func (_Ensoul *EnsoulSession) SetName(newName string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(string newName) returns()

func (*EnsoulSession) SetURI

func (_Ensoul *EnsoulSession) SetURI(newuri string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x02fe5305.

Solidity: function setURI(string newuri) returns()

func (*EnsoulSession) SupportsInterface

func (_Ensoul *EnsoulSession) 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 (*EnsoulSession) TotalSupply

func (_Ensoul *EnsoulSession) TotalSupply(id *big.Int) (*big.Int, error)

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

Solidity: function totalSupply(uint256 id) view returns(uint256)

func (*EnsoulSession) TransferOwnership

func (_Ensoul *EnsoulSession) 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 (*EnsoulSession) Unpause

func (_Ensoul *EnsoulSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*EnsoulSession) Uri

func (_Ensoul *EnsoulSession) Uri(arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

func (*EnsoulSession) UsedSignature

func (_Ensoul *EnsoulSession) UsedSignature(v uint8, r [32]byte, s [32]byte) (bool, error)

UsedSignature is a free data retrieval call binding the contract method 0xf9afb455.

Solidity: function usedSignature(uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*EnsoulSession) Version

func (_Ensoul *EnsoulSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() pure returns(string)

type EnsoulTransactor

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

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

func NewEnsoulTransactor

func NewEnsoulTransactor(address common.Address, transactor bind.ContractTransactor) (*EnsoulTransactor, error)

NewEnsoulTransactor creates a new write-only instance of Ensoul, bound to a specific deployed contract.

func (*EnsoulTransactor) AddOrgAdmin

func (_Ensoul *EnsoulTransactor) AddOrgAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)

AddOrgAdmin is a paid mutator transaction binding the contract method 0xfdab306e.

Solidity: function addOrgAdmin(address admin) returns()

func (*EnsoulTransactor) Allow

func (_Ensoul *EnsoulTransactor) Allow(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Allow is a paid mutator transaction binding the contract method 0x6c6f31f2.

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

func (*EnsoulTransactor) AllowBatch

func (_Ensoul *EnsoulTransactor) AllowBatch(opts *bind.TransactOpts, toList []common.Address, tokenIdList []*big.Int) (*types.Transaction, error)

AllowBatch is a paid mutator transaction binding the contract method 0xf22b975e.

Solidity: function allowBatch(address[] toList, uint256[] tokenIdList) returns()

func (*EnsoulTransactor) Burn

func (_Ensoul *EnsoulTransactor) Burn(opts *bind.TransactOpts, id *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 id, uint256 amount) returns()

func (*EnsoulTransactor) BurnBatch

func (_Ensoul *EnsoulTransactor) BurnBatch(opts *bind.TransactOpts, ids []*big.Int, amounts []*big.Int) (*types.Transaction, error)

BurnBatch is a paid mutator transaction binding the contract method 0x83ca4b6f.

Solidity: function burnBatch(uint256[] ids, uint256[] amounts) returns()

func (*EnsoulTransactor) Initialize

func (_Ensoul *EnsoulTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address, _tokenURI string, _contractURI string, _name string) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x5f1e6f6d.

Solidity: function initialize(address _owner, string _tokenURI, string _contractURI, string _name) returns()

func (*EnsoulTransactor) Mint

func (_Ensoul *EnsoulTransactor) Mint(opts *bind.TransactOpts, account common.Address, id *big.Int, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x156e29f6.

Solidity: function mint(address account, uint256 id, uint256 amount) returns()

func (*EnsoulTransactor) MintBySignature

func (_Ensoul *EnsoulTransactor) MintBySignature(opts *bind.TransactOpts, to common.Address, tokenId *big.Int, amount *big.Int, expiration *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

MintBySignature is a paid mutator transaction binding the contract method 0x13b4e6a2.

Solidity: function mintBySignature(address to, uint256 tokenId, uint256 amount, uint256 expiration, uint8 v, bytes32 r, bytes32 s) returns()

func (*EnsoulTransactor) MintToBatchAddress

func (_Ensoul *EnsoulTransactor) MintToBatchAddress(opts *bind.TransactOpts, toList []common.Address, tokenId *big.Int, amount *big.Int) (*types.Transaction, error)

MintToBatchAddress is a paid mutator transaction binding the contract method 0x1b99a310.

Solidity: function mintToBatchAddress(address[] toList, uint256 tokenId, uint256 amount) returns()

func (*EnsoulTransactor) MintToBatchAddressBySignature

func (_Ensoul *EnsoulTransactor) MintToBatchAddressBySignature(opts *bind.TransactOpts, toList []common.Address, tokenId *big.Int, amount *big.Int, expiration *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

MintToBatchAddressBySignature is a paid mutator transaction binding the contract method 0xf2485310.

Solidity: function mintToBatchAddressBySignature(address[] toList, uint256 tokenId, uint256 amount, uint256 expiration, uint8 v, bytes32 r, bytes32 s) returns()

func (*EnsoulTransactor) Pause

func (_Ensoul *EnsoulTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*EnsoulTransactor) RenounceOwnership

func (_Ensoul *EnsoulTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*EnsoulTransactor) RevokeAllow

func (_Ensoul *EnsoulTransactor) RevokeAllow(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

RevokeAllow is a paid mutator transaction binding the contract method 0xcabaed72.

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

func (*EnsoulTransactor) RevokeAllowBatch

func (_Ensoul *EnsoulTransactor) RevokeAllowBatch(opts *bind.TransactOpts, toList []common.Address, tokenIdList []*big.Int) (*types.Transaction, error)

RevokeAllowBatch is a paid mutator transaction binding the contract method 0x23c854ba.

Solidity: function revokeAllowBatch(address[] toList, uint256[] tokenIdList) returns()

func (*EnsoulTransactor) RevokeOrgAdmin

func (_Ensoul *EnsoulTransactor) RevokeOrgAdmin(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)

RevokeOrgAdmin is a paid mutator transaction binding the contract method 0xeb918fde.

Solidity: function revokeOrgAdmin(address admin) returns()

func (*EnsoulTransactor) SafeBatchTransferFrom

func (_Ensoul *EnsoulTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address , address , uint256[] , uint256[] , bytes ) returns()

func (*EnsoulTransactor) SafeTransferFrom

func (_Ensoul *EnsoulTransactor) SafeTransferFrom(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address , address , uint256 , uint256 , bytes ) returns()

func (*EnsoulTransactor) SetApprovalForAll

func (_Ensoul *EnsoulTransactor) SetApprovalForAll(opts *bind.TransactOpts, arg0 common.Address, arg1 bool) (*types.Transaction, error)

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

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

func (*EnsoulTransactor) SetContractURI

func (_Ensoul *EnsoulTransactor) SetContractURI(opts *bind.TransactOpts, contractURI_ string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string contractURI_) returns()

func (*EnsoulTransactor) SetName

func (_Ensoul *EnsoulTransactor) SetName(opts *bind.TransactOpts, newName string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(string newName) returns()

func (*EnsoulTransactor) SetURI

func (_Ensoul *EnsoulTransactor) SetURI(opts *bind.TransactOpts, newuri string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x02fe5305.

Solidity: function setURI(string newuri) returns()

func (*EnsoulTransactor) TransferOwnership

func (_Ensoul *EnsoulTransactor) 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 (*EnsoulTransactor) Unpause

func (_Ensoul *EnsoulTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type EnsoulTransactorRaw

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

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

func (*EnsoulTransactorRaw) Transact

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

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

func (*EnsoulTransactorRaw) Transfer

func (_Ensoul *EnsoulTransactorRaw) 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 EnsoulTransactorSession

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

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

func (*EnsoulTransactorSession) AddOrgAdmin

func (_Ensoul *EnsoulTransactorSession) AddOrgAdmin(admin common.Address) (*types.Transaction, error)

AddOrgAdmin is a paid mutator transaction binding the contract method 0xfdab306e.

Solidity: function addOrgAdmin(address admin) returns()

func (*EnsoulTransactorSession) Allow

func (_Ensoul *EnsoulTransactorSession) Allow(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Allow is a paid mutator transaction binding the contract method 0x6c6f31f2.

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

func (*EnsoulTransactorSession) AllowBatch

func (_Ensoul *EnsoulTransactorSession) AllowBatch(toList []common.Address, tokenIdList []*big.Int) (*types.Transaction, error)

AllowBatch is a paid mutator transaction binding the contract method 0xf22b975e.

Solidity: function allowBatch(address[] toList, uint256[] tokenIdList) returns()

func (*EnsoulTransactorSession) Burn

func (_Ensoul *EnsoulTransactorSession) Burn(id *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 id, uint256 amount) returns()

func (*EnsoulTransactorSession) BurnBatch

func (_Ensoul *EnsoulTransactorSession) BurnBatch(ids []*big.Int, amounts []*big.Int) (*types.Transaction, error)

BurnBatch is a paid mutator transaction binding the contract method 0x83ca4b6f.

Solidity: function burnBatch(uint256[] ids, uint256[] amounts) returns()

func (*EnsoulTransactorSession) Initialize

func (_Ensoul *EnsoulTransactorSession) Initialize(_owner common.Address, _tokenURI string, _contractURI string, _name string) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x5f1e6f6d.

Solidity: function initialize(address _owner, string _tokenURI, string _contractURI, string _name) returns()

func (*EnsoulTransactorSession) Mint

func (_Ensoul *EnsoulTransactorSession) Mint(account common.Address, id *big.Int, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x156e29f6.

Solidity: function mint(address account, uint256 id, uint256 amount) returns()

func (*EnsoulTransactorSession) MintBySignature

func (_Ensoul *EnsoulTransactorSession) MintBySignature(to common.Address, tokenId *big.Int, amount *big.Int, expiration *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

MintBySignature is a paid mutator transaction binding the contract method 0x13b4e6a2.

Solidity: function mintBySignature(address to, uint256 tokenId, uint256 amount, uint256 expiration, uint8 v, bytes32 r, bytes32 s) returns()

func (*EnsoulTransactorSession) MintToBatchAddress

func (_Ensoul *EnsoulTransactorSession) MintToBatchAddress(toList []common.Address, tokenId *big.Int, amount *big.Int) (*types.Transaction, error)

MintToBatchAddress is a paid mutator transaction binding the contract method 0x1b99a310.

Solidity: function mintToBatchAddress(address[] toList, uint256 tokenId, uint256 amount) returns()

func (*EnsoulTransactorSession) MintToBatchAddressBySignature

func (_Ensoul *EnsoulTransactorSession) MintToBatchAddressBySignature(toList []common.Address, tokenId *big.Int, amount *big.Int, expiration *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

MintToBatchAddressBySignature is a paid mutator transaction binding the contract method 0xf2485310.

Solidity: function mintToBatchAddressBySignature(address[] toList, uint256 tokenId, uint256 amount, uint256 expiration, uint8 v, bytes32 r, bytes32 s) returns()

func (*EnsoulTransactorSession) Pause

func (_Ensoul *EnsoulTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*EnsoulTransactorSession) RenounceOwnership

func (_Ensoul *EnsoulTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*EnsoulTransactorSession) RevokeAllow

func (_Ensoul *EnsoulTransactorSession) RevokeAllow(to common.Address, tokenId *big.Int) (*types.Transaction, error)

RevokeAllow is a paid mutator transaction binding the contract method 0xcabaed72.

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

func (*EnsoulTransactorSession) RevokeAllowBatch

func (_Ensoul *EnsoulTransactorSession) RevokeAllowBatch(toList []common.Address, tokenIdList []*big.Int) (*types.Transaction, error)

RevokeAllowBatch is a paid mutator transaction binding the contract method 0x23c854ba.

Solidity: function revokeAllowBatch(address[] toList, uint256[] tokenIdList) returns()

func (*EnsoulTransactorSession) RevokeOrgAdmin

func (_Ensoul *EnsoulTransactorSession) RevokeOrgAdmin(admin common.Address) (*types.Transaction, error)

RevokeOrgAdmin is a paid mutator transaction binding the contract method 0xeb918fde.

Solidity: function revokeOrgAdmin(address admin) returns()

func (*EnsoulTransactorSession) SafeBatchTransferFrom

func (_Ensoul *EnsoulTransactorSession) SafeBatchTransferFrom(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address , address , uint256[] , uint256[] , bytes ) returns()

func (*EnsoulTransactorSession) SafeTransferFrom

func (_Ensoul *EnsoulTransactorSession) SafeTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

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

Solidity: function safeTransferFrom(address , address , uint256 , uint256 , bytes ) returns()

func (*EnsoulTransactorSession) SetApprovalForAll

func (_Ensoul *EnsoulTransactorSession) SetApprovalForAll(arg0 common.Address, arg1 bool) (*types.Transaction, error)

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

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

func (*EnsoulTransactorSession) SetContractURI

func (_Ensoul *EnsoulTransactorSession) SetContractURI(contractURI_ string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string contractURI_) returns()

func (*EnsoulTransactorSession) SetName

func (_Ensoul *EnsoulTransactorSession) SetName(newName string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0xc47f0027.

Solidity: function setName(string newName) returns()

func (*EnsoulTransactorSession) SetURI

func (_Ensoul *EnsoulTransactorSession) SetURI(newuri string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x02fe5305.

Solidity: function setURI(string newuri) returns()

func (*EnsoulTransactorSession) TransferOwnership

func (_Ensoul *EnsoulTransactorSession) 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 (*EnsoulTransactorSession) Unpause

func (_Ensoul *EnsoulTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type EnsoulTransferBatch

type EnsoulTransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

EnsoulTransferBatch represents a TransferBatch event raised by the Ensoul contract.

type EnsoulTransferBatchIterator

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

EnsoulTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Ensoul contract.

func (*EnsoulTransferBatchIterator) Close

func (it *EnsoulTransferBatchIterator) Close() error

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

func (*EnsoulTransferBatchIterator) Error

func (it *EnsoulTransferBatchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulTransferBatchIterator) Next

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

type EnsoulTransferSingle struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Id       *big.Int
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

EnsoulTransferSingle represents a TransferSingle event raised by the Ensoul contract.

type EnsoulTransferSingleIterator

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

EnsoulTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Ensoul contract.

func (*EnsoulTransferSingleIterator) Close

func (it *EnsoulTransferSingleIterator) Close() error

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

func (*EnsoulTransferSingleIterator) Error

func (it *EnsoulTransferSingleIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulTransferSingleIterator) 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 EnsoulURI

type EnsoulURI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

EnsoulURI represents a URI event raised by the Ensoul contract.

type EnsoulURIIterator

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

EnsoulURIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Ensoul contract.

func (*EnsoulURIIterator) Close

func (it *EnsoulURIIterator) Close() error

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

func (*EnsoulURIIterator) Error

func (it *EnsoulURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulURIIterator) Next

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

type EnsoulUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

EnsoulUnpaused represents a Unpaused event raised by the Ensoul contract.

type EnsoulUnpausedIterator

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

EnsoulUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Ensoul contract.

func (*EnsoulUnpausedIterator) Close

func (it *EnsoulUnpausedIterator) Close() error

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

func (*EnsoulUnpausedIterator) Error

func (it *EnsoulUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EnsoulUnpausedIterator) Next

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