abi

package
v1.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoinABI = CoinMetaData.ABI

CoinABI is the input ABI used to generate the binding from. Deprecated: Use CoinMetaData.ABI instead.

View Source
var CoinMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_controlCenter\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_trustedForwarder\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"}],\"name\":\"RestrictedTransferUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_URI\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_restrictedTransfer\",\"type\":\"bool\"}],\"name\":\"setRestrictedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transfersRestricted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CoinMetaData contains all meta data concerning the Coin contract.

View Source
var CurrencyABI = CurrencyMetaData.ABI

CurrencyABI is the input ABI used to generate the binding from. Deprecated: Use CurrencyMetaData.ABI instead.

View Source
var CurrencyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_controlCenter\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_trustedForwarder\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"}],\"name\":\"RestrictedTransferUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_URI\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_restrictedTransfer\",\"type\":\"bool\"}],\"name\":\"setRestrictedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transfersRestricted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CurrencyMetaData contains all meta data concerning the Currency contract.

View Source
var ERC1155ABI = ERC1155MetaData.ABI

ERC1155ABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155MetaData.ABI instead.

View Source
var ERC1155MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uri_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"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\"},{\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"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\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ERC1155MetaData contains all meta data concerning the ERC1155 contract.

View Source
var ERC165ABI = ERC165MetaData.ABI

ERC165ABI is the input ABI used to generate the binding from. Deprecated: Use ERC165MetaData.ABI instead.

View Source
var ERC165MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ERC165MetaData contains all meta data concerning the ERC165 contract.

View Source
var ERC20ABI = ERC20MetaData.ABI

ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.

View Source
var ERC20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"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\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ERC20MetaData contains all meta data concerning the ERC20 contract.

View Source
var ERC721ABI = ERC721MetaData.ABI

ERC721ABI is the input ABI used to generate the binding from. Deprecated: Use ERC721MetaData.ABI instead.

View Source
var ERC721MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":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\":[{\"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\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\"}]",
}

ERC721MetaData contains all meta data concerning the ERC721 contract.

View Source
var MarketABI = MarketMetaData.ABI

MarketABI is the input ABI used to generate the binding from. Deprecated: Use MarketMetaData.ABI instead.

View Source
var MarketMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_controlCenter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_trustedForwarder\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"indexed\":false,\"internalType\":\"structMarket.Listing\",\"name\":\"listing\",\"type\":\"tuple\"}],\"name\":\"ListingUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"newFee\",\"type\":\"uint128\"}],\"name\":\"MarketFeeUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"indexed\":false,\"internalType\":\"structMarket.Listing\",\"name\":\"listing\",\"type\":\"tuple\"}],\"name\":\"NewListing\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"indexed\":false,\"internalType\":\"structMarket.Listing\",\"name\":\"listing\",\"type\":\"tuple\"}],\"name\":\"NewSale\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"restricted\",\"type\":\"bool\"}],\"name\":\"RestrictedListerRoleUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LISTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_listingId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_quantity\",\"type\":\"uint256\"}],\"name\":\"addToListing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"boughtFromListing\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_listingId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_quantity\",\"type\":\"uint256\"}],\"name\":\"buy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllListings\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.Listing[]\",\"name\":\"allListings\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_listingId\",\"type\":\"uint256\"}],\"name\":\"getListing\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.Listing\",\"name\":\"listing\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getListingsByAsset\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.Listing[]\",\"name\":\"tokenListings\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_assetContract\",\"type\":\"address\"}],\"name\":\"getListingsByAssetContract\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.Listing[]\",\"name\":\"tokenListings\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_seller\",\"type\":\"address\"}],\"name\":\"getListingsBySeller\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.Listing[]\",\"name\":\"sellerListings\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_quantity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_secondsUntilStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_secondsUntilEnd\",\"type\":\"uint256\"}],\"name\":\"list\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"listings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saleEnd\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"enumMarket.TokenType\",\"name\":\"tokenType\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"marketFeeBps\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"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\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"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\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"restrictedListerRoleOnly\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_URI\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"feeBps\",\"type\":\"uint128\"}],\"name\":\"setMarketFeeBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"restricted\",\"type\":\"bool\"}],\"name\":\"setRestrictedListerRoleOnly\",\"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\":\"totalListings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_listingId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_quantity\",\"type\":\"uint256\"}],\"name\":\"unlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_listingId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_pricePerToken\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokensPerBuyer\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_secondsUntilStart\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_secondsUntilEnd\",\"type\":\"uint256\"}],\"name\":\"updateListingParams\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MarketMetaData contains all meta data concerning the Market contract.

View Source
var NFTABI = NFTMetaData.ABI

NFTABI is the input ABI used to generate the binding from. Deprecated: Use NFTMetaData.ABI instead.

View Source
var NFTCollectionABI = NFTCollectionMetaData.ABI

NFTCollectionABI is the input ABI used to generate the binding from. Deprecated: Use NFTCollectionMetaData.ABI instead.

View Source
var NFTCollectionMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_controlCenter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_trustedForwarder\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"redeemer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sourceOfUnderlying\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenAmountReceived\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sharesRedeemed\",\"type\":\"uint256\"}],\"name\":\"ERC20Redeemed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sourceOfUnderlying\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmountOfUnderlying\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"}],\"name\":\"ERC20WrappedToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"redeemer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sourceOfUnderlying\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenIdOfUnderlying\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721Redeemed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sourceOfUnderlying\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenIdOfUnderlying\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"}],\"name\":\"ERC721WrappedToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"tokenURIs\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenSupplies\",\"type\":\"uint256[]\"}],\"name\":\"NativeTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"}],\"name\":\"RestrictedTransferUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"royaltyBps\",\"type\":\"uint256\"}],\"name\":\"RoyaltyUpdated\",\"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\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"burnBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"_nftURIs\",\"type\":\"string[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_nftSupplies\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"createNativeTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"nftIds\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_nftId\",\"type\":\"uint256\"}],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"erc20WrappedTokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"source\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"underlyingTokenAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"erc721WrappedTokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"source\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mintBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"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\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_nftId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"redeemERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_nftId\",\"type\":\"uint256\"}],\"name\":\"redeemERC721\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"royaltyBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salePrice\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"royaltyAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_URI\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_restrictedTransfer\",\"type\":\"bool\"}],\"name\":\"setRestrictedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_royaltyBps\",\"type\":\"uint256\"}],\"name\":\"setRoyaltyBps\",\"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\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenState\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"enumNFTCollection.UnderlyingType\",\"name\":\"underlyingType\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_nftId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transfersRestricted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_nftId\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_numOfNftsToMint\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_nftURI\",\"type\":\"string\"}],\"name\":\"wrapERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_nftContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_nftURI\",\"type\":\"string\"}],\"name\":\"wrapERC721\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

NFTCollectionMetaData contains all meta data concerning the NFTCollection contract.

View Source
var NFTMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_controlCenter\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_trustedForwarder\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"tokenURI\",\"type\":\"string[]\"}],\"name\":\"MintedBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"}],\"name\":\"RestrictedTransferUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"royaltyBps\",\"type\":\"uint256\"}],\"name\":\"RoyaltyUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"name\":\"mintNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"_uris\",\"type\":\"string[]\"}],\"name\":\"mintNFTBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nftURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"royaltyBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salePrice\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"royaltyAmount\",\"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\":\"string\",\"name\":\"_URI\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_restrictedTransfer\",\"type\":\"bool\"}],\"name\":\"setRestrictedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_royaltyBps\",\"type\":\"uint256\"}],\"name\":\"setRoyaltyBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transfersRestricted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

NFTMetaData contains all meta data concerning the NFT contract.

View Source
var PackABI = PackMetaData.ABI

PackABI is the input ABI used to generate the binding from. Deprecated: Use PackMetaData.ABI instead.

View Source
var PackMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_controlCenter\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_vrfCoordinator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_linkToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_keyHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_fees\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_trustedForwarder\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"uint256\",\"name\":\"packId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"packTotalSupply\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"openStart\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structPack.PackState\",\"name\":\"packState\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"source\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsPacked\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"rewardsPerOpen\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structPack.Rewards\",\"name\":\"rewards\",\"type\":\"tuple\"}],\"name\":\"PackCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"packId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"opener\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"rewardIds\",\"type\":\"uint256[]\"}],\"name\":\"PackOpenFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"packId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"opener\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"PackOpenRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"}],\"name\":\"RestrictedTransferUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"royaltyBps\",\"type\":\"uint256\"}],\"name\":\"RoyaltyUpdated\",\"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\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"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\":\"_packId\",\"type\":\"uint256\"}],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"currentRequestId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_packId\",\"type\":\"uint256\"}],\"name\":\"getPack\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"openStart\",\"type\":\"uint256\"}],\"internalType\":\"structPack.PackState\",\"name\":\"pack\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_packId\",\"type\":\"uint256\"}],\"name\":\"getPackWithRewards\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"openStart\",\"type\":\"uint256\"}],\"internalType\":\"structPack.PackState\",\"name\":\"pack\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"packTotalSupply\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"source\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsPacked\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"mintBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"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\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_packId\",\"type\":\"uint256\"}],\"name\":\"openPack\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"packs\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"openStart\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"randomnessRequests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"packId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"opener\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"randomness\",\"type\":\"uint256\"}],\"name\":\"rawFulfillRandomness\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"rewards\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"source\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"rewardsPerOpen\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"royaltyBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salePrice\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"royaltyAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"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\":\"_newFees\",\"type\":\"uint256\"}],\"name\":\"setChainlinkFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_uri\",\"type\":\"string\"}],\"name\":\"setContractURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_restrictedTransfer\",\"type\":\"bool\"}],\"name\":\"setRestrictedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_royaltyBps\",\"type\":\"uint256\"}],\"name\":\"setRoyaltyBps\",\"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\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferLink\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transfersRestricted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vrfFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vrfKeyHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

PackMetaData contains all meta data concerning the Pack contract.

View Source
var RegistryABI = RegistryMetaData.ABI

RegistryABI is the input ABI used to generate the binding from. Deprecated: Use RegistryMetaData.ABI instead.

View Source
var RegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_forwarder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_deployer\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"defaultFeeBps\",\"type\":\"uint256\"}],\"name\":\"DefaultFeeBpsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newDeployer\",\"type\":\"address\"}],\"name\":\"DeployerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"version\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"controlAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controlDeployer\",\"type\":\"address\"}],\"name\":\"NewProtocolControl\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"control\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeBps\",\"type\":\"uint256\"}],\"name\":\"ProtocolControlFeeBpsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTreasury\",\"type\":\"address\"}],\"name\":\"TreasuryUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_PROVIDER_FEE_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultFeeBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"deployProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deployer\",\"outputs\":[{\"internalType\":\"contractIControlDeployer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"forwarder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"protocolControl\",\"type\":\"address\"}],\"name\":\"getFeeBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_deployer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getProtocolControl\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_deployer\",\"type\":\"address\"}],\"name\":\"getProtocolControlCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newFeeBps\",\"type\":\"uint256\"}],\"name\":\"setDefaultFeeBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newDeployer\",\"type\":\"address\"}],\"name\":\"setDeployer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"protocolControl\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_newFeeBps\",\"type\":\"uint256\"}],\"name\":\"setProtocolControlFeeBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newTreasury\",\"type\":\"address\"}],\"name\":\"setTreasury\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

RegistryMetaData contains all meta data concerning the Registry contract.

Functions

This section is empty.

Types

type Coin

type Coin struct {
	CoinCaller     // Read-only binding to the contract
	CoinTransactor // Write-only binding to the contract
	CoinFilterer   // Log filterer for contract events
}

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

func NewCoin

func NewCoin(address common.Address, backend bind.ContractBackend) (*Coin, error)

NewCoin creates a new instance of Coin, bound to a specific deployed contract.

type CoinApproval

type CoinApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

CoinApproval represents a Approval event raised by the Coin contract.

type CoinApprovalIterator

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

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

func (*CoinApprovalIterator) Close

func (it *CoinApprovalIterator) Close() error

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

func (*CoinApprovalIterator) Error

func (it *CoinApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinApprovalIterator) Next

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

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

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

func NewCoinCaller

func NewCoinCaller(address common.Address, caller bind.ContractCaller) (*CoinCaller, error)

NewCoinCaller creates a new read-only instance of Coin, bound to a specific deployed contract.

func (*CoinCaller) Allowance

func (_Coin *CoinCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*CoinCaller) BalanceOf

func (_Coin *CoinCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*CoinCaller) ContractURI

func (_Coin *CoinCaller) ContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*CoinCaller) DEFAULTADMINROLE

func (_Coin *CoinCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*CoinCaller) DOMAINSEPARATOR added in v0.1.0

func (_Coin *CoinCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*CoinCaller) Decimals

func (_Coin *CoinCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*CoinCaller) GetRoleAdmin

func (_Coin *CoinCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*CoinCaller) GetRoleMember

func (_Coin *CoinCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*CoinCaller) GetRoleMemberCount

func (_Coin *CoinCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*CoinCaller) HasRole

func (_Coin *CoinCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*CoinCaller) InternalContractURI

func (_Coin *CoinCaller) InternalContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function contractURI() view returns(string)

func (*CoinCaller) IsTrustedForwarder

func (_Coin *CoinCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*CoinCaller) MINTERROLE

func (_Coin *CoinCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*CoinCaller) Name

func (_Coin *CoinCaller) 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 (*CoinCaller) Nonces added in v0.1.0

func (_Coin *CoinCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*CoinCaller) PAUSERROLE

func (_Coin *CoinCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*CoinCaller) Paused

func (_Coin *CoinCaller) 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 (*CoinCaller) SupportsInterface

func (_Coin *CoinCaller) 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 (*CoinCaller) Symbol

func (_Coin *CoinCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*CoinCaller) TRANSFERROLE added in v0.1.0

func (_Coin *CoinCaller) TRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*CoinCaller) TotalSupply

func (_Coin *CoinCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CoinCaller) TransfersRestricted added in v0.1.2

func (_Coin *CoinCaller) TransfersRestricted(opts *bind.CallOpts) (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

type CoinCallerRaw

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

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

func (*CoinCallerRaw) Call

func (_Coin *CoinCallerRaw) 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 CoinCallerSession

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

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

func (*CoinCallerSession) Allowance

func (_Coin *CoinCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*CoinCallerSession) BalanceOf

func (_Coin *CoinCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*CoinCallerSession) ContractURI

func (_Coin *CoinCallerSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*CoinCallerSession) DEFAULTADMINROLE

func (_Coin *CoinCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*CoinCallerSession) DOMAINSEPARATOR added in v0.1.0

func (_Coin *CoinCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*CoinCallerSession) Decimals

func (_Coin *CoinCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*CoinCallerSession) GetRoleAdmin

func (_Coin *CoinCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*CoinCallerSession) GetRoleMember

func (_Coin *CoinCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*CoinCallerSession) GetRoleMemberCount

func (_Coin *CoinCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*CoinCallerSession) HasRole

func (_Coin *CoinCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*CoinCallerSession) InternalContractURI

func (_Coin *CoinCallerSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*CoinCallerSession) IsTrustedForwarder

func (_Coin *CoinCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*CoinCallerSession) MINTERROLE

func (_Coin *CoinCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*CoinCallerSession) Name

func (_Coin *CoinCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CoinCallerSession) Nonces added in v0.1.0

func (_Coin *CoinCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*CoinCallerSession) PAUSERROLE

func (_Coin *CoinCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*CoinCallerSession) Paused

func (_Coin *CoinCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CoinCallerSession) SupportsInterface

func (_Coin *CoinCallerSession) 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 (*CoinCallerSession) Symbol

func (_Coin *CoinCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CoinCallerSession) TRANSFERROLE added in v0.1.0

func (_Coin *CoinCallerSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*CoinCallerSession) TotalSupply

func (_Coin *CoinCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CoinCallerSession) TransfersRestricted added in v0.1.2

func (_Coin *CoinCallerSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

type CoinFilterer

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

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

func NewCoinFilterer

func NewCoinFilterer(address common.Address, filterer bind.ContractFilterer) (*CoinFilterer, error)

NewCoinFilterer creates a new log filterer instance of Coin, bound to a specific deployed contract.

func (*CoinFilterer) FilterApproval

func (_Coin *CoinFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*CoinApprovalIterator, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CoinFilterer) FilterPaused

func (_Coin *CoinFilterer) FilterPaused(opts *bind.FilterOpts) (*CoinPausedIterator, error)

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

Solidity: event Paused(address account)

func (*CoinFilterer) FilterRestrictedTransferUpdated added in v0.1.2

func (_Coin *CoinFilterer) FilterRestrictedTransferUpdated(opts *bind.FilterOpts) (*CoinRestrictedTransferUpdatedIterator, error)

FilterRestrictedTransferUpdated is a free log retrieval operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*CoinFilterer) FilterRoleAdminChanged

func (_Coin *CoinFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*CoinRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*CoinFilterer) FilterRoleGranted

func (_Coin *CoinFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CoinRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*CoinFilterer) FilterRoleRevoked

func (_Coin *CoinFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CoinRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*CoinFilterer) FilterTransfer

func (_Coin *CoinFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*CoinTransferIterator, error)

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

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

func (*CoinFilterer) FilterUnpaused

func (_Coin *CoinFilterer) FilterUnpaused(opts *bind.FilterOpts) (*CoinUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*CoinFilterer) ParseApproval

func (_Coin *CoinFilterer) ParseApproval(log types.Log) (*CoinApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CoinFilterer) ParsePaused

func (_Coin *CoinFilterer) ParsePaused(log types.Log) (*CoinPaused, error)

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

Solidity: event Paused(address account)

func (*CoinFilterer) ParseRestrictedTransferUpdated added in v0.1.2

func (_Coin *CoinFilterer) ParseRestrictedTransferUpdated(log types.Log) (*CoinRestrictedTransferUpdated, error)

ParseRestrictedTransferUpdated is a log parse operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*CoinFilterer) ParseRoleAdminChanged

func (_Coin *CoinFilterer) ParseRoleAdminChanged(log types.Log) (*CoinRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*CoinFilterer) ParseRoleGranted

func (_Coin *CoinFilterer) ParseRoleGranted(log types.Log) (*CoinRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*CoinFilterer) ParseRoleRevoked

func (_Coin *CoinFilterer) ParseRoleRevoked(log types.Log) (*CoinRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*CoinFilterer) ParseTransfer

func (_Coin *CoinFilterer) ParseTransfer(log types.Log) (*CoinTransfer, error)

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

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

func (*CoinFilterer) ParseUnpaused

func (_Coin *CoinFilterer) ParseUnpaused(log types.Log) (*CoinUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*CoinFilterer) WatchApproval

func (_Coin *CoinFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CoinApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CoinFilterer) WatchPaused

func (_Coin *CoinFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *CoinPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*CoinFilterer) WatchRestrictedTransferUpdated added in v0.1.2

func (_Coin *CoinFilterer) WatchRestrictedTransferUpdated(opts *bind.WatchOpts, sink chan<- *CoinRestrictedTransferUpdated) (event.Subscription, error)

WatchRestrictedTransferUpdated is a free log subscription operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*CoinFilterer) WatchRoleAdminChanged

func (_Coin *CoinFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *CoinRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*CoinFilterer) WatchRoleGranted

func (_Coin *CoinFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *CoinRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*CoinFilterer) WatchRoleRevoked

func (_Coin *CoinFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *CoinRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*CoinFilterer) WatchTransfer

func (_Coin *CoinFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CoinTransfer, from []common.Address, to []common.Address) (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 value)

func (*CoinFilterer) WatchUnpaused

