Documentation ¶
Index ¶
- Variables
- type HWListingPayment
- type Hwlisting
- type HwlistingCaller
- func (_Hwlisting *HwlistingCaller) GetLatestPayment(opts *bind.CallOpts, _user common.Address) (HWListingPayment, error)
- func (_Hwlisting *HwlistingCaller) GetPayments(opts *bind.CallOpts, _user common.Address) ([]HWListingPayment, error)
- func (_Hwlisting *HwlistingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Hwlisting *HwlistingCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- type HwlistingCallerRaw
- type HwlistingCallerSession
- func (_Hwlisting *HwlistingCallerSession) GetLatestPayment(_user common.Address) (HWListingPayment, error)
- func (_Hwlisting *HwlistingCallerSession) GetPayments(_user common.Address) ([]HWListingPayment, error)
- func (_Hwlisting *HwlistingCallerSession) Owner() (common.Address, error)
- func (_Hwlisting *HwlistingCallerSession) Registry() (common.Address, error)
- type HwlistingFilterer
- func (_Hwlisting *HwlistingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*HwlistingOwnershipTransferredIterator, error)
- func (_Hwlisting *HwlistingFilterer) FilterPaymentAdded(opts *bind.FilterOpts, _token []common.Address) (*HwlistingPaymentAddedIterator, error)
- func (_Hwlisting *HwlistingFilterer) ParseOwnershipTransferred(log types.Log) (*HwlistingOwnershipTransferred, error)
- func (_Hwlisting *HwlistingFilterer) ParsePaymentAdded(log types.Log) (*HwlistingPaymentAdded, error)
- func (_Hwlisting *HwlistingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HwlistingOwnershipTransferred, ...) (event.Subscription, error)
- func (_Hwlisting *HwlistingFilterer) WatchPaymentAdded(opts *bind.WatchOpts, sink chan<- *HwlistingPaymentAdded, ...) (event.Subscription, error)
- type HwlistingOwnershipTransferred
- type HwlistingOwnershipTransferredIterator
- type HwlistingPaymentAdded
- type HwlistingPaymentAddedIterator
- type HwlistingRaw
- func (_Hwlisting *HwlistingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Hwlisting *HwlistingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Hwlisting *HwlistingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HwlistingSession
- func (_Hwlisting *HwlistingSession) GetLatestPayment(_user common.Address) (HWListingPayment, error)
- func (_Hwlisting *HwlistingSession) GetPayments(_user common.Address) ([]HWListingPayment, error)
- func (_Hwlisting *HwlistingSession) Owner() (common.Address, error)
- func (_Hwlisting *HwlistingSession) PayForListing(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Hwlisting *HwlistingSession) Registry() (common.Address, error)
- func (_Hwlisting *HwlistingSession) RenounceOwnership() (*types.Transaction, error)
- func (_Hwlisting *HwlistingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingSession) UpdateRegistry(_registry common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingSession) WithdrawToken(_token common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingSession) WithdrawToken0(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Hwlisting *HwlistingSession) WithdrawToken1() (*types.Transaction, error)
- type HwlistingTransactor
- func (_Hwlisting *HwlistingTransactor) PayForListing(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactor) UpdateRegistry(opts *bind.TransactOpts, _registry common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactor) WithdrawToken0(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactor) WithdrawToken1(opts *bind.TransactOpts) (*types.Transaction, error)
- type HwlistingTransactorRaw
- type HwlistingTransactorSession
- func (_Hwlisting *HwlistingTransactorSession) PayForListing(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactorSession) UpdateRegistry(_registry common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactorSession) WithdrawToken(_token common.Address) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactorSession) WithdrawToken0(_token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Hwlisting *HwlistingTransactorSession) WithdrawToken1() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var HwlistingABI = HwlistingMetaData.ABI
HwlistingABI is the input ABI used to generate the binding from. Deprecated: Use HwlistingMetaData.ABI instead.
var HwlistingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_registry\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"PaymentAdded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getLatestPayment\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"listingDate\",\"type\":\"uint256\"}],\"internalType\":\"structHWListing.Payment\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getPayments\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"listingDate\",\"type\":\"uint256\"}],\"internalType\":\"structHWListing.Payment[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"payForListing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contractIHWRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_registry\",\"type\":\"address\"}],\"name\":\"updateRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
HwlistingMetaData contains all meta data concerning the Hwlisting contract.
Functions ¶
This section is empty.
Types ¶
type HWListingPayment ¶
HWListingPayment is an auto generated low-level Go binding around an user-defined struct.
type Hwlisting ¶
type Hwlisting struct { HwlistingCaller // Read-only binding to the contract HwlistingTransactor // Write-only binding to the contract HwlistingFilterer // Log filterer for contract events }
Hwlisting is an auto generated Go binding around an Ethereum contract.
func NewHwlisting ¶
NewHwlisting creates a new instance of Hwlisting, bound to a specific deployed contract.
type HwlistingCaller ¶
type HwlistingCaller struct {
// contains filtered or unexported fields
}
HwlistingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHwlistingCaller ¶
func NewHwlistingCaller(address common.Address, caller bind.ContractCaller) (*HwlistingCaller, error)
NewHwlistingCaller creates a new read-only instance of Hwlisting, bound to a specific deployed contract.
func (*HwlistingCaller) GetLatestPayment ¶
func (_Hwlisting *HwlistingCaller) GetLatestPayment(opts *bind.CallOpts, _user common.Address) (HWListingPayment, error)
GetLatestPayment is a free data retrieval call binding the contract method 0xa12a0365.
Solidity: function getLatestPayment(address _user) view returns((address,uint256,uint256))
func (*HwlistingCaller) GetPayments ¶
func (_Hwlisting *HwlistingCaller) GetPayments(opts *bind.CallOpts, _user common.Address) ([]HWListingPayment, error)
GetPayments is a free data retrieval call binding the contract method 0x1d6a1711.
Solidity: function getPayments(address _user) view returns((address,uint256,uint256)[])
type HwlistingCallerRaw ¶
type HwlistingCallerRaw struct {
Contract *HwlistingCaller // Generic read-only contract binding to access the raw methods on
}
HwlistingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HwlistingCallerRaw) Call ¶
func (_Hwlisting *HwlistingCallerRaw) 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 HwlistingCallerSession ¶
type HwlistingCallerSession struct { Contract *HwlistingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HwlistingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HwlistingCallerSession) GetLatestPayment ¶
func (_Hwlisting *HwlistingCallerSession) GetLatestPayment(_user common.Address) (HWListingPayment, error)
GetLatestPayment is a free data retrieval call binding the contract method 0xa12a0365.
Solidity: function getLatestPayment(address _user) view returns((address,uint256,uint256))
func (*HwlistingCallerSession) GetPayments ¶
func (_Hwlisting *HwlistingCallerSession) GetPayments(_user common.Address) ([]HWListingPayment, error)
GetPayments is a free data retrieval call binding the contract method 0x1d6a1711.
Solidity: function getPayments(address _user) view returns((address,uint256,uint256)[])
type HwlistingFilterer ¶
type HwlistingFilterer struct {
// contains filtered or unexported fields
}
HwlistingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHwlistingFilterer ¶
func NewHwlistingFilterer(address common.Address, filterer bind.ContractFilterer) (*HwlistingFilterer, error)
NewHwlistingFilterer creates a new log filterer instance of Hwlisting, bound to a specific deployed contract.
func (*HwlistingFilterer) FilterOwnershipTransferred ¶
func (_Hwlisting *HwlistingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HwlistingOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*HwlistingFilterer) FilterPaymentAdded ¶
func (_Hwlisting *HwlistingFilterer) FilterPaymentAdded(opts *bind.FilterOpts, _token []common.Address) (*HwlistingPaymentAddedIterator, error)
FilterPaymentAdded is a free log retrieval operation binding the contract event 0x7ceb32c988f6127615957ec467cbb5688c54a860a192790b125e54b9c3b681e0.
Solidity: event PaymentAdded(address indexed _token, uint256 _amount)
func (*HwlistingFilterer) ParseOwnershipTransferred ¶
func (_Hwlisting *HwlistingFilterer) ParseOwnershipTransferred(log types.Log) (*HwlistingOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*HwlistingFilterer) ParsePaymentAdded ¶
func (_Hwlisting *HwlistingFilterer) ParsePaymentAdded(log types.Log) (*HwlistingPaymentAdded, error)
ParsePaymentAdded is a log parse operation binding the contract event 0x7ceb32c988f6127615957ec467cbb5688c54a860a192790b125e54b9c3b681e0.
Solidity: event PaymentAdded(address indexed _token, uint256 _amount)
func (*HwlistingFilterer) WatchOwnershipTransferred ¶
func (_Hwlisting *HwlistingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HwlistingOwnershipTransferred, 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 (*HwlistingFilterer) WatchPaymentAdded ¶
func (_Hwlisting *HwlistingFilterer) WatchPaymentAdded(opts *bind.WatchOpts, sink chan<- *HwlistingPaymentAdded, _token []common.Address) (event.Subscription, error)
WatchPaymentAdded is a free log subscription operation binding the contract event 0x7ceb32c988f6127615957ec467cbb5688c54a860a192790b125e54b9c3b681e0.
Solidity: event PaymentAdded(address indexed _token, uint256 _amount)
type HwlistingOwnershipTransferred ¶
type HwlistingOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
HwlistingOwnershipTransferred represents a OwnershipTransferred event raised by the Hwlisting contract.
type HwlistingOwnershipTransferredIterator ¶
type HwlistingOwnershipTransferredIterator struct { Event *HwlistingOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HwlistingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Hwlisting contract.
func (*HwlistingOwnershipTransferredIterator) Close ¶
func (it *HwlistingOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HwlistingOwnershipTransferredIterator) Error ¶
func (it *HwlistingOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HwlistingOwnershipTransferredIterator) Next ¶
func (it *HwlistingOwnershipTransferredIterator) 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 HwlistingPaymentAdded ¶
type HwlistingPaymentAdded struct { Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HwlistingPaymentAdded represents a PaymentAdded event raised by the Hwlisting contract.
type HwlistingPaymentAddedIterator ¶
type HwlistingPaymentAddedIterator struct { Event *HwlistingPaymentAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HwlistingPaymentAddedIterator is returned from FilterPaymentAdded and is used to iterate over the raw logs and unpacked data for PaymentAdded events raised by the Hwlisting contract.
func (*HwlistingPaymentAddedIterator) Close ¶
func (it *HwlistingPaymentAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HwlistingPaymentAddedIterator) Error ¶
func (it *HwlistingPaymentAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HwlistingPaymentAddedIterator) Next ¶
func (it *HwlistingPaymentAddedIterator) 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 HwlistingRaw ¶
type HwlistingRaw struct {
Contract *Hwlisting // Generic contract binding to access the raw methods on
}
HwlistingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HwlistingRaw) Call ¶
func (_Hwlisting *HwlistingRaw) 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 (*HwlistingRaw) Transact ¶
func (_Hwlisting *HwlistingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HwlistingRaw) Transfer ¶
func (_Hwlisting *HwlistingRaw) 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 HwlistingSession ¶
type HwlistingSession struct { Contract *Hwlisting // 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 }
HwlistingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HwlistingSession) GetLatestPayment ¶
func (_Hwlisting *HwlistingSession) GetLatestPayment(_user common.Address) (HWListingPayment, error)
GetLatestPayment is a free data retrieval call binding the contract method 0xa12a0365.
Solidity: function getLatestPayment(address _user) view returns((address,uint256,uint256))
func (*HwlistingSession) GetPayments ¶
func (_Hwlisting *HwlistingSession) GetPayments(_user common.Address) ([]HWListingPayment, error)
GetPayments is a free data retrieval call binding the contract method 0x1d6a1711.
Solidity: function getPayments(address _user) view returns((address,uint256,uint256)[])
func (*HwlistingSession) Owner ¶
func (_Hwlisting *HwlistingSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*HwlistingSession) PayForListing ¶
func (_Hwlisting *HwlistingSession) PayForListing(_token common.Address, _amount *big.Int) (*types.Transaction, error)
PayForListing is a paid mutator transaction binding the contract method 0x304db7d1.
Solidity: function payForListing(address _token, uint256 _amount) returns()
func (*HwlistingSession) Registry ¶
func (_Hwlisting *HwlistingSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() view returns(address)
func (*HwlistingSession) RenounceOwnership ¶
func (_Hwlisting *HwlistingSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*HwlistingSession) TransferOwnership ¶
func (_Hwlisting *HwlistingSession) 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 (*HwlistingSession) UpdateRegistry ¶
func (_Hwlisting *HwlistingSession) UpdateRegistry(_registry common.Address) (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x1a5da6c8.
Solidity: function updateRegistry(address _registry) returns()
func (*HwlistingSession) WithdrawToken ¶
func (_Hwlisting *HwlistingSession) WithdrawToken(_token common.Address) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x89476069.
Solidity: function withdrawToken(address _token) returns()
func (*HwlistingSession) WithdrawToken0 ¶
func (_Hwlisting *HwlistingSession) WithdrawToken0(_token common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken0 is a paid mutator transaction binding the contract method 0x9e281a98.
Solidity: function withdrawToken(address _token, uint256 _amount) returns()
func (*HwlistingSession) WithdrawToken1 ¶
func (_Hwlisting *HwlistingSession) WithdrawToken1() (*types.Transaction, error)
WithdrawToken1 is a paid mutator transaction binding the contract method 0xca628c78.
Solidity: function withdrawToken() returns()
type HwlistingTransactor ¶
type HwlistingTransactor struct {
// contains filtered or unexported fields
}
HwlistingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHwlistingTransactor ¶
func NewHwlistingTransactor(address common.Address, transactor bind.ContractTransactor) (*HwlistingTransactor, error)
NewHwlistingTransactor creates a new write-only instance of Hwlisting, bound to a specific deployed contract.
func (*HwlistingTransactor) PayForListing ¶
func (_Hwlisting *HwlistingTransactor) PayForListing(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
PayForListing is a paid mutator transaction binding the contract method 0x304db7d1.
Solidity: function payForListing(address _token, uint256 _amount) returns()
func (*HwlistingTransactor) RenounceOwnership ¶
func (_Hwlisting *HwlistingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*HwlistingTransactor) TransferOwnership ¶
func (_Hwlisting *HwlistingTransactor) 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 (*HwlistingTransactor) UpdateRegistry ¶
func (_Hwlisting *HwlistingTransactor) UpdateRegistry(opts *bind.TransactOpts, _registry common.Address) (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x1a5da6c8.
Solidity: function updateRegistry(address _registry) returns()
func (*HwlistingTransactor) WithdrawToken ¶
func (_Hwlisting *HwlistingTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x89476069.
Solidity: function withdrawToken(address _token) returns()
func (*HwlistingTransactor) WithdrawToken0 ¶
func (_Hwlisting *HwlistingTransactor) WithdrawToken0(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken0 is a paid mutator transaction binding the contract method 0x9e281a98.
Solidity: function withdrawToken(address _token, uint256 _amount) returns()
func (*HwlistingTransactor) WithdrawToken1 ¶
func (_Hwlisting *HwlistingTransactor) WithdrawToken1(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawToken1 is a paid mutator transaction binding the contract method 0xca628c78.
Solidity: function withdrawToken() returns()
type HwlistingTransactorRaw ¶
type HwlistingTransactorRaw struct {
Contract *HwlistingTransactor // Generic write-only contract binding to access the raw methods on
}
HwlistingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HwlistingTransactorRaw) Transact ¶
func (_Hwlisting *HwlistingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HwlistingTransactorRaw) Transfer ¶
func (_Hwlisting *HwlistingTransactorRaw) 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 HwlistingTransactorSession ¶
type HwlistingTransactorSession struct { Contract *HwlistingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HwlistingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HwlistingTransactorSession) PayForListing ¶
func (_Hwlisting *HwlistingTransactorSession) PayForListing(_token common.Address, _amount *big.Int) (*types.Transaction, error)
PayForListing is a paid mutator transaction binding the contract method 0x304db7d1.
Solidity: function payForListing(address _token, uint256 _amount) returns()
func (*HwlistingTransactorSession) RenounceOwnership ¶
func (_Hwlisting *HwlistingTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*HwlistingTransactorSession) TransferOwnership ¶
func (_Hwlisting *HwlistingTransactorSession) 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 (*HwlistingTransactorSession) UpdateRegistry ¶
func (_Hwlisting *HwlistingTransactorSession) UpdateRegistry(_registry common.Address) (*types.Transaction, error)
UpdateRegistry is a paid mutator transaction binding the contract method 0x1a5da6c8.
Solidity: function updateRegistry(address _registry) returns()
func (*HwlistingTransactorSession) WithdrawToken ¶
func (_Hwlisting *HwlistingTransactorSession) WithdrawToken(_token common.Address) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x89476069.
Solidity: function withdrawToken(address _token) returns()
func (*HwlistingTransactorSession) WithdrawToken0 ¶
func (_Hwlisting *HwlistingTransactorSession) WithdrawToken0(_token common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken0 is a paid mutator transaction binding the contract method 0x9e281a98.
Solidity: function withdrawToken(address _token, uint256 _amount) returns()
func (*HwlistingTransactorSession) WithdrawToken1 ¶
func (_Hwlisting *HwlistingTransactorSession) WithdrawToken1() (*types.Transaction, error)
WithdrawToken1 is a paid mutator transaction binding the contract method 0xca628c78.
Solidity: function withdrawToken() returns()