Documentation ¶
Index ¶
- Variables
- type IcmToken
- type IcmTokenApproval
- type IcmTokenApprovalIterator
- type IcmTokenCaller
- func (_IcmToken *IcmTokenCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_IcmToken *IcmTokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_IcmToken *IcmTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_IcmToken *IcmTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_IcmToken *IcmTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_IcmToken *IcmTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_IcmToken *IcmTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IcmTokenCallerRaw
- type IcmTokenCallerSession
- func (_IcmToken *IcmTokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_IcmToken *IcmTokenCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_IcmToken *IcmTokenCallerSession) Decimals() (uint8, error)
- func (_IcmToken *IcmTokenCallerSession) Name() (string, error)
- func (_IcmToken *IcmTokenCallerSession) Owner() (common.Address, error)
- func (_IcmToken *IcmTokenCallerSession) Symbol() (string, error)
- func (_IcmToken *IcmTokenCallerSession) TotalSupply() (*big.Int, error)
- type IcmTokenFilterer
- func (_IcmToken *IcmTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IcmTokenApprovalIterator, error)
- func (_IcmToken *IcmTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*IcmTokenOwnershipTransferredIterator, error)
- func (_IcmToken *IcmTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IcmTokenTransferIterator, error)
- func (_IcmToken *IcmTokenFilterer) ParseApproval(log types.Log) (*IcmTokenApproval, error)
- func (_IcmToken *IcmTokenFilterer) ParseOwnershipTransferred(log types.Log) (*IcmTokenOwnershipTransferred, error)
- func (_IcmToken *IcmTokenFilterer) ParseTransfer(log types.Log) (*IcmTokenTransfer, error)
- func (_IcmToken *IcmTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IcmTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_IcmToken *IcmTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IcmTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_IcmToken *IcmTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IcmTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type IcmTokenOwnershipTransferred
- type IcmTokenOwnershipTransferredIterator
- type IcmTokenRaw
- func (_IcmToken *IcmTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IcmToken *IcmTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IcmToken *IcmTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IcmTokenSession
- func (_IcmToken *IcmTokenSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_IcmToken *IcmTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_IcmToken *IcmTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenSession) Decimals() (uint8, error)
- func (_IcmToken *IcmTokenSession) Name() (string, error)
- func (_IcmToken *IcmTokenSession) Owner() (common.Address, error)
- func (_IcmToken *IcmTokenSession) OwnerMint(_address common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_IcmToken *IcmTokenSession) Symbol() (string, error)
- func (_IcmToken *IcmTokenSession) TotalSupply() (*big.Int, error)
- func (_IcmToken *IcmTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type IcmTokenTransactor
- func (_IcmToken *IcmTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactor) OwnerMint(opts *bind.TransactOpts, _address common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type IcmTokenTransactorRaw
- type IcmTokenTransactorSession
- func (_IcmToken *IcmTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactorSession) OwnerMint(_address common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IcmToken *IcmTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type IcmTokenTransfer
- type IcmTokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var IcmTokenABI = IcmTokenMetaData.ABI
IcmTokenABI is the input ABI used to generate the binding from. Deprecated: Use IcmTokenMetaData.ABI instead.
var IcmTokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ownerMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IcmTokenMetaData contains all meta data concerning the IcmToken contract.
Functions ¶
This section is empty.
Types ¶
type IcmToken ¶
type IcmToken struct { IcmTokenCaller // Read-only binding to the contract IcmTokenTransactor // Write-only binding to the contract IcmTokenFilterer // Log filterer for contract events }
IcmToken is an auto generated Go binding around an Ethereum contract.
func NewIcmToken ¶
NewIcmToken creates a new instance of IcmToken, bound to a specific deployed contract.
type IcmTokenApproval ¶
type IcmTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IcmTokenApproval represents a Approval event raised by the IcmToken contract.
type IcmTokenApprovalIterator ¶
type IcmTokenApprovalIterator struct { Event *IcmTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IcmTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IcmToken contract.
func (*IcmTokenApprovalIterator) Close ¶
func (it *IcmTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IcmTokenApprovalIterator) Error ¶
func (it *IcmTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IcmTokenApprovalIterator) Next ¶
func (it *IcmTokenApprovalIterator) 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 IcmTokenCaller ¶
type IcmTokenCaller struct {
// contains filtered or unexported fields
}
IcmTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIcmTokenCaller ¶
func NewIcmTokenCaller(address common.Address, caller bind.ContractCaller) (*IcmTokenCaller, error)
NewIcmTokenCaller creates a new read-only instance of IcmToken, bound to a specific deployed contract.
func (*IcmTokenCaller) Allowance ¶
func (_IcmToken *IcmTokenCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*IcmTokenCaller) BalanceOf ¶
func (_IcmToken *IcmTokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*IcmTokenCaller) Decimals ¶
func (_IcmToken *IcmTokenCaller) 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 (*IcmTokenCaller) Name ¶
func (_IcmToken *IcmTokenCaller) 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 (*IcmTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IcmTokenCaller) Symbol ¶
func (_IcmToken *IcmTokenCaller) 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 (*IcmTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IcmTokenCallerRaw ¶
type IcmTokenCallerRaw struct {
Contract *IcmTokenCaller // Generic read-only contract binding to access the raw methods on
}
IcmTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IcmTokenCallerRaw) Call ¶
func (_IcmToken *IcmTokenCallerRaw) 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 IcmTokenCallerSession ¶
type IcmTokenCallerSession struct { Contract *IcmTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IcmTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IcmTokenCallerSession) Allowance ¶
func (_IcmToken *IcmTokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*IcmTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*IcmTokenCallerSession) Decimals ¶
func (_IcmToken *IcmTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*IcmTokenCallerSession) Name ¶
func (_IcmToken *IcmTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*IcmTokenCallerSession) Owner ¶
func (_IcmToken *IcmTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IcmTokenCallerSession) Symbol ¶
func (_IcmToken *IcmTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*IcmTokenCallerSession) TotalSupply ¶
func (_IcmToken *IcmTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IcmTokenFilterer ¶
type IcmTokenFilterer struct {
// contains filtered or unexported fields
}
IcmTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract entities.
func NewIcmTokenFilterer ¶
func NewIcmTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*IcmTokenFilterer, error)
NewIcmTokenFilterer creates a new log filterer instance of IcmToken, bound to a specific deployed contract.
func (*IcmTokenFilterer) FilterApproval ¶
func (_IcmToken *IcmTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IcmTokenApprovalIterator, 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 (*IcmTokenFilterer) FilterOwnershipTransferred ¶
func (_IcmToken *IcmTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IcmTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IcmTokenFilterer) FilterTransfer ¶
func (_IcmToken *IcmTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IcmTokenTransferIterator, 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 (*IcmTokenFilterer) ParseApproval ¶
func (_IcmToken *IcmTokenFilterer) ParseApproval(log types.Log) (*IcmTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IcmTokenFilterer) ParseOwnershipTransferred ¶
func (_IcmToken *IcmTokenFilterer) ParseOwnershipTransferred(log types.Log) (*IcmTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IcmTokenFilterer) ParseTransfer ¶
func (_IcmToken *IcmTokenFilterer) ParseTransfer(log types.Log) (*IcmTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IcmTokenFilterer) WatchApproval ¶
func (_IcmToken *IcmTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IcmTokenApproval, 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 (*IcmTokenFilterer) WatchOwnershipTransferred ¶
func (_IcmToken *IcmTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IcmTokenOwnershipTransferred, 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 (*IcmTokenFilterer) WatchTransfer ¶
func (_IcmToken *IcmTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IcmTokenTransfer, 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 IcmTokenOwnershipTransferred ¶
type IcmTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
IcmTokenOwnershipTransferred represents a OwnershipTransferred event raised by the IcmToken contract.
type IcmTokenOwnershipTransferredIterator ¶
type IcmTokenOwnershipTransferredIterator struct { Event *IcmTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IcmTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the IcmToken contract.
func (*IcmTokenOwnershipTransferredIterator) Close ¶
func (it *IcmTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IcmTokenOwnershipTransferredIterator) Error ¶
func (it *IcmTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IcmTokenOwnershipTransferredIterator) Next ¶
func (it *IcmTokenOwnershipTransferredIterator) 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 IcmTokenRaw ¶
type IcmTokenRaw struct {
Contract *IcmToken // Generic contract binding to access the raw methods on
}
IcmTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IcmTokenRaw) Call ¶
func (_IcmToken *IcmTokenRaw) 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 (*IcmTokenRaw) Transact ¶
func (_IcmToken *IcmTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IcmTokenRaw) Transfer ¶
func (_IcmToken *IcmTokenRaw) 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 IcmTokenSession ¶
type IcmTokenSession struct { Contract *IcmToken // 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 }
IcmTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IcmTokenSession) Allowance ¶
func (_IcmToken *IcmTokenSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*IcmTokenSession) Approve ¶
func (_IcmToken *IcmTokenSession) 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 (*IcmTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*IcmTokenSession) Burn ¶
func (_IcmToken *IcmTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*IcmTokenSession) Decimals ¶
func (_IcmToken *IcmTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*IcmTokenSession) Name ¶
func (_IcmToken *IcmTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*IcmTokenSession) Owner ¶
func (_IcmToken *IcmTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IcmTokenSession) OwnerMint ¶
func (_IcmToken *IcmTokenSession) OwnerMint(_address common.Address, amount *big.Int) (*types.Transaction, error)
OwnerMint is a paid mutator transaction binding the contract method 0x484b973c.
Solidity: function ownerMint(address _address, uint256 amount) returns()
func (*IcmTokenSession) RenounceOwnership ¶
func (_IcmToken *IcmTokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IcmTokenSession) Symbol ¶
func (_IcmToken *IcmTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*IcmTokenSession) TotalSupply ¶
func (_IcmToken *IcmTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IcmTokenSession) Transfer ¶
func (_IcmToken *IcmTokenSession) 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 (*IcmTokenSession) TransferFrom ¶
func (_IcmToken *IcmTokenSession) 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)
func (*IcmTokenSession) TransferOwnership ¶
func (_IcmToken *IcmTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type IcmTokenTransactor ¶
type IcmTokenTransactor struct {
// contains filtered or unexported fields
}
IcmTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIcmTokenTransactor ¶
func NewIcmTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*IcmTokenTransactor, error)
NewIcmTokenTransactor creates a new write-only instance of IcmToken, bound to a specific deployed contract.
func (*IcmTokenTransactor) Approve ¶
func (_IcmToken *IcmTokenTransactor) 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 (*IcmTokenTransactor) Burn ¶
func (_IcmToken *IcmTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*IcmTokenTransactor) OwnerMint ¶
func (_IcmToken *IcmTokenTransactor) OwnerMint(opts *bind.TransactOpts, _address common.Address, amount *big.Int) (*types.Transaction, error)
OwnerMint is a paid mutator transaction binding the contract method 0x484b973c.
Solidity: function ownerMint(address _address, uint256 amount) returns()
func (*IcmTokenTransactor) RenounceOwnership ¶
func (_IcmToken *IcmTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IcmTokenTransactor) Transfer ¶
func (_IcmToken *IcmTokenTransactor) 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 (*IcmTokenTransactor) TransferFrom ¶
func (_IcmToken *IcmTokenTransactor) 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)
func (*IcmTokenTransactor) TransferOwnership ¶
func (_IcmToken *IcmTokenTransactor) 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()
type IcmTokenTransactorRaw ¶
type IcmTokenTransactorRaw struct {
Contract *IcmTokenTransactor // Generic write-only contract binding to access the raw methods on
}
IcmTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IcmTokenTransactorRaw) Transact ¶
func (_IcmToken *IcmTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IcmTokenTransactorRaw) Transfer ¶
func (_IcmToken *IcmTokenTransactorRaw) 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 IcmTokenTransactorSession ¶
type IcmTokenTransactorSession struct { Contract *IcmTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IcmTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IcmTokenTransactorSession) Approve ¶
func (_IcmToken *IcmTokenTransactorSession) 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 (*IcmTokenTransactorSession) Burn ¶
func (_IcmToken *IcmTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*IcmTokenTransactorSession) OwnerMint ¶
func (_IcmToken *IcmTokenTransactorSession) OwnerMint(_address common.Address, amount *big.Int) (*types.Transaction, error)
OwnerMint is a paid mutator transaction binding the contract method 0x484b973c.
Solidity: function ownerMint(address _address, uint256 amount) returns()
func (*IcmTokenTransactorSession) RenounceOwnership ¶
func (_IcmToken *IcmTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IcmTokenTransactorSession) Transfer ¶
func (_IcmToken *IcmTokenTransactorSession) 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 (*IcmTokenTransactorSession) TransferFrom ¶
func (_IcmToken *IcmTokenTransactorSession) 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)
func (*IcmTokenTransactorSession) TransferOwnership ¶
func (_IcmToken *IcmTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type IcmTokenTransfer ¶
type IcmTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IcmTokenTransfer represents a Transfer event raised by the IcmToken contract.
type IcmTokenTransferIterator ¶
type IcmTokenTransferIterator struct { Event *IcmTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IcmTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IcmToken contract.
func (*IcmTokenTransferIterator) Close ¶
func (it *IcmTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IcmTokenTransferIterator) Error ¶
func (it *IcmTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IcmTokenTransferIterator) Next ¶
func (it *IcmTokenTransferIterator) 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.