func (_Coin *CoinFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *CoinUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type CoinPaused

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

CoinPaused represents a Paused event raised by the Coin contract.

type CoinPausedIterator

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

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

func (*CoinPausedIterator) Close

func (it *CoinPausedIterator) Close() error

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

func (*CoinPausedIterator) Error

func (it *CoinPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinPausedIterator) Next

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

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

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

func (*CoinRaw) Call

func (_Coin *CoinRaw) 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 (*CoinRaw) Transact

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

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

func (*CoinRaw) Transfer

func (_Coin *CoinRaw) 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 CoinRestrictedTransferUpdated added in v0.1.2

type CoinRestrictedTransferUpdated struct {
	Transferable bool
	Raw          types.Log // Blockchain specific contextual infos
}

CoinRestrictedTransferUpdated represents a RestrictedTransferUpdated event raised by the Coin contract.

type CoinRestrictedTransferUpdatedIterator added in v0.1.2

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

CoinRestrictedTransferUpdatedIterator is returned from FilterRestrictedTransferUpdated and is used to iterate over the raw logs and unpacked data for RestrictedTransferUpdated events raised by the Coin contract.

func (*CoinRestrictedTransferUpdatedIterator) Close added in v0.1.2

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

func (*CoinRestrictedTransferUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinRestrictedTransferUpdatedIterator) Next added in v0.1.2

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 CoinRoleAdminChanged

type CoinRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

CoinRoleAdminChanged represents a RoleAdminChanged event raised by the Coin contract.

type CoinRoleAdminChangedIterator

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

CoinRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Coin contract.

func (*CoinRoleAdminChangedIterator) Close

func (it *CoinRoleAdminChangedIterator) Close() error

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

func (*CoinRoleAdminChangedIterator) Error

func (it *CoinRoleAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinRoleAdminChangedIterator) 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 CoinRoleGranted

type CoinRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CoinRoleGranted represents a RoleGranted event raised by the Coin contract.

type CoinRoleGrantedIterator

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

CoinRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Coin contract.

func (*CoinRoleGrantedIterator) Close

func (it *CoinRoleGrantedIterator) Close() error

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

func (*CoinRoleGrantedIterator) Error

func (it *CoinRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinRoleGrantedIterator) Next

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

type CoinRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CoinRoleRevoked represents a RoleRevoked event raised by the Coin contract.

type CoinRoleRevokedIterator

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

CoinRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Coin contract.

func (*CoinRoleRevokedIterator) Close

func (it *CoinRoleRevokedIterator) Close() error

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

func (*CoinRoleRevokedIterator) Error

func (it *CoinRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinRoleRevokedIterator) Next

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

type CoinSession struct {
	Contract     *Coin             // 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
}

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

func (*CoinSession) Allowance

func (_Coin *CoinSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*CoinSession) Approve

func (_Coin *CoinSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*CoinSession) BalanceOf

func (_Coin *CoinSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*CoinSession) Burn

func (_Coin *CoinSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*CoinSession) BurnFrom

func (_Coin *CoinSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*CoinSession) ContractURI

func (_Coin *CoinSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*CoinSession) DEFAULTADMINROLE

func (_Coin *CoinSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*CoinSession) DOMAINSEPARATOR added in v0.1.0

func (_Coin *CoinSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*CoinSession) Decimals

func (_Coin *CoinSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*CoinSession) DecreaseAllowance

func (_Coin *CoinSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*CoinSession) GetRoleAdmin

func (_Coin *CoinSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*CoinSession) GetRoleMember

func (_Coin *CoinSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*CoinSession) GetRoleMemberCount

func (_Coin *CoinSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*CoinSession) GrantRole

func (_Coin *CoinSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*CoinSession) HasRole

func (_Coin *CoinSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*CoinSession) IncreaseAllowance

func (_Coin *CoinSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*CoinSession) InternalContractURI

func (_Coin *CoinSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*CoinSession) IsTrustedForwarder

func (_Coin *CoinSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*CoinSession) MINTERROLE

func (_Coin *CoinSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*CoinSession) Mint

func (_Coin *CoinSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*CoinSession) Multicall added in v0.1.2

func (_Coin *CoinSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*CoinSession) Name

func (_Coin *CoinSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CoinSession) Nonces added in v0.1.0

func (_Coin *CoinSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*CoinSession) PAUSERROLE

func (_Coin *CoinSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*CoinSession) Pause

func (_Coin *CoinSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CoinSession) Paused

func (_Coin *CoinSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CoinSession) Permit added in v0.1.0

func (_Coin *CoinSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*CoinSession) RenounceRole

func (_Coin *CoinSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*CoinSession) RevokeRole

func (_Coin *CoinSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*CoinSession) SetContractURI

func (_Coin *CoinSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*CoinSession) SetRestrictedTransfer added in v0.1.0

func (_Coin *CoinSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*CoinSession) SupportsInterface

func (_Coin *CoinSession) 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 (*CoinSession) Symbol

func (_Coin *CoinSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CoinSession) TRANSFERROLE added in v0.1.0

func (_Coin *CoinSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*CoinSession) TotalSupply

func (_Coin *CoinSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CoinSession) Transfer

func (_Coin *CoinSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*CoinSession) TransferFrom

func (_Coin *CoinSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*CoinSession) TransfersRestricted added in v0.1.2

func (_Coin *CoinSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*CoinSession) Unpause

func (_Coin *CoinSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type CoinTransactor

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

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

func NewCoinTransactor

func NewCoinTransactor(address common.Address, transactor bind.ContractTransactor) (*CoinTransactor, error)

NewCoinTransactor creates a new write-only instance of Coin, bound to a specific deployed contract.

func (*CoinTransactor) Approve

func (_Coin *CoinTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*CoinTransactor) Burn

func (_Coin *CoinTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*CoinTransactor) BurnFrom

func (_Coin *CoinTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*CoinTransactor) DecreaseAllowance

func (_Coin *CoinTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*CoinTransactor) GrantRole

func (_Coin *CoinTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*CoinTransactor) IncreaseAllowance

func (_Coin *CoinTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*CoinTransactor) Mint

func (_Coin *CoinTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*CoinTransactor) Multicall added in v0.1.2

func (_Coin *CoinTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*CoinTransactor) Pause

func (_Coin *CoinTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CoinTransactor) Permit added in v0.1.0

func (_Coin *CoinTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*CoinTransactor) RenounceRole

func (_Coin *CoinTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*CoinTransactor) RevokeRole

func (_Coin *CoinTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*CoinTransactor) SetContractURI

func (_Coin *CoinTransactor) SetContractURI(opts *bind.TransactOpts, _URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*CoinTransactor) SetRestrictedTransfer added in v0.1.0

func (_Coin *CoinTransactor) SetRestrictedTransfer(opts *bind.TransactOpts, _restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*CoinTransactor) Transfer

func (_Coin *CoinTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*CoinTransactor) TransferFrom

func (_Coin *CoinTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*CoinTransactor) Unpause

func (_Coin *CoinTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type CoinTransactorRaw

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

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

func (*CoinTransactorRaw) Transact

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

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

func (*CoinTransactorRaw) Transfer

func (_Coin *CoinTransactorRaw) 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 CoinTransactorSession

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

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

func (*CoinTransactorSession) Approve

func (_Coin *CoinTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*CoinTransactorSession) Burn

func (_Coin *CoinTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*CoinTransactorSession) BurnFrom

func (_Coin *CoinTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*CoinTransactorSession) DecreaseAllowance

func (_Coin *CoinTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*CoinTransactorSession) GrantRole

func (_Coin *CoinTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*CoinTransactorSession) IncreaseAllowance

func (_Coin *CoinTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*CoinTransactorSession) Mint

func (_Coin *CoinTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*CoinTransactorSession) Multicall added in v0.1.2

func (_Coin *CoinTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*CoinTransactorSession) Pause

func (_Coin *CoinTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CoinTransactorSession) Permit added in v0.1.0

func (_Coin *CoinTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*CoinTransactorSession) RenounceRole

func (_Coin *CoinTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*CoinTransactorSession) RevokeRole

func (_Coin *CoinTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*CoinTransactorSession) SetContractURI

func (_Coin *CoinTransactorSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*CoinTransactorSession) SetRestrictedTransfer added in v0.1.0

func (_Coin *CoinTransactorSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*CoinTransactorSession) Transfer

func (_Coin *CoinTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*CoinTransactorSession) TransferFrom

func (_Coin *CoinTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*CoinTransactorSession) Unpause

func (_Coin *CoinTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type CoinTransfer

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

CoinTransfer represents a Transfer event raised by the Coin contract.

type CoinTransferIterator

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

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

func (*CoinTransferIterator) Close

func (it *CoinTransferIterator) Close() error

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

func (*CoinTransferIterator) Error

func (it *CoinTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinTransferIterator) Next

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

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

CoinUnpaused represents a Unpaused event raised by the Coin contract.

type CoinUnpausedIterator

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

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

func (*CoinUnpausedIterator) Close

func (it *CoinUnpausedIterator) Close() error

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

func (*CoinUnpausedIterator) Error

func (it *CoinUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CoinUnpausedIterator) Next

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

type Currency struct {
	CurrencyCaller     // Read-only binding to the contract
	CurrencyTransactor // Write-only binding to the contract
	CurrencyFilterer   // Log filterer for contract events
}

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

func NewCurrency

func NewCurrency(address common.Address, backend bind.ContractBackend) (*Currency, error)

NewCurrency creates a new instance of Currency, bound to a specific deployed contract.

type CurrencyApproval

type CurrencyApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

CurrencyApproval represents a Approval event raised by the Currency contract.

type CurrencyApprovalIterator

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

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

func (*CurrencyApprovalIterator) Close

func (it *CurrencyApprovalIterator) Close() error

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

func (*CurrencyApprovalIterator) Error

func (it *CurrencyApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyApprovalIterator) Next

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

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

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

func NewCurrencyCaller

func NewCurrencyCaller(address common.Address, caller bind.ContractCaller) (*CurrencyCaller, error)

NewCurrencyCaller creates a new read-only instance of Currency, bound to a specific deployed contract.

func (*CurrencyCaller) Allowance

func (_Currency *CurrencyCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*CurrencyCaller) BalanceOf

func (_Currency *CurrencyCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*CurrencyCaller) ContractURI

func (_Currency *CurrencyCaller) ContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*CurrencyCaller) DEFAULTADMINROLE

func (_Currency *CurrencyCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*CurrencyCaller) DOMAINSEPARATOR added in v0.1.0

func (_Currency *CurrencyCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*CurrencyCaller) Decimals

func (_Currency *CurrencyCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*CurrencyCaller) GetRoleAdmin

func (_Currency *CurrencyCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*CurrencyCaller) GetRoleMember

func (_Currency *CurrencyCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*CurrencyCaller) GetRoleMemberCount

func (_Currency *CurrencyCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*CurrencyCaller) HasRole

func (_Currency *CurrencyCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*CurrencyCaller) InternalContractURI

func (_Currency *CurrencyCaller) InternalContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function contractURI() view returns(string)

func (*CurrencyCaller) IsTrustedForwarder

func (_Currency *CurrencyCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*CurrencyCaller) MINTERROLE

func (_Currency *CurrencyCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*CurrencyCaller) Name

func (_Currency *CurrencyCaller) 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 (*CurrencyCaller) Nonces added in v0.1.0

func (_Currency *CurrencyCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*CurrencyCaller) PAUSERROLE

func (_Currency *CurrencyCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*CurrencyCaller) Paused

func (_Currency *CurrencyCaller) 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 (*CurrencyCaller) SupportsInterface

func (_Currency *CurrencyCaller) 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 (*CurrencyCaller) Symbol

func (_Currency *CurrencyCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*CurrencyCaller) TRANSFERROLE

func (_Currency *CurrencyCaller) TRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*CurrencyCaller) TotalSupply

func (_Currency *CurrencyCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CurrencyCaller) TransfersRestricted added in v0.1.1

func (_Currency *CurrencyCaller) TransfersRestricted(opts *bind.CallOpts) (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

type CurrencyCallerRaw

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

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

func (*CurrencyCallerRaw) Call

func (_Currency *CurrencyCallerRaw) 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 CurrencyCallerSession

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

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

func (*CurrencyCallerSession) Allowance

func (_Currency *CurrencyCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*CurrencyCallerSession) BalanceOf

func (_Currency *CurrencyCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*CurrencyCallerSession) ContractURI

func (_Currency *CurrencyCallerSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*CurrencyCallerSession) DEFAULTADMINROLE

func (_Currency *CurrencyCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*CurrencyCallerSession) DOMAINSEPARATOR added in v0.1.0

func (_Currency *CurrencyCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*CurrencyCallerSession) Decimals

func (_Currency *CurrencyCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*CurrencyCallerSession) GetRoleAdmin

func (_Currency *CurrencyCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*CurrencyCallerSession) GetRoleMember

func (_Currency *CurrencyCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*CurrencyCallerSession) GetRoleMemberCount

func (_Currency *CurrencyCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*CurrencyCallerSession) HasRole

func (_Currency *CurrencyCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*CurrencyCallerSession) InternalContractURI

func (_Currency *CurrencyCallerSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*CurrencyCallerSession) IsTrustedForwarder

func (_Currency *CurrencyCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*CurrencyCallerSession) MINTERROLE

func (_Currency *CurrencyCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*CurrencyCallerSession) Name

func (_Currency *CurrencyCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CurrencyCallerSession) Nonces added in v0.1.0

func (_Currency *CurrencyCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*CurrencyCallerSession) PAUSERROLE

func (_Currency *CurrencyCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*CurrencyCallerSession) Paused

func (_Currency *CurrencyCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CurrencyCallerSession) SupportsInterface

func (_Currency *CurrencyCallerSession) 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 (*CurrencyCallerSession) Symbol

func (_Currency *CurrencyCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CurrencyCallerSession) TRANSFERROLE

func (_Currency *CurrencyCallerSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*CurrencyCallerSession) TotalSupply

func (_Currency *CurrencyCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CurrencyCallerSession) TransfersRestricted added in v0.1.1

func (_Currency *CurrencyCallerSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

type CurrencyFilterer

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

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

func NewCurrencyFilterer

func NewCurrencyFilterer(address common.Address, filterer bind.ContractFilterer) (*CurrencyFilterer, error)

NewCurrencyFilterer creates a new log filterer instance of Currency, bound to a specific deployed contract.

func (*CurrencyFilterer) FilterApproval

func (_Currency *CurrencyFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*CurrencyApprovalIterator, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CurrencyFilterer) FilterPaused

func (_Currency *CurrencyFilterer) FilterPaused(opts *bind.FilterOpts) (*CurrencyPausedIterator, error)

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

Solidity: event Paused(address account)

func (*CurrencyFilterer) FilterRestrictedTransferUpdated added in v0.1.2

func (_Currency *CurrencyFilterer) FilterRestrictedTransferUpdated(opts *bind.FilterOpts) (*CurrencyRestrictedTransferUpdatedIterator, error)

FilterRestrictedTransferUpdated is a free log retrieval operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*CurrencyFilterer) FilterRoleAdminChanged

func (_Currency *CurrencyFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*CurrencyRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*CurrencyFilterer) FilterRoleGranted

func (_Currency *CurrencyFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CurrencyRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*CurrencyFilterer) FilterRoleRevoked

func (_Currency *CurrencyFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CurrencyRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*CurrencyFilterer) FilterTransfer

func (_Currency *CurrencyFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*CurrencyTransferIterator, error)

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

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

func (*CurrencyFilterer) FilterUnpaused

func (_Currency *CurrencyFilterer) FilterUnpaused(opts *bind.FilterOpts) (*CurrencyUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*CurrencyFilterer) ParseApproval

func (_Currency *CurrencyFilterer) ParseApproval(log types.Log) (*CurrencyApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CurrencyFilterer) ParsePaused

func (_Currency *CurrencyFilterer) ParsePaused(log types.Log) (*CurrencyPaused, error)

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

Solidity: event Paused(address account)

func (*CurrencyFilterer) ParseRestrictedTransferUpdated added in v0.1.2

func (_Currency *CurrencyFilterer) ParseRestrictedTransferUpdated(log types.Log) (*CurrencyRestrictedTransferUpdated, error)

ParseRestrictedTransferUpdated is a log parse operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*CurrencyFilterer) ParseRoleAdminChanged

func (_Currency *CurrencyFilterer) ParseRoleAdminChanged(log types.Log) (*CurrencyRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*CurrencyFilterer) ParseRoleGranted

func (_Currency *CurrencyFilterer) ParseRoleGranted(log types.Log) (*CurrencyRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*CurrencyFilterer) ParseRoleRevoked

func (_Currency *CurrencyFilterer) ParseRoleRevoked(log types.Log) (*CurrencyRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*CurrencyFilterer) ParseTransfer

func (_Currency *CurrencyFilterer) ParseTransfer(log types.Log) (*CurrencyTransfer, error)

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

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

func (*CurrencyFilterer) ParseUnpaused

func (_Currency *CurrencyFilterer) ParseUnpaused(log types.Log) (*CurrencyUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*CurrencyFilterer) WatchApproval

func (_Currency *CurrencyFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CurrencyApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CurrencyFilterer) WatchPaused

func (_Currency *CurrencyFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *CurrencyPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*CurrencyFilterer) WatchRestrictedTransferUpdated added in v0.1.2

func (_Currency *CurrencyFilterer) WatchRestrictedTransferUpdated(opts *bind.WatchOpts, sink chan<- *CurrencyRestrictedTransferUpdated) (event.Subscription, error)

WatchRestrictedTransferUpdated is a free log subscription operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*CurrencyFilterer) WatchRoleAdminChanged

func (_Currency *CurrencyFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *CurrencyRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*CurrencyFilterer) WatchRoleGranted

func (_Currency *CurrencyFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *CurrencyRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*CurrencyFilterer) WatchRoleRevoked

func (_Currency *CurrencyFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *CurrencyRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*CurrencyFilterer) WatchTransfer

func (_Currency *CurrencyFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CurrencyTransfer, from []common.Address, to []common.Address) (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 value)

func (*CurrencyFilterer) WatchUnpaused

func (_Currency *CurrencyFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *CurrencyUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type CurrencyPaused

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

CurrencyPaused represents a Paused event raised by the Currency contract.

type CurrencyPausedIterator

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

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

func (*CurrencyPausedIterator) Close

func (it *CurrencyPausedIterator) Close() error

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

func (*CurrencyPausedIterator) Error

func (it *CurrencyPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyPausedIterator) Next

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

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

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

func (*CurrencyRaw) Call

func (_Currency *CurrencyRaw) 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 (*CurrencyRaw) Transact

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

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

func (*CurrencyRaw) Transfer

func (_Currency *CurrencyRaw) 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 CurrencyRestrictedTransferUpdated added in v0.1.2

type CurrencyRestrictedTransferUpdated struct {
	Transferable bool
	Raw          types.Log // Blockchain specific contextual infos
}

CurrencyRestrictedTransferUpdated represents a RestrictedTransferUpdated event raised by the Currency contract.

type CurrencyRestrictedTransferUpdatedIterator added in v0.1.2

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

CurrencyRestrictedTransferUpdatedIterator is returned from FilterRestrictedTransferUpdated and is used to iterate over the raw logs and unpacked data for RestrictedTransferUpdated events raised by the Currency contract.

func (*CurrencyRestrictedTransferUpdatedIterator) Close added in v0.1.2

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

func (*CurrencyRestrictedTransferUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyRestrictedTransferUpdatedIterator) Next added in v0.1.2

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 CurrencyRoleAdminChanged

type CurrencyRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

CurrencyRoleAdminChanged represents a RoleAdminChanged event raised by the Currency contract.

type CurrencyRoleAdminChangedIterator

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

CurrencyRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Currency contract.

func (*CurrencyRoleAdminChangedIterator) Close

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

func (*CurrencyRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyRoleAdminChangedIterator) 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 CurrencyRoleGranted

type CurrencyRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CurrencyRoleGranted represents a RoleGranted event raised by the Currency contract.

type CurrencyRoleGrantedIterator

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

CurrencyRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Currency contract.

func (*CurrencyRoleGrantedIterator) Close

func (it *CurrencyRoleGrantedIterator) Close() error

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

func (*CurrencyRoleGrantedIterator) Error

func (it *CurrencyRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyRoleGrantedIterator) Next

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

type CurrencyRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CurrencyRoleRevoked represents a RoleRevoked event raised by the Currency contract.

type CurrencyRoleRevokedIterator

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

CurrencyRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Currency contract.

func (*CurrencyRoleRevokedIterator) Close

func (it *CurrencyRoleRevokedIterator) Close() error

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

func (*CurrencyRoleRevokedIterator) Error

func (it *CurrencyRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyRoleRevokedIterator) Next

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

type CurrencySession struct {
	Contract     *Currency         // 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
}

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

func (*CurrencySession) Allowance

func (_Currency *CurrencySession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*CurrencySession) Approve

func (_Currency *CurrencySession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*CurrencySession) BalanceOf

func (_Currency *CurrencySession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*CurrencySession) Burn

func (_Currency *CurrencySession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*CurrencySession) BurnFrom

func (_Currency *CurrencySession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*CurrencySession) ContractURI

func (_Currency *CurrencySession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*CurrencySession) DEFAULTADMINROLE

func (_Currency *CurrencySession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*CurrencySession) DOMAINSEPARATOR added in v0.1.0

func (_Currency *CurrencySession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*CurrencySession) Decimals

func (_Currency *CurrencySession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*CurrencySession) DecreaseAllowance

func (_Currency *CurrencySession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*CurrencySession) GetRoleAdmin

func (_Currency *CurrencySession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*CurrencySession) GetRoleMember

func (_Currency *CurrencySession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*CurrencySession) GetRoleMemberCount

func (_Currency *CurrencySession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*CurrencySession) GrantRole

func (_Currency *CurrencySession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*CurrencySession) HasRole

func (_Currency *CurrencySession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*CurrencySession) IncreaseAllowance

func (_Currency *CurrencySession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*CurrencySession) InternalContractURI

func (_Currency *CurrencySession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*CurrencySession) IsTrustedForwarder

func (_Currency *CurrencySession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*CurrencySession) MINTERROLE

func (_Currency *CurrencySession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*CurrencySession) Mint

func (_Currency *CurrencySession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*CurrencySession) Multicall added in v0.1.2

func (_Currency *CurrencySession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*CurrencySession) Name

func (_Currency *CurrencySession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CurrencySession) Nonces added in v0.1.0

func (_Currency *CurrencySession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*CurrencySession) PAUSERROLE

func (_Currency *CurrencySession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*CurrencySession) Pause

func (_Currency *CurrencySession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CurrencySession) Paused

func (_Currency *CurrencySession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*CurrencySession) Permit added in v0.1.0

func (_Currency *CurrencySession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*CurrencySession) RenounceRole

func (_Currency *CurrencySession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*CurrencySession) RevokeRole

func (_Currency *CurrencySession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*CurrencySession) SetContractURI

func (_Currency *CurrencySession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*CurrencySession) SetRestrictedTransfer

func (_Currency *CurrencySession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*CurrencySession) SupportsInterface

func (_Currency *CurrencySession) 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 (*CurrencySession) Symbol

func (_Currency *CurrencySession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CurrencySession) TRANSFERROLE

func (_Currency *CurrencySession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*CurrencySession) TotalSupply

func (_Currency *CurrencySession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CurrencySession) Transfer

func (_Currency *CurrencySession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*CurrencySession) TransferFrom

func (_Currency *CurrencySession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*CurrencySession) TransfersRestricted added in v0.1.1

func (_Currency *CurrencySession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*CurrencySession) Unpause

func (_Currency *CurrencySession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type CurrencyTransactor

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

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

func NewCurrencyTransactor

func NewCurrencyTransactor(address common.Address, transactor bind.ContractTransactor) (*CurrencyTransactor, error)

NewCurrencyTransactor creates a new write-only instance of Currency, bound to a specific deployed contract.

func (*CurrencyTransactor) Approve

func (_Currency *CurrencyTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*CurrencyTransactor) Burn

func (_Currency *CurrencyTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*CurrencyTransactor) BurnFrom

func (_Currency *CurrencyTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*CurrencyTransactor) DecreaseAllowance

func (_Currency *CurrencyTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*CurrencyTransactor) GrantRole

func (_Currency *CurrencyTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*CurrencyTransactor) IncreaseAllowance

func (_Currency *CurrencyTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*CurrencyTransactor) Mint

func (_Currency *CurrencyTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*CurrencyTransactor) Multicall added in v0.1.2

func (_Currency *CurrencyTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*CurrencyTransactor) Pause

func (_Currency *CurrencyTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CurrencyTransactor) Permit added in v0.1.0

func (_Currency *CurrencyTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*CurrencyTransactor) RenounceRole

func (_Currency *CurrencyTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*CurrencyTransactor) RevokeRole

func (_Currency *CurrencyTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*CurrencyTransactor) SetContractURI

func (_Currency *CurrencyTransactor) SetContractURI(opts *bind.TransactOpts, _URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*CurrencyTransactor) SetRestrictedTransfer

func (_Currency *CurrencyTransactor) SetRestrictedTransfer(opts *bind.TransactOpts, _restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*CurrencyTransactor) Transfer

func (_Currency *CurrencyTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*CurrencyTransactor) TransferFrom

func (_Currency *CurrencyTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*CurrencyTransactor) Unpause

func (_Currency *CurrencyTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type CurrencyTransactorRaw

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

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

func (*CurrencyTransactorRaw) Transact

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

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

func (*CurrencyTransactorRaw) Transfer

func (_Currency *CurrencyTransactorRaw) 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 CurrencyTransactorSession

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

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

func (*CurrencyTransactorSession) Approve

func (_Currency *CurrencyTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*CurrencyTransactorSession) Burn

func (_Currency *CurrencyTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*CurrencyTransactorSession) BurnFrom

func (_Currency *CurrencyTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*CurrencyTransactorSession) DecreaseAllowance

func (_Currency *CurrencyTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*CurrencyTransactorSession) GrantRole

func (_Currency *CurrencyTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*CurrencyTransactorSession) IncreaseAllowance

func (_Currency *CurrencyTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*CurrencyTransactorSession) Mint

func (_Currency *CurrencyTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 amount) returns()

func (*CurrencyTransactorSession) Multicall added in v0.1.2

func (_Currency *CurrencyTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*CurrencyTransactorSession) Pause

func (_Currency *CurrencyTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*CurrencyTransactorSession) Permit added in v0.1.0

func (_Currency *CurrencyTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*CurrencyTransactorSession) RenounceRole

func (_Currency *CurrencyTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*CurrencyTransactorSession) RevokeRole

func (_Currency *CurrencyTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*CurrencyTransactorSession) SetContractURI

func (_Currency *CurrencyTransactorSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*CurrencyTransactorSession) SetRestrictedTransfer

func (_Currency *CurrencyTransactorSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*CurrencyTransactorSession) Transfer

func (_Currency *CurrencyTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*CurrencyTransactorSession) TransferFrom

func (_Currency *CurrencyTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*CurrencyTransactorSession) Unpause

func (_Currency *CurrencyTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type CurrencyTransfer

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

CurrencyTransfer represents a Transfer event raised by the Currency contract.

type CurrencyTransferIterator

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

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

func (*CurrencyTransferIterator) Close

func (it *CurrencyTransferIterator) Close() error

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

func (*CurrencyTransferIterator) Error

func (it *CurrencyTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyTransferIterator) Next

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

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

CurrencyUnpaused represents a Unpaused event raised by the Currency contract.

type CurrencyUnpausedIterator

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

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

func (*CurrencyUnpausedIterator) Close

func (it *CurrencyUnpausedIterator) Close() error

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

func (*CurrencyUnpausedIterator) Error

func (it *CurrencyUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurrencyUnpausedIterator) Next

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

type ERC1155 struct {
	ERC1155Caller     // Read-only binding to the contract
	ERC1155Transactor // Write-only binding to the contract
	ERC1155Filterer   // Log filterer for contract events
}

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

func NewERC1155

func NewERC1155(address common.Address, backend bind.ContractBackend) (*ERC1155, error)

NewERC1155 creates a new instance of ERC1155, bound to a specific deployed contract.

type ERC1155ApprovalForAll

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

ERC1155ApprovalForAll represents a ApprovalForAll event raised by the ERC1155 contract.

type ERC1155ApprovalForAllIterator

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

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

func (*ERC1155ApprovalForAllIterator) Close

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

func (*ERC1155ApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155ApprovalForAllIterator) 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 ERC1155Caller

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

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

func NewERC1155Caller

func NewERC1155Caller(address common.Address, caller bind.ContractCaller) (*ERC1155Caller, error)

NewERC1155Caller creates a new read-only instance of ERC1155, bound to a specific deployed contract.

func (*ERC1155Caller) BalanceOf

func (_ERC1155 *ERC1155Caller) 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 (*ERC1155Caller) BalanceOfBatch

func (_ERC1155 *ERC1155Caller) 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 (*ERC1155Caller) IsApprovedForAll

func (_ERC1155 *ERC1155Caller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

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

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

func (*ERC1155Caller) SupportsInterface

func (_ERC1155 *ERC1155Caller) 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 (*ERC1155Caller) Uri

func (_ERC1155 *ERC1155Caller) 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)

type ERC1155CallerRaw

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

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

func (*ERC1155CallerRaw) Call

func (_ERC1155 *ERC1155CallerRaw) 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 ERC1155CallerSession

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

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

func (*ERC1155CallerSession) BalanceOf

func (_ERC1155 *ERC1155CallerSession) 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 (*ERC1155CallerSession) BalanceOfBatch

func (_ERC1155 *ERC1155CallerSession) 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 (*ERC1155CallerSession) IsApprovedForAll

func (_ERC1155 *ERC1155CallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

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

func (*ERC1155CallerSession) SupportsInterface

func (_ERC1155 *ERC1155CallerSession) 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 (*ERC1155CallerSession) Uri

func (_ERC1155 *ERC1155CallerSession) 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)

type ERC1155Filterer

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

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

func NewERC1155Filterer

func NewERC1155Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155Filterer, error)

NewERC1155Filterer creates a new log filterer instance of ERC1155, bound to a specific deployed contract.

func (*ERC1155Filterer) FilterApprovalForAll

func (_ERC1155 *ERC1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*ERC1155ApprovalForAllIterator, 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 (*ERC1155Filterer) FilterTransferBatch

func (_ERC1155 *ERC1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155TransferBatchIterator, 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 (*ERC1155Filterer) FilterTransferSingle

func (_ERC1155 *ERC1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155TransferSingleIterator, 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 (*ERC1155Filterer) FilterURI

func (_ERC1155 *ERC1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*ERC1155URIIterator, error)

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

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

func (*ERC1155Filterer) ParseApprovalForAll

func (_ERC1155 *ERC1155Filterer) ParseApprovalForAll(log types.Log) (*ERC1155ApprovalForAll, error)

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

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

func (*ERC1155Filterer) ParseTransferBatch

func (_ERC1155 *ERC1155Filterer) ParseTransferBatch(log types.Log) (*ERC1155TransferBatch, 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 (*ERC1155Filterer) ParseTransferSingle

func (_ERC1155 *ERC1155Filterer) ParseTransferSingle(log types.Log) (*ERC1155TransferSingle, 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 (*ERC1155Filterer) ParseURI

func (_ERC1155 *ERC1155Filterer) ParseURI(log types.Log) (*ERC1155URI, error)

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

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

func (*ERC1155Filterer) WatchApprovalForAll

func (_ERC1155 *ERC1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC1155ApprovalForAll, 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 (*ERC1155Filterer) WatchTransferBatch

func (_ERC1155 *ERC1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *ERC1155TransferBatch, 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 (*ERC1155Filterer) WatchTransferSingle

func (_ERC1155 *ERC1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *ERC1155TransferSingle, 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 (*ERC1155Filterer) WatchURI

func (_ERC1155 *ERC1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *ERC1155URI, 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)

type ERC1155Raw

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

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

func (*ERC1155Raw) Call

func (_ERC1155 *ERC1155Raw) 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 (*ERC1155Raw) Transact

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

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

func (*ERC1155Raw) Transfer

func (_ERC1155 *ERC1155Raw) 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 ERC1155Session

type ERC1155Session struct {
	Contract     *ERC1155          // 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
}

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

func (*ERC1155Session) BalanceOf

func (_ERC1155 *ERC1155Session) 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 (*ERC1155Session) BalanceOfBatch

func (_ERC1155 *ERC1155Session) 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 (*ERC1155Session) IsApprovedForAll

func (_ERC1155 *ERC1155Session) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

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

func (*ERC1155Session) SafeBatchTransferFrom

func (_ERC1155 *ERC1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155Session) SafeTransferFrom

func (_ERC1155 *ERC1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*ERC1155Session) SetApprovalForAll

func (_ERC1155 *ERC1155Session) 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 (*ERC1155Session) SupportsInterface

func (_ERC1155 *ERC1155Session) 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 (*ERC1155Session) Uri

func (_ERC1155 *ERC1155Session) 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)

type ERC1155Transactor

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

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

func NewERC1155Transactor

func NewERC1155Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155Transactor, error)

NewERC1155Transactor creates a new write-only instance of ERC1155, bound to a specific deployed contract.

func (*ERC1155Transactor) SafeBatchTransferFrom

func (_ERC1155 *ERC1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155Transactor) SafeTransferFrom

func (_ERC1155 *ERC1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*ERC1155Transactor) SetApprovalForAll

func (_ERC1155 *ERC1155Transactor) 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()

type ERC1155TransactorRaw

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

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

func (*ERC1155TransactorRaw) Transact

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

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

func (*ERC1155TransactorRaw) Transfer

func (_ERC1155 *ERC1155TransactorRaw) 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 ERC1155TransactorSession

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

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

func (*ERC1155TransactorSession) SafeBatchTransferFrom

func (_ERC1155 *ERC1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155TransactorSession) SafeTransferFrom

func (_ERC1155 *ERC1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*ERC1155TransactorSession) SetApprovalForAll

func (_ERC1155 *ERC1155TransactorSession) 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()

type ERC1155TransferBatch

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

ERC1155TransferBatch represents a TransferBatch event raised by the ERC1155 contract.

type ERC1155TransferBatchIterator

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

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

func (*ERC1155TransferBatchIterator) Close

func (it *ERC1155TransferBatchIterator) Close() error

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

func (*ERC1155TransferBatchIterator) Error

func (it *ERC1155TransferBatchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155TransferBatchIterator) 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 ERC1155TransferSingle

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

ERC1155TransferSingle represents a TransferSingle event raised by the ERC1155 contract.

type ERC1155TransferSingleIterator

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

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

func (*ERC1155TransferSingleIterator) Close

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

func (*ERC1155TransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155TransferSingleIterator) 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 ERC1155URI

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

ERC1155URI represents a URI event raised by the ERC1155 contract.

type ERC1155URIIterator

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

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

func (*ERC1155URIIterator) Close

func (it *ERC1155URIIterator) Close() error

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

func (*ERC1155URIIterator) Error

func (it *ERC1155URIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155URIIterator) Next

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

type ERC165 struct {
	ERC165Caller     // Read-only binding to the contract
	ERC165Transactor // Write-only binding to the contract
	ERC165Filterer   // Log filterer for contract events
}

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

func NewERC165

func NewERC165(address common.Address, backend bind.ContractBackend) (*ERC165, error)

NewERC165 creates a new instance of ERC165, bound to a specific deployed contract.

type ERC165Caller

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

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

func NewERC165Caller

func NewERC165Caller(address common.Address, caller bind.ContractCaller) (*ERC165Caller, error)

NewERC165Caller creates a new read-only instance of ERC165, bound to a specific deployed contract.

func (*ERC165Caller) SupportsInterface

func (_ERC165 *ERC165Caller) 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)

type ERC165CallerRaw

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

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

func (*ERC165CallerRaw) Call

func (_ERC165 *ERC165CallerRaw) 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 ERC165CallerSession

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

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

func (*ERC165CallerSession) SupportsInterface

func (_ERC165 *ERC165CallerSession) 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)

type ERC165Filterer

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

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

func NewERC165Filterer

func NewERC165Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC165Filterer, error)

NewERC165Filterer creates a new log filterer instance of ERC165, bound to a specific deployed contract.

type ERC165Raw

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

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

func (*ERC165Raw) Call

func (_ERC165 *ERC165Raw) 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 (*ERC165Raw) Transact

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

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

func (*ERC165Raw) Transfer

func (_ERC165 *ERC165Raw) 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 ERC165Session

type ERC165Session struct {
	Contract     *ERC165           // 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
}

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

func (*ERC165Session) SupportsInterface

func (_ERC165 *ERC165Session) 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)

type ERC165Transactor

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

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

func NewERC165Transactor

func NewERC165Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC165Transactor, error)

NewERC165Transactor creates a new write-only instance of ERC165, bound to a specific deployed contract.

type ERC165TransactorRaw

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

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

func (*ERC165TransactorRaw) Transact

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

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

func (*ERC165TransactorRaw) Transfer

func (_ERC165 *ERC165TransactorRaw) 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 ERC165TransactorSession

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

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

type ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

type ERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

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

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

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

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

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

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*ERC20Caller) Decimals

func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20Caller) Name

func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Symbol

func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) 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 ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) Decimals

func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20CallerSession) Name

func (_ERC20 *ERC20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20CallerSession) Symbol

func (_ERC20 *ERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20Filterer

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

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

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

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

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

func (*ERC20Filterer) ParseApproval

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) ParseTransfer

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

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

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

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (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 value)

type ERC20Raw

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

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

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) 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 ERC20Session

type ERC20Session struct {
	Contract     *ERC20            // 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
}

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20Session) Decimals

func (_ERC20 *ERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*ERC20Session) DecreaseAllowance

func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20Session) IncreaseAllowance

func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20Session) Name

func (_ERC20 *ERC20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20Session) Symbol

func (_ERC20 *ERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*ERC20Transactor) DecreaseAllowance

func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20Transactor) IncreaseAllowance

func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*ERC20TransactorSession) DecreaseAllowance

func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20TransactorSession) IncreaseAllowance

func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type ERC20Transfer

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

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

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

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

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

type ERC721 struct {
	ERC721Caller     // Read-only binding to the contract
	ERC721Transactor // Write-only binding to the contract
	ERC721Filterer   // Log filterer for contract events
}

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

func NewERC721

func NewERC721(address common.Address, backend bind.ContractBackend) (*ERC721, error)

NewERC721 creates a new instance of ERC721, bound to a specific deployed contract.

type ERC721Approval

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

ERC721Approval represents a Approval event raised by the ERC721 contract.

type ERC721ApprovalForAll

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

ERC721ApprovalForAll represents a ApprovalForAll event raised by the ERC721 contract.

type ERC721ApprovalForAllIterator

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

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

func (*ERC721ApprovalForAllIterator) Close

func (it *ERC721ApprovalForAllIterator) Close() error

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

func (*ERC721ApprovalForAllIterator) Error

func (it *ERC721ApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721ApprovalForAllIterator) 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 ERC721ApprovalIterator

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

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

func (*ERC721ApprovalIterator) Close

func (it *ERC721ApprovalIterator) Close() error

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

func (*ERC721ApprovalIterator) Error

func (it *ERC721ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721ApprovalIterator) Next

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

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

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

func NewERC721Caller

func NewERC721Caller(address common.Address, caller bind.ContractCaller) (*ERC721Caller, error)

NewERC721Caller creates a new read-only instance of ERC721, bound to a specific deployed contract.

func (*ERC721Caller) BalanceOf

func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) GetApproved

func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) IsApprovedForAll

func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) Name

func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) OwnerOf

func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) SupportsInterface

func (_ERC721 *ERC721Caller) 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 (*ERC721Caller) Symbol

func (_ERC721 *ERC721Caller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC721Caller) TokenURI

func (_ERC721 *ERC721Caller) 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)

type ERC721CallerRaw

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

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

func (*ERC721CallerRaw) Call

func (_ERC721 *ERC721CallerRaw) 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 ERC721CallerSession

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

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

func (*ERC721CallerSession) BalanceOf

func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) GetApproved

func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) IsApprovedForAll

func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) Name

func (_ERC721 *ERC721CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC721CallerSession) OwnerOf

func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) SupportsInterface

func (_ERC721 *ERC721CallerSession) 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 (*ERC721CallerSession) Symbol

func (_ERC721 *ERC721CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC721CallerSession) TokenURI

func (_ERC721 *ERC721CallerSession) 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)

type ERC721Filterer

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

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

func NewERC721Filterer

func NewERC721Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC721Filterer, error)

NewERC721Filterer creates a new log filterer instance of ERC721, bound to a specific deployed contract.

func (*ERC721Filterer) FilterApproval

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

func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, 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 (*ERC721Filterer) FilterTransfer

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

func (_ERC721 *ERC721Filterer) ParseApproval(log types.Log) (*ERC721Approval, 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 (*ERC721Filterer) ParseApprovalForAll

func (_ERC721 *ERC721Filterer) ParseApprovalForAll(log types.Log) (*ERC721ApprovalForAll, error)

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

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

func (*ERC721Filterer) ParseTransfer

func (_ERC721 *ERC721Filterer) ParseTransfer(log types.Log) (*ERC721Transfer, 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 (*ERC721Filterer) WatchApproval

func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, 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 (*ERC721Filterer) WatchApprovalForAll

func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, 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 (*ERC721Filterer) WatchTransfer

func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, 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 ERC721Raw

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

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

func (*ERC721Raw) Call

func (_ERC721 *ERC721Raw) 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 (*ERC721Raw) Transact

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

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

func (*ERC721Raw) Transfer

func (_ERC721 *ERC721Raw) 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 ERC721Session

type ERC721Session struct {
	Contract     *ERC721           // 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
}

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

func (*ERC721Session) Approve

func (_ERC721 *ERC721Session) 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 (*ERC721Session) BalanceOf

func (_ERC721 *ERC721Session) 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 (*ERC721Session) GetApproved

func (_ERC721 *ERC721Session) 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 (*ERC721Session) IsApprovedForAll

func (_ERC721 *ERC721Session) 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 (*ERC721Session) Name

func (_ERC721 *ERC721Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC721Session) OwnerOf

func (_ERC721 *ERC721Session) 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 (*ERC721Session) SafeTransferFrom

func (_ERC721 *ERC721Session) 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 (*ERC721Session) SafeTransferFrom0

func (_ERC721 *ERC721Session) 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 (*ERC721Session) SetApprovalForAll

func (_ERC721 *ERC721Session) 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 (*ERC721Session) SupportsInterface

func (_ERC721 *ERC721Session) 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 (*ERC721Session) Symbol

func (_ERC721 *ERC721Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC721Session) TokenURI

func (_ERC721 *ERC721Session) 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 (*ERC721Session) TransferFrom

func (_ERC721 *ERC721Session) 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 ERC721Transactor

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

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

func NewERC721Transactor

func NewERC721Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC721Transactor, error)

NewERC721Transactor creates a new write-only instance of ERC721, bound to a specific deployed contract.

func (*ERC721Transactor) Approve

func (_ERC721 *ERC721Transactor) 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 (*ERC721Transactor) SafeTransferFrom

func (_ERC721 *ERC721Transactor) 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 (*ERC721Transactor) SafeTransferFrom0

func (_ERC721 *ERC721Transactor) 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 (*ERC721Transactor) SetApprovalForAll

func (_ERC721 *ERC721Transactor) 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 (*ERC721Transactor) TransferFrom

func (_ERC721 *ERC721Transactor) 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 ERC721TransactorRaw

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

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

func (*ERC721TransactorRaw) Transact

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

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

func (*ERC721TransactorRaw) Transfer

func (_ERC721 *ERC721TransactorRaw) 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 ERC721TransactorSession

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

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

func (*ERC721TransactorSession) Approve

func (_ERC721 *ERC721TransactorSession) 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 (*ERC721TransactorSession) SafeTransferFrom

func (_ERC721 *ERC721TransactorSession) 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 (*ERC721TransactorSession) SafeTransferFrom0

func (_ERC721 *ERC721TransactorSession) 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 (*ERC721TransactorSession) SetApprovalForAll

func (_ERC721 *ERC721TransactorSession) 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 (*ERC721TransactorSession) TransferFrom

func (_ERC721 *ERC721TransactorSession) 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 ERC721Transfer

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

ERC721Transfer represents a Transfer event raised by the ERC721 contract.

type ERC721TransferIterator

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

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

func (*ERC721TransferIterator) Close

func (it *ERC721TransferIterator) Close() error

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

func (*ERC721TransferIterator) Error

func (it *ERC721TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TransferIterator) Next

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

type Market struct {
	MarketCaller     // Read-only binding to the contract
	MarketTransactor // Write-only binding to the contract
	MarketFilterer   // Log filterer for contract events
}

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

func NewMarket

func NewMarket(address common.Address, backend bind.ContractBackend) (*Market, error)

NewMarket creates a new instance of Market, bound to a specific deployed contract.

type MarketCaller

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

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

func NewMarketCaller

func NewMarketCaller(address common.Address, caller bind.ContractCaller) (*MarketCaller, error)

NewMarketCaller creates a new read-only instance of Market, bound to a specific deployed contract.

func (*MarketCaller) BoughtFromListing

func (_Market *MarketCaller) BoughtFromListing(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)

BoughtFromListing is a free data retrieval call binding the contract method 0x20c7852c.

Solidity: function boughtFromListing(uint256 , address ) view returns(uint256)

func (*MarketCaller) ContractURI

func (_Market *MarketCaller) ContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*MarketCaller) DEFAULTADMINROLE added in v0.1.2

func (_Market *MarketCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*MarketCaller) GetAllListings

