Documentation ¶
Index ¶
- Variables
- type BankModule
- type BankModuleBurn
- type BankModuleBurnIterator
- type BankModuleCaller
- func (_BankModule *BankModuleCaller) GetAllBalances(opts *bind.CallOpts, accountAddress common.Address) ([]CosmosCoin, error)
- func (_BankModule *BankModuleCaller) GetAllSpendableBalances(opts *bind.CallOpts, accountAddress common.Address) ([]CosmosCoin, error)
- func (_BankModule *BankModuleCaller) GetAllSupply(opts *bind.CallOpts) ([]CosmosCoin, error)
- func (_BankModule *BankModuleCaller) GetBalance(opts *bind.CallOpts, accountAddress common.Address, denom string) (*big.Int, error)
- func (_BankModule *BankModuleCaller) GetDenomMetadata(opts *bind.CallOpts, denom string) (IBankModuleDenomMetadata, error)
- func (_BankModule *BankModuleCaller) GetSendEnabled(opts *bind.CallOpts, denom string) (bool, error)
- func (_BankModule *BankModuleCaller) GetSpendableBalance(opts *bind.CallOpts, accountAddress common.Address, denom string) (*big.Int, error)
- func (_BankModule *BankModuleCaller) GetSupply(opts *bind.CallOpts, denom string) (*big.Int, error)
- type BankModuleCallerRaw
- type BankModuleCallerSession
- func (_BankModule *BankModuleCallerSession) GetAllBalances(accountAddress common.Address) ([]CosmosCoin, error)
- func (_BankModule *BankModuleCallerSession) GetAllSpendableBalances(accountAddress common.Address) ([]CosmosCoin, error)
- func (_BankModule *BankModuleCallerSession) GetAllSupply() ([]CosmosCoin, error)
- func (_BankModule *BankModuleCallerSession) GetBalance(accountAddress common.Address, denom string) (*big.Int, error)
- func (_BankModule *BankModuleCallerSession) GetDenomMetadata(denom string) (IBankModuleDenomMetadata, error)
- func (_BankModule *BankModuleCallerSession) GetSendEnabled(denom string) (bool, error)
- func (_BankModule *BankModuleCallerSession) GetSpendableBalance(accountAddress common.Address, denom string) (*big.Int, error)
- func (_BankModule *BankModuleCallerSession) GetSupply(denom string) (*big.Int, error)
- type BankModuleCoinReceived
- type BankModuleCoinReceivedIterator
- type BankModuleCoinSpent
- type BankModuleCoinSpentIterator
- type BankModuleCoinbase
- type BankModuleCoinbaseIterator
- type BankModuleFilterer
- func (_BankModule *BankModuleFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*BankModuleBurnIterator, error)
- func (_BankModule *BankModuleFilterer) FilterCoinReceived(opts *bind.FilterOpts, receiver []common.Address) (*BankModuleCoinReceivedIterator, error)
- func (_BankModule *BankModuleFilterer) FilterCoinSpent(opts *bind.FilterOpts, spender []common.Address) (*BankModuleCoinSpentIterator, error)
- func (_BankModule *BankModuleFilterer) FilterCoinbase(opts *bind.FilterOpts, minter []common.Address) (*BankModuleCoinbaseIterator, error)
- func (_BankModule *BankModuleFilterer) FilterMessage(opts *bind.FilterOpts, sender []common.Address) (*BankModuleMessageIterator, error)
- func (_BankModule *BankModuleFilterer) FilterTransfer(opts *bind.FilterOpts, recipient []common.Address) (*BankModuleTransferIterator, error)
- func (_BankModule *BankModuleFilterer) ParseBurn(log types.Log) (*BankModuleBurn, error)
- func (_BankModule *BankModuleFilterer) ParseCoinReceived(log types.Log) (*BankModuleCoinReceived, error)
- func (_BankModule *BankModuleFilterer) ParseCoinSpent(log types.Log) (*BankModuleCoinSpent, error)
- func (_BankModule *BankModuleFilterer) ParseCoinbase(log types.Log) (*BankModuleCoinbase, error)
- func (_BankModule *BankModuleFilterer) ParseMessage(log types.Log) (*BankModuleMessage, error)
- func (_BankModule *BankModuleFilterer) ParseTransfer(log types.Log) (*BankModuleTransfer, error)
- func (_BankModule *BankModuleFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *BankModuleBurn, burner []common.Address) (event.Subscription, error)
- func (_BankModule *BankModuleFilterer) WatchCoinReceived(opts *bind.WatchOpts, sink chan<- *BankModuleCoinReceived, ...) (event.Subscription, error)
- func (_BankModule *BankModuleFilterer) WatchCoinSpent(opts *bind.WatchOpts, sink chan<- *BankModuleCoinSpent, ...) (event.Subscription, error)
- func (_BankModule *BankModuleFilterer) WatchCoinbase(opts *bind.WatchOpts, sink chan<- *BankModuleCoinbase, minter []common.Address) (event.Subscription, error)
- func (_BankModule *BankModuleFilterer) WatchMessage(opts *bind.WatchOpts, sink chan<- *BankModuleMessage, sender []common.Address) (event.Subscription, error)
- func (_BankModule *BankModuleFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BankModuleTransfer, ...) (event.Subscription, error)
- type BankModuleMessage
- type BankModuleMessageIterator
- type BankModuleRaw
- func (_BankModule *BankModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BankModule *BankModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BankModule *BankModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BankModuleSession
- func (_BankModule *BankModuleSession) GetAllBalances(accountAddress common.Address) ([]CosmosCoin, error)
- func (_BankModule *BankModuleSession) GetAllSpendableBalances(accountAddress common.Address) ([]CosmosCoin, error)
- func (_BankModule *BankModuleSession) GetAllSupply() ([]CosmosCoin, error)
- func (_BankModule *BankModuleSession) GetBalance(accountAddress common.Address, denom string) (*big.Int, error)
- func (_BankModule *BankModuleSession) GetDenomMetadata(denom string) (IBankModuleDenomMetadata, error)
- func (_BankModule *BankModuleSession) GetSendEnabled(denom string) (bool, error)
- func (_BankModule *BankModuleSession) GetSpendableBalance(accountAddress common.Address, denom string) (*big.Int, error)
- func (_BankModule *BankModuleSession) GetSupply(denom string) (*big.Int, error)
- func (_BankModule *BankModuleSession) Send(fromAddress common.Address, toAddress common.Address, amount []CosmosCoin) (*types.Transaction, error)
- type BankModuleTransactor
- type BankModuleTransactorRaw
- type BankModuleTransactorSession
- type BankModuleTransfer
- type BankModuleTransferIterator
- type CosmosCoin
- type IBankModuleDenomMetadata
- type IBankModuleDenomUnit
Constants ¶
This section is empty.
Variables ¶
var BankModuleABI = BankModuleMetaData.ABI
BankModuleABI is the input ABI used to generate the binding from. Deprecated: Use BankModuleMetaData.ABI instead.
var BankModuleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"burner\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"indexed\":false,\"internalType\":\"structCosmos.Coin[]\",\"name\":\"amount\",\"type\":\"tuple[]\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"indexed\":false,\"internalType\":\"structCosmos.Coin[]\",\"name\":\"amount\",\"type\":\"tuple[]\"}],\"name\":\"CoinReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"indexed\":false,\"internalType\":\"structCosmos.Coin[]\",\"name\":\"amount\",\"type\":\"tuple[]\"}],\"name\":\"CoinSpent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"indexed\":false,\"internalType\":\"structCosmos.Coin[]\",\"name\":\"amount\",\"type\":\"tuple[]\"}],\"name\":\"Coinbase\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"Message\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"indexed\":false,\"internalType\":\"structCosmos.Coin[]\",\"name\":\"amount\",\"type\":\"tuple[]\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"}],\"name\":\"getAllBalances\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"internalType\":\"structCosmos.Coin[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"}],\"name\":\"getAllSpendableBalances\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"internalType\":\"structCosmos.Coin[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllSupply\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"internalType\":\"structCosmos.Coin[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"name\":\"getDenomMetadata\",\"outputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"aliases\",\"type\":\"string[]\"},{\"internalType\":\"uint32\",\"name\":\"exponent\",\"type\":\"uint32\"}],\"internalType\":\"structIBankModule.DenomUnit[]\",\"name\":\"denomUnits\",\"type\":\"tuple[]\"},{\"internalType\":\"string\",\"name\":\"base\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"display\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"internalType\":\"structIBankModule.DenomMetadata\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"name\":\"getSendEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"name\":\"getSpendableBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"name\":\"getSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"fromAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"internalType\":\"structCosmos.Coin[]\",\"name\":\"amount\",\"type\":\"tuple[]\"}],\"name\":\"send\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}
BankModuleMetaData contains all meta data concerning the BankModule contract.
Functions ¶
This section is empty.
Types ¶
type BankModule ¶
type BankModule struct { BankModuleCaller // Read-only binding to the contract BankModuleTransactor // Write-only binding to the contract BankModuleFilterer // Log filterer for contract events }
BankModule is an auto generated Go binding around an Ethereum contract.
func NewBankModule ¶
func NewBankModule(address common.Address, backend bind.ContractBackend) (*BankModule, error)
NewBankModule creates a new instance of BankModule, bound to a specific deployed contract.
type BankModuleBurn ¶
type BankModuleBurn struct { Burner common.Address Amount []CosmosCoin Raw types.Log // Blockchain specific contextual infos }
BankModuleBurn represents a Burn event raised by the BankModule contract.
type BankModuleBurnIterator ¶
type BankModuleBurnIterator struct { Event *BankModuleBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BankModuleBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the BankModule contract.
func (*BankModuleBurnIterator) Close ¶
func (it *BankModuleBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BankModuleBurnIterator) Error ¶
func (it *BankModuleBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BankModuleBurnIterator) Next ¶
func (it *BankModuleBurnIterator) 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 BankModuleCaller ¶
type BankModuleCaller struct {
// contains filtered or unexported fields
}
BankModuleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBankModuleCaller ¶
func NewBankModuleCaller(address common.Address, caller bind.ContractCaller) (*BankModuleCaller, error)
NewBankModuleCaller creates a new read-only instance of BankModule, bound to a specific deployed contract.
func (*BankModuleCaller) GetAllBalances ¶
func (_BankModule *BankModuleCaller) GetAllBalances(opts *bind.CallOpts, accountAddress common.Address) ([]CosmosCoin, error)
GetAllBalances is a free data retrieval call binding the contract method 0xc53d6ce1.
Solidity: function getAllBalances(address accountAddress) view returns((uint256,string)[])
func (*BankModuleCaller) GetAllSpendableBalances ¶
func (_BankModule *BankModuleCaller) GetAllSpendableBalances(opts *bind.CallOpts, accountAddress common.Address) ([]CosmosCoin, error)
GetAllSpendableBalances is a free data retrieval call binding the contract method 0x5c70e594.
Solidity: function getAllSpendableBalances(address accountAddress) view returns((uint256,string)[])
func (*BankModuleCaller) GetAllSupply ¶
func (_BankModule *BankModuleCaller) GetAllSupply(opts *bind.CallOpts) ([]CosmosCoin, error)
GetAllSupply is a free data retrieval call binding the contract method 0xf01c9474.
Solidity: function getAllSupply() view returns((uint256,string)[])
func (*BankModuleCaller) GetBalance ¶
func (_BankModule *BankModuleCaller) GetBalance(opts *bind.CallOpts, accountAddress common.Address, denom string) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x1dd7cecf.
Solidity: function getBalance(address accountAddress, string denom) view returns(uint256)
func (*BankModuleCaller) GetDenomMetadata ¶
func (_BankModule *BankModuleCaller) GetDenomMetadata(opts *bind.CallOpts, denom string) (IBankModuleDenomMetadata, error)
GetDenomMetadata is a free data retrieval call binding the contract method 0x52a6ea04.
Solidity: function getDenomMetadata(string denom) view returns((string,(string,string[],uint32)[],string,string,string,string))
func (*BankModuleCaller) GetSendEnabled ¶
func (_BankModule *BankModuleCaller) GetSendEnabled(opts *bind.CallOpts, denom string) (bool, error)
GetSendEnabled is a free data retrieval call binding the contract method 0x94047166.
Solidity: function getSendEnabled(string denom) view returns(bool)
func (*BankModuleCaller) GetSpendableBalance ¶
func (_BankModule *BankModuleCaller) GetSpendableBalance(opts *bind.CallOpts, accountAddress common.Address, denom string) (*big.Int, error)
GetSpendableBalance is a free data retrieval call binding the contract method 0x34d1fdaf.
Solidity: function getSpendableBalance(address accountAddress, string denom) view returns(uint256)
type BankModuleCallerRaw ¶
type BankModuleCallerRaw struct {
Contract *BankModuleCaller // Generic read-only contract binding to access the raw methods on
}
BankModuleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BankModuleCallerRaw) Call ¶
func (_BankModule *BankModuleCallerRaw) 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 BankModuleCallerSession ¶
type BankModuleCallerSession struct { Contract *BankModuleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BankModuleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BankModuleCallerSession) GetAllBalances ¶
func (_BankModule *BankModuleCallerSession) GetAllBalances(accountAddress common.Address) ([]CosmosCoin, error)
GetAllBalances is a free data retrieval call binding the contract method 0xc53d6ce1.
Solidity: function getAllBalances(address accountAddress) view returns((uint256,string)[])
func (*BankModuleCallerSession) GetAllSpendableBalances ¶
func (_BankModule *BankModuleCallerSession) GetAllSpendableBalances(accountAddress common.Address) ([]CosmosCoin, error)
GetAllSpendableBalances is a free data retrieval call binding the contract method 0x5c70e594.
Solidity: function getAllSpendableBalances(address accountAddress) view returns((uint256,string)[])
func (*BankModuleCallerSession) GetAllSupply ¶
func (_BankModule *BankModuleCallerSession) GetAllSupply() ([]CosmosCoin, error)
GetAllSupply is a free data retrieval call binding the contract method 0xf01c9474.
Solidity: function getAllSupply() view returns((uint256,string)[])
func (*BankModuleCallerSession) GetBalance ¶
func (_BankModule *BankModuleCallerSession) GetBalance(accountAddress common.Address, denom string) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x1dd7cecf.
Solidity: function getBalance(address accountAddress, string denom) view returns(uint256)
func (*BankModuleCallerSession) GetDenomMetadata ¶
func (_BankModule *BankModuleCallerSession) GetDenomMetadata(denom string) (IBankModuleDenomMetadata, error)
GetDenomMetadata is a free data retrieval call binding the contract method 0x52a6ea04.
Solidity: function getDenomMetadata(string denom) view returns((string,(string,string[],uint32)[],string,string,string,string))
func (*BankModuleCallerSession) GetSendEnabled ¶
func (_BankModule *BankModuleCallerSession) GetSendEnabled(denom string) (bool, error)
GetSendEnabled is a free data retrieval call binding the contract method 0x94047166.
Solidity: function getSendEnabled(string denom) view returns(bool)
func (*BankModuleCallerSession) GetSpendableBalance ¶
func (_BankModule *BankModuleCallerSession) GetSpendableBalance(accountAddress common.Address, denom string) (*big.Int, error)
GetSpendableBalance is a free data retrieval call binding the contract method 0x34d1fdaf.
Solidity: function getSpendableBalance(address accountAddress, string denom) view returns(uint256)
type BankModuleCoinReceived ¶
type BankModuleCoinReceived struct { Receiver common.Address Amount []CosmosCoin Raw types.Log // Blockchain specific contextual infos }
BankModuleCoinReceived represents a CoinReceived event raised by the BankModule contract.
type BankModuleCoinReceivedIterator ¶
type BankModuleCoinReceivedIterator struct { Event *BankModuleCoinReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BankModuleCoinReceivedIterator is returned from FilterCoinReceived and is used to iterate over the raw logs and unpacked data for CoinReceived events raised by the BankModule contract.
func (*BankModuleCoinReceivedIterator) Close ¶
func (it *BankModuleCoinReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BankModuleCoinReceivedIterator) Error ¶
func (it *BankModuleCoinReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BankModuleCoinReceivedIterator) Next ¶
func (it *BankModuleCoinReceivedIterator) 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 BankModuleCoinSpent ¶
type BankModuleCoinSpent struct { Spender common.Address Amount []CosmosCoin Raw types.Log // Blockchain specific contextual infos }
BankModuleCoinSpent represents a CoinSpent event raised by the BankModule contract.
type BankModuleCoinSpentIterator ¶
type BankModuleCoinSpentIterator struct { Event *BankModuleCoinSpent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BankModuleCoinSpentIterator is returned from FilterCoinSpent and is used to iterate over the raw logs and unpacked data for CoinSpent events raised by the BankModule contract.
func (*BankModuleCoinSpentIterator) Close ¶
func (it *BankModuleCoinSpentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BankModuleCoinSpentIterator) Error ¶
func (it *BankModuleCoinSpentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BankModuleCoinSpentIterator) Next ¶
func (it *BankModuleCoinSpentIterator) 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 BankModuleCoinbase ¶
type BankModuleCoinbase struct { Minter common.Address Amount []CosmosCoin Raw types.Log // Blockchain specific contextual infos }
BankModuleCoinbase represents a Coinbase event raised by the BankModule contract.
type BankModuleCoinbaseIterator ¶
type BankModuleCoinbaseIterator struct { Event *BankModuleCoinbase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BankModuleCoinbaseIterator is returned from FilterCoinbase and is used to iterate over the raw logs and unpacked data for Coinbase events raised by the BankModule contract.
func (*BankModuleCoinbaseIterator) Close ¶
func (it *BankModuleCoinbaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BankModuleCoinbaseIterator) Error ¶
func (it *BankModuleCoinbaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BankModuleCoinbaseIterator) Next ¶
func (it *BankModuleCoinbaseIterator) 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 BankModuleFilterer ¶
type BankModuleFilterer struct {
// contains filtered or unexported fields
}
BankModuleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBankModuleFilterer ¶
func NewBankModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*BankModuleFilterer, error)
NewBankModuleFilterer creates a new log filterer instance of BankModule, bound to a specific deployed contract.
func (*BankModuleFilterer) FilterBurn ¶
func (_BankModule *BankModuleFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*BankModuleBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0x9fa0c2fb43a81906efbb089cd76002325d71b437612a2a987c707446629d6ab0.
Solidity: event Burn(address indexed burner, (uint256,string)[] amount)
func (*BankModuleFilterer) FilterCoinReceived ¶
func (_BankModule *BankModuleFilterer) FilterCoinReceived(opts *bind.FilterOpts, receiver []common.Address) (*BankModuleCoinReceivedIterator, error)
FilterCoinReceived is a free log retrieval operation binding the contract event 0x13f9c352919df1623a08e6d6d9eac5f774573896f09916d8fbc5d083095fc3b4.
Solidity: event CoinReceived(address indexed receiver, (uint256,string)[] amount)
func (*BankModuleFilterer) FilterCoinSpent ¶
func (_BankModule *BankModuleFilterer) FilterCoinSpent(opts *bind.FilterOpts, spender []common.Address) (*BankModuleCoinSpentIterator, error)
FilterCoinSpent is a free log retrieval operation binding the contract event 0x8b8b22fea5b121b174e6cfea34ddaf187b66b43dab67679fa291a0fae2427a99.
Solidity: event CoinSpent(address indexed spender, (uint256,string)[] amount)
func (*BankModuleFilterer) FilterCoinbase ¶
func (_BankModule *BankModuleFilterer) FilterCoinbase(opts *bind.FilterOpts, minter []common.Address) (*BankModuleCoinbaseIterator, error)
FilterCoinbase is a free log retrieval operation binding the contract event 0xefb3f1f2a9af64b5fcc2da3c5a088d780585c674b8075fe2a1ba6b0d906cbe9f.
Solidity: event Coinbase(address indexed minter, (uint256,string)[] amount)
func (*BankModuleFilterer) FilterMessage ¶
func (_BankModule *BankModuleFilterer) FilterMessage(opts *bind.FilterOpts, sender []common.Address) (*BankModuleMessageIterator, error)
FilterMessage is a free log retrieval operation binding the contract event 0x516772d06520d23d2705f0b46a1fa6deec0ae36a2c00db049bd5f4094a123b85.
Solidity: event Message(address indexed sender)
func (*BankModuleFilterer) FilterTransfer ¶
func (_BankModule *BankModuleFilterer) FilterTransfer(opts *bind.FilterOpts, recipient []common.Address) (*BankModuleTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0x65ff5b103f0567c3e1783dc0b40e725544567fb6f584d9b084abea2e26d20328.
Solidity: event Transfer(address indexed recipient, (uint256,string)[] amount)
func (*BankModuleFilterer) ParseBurn ¶
func (_BankModule *BankModuleFilterer) ParseBurn(log types.Log) (*BankModuleBurn, error)
ParseBurn is a log parse operation binding the contract event 0x9fa0c2fb43a81906efbb089cd76002325d71b437612a2a987c707446629d6ab0.
Solidity: event Burn(address indexed burner, (uint256,string)[] amount)
func (*BankModuleFilterer) ParseCoinReceived ¶
func (_BankModule *BankModuleFilterer) ParseCoinReceived(log types.Log) (*BankModuleCoinReceived, error)
ParseCoinReceived is a log parse operation binding the contract event 0x13f9c352919df1623a08e6d6d9eac5f774573896f09916d8fbc5d083095fc3b4.
Solidity: event CoinReceived(address indexed receiver, (uint256,string)[] amount)
func (*BankModuleFilterer) ParseCoinSpent ¶
func (_BankModule *BankModuleFilterer) ParseCoinSpent(log types.Log) (*BankModuleCoinSpent, error)
ParseCoinSpent is a log parse operation binding the contract event 0x8b8b22fea5b121b174e6cfea34ddaf187b66b43dab67679fa291a0fae2427a99.
Solidity: event CoinSpent(address indexed spender, (uint256,string)[] amount)
func (*BankModuleFilterer) ParseCoinbase ¶
func (_BankModule *BankModuleFilterer) ParseCoinbase(log types.Log) (*BankModuleCoinbase, error)
ParseCoinbase is a log parse operation binding the contract event 0xefb3f1f2a9af64b5fcc2da3c5a088d780585c674b8075fe2a1ba6b0d906cbe9f.
Solidity: event Coinbase(address indexed minter, (uint256,string)[] amount)
func (*BankModuleFilterer) ParseMessage ¶
func (_BankModule *BankModuleFilterer) ParseMessage(log types.Log) (*BankModuleMessage, error)
ParseMessage is a log parse operation binding the contract event 0x516772d06520d23d2705f0b46a1fa6deec0ae36a2c00db049bd5f4094a123b85.
Solidity: event Message(address indexed sender)
func (*BankModuleFilterer) ParseTransfer ¶
func (_BankModule *BankModuleFilterer) ParseTransfer(log types.Log) (*BankModuleTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0x65ff5b103f0567c3e1783dc0b40e725544567fb6f584d9b084abea2e26d20328.
Solidity: event Transfer(address indexed recipient, (uint256,string)[] amount)
func (*BankModuleFilterer) WatchBurn ¶
func (_BankModule *BankModuleFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *BankModuleBurn, burner []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0x9fa0c2fb43a81906efbb089cd76002325d71b437612a2a987c707446629d6ab0.
Solidity: event Burn(address indexed burner, (uint256,string)[] amount)
func (*BankModuleFilterer) WatchCoinReceived ¶
func (_BankModule *BankModuleFilterer) WatchCoinReceived(opts *bind.WatchOpts, sink chan<- *BankModuleCoinReceived, receiver []common.Address) (event.Subscription, error)
WatchCoinReceived is a free log subscription operation binding the contract event 0x13f9c352919df1623a08e6d6d9eac5f774573896f09916d8fbc5d083095fc3b4.
Solidity: event CoinReceived(address indexed receiver, (uint256,string)[] amount)
func (*BankModuleFilterer) WatchCoinSpent ¶
func (_BankModule *BankModuleFilterer) WatchCoinSpent(opts *bind.WatchOpts, sink chan<- *BankModuleCoinSpent, spender []common.Address) (event.Subscription, error)
WatchCoinSpent is a free log subscription operation binding the contract event 0x8b8b22fea5b121b174e6cfea34ddaf187b66b43dab67679fa291a0fae2427a99.
Solidity: event CoinSpent(address indexed spender, (uint256,string)[] amount)
func (*BankModuleFilterer) WatchCoinbase ¶
func (_BankModule *BankModuleFilterer) WatchCoinbase(opts *bind.WatchOpts, sink chan<- *BankModuleCoinbase, minter []common.Address) (event.Subscription, error)
WatchCoinbase is a free log subscription operation binding the contract event 0xefb3f1f2a9af64b5fcc2da3c5a088d780585c674b8075fe2a1ba6b0d906cbe9f.
Solidity: event Coinbase(address indexed minter, (uint256,string)[] amount)
func (*BankModuleFilterer) WatchMessage ¶
func (_BankModule *BankModuleFilterer) WatchMessage(opts *bind.WatchOpts, sink chan<- *BankModuleMessage, sender []common.Address) (event.Subscription, error)
WatchMessage is a free log subscription operation binding the contract event 0x516772d06520d23d2705f0b46a1fa6deec0ae36a2c00db049bd5f4094a123b85.
Solidity: event Message(address indexed sender)
func (*BankModuleFilterer) WatchTransfer ¶
func (_BankModule *BankModuleFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BankModuleTransfer, recipient []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0x65ff5b103f0567c3e1783dc0b40e725544567fb6f584d9b084abea2e26d20328.
Solidity: event Transfer(address indexed recipient, (uint256,string)[] amount)
type BankModuleMessage ¶
type BankModuleMessage struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BankModuleMessage represents a Message event raised by the BankModule contract.
type BankModuleMessageIterator ¶
type BankModuleMessageIterator struct { Event *BankModuleMessage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BankModuleMessageIterator is returned from FilterMessage and is used to iterate over the raw logs and unpacked data for Message events raised by the BankModule contract.
func (*BankModuleMessageIterator) Close ¶
func (it *BankModuleMessageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BankModuleMessageIterator) Error ¶
func (it *BankModuleMessageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BankModuleMessageIterator) Next ¶
func (it *BankModuleMessageIterator) 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 BankModuleRaw ¶
type BankModuleRaw struct {
Contract *BankModule // Generic contract binding to access the raw methods on
}
BankModuleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BankModuleRaw) Call ¶
func (_BankModule *BankModuleRaw) 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 (*BankModuleRaw) Transact ¶
func (_BankModule *BankModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BankModuleRaw) Transfer ¶
func (_BankModule *BankModuleRaw) 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 BankModuleSession ¶
type BankModuleSession struct { Contract *BankModule // 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 }
BankModuleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BankModuleSession) GetAllBalances ¶
func (_BankModule *BankModuleSession) GetAllBalances(accountAddress common.Address) ([]CosmosCoin, error)
GetAllBalances is a free data retrieval call binding the contract method 0xc53d6ce1.
Solidity: function getAllBalances(address accountAddress) view returns((uint256,string)[])
func (*BankModuleSession) GetAllSpendableBalances ¶
func (_BankModule *BankModuleSession) GetAllSpendableBalances(accountAddress common.Address) ([]CosmosCoin, error)
GetAllSpendableBalances is a free data retrieval call binding the contract method 0x5c70e594.
Solidity: function getAllSpendableBalances(address accountAddress) view returns((uint256,string)[])
func (*BankModuleSession) GetAllSupply ¶
func (_BankModule *BankModuleSession) GetAllSupply() ([]CosmosCoin, error)
GetAllSupply is a free data retrieval call binding the contract method 0xf01c9474.
Solidity: function getAllSupply() view returns((uint256,string)[])
func (*BankModuleSession) GetBalance ¶
func (_BankModule *BankModuleSession) GetBalance(accountAddress common.Address, denom string) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x1dd7cecf.
Solidity: function getBalance(address accountAddress, string denom) view returns(uint256)
func (*BankModuleSession) GetDenomMetadata ¶
func (_BankModule *BankModuleSession) GetDenomMetadata(denom string) (IBankModuleDenomMetadata, error)
GetDenomMetadata is a free data retrieval call binding the contract method 0x52a6ea04.
Solidity: function getDenomMetadata(string denom) view returns((string,(string,string[],uint32)[],string,string,string,string))
func (*BankModuleSession) GetSendEnabled ¶
func (_BankModule *BankModuleSession) GetSendEnabled(denom string) (bool, error)
GetSendEnabled is a free data retrieval call binding the contract method 0x94047166.
Solidity: function getSendEnabled(string denom) view returns(bool)
func (*BankModuleSession) GetSpendableBalance ¶
func (_BankModule *BankModuleSession) GetSpendableBalance(accountAddress common.Address, denom string) (*big.Int, error)
GetSpendableBalance is a free data retrieval call binding the contract method 0x34d1fdaf.
Solidity: function getSpendableBalance(address accountAddress, string denom) view returns(uint256)
func (*BankModuleSession) GetSupply ¶
func (_BankModule *BankModuleSession) GetSupply(denom string) (*big.Int, error)
GetSupply is a free data retrieval call binding the contract method 0xfe3b2b88.
Solidity: function getSupply(string denom) view returns(uint256)
func (*BankModuleSession) Send ¶
func (_BankModule *BankModuleSession) Send(fromAddress common.Address, toAddress common.Address, amount []CosmosCoin) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0x84404811.
Solidity: function send(address fromAddress, address toAddress, (uint256,string)[] amount) payable returns(bool)
type BankModuleTransactor ¶
type BankModuleTransactor struct {
// contains filtered or unexported fields
}
BankModuleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBankModuleTransactor ¶
func NewBankModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*BankModuleTransactor, error)
NewBankModuleTransactor creates a new write-only instance of BankModule, bound to a specific deployed contract.
func (*BankModuleTransactor) Send ¶
func (_BankModule *BankModuleTransactor) Send(opts *bind.TransactOpts, fromAddress common.Address, toAddress common.Address, amount []CosmosCoin) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0x84404811.
Solidity: function send(address fromAddress, address toAddress, (uint256,string)[] amount) payable returns(bool)
type BankModuleTransactorRaw ¶
type BankModuleTransactorRaw struct {
Contract *BankModuleTransactor // Generic write-only contract binding to access the raw methods on
}
BankModuleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BankModuleTransactorRaw) Transact ¶
func (_BankModule *BankModuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BankModuleTransactorRaw) Transfer ¶
func (_BankModule *BankModuleTransactorRaw) 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 BankModuleTransactorSession ¶
type BankModuleTransactorSession struct { Contract *BankModuleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BankModuleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BankModuleTransactorSession) Send ¶
func (_BankModule *BankModuleTransactorSession) Send(fromAddress common.Address, toAddress common.Address, amount []CosmosCoin) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0x84404811.
Solidity: function send(address fromAddress, address toAddress, (uint256,string)[] amount) payable returns(bool)
type BankModuleTransfer ¶
type BankModuleTransfer struct { Recipient common.Address Amount []CosmosCoin Raw types.Log // Blockchain specific contextual infos }
BankModuleTransfer represents a Transfer event raised by the BankModule contract.
type BankModuleTransferIterator ¶
type BankModuleTransferIterator struct { Event *BankModuleTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BankModuleTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BankModule contract.
func (*BankModuleTransferIterator) Close ¶
func (it *BankModuleTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BankModuleTransferIterator) Error ¶
func (it *BankModuleTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BankModuleTransferIterator) Next ¶
func (it *BankModuleTransferIterator) 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 CosmosCoin ¶
CosmosCoin is an auto generated low-level Go binding around an user-defined struct.
type IBankModuleDenomMetadata ¶
type IBankModuleDenomMetadata struct { Description string DenomUnits []IBankModuleDenomUnit Base string Display string Name string Symbol string }
IBankModuleDenomMetadata is an auto generated low-level Go binding around an user-defined struct.
type IBankModuleDenomUnit ¶
IBankModuleDenomUnit is an auto generated low-level Go binding around an user-defined struct.