Documentation ¶
Index ¶
- Variables
- type MorpheusToken
- type MorpheusTokenApproval
- type MorpheusTokenApprovalIterator
- type MorpheusTokenCaller
- func (_MorpheusToken *MorpheusTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_MorpheusToken *MorpheusTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_MorpheusToken *MorpheusTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_MorpheusToken *MorpheusTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_MorpheusToken *MorpheusTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_MorpheusToken *MorpheusTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type MorpheusTokenCallerRaw
- type MorpheusTokenCallerSession
- func (_MorpheusToken *MorpheusTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_MorpheusToken *MorpheusTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_MorpheusToken *MorpheusTokenCallerSession) Decimals() (uint8, error)
- func (_MorpheusToken *MorpheusTokenCallerSession) Name() (string, error)
- func (_MorpheusToken *MorpheusTokenCallerSession) Symbol() (string, error)
- func (_MorpheusToken *MorpheusTokenCallerSession) TotalSupply() (*big.Int, error)
- type MorpheusTokenFilterer
- func (_MorpheusToken *MorpheusTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MorpheusTokenApprovalIterator, error)
- func (_MorpheusToken *MorpheusTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MorpheusTokenTransferIterator, error)
- func (_MorpheusToken *MorpheusTokenFilterer) ParseApproval(log types.Log) (*MorpheusTokenApproval, error)
- func (_MorpheusToken *MorpheusTokenFilterer) ParseTransfer(log types.Log) (*MorpheusTokenTransfer, error)
- func (_MorpheusToken *MorpheusTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MorpheusTokenApproval, ...) (event.Subscription, error)
- func (_MorpheusToken *MorpheusTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MorpheusTokenTransfer, ...) (event.Subscription, error)
- type MorpheusTokenRaw
- func (_MorpheusToken *MorpheusTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MorpheusToken *MorpheusTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MorpheusToken *MorpheusTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MorpheusTokenSession
- func (_MorpheusToken *MorpheusTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_MorpheusToken *MorpheusTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_MorpheusToken *MorpheusTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_MorpheusToken *MorpheusTokenSession) Decimals() (uint8, error)
- func (_MorpheusToken *MorpheusTokenSession) Name() (string, error)
- func (_MorpheusToken *MorpheusTokenSession) Symbol() (string, error)
- func (_MorpheusToken *MorpheusTokenSession) TotalSupply() (*big.Int, error)
- func (_MorpheusToken *MorpheusTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_MorpheusToken *MorpheusTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type MorpheusTokenTransactor
- func (_MorpheusToken *MorpheusTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_MorpheusToken *MorpheusTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_MorpheusToken *MorpheusTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type MorpheusTokenTransactorRaw
- type MorpheusTokenTransactorSession
- func (_MorpheusToken *MorpheusTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_MorpheusToken *MorpheusTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_MorpheusToken *MorpheusTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type MorpheusTokenTransfer
- type MorpheusTokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var MorpheusTokenABI = MorpheusTokenMetaData.ABI
MorpheusTokenABI is the input ABI used to generate the binding from. Deprecated: Use MorpheusTokenMetaData.ABI instead.
var MorpheusTokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
MorpheusTokenMetaData contains all meta data concerning the MorpheusToken contract.
Functions ¶
This section is empty.
Types ¶
type MorpheusToken ¶
type MorpheusToken struct { MorpheusTokenCaller // Read-only binding to the contract MorpheusTokenTransactor // Write-only binding to the contract MorpheusTokenFilterer // Log filterer for contract events }
MorpheusToken is an auto generated Go binding around an Ethereum contract.
func NewMorpheusToken ¶
func NewMorpheusToken(address common.Address, backend bind.ContractBackend) (*MorpheusToken, error)
NewMorpheusToken creates a new instance of MorpheusToken, bound to a specific deployed contract.
type MorpheusTokenApproval ¶
type MorpheusTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MorpheusTokenApproval represents a Approval event raised by the MorpheusToken contract.
type MorpheusTokenApprovalIterator ¶
type MorpheusTokenApprovalIterator struct { Event *MorpheusTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MorpheusTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MorpheusToken contract.
func (*MorpheusTokenApprovalIterator) Close ¶
func (it *MorpheusTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MorpheusTokenApprovalIterator) Error ¶
func (it *MorpheusTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MorpheusTokenApprovalIterator) Next ¶
func (it *MorpheusTokenApprovalIterator) 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 MorpheusTokenCaller ¶
type MorpheusTokenCaller struct {
// contains filtered or unexported fields
}
MorpheusTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMorpheusTokenCaller ¶
func NewMorpheusTokenCaller(address common.Address, caller bind.ContractCaller) (*MorpheusTokenCaller, error)
NewMorpheusTokenCaller creates a new read-only instance of MorpheusToken, bound to a specific deployed contract.
func (*MorpheusTokenCaller) Allowance ¶
func (_MorpheusToken *MorpheusTokenCaller) 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 (*MorpheusTokenCaller) BalanceOf ¶
func (_MorpheusToken *MorpheusTokenCaller) 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 (*MorpheusTokenCaller) Decimals ¶
func (_MorpheusToken *MorpheusTokenCaller) 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 (*MorpheusTokenCaller) Name ¶
func (_MorpheusToken *MorpheusTokenCaller) 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 (*MorpheusTokenCaller) Symbol ¶
func (_MorpheusToken *MorpheusTokenCaller) 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 (*MorpheusTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MorpheusTokenCallerRaw ¶
type MorpheusTokenCallerRaw struct {
Contract *MorpheusTokenCaller // Generic read-only contract binding to access the raw methods on
}
MorpheusTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MorpheusTokenCallerRaw) Call ¶
func (_MorpheusToken *MorpheusTokenCallerRaw) 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 MorpheusTokenCallerSession ¶
type MorpheusTokenCallerSession struct { Contract *MorpheusTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MorpheusTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MorpheusTokenCallerSession) Allowance ¶
func (_MorpheusToken *MorpheusTokenCallerSession) 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 (*MorpheusTokenCallerSession) BalanceOf ¶
func (_MorpheusToken *MorpheusTokenCallerSession) BalanceOf(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 (*MorpheusTokenCallerSession) Decimals ¶
func (_MorpheusToken *MorpheusTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*MorpheusTokenCallerSession) Name ¶
func (_MorpheusToken *MorpheusTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MorpheusTokenCallerSession) Symbol ¶
func (_MorpheusToken *MorpheusTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*MorpheusTokenCallerSession) TotalSupply ¶
func (_MorpheusToken *MorpheusTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type MorpheusTokenFilterer ¶
type MorpheusTokenFilterer struct {
// contains filtered or unexported fields
}
MorpheusTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMorpheusTokenFilterer ¶
func NewMorpheusTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*MorpheusTokenFilterer, error)
NewMorpheusTokenFilterer creates a new log filterer instance of MorpheusToken, bound to a specific deployed contract.
func (*MorpheusTokenFilterer) FilterApproval ¶
func (_MorpheusToken *MorpheusTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MorpheusTokenApprovalIterator, 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 (*MorpheusTokenFilterer) FilterTransfer ¶
func (_MorpheusToken *MorpheusTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MorpheusTokenTransferIterator, 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 (*MorpheusTokenFilterer) ParseApproval ¶
func (_MorpheusToken *MorpheusTokenFilterer) ParseApproval(log types.Log) (*MorpheusTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*MorpheusTokenFilterer) ParseTransfer ¶
func (_MorpheusToken *MorpheusTokenFilterer) ParseTransfer(log types.Log) (*MorpheusTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*MorpheusTokenFilterer) WatchApproval ¶
func (_MorpheusToken *MorpheusTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MorpheusTokenApproval, 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 (*MorpheusTokenFilterer) WatchTransfer ¶
func (_MorpheusToken *MorpheusTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MorpheusTokenTransfer, 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 MorpheusTokenRaw ¶
type MorpheusTokenRaw struct {
Contract *MorpheusToken // Generic contract binding to access the raw methods on
}
MorpheusTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MorpheusTokenRaw) Call ¶
func (_MorpheusToken *MorpheusTokenRaw) 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 (*MorpheusTokenRaw) Transact ¶
func (_MorpheusToken *MorpheusTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MorpheusTokenRaw) Transfer ¶
func (_MorpheusToken *MorpheusTokenRaw) 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 MorpheusTokenSession ¶
type MorpheusTokenSession struct { Contract *MorpheusToken // 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 }
MorpheusTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MorpheusTokenSession) Allowance ¶
func (_MorpheusToken *MorpheusTokenSession) 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 (*MorpheusTokenSession) Approve ¶
func (_MorpheusToken *MorpheusTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*MorpheusTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*MorpheusTokenSession) Decimals ¶
func (_MorpheusToken *MorpheusTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*MorpheusTokenSession) Name ¶
func (_MorpheusToken *MorpheusTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*MorpheusTokenSession) Symbol ¶
func (_MorpheusToken *MorpheusTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*MorpheusTokenSession) TotalSupply ¶
func (_MorpheusToken *MorpheusTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*MorpheusTokenSession) Transfer ¶
func (_MorpheusToken *MorpheusTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*MorpheusTokenSession) TransferFrom ¶
func (_MorpheusToken *MorpheusTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type MorpheusTokenTransactor ¶
type MorpheusTokenTransactor struct {
// contains filtered or unexported fields
}
MorpheusTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMorpheusTokenTransactor ¶
func NewMorpheusTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*MorpheusTokenTransactor, error)
NewMorpheusTokenTransactor creates a new write-only instance of MorpheusToken, bound to a specific deployed contract.
func (*MorpheusTokenTransactor) Approve ¶
func (_MorpheusToken *MorpheusTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*MorpheusTokenTransactor) Transfer ¶
func (_MorpheusToken *MorpheusTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*MorpheusTokenTransactor) TransferFrom ¶
func (_MorpheusToken *MorpheusTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type MorpheusTokenTransactorRaw ¶
type MorpheusTokenTransactorRaw struct {
Contract *MorpheusTokenTransactor // Generic write-only contract binding to access the raw methods on
}
MorpheusTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MorpheusTokenTransactorRaw) Transact ¶
func (_MorpheusToken *MorpheusTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MorpheusTokenTransactorRaw) Transfer ¶
func (_MorpheusToken *MorpheusTokenTransactorRaw) 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 MorpheusTokenTransactorSession ¶
type MorpheusTokenTransactorSession struct { Contract *MorpheusTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MorpheusTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MorpheusTokenTransactorSession) Approve ¶
func (_MorpheusToken *MorpheusTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*MorpheusTokenTransactorSession) Transfer ¶
func (_MorpheusToken *MorpheusTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*MorpheusTokenTransactorSession) TransferFrom ¶
func (_MorpheusToken *MorpheusTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type MorpheusTokenTransfer ¶
type MorpheusTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MorpheusTokenTransfer represents a Transfer event raised by the MorpheusToken contract.
type MorpheusTokenTransferIterator ¶
type MorpheusTokenTransferIterator struct { Event *MorpheusTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MorpheusTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MorpheusToken contract.
func (*MorpheusTokenTransferIterator) Close ¶
func (it *MorpheusTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MorpheusTokenTransferIterator) Error ¶
func (it *MorpheusTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MorpheusTokenTransferIterator) Next ¶
func (it *MorpheusTokenTransferIterator) 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.