func (_Market *MarketCaller) GetAllListings(opts *bind.CallOpts) ([]MarketListing, error)

GetAllListings is a free data retrieval call binding the contract method 0xae73ccec.

Solidity: function getAllListings() view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] allListings)

func (*MarketCaller) GetListing

func (_Market *MarketCaller) GetListing(opts *bind.CallOpts, _listingId *big.Int) (MarketListing, error)

GetListing is a free data retrieval call binding the contract method 0x107a274a.

Solidity: function getListing(uint256 _listingId) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketCaller) GetListingsByAsset

func (_Market *MarketCaller) GetListingsByAsset(opts *bind.CallOpts, _assetContract common.Address, _tokenId *big.Int) ([]MarketListing, error)

GetListingsByAsset is a free data retrieval call binding the contract method 0x1d0cd75e.

Solidity: function getListingsByAsset(address _assetContract, uint256 _tokenId) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] tokenListings)

func (*MarketCaller) GetListingsByAssetContract

func (_Market *MarketCaller) GetListingsByAssetContract(opts *bind.CallOpts, _assetContract common.Address) ([]MarketListing, error)

GetListingsByAssetContract is a free data retrieval call binding the contract method 0x4edeaa81.

Solidity: function getListingsByAssetContract(address _assetContract) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] tokenListings)

func (*MarketCaller) GetListingsBySeller

func (_Market *MarketCaller) GetListingsBySeller(opts *bind.CallOpts, _seller common.Address) ([]MarketListing, error)

GetListingsBySeller is a free data retrieval call binding the contract method 0xd8cba251.

Solidity: function getListingsBySeller(address _seller) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] sellerListings)

func (*MarketCaller) GetRoleAdmin added in v0.1.2

func (_Market *MarketCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*MarketCaller) GetRoleMember added in v0.1.2

func (_Market *MarketCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*MarketCaller) GetRoleMemberCount added in v0.1.2

func (_Market *MarketCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*MarketCaller) HasRole added in v0.1.2

func (_Market *MarketCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*MarketCaller) InternalContractURI

func (_Market *MarketCaller) InternalContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function contractURI() view returns(string)

func (*MarketCaller) IsTrustedForwarder

func (_Market *MarketCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*MarketCaller) LISTERROLE added in v0.1.2

func (_Market *MarketCaller) LISTERROLE(opts *bind.CallOpts) ([32]byte, error)

LISTERROLE is a free data retrieval call binding the contract method 0xdeb26b94.

Solidity: function LISTER_ROLE() view returns(bytes32)

func (*MarketCaller) Listings

func (_Market *MarketCaller) Listings(opts *bind.CallOpts, arg0 *big.Int) (struct {
	ListingId      *big.Int
	Seller         common.Address
	AssetContract  common.Address
	TokenId        *big.Int
	Quantity       *big.Int
	Currency       common.Address
	PricePerToken  *big.Int
	SaleStart      *big.Int
	SaleEnd        *big.Int
	TokensPerBuyer *big.Int
	TokenType      uint8
}, error)

Listings is a free data retrieval call binding the contract method 0xde74e57b.

Solidity: function listings(uint256 ) view returns(uint256 listingId, address seller, address assetContract, uint256 tokenId, uint256 quantity, address currency, uint256 pricePerToken, uint256 saleStart, uint256 saleEnd, uint256 tokensPerBuyer, uint8 tokenType)

func (*MarketCaller) MarketFeeBps

func (_Market *MarketCaller) MarketFeeBps(opts *bind.CallOpts) (*big.Int, error)

MarketFeeBps is a free data retrieval call binding the contract method 0x3f5c3e87.

Solidity: function marketFeeBps() view returns(uint128)

func (*MarketCaller) OnERC721Received

func (_Market *MarketCaller) OnERC721Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) pure returns(bytes4)

func (*MarketCaller) PAUSERROLE added in v0.1.2

func (_Market *MarketCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*MarketCaller) Paused added in v0.1.2

func (_Market *MarketCaller) 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 (*MarketCaller) RestrictedListerRoleOnly added in v0.1.2

func (_Market *MarketCaller) RestrictedListerRoleOnly(opts *bind.CallOpts) (bool, error)

RestrictedListerRoleOnly is a free data retrieval call binding the contract method 0x61096ec6.

Solidity: function restrictedListerRoleOnly() view returns(bool)

func (*MarketCaller) SupportsInterface

func (_Market *MarketCaller) 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 (*MarketCaller) TotalListings

func (_Market *MarketCaller) TotalListings(opts *bind.CallOpts) (*big.Int, error)

TotalListings is a free data retrieval call binding the contract method 0xc78b616c.

Solidity: function totalListings() view returns(uint256)

type MarketCallerRaw

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

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

func (*MarketCallerRaw) Call

func (_Market *MarketCallerRaw) 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 MarketCallerSession

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

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

func (*MarketCallerSession) BoughtFromListing

func (_Market *MarketCallerSession) BoughtFromListing(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

BoughtFromListing is a free data retrieval call binding the contract method 0x20c7852c.

Solidity: function boughtFromListing(uint256 , address ) view returns(uint256)

func (*MarketCallerSession) ContractURI

func (_Market *MarketCallerSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*MarketCallerSession) DEFAULTADMINROLE added in v0.1.2

func (_Market *MarketCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*MarketCallerSession) GetAllListings

func (_Market *MarketCallerSession) GetAllListings() ([]MarketListing, error)

GetAllListings is a free data retrieval call binding the contract method 0xae73ccec.

Solidity: function getAllListings() view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] allListings)

func (*MarketCallerSession) GetListing

func (_Market *MarketCallerSession) GetListing(_listingId *big.Int) (MarketListing, error)

GetListing is a free data retrieval call binding the contract method 0x107a274a.

Solidity: function getListing(uint256 _listingId) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketCallerSession) GetListingsByAsset

func (_Market *MarketCallerSession) GetListingsByAsset(_assetContract common.Address, _tokenId *big.Int) ([]MarketListing, error)

GetListingsByAsset is a free data retrieval call binding the contract method 0x1d0cd75e.

Solidity: function getListingsByAsset(address _assetContract, uint256 _tokenId) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] tokenListings)

func (*MarketCallerSession) GetListingsByAssetContract

func (_Market *MarketCallerSession) GetListingsByAssetContract(_assetContract common.Address) ([]MarketListing, error)

GetListingsByAssetContract is a free data retrieval call binding the contract method 0x4edeaa81.

Solidity: function getListingsByAssetContract(address _assetContract) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] tokenListings)

func (*MarketCallerSession) GetListingsBySeller

func (_Market *MarketCallerSession) GetListingsBySeller(_seller common.Address) ([]MarketListing, error)

GetListingsBySeller is a free data retrieval call binding the contract method 0xd8cba251.

Solidity: function getListingsBySeller(address _seller) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] sellerListings)

func (*MarketCallerSession) GetRoleAdmin added in v0.1.2

func (_Market *MarketCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*MarketCallerSession) GetRoleMember added in v0.1.2

func (_Market *MarketCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*MarketCallerSession) GetRoleMemberCount added in v0.1.2

func (_Market *MarketCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*MarketCallerSession) HasRole added in v0.1.2

func (_Market *MarketCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*MarketCallerSession) InternalContractURI

func (_Market *MarketCallerSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*MarketCallerSession) IsTrustedForwarder

func (_Market *MarketCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*MarketCallerSession) LISTERROLE added in v0.1.2

func (_Market *MarketCallerSession) LISTERROLE() ([32]byte, error)

LISTERROLE is a free data retrieval call binding the contract method 0xdeb26b94.

Solidity: function LISTER_ROLE() view returns(bytes32)

func (*MarketCallerSession) Listings

func (_Market *MarketCallerSession) Listings(arg0 *big.Int) (struct {
	ListingId      *big.Int
	Seller         common.Address
	AssetContract  common.Address
	TokenId        *big.Int
	Quantity       *big.Int
	Currency       common.Address
	PricePerToken  *big.Int
	SaleStart      *big.Int
	SaleEnd        *big.Int
	TokensPerBuyer *big.Int
	TokenType      uint8
}, error)

Listings is a free data retrieval call binding the contract method 0xde74e57b.

Solidity: function listings(uint256 ) view returns(uint256 listingId, address seller, address assetContract, uint256 tokenId, uint256 quantity, address currency, uint256 pricePerToken, uint256 saleStart, uint256 saleEnd, uint256 tokensPerBuyer, uint8 tokenType)

func (*MarketCallerSession) MarketFeeBps

func (_Market *MarketCallerSession) MarketFeeBps() (*big.Int, error)

MarketFeeBps is a free data retrieval call binding the contract method 0x3f5c3e87.

Solidity: function marketFeeBps() view returns(uint128)

func (*MarketCallerSession) OnERC721Received

func (_Market *MarketCallerSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) pure returns(bytes4)

func (*MarketCallerSession) PAUSERROLE added in v0.1.2

func (_Market *MarketCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*MarketCallerSession) Paused added in v0.1.2

func (_Market *MarketCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*MarketCallerSession) RestrictedListerRoleOnly added in v0.1.2

func (_Market *MarketCallerSession) RestrictedListerRoleOnly() (bool, error)

RestrictedListerRoleOnly is a free data retrieval call binding the contract method 0x61096ec6.

Solidity: function restrictedListerRoleOnly() view returns(bool)

func (*MarketCallerSession) SupportsInterface

func (_Market *MarketCallerSession) 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 (*MarketCallerSession) TotalListings

func (_Market *MarketCallerSession) TotalListings() (*big.Int, error)

TotalListings is a free data retrieval call binding the contract method 0xc78b616c.

Solidity: function totalListings() view returns(uint256)

type MarketFilterer

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

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

func NewMarketFilterer

func NewMarketFilterer(address common.Address, filterer bind.ContractFilterer) (*MarketFilterer, error)

NewMarketFilterer creates a new log filterer instance of Market, bound to a specific deployed contract.

func (*MarketFilterer) FilterListingUpdate

func (_Market *MarketFilterer) FilterListingUpdate(opts *bind.FilterOpts, seller []common.Address, listingId []*big.Int) (*MarketListingUpdateIterator, error)

FilterListingUpdate is a free log retrieval operation binding the contract event 0xb4c8fd604ad229ddf17ffe34f0851a2abf5113b048f8235b12edbabcc6dd9193.

Solidity: event ListingUpdate(address indexed seller, uint256 indexed listingId, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) FilterMarketFeeUpdate

func (_Market *MarketFilterer) FilterMarketFeeUpdate(opts *bind.FilterOpts) (*MarketMarketFeeUpdateIterator, error)

FilterMarketFeeUpdate is a free log retrieval operation binding the contract event 0xd50e64e6eb05cd7ceafe1a28b1a7ad949edb90451106259c7117252d605178ef.

Solidity: event MarketFeeUpdate(uint128 newFee)

func (*MarketFilterer) FilterNewListing

func (_Market *MarketFilterer) FilterNewListing(opts *bind.FilterOpts, assetContract []common.Address, seller []common.Address, listingId []*big.Int) (*MarketNewListingIterator, error)

FilterNewListing is a free log retrieval operation binding the contract event 0x70c5741a020504dbda58d308c3efe5275326c456d3b00c541925222c40f7c62e.

Solidity: event NewListing(address indexed assetContract, address indexed seller, uint256 indexed listingId, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) FilterNewSale

func (_Market *MarketFilterer) FilterNewSale(opts *bind.FilterOpts, assetContract []common.Address, seller []common.Address, listingId []*big.Int) (*MarketNewSaleIterator, error)

FilterNewSale is a free log retrieval operation binding the contract event 0xc848190182320d1cb2ea6d8a80041c6780e56643bc41fe9060bb1f1349902cba.

Solidity: event NewSale(address indexed assetContract, address indexed seller, uint256 indexed listingId, address buyer, uint256 quantity, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) FilterPaused added in v0.1.2

func (_Market *MarketFilterer) FilterPaused(opts *bind.FilterOpts) (*MarketPausedIterator, error)

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

Solidity: event Paused(address account)

func (*MarketFilterer) FilterRestrictedListerRoleUpdated added in v0.1.2

func (_Market *MarketFilterer) FilterRestrictedListerRoleUpdated(opts *bind.FilterOpts) (*MarketRestrictedListerRoleUpdatedIterator, error)

FilterRestrictedListerRoleUpdated is a free log retrieval operation binding the contract event 0x56668abce4c06e28f52176150c07856e31ee073b9b62df62a5afbf1a22aec24c.

Solidity: event RestrictedListerRoleUpdated(bool restricted)

func (*MarketFilterer) FilterRoleAdminChanged added in v0.1.2

func (_Market *MarketFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*MarketRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*MarketFilterer) FilterRoleGranted added in v0.1.2

func (_Market *MarketFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*MarketRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*MarketFilterer) FilterRoleRevoked added in v0.1.2

func (_Market *MarketFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*MarketRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*MarketFilterer) FilterUnpaused added in v0.1.2

func (_Market *MarketFilterer) FilterUnpaused(opts *bind.FilterOpts) (*MarketUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*MarketFilterer) ParseListingUpdate

func (_Market *MarketFilterer) ParseListingUpdate(log types.Log) (*MarketListingUpdate, error)

ParseListingUpdate is a log parse operation binding the contract event 0xb4c8fd604ad229ddf17ffe34f0851a2abf5113b048f8235b12edbabcc6dd9193.

Solidity: event ListingUpdate(address indexed seller, uint256 indexed listingId, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) ParseMarketFeeUpdate

func (_Market *MarketFilterer) ParseMarketFeeUpdate(log types.Log) (*MarketMarketFeeUpdate, error)

ParseMarketFeeUpdate is a log parse operation binding the contract event 0xd50e64e6eb05cd7ceafe1a28b1a7ad949edb90451106259c7117252d605178ef.

Solidity: event MarketFeeUpdate(uint128 newFee)

func (*MarketFilterer) ParseNewListing

func (_Market *MarketFilterer) ParseNewListing(log types.Log) (*MarketNewListing, error)

ParseNewListing is a log parse operation binding the contract event 0x70c5741a020504dbda58d308c3efe5275326c456d3b00c541925222c40f7c62e.

Solidity: event NewListing(address indexed assetContract, address indexed seller, uint256 indexed listingId, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) ParseNewSale

func (_Market *MarketFilterer) ParseNewSale(log types.Log) (*MarketNewSale, error)

ParseNewSale is a log parse operation binding the contract event 0xc848190182320d1cb2ea6d8a80041c6780e56643bc41fe9060bb1f1349902cba.

Solidity: event NewSale(address indexed assetContract, address indexed seller, uint256 indexed listingId, address buyer, uint256 quantity, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) ParsePaused added in v0.1.2

func (_Market *MarketFilterer) ParsePaused(log types.Log) (*MarketPaused, error)

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

Solidity: event Paused(address account)

func (*MarketFilterer) ParseRestrictedListerRoleUpdated added in v0.1.2

func (_Market *MarketFilterer) ParseRestrictedListerRoleUpdated(log types.Log) (*MarketRestrictedListerRoleUpdated, error)

ParseRestrictedListerRoleUpdated is a log parse operation binding the contract event 0x56668abce4c06e28f52176150c07856e31ee073b9b62df62a5afbf1a22aec24c.

Solidity: event RestrictedListerRoleUpdated(bool restricted)

func (*MarketFilterer) ParseRoleAdminChanged added in v0.1.2

func (_Market *MarketFilterer) ParseRoleAdminChanged(log types.Log) (*MarketRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*MarketFilterer) ParseRoleGranted added in v0.1.2

func (_Market *MarketFilterer) ParseRoleGranted(log types.Log) (*MarketRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*MarketFilterer) ParseRoleRevoked added in v0.1.2

func (_Market *MarketFilterer) ParseRoleRevoked(log types.Log) (*MarketRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*MarketFilterer) ParseUnpaused added in v0.1.2

func (_Market *MarketFilterer) ParseUnpaused(log types.Log) (*MarketUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*MarketFilterer) WatchListingUpdate

func (_Market *MarketFilterer) WatchListingUpdate(opts *bind.WatchOpts, sink chan<- *MarketListingUpdate, seller []common.Address, listingId []*big.Int) (event.Subscription, error)

WatchListingUpdate is a free log subscription operation binding the contract event 0xb4c8fd604ad229ddf17ffe34f0851a2abf5113b048f8235b12edbabcc6dd9193.

Solidity: event ListingUpdate(address indexed seller, uint256 indexed listingId, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) WatchMarketFeeUpdate

func (_Market *MarketFilterer) WatchMarketFeeUpdate(opts *bind.WatchOpts, sink chan<- *MarketMarketFeeUpdate) (event.Subscription, error)

WatchMarketFeeUpdate is a free log subscription operation binding the contract event 0xd50e64e6eb05cd7ceafe1a28b1a7ad949edb90451106259c7117252d605178ef.

Solidity: event MarketFeeUpdate(uint128 newFee)

func (*MarketFilterer) WatchNewListing

func (_Market *MarketFilterer) WatchNewListing(opts *bind.WatchOpts, sink chan<- *MarketNewListing, assetContract []common.Address, seller []common.Address, listingId []*big.Int) (event.Subscription, error)

WatchNewListing is a free log subscription operation binding the contract event 0x70c5741a020504dbda58d308c3efe5275326c456d3b00c541925222c40f7c62e.

Solidity: event NewListing(address indexed assetContract, address indexed seller, uint256 indexed listingId, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) WatchNewSale

func (_Market *MarketFilterer) WatchNewSale(opts *bind.WatchOpts, sink chan<- *MarketNewSale, assetContract []common.Address, seller []common.Address, listingId []*big.Int) (event.Subscription, error)

WatchNewSale is a free log subscription operation binding the contract event 0xc848190182320d1cb2ea6d8a80041c6780e56643bc41fe9060bb1f1349902cba.

Solidity: event NewSale(address indexed assetContract, address indexed seller, uint256 indexed listingId, address buyer, uint256 quantity, (uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketFilterer) WatchPaused added in v0.1.2

func (_Market *MarketFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *MarketPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*MarketFilterer) WatchRestrictedListerRoleUpdated added in v0.1.2

func (_Market *MarketFilterer) WatchRestrictedListerRoleUpdated(opts *bind.WatchOpts, sink chan<- *MarketRestrictedListerRoleUpdated) (event.Subscription, error)

WatchRestrictedListerRoleUpdated is a free log subscription operation binding the contract event 0x56668abce4c06e28f52176150c07856e31ee073b9b62df62a5afbf1a22aec24c.

Solidity: event RestrictedListerRoleUpdated(bool restricted)

func (*MarketFilterer) WatchRoleAdminChanged added in v0.1.2

func (_Market *MarketFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *MarketRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*MarketFilterer) WatchRoleGranted added in v0.1.2

func (_Market *MarketFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *MarketRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*MarketFilterer) WatchRoleRevoked added in v0.1.2

func (_Market *MarketFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *MarketRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*MarketFilterer) WatchUnpaused added in v0.1.2

func (_Market *MarketFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *MarketUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type MarketListing

type MarketListing struct {
	ListingId      *big.Int
	Seller         common.Address
	AssetContract  common.Address
	TokenId        *big.Int
	Quantity       *big.Int
	Currency       common.Address
	PricePerToken  *big.Int
	SaleStart      *big.Int
	SaleEnd        *big.Int
	TokensPerBuyer *big.Int
	TokenType      uint8
}

MarketListing is an auto generated low-level Go binding around an user-defined struct.

type MarketListingUpdate

type MarketListingUpdate struct {
	Seller    common.Address
	ListingId *big.Int
	Listing   MarketListing
	Raw       types.Log // Blockchain specific contextual infos
}

MarketListingUpdate represents a ListingUpdate event raised by the Market contract.

type MarketListingUpdateIterator

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

MarketListingUpdateIterator is returned from FilterListingUpdate and is used to iterate over the raw logs and unpacked data for ListingUpdate events raised by the Market contract.

func (*MarketListingUpdateIterator) Close

func (it *MarketListingUpdateIterator) Close() error

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

func (*MarketListingUpdateIterator) Error

func (it *MarketListingUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketListingUpdateIterator) Next

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

type MarketMarketFeeUpdate struct {
	NewFee *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MarketMarketFeeUpdate represents a MarketFeeUpdate event raised by the Market contract.

type MarketMarketFeeUpdateIterator

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

MarketMarketFeeUpdateIterator is returned from FilterMarketFeeUpdate and is used to iterate over the raw logs and unpacked data for MarketFeeUpdate events raised by the Market contract.

func (*MarketMarketFeeUpdateIterator) Close

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

func (*MarketMarketFeeUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketMarketFeeUpdateIterator) 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 MarketNewListing

type MarketNewListing struct {
	AssetContract common.Address
	Seller        common.Address
	ListingId     *big.Int
	Listing       MarketListing
	Raw           types.Log // Blockchain specific contextual infos
}

MarketNewListing represents a NewListing event raised by the Market contract.

type MarketNewListingIterator

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

MarketNewListingIterator is returned from FilterNewListing and is used to iterate over the raw logs and unpacked data for NewListing events raised by the Market contract.

func (*MarketNewListingIterator) Close

func (it *MarketNewListingIterator) Close() error

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

func (*MarketNewListingIterator) Error

func (it *MarketNewListingIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketNewListingIterator) Next

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

type MarketNewSale struct {
	AssetContract common.Address
	Seller        common.Address
	ListingId     *big.Int
	Buyer         common.Address
	Quantity      *big.Int
	Listing       MarketListing
	Raw           types.Log // Blockchain specific contextual infos
}

MarketNewSale represents a NewSale event raised by the Market contract.

type MarketNewSaleIterator

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

MarketNewSaleIterator is returned from FilterNewSale and is used to iterate over the raw logs and unpacked data for NewSale events raised by the Market contract.

func (*MarketNewSaleIterator) Close

func (it *MarketNewSaleIterator) Close() error

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

func (*MarketNewSaleIterator) Error

func (it *MarketNewSaleIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketNewSaleIterator) Next

func (it *MarketNewSaleIterator) 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 MarketPaused added in v0.1.2

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

MarketPaused represents a Paused event raised by the Market contract.

type MarketPausedIterator added in v0.1.2

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

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

func (*MarketPausedIterator) Close added in v0.1.2

func (it *MarketPausedIterator) Close() error

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

func (*MarketPausedIterator) Error added in v0.1.2

func (it *MarketPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketPausedIterator) Next added in v0.1.2

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

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

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

func (*MarketRaw) Call

func (_Market *MarketRaw) 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 (*MarketRaw) Transact

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

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

func (*MarketRaw) Transfer

func (_Market *MarketRaw) 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 MarketRestrictedListerRoleUpdated added in v0.1.2

type MarketRestrictedListerRoleUpdated struct {
	Restricted bool
	Raw        types.Log // Blockchain specific contextual infos
}

MarketRestrictedListerRoleUpdated represents a RestrictedListerRoleUpdated event raised by the Market contract.

type MarketRestrictedListerRoleUpdatedIterator added in v0.1.2

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

MarketRestrictedListerRoleUpdatedIterator is returned from FilterRestrictedListerRoleUpdated and is used to iterate over the raw logs and unpacked data for RestrictedListerRoleUpdated events raised by the Market contract.

func (*MarketRestrictedListerRoleUpdatedIterator) Close added in v0.1.2

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

func (*MarketRestrictedListerRoleUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketRestrictedListerRoleUpdatedIterator) Next added in v0.1.2

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 MarketRoleAdminChanged added in v0.1.2

type MarketRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

MarketRoleAdminChanged represents a RoleAdminChanged event raised by the Market contract.

type MarketRoleAdminChangedIterator added in v0.1.2

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

MarketRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Market contract.

func (*MarketRoleAdminChangedIterator) Close added in v0.1.2

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

func (*MarketRoleAdminChangedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketRoleAdminChangedIterator) Next added in v0.1.2

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 MarketRoleGranted added in v0.1.2

type MarketRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MarketRoleGranted represents a RoleGranted event raised by the Market contract.

type MarketRoleGrantedIterator added in v0.1.2

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

MarketRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Market contract.

func (*MarketRoleGrantedIterator) Close added in v0.1.2

func (it *MarketRoleGrantedIterator) Close() error

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

func (*MarketRoleGrantedIterator) Error added in v0.1.2

func (it *MarketRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketRoleGrantedIterator) Next added in v0.1.2

func (it *MarketRoleGrantedIterator) 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 MarketRoleRevoked added in v0.1.2

type MarketRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

MarketRoleRevoked represents a RoleRevoked event raised by the Market contract.

type MarketRoleRevokedIterator added in v0.1.2

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

MarketRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Market contract.

func (*MarketRoleRevokedIterator) Close added in v0.1.2

func (it *MarketRoleRevokedIterator) Close() error

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

func (*MarketRoleRevokedIterator) Error added in v0.1.2

func (it *MarketRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketRoleRevokedIterator) Next added in v0.1.2

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

type MarketSession struct {
	Contract     *Market           // 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
}

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

func (*MarketSession) AddToListing

func (_Market *MarketSession) AddToListing(_listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

AddToListing is a paid mutator transaction binding the contract method 0x583e12b6.

Solidity: function addToListing(uint256 _listingId, uint256 _quantity) returns()

func (*MarketSession) BoughtFromListing

func (_Market *MarketSession) BoughtFromListing(arg0 *big.Int, arg1 common.Address) (*big.Int, error)

BoughtFromListing is a free data retrieval call binding the contract method 0x20c7852c.

Solidity: function boughtFromListing(uint256 , address ) view returns(uint256)

func (*MarketSession) Buy

func (_Market *MarketSession) Buy(_listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xd6febde8.

Solidity: function buy(uint256 _listingId, uint256 _quantity) returns()

func (*MarketSession) ContractURI

func (_Market *MarketSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*MarketSession) DEFAULTADMINROLE added in v0.1.2

func (_Market *MarketSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*MarketSession) GetAllListings

func (_Market *MarketSession) GetAllListings() ([]MarketListing, error)

GetAllListings is a free data retrieval call binding the contract method 0xae73ccec.

Solidity: function getAllListings() view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] allListings)

func (*MarketSession) GetListing

func (_Market *MarketSession) GetListing(_listingId *big.Int) (MarketListing, error)

GetListing is a free data retrieval call binding the contract method 0x107a274a.

Solidity: function getListing(uint256 _listingId) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8) listing)

func (*MarketSession) GetListingsByAsset

func (_Market *MarketSession) GetListingsByAsset(_assetContract common.Address, _tokenId *big.Int) ([]MarketListing, error)

GetListingsByAsset is a free data retrieval call binding the contract method 0x1d0cd75e.

Solidity: function getListingsByAsset(address _assetContract, uint256 _tokenId) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] tokenListings)

func (*MarketSession) GetListingsByAssetContract

func (_Market *MarketSession) GetListingsByAssetContract(_assetContract common.Address) ([]MarketListing, error)

GetListingsByAssetContract is a free data retrieval call binding the contract method 0x4edeaa81.

Solidity: function getListingsByAssetContract(address _assetContract) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] tokenListings)

func (*MarketSession) GetListingsBySeller

func (_Market *MarketSession) GetListingsBySeller(_seller common.Address) ([]MarketListing, error)

GetListingsBySeller is a free data retrieval call binding the contract method 0xd8cba251.

Solidity: function getListingsBySeller(address _seller) view returns((uint256,address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint8)[] sellerListings)

func (*MarketSession) GetRoleAdmin added in v0.1.2

func (_Market *MarketSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*MarketSession) GetRoleMember added in v0.1.2

func (_Market *MarketSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*MarketSession) GetRoleMemberCount added in v0.1.2

func (_Market *MarketSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*MarketSession) GrantRole added in v0.1.2

func (_Market *MarketSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*MarketSession) HasRole added in v0.1.2

func (_Market *MarketSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*MarketSession) InternalContractURI

func (_Market *MarketSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*MarketSession) IsTrustedForwarder

func (_Market *MarketSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*MarketSession) LISTERROLE added in v0.1.2

func (_Market *MarketSession) LISTERROLE() ([32]byte, error)

LISTERROLE is a free data retrieval call binding the contract method 0xdeb26b94.

Solidity: function LISTER_ROLE() view returns(bytes32)

func (*MarketSession) List

func (_Market *MarketSession) List(_assetContract common.Address, _tokenId *big.Int, _currency common.Address, _pricePerToken *big.Int, _quantity *big.Int, _tokensPerBuyer *big.Int, _secondsUntilStart *big.Int, _secondsUntilEnd *big.Int) (*types.Transaction, error)

List is a paid mutator transaction binding the contract method 0x9b782ff2.

Solidity: function list(address _assetContract, uint256 _tokenId, address _currency, uint256 _pricePerToken, uint256 _quantity, uint256 _tokensPerBuyer, uint256 _secondsUntilStart, uint256 _secondsUntilEnd) returns()

func (*MarketSession) Listings

func (_Market *MarketSession) Listings(arg0 *big.Int) (struct {
	ListingId      *big.Int
	Seller         common.Address
	AssetContract  common.Address
	TokenId        *big.Int
	Quantity       *big.Int
	Currency       common.Address
	PricePerToken  *big.Int
	SaleStart      *big.Int
	SaleEnd        *big.Int
	TokensPerBuyer *big.Int
	TokenType      uint8
}, error)

Listings is a free data retrieval call binding the contract method 0xde74e57b.

Solidity: function listings(uint256 ) view returns(uint256 listingId, address seller, address assetContract, uint256 tokenId, uint256 quantity, address currency, uint256 pricePerToken, uint256 saleStart, uint256 saleEnd, uint256 tokensPerBuyer, uint8 tokenType)

func (*MarketSession) MarketFeeBps

func (_Market *MarketSession) MarketFeeBps() (*big.Int, error)

MarketFeeBps is a free data retrieval call binding the contract method 0x3f5c3e87.

Solidity: function marketFeeBps() view returns(uint128)

func (*MarketSession) Multicall added in v0.1.2

func (_Market *MarketSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*MarketSession) OnERC1155BatchReceived

