hwregistry

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HwregistryABI = HwregistryMetaData.ABI

HwregistryABI is the input ABI used to generate the binding from. Deprecated: Use HwregistryMetaData.ABI instead.

View Source
var HwregistryMetaData = &bind.MetaData{
	ABI: "[{\"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\":\"_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_maxAllowed\",\"type\":\"uint256\"}],\"name\":\"WhitelistedAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"WhitelistedRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_maxAllowed\",\"type\":\"uint256\"}],\"name\":\"WhitelistedUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_maxAllowed\",\"type\":\"uint256\"}],\"name\":\"addWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allWhitelisted\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxAllowed\",\"type\":\"uint256\"}],\"internalType\":\"structHWRegistry.Whitelist[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"counter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"getNFTGrossRevenue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hwEscrow\",\"outputs\":[{\"internalType\":\"contractIHWEscrow\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"isAllowedAmount\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"isWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nftGrossRevenue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removeWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setHWEscrow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"setNFTGrossRevenue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_maxAllowed\",\"type\":\"uint256\"}],\"name\":\"updateWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"whitelisted\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxAllowed\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

HwregistryMetaData contains all meta data concerning the Hwregistry contract.

Functions

This section is empty.

Types

type HWRegistryWhitelist

type HWRegistryWhitelist struct {
	Token      common.Address
	MaxAllowed *big.Int
}

HWRegistryWhitelist is an auto generated low-level Go binding around an user-defined struct.

type Hwregistry

type Hwregistry struct {
	HwregistryCaller     // Read-only binding to the contract
	HwregistryTransactor // Write-only binding to the contract
	HwregistryFilterer   // Log filterer for contract events
}

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

func NewHwregistry

func NewHwregistry(address common.Address, backend bind.ContractBackend) (*Hwregistry, error)

NewHwregistry creates a new instance of Hwregistry, bound to a specific deployed contract.

type HwregistryCaller

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

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

func NewHwregistryCaller

func NewHwregistryCaller(address common.Address, caller bind.ContractCaller) (*HwregistryCaller, error)

NewHwregistryCaller creates a new read-only instance of Hwregistry, bound to a specific deployed contract.

func (*HwregistryCaller) AllWhitelisted

func (_Hwregistry *HwregistryCaller) AllWhitelisted(opts *bind.CallOpts) ([]HWRegistryWhitelist, error)

AllWhitelisted is a free data retrieval call binding the contract method 0x765b9d6b.

Solidity: function allWhitelisted() view returns((address,uint256)[])

func (*HwregistryCaller) Counter

func (_Hwregistry *HwregistryCaller) Counter(opts *bind.CallOpts) (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0x61bc221a.

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

func (*HwregistryCaller) GetNFTGrossRevenue

func (_Hwregistry *HwregistryCaller) GetNFTGrossRevenue(opts *bind.CallOpts, _id *big.Int) (*big.Int, error)

GetNFTGrossRevenue is a free data retrieval call binding the contract method 0x13faf9df.

Solidity: function getNFTGrossRevenue(uint256 _id) view returns(uint256)

func (*HwregistryCaller) HwEscrow

func (_Hwregistry *HwregistryCaller) HwEscrow(opts *bind.CallOpts) (common.Address, error)

HwEscrow is a free data retrieval call binding the contract method 0x24989f6f.

Solidity: function hwEscrow() view returns(address)

func (*HwregistryCaller) IsAllowedAmount

func (_Hwregistry *HwregistryCaller) IsAllowedAmount(opts *bind.CallOpts, _address common.Address, _amount *big.Int) (bool, error)

IsAllowedAmount is a free data retrieval call binding the contract method 0x83ed69c1.

Solidity: function isAllowedAmount(address _address, uint256 _amount) view returns(bool)

func (*HwregistryCaller) IsWhitelisted

func (_Hwregistry *HwregistryCaller) IsWhitelisted(opts *bind.CallOpts, _address common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address _address) view returns(bool)

func (*HwregistryCaller) NftGrossRevenue

func (_Hwregistry *HwregistryCaller) NftGrossRevenue(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

NftGrossRevenue is a free data retrieval call binding the contract method 0x43120455.

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

func (*HwregistryCaller) Owner

func (_Hwregistry *HwregistryCaller) 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 (*HwregistryCaller) Whitelisted

func (_Hwregistry *HwregistryCaller) Whitelisted(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Token      common.Address
	MaxAllowed *big.Int
}, error)

Whitelisted is a free data retrieval call binding the contract method 0x3d4efe09.

Solidity: function whitelisted(uint256 ) view returns(address token, uint256 maxAllowed)

type HwregistryCallerRaw

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

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

func (*HwregistryCallerRaw) Call

func (_Hwregistry *HwregistryCallerRaw) 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 HwregistryCallerSession

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

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

func (*HwregistryCallerSession) AllWhitelisted

func (_Hwregistry *HwregistryCallerSession) AllWhitelisted() ([]HWRegistryWhitelist, error)

AllWhitelisted is a free data retrieval call binding the contract method 0x765b9d6b.

Solidity: function allWhitelisted() view returns((address,uint256)[])

func (*HwregistryCallerSession) Counter

func (_Hwregistry *HwregistryCallerSession) Counter() (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0x61bc221a.

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

func (*HwregistryCallerSession) GetNFTGrossRevenue

func (_Hwregistry *HwregistryCallerSession) GetNFTGrossRevenue(_id *big.Int) (*big.Int, error)

GetNFTGrossRevenue is a free data retrieval call binding the contract method 0x13faf9df.

Solidity: function getNFTGrossRevenue(uint256 _id) view returns(uint256)

func (*HwregistryCallerSession) HwEscrow

func (_Hwregistry *HwregistryCallerSession) HwEscrow() (common.Address, error)

HwEscrow is a free data retrieval call binding the contract method 0x24989f6f.

Solidity: function hwEscrow() view returns(address)

func (*HwregistryCallerSession) IsAllowedAmount

func (_Hwregistry *HwregistryCallerSession) IsAllowedAmount(_address common.Address, _amount *big.Int) (bool, error)

IsAllowedAmount is a free data retrieval call binding the contract method 0x83ed69c1.

Solidity: function isAllowedAmount(address _address, uint256 _amount) view returns(bool)

func (*HwregistryCallerSession) IsWhitelisted

func (_Hwregistry *HwregistryCallerSession) IsWhitelisted(_address common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address _address) view returns(bool)

func (*HwregistryCallerSession) NftGrossRevenue

func (_Hwregistry *HwregistryCallerSession) NftGrossRevenue(arg0 *big.Int) (*big.Int, error)

NftGrossRevenue is a free data retrieval call binding the contract method 0x43120455.

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

func (*HwregistryCallerSession) Owner

func (_Hwregistry *HwregistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HwregistryCallerSession) Whitelisted

func (_Hwregistry *HwregistryCallerSession) Whitelisted(arg0 *big.Int) (struct {
	Token      common.Address
	MaxAllowed *big.Int
}, error)

Whitelisted is a free data retrieval call binding the contract method 0x3d4efe09.

Solidity: function whitelisted(uint256 ) view returns(address token, uint256 maxAllowed)

type HwregistryFilterer

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

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

func NewHwregistryFilterer

func NewHwregistryFilterer(address common.Address, filterer bind.ContractFilterer) (*HwregistryFilterer, error)

NewHwregistryFilterer creates a new log filterer instance of Hwregistry, bound to a specific deployed contract.

func (*HwregistryFilterer) FilterOwnershipTransferred

func (_Hwregistry *HwregistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HwregistryOwnershipTransferredIterator, error)

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

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

func (*HwregistryFilterer) FilterWhitelistedAdded

func (_Hwregistry *HwregistryFilterer) FilterWhitelistedAdded(opts *bind.FilterOpts, _address []common.Address) (*HwregistryWhitelistedAddedIterator, error)

FilterWhitelistedAdded is a free log retrieval operation binding the contract event 0xcb9ce803cb004a01f0682efa32d66c42ec72e8daa764006c95e1b551b9465a21.

Solidity: event WhitelistedAdded(address indexed _address, uint256 _maxAllowed)

func (*HwregistryFilterer) FilterWhitelistedRemoved

func (_Hwregistry *HwregistryFilterer) FilterWhitelistedRemoved(opts *bind.FilterOpts, _address []common.Address) (*HwregistryWhitelistedRemovedIterator, error)

FilterWhitelistedRemoved is a free log retrieval operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address indexed _address)

func (*HwregistryFilterer) FilterWhitelistedUpdated

func (_Hwregistry *HwregistryFilterer) FilterWhitelistedUpdated(opts *bind.FilterOpts, _address []common.Address) (*HwregistryWhitelistedUpdatedIterator, error)

FilterWhitelistedUpdated is a free log retrieval operation binding the contract event 0x8bc3b900d96200ab851acb4ccd80670a931934f8fbae20691e95a683c0d00e60.

Solidity: event WhitelistedUpdated(address indexed _address, uint256 _maxAllowed)

func (*HwregistryFilterer) ParseOwnershipTransferred

func (_Hwregistry *HwregistryFilterer) ParseOwnershipTransferred(log types.Log) (*HwregistryOwnershipTransferred, error)

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

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

func (*HwregistryFilterer) ParseWhitelistedAdded

func (_Hwregistry *HwregistryFilterer) ParseWhitelistedAdded(log types.Log) (*HwregistryWhitelistedAdded, error)

ParseWhitelistedAdded is a log parse operation binding the contract event 0xcb9ce803cb004a01f0682efa32d66c42ec72e8daa764006c95e1b551b9465a21.

Solidity: event WhitelistedAdded(address indexed _address, uint256 _maxAllowed)

func (*HwregistryFilterer) ParseWhitelistedRemoved

func (_Hwregistry *HwregistryFilterer) ParseWhitelistedRemoved(log types.Log) (*HwregistryWhitelistedRemoved, error)

ParseWhitelistedRemoved is a log parse operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address indexed _address)

func (*HwregistryFilterer) ParseWhitelistedUpdated

func (_Hwregistry *HwregistryFilterer) ParseWhitelistedUpdated(log types.Log) (*HwregistryWhitelistedUpdated, error)

ParseWhitelistedUpdated is a log parse operation binding the contract event 0x8bc3b900d96200ab851acb4ccd80670a931934f8fbae20691e95a683c0d00e60.

Solidity: event WhitelistedUpdated(address indexed _address, uint256 _maxAllowed)

func (*HwregistryFilterer) WatchOwnershipTransferred

func (_Hwregistry *HwregistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HwregistryOwnershipTransferred, 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 (*HwregistryFilterer) WatchWhitelistedAdded

func (_Hwregistry *HwregistryFilterer) WatchWhitelistedAdded(opts *bind.WatchOpts, sink chan<- *HwregistryWhitelistedAdded, _address []common.Address) (event.Subscription, error)

WatchWhitelistedAdded is a free log subscription operation binding the contract event 0xcb9ce803cb004a01f0682efa32d66c42ec72e8daa764006c95e1b551b9465a21.

Solidity: event WhitelistedAdded(address indexed _address, uint256 _maxAllowed)

func (*HwregistryFilterer) WatchWhitelistedRemoved

func (_Hwregistry *HwregistryFilterer) WatchWhitelistedRemoved(opts *bind.WatchOpts, sink chan<- *HwregistryWhitelistedRemoved, _address []common.Address) (event.Subscription, error)

WatchWhitelistedRemoved is a free log subscription operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address indexed _address)

func (*HwregistryFilterer) WatchWhitelistedUpdated

func (_Hwregistry *HwregistryFilterer) WatchWhitelistedUpdated(opts *bind.WatchOpts, sink chan<- *HwregistryWhitelistedUpdated, _address []common.Address) (event.Subscription, error)

WatchWhitelistedUpdated is a free log subscription operation binding the contract event 0x8bc3b900d96200ab851acb4ccd80670a931934f8fbae20691e95a683c0d00e60.

Solidity: event WhitelistedUpdated(address indexed _address, uint256 _maxAllowed)

type HwregistryOwnershipTransferred

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

HwregistryOwnershipTransferred represents a OwnershipTransferred event raised by the Hwregistry contract.

type HwregistryOwnershipTransferredIterator

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

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

func (*HwregistryOwnershipTransferredIterator) Close

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

func (*HwregistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwregistryOwnershipTransferredIterator) 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 HwregistryRaw

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

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

func (*HwregistryRaw) Call

func (_Hwregistry *HwregistryRaw) 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 (*HwregistryRaw) Transact

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

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

func (*HwregistryRaw) Transfer

func (_Hwregistry *HwregistryRaw) 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 HwregistrySession

type HwregistrySession struct {
	Contract     *Hwregistry       // 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
}

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

func (*HwregistrySession) AddWhitelisted

func (_Hwregistry *HwregistrySession) AddWhitelisted(_address common.Address, _maxAllowed *big.Int) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x8902ff86.

Solidity: function addWhitelisted(address _address, uint256 _maxAllowed) returns(bool)

func (*HwregistrySession) AllWhitelisted

func (_Hwregistry *HwregistrySession) AllWhitelisted() ([]HWRegistryWhitelist, error)

AllWhitelisted is a free data retrieval call binding the contract method 0x765b9d6b.

Solidity: function allWhitelisted() view returns((address,uint256)[])

func (*HwregistrySession) Counter

func (_Hwregistry *HwregistrySession) Counter() (*big.Int, error)

Counter is a free data retrieval call binding the contract method 0x61bc221a.

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

func (*HwregistrySession) GetNFTGrossRevenue

func (_Hwregistry *HwregistrySession) GetNFTGrossRevenue(_id *big.Int) (*big.Int, error)

GetNFTGrossRevenue is a free data retrieval call binding the contract method 0x13faf9df.

Solidity: function getNFTGrossRevenue(uint256 _id) view returns(uint256)

func (*HwregistrySession) HwEscrow

func (_Hwregistry *HwregistrySession) HwEscrow() (common.Address, error)

HwEscrow is a free data retrieval call binding the contract method 0x24989f6f.

Solidity: function hwEscrow() view returns(address)

func (*HwregistrySession) IsAllowedAmount

func (_Hwregistry *HwregistrySession) IsAllowedAmount(_address common.Address, _amount *big.Int) (bool, error)

IsAllowedAmount is a free data retrieval call binding the contract method 0x83ed69c1.

Solidity: function isAllowedAmount(address _address, uint256 _amount) view returns(bool)

func (*HwregistrySession) IsWhitelisted

func (_Hwregistry *HwregistrySession) IsWhitelisted(_address common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address _address) view returns(bool)

func (*HwregistrySession) NftGrossRevenue

func (_Hwregistry *HwregistrySession) NftGrossRevenue(arg0 *big.Int) (*big.Int, error)

NftGrossRevenue is a free data retrieval call binding the contract method 0x43120455.

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

func (*HwregistrySession) Owner

func (_Hwregistry *HwregistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*HwregistrySession) RemoveWhitelisted

func (_Hwregistry *HwregistrySession) RemoveWhitelisted(_address common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address _address) returns(bool)

func (*HwregistrySession) RenounceOwnership

func (_Hwregistry *HwregistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HwregistrySession) SetHWEscrow

func (_Hwregistry *HwregistrySession) SetHWEscrow(_address common.Address) (*types.Transaction, error)

SetHWEscrow is a paid mutator transaction binding the contract method 0xf5f55714.

Solidity: function setHWEscrow(address _address) returns(bool)

func (*HwregistrySession) SetNFTGrossRevenue

func (_Hwregistry *HwregistrySession) SetNFTGrossRevenue(_id *big.Int, _amount *big.Int) (*types.Transaction, error)

SetNFTGrossRevenue is a paid mutator transaction binding the contract method 0x155e85c4.

Solidity: function setNFTGrossRevenue(uint256 _id, uint256 _amount) returns()

func (*HwregistrySession) TransferOwnership

func (_Hwregistry *HwregistrySession) 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 (*HwregistrySession) UpdateWhitelisted

func (_Hwregistry *HwregistrySession) UpdateWhitelisted(_address common.Address, _maxAllowed *big.Int) (*types.Transaction, error)

UpdateWhitelisted is a paid mutator transaction binding the contract method 0xcd1188a5.

Solidity: function updateWhitelisted(address _address, uint256 _maxAllowed) returns(bool)

func (*HwregistrySession) Whitelisted

func (_Hwregistry *HwregistrySession) Whitelisted(arg0 *big.Int) (struct {
	Token      common.Address
	MaxAllowed *big.Int
}, error)

Whitelisted is a free data retrieval call binding the contract method 0x3d4efe09.

Solidity: function whitelisted(uint256 ) view returns(address token, uint256 maxAllowed)

type HwregistryTransactor

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

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

func NewHwregistryTransactor

func NewHwregistryTransactor(address common.Address, transactor bind.ContractTransactor) (*HwregistryTransactor, error)

NewHwregistryTransactor creates a new write-only instance of Hwregistry, bound to a specific deployed contract.

func (*HwregistryTransactor) AddWhitelisted

func (_Hwregistry *HwregistryTransactor) AddWhitelisted(opts *bind.TransactOpts, _address common.Address, _maxAllowed *big.Int) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x8902ff86.

Solidity: function addWhitelisted(address _address, uint256 _maxAllowed) returns(bool)

func (*HwregistryTransactor) RemoveWhitelisted

func (_Hwregistry *HwregistryTransactor) RemoveWhitelisted(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address _address) returns(bool)

func (*HwregistryTransactor) RenounceOwnership

func (_Hwregistry *HwregistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HwregistryTransactor) SetHWEscrow

func (_Hwregistry *HwregistryTransactor) SetHWEscrow(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetHWEscrow is a paid mutator transaction binding the contract method 0xf5f55714.

Solidity: function setHWEscrow(address _address) returns(bool)

func (*HwregistryTransactor) SetNFTGrossRevenue

func (_Hwregistry *HwregistryTransactor) SetNFTGrossRevenue(opts *bind.TransactOpts, _id *big.Int, _amount *big.Int) (*types.Transaction, error)

SetNFTGrossRevenue is a paid mutator transaction binding the contract method 0x155e85c4.

Solidity: function setNFTGrossRevenue(uint256 _id, uint256 _amount) returns()

func (*HwregistryTransactor) TransferOwnership

func (_Hwregistry *HwregistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*HwregistryTransactor) UpdateWhitelisted

func (_Hwregistry *HwregistryTransactor) UpdateWhitelisted(opts *bind.TransactOpts, _address common.Address, _maxAllowed *big.Int) (*types.Transaction, error)

UpdateWhitelisted is a paid mutator transaction binding the contract method 0xcd1188a5.

Solidity: function updateWhitelisted(address _address, uint256 _maxAllowed) returns(bool)

type HwregistryTransactorRaw

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

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

func (*HwregistryTransactorRaw) Transact

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

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

func (*HwregistryTransactorRaw) Transfer

func (_Hwregistry *HwregistryTransactorRaw) 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 HwregistryTransactorSession

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

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

func (*HwregistryTransactorSession) AddWhitelisted

func (_Hwregistry *HwregistryTransactorSession) AddWhitelisted(_address common.Address, _maxAllowed *big.Int) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x8902ff86.

Solidity: function addWhitelisted(address _address, uint256 _maxAllowed) returns(bool)

func (*HwregistryTransactorSession) RemoveWhitelisted

func (_Hwregistry *HwregistryTransactorSession) RemoveWhitelisted(_address common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address _address) returns(bool)

func (*HwregistryTransactorSession) RenounceOwnership

func (_Hwregistry *HwregistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*HwregistryTransactorSession) SetHWEscrow

func (_Hwregistry *HwregistryTransactorSession) SetHWEscrow(_address common.Address) (*types.Transaction, error)

SetHWEscrow is a paid mutator transaction binding the contract method 0xf5f55714.

Solidity: function setHWEscrow(address _address) returns(bool)

func (*HwregistryTransactorSession) SetNFTGrossRevenue

func (_Hwregistry *HwregistryTransactorSession) SetNFTGrossRevenue(_id *big.Int, _amount *big.Int) (*types.Transaction, error)

SetNFTGrossRevenue is a paid mutator transaction binding the contract method 0x155e85c4.

Solidity: function setNFTGrossRevenue(uint256 _id, uint256 _amount) returns()

func (*HwregistryTransactorSession) TransferOwnership

func (_Hwregistry *HwregistryTransactorSession) 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 (*HwregistryTransactorSession) UpdateWhitelisted

func (_Hwregistry *HwregistryTransactorSession) UpdateWhitelisted(_address common.Address, _maxAllowed *big.Int) (*types.Transaction, error)

UpdateWhitelisted is a paid mutator transaction binding the contract method 0xcd1188a5.

Solidity: function updateWhitelisted(address _address, uint256 _maxAllowed) returns(bool)

type HwregistryWhitelistedAdded

type HwregistryWhitelistedAdded struct {
	Address    common.Address
	MaxAllowed *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

HwregistryWhitelistedAdded represents a WhitelistedAdded event raised by the Hwregistry contract.

type HwregistryWhitelistedAddedIterator

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

HwregistryWhitelistedAddedIterator is returned from FilterWhitelistedAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAdded events raised by the Hwregistry contract.

func (*HwregistryWhitelistedAddedIterator) Close

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

func (*HwregistryWhitelistedAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwregistryWhitelistedAddedIterator) 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 HwregistryWhitelistedRemoved

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

HwregistryWhitelistedRemoved represents a WhitelistedRemoved event raised by the Hwregistry contract.

type HwregistryWhitelistedRemovedIterator

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

HwregistryWhitelistedRemovedIterator is returned from FilterWhitelistedRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedRemoved events raised by the Hwregistry contract.

func (*HwregistryWhitelistedRemovedIterator) Close

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

func (*HwregistryWhitelistedRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwregistryWhitelistedRemovedIterator) 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 HwregistryWhitelistedUpdated

type HwregistryWhitelistedUpdated struct {
	Address    common.Address
	MaxAllowed *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

HwregistryWhitelistedUpdated represents a WhitelistedUpdated event raised by the Hwregistry contract.

type HwregistryWhitelistedUpdatedIterator

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

HwregistryWhitelistedUpdatedIterator is returned from FilterWhitelistedUpdated and is used to iterate over the raw logs and unpacked data for WhitelistedUpdated events raised by the Hwregistry contract.

func (*HwregistryWhitelistedUpdatedIterator) Close

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

func (*HwregistryWhitelistedUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HwregistryWhitelistedUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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