Documentation
¶
Index ¶
- Constants
- Variables
- type HbSwapToken
- type HbSwapTokenApproval
- type HbSwapTokenApprovalIterator
- type HbSwapTokenCaller
- func (_HbSwapToken *HbSwapTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenCaller) DECIMALS(opts *bind.CallOpts) (uint8, error)
- func (_HbSwapToken *HbSwapTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_HbSwapToken *HbSwapTokenCaller) INITIALSUPPLY(opts *bind.CallOpts) (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_HbSwapToken *HbSwapTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_HbSwapToken *HbSwapTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type HbSwapTokenCallerRaw
- type HbSwapTokenCallerSession
- func (_HbSwapToken *HbSwapTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenCallerSession) DECIMALS() (uint8, error)
- func (_HbSwapToken *HbSwapTokenCallerSession) Decimals() (uint8, error)
- func (_HbSwapToken *HbSwapTokenCallerSession) INITIALSUPPLY() (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenCallerSession) Name() (string, error)
- func (_HbSwapToken *HbSwapTokenCallerSession) Symbol() (string, error)
- func (_HbSwapToken *HbSwapTokenCallerSession) TotalSupply() (*big.Int, error)
- type HbSwapTokenFilterer
- func (_HbSwapToken *HbSwapTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*HbSwapTokenApprovalIterator, error)
- func (_HbSwapToken *HbSwapTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*HbSwapTokenTransferIterator, error)
- func (_HbSwapToken *HbSwapTokenFilterer) ParseApproval(log types.Log) (*HbSwapTokenApproval, error)
- func (_HbSwapToken *HbSwapTokenFilterer) ParseTransfer(log types.Log) (*HbSwapTokenTransfer, error)
- func (_HbSwapToken *HbSwapTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *HbSwapTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_HbSwapToken *HbSwapTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *HbSwapTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type HbSwapTokenRaw
- func (_HbSwapToken *HbSwapTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HbSwapToken *HbSwapTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HbSwapTokenSession
- func (_HbSwapToken *HbSwapTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenSession) DECIMALS() (uint8, error)
- func (_HbSwapToken *HbSwapTokenSession) Decimals() (uint8, error)
- func (_HbSwapToken *HbSwapTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenSession) INITIALSUPPLY() (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenSession) Name() (string, error)
- func (_HbSwapToken *HbSwapTokenSession) Symbol() (string, error)
- func (_HbSwapToken *HbSwapTokenSession) TotalSupply() (*big.Int, error)
- func (_HbSwapToken *HbSwapTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type HbSwapTokenTransactor
- func (_HbSwapToken *HbSwapTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type HbSwapTokenTransactorRaw
- type HbSwapTokenTransactorSession
- func (_HbSwapToken *HbSwapTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HbSwapToken *HbSwapTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type HbSwapTokenTransfer
- type HbSwapTokenTransferIterator
Constants ¶
const HbSwapTokenABI = "" /* 4483-byte string literal not displayed */
HbSwapTokenABI is the input ABI used to generate the binding from.
Variables ¶
var HbSwapTokenBin = "" /* 10952-byte string literal not displayed */
HbSwapTokenBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type HbSwapToken ¶
type HbSwapToken struct { HbSwapTokenCaller // Read-only binding to the contract HbSwapTokenTransactor // Write-only binding to the contract HbSwapTokenFilterer // Log filterer for contract events }
HbSwapToken is an auto generated Go binding around an Ethereum contract.
func DeployHbSwapToken ¶
func DeployHbSwapToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *HbSwapToken, error)
DeployHbSwapToken deploys a new Ethereum contract, binding an instance of HbSwapToken to it.
func NewHbSwapToken ¶
func NewHbSwapToken(address common.Address, backend bind.ContractBackend) (*HbSwapToken, error)
NewHbSwapToken creates a new instance of HbSwapToken, bound to a specific deployed contract.
type HbSwapTokenApproval ¶
type HbSwapTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
HbSwapTokenApproval represents a Approval event raised by the HbSwapToken contract.
type HbSwapTokenApprovalIterator ¶
type HbSwapTokenApprovalIterator struct { Event *HbSwapTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HbSwapTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the HbSwapToken contract.
func (*HbSwapTokenApprovalIterator) Close ¶
func (it *HbSwapTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HbSwapTokenApprovalIterator) Error ¶
func (it *HbSwapTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HbSwapTokenApprovalIterator) Next ¶
func (it *HbSwapTokenApprovalIterator) 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 HbSwapTokenCaller ¶
type HbSwapTokenCaller struct {
// contains filtered or unexported fields
}
HbSwapTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHbSwapTokenCaller ¶
func NewHbSwapTokenCaller(address common.Address, caller bind.ContractCaller) (*HbSwapTokenCaller, error)
NewHbSwapTokenCaller creates a new read-only instance of HbSwapToken, bound to a specific deployed contract.
func (*HbSwapTokenCaller) Allowance ¶
func (_HbSwapToken *HbSwapTokenCaller) 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 (*HbSwapTokenCaller) BalanceOf ¶
func (_HbSwapToken *HbSwapTokenCaller) 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 (*HbSwapTokenCaller) DECIMALS ¶
func (_HbSwapToken *HbSwapTokenCaller) DECIMALS(opts *bind.CallOpts) (uint8, error)
DECIMALS is a free data retrieval call binding the contract method 0x2e0f2625.
Solidity: function DECIMALS() view returns(uint8)
func (*HbSwapTokenCaller) Decimals ¶
func (_HbSwapToken *HbSwapTokenCaller) 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 (*HbSwapTokenCaller) INITIALSUPPLY ¶
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() view returns(uint256)
func (*HbSwapTokenCaller) Name ¶
func (_HbSwapToken *HbSwapTokenCaller) 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 (*HbSwapTokenCaller) Symbol ¶
func (_HbSwapToken *HbSwapTokenCaller) 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 (*HbSwapTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type HbSwapTokenCallerRaw ¶
type HbSwapTokenCallerRaw struct {
Contract *HbSwapTokenCaller // Generic read-only contract binding to access the raw methods on
}
HbSwapTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HbSwapTokenCallerRaw) Call ¶
func (_HbSwapToken *HbSwapTokenCallerRaw) 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 HbSwapTokenCallerSession ¶
type HbSwapTokenCallerSession struct { Contract *HbSwapTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HbSwapTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HbSwapTokenCallerSession) Allowance ¶
func (_HbSwapToken *HbSwapTokenCallerSession) 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 (*HbSwapTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*HbSwapTokenCallerSession) DECIMALS ¶
func (_HbSwapToken *HbSwapTokenCallerSession) DECIMALS() (uint8, error)
DECIMALS is a free data retrieval call binding the contract method 0x2e0f2625.
Solidity: function DECIMALS() view returns(uint8)
func (*HbSwapTokenCallerSession) Decimals ¶
func (_HbSwapToken *HbSwapTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*HbSwapTokenCallerSession) INITIALSUPPLY ¶
func (_HbSwapToken *HbSwapTokenCallerSession) INITIALSUPPLY() (*big.Int, error)
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() view returns(uint256)
func (*HbSwapTokenCallerSession) Name ¶
func (_HbSwapToken *HbSwapTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*HbSwapTokenCallerSession) Symbol ¶
func (_HbSwapToken *HbSwapTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*HbSwapTokenCallerSession) TotalSupply ¶
func (_HbSwapToken *HbSwapTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type HbSwapTokenFilterer ¶
type HbSwapTokenFilterer struct {
// contains filtered or unexported fields
}
HbSwapTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHbSwapTokenFilterer ¶
func NewHbSwapTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*HbSwapTokenFilterer, error)
NewHbSwapTokenFilterer creates a new log filterer instance of HbSwapToken, bound to a specific deployed contract.
func (*HbSwapTokenFilterer) FilterApproval ¶
func (_HbSwapToken *HbSwapTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*HbSwapTokenApprovalIterator, 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 (*HbSwapTokenFilterer) FilterTransfer ¶
func (_HbSwapToken *HbSwapTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*HbSwapTokenTransferIterator, 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 (*HbSwapTokenFilterer) ParseApproval ¶
func (_HbSwapToken *HbSwapTokenFilterer) ParseApproval(log types.Log) (*HbSwapTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*HbSwapTokenFilterer) ParseTransfer ¶
func (_HbSwapToken *HbSwapTokenFilterer) ParseTransfer(log types.Log) (*HbSwapTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*HbSwapTokenFilterer) WatchApproval ¶
func (_HbSwapToken *HbSwapTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *HbSwapTokenApproval, 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 (*HbSwapTokenFilterer) WatchTransfer ¶
func (_HbSwapToken *HbSwapTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *HbSwapTokenTransfer, 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 HbSwapTokenRaw ¶
type HbSwapTokenRaw struct {
Contract *HbSwapToken // Generic contract binding to access the raw methods on
}
HbSwapTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HbSwapTokenRaw) Call ¶
func (_HbSwapToken *HbSwapTokenRaw) 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 (*HbSwapTokenRaw) Transact ¶
func (_HbSwapToken *HbSwapTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HbSwapTokenRaw) Transfer ¶
func (_HbSwapToken *HbSwapTokenRaw) 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 HbSwapTokenSession ¶
type HbSwapTokenSession struct { Contract *HbSwapToken // 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 }
HbSwapTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HbSwapTokenSession) Allowance ¶
func (_HbSwapToken *HbSwapTokenSession) 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 (*HbSwapTokenSession) Approve ¶
func (_HbSwapToken *HbSwapTokenSession) 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 (*HbSwapTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*HbSwapTokenSession) DECIMALS ¶
func (_HbSwapToken *HbSwapTokenSession) DECIMALS() (uint8, error)
DECIMALS is a free data retrieval call binding the contract method 0x2e0f2625.
Solidity: function DECIMALS() view returns(uint8)
func (*HbSwapTokenSession) Decimals ¶
func (_HbSwapToken *HbSwapTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*HbSwapTokenSession) DecreaseAllowance ¶
func (_HbSwapToken *HbSwapTokenSession) 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 (*HbSwapTokenSession) INITIALSUPPLY ¶
func (_HbSwapToken *HbSwapTokenSession) INITIALSUPPLY() (*big.Int, error)
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() view returns(uint256)
func (*HbSwapTokenSession) IncreaseAllowance ¶
func (_HbSwapToken *HbSwapTokenSession) 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 (*HbSwapTokenSession) Name ¶
func (_HbSwapToken *HbSwapTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*HbSwapTokenSession) Symbol ¶
func (_HbSwapToken *HbSwapTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*HbSwapTokenSession) TotalSupply ¶
func (_HbSwapToken *HbSwapTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*HbSwapTokenSession) Transfer ¶
func (_HbSwapToken *HbSwapTokenSession) 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 (*HbSwapTokenSession) TransferFrom ¶
func (_HbSwapToken *HbSwapTokenSession) 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 HbSwapTokenTransactor ¶
type HbSwapTokenTransactor struct {
// contains filtered or unexported fields
}
HbSwapTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHbSwapTokenTransactor ¶
func NewHbSwapTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*HbSwapTokenTransactor, error)
NewHbSwapTokenTransactor creates a new write-only instance of HbSwapToken, bound to a specific deployed contract.
func (*HbSwapTokenTransactor) Approve ¶
func (_HbSwapToken *HbSwapTokenTransactor) 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 (*HbSwapTokenTransactor) DecreaseAllowance ¶
func (_HbSwapToken *HbSwapTokenTransactor) 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 (*HbSwapTokenTransactor) IncreaseAllowance ¶
func (_HbSwapToken *HbSwapTokenTransactor) 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 (*HbSwapTokenTransactor) Transfer ¶
func (_HbSwapToken *HbSwapTokenTransactor) 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 (*HbSwapTokenTransactor) TransferFrom ¶
func (_HbSwapToken *HbSwapTokenTransactor) 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 HbSwapTokenTransactorRaw ¶
type HbSwapTokenTransactorRaw struct {
Contract *HbSwapTokenTransactor // Generic write-only contract binding to access the raw methods on
}
HbSwapTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HbSwapTokenTransactorRaw) Transact ¶
func (_HbSwapToken *HbSwapTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HbSwapTokenTransactorRaw) Transfer ¶
func (_HbSwapToken *HbSwapTokenTransactorRaw) 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 HbSwapTokenTransactorSession ¶
type HbSwapTokenTransactorSession struct { Contract *HbSwapTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HbSwapTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HbSwapTokenTransactorSession) Approve ¶
func (_HbSwapToken *HbSwapTokenTransactorSession) 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 (*HbSwapTokenTransactorSession) DecreaseAllowance ¶
func (_HbSwapToken *HbSwapTokenTransactorSession) 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 (*HbSwapTokenTransactorSession) IncreaseAllowance ¶
func (_HbSwapToken *HbSwapTokenTransactorSession) 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 (*HbSwapTokenTransactorSession) Transfer ¶
func (_HbSwapToken *HbSwapTokenTransactorSession) 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 (*HbSwapTokenTransactorSession) TransferFrom ¶
func (_HbSwapToken *HbSwapTokenTransactorSession) 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 HbSwapTokenTransfer ¶
type HbSwapTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
HbSwapTokenTransfer represents a Transfer event raised by the HbSwapToken contract.
type HbSwapTokenTransferIterator ¶
type HbSwapTokenTransferIterator struct { Event *HbSwapTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HbSwapTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the HbSwapToken contract.
func (*HbSwapTokenTransferIterator) Close ¶
func (it *HbSwapTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HbSwapTokenTransferIterator) Error ¶
func (it *HbSwapTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HbSwapTokenTransferIterator) Next ¶
func (it *HbSwapTokenTransferIterator) 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.