func (_Market *MarketSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

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

func (*MarketSession) OnERC1155Received

func (_Market *MarketSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*MarketSession) OnERC721Received

func (_Market *MarketSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) pure returns(bytes4)

func (*MarketSession) PAUSERROLE added in v0.1.2

func (_Market *MarketSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*MarketSession) Paused added in v0.1.2

func (_Market *MarketSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*MarketSession) RenounceRole added in v0.1.2

func (_Market *MarketSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*MarketSession) RestrictedListerRoleOnly added in v0.1.2

func (_Market *MarketSession) RestrictedListerRoleOnly() (bool, error)

RestrictedListerRoleOnly is a free data retrieval call binding the contract method 0x61096ec6.

Solidity: function restrictedListerRoleOnly() view returns(bool)

func (*MarketSession) RevokeRole added in v0.1.2

func (_Market *MarketSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*MarketSession) SetContractURI

func (_Market *MarketSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*MarketSession) SetMarketFeeBps

func (_Market *MarketSession) SetMarketFeeBps(feeBps *big.Int) (*types.Transaction, error)

SetMarketFeeBps is a paid mutator transaction binding the contract method 0x09679b39.

Solidity: function setMarketFeeBps(uint128 feeBps) returns()

func (*MarketSession) SetRestrictedListerRoleOnly added in v0.1.2

func (_Market *MarketSession) SetRestrictedListerRoleOnly(restricted bool) (*types.Transaction, error)

SetRestrictedListerRoleOnly is a paid mutator transaction binding the contract method 0x354c7ab6.

Solidity: function setRestrictedListerRoleOnly(bool restricted) returns()

func (*MarketSession) SupportsInterface

func (_Market *MarketSession) 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 (*MarketSession) TotalListings

func (_Market *MarketSession) TotalListings() (*big.Int, error)

TotalListings is a free data retrieval call binding the contract method 0xc78b616c.

Solidity: function totalListings() view returns(uint256)

func (*MarketSession) Unlist

func (_Market *MarketSession) Unlist(_listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

Unlist is a paid mutator transaction binding the contract method 0x4fd69f3c.

Solidity: function unlist(uint256 _listingId, uint256 _quantity) returns()

func (*MarketSession) UpdateListingParams

func (_Market *MarketSession) UpdateListingParams(_listingId *big.Int, _pricePerToken *big.Int, _currency common.Address, _tokensPerBuyer *big.Int, _secondsUntilStart *big.Int, _secondsUntilEnd *big.Int) (*types.Transaction, error)

UpdateListingParams is a paid mutator transaction binding the contract method 0x31851012.

Solidity: function updateListingParams(uint256 _listingId, uint256 _pricePerToken, address _currency, uint256 _tokensPerBuyer, uint256 _secondsUntilStart, uint256 _secondsUntilEnd) returns()

type MarketTransactor

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

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

func NewMarketTransactor

func NewMarketTransactor(address common.Address, transactor bind.ContractTransactor) (*MarketTransactor, error)

NewMarketTransactor creates a new write-only instance of Market, bound to a specific deployed contract.

func (*MarketTransactor) AddToListing

func (_Market *MarketTransactor) AddToListing(opts *bind.TransactOpts, _listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

AddToListing is a paid mutator transaction binding the contract method 0x583e12b6.

Solidity: function addToListing(uint256 _listingId, uint256 _quantity) returns()

func (*MarketTransactor) Buy

func (_Market *MarketTransactor) Buy(opts *bind.TransactOpts, _listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xd6febde8.

Solidity: function buy(uint256 _listingId, uint256 _quantity) returns()

func (*MarketTransactor) GrantRole added in v0.1.2

func (_Market *MarketTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*MarketTransactor) List

func (_Market *MarketTransactor) List(opts *bind.TransactOpts, _assetContract common.Address, _tokenId *big.Int, _currency common.Address, _pricePerToken *big.Int, _quantity *big.Int, _tokensPerBuyer *big.Int, _secondsUntilStart *big.Int, _secondsUntilEnd *big.Int) (*types.Transaction, error)

List is a paid mutator transaction binding the contract method 0x9b782ff2.

Solidity: function list(address _assetContract, uint256 _tokenId, address _currency, uint256 _pricePerToken, uint256 _quantity, uint256 _tokensPerBuyer, uint256 _secondsUntilStart, uint256 _secondsUntilEnd) returns()

func (*MarketTransactor) Multicall added in v0.1.2

func (_Market *MarketTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*MarketTransactor) OnERC1155BatchReceived

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

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

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

func (*MarketTransactor) OnERC1155Received

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

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*MarketTransactor) RenounceRole added in v0.1.2

func (_Market *MarketTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*MarketTransactor) RevokeRole added in v0.1.2

func (_Market *MarketTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*MarketTransactor) SetContractURI

func (_Market *MarketTransactor) SetContractURI(opts *bind.TransactOpts, _URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*MarketTransactor) SetMarketFeeBps

func (_Market *MarketTransactor) SetMarketFeeBps(opts *bind.TransactOpts, feeBps *big.Int) (*types.Transaction, error)

SetMarketFeeBps is a paid mutator transaction binding the contract method 0x09679b39.

Solidity: function setMarketFeeBps(uint128 feeBps) returns()

func (*MarketTransactor) SetRestrictedListerRoleOnly added in v0.1.2

func (_Market *MarketTransactor) SetRestrictedListerRoleOnly(opts *bind.TransactOpts, restricted bool) (*types.Transaction, error)

SetRestrictedListerRoleOnly is a paid mutator transaction binding the contract method 0x354c7ab6.

Solidity: function setRestrictedListerRoleOnly(bool restricted) returns()

func (*MarketTransactor) Unlist

func (_Market *MarketTransactor) Unlist(opts *bind.TransactOpts, _listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

Unlist is a paid mutator transaction binding the contract method 0x4fd69f3c.

Solidity: function unlist(uint256 _listingId, uint256 _quantity) returns()

func (*MarketTransactor) UpdateListingParams

func (_Market *MarketTransactor) UpdateListingParams(opts *bind.TransactOpts, _listingId *big.Int, _pricePerToken *big.Int, _currency common.Address, _tokensPerBuyer *big.Int, _secondsUntilStart *big.Int, _secondsUntilEnd *big.Int) (*types.Transaction, error)

UpdateListingParams is a paid mutator transaction binding the contract method 0x31851012.

Solidity: function updateListingParams(uint256 _listingId, uint256 _pricePerToken, address _currency, uint256 _tokensPerBuyer, uint256 _secondsUntilStart, uint256 _secondsUntilEnd) returns()

type MarketTransactorRaw

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

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

func (*MarketTransactorRaw) Transact

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

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

func (*MarketTransactorRaw) Transfer

func (_Market *MarketTransactorRaw) 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 MarketTransactorSession

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

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

func (*MarketTransactorSession) AddToListing

func (_Market *MarketTransactorSession) AddToListing(_listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

AddToListing is a paid mutator transaction binding the contract method 0x583e12b6.

Solidity: function addToListing(uint256 _listingId, uint256 _quantity) returns()

func (*MarketTransactorSession) Buy

func (_Market *MarketTransactorSession) Buy(_listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

Buy is a paid mutator transaction binding the contract method 0xd6febde8.

Solidity: function buy(uint256 _listingId, uint256 _quantity) returns()

func (*MarketTransactorSession) GrantRole added in v0.1.2

func (_Market *MarketTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*MarketTransactorSession) List

func (_Market *MarketTransactorSession) List(_assetContract common.Address, _tokenId *big.Int, _currency common.Address, _pricePerToken *big.Int, _quantity *big.Int, _tokensPerBuyer *big.Int, _secondsUntilStart *big.Int, _secondsUntilEnd *big.Int) (*types.Transaction, error)

List is a paid mutator transaction binding the contract method 0x9b782ff2.

Solidity: function list(address _assetContract, uint256 _tokenId, address _currency, uint256 _pricePerToken, uint256 _quantity, uint256 _tokensPerBuyer, uint256 _secondsUntilStart, uint256 _secondsUntilEnd) returns()

func (*MarketTransactorSession) Multicall added in v0.1.2

func (_Market *MarketTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*MarketTransactorSession) OnERC1155BatchReceived

func (_Market *MarketTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

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

func (*MarketTransactorSession) OnERC1155Received

func (_Market *MarketTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*MarketTransactorSession) RenounceRole added in v0.1.2

func (_Market *MarketTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*MarketTransactorSession) RevokeRole added in v0.1.2

func (_Market *MarketTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*MarketTransactorSession) SetContractURI

func (_Market *MarketTransactorSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*MarketTransactorSession) SetMarketFeeBps

func (_Market *MarketTransactorSession) SetMarketFeeBps(feeBps *big.Int) (*types.Transaction, error)

SetMarketFeeBps is a paid mutator transaction binding the contract method 0x09679b39.

Solidity: function setMarketFeeBps(uint128 feeBps) returns()

func (*MarketTransactorSession) SetRestrictedListerRoleOnly added in v0.1.2

func (_Market *MarketTransactorSession) SetRestrictedListerRoleOnly(restricted bool) (*types.Transaction, error)

SetRestrictedListerRoleOnly is a paid mutator transaction binding the contract method 0x354c7ab6.

Solidity: function setRestrictedListerRoleOnly(bool restricted) returns()

func (*MarketTransactorSession) Unlist

func (_Market *MarketTransactorSession) Unlist(_listingId *big.Int, _quantity *big.Int) (*types.Transaction, error)

Unlist is a paid mutator transaction binding the contract method 0x4fd69f3c.

Solidity: function unlist(uint256 _listingId, uint256 _quantity) returns()

func (*MarketTransactorSession) UpdateListingParams

func (_Market *MarketTransactorSession) UpdateListingParams(_listingId *big.Int, _pricePerToken *big.Int, _currency common.Address, _tokensPerBuyer *big.Int, _secondsUntilStart *big.Int, _secondsUntilEnd *big.Int) (*types.Transaction, error)

UpdateListingParams is a paid mutator transaction binding the contract method 0x31851012.

Solidity: function updateListingParams(uint256 _listingId, uint256 _pricePerToken, address _currency, uint256 _tokensPerBuyer, uint256 _secondsUntilStart, uint256 _secondsUntilEnd) returns()

type MarketUnpaused added in v0.1.2

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

MarketUnpaused represents a Unpaused event raised by the Market contract.

type MarketUnpausedIterator added in v0.1.2

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

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

func (*MarketUnpausedIterator) Close added in v0.1.2

func (it *MarketUnpausedIterator) Close() error

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

func (*MarketUnpausedIterator) Error added in v0.1.2

func (it *MarketUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MarketUnpausedIterator) Next added in v0.1.2

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

type NFT struct {
	NFTCaller     // Read-only binding to the contract
	NFTTransactor // Write-only binding to the contract
	NFTFilterer   // Log filterer for contract events
}

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

func NewNFT

func NewNFT(address common.Address, backend bind.ContractBackend) (*NFT, error)

NewNFT creates a new instance of NFT, bound to a specific deployed contract.

type NFTApproval

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

NFTApproval represents a Approval event raised by the NFT contract.

type NFTApprovalForAll

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

NFTApprovalForAll represents a ApprovalForAll event raised by the NFT contract.

type NFTApprovalForAllIterator

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

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

func (*NFTApprovalForAllIterator) Close

func (it *NFTApprovalForAllIterator) Close() error

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

func (*NFTApprovalForAllIterator) Error

func (it *NFTApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTApprovalForAllIterator) Next

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

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

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

func (*NFTApprovalIterator) Close

func (it *NFTApprovalIterator) Close() error

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

func (*NFTApprovalIterator) Error

func (it *NFTApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTApprovalIterator) Next

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

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

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

func NewNFTCaller

func NewNFTCaller(address common.Address, caller bind.ContractCaller) (*NFTCaller, error)

NewNFTCaller creates a new read-only instance of NFT, bound to a specific deployed contract.

func (*NFTCaller) BalanceOf

func (_NFT *NFTCaller) 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 (*NFTCaller) ContractURI

func (_NFT *NFTCaller) ContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*NFTCaller) Creator added in v0.1.2

func (_NFT *NFTCaller) Creator(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

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

func (*NFTCaller) DEFAULTADMINROLE

func (_NFT *NFTCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*NFTCaller) GetApproved

func (_NFT *NFTCaller) 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 (*NFTCaller) GetRoleAdmin

func (_NFT *NFTCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*NFTCaller) GetRoleMember

func (_NFT *NFTCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*NFTCaller) GetRoleMemberCount

func (_NFT *NFTCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*NFTCaller) HasRole

func (_NFT *NFTCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*NFTCaller) InternalContractURI

func (_NFT *NFTCaller) InternalContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function contractURI() view returns(string)

func (*NFTCaller) IsApprovedForAll

func (_NFT *NFTCaller) 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 (*NFTCaller) IsTrustedForwarder

func (_NFT *NFTCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*NFTCaller) MINTERROLE

func (_NFT *NFTCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*NFTCaller) Mint

func (_NFT *NFTCaller) Mint(opts *bind.CallOpts, arg0 common.Address) error

Mint is a free data retrieval call binding the contract method 0x6a627842.

Solidity: function mint(address ) pure returns()

func (*NFTCaller) Name

func (_NFT *NFTCaller) 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 (*NFTCaller) NextTokenId

func (_NFT *NFTCaller) NextTokenId(opts *bind.CallOpts) (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*NFTCaller) NftURI

func (_NFT *NFTCaller) NftURI(opts *bind.CallOpts, arg0 *big.Int) (string, error)

NftURI is a free data retrieval call binding the contract method 0xefe47687.

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

func (*NFTCaller) OwnerOf

func (_NFT *NFTCaller) 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 (*NFTCaller) PAUSERROLE

func (_NFT *NFTCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*NFTCaller) Paused

func (_NFT *NFTCaller) 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 (*NFTCaller) RoyaltyBps

func (_NFT *NFTCaller) RoyaltyBps(opts *bind.CallOpts) (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*NFTCaller) RoyaltyInfo

func (_NFT *NFTCaller) RoyaltyInfo(opts *bind.CallOpts, arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*NFTCaller) SupportsInterface

func (_NFT *NFTCaller) 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 (*NFTCaller) Symbol

func (_NFT *NFTCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*NFTCaller) TRANSFERROLE added in v0.1.0

func (_NFT *NFTCaller) TRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*NFTCaller) TokenByIndex

func (_NFT *NFTCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

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

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

func (*NFTCaller) TokenOfOwnerByIndex

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

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

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

func (*NFTCaller) TokenURI

func (_NFT *NFTCaller) 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 (*NFTCaller) TotalSupply

func (_NFT *NFTCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*NFTCaller) TransfersRestricted added in v0.1.2

func (_NFT *NFTCaller) TransfersRestricted(opts *bind.CallOpts) (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

type NFTCallerRaw

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

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

func (*NFTCallerRaw) Call

func (_NFT *NFTCallerRaw) 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 NFTCallerSession

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

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

func (*NFTCallerSession) BalanceOf

func (_NFT *NFTCallerSession) 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 (*NFTCallerSession) ContractURI

func (_NFT *NFTCallerSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*NFTCallerSession) Creator added in v0.1.2

func (_NFT *NFTCallerSession) Creator(arg0 *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

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

func (*NFTCallerSession) DEFAULTADMINROLE

func (_NFT *NFTCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*NFTCallerSession) GetApproved

func (_NFT *NFTCallerSession) 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 (*NFTCallerSession) GetRoleAdmin

func (_NFT *NFTCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*NFTCallerSession) GetRoleMember

func (_NFT *NFTCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*NFTCallerSession) GetRoleMemberCount

func (_NFT *NFTCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*NFTCallerSession) HasRole

func (_NFT *NFTCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*NFTCallerSession) InternalContractURI

func (_NFT *NFTCallerSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*NFTCallerSession) IsApprovedForAll

func (_NFT *NFTCallerSession) 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 (*NFTCallerSession) IsTrustedForwarder

func (_NFT *NFTCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*NFTCallerSession) MINTERROLE

func (_NFT *NFTCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*NFTCallerSession) Mint

func (_NFT *NFTCallerSession) Mint(arg0 common.Address) error

Mint is a free data retrieval call binding the contract method 0x6a627842.

Solidity: function mint(address ) pure returns()

func (*NFTCallerSession) Name

func (_NFT *NFTCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*NFTCallerSession) NextTokenId

func (_NFT *NFTCallerSession) NextTokenId() (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*NFTCallerSession) NftURI

func (_NFT *NFTCallerSession) NftURI(arg0 *big.Int) (string, error)

NftURI is a free data retrieval call binding the contract method 0xefe47687.

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

func (*NFTCallerSession) OwnerOf

func (_NFT *NFTCallerSession) 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 (*NFTCallerSession) PAUSERROLE

func (_NFT *NFTCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*NFTCallerSession) Paused

func (_NFT *NFTCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*NFTCallerSession) RoyaltyBps

func (_NFT *NFTCallerSession) RoyaltyBps() (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*NFTCallerSession) RoyaltyInfo

func (_NFT *NFTCallerSession) RoyaltyInfo(arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*NFTCallerSession) SupportsInterface

func (_NFT *NFTCallerSession) 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 (*NFTCallerSession) Symbol

func (_NFT *NFTCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*NFTCallerSession) TRANSFERROLE added in v0.1.0

func (_NFT *NFTCallerSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*NFTCallerSession) TokenByIndex

func (_NFT *NFTCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

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

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

func (*NFTCallerSession) TokenOfOwnerByIndex

func (_NFT *NFTCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

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

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

func (*NFTCallerSession) TokenURI

func (_NFT *NFTCallerSession) 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 (*NFTCallerSession) TotalSupply

func (_NFT *NFTCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*NFTCallerSession) TransfersRestricted added in v0.1.2

func (_NFT *NFTCallerSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

type NFTCollection

type NFTCollection struct {
	NFTCollectionCaller     // Read-only binding to the contract
	NFTCollectionTransactor // Write-only binding to the contract
	NFTCollectionFilterer   // Log filterer for contract events
}

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

func NewNFTCollection

func NewNFTCollection(address common.Address, backend bind.ContractBackend) (*NFTCollection, error)

NewNFTCollection creates a new instance of NFTCollection, bound to a specific deployed contract.

type NFTCollectionApprovalForAll

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

NFTCollectionApprovalForAll represents a ApprovalForAll event raised by the NFTCollection contract.

type NFTCollectionApprovalForAllIterator

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

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

func (*NFTCollectionApprovalForAllIterator) Close

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

func (*NFTCollectionApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionApprovalForAllIterator) 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 NFTCollectionCaller

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

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

func NewNFTCollectionCaller

func NewNFTCollectionCaller(address common.Address, caller bind.ContractCaller) (*NFTCollectionCaller, error)

NewNFTCollectionCaller creates a new read-only instance of NFTCollection, bound to a specific deployed contract.

func (*NFTCollectionCaller) BalanceOf

func (_NFTCollection *NFTCollectionCaller) 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 (*NFTCollectionCaller) BalanceOfBatch

func (_NFTCollection *NFTCollectionCaller) 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 (*NFTCollectionCaller) ContractURI

func (_NFTCollection *NFTCollectionCaller) ContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*NFTCollectionCaller) Creator

func (_NFTCollection *NFTCollectionCaller) Creator(opts *bind.CallOpts, _nftId *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 _nftId) view returns(address)

func (*NFTCollectionCaller) DEFAULTADMINROLE

func (_NFTCollection *NFTCollectionCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*NFTCollectionCaller) Erc20WrappedTokens added in v0.1.0

func (_NFTCollection *NFTCollectionCaller) Erc20WrappedTokens(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Source                common.Address
	Shares                *big.Int
	UnderlyingTokenAmount *big.Int
}, error)

Erc20WrappedTokens is a free data retrieval call binding the contract method 0x5cd9913d.

Solidity: function erc20WrappedTokens(uint256 ) view returns(address source, uint256 shares, uint256 underlyingTokenAmount)

func (*NFTCollectionCaller) Erc721WrappedTokens added in v0.1.0

func (_NFTCollection *NFTCollectionCaller) Erc721WrappedTokens(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Source  common.Address
	TokenId *big.Int
}, error)

Erc721WrappedTokens is a free data retrieval call binding the contract method 0x367a182b.

Solidity: function erc721WrappedTokens(uint256 ) view returns(address source, uint256 tokenId)

func (*NFTCollectionCaller) GetRoleAdmin

func (_NFTCollection *NFTCollectionCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*NFTCollectionCaller) GetRoleMember

func (_NFTCollection *NFTCollectionCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*NFTCollectionCaller) GetRoleMemberCount

func (_NFTCollection *NFTCollectionCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*NFTCollectionCaller) HasRole

func (_NFTCollection *NFTCollectionCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*NFTCollectionCaller) InternalContractURI

func (_NFTCollection *NFTCollectionCaller) InternalContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function contractURI() view returns(string)

func (*NFTCollectionCaller) IsApprovedForAll

func (_NFTCollection *NFTCollectionCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

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

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

func (*NFTCollectionCaller) IsTrustedForwarder

func (_NFTCollection *NFTCollectionCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*NFTCollectionCaller) MINTERROLE

func (_NFTCollection *NFTCollectionCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*NFTCollectionCaller) NextTokenId

func (_NFTCollection *NFTCollectionCaller) NextTokenId(opts *bind.CallOpts) (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*NFTCollectionCaller) PAUSERROLE

func (_NFTCollection *NFTCollectionCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*NFTCollectionCaller) Paused

func (_NFTCollection *NFTCollectionCaller) 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 (*NFTCollectionCaller) RoyaltyBps added in v0.1.0

func (_NFTCollection *NFTCollectionCaller) RoyaltyBps(opts *bind.CallOpts) (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*NFTCollectionCaller) RoyaltyInfo

func (_NFTCollection *NFTCollectionCaller) RoyaltyInfo(opts *bind.CallOpts, arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*NFTCollectionCaller) SupportsInterface

func (_NFTCollection *NFTCollectionCaller) 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 (*NFTCollectionCaller) TRANSFERROLE added in v0.1.0

func (_NFTCollection *NFTCollectionCaller) TRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*NFTCollectionCaller) TokenState added in v0.1.0

func (_NFTCollection *NFTCollectionCaller) TokenState(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Creator        common.Address
	Uri            string
	UnderlyingType uint8
}, error)

TokenState is a free data retrieval call binding the contract method 0x9745cc3d.

Solidity: function tokenState(uint256 ) view returns(address creator, string uri, uint8 underlyingType)

func (*NFTCollectionCaller) TokenURI

func (_NFTCollection *NFTCollectionCaller) TokenURI(opts *bind.CallOpts, _nftId *big.Int) (string, error)

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

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

func (*NFTCollectionCaller) TotalSupply added in v0.1.0

func (_NFTCollection *NFTCollectionCaller) 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 (*NFTCollectionCaller) TransfersRestricted added in v0.1.0

func (_NFTCollection *NFTCollectionCaller) TransfersRestricted(opts *bind.CallOpts) (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*NFTCollectionCaller) Uri

func (_NFTCollection *NFTCollectionCaller) Uri(opts *bind.CallOpts, _nftId *big.Int) (string, error)

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

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

type NFTCollectionCallerRaw

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

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

func (*NFTCollectionCallerRaw) Call

func (_NFTCollection *NFTCollectionCallerRaw) 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 NFTCollectionCallerSession

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

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

func (*NFTCollectionCallerSession) BalanceOf

func (_NFTCollection *NFTCollectionCallerSession) 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 (*NFTCollectionCallerSession) BalanceOfBatch

func (_NFTCollection *NFTCollectionCallerSession) 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 (*NFTCollectionCallerSession) ContractURI

func (_NFTCollection *NFTCollectionCallerSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*NFTCollectionCallerSession) Creator

func (_NFTCollection *NFTCollectionCallerSession) Creator(_nftId *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 _nftId) view returns(address)

func (*NFTCollectionCallerSession) DEFAULTADMINROLE

func (_NFTCollection *NFTCollectionCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*NFTCollectionCallerSession) Erc20WrappedTokens added in v0.1.0

func (_NFTCollection *NFTCollectionCallerSession) Erc20WrappedTokens(arg0 *big.Int) (struct {
	Source                common.Address
	Shares                *big.Int
	UnderlyingTokenAmount *big.Int
}, error)

Erc20WrappedTokens is a free data retrieval call binding the contract method 0x5cd9913d.

Solidity: function erc20WrappedTokens(uint256 ) view returns(address source, uint256 shares, uint256 underlyingTokenAmount)

func (*NFTCollectionCallerSession) Erc721WrappedTokens added in v0.1.0

func (_NFTCollection *NFTCollectionCallerSession) Erc721WrappedTokens(arg0 *big.Int) (struct {
	Source  common.Address
	TokenId *big.Int
}, error)

Erc721WrappedTokens is a free data retrieval call binding the contract method 0x367a182b.

Solidity: function erc721WrappedTokens(uint256 ) view returns(address source, uint256 tokenId)

func (*NFTCollectionCallerSession) GetRoleAdmin

func (_NFTCollection *NFTCollectionCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*NFTCollectionCallerSession) GetRoleMember

func (_NFTCollection *NFTCollectionCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*NFTCollectionCallerSession) GetRoleMemberCount

func (_NFTCollection *NFTCollectionCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*NFTCollectionCallerSession) HasRole

func (_NFTCollection *NFTCollectionCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*NFTCollectionCallerSession) InternalContractURI

func (_NFTCollection *NFTCollectionCallerSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*NFTCollectionCallerSession) IsApprovedForAll

func (_NFTCollection *NFTCollectionCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

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

func (*NFTCollectionCallerSession) IsTrustedForwarder

func (_NFTCollection *NFTCollectionCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*NFTCollectionCallerSession) MINTERROLE

func (_NFTCollection *NFTCollectionCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*NFTCollectionCallerSession) NextTokenId

func (_NFTCollection *NFTCollectionCallerSession) NextTokenId() (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*NFTCollectionCallerSession) PAUSERROLE

func (_NFTCollection *NFTCollectionCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*NFTCollectionCallerSession) Paused

func (_NFTCollection *NFTCollectionCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*NFTCollectionCallerSession) RoyaltyBps added in v0.1.0

func (_NFTCollection *NFTCollectionCallerSession) RoyaltyBps() (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*NFTCollectionCallerSession) RoyaltyInfo

func (_NFTCollection *NFTCollectionCallerSession) RoyaltyInfo(arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*NFTCollectionCallerSession) SupportsInterface

func (_NFTCollection *NFTCollectionCallerSession) 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 (*NFTCollectionCallerSession) TRANSFERROLE added in v0.1.0

func (_NFTCollection *NFTCollectionCallerSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*NFTCollectionCallerSession) TokenState added in v0.1.0

func (_NFTCollection *NFTCollectionCallerSession) TokenState(arg0 *big.Int) (struct {
	Creator        common.Address
	Uri            string
	UnderlyingType uint8
}, error)

TokenState is a free data retrieval call binding the contract method 0x9745cc3d.

Solidity: function tokenState(uint256 ) view returns(address creator, string uri, uint8 underlyingType)

func (*NFTCollectionCallerSession) TokenURI

func (_NFTCollection *NFTCollectionCallerSession) TokenURI(_nftId *big.Int) (string, error)

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

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

func (*NFTCollectionCallerSession) TotalSupply added in v0.1.0

func (_NFTCollection *NFTCollectionCallerSession) 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 (*NFTCollectionCallerSession) TransfersRestricted added in v0.1.0

func (_NFTCollection *NFTCollectionCallerSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*NFTCollectionCallerSession) Uri

func (_NFTCollection *NFTCollectionCallerSession) Uri(_nftId *big.Int) (string, error)

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

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

type NFTCollectionERC20Redeemed

type NFTCollectionERC20Redeemed struct {
	Redeemer            common.Address
	TokenId             *big.Int
	SourceOfUnderlying  common.Address
	TokenAmountReceived *big.Int
	SharesRedeemed      *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

NFTCollectionERC20Redeemed represents a ERC20Redeemed event raised by the NFTCollection contract.

type NFTCollectionERC20RedeemedIterator

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

NFTCollectionERC20RedeemedIterator is returned from FilterERC20Redeemed and is used to iterate over the raw logs and unpacked data for ERC20Redeemed events raised by the NFTCollection contract.

func (*NFTCollectionERC20RedeemedIterator) Close

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

func (*NFTCollectionERC20RedeemedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionERC20RedeemedIterator) 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 NFTCollectionERC20WrappedToken added in v0.1.0

type NFTCollectionERC20WrappedToken struct {
	Creator                 common.Address
	SourceOfUnderlying      common.Address
	TotalAmountOfUnderlying *big.Int
	Shares                  *big.Int
	TokenId                 *big.Int
	TokenURI                string
	Raw                     types.Log // Blockchain specific contextual infos
}

NFTCollectionERC20WrappedToken represents a ERC20WrappedToken event raised by the NFTCollection contract.

type NFTCollectionERC20WrappedTokenIterator added in v0.1.0

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

NFTCollectionERC20WrappedTokenIterator is returned from FilterERC20WrappedToken and is used to iterate over the raw logs and unpacked data for ERC20WrappedToken events raised by the NFTCollection contract.

func (*NFTCollectionERC20WrappedTokenIterator) Close added in v0.1.0

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

func (*NFTCollectionERC20WrappedTokenIterator) Error added in v0.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionERC20WrappedTokenIterator) Next added in v0.1.0

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 NFTCollectionERC721Redeemed

type NFTCollectionERC721Redeemed struct {
	Redeemer            common.Address
	SourceOfUnderlying  common.Address
	TokenIdOfUnderlying *big.Int
	TokenId             *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

NFTCollectionERC721Redeemed represents a ERC721Redeemed event raised by the NFTCollection contract.

type NFTCollectionERC721RedeemedIterator

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

NFTCollectionERC721RedeemedIterator is returned from FilterERC721Redeemed and is used to iterate over the raw logs and unpacked data for ERC721Redeemed events raised by the NFTCollection contract.

func (*NFTCollectionERC721RedeemedIterator) Close

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

func (*NFTCollectionERC721RedeemedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionERC721RedeemedIterator) 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 NFTCollectionERC721WrappedToken added in v0.1.0

type NFTCollectionERC721WrappedToken struct {
	Creator             common.Address
	SourceOfUnderlying  common.Address
	TokenIdOfUnderlying *big.Int
	TokenId             *big.Int
	TokenURI            string
	Raw                 types.Log // Blockchain specific contextual infos
}

NFTCollectionERC721WrappedToken represents a ERC721WrappedToken event raised by the NFTCollection contract.

type NFTCollectionERC721WrappedTokenIterator added in v0.1.0

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

NFTCollectionERC721WrappedTokenIterator is returned from FilterERC721WrappedToken and is used to iterate over the raw logs and unpacked data for ERC721WrappedToken events raised by the NFTCollection contract.

func (*NFTCollectionERC721WrappedTokenIterator) Close added in v0.1.0

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

func (*NFTCollectionERC721WrappedTokenIterator) Error added in v0.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionERC721WrappedTokenIterator) Next added in v0.1.0

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 NFTCollectionFilterer

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

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

func NewNFTCollectionFilterer

func NewNFTCollectionFilterer(address common.Address, filterer bind.ContractFilterer) (*NFTCollectionFilterer, error)

NewNFTCollectionFilterer creates a new log filterer instance of NFTCollection, bound to a specific deployed contract.

func (*NFTCollectionFilterer) FilterApprovalForAll

func (_NFTCollection *NFTCollectionFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*NFTCollectionApprovalForAllIterator, 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 (*NFTCollectionFilterer) FilterERC20Redeemed

func (_NFTCollection *NFTCollectionFilterer) FilterERC20Redeemed(opts *bind.FilterOpts, redeemer []common.Address, tokenId []*big.Int, sourceOfUnderlying []common.Address) (*NFTCollectionERC20RedeemedIterator, error)

FilterERC20Redeemed is a free log retrieval operation binding the contract event 0xb80333a30b48beb3745280a5e4bb1b8e53f79569e454ec99ba13678dfbe728eb.

Solidity: event ERC20Redeemed(address indexed redeemer, uint256 indexed tokenId, address indexed sourceOfUnderlying, uint256 tokenAmountReceived, uint256 sharesRedeemed)

func (*NFTCollectionFilterer) FilterERC20WrappedToken added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) FilterERC20WrappedToken(opts *bind.FilterOpts, creator []common.Address, sourceOfUnderlying []common.Address) (*NFTCollectionERC20WrappedTokenIterator, error)

FilterERC20WrappedToken is a free log retrieval operation binding the contract event 0x53af9a53d4a11cb382035aa13d6d8e24575569953176d87464ba37e7013a6aa4.

Solidity: event ERC20WrappedToken(address indexed creator, address indexed sourceOfUnderlying, uint256 totalAmountOfUnderlying, uint256 shares, uint256 tokenId, string tokenURI)

func (*NFTCollectionFilterer) FilterERC721Redeemed

func (_NFTCollection *NFTCollectionFilterer) FilterERC721Redeemed(opts *bind.FilterOpts, redeemer []common.Address, sourceOfUnderlying []common.Address) (*NFTCollectionERC721RedeemedIterator, error)

FilterERC721Redeemed is a free log retrieval operation binding the contract event 0xea7b88a04220a2292e142652e8e1a59cc00e7d27d8ad6b11da6cf5870e6ba866.

Solidity: event ERC721Redeemed(address indexed redeemer, address indexed sourceOfUnderlying, uint256 tokenIdOfUnderlying, uint256 tokenId)

func (*NFTCollectionFilterer) FilterERC721WrappedToken added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) FilterERC721WrappedToken(opts *bind.FilterOpts, creator []common.Address, sourceOfUnderlying []common.Address) (*NFTCollectionERC721WrappedTokenIterator, error)

FilterERC721WrappedToken is a free log retrieval operation binding the contract event 0x797091bed1dcc535a592c3da1115fdb7467204ef9fb70943f0fc855ebe0a30f5.

Solidity: event ERC721WrappedToken(address indexed creator, address indexed sourceOfUnderlying, uint256 tokenIdOfUnderlying, uint256 tokenId, string tokenURI)

func (*NFTCollectionFilterer) FilterNativeTokens added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) FilterNativeTokens(opts *bind.FilterOpts, creator []common.Address) (*NFTCollectionNativeTokensIterator, error)

FilterNativeTokens is a free log retrieval operation binding the contract event 0xbea5a4b7cf9a3f7d8bf7c987614db5dcfdcd917a2cd5788a210c0ebdccfc5da4.

Solidity: event NativeTokens(address indexed creator, uint256[] tokenIds, string[] tokenURIs, uint256[] tokenSupplies)

func (*NFTCollectionFilterer) FilterPaused

func (_NFTCollection *NFTCollectionFilterer) FilterPaused(opts *bind.FilterOpts) (*NFTCollectionPausedIterator, error)

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

Solidity: event Paused(address account)

func (*NFTCollectionFilterer) FilterRestrictedTransferUpdated added in v0.1.2

func (_NFTCollection *NFTCollectionFilterer) FilterRestrictedTransferUpdated(opts *bind.FilterOpts) (*NFTCollectionRestrictedTransferUpdatedIterator, error)

FilterRestrictedTransferUpdated is a free log retrieval operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*NFTCollectionFilterer) FilterRoleAdminChanged

func (_NFTCollection *NFTCollectionFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*NFTCollectionRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*NFTCollectionFilterer) FilterRoleGranted

func (_NFTCollection *NFTCollectionFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*NFTCollectionRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTCollectionFilterer) FilterRoleRevoked

func (_NFTCollection *NFTCollectionFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*NFTCollectionRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTCollectionFilterer) FilterRoyaltyUpdated added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) FilterRoyaltyUpdated(opts *bind.FilterOpts) (*NFTCollectionRoyaltyUpdatedIterator, error)

FilterRoyaltyUpdated is a free log retrieval operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*NFTCollectionFilterer) FilterTransferBatch

func (_NFTCollection *NFTCollectionFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*NFTCollectionTransferBatchIterator, 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 (*NFTCollectionFilterer) FilterTransferSingle

func (_NFTCollection *NFTCollectionFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*NFTCollectionTransferSingleIterator, 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 (*NFTCollectionFilterer) FilterURI

func (_NFTCollection *NFTCollectionFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*NFTCollectionURIIterator, error)

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

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

func (*NFTCollectionFilterer) FilterUnpaused

func (_NFTCollection *NFTCollectionFilterer) FilterUnpaused(opts *bind.FilterOpts) (*NFTCollectionUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*NFTCollectionFilterer) ParseApprovalForAll

func (_NFTCollection *NFTCollectionFilterer) ParseApprovalForAll(log types.Log) (*NFTCollectionApprovalForAll, error)

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

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

func (*NFTCollectionFilterer) ParseERC20Redeemed

func (_NFTCollection *NFTCollectionFilterer) ParseERC20Redeemed(log types.Log) (*NFTCollectionERC20Redeemed, error)

ParseERC20Redeemed is a log parse operation binding the contract event 0xb80333a30b48beb3745280a5e4bb1b8e53f79569e454ec99ba13678dfbe728eb.

Solidity: event ERC20Redeemed(address indexed redeemer, uint256 indexed tokenId, address indexed sourceOfUnderlying, uint256 tokenAmountReceived, uint256 sharesRedeemed)

func (*NFTCollectionFilterer) ParseERC20WrappedToken added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) ParseERC20WrappedToken(log types.Log) (*NFTCollectionERC20WrappedToken, error)

ParseERC20WrappedToken is a log parse operation binding the contract event 0x53af9a53d4a11cb382035aa13d6d8e24575569953176d87464ba37e7013a6aa4.

Solidity: event ERC20WrappedToken(address indexed creator, address indexed sourceOfUnderlying, uint256 totalAmountOfUnderlying, uint256 shares, uint256 tokenId, string tokenURI)

func (*NFTCollectionFilterer) ParseERC721Redeemed

func (_NFTCollection *NFTCollectionFilterer) ParseERC721Redeemed(log types.Log) (*NFTCollectionERC721Redeemed, error)

ParseERC721Redeemed is a log parse operation binding the contract event 0xea7b88a04220a2292e142652e8e1a59cc00e7d27d8ad6b11da6cf5870e6ba866.

Solidity: event ERC721Redeemed(address indexed redeemer, address indexed sourceOfUnderlying, uint256 tokenIdOfUnderlying, uint256 tokenId)

func (*NFTCollectionFilterer) ParseERC721WrappedToken added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) ParseERC721WrappedToken(log types.Log) (*NFTCollectionERC721WrappedToken, error)

ParseERC721WrappedToken is a log parse operation binding the contract event 0x797091bed1dcc535a592c3da1115fdb7467204ef9fb70943f0fc855ebe0a30f5.

Solidity: event ERC721WrappedToken(address indexed creator, address indexed sourceOfUnderlying, uint256 tokenIdOfUnderlying, uint256 tokenId, string tokenURI)

func (*NFTCollectionFilterer) ParseNativeTokens added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) ParseNativeTokens(log types.Log) (*NFTCollectionNativeTokens, error)

ParseNativeTokens is a log parse operation binding the contract event 0xbea5a4b7cf9a3f7d8bf7c987614db5dcfdcd917a2cd5788a210c0ebdccfc5da4.

Solidity: event NativeTokens(address indexed creator, uint256[] tokenIds, string[] tokenURIs, uint256[] tokenSupplies)

func (*NFTCollectionFilterer) ParsePaused

func (_NFTCollection *NFTCollectionFilterer) ParsePaused(log types.Log) (*NFTCollectionPaused, error)

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

Solidity: event Paused(address account)

func (*NFTCollectionFilterer) ParseRestrictedTransferUpdated added in v0.1.2

func (_NFTCollection *NFTCollectionFilterer) ParseRestrictedTransferUpdated(log types.Log) (*NFTCollectionRestrictedTransferUpdated, error)

ParseRestrictedTransferUpdated is a log parse operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*NFTCollectionFilterer) ParseRoleAdminChanged

func (_NFTCollection *NFTCollectionFilterer) ParseRoleAdminChanged(log types.Log) (*NFTCollectionRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*NFTCollectionFilterer) ParseRoleGranted

func (_NFTCollection *NFTCollectionFilterer) ParseRoleGranted(log types.Log) (*NFTCollectionRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTCollectionFilterer) ParseRoleRevoked

func (_NFTCollection *NFTCollectionFilterer) ParseRoleRevoked(log types.Log) (*NFTCollectionRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTCollectionFilterer) ParseRoyaltyUpdated added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) ParseRoyaltyUpdated(log types.Log) (*NFTCollectionRoyaltyUpdated, error)

ParseRoyaltyUpdated is a log parse operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*NFTCollectionFilterer) ParseTransferBatch

