Documentation ¶
Index ¶
- Variables
- type Bep20
- type Bep20Approval
- type Bep20ApprovalIterator
- type Bep20Caller
- func (_Bep20 *Bep20Caller) Allowance(opts *bind.CallOpts, _owner common.Address, spender common.Address) (*big.Int, error)
- func (_Bep20 *Bep20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Bep20 *Bep20Caller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_Bep20 *Bep20Caller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_Bep20 *Bep20Caller) Name(opts *bind.CallOpts) (string, error)
- func (_Bep20 *Bep20Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Bep20 *Bep20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type Bep20CallerRaw
- type Bep20CallerSession
- func (_Bep20 *Bep20CallerSession) Allowance(_owner common.Address, spender common.Address) (*big.Int, error)
- func (_Bep20 *Bep20CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Bep20 *Bep20CallerSession) Decimals() (*big.Int, error)
- func (_Bep20 *Bep20CallerSession) GetOwner() (common.Address, error)
- func (_Bep20 *Bep20CallerSession) Name() (string, error)
- func (_Bep20 *Bep20CallerSession) Symbol() (string, error)
- func (_Bep20 *Bep20CallerSession) TotalSupply() (*big.Int, error)
- type Bep20Filterer
- func (_Bep20 *Bep20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Bep20ApprovalIterator, error)
- func (_Bep20 *Bep20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Bep20TransferIterator, error)
- func (_Bep20 *Bep20Filterer) ParseApproval(log types.Log) (*Bep20Approval, error)
- func (_Bep20 *Bep20Filterer) ParseTransfer(log types.Log) (*Bep20Transfer, error)
- func (_Bep20 *Bep20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Bep20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_Bep20 *Bep20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Bep20Transfer, from []common.Address, ...) (event.Subscription, error)
- type Bep20Raw
- func (_Bep20 *Bep20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Bep20 *Bep20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Bep20 *Bep20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Bep20Session
- func (_Bep20 *Bep20Session) Allowance(_owner common.Address, spender common.Address) (*big.Int, error)
- func (_Bep20 *Bep20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bep20 *Bep20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_Bep20 *Bep20Session) Decimals() (*big.Int, error)
- func (_Bep20 *Bep20Session) GetOwner() (common.Address, error)
- func (_Bep20 *Bep20Session) Name() (string, error)
- func (_Bep20 *Bep20Session) Symbol() (string, error)
- func (_Bep20 *Bep20Session) TotalSupply() (*big.Int, error)
- func (_Bep20 *Bep20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bep20 *Bep20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type Bep20Transactor
- func (_Bep20 *Bep20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bep20 *Bep20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bep20 *Bep20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type Bep20TransactorRaw
- type Bep20TransactorSession
- func (_Bep20 *Bep20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bep20 *Bep20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bep20 *Bep20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type Bep20Transfer
- type Bep20TransferIterator
Constants ¶
This section is empty.
Variables ¶
var Bep20ABI = Bep20MetaData.ABI
Bep20ABI is the input ABI used to generate the binding from. Deprecated: Use Bep20MetaData.ABI instead.
var Bep20MetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Bep20MetaData contains all meta data concerning the Bep20 contract.
Functions ¶
This section is empty.
Types ¶
type Bep20 ¶
type Bep20 struct { Bep20Caller // Read-only binding to the contract Bep20Transactor // Write-only binding to the contract Bep20Filterer // Log filterer for contract events }
Bep20 is an auto generated Go binding around an Ethereum contract.
type Bep20Approval ¶
type Bep20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Bep20Approval represents a Approval event raised by the Bep20 contract.
type Bep20ApprovalIterator ¶
type Bep20ApprovalIterator struct { Event *Bep20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bep20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Bep20 contract.
func (*Bep20ApprovalIterator) Close ¶
func (it *Bep20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bep20ApprovalIterator) Error ¶
func (it *Bep20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bep20ApprovalIterator) Next ¶
func (it *Bep20ApprovalIterator) 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 Bep20Caller ¶
type Bep20Caller struct {
// contains filtered or unexported fields
}
Bep20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewBep20Caller ¶
func NewBep20Caller(address common.Address, caller bind.ContractCaller) (*Bep20Caller, error)
NewBep20Caller creates a new read-only instance of Bep20, bound to a specific deployed contract.
func (*Bep20Caller) Allowance ¶
func (_Bep20 *Bep20Caller) 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 (*Bep20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Bep20Caller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*Bep20Caller) GetOwner ¶
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*Bep20Caller) Name ¶
func (_Bep20 *Bep20Caller) 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 (*Bep20Caller) Symbol ¶
func (_Bep20 *Bep20Caller) 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 (*Bep20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Bep20CallerRaw ¶
type Bep20CallerRaw struct {
Contract *Bep20Caller // Generic read-only contract binding to access the raw methods on
}
Bep20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Bep20CallerRaw) Call ¶
func (_Bep20 *Bep20CallerRaw) 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 Bep20CallerSession ¶
type Bep20CallerSession struct { Contract *Bep20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Bep20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Bep20CallerSession) Allowance ¶
func (_Bep20 *Bep20CallerSession) 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 (*Bep20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Bep20CallerSession) Decimals ¶
func (_Bep20 *Bep20CallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*Bep20CallerSession) GetOwner ¶
func (_Bep20 *Bep20CallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*Bep20CallerSession) Name ¶
func (_Bep20 *Bep20CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Bep20CallerSession) Symbol ¶
func (_Bep20 *Bep20CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Bep20CallerSession) TotalSupply ¶
func (_Bep20 *Bep20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Bep20Filterer ¶
type Bep20Filterer struct {
// contains filtered or unexported fields
}
Bep20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBep20Filterer ¶
func NewBep20Filterer(address common.Address, filterer bind.ContractFilterer) (*Bep20Filterer, error)
NewBep20Filterer creates a new log filterer instance of Bep20, bound to a specific deployed contract.
func (*Bep20Filterer) FilterApproval ¶
func (_Bep20 *Bep20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Bep20ApprovalIterator, 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 (*Bep20Filterer) FilterTransfer ¶
func (_Bep20 *Bep20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Bep20TransferIterator, 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 (*Bep20Filterer) ParseApproval ¶
func (_Bep20 *Bep20Filterer) ParseApproval(log types.Log) (*Bep20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*Bep20Filterer) ParseTransfer ¶
func (_Bep20 *Bep20Filterer) ParseTransfer(log types.Log) (*Bep20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*Bep20Filterer) WatchApproval ¶
func (_Bep20 *Bep20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Bep20Approval, 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 (*Bep20Filterer) WatchTransfer ¶
func (_Bep20 *Bep20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Bep20Transfer, 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 Bep20Raw ¶
type Bep20Raw struct {
Contract *Bep20 // Generic contract binding to access the raw methods on
}
Bep20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Bep20Raw) Call ¶
func (_Bep20 *Bep20Raw) 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 (*Bep20Raw) Transact ¶
func (_Bep20 *Bep20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Bep20Raw) Transfer ¶
func (_Bep20 *Bep20Raw) 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 Bep20Session ¶
type Bep20Session struct { Contract *Bep20 // 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 }
Bep20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Bep20Session) Allowance ¶
func (_Bep20 *Bep20Session) 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 (*Bep20Session) Approve ¶
func (_Bep20 *Bep20Session) 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 (*Bep20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Bep20Session) Decimals ¶
func (_Bep20 *Bep20Session) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*Bep20Session) GetOwner ¶
func (_Bep20 *Bep20Session) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*Bep20Session) Name ¶
func (_Bep20 *Bep20Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Bep20Session) Symbol ¶
func (_Bep20 *Bep20Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Bep20Session) TotalSupply ¶
func (_Bep20 *Bep20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*Bep20Session) Transfer ¶
func (_Bep20 *Bep20Session) 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 (*Bep20Session) TransferFrom ¶
func (_Bep20 *Bep20Session) 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 Bep20Transactor ¶
type Bep20Transactor struct {
// contains filtered or unexported fields
}
Bep20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBep20Transactor ¶
func NewBep20Transactor(address common.Address, transactor bind.ContractTransactor) (*Bep20Transactor, error)
NewBep20Transactor creates a new write-only instance of Bep20, bound to a specific deployed contract.
func (*Bep20Transactor) Approve ¶
func (_Bep20 *Bep20Transactor) 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 (*Bep20Transactor) Transfer ¶
func (_Bep20 *Bep20Transactor) 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 (*Bep20Transactor) TransferFrom ¶
func (_Bep20 *Bep20Transactor) 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 Bep20TransactorRaw ¶
type Bep20TransactorRaw struct {
Contract *Bep20Transactor // Generic write-only contract binding to access the raw methods on
}
Bep20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Bep20TransactorRaw) Transact ¶
func (_Bep20 *Bep20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Bep20TransactorRaw) Transfer ¶
func (_Bep20 *Bep20TransactorRaw) 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 Bep20TransactorSession ¶
type Bep20TransactorSession struct { Contract *Bep20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Bep20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Bep20TransactorSession) Approve ¶
func (_Bep20 *Bep20TransactorSession) 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 (*Bep20TransactorSession) Transfer ¶
func (_Bep20 *Bep20TransactorSession) 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 (*Bep20TransactorSession) TransferFrom ¶
func (_Bep20 *Bep20TransactorSession) 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 Bep20Transfer ¶
type Bep20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Bep20Transfer represents a Transfer event raised by the Bep20 contract.
type Bep20TransferIterator ¶
type Bep20TransferIterator struct { Event *Bep20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Bep20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Bep20 contract.
func (*Bep20TransferIterator) Close ¶
func (it *Bep20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Bep20TransferIterator) Error ¶
func (it *Bep20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Bep20TransferIterator) Next ¶
func (it *Bep20TransferIterator) 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.