Documentation ¶
Index ¶
- Variables
- type NFTConfig
- type NFTConfigCaller
- type NFTConfigCallerRaw
- type NFTConfigCallerSession
- type NFTConfigConfigUpdated
- type NFTConfigConfigUpdatedIterator
- type NFTConfigFilterer
- func (_NFTConfig *NFTConfigFilterer) FilterConfigUpdated(opts *bind.FilterOpts, key [][32]byte) (*NFTConfigConfigUpdatedIterator, error)
- func (_NFTConfig *NFTConfigFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*NFTConfigOwnershipTransferredIterator, error)
- func (_NFTConfig *NFTConfigFilterer) ParseConfigUpdated(log types.Log) (*NFTConfigConfigUpdated, error)
- func (_NFTConfig *NFTConfigFilterer) ParseOwnershipTransferred(log types.Log) (*NFTConfigOwnershipTransferred, error)
- func (_NFTConfig *NFTConfigFilterer) WatchConfigUpdated(opts *bind.WatchOpts, sink chan<- *NFTConfigConfigUpdated, key [][32]byte) (event.Subscription, error)
- func (_NFTConfig *NFTConfigFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NFTConfigOwnershipTransferred, ...) (event.Subscription, error)
- type NFTConfigOwnershipTransferred
- type NFTConfigOwnershipTransferredIterator
- type NFTConfigRaw
- func (_NFTConfig *NFTConfigRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NFTConfig *NFTConfigRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NFTConfigSession
- func (_NFTConfig *NFTConfigSession) GetAddress(key [32]byte) (common.Address, error)
- func (_NFTConfig *NFTConfigSession) GetUint256(key [32]byte) (*big.Int, error)
- func (_NFTConfig *NFTConfigSession) Owner() (common.Address, error)
- func (_NFTConfig *NFTConfigSession) RenounceOwnership() (*types.Transaction, error)
- func (_NFTConfig *NFTConfigSession) SetAddress(key [32]byte, value common.Address) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigSession) SetUint256(key [32]byte, value *big.Int) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type NFTConfigTransactor
- func (_NFTConfig *NFTConfigTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigTransactor) SetAddress(opts *bind.TransactOpts, key [32]byte, value common.Address) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigTransactor) SetUint256(opts *bind.TransactOpts, key [32]byte, value *big.Int) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type NFTConfigTransactorRaw
- type NFTConfigTransactorSession
- func (_NFTConfig *NFTConfigTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_NFTConfig *NFTConfigTransactorSession) SetAddress(key [32]byte, value common.Address) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigTransactorSession) SetUint256(key [32]byte, value *big.Int) (*types.Transaction, error)
- func (_NFTConfig *NFTConfigTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var NFTConfigABI = NFTConfigMetaData.ABI
NFTConfigABI is the input ABI used to generate the binding from. Deprecated: Use NFTConfigMetaData.ABI instead.
var NFTConfigMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previous\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"updated\",\"type\":\"uint256\"}],\"name\":\"ConfigUpdated\",\"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\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setUint256\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"value\",\"type\":\"address\"}],\"name\":\"setAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"getUint256\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"getAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"constant\":true}]",
}
NFTConfigMetaData contains all meta data concerning the NFTConfig contract.
Functions ¶
This section is empty.
Types ¶
type NFTConfig ¶
type NFTConfig struct { NFTConfigCaller // Read-only binding to the contract NFTConfigTransactor // Write-only binding to the contract NFTConfigFilterer // Log filterer for contract events }
NFTConfig is an auto generated Go binding around an Ethereum contract.
func NewNFTConfig ¶
NewNFTConfig creates a new instance of NFTConfig, bound to a specific deployed contract.
type NFTConfigCaller ¶
type NFTConfigCaller struct {
// contains filtered or unexported fields
}
NFTConfigCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNFTConfigCaller ¶
func NewNFTConfigCaller(address common.Address, caller bind.ContractCaller) (*NFTConfigCaller, error)
NewNFTConfigCaller creates a new read-only instance of NFTConfig, bound to a specific deployed contract.
func (*NFTConfigCaller) GetAddress ¶
func (_NFTConfig *NFTConfigCaller) GetAddress(opts *bind.CallOpts, key [32]byte) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x21f8a721.
Solidity: function getAddress(bytes32 key) view returns(address)
func (*NFTConfigCaller) GetUint256 ¶
GetUint256 is a free data retrieval call binding the contract method 0x33598b00.
Solidity: function getUint256(bytes32 key) view returns(uint256)
type NFTConfigCallerRaw ¶
type NFTConfigCallerRaw struct {
Contract *NFTConfigCaller // Generic read-only contract binding to access the raw methods on
}
NFTConfigCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NFTConfigCallerRaw) Call ¶
func (_NFTConfig *NFTConfigCallerRaw) 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 NFTConfigCallerSession ¶
type NFTConfigCallerSession struct { Contract *NFTConfigCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NFTConfigCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NFTConfigCallerSession) GetAddress ¶
func (_NFTConfig *NFTConfigCallerSession) GetAddress(key [32]byte) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x21f8a721.
Solidity: function getAddress(bytes32 key) view returns(address)
func (*NFTConfigCallerSession) GetUint256 ¶
func (_NFTConfig *NFTConfigCallerSession) GetUint256(key [32]byte) (*big.Int, error)
GetUint256 is a free data retrieval call binding the contract method 0x33598b00.
Solidity: function getUint256(bytes32 key) view returns(uint256)
type NFTConfigConfigUpdated ¶
type NFTConfigConfigUpdated struct { Key [32]byte Previous *big.Int Updated *big.Int Raw types.Log // Blockchain specific contextual infos }
NFTConfigConfigUpdated represents a ConfigUpdated event raised by the NFTConfig contract.
type NFTConfigConfigUpdatedIterator ¶
type NFTConfigConfigUpdatedIterator struct { Event *NFTConfigConfigUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NFTConfigConfigUpdatedIterator is returned from FilterConfigUpdated and is used to iterate over the raw logs and unpacked data for ConfigUpdated events raised by the NFTConfig contract.
func (*NFTConfigConfigUpdatedIterator) Close ¶
func (it *NFTConfigConfigUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NFTConfigConfigUpdatedIterator) Error ¶
func (it *NFTConfigConfigUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NFTConfigConfigUpdatedIterator) Next ¶
func (it *NFTConfigConfigUpdatedIterator) 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 NFTConfigFilterer ¶
type NFTConfigFilterer struct {
// contains filtered or unexported fields
}
NFTConfigFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNFTConfigFilterer ¶
func NewNFTConfigFilterer(address common.Address, filterer bind.ContractFilterer) (*NFTConfigFilterer, error)
NewNFTConfigFilterer creates a new log filterer instance of NFTConfig, bound to a specific deployed contract.
func (*NFTConfigFilterer) FilterConfigUpdated ¶
func (_NFTConfig *NFTConfigFilterer) FilterConfigUpdated(opts *bind.FilterOpts, key [][32]byte) (*NFTConfigConfigUpdatedIterator, error)
FilterConfigUpdated is a free log retrieval operation binding the contract event 0xac2ccce3de9c0816ae772598f7f65fe69f9893b637f7c490497378cbb3ea043e.
Solidity: event ConfigUpdated(bytes32 indexed key, uint256 previous, uint256 updated)
func (*NFTConfigFilterer) FilterOwnershipTransferred ¶
func (_NFTConfig *NFTConfigFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*NFTConfigOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*NFTConfigFilterer) ParseConfigUpdated ¶
func (_NFTConfig *NFTConfigFilterer) ParseConfigUpdated(log types.Log) (*NFTConfigConfigUpdated, error)
ParseConfigUpdated is a log parse operation binding the contract event 0xac2ccce3de9c0816ae772598f7f65fe69f9893b637f7c490497378cbb3ea043e.
Solidity: event ConfigUpdated(bytes32 indexed key, uint256 previous, uint256 updated)
func (*NFTConfigFilterer) ParseOwnershipTransferred ¶
func (_NFTConfig *NFTConfigFilterer) ParseOwnershipTransferred(log types.Log) (*NFTConfigOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*NFTConfigFilterer) WatchConfigUpdated ¶
func (_NFTConfig *NFTConfigFilterer) WatchConfigUpdated(opts *bind.WatchOpts, sink chan<- *NFTConfigConfigUpdated, key [][32]byte) (event.Subscription, error)
WatchConfigUpdated is a free log subscription operation binding the contract event 0xac2ccce3de9c0816ae772598f7f65fe69f9893b637f7c490497378cbb3ea043e.
Solidity: event ConfigUpdated(bytes32 indexed key, uint256 previous, uint256 updated)
func (*NFTConfigFilterer) WatchOwnershipTransferred ¶
func (_NFTConfig *NFTConfigFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *NFTConfigOwnershipTransferred, 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)
type NFTConfigOwnershipTransferred ¶
type NFTConfigOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
NFTConfigOwnershipTransferred represents a OwnershipTransferred event raised by the NFTConfig contract.
type NFTConfigOwnershipTransferredIterator ¶
type NFTConfigOwnershipTransferredIterator struct { Event *NFTConfigOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NFTConfigOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the NFTConfig contract.
func (*NFTConfigOwnershipTransferredIterator) Close ¶
func (it *NFTConfigOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NFTConfigOwnershipTransferredIterator) Error ¶
func (it *NFTConfigOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NFTConfigOwnershipTransferredIterator) Next ¶
func (it *NFTConfigOwnershipTransferredIterator) 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 NFTConfigRaw ¶
type NFTConfigRaw struct {
Contract *NFTConfig // Generic contract binding to access the raw methods on
}
NFTConfigRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NFTConfigRaw) Call ¶
func (_NFTConfig *NFTConfigRaw) 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 (*NFTConfigRaw) Transact ¶
func (_NFTConfig *NFTConfigRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NFTConfigRaw) Transfer ¶
func (_NFTConfig *NFTConfigRaw) 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 NFTConfigSession ¶
type NFTConfigSession struct { Contract *NFTConfig // 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 }
NFTConfigSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NFTConfigSession) GetAddress ¶
func (_NFTConfig *NFTConfigSession) GetAddress(key [32]byte) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x21f8a721.
Solidity: function getAddress(bytes32 key) view returns(address)
func (*NFTConfigSession) GetUint256 ¶
func (_NFTConfig *NFTConfigSession) GetUint256(key [32]byte) (*big.Int, error)
GetUint256 is a free data retrieval call binding the contract method 0x33598b00.
Solidity: function getUint256(bytes32 key) view returns(uint256)
func (*NFTConfigSession) Owner ¶
func (_NFTConfig *NFTConfigSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*NFTConfigSession) RenounceOwnership ¶
func (_NFTConfig *NFTConfigSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NFTConfigSession) SetAddress ¶
func (_NFTConfig *NFTConfigSession) SetAddress(key [32]byte, value common.Address) (*types.Transaction, error)
SetAddress is a paid mutator transaction binding the contract method 0xca446dd9.
Solidity: function setAddress(bytes32 key, address value) returns()
func (*NFTConfigSession) SetUint256 ¶
func (_NFTConfig *NFTConfigSession) SetUint256(key [32]byte, value *big.Int) (*types.Transaction, error)
SetUint256 is a paid mutator transaction binding the contract method 0x4f3029c2.
Solidity: function setUint256(bytes32 key, uint256 value) returns()
func (*NFTConfigSession) TransferOwnership ¶
func (_NFTConfig *NFTConfigSession) 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 NFTConfigTransactor ¶
type NFTConfigTransactor struct {
// contains filtered or unexported fields
}
NFTConfigTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNFTConfigTransactor ¶
func NewNFTConfigTransactor(address common.Address, transactor bind.ContractTransactor) (*NFTConfigTransactor, error)
NewNFTConfigTransactor creates a new write-only instance of NFTConfig, bound to a specific deployed contract.
func (*NFTConfigTransactor) RenounceOwnership ¶
func (_NFTConfig *NFTConfigTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NFTConfigTransactor) SetAddress ¶
func (_NFTConfig *NFTConfigTransactor) SetAddress(opts *bind.TransactOpts, key [32]byte, value common.Address) (*types.Transaction, error)
SetAddress is a paid mutator transaction binding the contract method 0xca446dd9.
Solidity: function setAddress(bytes32 key, address value) returns()
func (*NFTConfigTransactor) SetUint256 ¶
func (_NFTConfig *NFTConfigTransactor) SetUint256(opts *bind.TransactOpts, key [32]byte, value *big.Int) (*types.Transaction, error)
SetUint256 is a paid mutator transaction binding the contract method 0x4f3029c2.
Solidity: function setUint256(bytes32 key, uint256 value) returns()
func (*NFTConfigTransactor) TransferOwnership ¶
func (_NFTConfig *NFTConfigTransactor) 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 NFTConfigTransactorRaw ¶
type NFTConfigTransactorRaw struct {
Contract *NFTConfigTransactor // Generic write-only contract binding to access the raw methods on
}
NFTConfigTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NFTConfigTransactorRaw) Transact ¶
func (_NFTConfig *NFTConfigTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NFTConfigTransactorRaw) Transfer ¶
func (_NFTConfig *NFTConfigTransactorRaw) 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 NFTConfigTransactorSession ¶
type NFTConfigTransactorSession struct { Contract *NFTConfigTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NFTConfigTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NFTConfigTransactorSession) RenounceOwnership ¶
func (_NFTConfig *NFTConfigTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*NFTConfigTransactorSession) SetAddress ¶
func (_NFTConfig *NFTConfigTransactorSession) SetAddress(key [32]byte, value common.Address) (*types.Transaction, error)
SetAddress is a paid mutator transaction binding the contract method 0xca446dd9.
Solidity: function setAddress(bytes32 key, address value) returns()
func (*NFTConfigTransactorSession) SetUint256 ¶
func (_NFTConfig *NFTConfigTransactorSession) SetUint256(key [32]byte, value *big.Int) (*types.Transaction, error)
SetUint256 is a paid mutator transaction binding the contract method 0x4f3029c2.
Solidity: function setUint256(bytes32 key, uint256 value) returns()
func (*NFTConfigTransactorSession) TransferOwnership ¶
func (_NFTConfig *NFTConfigTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()