func (_NFTCollection *NFTCollectionFilterer) ParseTransferBatch(log types.Log) (*NFTCollectionTransferBatch, 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 (*NFTCollectionFilterer) ParseTransferSingle

func (_NFTCollection *NFTCollectionFilterer) ParseTransferSingle(log types.Log) (*NFTCollectionTransferSingle, 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 (*NFTCollectionFilterer) ParseURI

func (_NFTCollection *NFTCollectionFilterer) ParseURI(log types.Log) (*NFTCollectionURI, error)

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

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

func (*NFTCollectionFilterer) ParseUnpaused

func (_NFTCollection *NFTCollectionFilterer) ParseUnpaused(log types.Log) (*NFTCollectionUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*NFTCollectionFilterer) WatchApprovalForAll

func (_NFTCollection *NFTCollectionFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NFTCollectionApprovalForAll, 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 (*NFTCollectionFilterer) WatchERC20Redeemed

func (_NFTCollection *NFTCollectionFilterer) WatchERC20Redeemed(opts *bind.WatchOpts, sink chan<- *NFTCollectionERC20Redeemed, redeemer []common.Address, tokenId []*big.Int, sourceOfUnderlying []common.Address) (event.Subscription, error)

WatchERC20Redeemed is a free log subscription operation binding the contract event 0xb80333a30b48beb3745280a5e4bb1b8e53f79569e454ec99ba13678dfbe728eb.

Solidity: event ERC20Redeemed(address indexed redeemer, uint256 indexed tokenId, address indexed sourceOfUnderlying, uint256 tokenAmountReceived, uint256 sharesRedeemed)

func (*NFTCollectionFilterer) WatchERC20WrappedToken added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) WatchERC20WrappedToken(opts *bind.WatchOpts, sink chan<- *NFTCollectionERC20WrappedToken, creator []common.Address, sourceOfUnderlying []common.Address) (event.Subscription, error)

WatchERC20WrappedToken is a free log subscription operation binding the contract event 0x53af9a53d4a11cb382035aa13d6d8e24575569953176d87464ba37e7013a6aa4.

Solidity: event ERC20WrappedToken(address indexed creator, address indexed sourceOfUnderlying, uint256 totalAmountOfUnderlying, uint256 shares, uint256 tokenId, string tokenURI)

func (*NFTCollectionFilterer) WatchERC721Redeemed

func (_NFTCollection *NFTCollectionFilterer) WatchERC721Redeemed(opts *bind.WatchOpts, sink chan<- *NFTCollectionERC721Redeemed, redeemer []common.Address, sourceOfUnderlying []common.Address) (event.Subscription, error)

WatchERC721Redeemed is a free log subscription operation binding the contract event 0xea7b88a04220a2292e142652e8e1a59cc00e7d27d8ad6b11da6cf5870e6ba866.

Solidity: event ERC721Redeemed(address indexed redeemer, address indexed sourceOfUnderlying, uint256 tokenIdOfUnderlying, uint256 tokenId)

func (*NFTCollectionFilterer) WatchERC721WrappedToken added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) WatchERC721WrappedToken(opts *bind.WatchOpts, sink chan<- *NFTCollectionERC721WrappedToken, creator []common.Address, sourceOfUnderlying []common.Address) (event.Subscription, error)

WatchERC721WrappedToken is a free log subscription operation binding the contract event 0x797091bed1dcc535a592c3da1115fdb7467204ef9fb70943f0fc855ebe0a30f5.

Solidity: event ERC721WrappedToken(address indexed creator, address indexed sourceOfUnderlying, uint256 tokenIdOfUnderlying, uint256 tokenId, string tokenURI)

func (*NFTCollectionFilterer) WatchNativeTokens added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) WatchNativeTokens(opts *bind.WatchOpts, sink chan<- *NFTCollectionNativeTokens, creator []common.Address) (event.Subscription, error)

WatchNativeTokens is a free log subscription operation binding the contract event 0xbea5a4b7cf9a3f7d8bf7c987614db5dcfdcd917a2cd5788a210c0ebdccfc5da4.

Solidity: event NativeTokens(address indexed creator, uint256[] tokenIds, string[] tokenURIs, uint256[] tokenSupplies)

func (*NFTCollectionFilterer) WatchPaused

func (_NFTCollection *NFTCollectionFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *NFTCollectionPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*NFTCollectionFilterer) WatchRestrictedTransferUpdated added in v0.1.2

func (_NFTCollection *NFTCollectionFilterer) WatchRestrictedTransferUpdated(opts *bind.WatchOpts, sink chan<- *NFTCollectionRestrictedTransferUpdated) (event.Subscription, error)

WatchRestrictedTransferUpdated is a free log subscription operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*NFTCollectionFilterer) WatchRoleAdminChanged

func (_NFTCollection *NFTCollectionFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *NFTCollectionRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*NFTCollectionFilterer) WatchRoleGranted

func (_NFTCollection *NFTCollectionFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *NFTCollectionRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTCollectionFilterer) WatchRoleRevoked

func (_NFTCollection *NFTCollectionFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *NFTCollectionRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTCollectionFilterer) WatchRoyaltyUpdated added in v0.1.0

func (_NFTCollection *NFTCollectionFilterer) WatchRoyaltyUpdated(opts *bind.WatchOpts, sink chan<- *NFTCollectionRoyaltyUpdated) (event.Subscription, error)

WatchRoyaltyUpdated is a free log subscription operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*NFTCollectionFilterer) WatchTransferBatch

func (_NFTCollection *NFTCollectionFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *NFTCollectionTransferBatch, 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 (*NFTCollectionFilterer) WatchTransferSingle

func (_NFTCollection *NFTCollectionFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *NFTCollectionTransferSingle, 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 (*NFTCollectionFilterer) WatchURI

func (_NFTCollection *NFTCollectionFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *NFTCollectionURI, 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 (*NFTCollectionFilterer) WatchUnpaused

func (_NFTCollection *NFTCollectionFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *NFTCollectionUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type NFTCollectionNativeTokens added in v0.1.0

type NFTCollectionNativeTokens struct {
	Creator       common.Address
	TokenIds      []*big.Int
	TokenURIs     []string
	TokenSupplies []*big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

NFTCollectionNativeTokens represents a NativeTokens event raised by the NFTCollection contract.

type NFTCollectionNativeTokensIterator added in v0.1.0

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

NFTCollectionNativeTokensIterator is returned from FilterNativeTokens and is used to iterate over the raw logs and unpacked data for NativeTokens events raised by the NFTCollection contract.

func (*NFTCollectionNativeTokensIterator) Close added in v0.1.0

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

func (*NFTCollectionNativeTokensIterator) Error added in v0.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionNativeTokensIterator) Next added in v0.1.0

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 NFTCollectionPaused

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

NFTCollectionPaused represents a Paused event raised by the NFTCollection contract.

type NFTCollectionPausedIterator

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

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

func (*NFTCollectionPausedIterator) Close

func (it *NFTCollectionPausedIterator) Close() error

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

func (*NFTCollectionPausedIterator) Error

func (it *NFTCollectionPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionPausedIterator) Next

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

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

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

func (*NFTCollectionRaw) Call

func (_NFTCollection *NFTCollectionRaw) 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 (*NFTCollectionRaw) Transact

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

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

func (*NFTCollectionRaw) Transfer

func (_NFTCollection *NFTCollectionRaw) 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 NFTCollectionRestrictedTransferUpdated added in v0.1.2

type NFTCollectionRestrictedTransferUpdated struct {
	Transferable bool
	Raw          types.Log // Blockchain specific contextual infos
}

NFTCollectionRestrictedTransferUpdated represents a RestrictedTransferUpdated event raised by the NFTCollection contract.

type NFTCollectionRestrictedTransferUpdatedIterator added in v0.1.2

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

NFTCollectionRestrictedTransferUpdatedIterator is returned from FilterRestrictedTransferUpdated and is used to iterate over the raw logs and unpacked data for RestrictedTransferUpdated events raised by the NFTCollection contract.

func (*NFTCollectionRestrictedTransferUpdatedIterator) Close added in v0.1.2

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

func (*NFTCollectionRestrictedTransferUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionRestrictedTransferUpdatedIterator) Next added in v0.1.2

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 NFTCollectionRoleAdminChanged

type NFTCollectionRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

NFTCollectionRoleAdminChanged represents a RoleAdminChanged event raised by the NFTCollection contract.

type NFTCollectionRoleAdminChangedIterator

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

NFTCollectionRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the NFTCollection contract.

func (*NFTCollectionRoleAdminChangedIterator) Close

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

func (*NFTCollectionRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionRoleAdminChangedIterator) 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 NFTCollectionRoleGranted

type NFTCollectionRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

NFTCollectionRoleGranted represents a RoleGranted event raised by the NFTCollection contract.

type NFTCollectionRoleGrantedIterator

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

NFTCollectionRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the NFTCollection contract.

func (*NFTCollectionRoleGrantedIterator) Close

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

func (*NFTCollectionRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionRoleGrantedIterator) 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 NFTCollectionRoleRevoked

type NFTCollectionRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

NFTCollectionRoleRevoked represents a RoleRevoked event raised by the NFTCollection contract.

type NFTCollectionRoleRevokedIterator

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

NFTCollectionRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the NFTCollection contract.

func (*NFTCollectionRoleRevokedIterator) Close

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

func (*NFTCollectionRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionRoleRevokedIterator) 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 NFTCollectionRoyaltyUpdated added in v0.1.0

type NFTCollectionRoyaltyUpdated struct {
	RoyaltyBps *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

NFTCollectionRoyaltyUpdated represents a RoyaltyUpdated event raised by the NFTCollection contract.

type NFTCollectionRoyaltyUpdatedIterator added in v0.1.0

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

NFTCollectionRoyaltyUpdatedIterator is returned from FilterRoyaltyUpdated and is used to iterate over the raw logs and unpacked data for RoyaltyUpdated events raised by the NFTCollection contract.

func (*NFTCollectionRoyaltyUpdatedIterator) Close added in v0.1.0

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

func (*NFTCollectionRoyaltyUpdatedIterator) Error added in v0.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionRoyaltyUpdatedIterator) Next added in v0.1.0

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 NFTCollectionSession

type NFTCollectionSession struct {
	Contract     *NFTCollection    // 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
}

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

func (*NFTCollectionSession) BalanceOf

func (_NFTCollection *NFTCollectionSession) 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 (*NFTCollectionSession) BalanceOfBatch

func (_NFTCollection *NFTCollectionSession) 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 (*NFTCollectionSession) Burn

func (_NFTCollection *NFTCollectionSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address account, uint256 id, uint256 value) returns()

func (*NFTCollectionSession) BurnBatch

func (_NFTCollection *NFTCollectionSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)

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

Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()

func (*NFTCollectionSession) ContractURI

func (_NFTCollection *NFTCollectionSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*NFTCollectionSession) CreateNativeTokens added in v0.1.0

func (_NFTCollection *NFTCollectionSession) CreateNativeTokens(to common.Address, _nftURIs []string, _nftSupplies []*big.Int, data []byte) (*types.Transaction, error)

CreateNativeTokens is a paid mutator transaction binding the contract method 0xfafdcc88.

Solidity: function createNativeTokens(address to, string[] _nftURIs, uint256[] _nftSupplies, bytes data) returns(uint256[] nftIds)

func (*NFTCollectionSession) Creator

func (_NFTCollection *NFTCollectionSession) Creator(_nftId *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 _nftId) view returns(address)

func (*NFTCollectionSession) DEFAULTADMINROLE

func (_NFTCollection *NFTCollectionSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*NFTCollectionSession) Erc20WrappedTokens added in v0.1.0

func (_NFTCollection *NFTCollectionSession) Erc20WrappedTokens(arg0 *big.Int) (struct {
	Source                common.Address
	Shares                *big.Int
	UnderlyingTokenAmount *big.Int
}, error)

Erc20WrappedTokens is a free data retrieval call binding the contract method 0x5cd9913d.

Solidity: function erc20WrappedTokens(uint256 ) view returns(address source, uint256 shares, uint256 underlyingTokenAmount)

func (*NFTCollectionSession) Erc721WrappedTokens added in v0.1.0

func (_NFTCollection *NFTCollectionSession) Erc721WrappedTokens(arg0 *big.Int) (struct {
	Source  common.Address
	TokenId *big.Int
}, error)

Erc721WrappedTokens is a free data retrieval call binding the contract method 0x367a182b.

Solidity: function erc721WrappedTokens(uint256 ) view returns(address source, uint256 tokenId)

func (*NFTCollectionSession) GetRoleAdmin

func (_NFTCollection *NFTCollectionSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*NFTCollectionSession) GetRoleMember

func (_NFTCollection *NFTCollectionSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*NFTCollectionSession) GetRoleMemberCount

func (_NFTCollection *NFTCollectionSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*NFTCollectionSession) GrantRole

func (_NFTCollection *NFTCollectionSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*NFTCollectionSession) HasRole

func (_NFTCollection *NFTCollectionSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*NFTCollectionSession) InternalContractURI

func (_NFTCollection *NFTCollectionSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*NFTCollectionSession) IsApprovedForAll

func (_NFTCollection *NFTCollectionSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

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

func (*NFTCollectionSession) IsTrustedForwarder

func (_NFTCollection *NFTCollectionSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*NFTCollectionSession) MINTERROLE

func (_NFTCollection *NFTCollectionSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*NFTCollectionSession) Mint

func (_NFTCollection *NFTCollectionSession) Mint(to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 id, uint256 amount, bytes data) returns()

func (*NFTCollectionSession) MintBatch

func (_NFTCollection *NFTCollectionSession) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*NFTCollectionSession) Multicall added in v0.1.2

func (_NFTCollection *NFTCollectionSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*NFTCollectionSession) NextTokenId

func (_NFTCollection *NFTCollectionSession) NextTokenId() (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*NFTCollectionSession) OnERC1155BatchReceived added in v0.1.0

func (_NFTCollection *NFTCollectionSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

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

func (*NFTCollectionSession) OnERC1155Received added in v0.1.0

func (_NFTCollection *NFTCollectionSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*NFTCollectionSession) OnERC721Received added in v0.1.0

func (_NFTCollection *NFTCollectionSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*NFTCollectionSession) PAUSERROLE

func (_NFTCollection *NFTCollectionSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*NFTCollectionSession) Pause

func (_NFTCollection *NFTCollectionSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*NFTCollectionSession) Paused

func (_NFTCollection *NFTCollectionSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*NFTCollectionSession) RedeemERC20

func (_NFTCollection *NFTCollectionSession) RedeemERC20(_nftId *big.Int, _amount *big.Int) (*types.Transaction, error)

RedeemERC20 is a paid mutator transaction binding the contract method 0x7a61080b.

Solidity: function redeemERC20(uint256 _nftId, uint256 _amount) returns()

func (*NFTCollectionSession) RedeemERC721

func (_NFTCollection *NFTCollectionSession) RedeemERC721(_nftId *big.Int) (*types.Transaction, error)

RedeemERC721 is a paid mutator transaction binding the contract method 0x93b778d4.

Solidity: function redeemERC721(uint256 _nftId) returns()

func (*NFTCollectionSession) RenounceRole

func (_NFTCollection *NFTCollectionSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*NFTCollectionSession) RevokeRole

func (_NFTCollection *NFTCollectionSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*NFTCollectionSession) RoyaltyBps added in v0.1.0

func (_NFTCollection *NFTCollectionSession) RoyaltyBps() (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*NFTCollectionSession) RoyaltyInfo

func (_NFTCollection *NFTCollectionSession) RoyaltyInfo(arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*NFTCollectionSession) SafeBatchTransferFrom

func (_NFTCollection *NFTCollectionSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*NFTCollectionSession) SafeTransferFrom

func (_NFTCollection *NFTCollectionSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*NFTCollectionSession) SetApprovalForAll

func (_NFTCollection *NFTCollectionSession) 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 (*NFTCollectionSession) SetContractURI

func (_NFTCollection *NFTCollectionSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*NFTCollectionSession) SetRestrictedTransfer added in v0.1.0

func (_NFTCollection *NFTCollectionSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*NFTCollectionSession) SetRoyaltyBps added in v0.1.0

func (_NFTCollection *NFTCollectionSession) SetRoyaltyBps(_royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (*NFTCollectionSession) SupportsInterface

func (_NFTCollection *NFTCollectionSession) 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 (*NFTCollectionSession) TRANSFERROLE added in v0.1.0

func (_NFTCollection *NFTCollectionSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*NFTCollectionSession) TokenState added in v0.1.0

func (_NFTCollection *NFTCollectionSession) TokenState(arg0 *big.Int) (struct {
	Creator        common.Address
	Uri            string
	UnderlyingType uint8
}, error)

TokenState is a free data retrieval call binding the contract method 0x9745cc3d.

Solidity: function tokenState(uint256 ) view returns(address creator, string uri, uint8 underlyingType)

func (*NFTCollectionSession) TokenURI

func (_NFTCollection *NFTCollectionSession) TokenURI(_nftId *big.Int) (string, error)

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

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

func (*NFTCollectionSession) TotalSupply added in v0.1.0

func (_NFTCollection *NFTCollectionSession) 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 (*NFTCollectionSession) TransfersRestricted added in v0.1.0

func (_NFTCollection *NFTCollectionSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*NFTCollectionSession) Unpause

func (_NFTCollection *NFTCollectionSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*NFTCollectionSession) Uri

func (_NFTCollection *NFTCollectionSession) Uri(_nftId *big.Int) (string, error)

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

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

func (*NFTCollectionSession) WrapERC20

func (_NFTCollection *NFTCollectionSession) WrapERC20(_tokenContract common.Address, _tokenAmount *big.Int, _numOfNftsToMint *big.Int, _nftURI string) (*types.Transaction, error)

WrapERC20 is a paid mutator transaction binding the contract method 0xdb884b0c.

Solidity: function wrapERC20(address _tokenContract, uint256 _tokenAmount, uint256 _numOfNftsToMint, string _nftURI) returns()

func (*NFTCollectionSession) WrapERC721

func (_NFTCollection *NFTCollectionSession) WrapERC721(_nftContract common.Address, _tokenId *big.Int, _nftURI string) (*types.Transaction, error)

WrapERC721 is a paid mutator transaction binding the contract method 0x090a3282.

Solidity: function wrapERC721(address _nftContract, uint256 _tokenId, string _nftURI) returns()

type NFTCollectionTransactor

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

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

func NewNFTCollectionTransactor

func NewNFTCollectionTransactor(address common.Address, transactor bind.ContractTransactor) (*NFTCollectionTransactor, error)

NewNFTCollectionTransactor creates a new write-only instance of NFTCollection, bound to a specific deployed contract.

func (*NFTCollectionTransactor) Burn

func (_NFTCollection *NFTCollectionTransactor) Burn(opts *bind.TransactOpts, account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address account, uint256 id, uint256 value) returns()

func (*NFTCollectionTransactor) BurnBatch

func (_NFTCollection *NFTCollectionTransactor) BurnBatch(opts *bind.TransactOpts, account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)

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

Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()

func (*NFTCollectionTransactor) CreateNativeTokens added in v0.1.0

func (_NFTCollection *NFTCollectionTransactor) CreateNativeTokens(opts *bind.TransactOpts, to common.Address, _nftURIs []string, _nftSupplies []*big.Int, data []byte) (*types.Transaction, error)

CreateNativeTokens is a paid mutator transaction binding the contract method 0xfafdcc88.

Solidity: function createNativeTokens(address to, string[] _nftURIs, uint256[] _nftSupplies, bytes data) returns(uint256[] nftIds)

func (*NFTCollectionTransactor) GrantRole

func (_NFTCollection *NFTCollectionTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*NFTCollectionTransactor) Mint

func (_NFTCollection *NFTCollectionTransactor) Mint(opts *bind.TransactOpts, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 id, uint256 amount, bytes data) returns()

func (*NFTCollectionTransactor) MintBatch

func (_NFTCollection *NFTCollectionTransactor) MintBatch(opts *bind.TransactOpts, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*NFTCollectionTransactor) Multicall added in v0.1.2

func (_NFTCollection *NFTCollectionTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*NFTCollectionTransactor) OnERC1155BatchReceived added in v0.1.0

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

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

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

func (*NFTCollectionTransactor) OnERC1155Received added in v0.1.0

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

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*NFTCollectionTransactor) OnERC721Received added in v0.1.0

func (_NFTCollection *NFTCollectionTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*NFTCollectionTransactor) Pause

func (_NFTCollection *NFTCollectionTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*NFTCollectionTransactor) RedeemERC20

func (_NFTCollection *NFTCollectionTransactor) RedeemERC20(opts *bind.TransactOpts, _nftId *big.Int, _amount *big.Int) (*types.Transaction, error)

RedeemERC20 is a paid mutator transaction binding the contract method 0x7a61080b.

Solidity: function redeemERC20(uint256 _nftId, uint256 _amount) returns()

func (*NFTCollectionTransactor) RedeemERC721

func (_NFTCollection *NFTCollectionTransactor) RedeemERC721(opts *bind.TransactOpts, _nftId *big.Int) (*types.Transaction, error)

RedeemERC721 is a paid mutator transaction binding the contract method 0x93b778d4.

Solidity: function redeemERC721(uint256 _nftId) returns()

func (*NFTCollectionTransactor) RenounceRole

func (_NFTCollection *NFTCollectionTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*NFTCollectionTransactor) RevokeRole

func (_NFTCollection *NFTCollectionTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*NFTCollectionTransactor) SafeBatchTransferFrom

func (_NFTCollection *NFTCollectionTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*NFTCollectionTransactor) SafeTransferFrom

func (_NFTCollection *NFTCollectionTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*NFTCollectionTransactor) SetApprovalForAll

func (_NFTCollection *NFTCollectionTransactor) 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 (*NFTCollectionTransactor) SetContractURI

func (_NFTCollection *NFTCollectionTransactor) SetContractURI(opts *bind.TransactOpts, _URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*NFTCollectionTransactor) SetRestrictedTransfer added in v0.1.0

func (_NFTCollection *NFTCollectionTransactor) SetRestrictedTransfer(opts *bind.TransactOpts, _restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*NFTCollectionTransactor) SetRoyaltyBps added in v0.1.0

func (_NFTCollection *NFTCollectionTransactor) SetRoyaltyBps(opts *bind.TransactOpts, _royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (*NFTCollectionTransactor) Unpause

func (_NFTCollection *NFTCollectionTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*NFTCollectionTransactor) WrapERC20

func (_NFTCollection *NFTCollectionTransactor) WrapERC20(opts *bind.TransactOpts, _tokenContract common.Address, _tokenAmount *big.Int, _numOfNftsToMint *big.Int, _nftURI string) (*types.Transaction, error)

WrapERC20 is a paid mutator transaction binding the contract method 0xdb884b0c.

Solidity: function wrapERC20(address _tokenContract, uint256 _tokenAmount, uint256 _numOfNftsToMint, string _nftURI) returns()

func (*NFTCollectionTransactor) WrapERC721

func (_NFTCollection *NFTCollectionTransactor) WrapERC721(opts *bind.TransactOpts, _nftContract common.Address, _tokenId *big.Int, _nftURI string) (*types.Transaction, error)

WrapERC721 is a paid mutator transaction binding the contract method 0x090a3282.

Solidity: function wrapERC721(address _nftContract, uint256 _tokenId, string _nftURI) returns()

type NFTCollectionTransactorRaw

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

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

func (*NFTCollectionTransactorRaw) Transact

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

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

func (*NFTCollectionTransactorRaw) Transfer

func (_NFTCollection *NFTCollectionTransactorRaw) 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 NFTCollectionTransactorSession

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

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

func (*NFTCollectionTransactorSession) Burn

func (_NFTCollection *NFTCollectionTransactorSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address account, uint256 id, uint256 value) returns()

func (*NFTCollectionTransactorSession) BurnBatch

func (_NFTCollection *NFTCollectionTransactorSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)

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

Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()

func (*NFTCollectionTransactorSession) CreateNativeTokens added in v0.1.0

func (_NFTCollection *NFTCollectionTransactorSession) CreateNativeTokens(to common.Address, _nftURIs []string, _nftSupplies []*big.Int, data []byte) (*types.Transaction, error)

CreateNativeTokens is a paid mutator transaction binding the contract method 0xfafdcc88.

Solidity: function createNativeTokens(address to, string[] _nftURIs, uint256[] _nftSupplies, bytes data) returns(uint256[] nftIds)

func (*NFTCollectionTransactorSession) GrantRole

func (_NFTCollection *NFTCollectionTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*NFTCollectionTransactorSession) Mint

func (_NFTCollection *NFTCollectionTransactorSession) Mint(to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 id, uint256 amount, bytes data) returns()

func (*NFTCollectionTransactorSession) MintBatch

func (_NFTCollection *NFTCollectionTransactorSession) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*NFTCollectionTransactorSession) Multicall added in v0.1.2

func (_NFTCollection *NFTCollectionTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*NFTCollectionTransactorSession) OnERC1155BatchReceived added in v0.1.0

func (_NFTCollection *NFTCollectionTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

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

func (*NFTCollectionTransactorSession) OnERC1155Received added in v0.1.0

func (_NFTCollection *NFTCollectionTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*NFTCollectionTransactorSession) OnERC721Received added in v0.1.0

func (_NFTCollection *NFTCollectionTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*NFTCollectionTransactorSession) Pause

func (_NFTCollection *NFTCollectionTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*NFTCollectionTransactorSession) RedeemERC20

func (_NFTCollection *NFTCollectionTransactorSession) RedeemERC20(_nftId *big.Int, _amount *big.Int) (*types.Transaction, error)

RedeemERC20 is a paid mutator transaction binding the contract method 0x7a61080b.

Solidity: function redeemERC20(uint256 _nftId, uint256 _amount) returns()

func (*NFTCollectionTransactorSession) RedeemERC721

func (_NFTCollection *NFTCollectionTransactorSession) RedeemERC721(_nftId *big.Int) (*types.Transaction, error)

RedeemERC721 is a paid mutator transaction binding the contract method 0x93b778d4.

Solidity: function redeemERC721(uint256 _nftId) returns()

func (*NFTCollectionTransactorSession) RenounceRole

func (_NFTCollection *NFTCollectionTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*NFTCollectionTransactorSession) RevokeRole

func (_NFTCollection *NFTCollectionTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*NFTCollectionTransactorSession) SafeBatchTransferFrom

func (_NFTCollection *NFTCollectionTransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*NFTCollectionTransactorSession) SafeTransferFrom

func (_NFTCollection *NFTCollectionTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

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

func (*NFTCollectionTransactorSession) SetApprovalForAll

func (_NFTCollection *NFTCollectionTransactorSession) 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 (*NFTCollectionTransactorSession) SetContractURI

func (_NFTCollection *NFTCollectionTransactorSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*NFTCollectionTransactorSession) SetRestrictedTransfer added in v0.1.0

func (_NFTCollection *NFTCollectionTransactorSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*NFTCollectionTransactorSession) SetRoyaltyBps added in v0.1.0

func (_NFTCollection *NFTCollectionTransactorSession) SetRoyaltyBps(_royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (*NFTCollectionTransactorSession) Unpause

func (_NFTCollection *NFTCollectionTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*NFTCollectionTransactorSession) WrapERC20

func (_NFTCollection *NFTCollectionTransactorSession) WrapERC20(_tokenContract common.Address, _tokenAmount *big.Int, _numOfNftsToMint *big.Int, _nftURI string) (*types.Transaction, error)

WrapERC20 is a paid mutator transaction binding the contract method 0xdb884b0c.

Solidity: function wrapERC20(address _tokenContract, uint256 _tokenAmount, uint256 _numOfNftsToMint, string _nftURI) returns()

func (*NFTCollectionTransactorSession) WrapERC721

func (_NFTCollection *NFTCollectionTransactorSession) WrapERC721(_nftContract common.Address, _tokenId *big.Int, _nftURI string) (*types.Transaction, error)

WrapERC721 is a paid mutator transaction binding the contract method 0x090a3282.

Solidity: function wrapERC721(address _nftContract, uint256 _tokenId, string _nftURI) returns()

type NFTCollectionTransferBatch

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

NFTCollectionTransferBatch represents a TransferBatch event raised by the NFTCollection contract.

type NFTCollectionTransferBatchIterator

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

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

func (*NFTCollectionTransferBatchIterator) Close

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

func (*NFTCollectionTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionTransferBatchIterator) 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 NFTCollectionTransferSingle

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

NFTCollectionTransferSingle represents a TransferSingle event raised by the NFTCollection contract.

type NFTCollectionTransferSingleIterator

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

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

func (*NFTCollectionTransferSingleIterator) Close

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

func (*NFTCollectionTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionTransferSingleIterator) 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 NFTCollectionURI

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

NFTCollectionURI represents a URI event raised by the NFTCollection contract.

type NFTCollectionURIIterator

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

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

func (*NFTCollectionURIIterator) Close

func (it *NFTCollectionURIIterator) Close() error

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

func (*NFTCollectionURIIterator) Error

func (it *NFTCollectionURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionURIIterator) Next

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

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

NFTCollectionUnpaused represents a Unpaused event raised by the NFTCollection contract.

type NFTCollectionUnpausedIterator

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

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

func (*NFTCollectionUnpausedIterator) Close

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

func (*NFTCollectionUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTCollectionUnpausedIterator) 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 NFTFilterer

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

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

func NewNFTFilterer

func NewNFTFilterer(address common.Address, filterer bind.ContractFilterer) (*NFTFilterer, error)

NewNFTFilterer creates a new log filterer instance of NFT, bound to a specific deployed contract.

func (*NFTFilterer) FilterApproval

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

func (_NFT *NFTFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*NFTApprovalForAllIterator, 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 (*NFTFilterer) FilterMinted

func (_NFT *NFTFilterer) FilterMinted(opts *bind.FilterOpts, creator []common.Address, to []common.Address) (*NFTMintedIterator, error)

FilterMinted is a free log retrieval operation binding the contract event 0xafe8c5a4c36942a61550534b714a0076ab46ef8ef23e361572aad8b7ca2ac27d.

Solidity: event Minted(address indexed creator, address indexed to, uint256 tokenId, string tokenURI)

func (*NFTFilterer) FilterMintedBatch

func (_NFT *NFTFilterer) FilterMintedBatch(opts *bind.FilterOpts, creator []common.Address, to []common.Address) (*NFTMintedBatchIterator, error)

FilterMintedBatch is a free log retrieval operation binding the contract event 0x2a7af4d3b262c3e3d51c600cdf7a940c9aba3fedcc85148aeda266cc4c4a2f33.

Solidity: event MintedBatch(address indexed creator, address indexed to, uint256[] tokenIds, string[] tokenURI)

func (*NFTFilterer) FilterPaused

func (_NFT *NFTFilterer) FilterPaused(opts *bind.FilterOpts) (*NFTPausedIterator, error)

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

Solidity: event Paused(address account)

func (*NFTFilterer) FilterRestrictedTransferUpdated added in v0.1.2

func (_NFT *NFTFilterer) FilterRestrictedTransferUpdated(opts *bind.FilterOpts) (*NFTRestrictedTransferUpdatedIterator, error)

FilterRestrictedTransferUpdated is a free log retrieval operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*NFTFilterer) FilterRoleAdminChanged

func (_NFT *NFTFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*NFTRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*NFTFilterer) FilterRoleGranted

func (_NFT *NFTFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*NFTRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTFilterer) FilterRoleRevoked

func (_NFT *NFTFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*NFTRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTFilterer) FilterRoyaltyUpdated

func (_NFT *NFTFilterer) FilterRoyaltyUpdated(opts *bind.FilterOpts) (*NFTRoyaltyUpdatedIterator, error)

FilterRoyaltyUpdated is a free log retrieval operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*NFTFilterer) FilterTransfer

func (_NFT *NFTFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*NFTTransferIterator, 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 (*NFTFilterer) FilterUnpaused

func (_NFT *NFTFilterer) FilterUnpaused(opts *bind.FilterOpts) (*NFTUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*NFTFilterer) ParseApproval

func (_NFT *NFTFilterer) ParseApproval(log types.Log) (*NFTApproval, 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 (*NFTFilterer) ParseApprovalForAll

func (_NFT *NFTFilterer) ParseApprovalForAll(log types.Log) (*NFTApprovalForAll, error)

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

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

func (*NFTFilterer) ParseMinted

func (_NFT *NFTFilterer) ParseMinted(log types.Log) (*NFTMinted, error)

ParseMinted is a log parse operation binding the contract event 0xafe8c5a4c36942a61550534b714a0076ab46ef8ef23e361572aad8b7ca2ac27d.

Solidity: event Minted(address indexed creator, address indexed to, uint256 tokenId, string tokenURI)

func (*NFTFilterer) ParseMintedBatch

func (_NFT *NFTFilterer) ParseMintedBatch(log types.Log) (*NFTMintedBatch, error)

ParseMintedBatch is a log parse operation binding the contract event 0x2a7af4d3b262c3e3d51c600cdf7a940c9aba3fedcc85148aeda266cc4c4a2f33.

Solidity: event MintedBatch(address indexed creator, address indexed to, uint256[] tokenIds, string[] tokenURI)

func (*NFTFilterer) ParsePaused

func (_NFT *NFTFilterer) ParsePaused(log types.Log) (*NFTPaused, error)

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

Solidity: event Paused(address account)

func (*NFTFilterer) ParseRestrictedTransferUpdated added in v0.1.2

func (_NFT *NFTFilterer) ParseRestrictedTransferUpdated(log types.Log) (*NFTRestrictedTransferUpdated, error)

ParseRestrictedTransferUpdated is a log parse operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*NFTFilterer) ParseRoleAdminChanged

func (_NFT *NFTFilterer) ParseRoleAdminChanged(log types.Log) (*NFTRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*NFTFilterer) ParseRoleGranted

func (_NFT *NFTFilterer) ParseRoleGranted(log types.Log) (*NFTRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTFilterer) ParseRoleRevoked

func (_NFT *NFTFilterer) ParseRoleRevoked(log types.Log) (*NFTRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTFilterer) ParseRoyaltyUpdated

func (_NFT *NFTFilterer) ParseRoyaltyUpdated(log types.Log) (*NFTRoyaltyUpdated, error)

ParseRoyaltyUpdated is a log parse operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*NFTFilterer) ParseTransfer

func (_NFT *NFTFilterer) ParseTransfer(log types.Log) (*NFTTransfer, 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 (*NFTFilterer) ParseUnpaused

func (_NFT *NFTFilterer) ParseUnpaused(log types.Log) (*NFTUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*NFTFilterer) WatchApproval

func (_NFT *NFTFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *NFTApproval, 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 (*NFTFilterer) WatchApprovalForAll

func (_NFT *NFTFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NFTApprovalForAll, 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 (*NFTFilterer) WatchMinted

func (_NFT *NFTFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *NFTMinted, creator []common.Address, to []common.Address) (event.Subscription, error)

WatchMinted is a free log subscription operation binding the contract event 0xafe8c5a4c36942a61550534b714a0076ab46ef8ef23e361572aad8b7ca2ac27d.

Solidity: event Minted(address indexed creator, address indexed to, uint256 tokenId, string tokenURI)

func (*NFTFilterer) WatchMintedBatch

func (_NFT *NFTFilterer) WatchMintedBatch(opts *bind.WatchOpts, sink chan<- *NFTMintedBatch, creator []common.Address, to []common.Address) (event.Subscription, error)

WatchMintedBatch is a free log subscription operation binding the contract event 0x2a7af4d3b262c3e3d51c600cdf7a940c9aba3fedcc85148aeda266cc4c4a2f33.

Solidity: event MintedBatch(address indexed creator, address indexed to, uint256[] tokenIds, string[] tokenURI)

func (*NFTFilterer) WatchPaused

func (_NFT *NFTFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *NFTPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*NFTFilterer) WatchRestrictedTransferUpdated added in v0.1.2

func (_NFT *NFTFilterer) WatchRestrictedTransferUpdated(opts *bind.WatchOpts, sink chan<- *NFTRestrictedTransferUpdated) (event.Subscription, error)

WatchRestrictedTransferUpdated is a free log subscription operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*NFTFilterer) WatchRoleAdminChanged

func (_NFT *NFTFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *NFTRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*NFTFilterer) WatchRoleGranted

func (_NFT *NFTFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *NFTRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTFilterer) WatchRoleRevoked

func (_NFT *NFTFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *NFTRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*NFTFilterer) WatchRoyaltyUpdated

func (_NFT *NFTFilterer) WatchRoyaltyUpdated(opts *bind.WatchOpts, sink chan<- *NFTRoyaltyUpdated) (event.Subscription, error)

WatchRoyaltyUpdated is a free log subscription operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*NFTFilterer) WatchTransfer

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

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

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

func (*NFTFilterer) WatchUnpaused

func (_NFT *NFTFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *NFTUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type NFTMinted

type NFTMinted struct {
	Creator  common.Address
	To       common.Address
	TokenId  *big.Int
	TokenURI string
	Raw      types.Log // Blockchain specific contextual infos
}

NFTMinted represents a Minted event raised by the NFT contract.

type NFTMintedBatch

type NFTMintedBatch struct {
	Creator  common.Address
	To       common.Address
	TokenIds []*big.Int
	TokenURI []string
	Raw      types.Log // Blockchain specific contextual infos
}

NFTMintedBatch represents a MintedBatch event raised by the NFT contract.

type NFTMintedBatchIterator

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

NFTMintedBatchIterator is returned from FilterMintedBatch and is used to iterate over the raw logs and unpacked data for MintedBatch events raised by the NFT contract.

func (*NFTMintedBatchIterator) Close

func (it *NFTMintedBatchIterator) Close() error

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

func (*NFTMintedBatchIterator) Error

func (it *NFTMintedBatchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTMintedBatchIterator) Next

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

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

NFTMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the NFT contract.

func (*NFTMintedIterator) Close

func (it *NFTMintedIterator) Close() error

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

func (*NFTMintedIterator) Error

func (it *NFTMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTMintedIterator) Next

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

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

NFTPaused represents a Paused event raised by the NFT contract.

type NFTPausedIterator

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

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

func (*NFTPausedIterator) Close

func (it *NFTPausedIterator) Close() error

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

func (*NFTPausedIterator) Error

func (it *NFTPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTPausedIterator) Next

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

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

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

func (*NFTRaw) Call

func (_NFT *NFTRaw) 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 (*NFTRaw) Transact

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

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

func (*NFTRaw) Transfer

func (_NFT *NFTRaw) 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 NFTRestrictedTransferUpdated added in v0.1.2

type NFTRestrictedTransferUpdated struct {
	Transferable bool
	Raw          types.Log // Blockchain specific contextual infos
}

NFTRestrictedTransferUpdated represents a RestrictedTransferUpdated event raised by the NFT contract.

type NFTRestrictedTransferUpdatedIterator added in v0.1.2

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

NFTRestrictedTransferUpdatedIterator is returned from FilterRestrictedTransferUpdated and is used to iterate over the raw logs and unpacked data for RestrictedTransferUpdated events raised by the NFT contract.

func (*NFTRestrictedTransferUpdatedIterator) Close added in v0.1.2

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

func (*NFTRestrictedTransferUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTRestrictedTransferUpdatedIterator) Next added in v0.1.2

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 NFTRoleAdminChanged

type NFTRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

NFTRoleAdminChanged represents a RoleAdminChanged event raised by the NFT contract.

type NFTRoleAdminChangedIterator

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

NFTRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the NFT contract.

func (*NFTRoleAdminChangedIterator) Close

func (it *NFTRoleAdminChangedIterator) Close() error

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

func (*NFTRoleAdminChangedIterator) Error

func (it *NFTRoleAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTRoleAdminChangedIterator) Next

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

type NFTRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

NFTRoleGranted represents a RoleGranted event raised by the NFT contract.

type NFTRoleGrantedIterator

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

NFTRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the NFT contract.

func (*NFTRoleGrantedIterator) Close

func (it *NFTRoleGrantedIterator) Close() error

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

func (*NFTRoleGrantedIterator) Error

func (it *NFTRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTRoleGrantedIterator) Next

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

type NFTRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

NFTRoleRevoked represents a RoleRevoked event raised by the NFT contract.

type NFTRoleRevokedIterator

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

NFTRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the NFT contract.

func (*NFTRoleRevokedIterator) Close

func (it *NFTRoleRevokedIterator) Close() error

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

func (*NFTRoleRevokedIterator) Error

func (it *NFTRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTRoleRevokedIterator) Next

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

type NFTRoyaltyUpdated struct {
	RoyaltyBps *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

NFTRoyaltyUpdated represents a RoyaltyUpdated event raised by the NFT contract.

type NFTRoyaltyUpdatedIterator

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

NFTRoyaltyUpdatedIterator is returned from FilterRoyaltyUpdated and is used to iterate over the raw logs and unpacked data for RoyaltyUpdated events raised by the NFT contract.

func (*NFTRoyaltyUpdatedIterator) Close

func (it *NFTRoyaltyUpdatedIterator) Close() error

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

func (*NFTRoyaltyUpdatedIterator) Error

func (it *NFTRoyaltyUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTRoyaltyUpdatedIterator) Next

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

type NFTSession struct {
	Contract     *NFT              // 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
}

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

func (*NFTSession) Approve

func (_NFT *NFTSession) 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 (*NFTSession) BalanceOf

func (_NFT *NFTSession) 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 (*NFTSession) Burn

func (_NFT *NFTSession) 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 (*NFTSession) ContractURI

func (_NFT *NFTSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*NFTSession) Creator added in v0.1.2

func (_NFT *NFTSession) Creator(arg0 *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

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

func (*NFTSession) DEFAULTADMINROLE

func (_NFT *NFTSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*NFTSession) GetApproved

func (_NFT *NFTSession) 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 (*NFTSession) GetRoleAdmin

func (_NFT *NFTSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*NFTSession) GetRoleMember

func (_NFT *NFTSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*NFTSession) GetRoleMemberCount

func (_NFT *NFTSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*NFTSession) GrantRole

func (_NFT *NFTSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*NFTSession) HasRole

func (_NFT *NFTSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*NFTSession) InternalContractURI

func (_NFT *NFTSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*NFTSession) IsApprovedForAll

func (_NFT *NFTSession) 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 (*NFTSession) IsTrustedForwarder

func (_NFT *NFTSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*NFTSession) MINTERROLE

func (_NFT *NFTSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*NFTSession) Mint

func (_NFT *NFTSession) Mint(arg0 common.Address) error

Mint is a free data retrieval call binding the contract method 0x6a627842.

Solidity: function mint(address ) pure returns()

func (*NFTSession) MintNFT

func (_NFT *NFTSession) MintNFT(_to common.Address, _uri string) (*types.Transaction, error)

MintNFT is a paid mutator transaction binding the contract method 0xeacabe14.

Solidity: function mintNFT(address _to, string _uri) returns()

func (*NFTSession) MintNFTBatch

func (_NFT *NFTSession) MintNFTBatch(_to common.Address, _uris []string) (*types.Transaction, error)

MintNFTBatch is a paid mutator transaction binding the contract method 0x49a33a2f.

Solidity: function mintNFTBatch(address _to, string[] _uris) returns()

func (*NFTSession) Multicall added in v0.1.2

func (_NFT *NFTSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*NFTSession) Name

func (_NFT *NFTSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*NFTSession) NextTokenId

func (_NFT *NFTSession) NextTokenId() (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*NFTSession) NftURI

func (_NFT *NFTSession) NftURI(arg0 *big.Int) (string, error)

NftURI is a free data retrieval call binding the contract method 0xefe47687.

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

func (*NFTSession) OwnerOf

func (_NFT *NFTSession) 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 (*NFTSession) PAUSERROLE

func (_NFT *NFTSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*NFTSession) Pause

func (_NFT *NFTSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*NFTSession) Paused

func (_NFT *NFTSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*NFTSession) RenounceRole

func (_NFT *NFTSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*NFTSession) RevokeRole

func (_NFT *NFTSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*NFTSession) RoyaltyBps

func (_NFT *NFTSession) RoyaltyBps() (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*NFTSession) RoyaltyInfo

func (_NFT *NFTSession) RoyaltyInfo(arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*NFTSession) SafeTransferFrom

func (_NFT *NFTSession) 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 (*NFTSession) SafeTransferFrom0

func (_NFT *NFTSession) 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 (*NFTSession) SetApprovalForAll

func (_NFT *NFTSession) 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 (*NFTSession) SetContractURI

func (_NFT *NFTSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*NFTSession) SetRestrictedTransfer added in v0.1.0

func (_NFT *NFTSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*NFTSession) SetRoyaltyBps

func (_NFT *NFTSession) SetRoyaltyBps(_royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (*NFTSession) SupportsInterface

func (_NFT *NFTSession) 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 (*NFTSession) Symbol

func (_NFT *NFTSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*NFTSession) TRANSFERROLE added in v0.1.0

func (_NFT *NFTSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*NFTSession) TokenByIndex

func (_NFT *NFTSession) TokenByIndex(index *big.Int) (*big.Int, error)

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

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

func (*NFTSession) TokenOfOwnerByIndex

func (_NFT *NFTSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

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

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

func (*NFTSession) TokenURI

func (_NFT *NFTSession) 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 (*NFTSession) TotalSupply

func (_NFT *NFTSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*NFTSession) TransferFrom

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

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

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

func (*NFTSession) TransfersRestricted added in v0.1.2

func (_NFT *NFTSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*NFTSession) Unpause

func (_NFT *NFTSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type NFTTransactor

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

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

func NewNFTTransactor

func NewNFTTransactor(address common.Address, transactor bind.ContractTransactor) (*NFTTransactor, error)

NewNFTTransactor creates a new write-only instance of NFT, bound to a specific deployed contract.

func (*NFTTransactor) Approve

func (_NFT *NFTTransactor) 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 (*NFTTransactor) Burn

func (_NFT *NFTTransactor) 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 (*NFTTransactor) GrantRole

func (_NFT *NFTTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*NFTTransactor) MintNFT

func (_NFT *NFTTransactor) MintNFT(opts *bind.TransactOpts, _to common.Address, _uri string) (*types.Transaction, error)

MintNFT is a paid mutator transaction binding the contract method 0xeacabe14.

Solidity: function mintNFT(address _to, string _uri) returns()

func (*NFTTransactor) MintNFTBatch

func (_NFT *NFTTransactor) MintNFTBatch(opts *bind.TransactOpts, _to common.Address, _uris []string) (*types.Transaction, error)

MintNFTBatch is a paid mutator transaction binding the contract method 0x49a33a2f.

Solidity: function mintNFTBatch(address _to, string[] _uris) returns()

func (*NFTTransactor) Multicall added in v0.1.2

func (_NFT *NFTTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*NFTTransactor) Pause

func (_NFT *NFTTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*NFTTransactor) RenounceRole

func (_NFT *NFTTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*NFTTransactor) RevokeRole

func (_NFT *NFTTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*NFTTransactor) SafeTransferFrom

func (_NFT *NFTTransactor) 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 (*NFTTransactor) SafeTransferFrom0

func (_NFT *NFTTransactor) 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 (*NFTTransactor) SetApprovalForAll

func (_NFT *NFTTransactor) 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 (*NFTTransactor) SetContractURI

func (_NFT *NFTTransactor) SetContractURI(opts *bind.TransactOpts, _URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*NFTTransactor) SetRestrictedTransfer added in v0.1.0

func (_NFT *NFTTransactor) SetRestrictedTransfer(opts *bind.TransactOpts, _restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*NFTTransactor) SetRoyaltyBps

func (_NFT *NFTTransactor) SetRoyaltyBps(opts *bind.TransactOpts, _royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (*NFTTransactor) TransferFrom

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

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

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

func (*NFTTransactor) Unpause

func (_NFT *NFTTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type NFTTransactorRaw

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

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

func (*NFTTransactorRaw) Transact

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

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

func (*NFTTransactorRaw) Transfer

func (_NFT *NFTTransactorRaw) 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 NFTTransactorSession

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

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

func (*NFTTransactorSession) Approve

func (_NFT *NFTTransactorSession) 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 (*NFTTransactorSession) Burn

func (_NFT *NFTTransactorSession) 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 (*NFTTransactorSession) GrantRole

func (_NFT *NFTTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*NFTTransactorSession) MintNFT

func (_NFT *NFTTransactorSession) MintNFT(_to common.Address, _uri string) (*types.Transaction, error)

MintNFT is a paid mutator transaction binding the contract method 0xeacabe14.

Solidity: function mintNFT(address _to, string _uri) returns()

func (*NFTTransactorSession) MintNFTBatch

func (_NFT *NFTTransactorSession) MintNFTBatch(_to common.Address, _uris []string) (*types.Transaction, error)

MintNFTBatch is a paid mutator transaction binding the contract method 0x49a33a2f.

Solidity: function mintNFTBatch(address _to, string[] _uris) returns()

func (*NFTTransactorSession) Multicall added in v0.1.2

func (_NFT *NFTTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*NFTTransactorSession) Pause

func (_NFT *NFTTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*NFTTransactorSession) RenounceRole

func (_NFT *NFTTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*NFTTransactorSession) RevokeRole

func (_NFT *NFTTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*NFTTransactorSession) SafeTransferFrom

func (_NFT *NFTTransactorSession) 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 (*NFTTransactorSession) SafeTransferFrom0

func (_NFT *NFTTransactorSession) 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 (*NFTTransactorSession) SetApprovalForAll

func (_NFT *NFTTransactorSession) 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 (*NFTTransactorSession) SetContractURI

func (_NFT *NFTTransactorSession) SetContractURI(_URI string) (*types.Transaction, error)

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

Solidity: function setContractURI(string _URI) returns()

func (*NFTTransactorSession) SetRestrictedTransfer added in v0.1.0

func (_NFT *NFTTransactorSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*NFTTransactorSession) SetRoyaltyBps

func (_NFT *NFTTransactorSession) SetRoyaltyBps(_royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (*NFTTransactorSession) TransferFrom

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

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

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

func (*NFTTransactorSession) Unpause

func (_NFT *NFTTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type NFTTransfer

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

NFTTransfer represents a Transfer event raised by the NFT contract.

type NFTTransferIterator

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

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

func (*NFTTransferIterator) Close

func (it *NFTTransferIterator) Close() error

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

func (*NFTTransferIterator) Error

func (it *NFTTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTTransferIterator) Next

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

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

NFTUnpaused represents a Unpaused event raised by the NFT contract.

type NFTUnpausedIterator

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

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

func (*NFTUnpausedIterator) Close

func (it *NFTUnpausedIterator) Close() error

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

func (*NFTUnpausedIterator) Error

func (it *NFTUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NFTUnpausedIterator) Next

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

type Pack struct {
	PackCaller     // Read-only binding to the contract
	PackTransactor // Write-only binding to the contract
	PackFilterer   // Log filterer for contract events
}

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

func NewPack

func NewPack(address common.Address, backend bind.ContractBackend) (*Pack, error)

NewPack creates a new instance of Pack, bound to a specific deployed contract.

type PackApprovalForAll

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

PackApprovalForAll represents a ApprovalForAll event raised by the Pack contract.

type PackApprovalForAllIterator

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

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

func (*PackApprovalForAllIterator) Close

func (it *PackApprovalForAllIterator) Close() error

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

func (*PackApprovalForAllIterator) Error

func (it *PackApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackApprovalForAllIterator) Next

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

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

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

func NewPackCaller

func NewPackCaller(address common.Address, caller bind.ContractCaller) (*PackCaller, error)

NewPackCaller creates a new read-only instance of Pack, bound to a specific deployed contract.

func (*PackCaller) BalanceOf

func (_Pack *PackCaller) 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 (*PackCaller) BalanceOfBatch

func (_Pack *PackCaller) 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 (*PackCaller) ContractURI

func (_Pack *PackCaller) ContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*PackCaller) Creator

func (_Pack *PackCaller) Creator(opts *bind.CallOpts, _packId *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 _packId) view returns(address)

func (*PackCaller) CurrentRequestId

func (_Pack *PackCaller) CurrentRequestId(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) ([32]byte, error)

CurrentRequestId is a free data retrieval call binding the contract method 0x5318c48f.

Solidity: function currentRequestId(uint256 , address ) view returns(bytes32)

func (*PackCaller) DEFAULTADMINROLE

func (_Pack *PackCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PackCaller) GetPack

func (_Pack *PackCaller) GetPack(opts *bind.CallOpts, _packId *big.Int) (PackPackState, error)

GetPack is a free data retrieval call binding the contract method 0x895ec54c.

Solidity: function getPack(uint256 _packId) view returns((string,address,uint256) pack)

func (*PackCaller) GetPackWithRewards

func (_Pack *PackCaller) GetPackWithRewards(opts *bind.CallOpts, _packId *big.Int) (struct {
	Pack            PackPackState
	PackTotalSupply *big.Int
	Source          common.Address
	TokenIds        []*big.Int
	AmountsPacked   []*big.Int
}, error)

GetPackWithRewards is a free data retrieval call binding the contract method 0x10e34e67.

Solidity: function getPackWithRewards(uint256 _packId) view returns((string,address,uint256) pack, uint256 packTotalSupply, address source, uint256[] tokenIds, uint256[] amountsPacked)

func (*PackCaller) GetRoleAdmin

func (_Pack *PackCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PackCaller) GetRoleMember

func (_Pack *PackCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*PackCaller) GetRoleMemberCount

func (_Pack *PackCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*PackCaller) HasRole

func (_Pack *PackCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PackCaller) InternalContractURI

func (_Pack *PackCaller) InternalContractURI(opts *bind.CallOpts) (string, error)

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

Solidity: function contractURI() view returns(string)

func (*PackCaller) IsApprovedForAll

func (_Pack *PackCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

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

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

func (*PackCaller) IsTrustedForwarder

func (_Pack *PackCaller) IsTrustedForwarder(opts *bind.CallOpts, forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*PackCaller) MINTERROLE

func (_Pack *PackCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*PackCaller) NextTokenId

func (_Pack *PackCaller) NextTokenId(opts *bind.CallOpts) (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*PackCaller) PAUSERROLE

func (_Pack *PackCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*PackCaller) Packs

func (_Pack *PackCaller) Packs(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Uri       string
	Creator   common.Address
	OpenStart *big.Int
}, error)

Packs is a free data retrieval call binding the contract method 0xb84c1392.

Solidity: function packs(uint256 ) view returns(string uri, address creator, uint256 openStart)

func (*PackCaller) Paused

func (_Pack *PackCaller) 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 (*PackCaller) RandomnessRequests

func (_Pack *PackCaller) RandomnessRequests(opts *bind.CallOpts, arg0 [32]byte) (struct {
	PackId *big.Int
	Opener common.Address
}, error)

RandomnessRequests is a free data retrieval call binding the contract method 0x5e619b78.

Solidity: function randomnessRequests(bytes32 ) view returns(uint256 packId, address opener)

func (*PackCaller) Rewards

func (_Pack *PackCaller) Rewards(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Source         common.Address
	RewardsPerOpen *big.Int
}, error)

Rewards is a free data retrieval call binding the contract method 0xf301af42.

Solidity: function rewards(uint256 ) view returns(address source, uint256 rewardsPerOpen)

func (*PackCaller) RoyaltyBps

func (_Pack *PackCaller) RoyaltyBps(opts *bind.CallOpts) (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*PackCaller) RoyaltyInfo

func (_Pack *PackCaller) RoyaltyInfo(opts *bind.CallOpts, arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*PackCaller) SupportsInterface

func (_Pack *PackCaller) 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 (*PackCaller) TRANSFERROLE

func (_Pack *PackCaller) TRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*PackCaller) TokenURI

func (_Pack *PackCaller) TokenURI(opts *bind.CallOpts, _id *big.Int) (string, error)

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

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

func (*PackCaller) TotalSupply added in v0.1.0

func (_Pack *PackCaller) 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 (*PackCaller) TransfersRestricted added in v0.1.0

func (_Pack *PackCaller) TransfersRestricted(opts *bind.CallOpts) (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*PackCaller) Uri

func (_Pack *PackCaller) Uri(opts *bind.CallOpts, _id *big.Int) (string, error)

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

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

func (*PackCaller) VrfFees

func (_Pack *PackCaller) VrfFees(opts *bind.CallOpts) (*big.Int, error)

VrfFees is a free data retrieval call binding the contract method 0x10983e57.

Solidity: function vrfFees() view returns(uint256)

func (*PackCaller) VrfKeyHash

func (_Pack *PackCaller) VrfKeyHash(opts *bind.CallOpts) ([32]byte, error)

VrfKeyHash is a free data retrieval call binding the contract method 0x041d443e.

Solidity: function vrfKeyHash() view returns(bytes32)

type PackCallerRaw

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

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

func (*PackCallerRaw) Call

func (_Pack *PackCallerRaw) 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 PackCallerSession

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

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

func (*PackCallerSession) BalanceOf

func (_Pack *PackCallerSession) 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 (*PackCallerSession) BalanceOfBatch

func (_Pack *PackCallerSession) 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 (*PackCallerSession) ContractURI

func (_Pack *PackCallerSession) ContractURI() (string, error)

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

Solidity: function _contractURI() view returns(string)

func (*PackCallerSession) Creator

func (_Pack *PackCallerSession) Creator(_packId *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 _packId) view returns(address)

func (*PackCallerSession) CurrentRequestId

func (_Pack *PackCallerSession) CurrentRequestId(arg0 *big.Int, arg1 common.Address) ([32]byte, error)

CurrentRequestId is a free data retrieval call binding the contract method 0x5318c48f.

Solidity: function currentRequestId(uint256 , address ) view returns(bytes32)

func (*PackCallerSession) DEFAULTADMINROLE

func (_Pack *PackCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PackCallerSession) GetPack

func (_Pack *PackCallerSession) GetPack(_packId *big.Int) (PackPackState, error)

GetPack is a free data retrieval call binding the contract method 0x895ec54c.

Solidity: function getPack(uint256 _packId) view returns((string,address,uint256) pack)

func (*PackCallerSession) GetPackWithRewards

func (_Pack *PackCallerSession) GetPackWithRewards(_packId *big.Int) (struct {
	Pack            PackPackState
	PackTotalSupply *big.Int
	Source          common.Address
	TokenIds        []*big.Int
	AmountsPacked   []*big.Int
}, error)

GetPackWithRewards is a free data retrieval call binding the contract method 0x10e34e67.

Solidity: function getPackWithRewards(uint256 _packId) view returns((string,address,uint256) pack, uint256 packTotalSupply, address source, uint256[] tokenIds, uint256[] amountsPacked)

func (*PackCallerSession) GetRoleAdmin

func (_Pack *PackCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PackCallerSession) GetRoleMember

func (_Pack *PackCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*PackCallerSession) GetRoleMemberCount

func (_Pack *PackCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*PackCallerSession) HasRole

func (_Pack *PackCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PackCallerSession) InternalContractURI

func (_Pack *PackCallerSession) InternalContractURI() (string, error)

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

Solidity: function contractURI() view returns(string)

func (*PackCallerSession) IsApprovedForAll

func (_Pack *PackCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

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

func (*PackCallerSession) IsTrustedForwarder

func (_Pack *PackCallerSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*PackCallerSession) MINTERROLE

func (_Pack *PackCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*PackCallerSession) NextTokenId

func (_Pack *PackCallerSession) NextTokenId() (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*PackCallerSession) PAUSERROLE

func (_Pack *PackCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*PackCallerSession) Packs

func (_Pack *PackCallerSession) Packs(arg0 *big.Int) (struct {
	Uri       string
	Creator   common.Address
	OpenStart *big.Int
}, error)

Packs is a free data retrieval call binding the contract method 0xb84c1392.

Solidity: function packs(uint256 ) view returns(string uri, address creator, uint256 openStart)

func (*PackCallerSession) Paused

func (_Pack *PackCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*PackCallerSession) RandomnessRequests

func (_Pack *PackCallerSession) RandomnessRequests(arg0 [32]byte) (struct {
	PackId *big.Int
	Opener common.Address
}, error)

RandomnessRequests is a free data retrieval call binding the contract method 0x5e619b78.

Solidity: function randomnessRequests(bytes32 ) view returns(uint256 packId, address opener)

func (*PackCallerSession) Rewards

func (_Pack *PackCallerSession) Rewards(arg0 *big.Int) (struct {
	Source         common.Address
	RewardsPerOpen *big.Int
}, error)

Rewards is a free data retrieval call binding the contract method 0xf301af42.

Solidity: function rewards(uint256 ) view returns(address source, uint256 rewardsPerOpen)

func (*PackCallerSession) RoyaltyBps

func (_Pack *PackCallerSession) RoyaltyBps() (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*PackCallerSession) RoyaltyInfo

func (_Pack *PackCallerSession) RoyaltyInfo(arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

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

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

func (*PackCallerSession) SupportsInterface

func (_Pack *PackCallerSession) 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 (*PackCallerSession) TRANSFERROLE

func (_Pack *PackCallerSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*PackCallerSession) TokenURI

func (_Pack *PackCallerSession) TokenURI(_id *big.Int) (string, error)

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

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

func (*PackCallerSession) TotalSupply added in v0.1.0

func (_Pack *PackCallerSession) 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 (*PackCallerSession) TransfersRestricted added in v0.1.0

func (_Pack *PackCallerSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*PackCallerSession) Uri

func (_Pack *PackCallerSession) Uri(_id *big.Int) (string, error)

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

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

func (*PackCallerSession) VrfFees

func (_Pack *PackCallerSession) VrfFees() (*big.Int, error)

VrfFees is a free data retrieval call binding the contract method 0x10983e57.

Solidity: function vrfFees() view returns(uint256)

func (*PackCallerSession) VrfKeyHash

func (_Pack *PackCallerSession) VrfKeyHash() ([32]byte, error)

VrfKeyHash is a free data retrieval call binding the contract method 0x041d443e.

Solidity: function vrfKeyHash() view returns(bytes32)

type PackFilterer

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

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

func NewPackFilterer

func NewPackFilterer(address common.Address, filterer bind.ContractFilterer) (*PackFilterer, error)

NewPackFilterer creates a new log filterer instance of Pack, bound to a specific deployed contract.

func (*PackFilterer) FilterApprovalForAll

func (_Pack *PackFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*PackApprovalForAllIterator, 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 (*PackFilterer) FilterPackCreated

func (_Pack *PackFilterer) FilterPackCreated(opts *bind.FilterOpts, packId []*big.Int, rewardContract []common.Address, creator []common.Address) (*PackPackCreatedIterator, error)

FilterPackCreated is a free log retrieval operation binding the contract event 0xd12628277f61a6acc1f051914551d13cdd8d117e3a5ce322869300fda84be712.

Solidity: event PackCreated(uint256 indexed packId, address indexed rewardContract, address indexed creator, uint256 packTotalSupply, (string,address,uint256) packState, (address,uint256[],uint256[],uint256) rewards)

func (*PackFilterer) FilterPackOpenFulfilled

func (_Pack *PackFilterer) FilterPackOpenFulfilled(opts *bind.FilterOpts, packId []*big.Int, opener []common.Address, rewardContract []common.Address) (*PackPackOpenFulfilledIterator, error)

FilterPackOpenFulfilled is a free log retrieval operation binding the contract event 0x9cae8e743935573869e2fe7223782448d71211235c93076166106782de1c234f.

Solidity: event PackOpenFulfilled(uint256 indexed packId, address indexed opener, bytes32 requestId, address indexed rewardContract, uint256[] rewardIds)

func (*PackFilterer) FilterPackOpenRequest

func (_Pack *PackFilterer) FilterPackOpenRequest(opts *bind.FilterOpts, packId []*big.Int, opener []common.Address) (*PackPackOpenRequestIterator, error)

FilterPackOpenRequest is a free log retrieval operation binding the contract event 0xb5c27afec62496e403fae78e07136ae7c58425e8128c7b680ea24dee8c8d9401.

Solidity: event PackOpenRequest(uint256 indexed packId, address indexed opener, bytes32 requestId)

func (*PackFilterer) FilterPaused

func (_Pack *PackFilterer) FilterPaused(opts *bind.FilterOpts) (*PackPausedIterator, error)

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

Solidity: event Paused(address account)

func (*PackFilterer) FilterRestrictedTransferUpdated added in v0.1.2

func (_Pack *PackFilterer) FilterRestrictedTransferUpdated(opts *bind.FilterOpts) (*PackRestrictedTransferUpdatedIterator, error)

FilterRestrictedTransferUpdated is a free log retrieval operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*PackFilterer) FilterRoleAdminChanged

func (_Pack *PackFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*PackRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PackFilterer) FilterRoleGranted

func (_Pack *PackFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PackRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PackFilterer) FilterRoleRevoked

func (_Pack *PackFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PackRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PackFilterer) FilterRoyaltyUpdated

func (_Pack *PackFilterer) FilterRoyaltyUpdated(opts *bind.FilterOpts) (*PackRoyaltyUpdatedIterator, error)

FilterRoyaltyUpdated is a free log retrieval operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*PackFilterer) FilterTransferBatch

func (_Pack *PackFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*PackTransferBatchIterator, 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 (*PackFilterer) FilterTransferSingle

func (_Pack *PackFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*PackTransferSingleIterator, 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 (*PackFilterer) FilterURI

func (_Pack *PackFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*PackURIIterator, error)

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

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

func (*PackFilterer) FilterUnpaused

func (_Pack *PackFilterer) FilterUnpaused(opts *bind.FilterOpts) (*PackUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*PackFilterer) ParseApprovalForAll

func (_Pack *PackFilterer) ParseApprovalForAll(log types.Log) (*PackApprovalForAll, error)

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

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*PackFilterer) ParsePackCreated

func (_Pack *PackFilterer) ParsePackCreated(log types.Log) (*PackPackCreated, error)

ParsePackCreated is a log parse operation binding the contract event 0xd12628277f61a6acc1f051914551d13cdd8d117e3a5ce322869300fda84be712.

Solidity: event PackCreated(uint256 indexed packId, address indexed rewardContract, address indexed creator, uint256 packTotalSupply, (string,address,uint256) packState, (address,uint256[],uint256[],uint256) rewards)

func (*PackFilterer) ParsePackOpenFulfilled

func (_Pack *PackFilterer) ParsePackOpenFulfilled(log types.Log) (*PackPackOpenFulfilled, error)

ParsePackOpenFulfilled is a log parse operation binding the contract event 0x9cae8e743935573869e2fe7223782448d71211235c93076166106782de1c234f.

Solidity: event PackOpenFulfilled(uint256 indexed packId, address indexed opener, bytes32 requestId, address indexed rewardContract, uint256[] rewardIds)

func (*PackFilterer) ParsePackOpenRequest

func (_Pack *PackFilterer) ParsePackOpenRequest(log types.Log) (*PackPackOpenRequest, error)

ParsePackOpenRequest is a log parse operation binding the contract event 0xb5c27afec62496e403fae78e07136ae7c58425e8128c7b680ea24dee8c8d9401.

Solidity: event PackOpenRequest(uint256 indexed packId, address indexed opener, bytes32 requestId)

func (*PackFilterer) ParsePaused

func (_Pack *PackFilterer) ParsePaused(log types.Log) (*PackPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PackFilterer) ParseRestrictedTransferUpdated added in v0.1.2

func (_Pack *PackFilterer) ParseRestrictedTransferUpdated(log types.Log) (*PackRestrictedTransferUpdated, error)

ParseRestrictedTransferUpdated is a log parse operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*PackFilterer) ParseRoleAdminChanged

func (_Pack *PackFilterer) ParseRoleAdminChanged(log types.Log) (*PackRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PackFilterer) ParseRoleGranted

func (_Pack *PackFilterer) ParseRoleGranted(log types.Log) (*PackRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PackFilterer) ParseRoleRevoked

func (_Pack *PackFilterer) ParseRoleRevoked(log types.Log) (*PackRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PackFilterer) ParseRoyaltyUpdated

func (_Pack *PackFilterer) ParseRoyaltyUpdated(log types.Log) (*PackRoyaltyUpdated, error)

ParseRoyaltyUpdated is a log parse operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*PackFilterer) ParseTransferBatch

func (_Pack *PackFilterer) ParseTransferBatch(log types.Log) (*PackTransferBatch, 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 (*PackFilterer) ParseTransferSingle

func (_Pack *PackFilterer) ParseTransferSingle(log types.Log) (*PackTransferSingle, 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 (*PackFilterer) ParseURI

func (_Pack *PackFilterer) ParseURI(log types.Log) (*PackURI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*PackFilterer) ParseUnpaused

func (_Pack *PackFilterer) ParseUnpaused(log types.Log) (*PackUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PackFilterer) WatchApprovalForAll

func (_Pack *PackFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *PackApprovalForAll, 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 (*PackFilterer) WatchPackCreated

func (_Pack *PackFilterer) WatchPackCreated(opts *bind.WatchOpts, sink chan<- *PackPackCreated, packId []*big.Int, rewardContract []common.Address, creator []common.Address) (event.Subscription, error)

WatchPackCreated is a free log subscription operation binding the contract event 0xd12628277f61a6acc1f051914551d13cdd8d117e3a5ce322869300fda84be712.

Solidity: event PackCreated(uint256 indexed packId, address indexed rewardContract, address indexed creator, uint256 packTotalSupply, (string,address,uint256) packState, (address,uint256[],uint256[],uint256) rewards)

func (*PackFilterer) WatchPackOpenFulfilled

func (_Pack *PackFilterer) WatchPackOpenFulfilled(opts *bind.WatchOpts, sink chan<- *PackPackOpenFulfilled, packId []*big.Int, opener []common.Address, rewardContract []common.Address) (event.Subscription, error)

WatchPackOpenFulfilled is a free log subscription operation binding the contract event 0x9cae8e743935573869e2fe7223782448d71211235c93076166106782de1c234f.

Solidity: event PackOpenFulfilled(uint256 indexed packId, address indexed opener, bytes32 requestId, address indexed rewardContract, uint256[] rewardIds)

func (*PackFilterer) WatchPackOpenRequest

func (_Pack *PackFilterer) WatchPackOpenRequest(opts *bind.WatchOpts, sink chan<- *PackPackOpenRequest, packId []*big.Int, opener []common.Address) (event.Subscription, error)

WatchPackOpenRequest is a free log subscription operation binding the contract event 0xb5c27afec62496e403fae78e07136ae7c58425e8128c7b680ea24dee8c8d9401.

Solidity: event PackOpenRequest(uint256 indexed packId, address indexed opener, bytes32 requestId)

func (*PackFilterer) WatchPaused

func (_Pack *PackFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *PackPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PackFilterer) WatchRestrictedTransferUpdated added in v0.1.2

func (_Pack *PackFilterer) WatchRestrictedTransferUpdated(opts *bind.WatchOpts, sink chan<- *PackRestrictedTransferUpdated) (event.Subscription, error)

WatchRestrictedTransferUpdated is a free log subscription operation binding the contract event 0xfb4ba02cee22486df888d7ffb97c6100ec3193781e025cb9a4bc6fc358d626cc.

Solidity: event RestrictedTransferUpdated(bool transferable)

func (*PackFilterer) WatchRoleAdminChanged

func (_Pack *PackFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *PackRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PackFilterer) WatchRoleGranted

func (_Pack *PackFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *PackRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PackFilterer) WatchRoleRevoked

func (_Pack *PackFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *PackRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PackFilterer) WatchRoyaltyUpdated

func (_Pack *PackFilterer) WatchRoyaltyUpdated(opts *bind.WatchOpts, sink chan<- *PackRoyaltyUpdated) (event.Subscription, error)

WatchRoyaltyUpdated is a free log subscription operation binding the contract event 0x244ea8d7627f5a08f4299862bd5a45752842c183aee5b0fb0d1e4887bfa605b3.

Solidity: event RoyaltyUpdated(uint256 royaltyBps)

func (*PackFilterer) WatchTransferBatch

func (_Pack *PackFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *PackTransferBatch, 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 (*PackFilterer) WatchTransferSingle

func (_Pack *PackFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *PackTransferSingle, 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 (*PackFilterer) WatchURI

func (_Pack *PackFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *PackURI, 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 (*PackFilterer) WatchUnpaused

func (_Pack *PackFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *PackUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type PackPackCreated

type PackPackCreated struct {
	PackId          *big.Int
	RewardContract  common.Address
	Creator         common.Address
	PackTotalSupply *big.Int
	PackState       PackPackState
	Rewards         PackRewards
	Raw             types.Log // Blockchain specific contextual infos
}

PackPackCreated represents a PackCreated event raised by the Pack contract.

type PackPackCreatedIterator

type PackPackCreatedIterator struct {
	Event *PackPackCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackPackCreatedIterator is returned from FilterPackCreated and is used to iterate over the raw logs and unpacked data for PackCreated events raised by the Pack contract.

func (*PackPackCreatedIterator) Close

func (it *PackPackCreatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackPackCreatedIterator) Error

func (it *PackPackCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackPackCreatedIterator) Next

func (it *PackPackCreatedIterator) 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 PackPackOpenFulfilled

type PackPackOpenFulfilled struct {
	PackId         *big.Int
	Opener         common.Address
	RequestId      [32]byte
	RewardContract common.Address
	RewardIds      []*big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

PackPackOpenFulfilled represents a PackOpenFulfilled event raised by the Pack contract.

type PackPackOpenFulfilledIterator

type PackPackOpenFulfilledIterator struct {
	Event *PackPackOpenFulfilled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackPackOpenFulfilledIterator is returned from FilterPackOpenFulfilled and is used to iterate over the raw logs and unpacked data for PackOpenFulfilled events raised by the Pack contract.

func (*PackPackOpenFulfilledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackPackOpenFulfilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackPackOpenFulfilledIterator) 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 PackPackOpenRequest

type PackPackOpenRequest struct {
	PackId    *big.Int
	Opener    common.Address
	RequestId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

PackPackOpenRequest represents a PackOpenRequest event raised by the Pack contract.

type PackPackOpenRequestIterator

type PackPackOpenRequestIterator struct {
	Event *PackPackOpenRequest // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackPackOpenRequestIterator is returned from FilterPackOpenRequest and is used to iterate over the raw logs and unpacked data for PackOpenRequest events raised by the Pack contract.

func (*PackPackOpenRequestIterator) Close

func (it *PackPackOpenRequestIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackPackOpenRequestIterator) Error

func (it *PackPackOpenRequestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackPackOpenRequestIterator) Next

func (it *PackPackOpenRequestIterator) 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 PackPackState

type PackPackState struct {
	Uri       string
	Creator   common.Address
	OpenStart *big.Int
}

PackPackState is an auto generated low-level Go binding around an user-defined struct.

type PackPaused

type PackPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PackPaused represents a Paused event raised by the Pack contract.

type PackPausedIterator

type PackPausedIterator struct {
	Event *PackPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Pack contract.

func (*PackPausedIterator) Close

func (it *PackPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackPausedIterator) Error

func (it *PackPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackPausedIterator) Next

func (it *PackPausedIterator) 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 PackRaw

type PackRaw struct {
	Contract *Pack // Generic contract binding to access the raw methods on
}

PackRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PackRaw) Call

func (_Pack *PackRaw) 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 (*PackRaw) Transact

func (_Pack *PackRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PackRaw) Transfer

func (_Pack *PackRaw) 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 PackRestrictedTransferUpdated added in v0.1.2

type PackRestrictedTransferUpdated struct {
	Transferable bool
	Raw          types.Log // Blockchain specific contextual infos
}

PackRestrictedTransferUpdated represents a RestrictedTransferUpdated event raised by the Pack contract.

type PackRestrictedTransferUpdatedIterator added in v0.1.2

type PackRestrictedTransferUpdatedIterator struct {
	Event *PackRestrictedTransferUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackRestrictedTransferUpdatedIterator is returned from FilterRestrictedTransferUpdated and is used to iterate over the raw logs and unpacked data for RestrictedTransferUpdated events raised by the Pack contract.

func (*PackRestrictedTransferUpdatedIterator) Close added in v0.1.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackRestrictedTransferUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*PackRestrictedTransferUpdatedIterator) Next added in v0.1.2

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 PackRewards

type PackRewards struct {
	Source         common.Address
	TokenIds       []*big.Int
	AmountsPacked  []*big.Int
	RewardsPerOpen *big.Int
}

PackRewards is an auto generated low-level Go binding around an user-defined struct.

type PackRoleAdminChanged

type PackRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

PackRoleAdminChanged represents a RoleAdminChanged event raised by the Pack contract.

type PackRoleAdminChangedIterator

type PackRoleAdminChangedIterator struct {
	Event *PackRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Pack contract.

func (*PackRoleAdminChangedIterator) Close

func (it *PackRoleAdminChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackRoleAdminChangedIterator) Error

func (it *PackRoleAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackRoleAdminChangedIterator) 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 PackRoleGranted

type PackRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PackRoleGranted represents a RoleGranted event raised by the Pack contract.

type PackRoleGrantedIterator

type PackRoleGrantedIterator struct {
	Event *PackRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Pack contract.

func (*PackRoleGrantedIterator) Close

func (it *PackRoleGrantedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackRoleGrantedIterator) Error

func (it *PackRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackRoleGrantedIterator) Next

func (it *PackRoleGrantedIterator) 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 PackRoleRevoked

type PackRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PackRoleRevoked represents a RoleRevoked event raised by the Pack contract.

type PackRoleRevokedIterator

type PackRoleRevokedIterator struct {
	Event *PackRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Pack contract.

func (*PackRoleRevokedIterator) Close

func (it *PackRoleRevokedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackRoleRevokedIterator) Error

func (it *PackRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackRoleRevokedIterator) Next

func (it *PackRoleRevokedIterator) 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 PackRoyaltyUpdated

type PackRoyaltyUpdated struct {
	RoyaltyBps *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

PackRoyaltyUpdated represents a RoyaltyUpdated event raised by the Pack contract.

type PackRoyaltyUpdatedIterator

type PackRoyaltyUpdatedIterator struct {
	Event *PackRoyaltyUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackRoyaltyUpdatedIterator is returned from FilterRoyaltyUpdated and is used to iterate over the raw logs and unpacked data for RoyaltyUpdated events raised by the Pack contract.

func (*PackRoyaltyUpdatedIterator) Close

func (it *PackRoyaltyUpdatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackRoyaltyUpdatedIterator) Error

func (it *PackRoyaltyUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackRoyaltyUpdatedIterator) Next

func (it *PackRoyaltyUpdatedIterator) 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 PackSession

type PackSession struct {
	Contract     *Pack             // 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
}

PackSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PackSession) BalanceOf

func (_Pack *PackSession) 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 (*PackSession) BalanceOfBatch

func (_Pack *PackSession) 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 (*PackSession) Burn

func (_Pack *PackSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address account, uint256 id, uint256 value) returns()

func (*PackSession) BurnBatch

func (_Pack *PackSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)

BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.

Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()

func (*PackSession) ContractURI

func (_Pack *PackSession) ContractURI() (string, error)

ContractURI is a free data retrieval call binding the contract method 0xc0e72740.

Solidity: function _contractURI() view returns(string)

func (*PackSession) Creator

func (_Pack *PackSession) Creator(_packId *big.Int) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x510b5158.

Solidity: function creator(uint256 _packId) view returns(address)

func (*PackSession) CurrentRequestId

func (_Pack *PackSession) CurrentRequestId(arg0 *big.Int, arg1 common.Address) ([32]byte, error)

CurrentRequestId is a free data retrieval call binding the contract method 0x5318c48f.

Solidity: function currentRequestId(uint256 , address ) view returns(bytes32)

func (*PackSession) DEFAULTADMINROLE

func (_Pack *PackSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PackSession) GetPack

func (_Pack *PackSession) GetPack(_packId *big.Int) (PackPackState, error)

GetPack is a free data retrieval call binding the contract method 0x895ec54c.

Solidity: function getPack(uint256 _packId) view returns((string,address,uint256) pack)

func (*PackSession) GetPackWithRewards

func (_Pack *PackSession) GetPackWithRewards(_packId *big.Int) (struct {
	Pack            PackPackState
	PackTotalSupply *big.Int
	Source          common.Address
	TokenIds        []*big.Int
	AmountsPacked   []*big.Int
}, error)

GetPackWithRewards is a free data retrieval call binding the contract method 0x10e34e67.

Solidity: function getPackWithRewards(uint256 _packId) view returns((string,address,uint256) pack, uint256 packTotalSupply, address source, uint256[] tokenIds, uint256[] amountsPacked)

func (*PackSession) GetRoleAdmin

func (_Pack *PackSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PackSession) GetRoleMember

func (_Pack *PackSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*PackSession) GetRoleMemberCount

func (_Pack *PackSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*PackSession) GrantRole

func (_Pack *PackSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PackSession) HasRole

func (_Pack *PackSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PackSession) InternalContractURI

func (_Pack *PackSession) InternalContractURI() (string, error)

InternalContractURI is a free data retrieval call binding the contract method 0xe8a3d485.

Solidity: function contractURI() view returns(string)

func (*PackSession) IsApprovedForAll

func (_Pack *PackSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*PackSession) IsTrustedForwarder

func (_Pack *PackSession) IsTrustedForwarder(forwarder common.Address) (bool, error)

IsTrustedForwarder is a free data retrieval call binding the contract method 0x572b6c05.

Solidity: function isTrustedForwarder(address forwarder) view returns(bool)

func (*PackSession) MINTERROLE

func (_Pack *PackSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*PackSession) Mint

func (_Pack *PackSession) Mint(arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address , uint256 , uint256 , bytes ) returns()

func (*PackSession) MintBatch

func (_Pack *PackSession) MintBatch(arg0 common.Address, arg1 []*big.Int, arg2 []*big.Int, arg3 []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address , uint256[] , uint256[] , bytes ) returns()

func (*PackSession) Multicall added in v0.1.2

func (_Pack *PackSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*PackSession) NextTokenId

func (_Pack *PackSession) NextTokenId() (*big.Int, error)

NextTokenId is a free data retrieval call binding the contract method 0x75794a3c.

Solidity: function nextTokenId() view returns(uint256)

func (*PackSession) OnERC1155BatchReceived

func (_Pack *PackSession) OnERC1155BatchReceived(_operator common.Address, arg1 common.Address, _ids []*big.Int, _values []*big.Int, _data []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address _operator, address , uint256[] _ids, uint256[] _values, bytes _data) returns(bytes4)

func (*PackSession) OnERC1155Received

func (_Pack *PackSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*PackSession) OnERC721Received added in v0.1.0

func (_Pack *PackSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*PackSession) OpenPack

func (_Pack *PackSession) OpenPack(_packId *big.Int) (*types.Transaction, error)

OpenPack is a paid mutator transaction binding the contract method 0x50a88c7e.

Solidity: function openPack(uint256 _packId) returns()

func (*PackSession) PAUSERROLE

func (_Pack *PackSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*PackSession) Packs

func (_Pack *PackSession) Packs(arg0 *big.Int) (struct {
	Uri       string
	Creator   common.Address
	OpenStart *big.Int
}, error)

Packs is a free data retrieval call binding the contract method 0xb84c1392.

Solidity: function packs(uint256 ) view returns(string uri, address creator, uint256 openStart)

func (*PackSession) Pause

func (_Pack *PackSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PackSession) Paused

func (_Pack *PackSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PackSession) RandomnessRequests

func (_Pack *PackSession) RandomnessRequests(arg0 [32]byte) (struct {
	PackId *big.Int
	Opener common.Address
}, error)

RandomnessRequests is a free data retrieval call binding the contract method 0x5e619b78.

Solidity: function randomnessRequests(bytes32 ) view returns(uint256 packId, address opener)

func (*PackSession) RawFulfillRandomness

func (_Pack *PackSession) RawFulfillRandomness(requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*PackSession) RenounceRole

func (_Pack *PackSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PackSession) RevokeRole

func (_Pack *PackSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PackSession) Rewards

func (_Pack *PackSession) Rewards(arg0 *big.Int) (struct {
	Source         common.Address
	RewardsPerOpen *big.Int
}, error)

Rewards is a free data retrieval call binding the contract method 0xf301af42.

Solidity: function rewards(uint256 ) view returns(address source, uint256 rewardsPerOpen)

func (*PackSession) RoyaltyBps

func (_Pack *PackSession) RoyaltyBps() (*big.Int, error)

RoyaltyBps is a free data retrieval call binding the contract method 0xc63adb2b.

Solidity: function royaltyBps() view returns(uint256)

func (*PackSession) RoyaltyInfo

func (_Pack *PackSession) RoyaltyInfo(arg0 *big.Int, salePrice *big.Int) (struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}, error)

RoyaltyInfo is a free data retrieval call binding the contract method 0x2a55205a.

Solidity: function royaltyInfo(uint256 , uint256 salePrice) view returns(address receiver, uint256 royaltyAmount)

func (*PackSession) SafeBatchTransferFrom

func (_Pack *PackSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*PackSession) SafeTransferFrom

func (_Pack *PackSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*PackSession) SetApprovalForAll

func (_Pack *PackSession) 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 (*PackSession) SetChainlinkFees

func (_Pack *PackSession) SetChainlinkFees(_newFees *big.Int) (*types.Transaction, error)

SetChainlinkFees is a paid mutator transaction binding the contract method 0xb277ca45.

Solidity: function setChainlinkFees(uint256 _newFees) returns()

func (*PackSession) SetContractURI

func (_Pack *PackSession) SetContractURI(_uri string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string _uri) returns()

func (*PackSession) SetRestrictedTransfer

func (_Pack *PackSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*PackSession) SetRoyaltyBps

func (_Pack *PackSession) SetRoyaltyBps(_royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (*PackSession) SupportsInterface

func (_Pack *PackSession) 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 (*PackSession) TRANSFERROLE

func (_Pack *PackSession) TRANSFERROLE() ([32]byte, error)

TRANSFERROLE is a free data retrieval call binding the contract method 0x206b60f9.

Solidity: function TRANSFER_ROLE() view returns(bytes32)

func (*PackSession) TokenURI

func (_Pack *PackSession) TokenURI(_id *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 _id) view returns(string)

func (*PackSession) TotalSupply added in v0.1.0

func (_Pack *PackSession) 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 (_Pack *PackSession) TransferLink(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferLink is a paid mutator transaction binding the contract method 0xf99b1d68.

Solidity: function transferLink(address _to, uint256 _amount) returns()

func (*PackSession) TransfersRestricted added in v0.1.0

func (_Pack *PackSession) TransfersRestricted() (bool, error)

TransfersRestricted is a free data retrieval call binding the contract method 0x8423df79.

Solidity: function transfersRestricted() view returns(bool)

func (*PackSession) Unpause

func (_Pack *PackSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*PackSession) Uri

func (_Pack *PackSession) Uri(_id *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 _id) view returns(string)

func (*PackSession) VrfFees

func (_Pack *PackSession) VrfFees() (*big.Int, error)

VrfFees is a free data retrieval call binding the contract method 0x10983e57.

Solidity: function vrfFees() view returns(uint256)

func (*PackSession) VrfKeyHash

func (_Pack *PackSession) VrfKeyHash() ([32]byte, error)

VrfKeyHash is a free data retrieval call binding the contract method 0x041d443e.

Solidity: function vrfKeyHash() view returns(bytes32)

type PackTransactor

type PackTransactor struct {
	// contains filtered or unexported fields
}

PackTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPackTransactor

func NewPackTransactor(address common.Address, transactor bind.ContractTransactor) (*PackTransactor, error)

NewPackTransactor creates a new write-only instance of Pack, bound to a specific deployed contract.

func (*PackTransactor) Burn

func (_Pack *PackTransactor) Burn(opts *bind.TransactOpts, account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address account, uint256 id, uint256 value) returns()

func (*PackTransactor) BurnBatch

func (_Pack *PackTransactor) BurnBatch(opts *bind.TransactOpts, account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)

BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.

Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()

func (*PackTransactor) GrantRole

func (_Pack *PackTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PackTransactor) Mint

func (_Pack *PackTransactor) Mint(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address , uint256 , uint256 , bytes ) returns()

func (*PackTransactor) MintBatch

func (_Pack *PackTransactor) MintBatch(opts *bind.TransactOpts, arg0 common.Address, arg1 []*big.Int, arg2 []*big.Int, arg3 []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address , uint256[] , uint256[] , bytes ) returns()

func (*PackTransactor) Multicall added in v0.1.2

func (_Pack *PackTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*PackTransactor) OnERC1155BatchReceived

func (_Pack *PackTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, _operator common.Address, arg1 common.Address, _ids []*big.Int, _values []*big.Int, _data []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address _operator, address , uint256[] _ids, uint256[] _values, bytes _data) returns(bytes4)

func (*PackTransactor) OnERC1155Received

func (_Pack *PackTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*PackTransactor) OnERC721Received added in v0.1.0

func (_Pack *PackTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*PackTransactor) OpenPack

func (_Pack *PackTransactor) OpenPack(opts *bind.TransactOpts, _packId *big.Int) (*types.Transaction, error)

OpenPack is a paid mutator transaction binding the contract method 0x50a88c7e.

Solidity: function openPack(uint256 _packId) returns()

func (*PackTransactor) Pause

func (_Pack *PackTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PackTransactor) RawFulfillRandomness

func (_Pack *PackTransactor) RawFulfillRandomness(opts *bind.TransactOpts, requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*PackTransactor) RenounceRole

func (_Pack *PackTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PackTransactor) RevokeRole

func (_Pack *PackTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PackTransactor) SafeBatchTransferFrom

func (_Pack *PackTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*PackTransactor) SafeTransferFrom

func (_Pack *PackTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*PackTransactor) SetApprovalForAll

func (_Pack *PackTransactor) 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 (*PackTransactor) SetChainlinkFees

func (_Pack *PackTransactor) SetChainlinkFees(opts *bind.TransactOpts, _newFees *big.Int) (*types.Transaction, error)

SetChainlinkFees is a paid mutator transaction binding the contract method 0xb277ca45.

Solidity: function setChainlinkFees(uint256 _newFees) returns()

func (*PackTransactor) SetContractURI

func (_Pack *PackTransactor) SetContractURI(opts *bind.TransactOpts, _uri string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string _uri) returns()

func (*PackTransactor) SetRestrictedTransfer

func (_Pack *PackTransactor) SetRestrictedTransfer(opts *bind.TransactOpts, _restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*PackTransactor) SetRoyaltyBps

func (_Pack *PackTransactor) SetRoyaltyBps(opts *bind.TransactOpts, _royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (_Pack *PackTransactor) TransferLink(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferLink is a paid mutator transaction binding the contract method 0xf99b1d68.

Solidity: function transferLink(address _to, uint256 _amount) returns()

func (*PackTransactor) Unpause

func (_Pack *PackTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PackTransactorRaw

type PackTransactorRaw struct {
	Contract *PackTransactor // Generic write-only contract binding to access the raw methods on
}

PackTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PackTransactorRaw) Transact

func (_Pack *PackTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PackTransactorRaw) Transfer

func (_Pack *PackTransactorRaw) 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 PackTransactorSession

type PackTransactorSession struct {
	Contract     *PackTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

PackTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PackTransactorSession) Burn

func (_Pack *PackTransactorSession) Burn(account common.Address, id *big.Int, value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xf5298aca.

Solidity: function burn(address account, uint256 id, uint256 value) returns()

func (*PackTransactorSession) BurnBatch

func (_Pack *PackTransactorSession) BurnBatch(account common.Address, ids []*big.Int, values []*big.Int) (*types.Transaction, error)

BurnBatch is a paid mutator transaction binding the contract method 0x6b20c454.

Solidity: function burnBatch(address account, uint256[] ids, uint256[] values) returns()

func (*PackTransactorSession) GrantRole

func (_Pack *PackTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PackTransactorSession) Mint

func (_Pack *PackTransactorSession) Mint(arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address , uint256 , uint256 , bytes ) returns()

func (*PackTransactorSession) MintBatch

func (_Pack *PackTransactorSession) MintBatch(arg0 common.Address, arg1 []*big.Int, arg2 []*big.Int, arg3 []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address , uint256[] , uint256[] , bytes ) returns()

func (*PackTransactorSession) Multicall added in v0.1.2

func (_Pack *PackTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0xac9650d8.

Solidity: function multicall(bytes[] data) returns(bytes[] results)

func (*PackTransactorSession) OnERC1155BatchReceived

func (_Pack *PackTransactorSession) OnERC1155BatchReceived(_operator common.Address, arg1 common.Address, _ids []*big.Int, _values []*big.Int, _data []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address _operator, address , uint256[] _ids, uint256[] _values, bytes _data) returns(bytes4)

func (*PackTransactorSession) OnERC1155Received

func (_Pack *PackTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*PackTransactorSession) OnERC721Received added in v0.1.0

func (_Pack *PackTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*PackTransactorSession) OpenPack

func (_Pack *PackTransactorSession) OpenPack(_packId *big.Int) (*types.Transaction, error)

OpenPack is a paid mutator transaction binding the contract method 0x50a88c7e.

Solidity: function openPack(uint256 _packId) returns()

func (*PackTransactorSession) Pause

func (_Pack *PackTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PackTransactorSession) RawFulfillRandomness

func (_Pack *PackTransactorSession) RawFulfillRandomness(requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*PackTransactorSession) RenounceRole

func (_Pack *PackTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PackTransactorSession) RevokeRole

func (_Pack *PackTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PackTransactorSession) SafeBatchTransferFrom

func (_Pack *PackTransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*PackTransactorSession) SafeTransferFrom

func (_Pack *PackTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*PackTransactorSession) SetApprovalForAll

func (_Pack *PackTransactorSession) 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 (*PackTransactorSession) SetChainlinkFees

func (_Pack *PackTransactorSession) SetChainlinkFees(_newFees *big.Int) (*types.Transaction, error)

SetChainlinkFees is a paid mutator transaction binding the contract method 0xb277ca45.

Solidity: function setChainlinkFees(uint256 _newFees) returns()

func (*PackTransactorSession) SetContractURI

func (_Pack *PackTransactorSession) SetContractURI(_uri string) (*types.Transaction, error)

SetContractURI is a paid mutator transaction binding the contract method 0x938e3d7b.

Solidity: function setContractURI(string _uri) returns()

func (*PackTransactorSession) SetRestrictedTransfer

func (_Pack *PackTransactorSession) SetRestrictedTransfer(_restrictedTransfer bool) (*types.Transaction, error)

SetRestrictedTransfer is a paid mutator transaction binding the contract method 0x8ba448c2.

Solidity: function setRestrictedTransfer(bool _restrictedTransfer) returns()

func (*PackTransactorSession) SetRoyaltyBps

func (_Pack *PackTransactorSession) SetRoyaltyBps(_royaltyBps *big.Int) (*types.Transaction, error)

SetRoyaltyBps is a paid mutator transaction binding the contract method 0x1f72d831.

Solidity: function setRoyaltyBps(uint256 _royaltyBps) returns()

func (_Pack *PackTransactorSession) TransferLink(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferLink is a paid mutator transaction binding the contract method 0xf99b1d68.

Solidity: function transferLink(address _to, uint256 _amount) returns()

func (*PackTransactorSession) Unpause

func (_Pack *PackTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PackTransferBatch

type PackTransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PackTransferBatch represents a TransferBatch event raised by the Pack contract.

type PackTransferBatchIterator

type PackTransferBatchIterator struct {
	Event *PackTransferBatch // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Pack contract.

func (*PackTransferBatchIterator) Close

func (it *PackTransferBatchIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackTransferBatchIterator) Error

func (it *PackTransferBatchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackTransferBatchIterator) Next

func (it *PackTransferBatchIterator) 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 PackTransferSingle

type PackTransferSingle struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Id       *big.Int
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PackTransferSingle represents a TransferSingle event raised by the Pack contract.

type PackTransferSingleIterator

type PackTransferSingleIterator struct {
	Event *PackTransferSingle // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Pack contract.

func (*PackTransferSingleIterator) Close

func (it *PackTransferSingleIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackTransferSingleIterator) Error

func (it *PackTransferSingleIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackTransferSingleIterator) Next

func (it *PackTransferSingleIterator) 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 PackURI

type PackURI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PackURI represents a URI event raised by the Pack contract.

type PackURIIterator

type PackURIIterator struct {
	Event *PackURI // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackURIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Pack contract.

func (*PackURIIterator) Close

func (it *PackURIIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackURIIterator) Error

func (it *PackURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackURIIterator) Next

func (it *PackURIIterator) 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 PackUnpaused

type PackUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PackUnpaused represents a Unpaused event raised by the Pack contract.

type PackUnpausedIterator

type PackUnpausedIterator struct {
	Event *PackUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PackUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Pack contract.

func (*PackUnpausedIterator) Close

func (it *PackUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PackUnpausedIterator) Error

func (it *PackUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PackUnpausedIterator) Next

func (it *PackUnpausedIterator) 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 Registry added in v0.1.2

type Registry struct {
	RegistryCaller     // Read-only binding to the contract
	RegistryTransactor // Write-only binding to the contract
	RegistryFilterer   // Log filterer for contract events
}

Registry is an auto generated Go binding around an Ethereum contract.

func NewRegistry added in v0.1.2

func NewRegistry(address common.Address, backend bind.ContractBackend) (*Registry, error)

NewRegistry creates a new instance of Registry, bound to a specific deployed contract.

type RegistryCaller added in v0.1.2

type RegistryCaller struct {
	// contains filtered or unexported fields
}

RegistryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRegistryCaller added in v0.1.2

func NewRegistryCaller(address common.Address, caller bind.ContractCaller) (*RegistryCaller, error)

NewRegistryCaller creates a new read-only instance of Registry, bound to a specific deployed contract.

func (*RegistryCaller) DefaultFeeBps added in v0.1.2

func (_Registry *RegistryCaller) DefaultFeeBps(opts *bind.CallOpts) (*big.Int, error)

DefaultFeeBps is a free data retrieval call binding the contract method 0xbcae25a4.

Solidity: function defaultFeeBps() view returns(uint256)

func (*RegistryCaller) Deployer added in v0.1.2

func (_Registry *RegistryCaller) Deployer(opts *bind.CallOpts) (common.Address, error)

Deployer is a free data retrieval call binding the contract method 0xd5f39488.

Solidity: function deployer() view returns(address)

func (*RegistryCaller) Forwarder added in v0.1.2

func (_Registry *RegistryCaller) Forwarder(opts *bind.CallOpts) (common.Address, error)

Forwarder is a free data retrieval call binding the contract method 0xf645d4f9.

Solidity: function forwarder() view returns(address)

func (*RegistryCaller) GetFeeBps added in v0.1.2

func (_Registry *RegistryCaller) GetFeeBps(opts *bind.CallOpts, protocolControl common.Address) (*big.Int, error)

GetFeeBps is a free data retrieval call binding the contract method 0x73c6f378.

Solidity: function getFeeBps(address protocolControl) view returns(uint256)

func (*RegistryCaller) GetProtocolControl added in v0.1.2

func (_Registry *RegistryCaller) GetProtocolControl(opts *bind.CallOpts, _deployer common.Address, index *big.Int) (common.Address, error)

GetProtocolControl is a free data retrieval call binding the contract method 0xdc62163e.

Solidity: function getProtocolControl(address _deployer, uint256 index) view returns(address)

func (*RegistryCaller) GetProtocolControlCount added in v0.1.2

func (_Registry *RegistryCaller) GetProtocolControlCount(opts *bind.CallOpts, _deployer common.Address) (*big.Int, error)

GetProtocolControlCount is a free data retrieval call binding the contract method 0xcd7e89b1.

Solidity: function getProtocolControlCount(address _deployer) view returns(uint256)

func (*RegistryCaller) MAXPROVIDERFEEBPS added in v0.1.2

func (_Registry *RegistryCaller) MAXPROVIDERFEEBPS(opts *bind.CallOpts) (*big.Int, error)

MAXPROVIDERFEEBPS is a free data retrieval call binding the contract method 0x5cd42315.

Solidity: function MAX_PROVIDER_FEE_BPS() view returns(uint256)

func (*RegistryCaller) Owner added in v0.1.2

func (_Registry *RegistryCaller) 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 (*RegistryCaller) Treasury added in v0.1.2

func (_Registry *RegistryCaller) Treasury(opts *bind.CallOpts) (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

type RegistryCallerRaw added in v0.1.2

type RegistryCallerRaw struct {
	Contract *RegistryCaller // Generic read-only contract binding to access the raw methods on
}

RegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RegistryCallerRaw) Call added in v0.1.2

func (_Registry *RegistryCallerRaw) 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 RegistryCallerSession added in v0.1.2

type RegistryCallerSession struct {
	Contract *RegistryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

RegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RegistryCallerSession) DefaultFeeBps added in v0.1.2

func (_Registry *RegistryCallerSession) DefaultFeeBps() (*big.Int, error)

DefaultFeeBps is a free data retrieval call binding the contract method 0xbcae25a4.

Solidity: function defaultFeeBps() view returns(uint256)

func (*RegistryCallerSession) Deployer added in v0.1.2

func (_Registry *RegistryCallerSession) Deployer() (common.Address, error)

Deployer is a free data retrieval call binding the contract method 0xd5f39488.

Solidity: function deployer() view returns(address)

func (*RegistryCallerSession) Forwarder added in v0.1.2

func (_Registry *RegistryCallerSession) Forwarder() (common.Address, error)

Forwarder is a free data retrieval call binding the contract method 0xf645d4f9.

Solidity: function forwarder() view returns(address)

func (*RegistryCallerSession) GetFeeBps added in v0.1.2

func (_Registry *RegistryCallerSession) GetFeeBps(protocolControl common.Address) (*big.Int, error)

GetFeeBps is a free data retrieval call binding the contract method 0x73c6f378.

Solidity: function getFeeBps(address protocolControl) view returns(uint256)

func (*RegistryCallerSession) GetProtocolControl added in v0.1.2

func (_Registry *RegistryCallerSession) GetProtocolControl(_deployer common.Address, index *big.Int) (common.Address, error)

GetProtocolControl is a free data retrieval call binding the contract method 0xdc62163e.

Solidity: function getProtocolControl(address _deployer, uint256 index) view returns(address)

func (*RegistryCallerSession) GetProtocolControlCount added in v0.1.2

func (_Registry *RegistryCallerSession) GetProtocolControlCount(_deployer common.Address) (*big.Int, error)

GetProtocolControlCount is a free data retrieval call binding the contract method 0xcd7e89b1.

Solidity: function getProtocolControlCount(address _deployer) view returns(uint256)

func (*RegistryCallerSession) MAXPROVIDERFEEBPS added in v0.1.2

func (_Registry *RegistryCallerSession) MAXPROVIDERFEEBPS() (*big.Int, error)

MAXPROVIDERFEEBPS is a free data retrieval call binding the contract method 0x5cd42315.

Solidity: function MAX_PROVIDER_FEE_BPS() view returns(uint256)

func (*RegistryCallerSession) Owner added in v0.1.2

func (_Registry *RegistryCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RegistryCallerSession) Treasury added in v0.1.2

func (_Registry *RegistryCallerSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

type RegistryDefaultFeeBpsUpdated added in v0.1.2

type RegistryDefaultFeeBpsUpdated struct {
	DefaultFeeBps *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

RegistryDefaultFeeBpsUpdated represents a DefaultFeeBpsUpdated event raised by the Registry contract.

type RegistryDefaultFeeBpsUpdatedIterator added in v0.1.2

type RegistryDefaultFeeBpsUpdatedIterator struct {
	Event *RegistryDefaultFeeBpsUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegistryDefaultFeeBpsUpdatedIterator is returned from FilterDefaultFeeBpsUpdated and is used to iterate over the raw logs and unpacked data for DefaultFeeBpsUpdated events raised by the Registry contract.

func (*RegistryDefaultFeeBpsUpdatedIterator) Close added in v0.1.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegistryDefaultFeeBpsUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryDefaultFeeBpsUpdatedIterator) Next added in v0.1.2

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 RegistryDeployerUpdated added in v0.1.2

type RegistryDeployerUpdated struct {
	NewDeployer common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

RegistryDeployerUpdated represents a DeployerUpdated event raised by the Registry contract.

type RegistryDeployerUpdatedIterator added in v0.1.2

type RegistryDeployerUpdatedIterator struct {
	Event *RegistryDeployerUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegistryDeployerUpdatedIterator is returned from FilterDeployerUpdated and is used to iterate over the raw logs and unpacked data for DeployerUpdated events raised by the Registry contract.

func (*RegistryDeployerUpdatedIterator) Close added in v0.1.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegistryDeployerUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryDeployerUpdatedIterator) Next added in v0.1.2

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 RegistryFilterer added in v0.1.2

type RegistryFilterer struct {
	// contains filtered or unexported fields
}

RegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRegistryFilterer added in v0.1.2

func NewRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistryFilterer, error)

NewRegistryFilterer creates a new log filterer instance of Registry, bound to a specific deployed contract.

func (*RegistryFilterer) FilterDefaultFeeBpsUpdated added in v0.1.2

func (_Registry *RegistryFilterer) FilterDefaultFeeBpsUpdated(opts *bind.FilterOpts) (*RegistryDefaultFeeBpsUpdatedIterator, error)

FilterDefaultFeeBpsUpdated is a free log retrieval operation binding the contract event 0xaf07358220f107097f5c9bc5cacec9de23c6bd67d61633e5abaa3aa698d94fcf.

Solidity: event DefaultFeeBpsUpdated(uint256 defaultFeeBps)

func (*RegistryFilterer) FilterDeployerUpdated added in v0.1.2

func (_Registry *RegistryFilterer) FilterDeployerUpdated(opts *bind.FilterOpts) (*RegistryDeployerUpdatedIterator, error)

FilterDeployerUpdated is a free log retrieval operation binding the contract event 0x6db6dcdd05f1728263d8f644adcb07da9d18505aa9b2e33360b2715a878a711e.

Solidity: event DeployerUpdated(address newDeployer)

func (*RegistryFilterer) FilterNewProtocolControl added in v0.1.2

func (_Registry *RegistryFilterer) FilterNewProtocolControl(opts *bind.FilterOpts, deployer []common.Address, version []*big.Int, controlAddress []common.Address) (*RegistryNewProtocolControlIterator, error)

FilterNewProtocolControl is a free log retrieval operation binding the contract event 0x87f4df5222ed82bbc7706c066c5d45f3f5682016cb20d642c5491b7b411340b4.

Solidity: event NewProtocolControl(address indexed deployer, uint256 indexed version, address indexed controlAddress, address controlDeployer)

func (*RegistryFilterer) FilterOwnershipTransferred added in v0.1.2

func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RegistryOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RegistryFilterer) FilterProtocolControlFeeBpsUpdated added in v0.1.2

func (_Registry *RegistryFilterer) FilterProtocolControlFeeBpsUpdated(opts *bind.FilterOpts, control []common.Address) (*RegistryProtocolControlFeeBpsUpdatedIterator, error)

FilterProtocolControlFeeBpsUpdated is a free log retrieval operation binding the contract event 0x3f3f5381919d082b3f6431a55b5affd99c52c10d6b16a850a6c75377c17285a7.

Solidity: event ProtocolControlFeeBpsUpdated(address indexed control, uint256 feeBps)

func (*RegistryFilterer) FilterTreasuryUpdated added in v0.1.2

func (_Registry *RegistryFilterer) FilterTreasuryUpdated(opts *bind.FilterOpts) (*RegistryTreasuryUpdatedIterator, error)

FilterTreasuryUpdated is a free log retrieval operation binding the contract event 0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1.

Solidity: event TreasuryUpdated(address newTreasury)

func (*RegistryFilterer) ParseDefaultFeeBpsUpdated added in v0.1.2

func (_Registry *RegistryFilterer) ParseDefaultFeeBpsUpdated(log types.Log) (*RegistryDefaultFeeBpsUpdated, error)

ParseDefaultFeeBpsUpdated is a log parse operation binding the contract event 0xaf07358220f107097f5c9bc5cacec9de23c6bd67d61633e5abaa3aa698d94fcf.

Solidity: event DefaultFeeBpsUpdated(uint256 defaultFeeBps)

func (*RegistryFilterer) ParseDeployerUpdated added in v0.1.2

func (_Registry *RegistryFilterer) ParseDeployerUpdated(log types.Log) (*RegistryDeployerUpdated, error)

ParseDeployerUpdated is a log parse operation binding the contract event 0x6db6dcdd05f1728263d8f644adcb07da9d18505aa9b2e33360b2715a878a711e.

Solidity: event DeployerUpdated(address newDeployer)

func (*RegistryFilterer) ParseOwnershipTransferred added in v0.1.2

func (_Registry *RegistryFilterer) ParseOwnershipTransferred(log types.Log) (*RegistryOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RegistryFilterer) ParseProtocolControlFeeBpsUpdated added in v0.1.2

func (_Registry *RegistryFilterer) ParseProtocolControlFeeBpsUpdated(log types.Log) (*RegistryProtocolControlFeeBpsUpdated, error)

ParseProtocolControlFeeBpsUpdated is a log parse operation binding the contract event 0x3f3f5381919d082b3f6431a55b5affd99c52c10d6b16a850a6c75377c17285a7.

Solidity: event ProtocolControlFeeBpsUpdated(address indexed control, uint256 feeBps)

func (*RegistryFilterer) ParseTreasuryUpdated added in v0.1.2

func (_Registry *RegistryFilterer) ParseTreasuryUpdated(log types.Log) (*RegistryTreasuryUpdated, error)

ParseTreasuryUpdated is a log parse operation binding the contract event 0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1.

Solidity: event TreasuryUpdated(address newTreasury)

func (*RegistryFilterer) WatchDefaultFeeBpsUpdated added in v0.1.2

func (_Registry *RegistryFilterer) WatchDefaultFeeBpsUpdated(opts *bind.WatchOpts, sink chan<- *RegistryDefaultFeeBpsUpdated) (event.Subscription, error)

WatchDefaultFeeBpsUpdated is a free log subscription operation binding the contract event 0xaf07358220f107097f5c9bc5cacec9de23c6bd67d61633e5abaa3aa698d94fcf.

Solidity: event DefaultFeeBpsUpdated(uint256 defaultFeeBps)

func (*RegistryFilterer) WatchDeployerUpdated added in v0.1.2

func (_Registry *RegistryFilterer) WatchDeployerUpdated(opts *bind.WatchOpts, sink chan<- *RegistryDeployerUpdated) (event.Subscription, error)

WatchDeployerUpdated is a free log subscription operation binding the contract event 0x6db6dcdd05f1728263d8f644adcb07da9d18505aa9b2e33360b2715a878a711e.

Solidity: event DeployerUpdated(address newDeployer)

func (*RegistryFilterer) WatchNewProtocolControl added in v0.1.2

func (_Registry *RegistryFilterer) WatchNewProtocolControl(opts *bind.WatchOpts, sink chan<- *RegistryNewProtocolControl, deployer []common.Address, version []*big.Int, controlAddress []common.Address) (event.Subscription, error)

WatchNewProtocolControl is a free log subscription operation binding the contract event 0x87f4df5222ed82bbc7706c066c5d45f3f5682016cb20d642c5491b7b411340b4.

Solidity: event NewProtocolControl(address indexed deployer, uint256 indexed version, address indexed controlAddress, address controlDeployer)

func (*RegistryFilterer) WatchOwnershipTransferred added in v0.1.2

func (_Registry *RegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryOwnershipTransferred, 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 (*RegistryFilterer) WatchProtocolControlFeeBpsUpdated added in v0.1.2

func (_Registry *RegistryFilterer) WatchProtocolControlFeeBpsUpdated(opts *bind.WatchOpts, sink chan<- *RegistryProtocolControlFeeBpsUpdated, control []common.Address) (event.Subscription, error)

WatchProtocolControlFeeBpsUpdated is a free log subscription operation binding the contract event 0x3f3f5381919d082b3f6431a55b5affd99c52c10d6b16a850a6c75377c17285a7.

Solidity: event ProtocolControlFeeBpsUpdated(address indexed control, uint256 feeBps)

func (*RegistryFilterer) WatchTreasuryUpdated added in v0.1.2

func (_Registry *RegistryFilterer) WatchTreasuryUpdated(opts *bind.WatchOpts, sink chan<- *RegistryTreasuryUpdated) (event.Subscription, error)

WatchTreasuryUpdated is a free log subscription operation binding the contract event 0x7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1.

Solidity: event TreasuryUpdated(address newTreasury)

type RegistryNewProtocolControl added in v0.1.2

type RegistryNewProtocolControl struct {
	Deployer        common.Address
	Version         *big.Int
	ControlAddress  common.Address
	ControlDeployer common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

RegistryNewProtocolControl represents a NewProtocolControl event raised by the Registry contract.

type RegistryNewProtocolControlIterator added in v0.1.2

type RegistryNewProtocolControlIterator struct {
	Event *RegistryNewProtocolControl // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegistryNewProtocolControlIterator is returned from FilterNewProtocolControl and is used to iterate over the raw logs and unpacked data for NewProtocolControl events raised by the Registry contract.

func (*RegistryNewProtocolControlIterator) Close added in v0.1.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegistryNewProtocolControlIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryNewProtocolControlIterator) Next added in v0.1.2

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 RegistryOwnershipTransferred added in v0.1.2

type RegistryOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RegistryOwnershipTransferred represents a OwnershipTransferred event raised by the Registry contract.

type RegistryOwnershipTransferredIterator added in v0.1.2

type RegistryOwnershipTransferredIterator struct {
	Event *RegistryOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Registry contract.

func (*RegistryOwnershipTransferredIterator) Close added in v0.1.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegistryOwnershipTransferredIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryOwnershipTransferredIterator) Next added in v0.1.2

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 RegistryProtocolControlFeeBpsUpdated added in v0.1.2

type RegistryProtocolControlFeeBpsUpdated struct {
	Control common.Address
	FeeBps  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

RegistryProtocolControlFeeBpsUpdated represents a ProtocolControlFeeBpsUpdated event raised by the Registry contract.

type RegistryProtocolControlFeeBpsUpdatedIterator added in v0.1.2

type RegistryProtocolControlFeeBpsUpdatedIterator struct {
	Event *RegistryProtocolControlFeeBpsUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegistryProtocolControlFeeBpsUpdatedIterator is returned from FilterProtocolControlFeeBpsUpdated and is used to iterate over the raw logs and unpacked data for ProtocolControlFeeBpsUpdated events raised by the Registry contract.

func (*RegistryProtocolControlFeeBpsUpdatedIterator) Close added in v0.1.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegistryProtocolControlFeeBpsUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryProtocolControlFeeBpsUpdatedIterator) Next added in v0.1.2

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 RegistryRaw added in v0.1.2

type RegistryRaw struct {
	Contract *Registry // Generic contract binding to access the raw methods on
}

RegistryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RegistryRaw) Call added in v0.1.2

func (_Registry *RegistryRaw) 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 (*RegistryRaw) Transact added in v0.1.2

func (_Registry *RegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RegistryRaw) Transfer added in v0.1.2

func (_Registry *RegistryRaw) 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 RegistrySession added in v0.1.2

type RegistrySession struct {
	Contract     *Registry         // 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
}

RegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RegistrySession) DefaultFeeBps added in v0.1.2

func (_Registry *RegistrySession) DefaultFeeBps() (*big.Int, error)

DefaultFeeBps is a free data retrieval call binding the contract method 0xbcae25a4.

Solidity: function defaultFeeBps() view returns(uint256)

func (*RegistrySession) DeployProtocol added in v0.1.2

func (_Registry *RegistrySession) DeployProtocol(uri string) (*types.Transaction, error)

DeployProtocol is a paid mutator transaction binding the contract method 0xd566464b.

Solidity: function deployProtocol(string uri) returns()

func (*RegistrySession) Deployer added in v0.1.2

func (_Registry *RegistrySession) Deployer() (common.Address, error)

Deployer is a free data retrieval call binding the contract method 0xd5f39488.

Solidity: function deployer() view returns(address)

func (*RegistrySession) Forwarder added in v0.1.2

func (_Registry *RegistrySession) Forwarder() (common.Address, error)

Forwarder is a free data retrieval call binding the contract method 0xf645d4f9.

Solidity: function forwarder() view returns(address)

func (*RegistrySession) GetFeeBps added in v0.1.2

func (_Registry *RegistrySession) GetFeeBps(protocolControl common.Address) (*big.Int, error)

GetFeeBps is a free data retrieval call binding the contract method 0x73c6f378.

Solidity: function getFeeBps(address protocolControl) view returns(uint256)

func (*RegistrySession) GetProtocolControl added in v0.1.2

func (_Registry *RegistrySession) GetProtocolControl(_deployer common.Address, index *big.Int) (common.Address, error)

GetProtocolControl is a free data retrieval call binding the contract method 0xdc62163e.

Solidity: function getProtocolControl(address _deployer, uint256 index) view returns(address)

func (*RegistrySession) GetProtocolControlCount added in v0.1.2

func (_Registry *RegistrySession) GetProtocolControlCount(_deployer common.Address) (*big.Int, error)

GetProtocolControlCount is a free data retrieval call binding the contract method 0xcd7e89b1.

Solidity: function getProtocolControlCount(address _deployer) view returns(uint256)

func (*RegistrySession) MAXPROVIDERFEEBPS added in v0.1.2

func (_Registry *RegistrySession) MAXPROVIDERFEEBPS() (*big.Int, error)

MAXPROVIDERFEEBPS is a free data retrieval call binding the contract method 0x5cd42315.

Solidity: function MAX_PROVIDER_FEE_BPS() view returns(uint256)

func (*RegistrySession) Owner added in v0.1.2

func (_Registry *RegistrySession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RegistrySession) RenounceOwnership added in v0.1.2

func (_Registry *RegistrySession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*RegistrySession) SetDefaultFeeBps added in v0.1.2

func (_Registry *RegistrySession) SetDefaultFeeBps(_newFeeBps *big.Int) (*types.Transaction, error)

SetDefaultFeeBps is a paid mutator transaction binding the contract method 0x4373a286.

Solidity: function setDefaultFeeBps(uint256 _newFeeBps) returns()

func (*RegistrySession) SetDeployer added in v0.1.2

func (_Registry *RegistrySession) SetDeployer(_newDeployer common.Address) (*types.Transaction, error)

SetDeployer is a paid mutator transaction binding the contract method 0x96214735.

Solidity: function setDeployer(address _newDeployer) returns()

func (*RegistrySession) SetProtocolControlFeeBps added in v0.1.2

func (_Registry *RegistrySession) SetProtocolControlFeeBps(protocolControl common.Address, _newFeeBps *big.Int) (*types.Transaction, error)

SetProtocolControlFeeBps is a paid mutator transaction binding the contract method 0x7c160011.

Solidity: function setProtocolControlFeeBps(address protocolControl, uint256 _newFeeBps) returns()

func (*RegistrySession) SetTreasury added in v0.1.2

func (_Registry *RegistrySession) SetTreasury(_newTreasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _newTreasury) returns()

func (*RegistrySession) TransferOwnership added in v0.1.2

func (_Registry *RegistrySession) 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 (*RegistrySession) Treasury added in v0.1.2

func (_Registry *RegistrySession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

type RegistryTransactor added in v0.1.2

type RegistryTransactor struct {
	// contains filtered or unexported fields
}

RegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRegistryTransactor added in v0.1.2

func NewRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistryTransactor, error)

NewRegistryTransactor creates a new write-only instance of Registry, bound to a specific deployed contract.

func (*RegistryTransactor) DeployProtocol added in v0.1.2

func (_Registry *RegistryTransactor) DeployProtocol(opts *bind.TransactOpts, uri string) (*types.Transaction, error)

DeployProtocol is a paid mutator transaction binding the contract method 0xd566464b.

Solidity: function deployProtocol(string uri) returns()

func (*RegistryTransactor) RenounceOwnership added in v0.1.2

func (_Registry *RegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*RegistryTransactor) SetDefaultFeeBps added in v0.1.2

func (_Registry *RegistryTransactor) SetDefaultFeeBps(opts *bind.TransactOpts, _newFeeBps *big.Int) (*types.Transaction, error)

SetDefaultFeeBps is a paid mutator transaction binding the contract method 0x4373a286.

Solidity: function setDefaultFeeBps(uint256 _newFeeBps) returns()

func (*RegistryTransactor) SetDeployer added in v0.1.2

func (_Registry *RegistryTransactor) SetDeployer(opts *bind.TransactOpts, _newDeployer common.Address) (*types.Transaction, error)

SetDeployer is a paid mutator transaction binding the contract method 0x96214735.

Solidity: function setDeployer(address _newDeployer) returns()

func (*RegistryTransactor) SetProtocolControlFeeBps added in v0.1.2

func (_Registry *RegistryTransactor) SetProtocolControlFeeBps(opts *bind.TransactOpts, protocolControl common.Address, _newFeeBps *big.Int) (*types.Transaction, error)

SetProtocolControlFeeBps is a paid mutator transaction binding the contract method 0x7c160011.

Solidity: function setProtocolControlFeeBps(address protocolControl, uint256 _newFeeBps) returns()

func (*RegistryTransactor) SetTreasury added in v0.1.2

func (_Registry *RegistryTransactor) SetTreasury(opts *bind.TransactOpts, _newTreasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _newTreasury) returns()

func (*RegistryTransactor) TransferOwnership added in v0.1.2

func (_Registry *RegistryTransactor) 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()

type RegistryTransactorRaw added in v0.1.2

type RegistryTransactorRaw struct {
	Contract *RegistryTransactor // Generic write-only contract binding to access the raw methods on
}

RegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RegistryTransactorRaw) Transact added in v0.1.2

func (_Registry *RegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RegistryTransactorRaw) Transfer added in v0.1.2

func (_Registry *RegistryTransactorRaw) 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 RegistryTransactorSession added in v0.1.2

type RegistryTransactorSession struct {
	Contract     *RegistryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

RegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RegistryTransactorSession) DeployProtocol added in v0.1.2

func (_Registry *RegistryTransactorSession) DeployProtocol(uri string) (*types.Transaction, error)

DeployProtocol is a paid mutator transaction binding the contract method 0xd566464b.

Solidity: function deployProtocol(string uri) returns()

func (*RegistryTransactorSession) RenounceOwnership added in v0.1.2

func (_Registry *RegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*RegistryTransactorSession) SetDefaultFeeBps added in v0.1.2

func (_Registry *RegistryTransactorSession) SetDefaultFeeBps(_newFeeBps *big.Int) (*types.Transaction, error)

SetDefaultFeeBps is a paid mutator transaction binding the contract method 0x4373a286.

Solidity: function setDefaultFeeBps(uint256 _newFeeBps) returns()

func (*RegistryTransactorSession) SetDeployer added in v0.1.2

func (_Registry *RegistryTransactorSession) SetDeployer(_newDeployer common.Address) (*types.Transaction, error)

SetDeployer is a paid mutator transaction binding the contract method 0x96214735.

Solidity: function setDeployer(address _newDeployer) returns()

func (*RegistryTransactorSession) SetProtocolControlFeeBps added in v0.1.2

func (_Registry *RegistryTransactorSession) SetProtocolControlFeeBps(protocolControl common.Address, _newFeeBps *big.Int) (*types.Transaction, error)

SetProtocolControlFeeBps is a paid mutator transaction binding the contract method 0x7c160011.

Solidity: function setProtocolControlFeeBps(address protocolControl, uint256 _newFeeBps) returns()

func (*RegistryTransactorSession) SetTreasury added in v0.1.2

func (_Registry *RegistryTransactorSession) SetTreasury(_newTreasury common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _newTreasury) returns()

func (*RegistryTransactorSession) TransferOwnership added in v0.1.2

func (_Registry *RegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type RegistryTreasuryUpdated added in v0.1.2

type RegistryTreasuryUpdated struct {
	NewTreasury common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

RegistryTreasuryUpdated represents a TreasuryUpdated event raised by the Registry contract.

type RegistryTreasuryUpdatedIterator added in v0.1.2

type RegistryTreasuryUpdatedIterator struct {
	Event *RegistryTreasuryUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegistryTreasuryUpdatedIterator is returned from FilterTreasuryUpdated and is used to iterate over the raw logs and unpacked data for TreasuryUpdated events raised by the Registry contract.

func (*RegistryTreasuryUpdatedIterator) Close added in v0.1.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegistryTreasuryUpdatedIterator) Error added in v0.1.2

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryTreasuryUpdatedIterator) Next added in v0.1.2

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