Documentation ¶
Index ¶
- Variables
- type CosmosCoin
- type ERC20Module
- type ERC20ModuleCaller
- func (_ERC20Module *ERC20ModuleCaller) CoinDenomForERC20Address(opts *bind.CallOpts, token common.Address) (string, error)
- func (_ERC20Module *ERC20ModuleCaller) CoinDenomForERC20Address0(opts *bind.CallOpts, token string) (string, error)
- func (_ERC20Module *ERC20ModuleCaller) Erc20AddressForCoinDenom(opts *bind.CallOpts, denom string) (common.Address, error)
- type ERC20ModuleCallerRaw
- type ERC20ModuleCallerSession
- func (_ERC20Module *ERC20ModuleCallerSession) CoinDenomForERC20Address(token common.Address) (string, error)
- func (_ERC20Module *ERC20ModuleCallerSession) CoinDenomForERC20Address0(token string) (string, error)
- func (_ERC20Module *ERC20ModuleCallerSession) Erc20AddressForCoinDenom(denom string) (common.Address, error)
- type ERC20ModuleFilterer
- func (_ERC20Module *ERC20ModuleFilterer) FilterTransferCoinToErc20(opts *bind.FilterOpts, denom []string, owner []common.Address, ...) (*ERC20ModuleTransferCoinToErc20Iterator, error)
- func (_ERC20Module *ERC20ModuleFilterer) FilterTransferErc20ToCoin(opts *bind.FilterOpts, token []common.Address, owner []common.Address, ...) (*ERC20ModuleTransferErc20ToCoinIterator, error)
- func (_ERC20Module *ERC20ModuleFilterer) ParseTransferCoinToErc20(log types.Log) (*ERC20ModuleTransferCoinToErc20, error)
- func (_ERC20Module *ERC20ModuleFilterer) ParseTransferErc20ToCoin(log types.Log) (*ERC20ModuleTransferErc20ToCoin, error)
- func (_ERC20Module *ERC20ModuleFilterer) WatchTransferCoinToErc20(opts *bind.WatchOpts, sink chan<- *ERC20ModuleTransferCoinToErc20, ...) (event.Subscription, error)
- func (_ERC20Module *ERC20ModuleFilterer) WatchTransferErc20ToCoin(opts *bind.WatchOpts, sink chan<- *ERC20ModuleTransferErc20ToCoin, ...) (event.Subscription, error)
- type ERC20ModuleRaw
- func (_ERC20Module *ERC20ModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Module *ERC20ModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20ModuleSession
- func (_ERC20Module *ERC20ModuleSession) CoinDenomForERC20Address(token common.Address) (string, error)
- func (_ERC20Module *ERC20ModuleSession) CoinDenomForERC20Address0(token string) (string, error)
- func (_ERC20Module *ERC20ModuleSession) Erc20AddressForCoinDenom(denom string) (common.Address, error)
- func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20(denom string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20From(denom string, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20From0(denom string, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20To(denom string, recipient string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20To0(denom string, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoin(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinFrom(token common.Address, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinFrom0(token common.Address, owner common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinTo(token common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinTo0(token common.Address, recipient string, amount *big.Int) (*types.Transaction, error)
- type ERC20ModuleTransactor
- func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20(opts *bind.TransactOpts, denom string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20From(opts *bind.TransactOpts, denom string, owner common.Address, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20From0(opts *bind.TransactOpts, denom string, owner string, recipient string, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20To(opts *bind.TransactOpts, denom string, recipient string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20To0(opts *bind.TransactOpts, denom string, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoin(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinFrom(opts *bind.TransactOpts, token common.Address, owner string, recipient string, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinFrom0(opts *bind.TransactOpts, token common.Address, owner common.Address, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinTo(opts *bind.TransactOpts, token common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinTo0(opts *bind.TransactOpts, token common.Address, recipient string, ...) (*types.Transaction, error)
- type ERC20ModuleTransactorRaw
- type ERC20ModuleTransactorSession
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20(denom string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20From(denom string, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20From0(denom string, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20To(denom string, recipient string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20To0(denom string, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoin(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinFrom(token common.Address, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinFrom0(token common.Address, owner common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinTo(token common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinTo0(token common.Address, recipient string, amount *big.Int) (*types.Transaction, error)
- type ERC20ModuleTransferCoinToErc20
- type ERC20ModuleTransferCoinToErc20Iterator
- type ERC20ModuleTransferErc20ToCoin
- type ERC20ModuleTransferErc20ToCoinIterator
Constants ¶
This section is empty.
Variables ¶
var ERC20ModuleABI = ERC20ModuleMetaData.ABI
ERC20ModuleABI is the input ABI used to generate the binding from. Deprecated: Use ERC20ModuleMetaData.ABI instead.
var ERC20ModuleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"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\":\"TransferCoinToErc20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"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\":\"TransferErc20ToCoin\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"coinDenomForERC20Address\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"token\",\"type\":\"string\"}],\"name\":\"coinDenomForERC20Address\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"name\":\"erc20AddressForCoinDenom\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferCoinToERC20\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferCoinToERC20From\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"owner\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferCoinToERC20From\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferCoinToERC20To\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferCoinToERC20To\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferERC20ToCoin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"owner\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferERC20ToCoinFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferERC20ToCoinFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferERC20ToCoinTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferERC20ToCoinTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ERC20ModuleMetaData contains all meta data concerning the ERC20Module contract.
Functions ¶
This section is empty.
Types ¶
type CosmosCoin ¶
CosmosCoin is an auto generated low-level Go binding around an user-defined struct.
type ERC20Module ¶
type ERC20Module struct { ERC20ModuleCaller // Read-only binding to the contract ERC20ModuleTransactor // Write-only binding to the contract ERC20ModuleFilterer // Log filterer for contract events }
ERC20Module is an auto generated Go binding around an Ethereum contract.
func NewERC20Module ¶
func NewERC20Module(address common.Address, backend bind.ContractBackend) (*ERC20Module, error)
NewERC20Module creates a new instance of ERC20Module, bound to a specific deployed contract.
type ERC20ModuleCaller ¶
type ERC20ModuleCaller struct {
// contains filtered or unexported fields
}
ERC20ModuleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20ModuleCaller ¶
func NewERC20ModuleCaller(address common.Address, caller bind.ContractCaller) (*ERC20ModuleCaller, error)
NewERC20ModuleCaller creates a new read-only instance of ERC20Module, bound to a specific deployed contract.
func (*ERC20ModuleCaller) CoinDenomForERC20Address ¶
func (_ERC20Module *ERC20ModuleCaller) CoinDenomForERC20Address(opts *bind.CallOpts, token common.Address) (string, error)
CoinDenomForERC20Address is a free data retrieval call binding the contract method 0xcd22a018.
Solidity: function coinDenomForERC20Address(address token) view returns(string)
func (*ERC20ModuleCaller) CoinDenomForERC20Address0 ¶
func (_ERC20Module *ERC20ModuleCaller) CoinDenomForERC20Address0(opts *bind.CallOpts, token string) (string, error)
CoinDenomForERC20Address0 is a free data retrieval call binding the contract method 0xe2bea1fe.
Solidity: function coinDenomForERC20Address(string token) view returns(string)
func (*ERC20ModuleCaller) Erc20AddressForCoinDenom ¶
func (_ERC20Module *ERC20ModuleCaller) Erc20AddressForCoinDenom(opts *bind.CallOpts, denom string) (common.Address, error)
Erc20AddressForCoinDenom is a free data retrieval call binding the contract method 0xa333e57c.
Solidity: function erc20AddressForCoinDenom(string denom) view returns(address)
type ERC20ModuleCallerRaw ¶
type ERC20ModuleCallerRaw struct {
Contract *ERC20ModuleCaller // Generic read-only contract binding to access the raw methods on
}
ERC20ModuleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20ModuleCallerRaw) Call ¶
func (_ERC20Module *ERC20ModuleCallerRaw) 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 ERC20ModuleCallerSession ¶
type ERC20ModuleCallerSession struct { Contract *ERC20ModuleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20ModuleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20ModuleCallerSession) CoinDenomForERC20Address ¶
func (_ERC20Module *ERC20ModuleCallerSession) CoinDenomForERC20Address(token common.Address) (string, error)
CoinDenomForERC20Address is a free data retrieval call binding the contract method 0xcd22a018.
Solidity: function coinDenomForERC20Address(address token) view returns(string)
func (*ERC20ModuleCallerSession) CoinDenomForERC20Address0 ¶
func (_ERC20Module *ERC20ModuleCallerSession) CoinDenomForERC20Address0(token string) (string, error)
CoinDenomForERC20Address0 is a free data retrieval call binding the contract method 0xe2bea1fe.
Solidity: function coinDenomForERC20Address(string token) view returns(string)
func (*ERC20ModuleCallerSession) Erc20AddressForCoinDenom ¶
func (_ERC20Module *ERC20ModuleCallerSession) Erc20AddressForCoinDenom(denom string) (common.Address, error)
Erc20AddressForCoinDenom is a free data retrieval call binding the contract method 0xa333e57c.
Solidity: function erc20AddressForCoinDenom(string denom) view returns(address)
type ERC20ModuleFilterer ¶
type ERC20ModuleFilterer struct {
// contains filtered or unexported fields
}
ERC20ModuleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20ModuleFilterer ¶
func NewERC20ModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20ModuleFilterer, error)
NewERC20ModuleFilterer creates a new log filterer instance of ERC20Module, bound to a specific deployed contract.
func (*ERC20ModuleFilterer) FilterTransferCoinToErc20 ¶
func (_ERC20Module *ERC20ModuleFilterer) FilterTransferCoinToErc20(opts *bind.FilterOpts, denom []string, owner []common.Address, recipient []common.Address) (*ERC20ModuleTransferCoinToErc20Iterator, error)
FilterTransferCoinToErc20 is a free log retrieval operation binding the contract event 0xaa6b0040cf4e38b34df3fd01e51cc906a049cfcf3d5a6b81a9ac19dedcf533f7.
Solidity: event TransferCoinToErc20(string indexed denom, address indexed owner, address indexed recipient, (uint256,string)[] amount)
func (*ERC20ModuleFilterer) FilterTransferErc20ToCoin ¶
func (_ERC20Module *ERC20ModuleFilterer) FilterTransferErc20ToCoin(opts *bind.FilterOpts, token []common.Address, owner []common.Address, recipient []common.Address) (*ERC20ModuleTransferErc20ToCoinIterator, error)
FilterTransferErc20ToCoin is a free log retrieval operation binding the contract event 0x32c4702a0530d1dd750fcee1239d68494583ac2b6084a1d42ad10060f3f53eb0.
Solidity: event TransferErc20ToCoin(address indexed token, address indexed owner, address indexed recipient, (uint256,string)[] amount)
func (*ERC20ModuleFilterer) ParseTransferCoinToErc20 ¶
func (_ERC20Module *ERC20ModuleFilterer) ParseTransferCoinToErc20(log types.Log) (*ERC20ModuleTransferCoinToErc20, error)
ParseTransferCoinToErc20 is a log parse operation binding the contract event 0xaa6b0040cf4e38b34df3fd01e51cc906a049cfcf3d5a6b81a9ac19dedcf533f7.
Solidity: event TransferCoinToErc20(string indexed denom, address indexed owner, address indexed recipient, (uint256,string)[] amount)
func (*ERC20ModuleFilterer) ParseTransferErc20ToCoin ¶
func (_ERC20Module *ERC20ModuleFilterer) ParseTransferErc20ToCoin(log types.Log) (*ERC20ModuleTransferErc20ToCoin, error)
ParseTransferErc20ToCoin is a log parse operation binding the contract event 0x32c4702a0530d1dd750fcee1239d68494583ac2b6084a1d42ad10060f3f53eb0.
Solidity: event TransferErc20ToCoin(address indexed token, address indexed owner, address indexed recipient, (uint256,string)[] amount)
func (*ERC20ModuleFilterer) WatchTransferCoinToErc20 ¶
func (_ERC20Module *ERC20ModuleFilterer) WatchTransferCoinToErc20(opts *bind.WatchOpts, sink chan<- *ERC20ModuleTransferCoinToErc20, denom []string, owner []common.Address, recipient []common.Address) (event.Subscription, error)
WatchTransferCoinToErc20 is a free log subscription operation binding the contract event 0xaa6b0040cf4e38b34df3fd01e51cc906a049cfcf3d5a6b81a9ac19dedcf533f7.
Solidity: event TransferCoinToErc20(string indexed denom, address indexed owner, address indexed recipient, (uint256,string)[] amount)
func (*ERC20ModuleFilterer) WatchTransferErc20ToCoin ¶
func (_ERC20Module *ERC20ModuleFilterer) WatchTransferErc20ToCoin(opts *bind.WatchOpts, sink chan<- *ERC20ModuleTransferErc20ToCoin, token []common.Address, owner []common.Address, recipient []common.Address) (event.Subscription, error)
WatchTransferErc20ToCoin is a free log subscription operation binding the contract event 0x32c4702a0530d1dd750fcee1239d68494583ac2b6084a1d42ad10060f3f53eb0.
Solidity: event TransferErc20ToCoin(address indexed token, address indexed owner, address indexed recipient, (uint256,string)[] amount)
type ERC20ModuleRaw ¶
type ERC20ModuleRaw struct {
Contract *ERC20Module // Generic contract binding to access the raw methods on
}
ERC20ModuleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20ModuleRaw) Call ¶
func (_ERC20Module *ERC20ModuleRaw) 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 (*ERC20ModuleRaw) Transact ¶
func (_ERC20Module *ERC20ModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20ModuleRaw) Transfer ¶
func (_ERC20Module *ERC20ModuleRaw) 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 ERC20ModuleSession ¶
type ERC20ModuleSession struct { Contract *ERC20Module // 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 }
ERC20ModuleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20ModuleSession) CoinDenomForERC20Address ¶
func (_ERC20Module *ERC20ModuleSession) CoinDenomForERC20Address(token common.Address) (string, error)
CoinDenomForERC20Address is a free data retrieval call binding the contract method 0xcd22a018.
Solidity: function coinDenomForERC20Address(address token) view returns(string)
func (*ERC20ModuleSession) CoinDenomForERC20Address0 ¶
func (_ERC20Module *ERC20ModuleSession) CoinDenomForERC20Address0(token string) (string, error)
CoinDenomForERC20Address0 is a free data retrieval call binding the contract method 0xe2bea1fe.
Solidity: function coinDenomForERC20Address(string token) view returns(string)
func (*ERC20ModuleSession) Erc20AddressForCoinDenom ¶
func (_ERC20Module *ERC20ModuleSession) Erc20AddressForCoinDenom(denom string) (common.Address, error)
Erc20AddressForCoinDenom is a free data retrieval call binding the contract method 0xa333e57c.
Solidity: function erc20AddressForCoinDenom(string denom) view returns(address)
func (*ERC20ModuleSession) TransferCoinToERC20 ¶
func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20(denom string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20 is a paid mutator transaction binding the contract method 0x416daf89.
Solidity: function transferCoinToERC20(string denom, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferCoinToERC20From ¶
func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20From(denom string, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20From is a paid mutator transaction binding the contract method 0x096b4069.
Solidity: function transferCoinToERC20From(string denom, address owner, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferCoinToERC20From0 ¶
func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20From0(denom string, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20From0 is a paid mutator transaction binding the contract method 0x83228263.
Solidity: function transferCoinToERC20From(string denom, string owner, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferCoinToERC20To ¶
func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20To(denom string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20To is a paid mutator transaction binding the contract method 0x404ffd2f.
Solidity: function transferCoinToERC20To(string denom, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferCoinToERC20To0 ¶
func (_ERC20Module *ERC20ModuleSession) TransferCoinToERC20To0(denom string, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20To0 is a paid mutator transaction binding the contract method 0xe33b064d.
Solidity: function transferCoinToERC20To(string denom, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferERC20ToCoin ¶
func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoin(token common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoin is a paid mutator transaction binding the contract method 0x4c2b7543.
Solidity: function transferERC20ToCoin(address token, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferERC20ToCoinFrom ¶
func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinFrom(token common.Address, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinFrom is a paid mutator transaction binding the contract method 0x02ecf60f.
Solidity: function transferERC20ToCoinFrom(address token, string owner, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferERC20ToCoinFrom0 ¶
func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinFrom0(token common.Address, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinFrom0 is a paid mutator transaction binding the contract method 0xb96d8bec.
Solidity: function transferERC20ToCoinFrom(address token, address owner, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferERC20ToCoinTo ¶
func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinTo(token common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinTo is a paid mutator transaction binding the contract method 0x226eb41b.
Solidity: function transferERC20ToCoinTo(address token, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleSession) TransferERC20ToCoinTo0 ¶
func (_ERC20Module *ERC20ModuleSession) TransferERC20ToCoinTo0(token common.Address, recipient string, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinTo0 is a paid mutator transaction binding the contract method 0x6ba2a25a.
Solidity: function transferERC20ToCoinTo(address token, string recipient, uint256 amount) returns(bool)
type ERC20ModuleTransactor ¶
type ERC20ModuleTransactor struct {
// contains filtered or unexported fields
}
ERC20ModuleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20ModuleTransactor ¶
func NewERC20ModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20ModuleTransactor, error)
NewERC20ModuleTransactor creates a new write-only instance of ERC20Module, bound to a specific deployed contract.
func (*ERC20ModuleTransactor) TransferCoinToERC20 ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20(opts *bind.TransactOpts, denom string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20 is a paid mutator transaction binding the contract method 0x416daf89.
Solidity: function transferCoinToERC20(string denom, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferCoinToERC20From ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20From(opts *bind.TransactOpts, denom string, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20From is a paid mutator transaction binding the contract method 0x096b4069.
Solidity: function transferCoinToERC20From(string denom, address owner, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferCoinToERC20From0 ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20From0(opts *bind.TransactOpts, denom string, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20From0 is a paid mutator transaction binding the contract method 0x83228263.
Solidity: function transferCoinToERC20From(string denom, string owner, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferCoinToERC20To ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20To(opts *bind.TransactOpts, denom string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20To is a paid mutator transaction binding the contract method 0x404ffd2f.
Solidity: function transferCoinToERC20To(string denom, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferCoinToERC20To0 ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferCoinToERC20To0(opts *bind.TransactOpts, denom string, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20To0 is a paid mutator transaction binding the contract method 0xe33b064d.
Solidity: function transferCoinToERC20To(string denom, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferERC20ToCoin ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoin(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoin is a paid mutator transaction binding the contract method 0x4c2b7543.
Solidity: function transferERC20ToCoin(address token, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferERC20ToCoinFrom ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinFrom(opts *bind.TransactOpts, token common.Address, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinFrom is a paid mutator transaction binding the contract method 0x02ecf60f.
Solidity: function transferERC20ToCoinFrom(address token, string owner, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferERC20ToCoinFrom0 ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinFrom0(opts *bind.TransactOpts, token common.Address, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinFrom0 is a paid mutator transaction binding the contract method 0xb96d8bec.
Solidity: function transferERC20ToCoinFrom(address token, address owner, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferERC20ToCoinTo ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinTo(opts *bind.TransactOpts, token common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinTo is a paid mutator transaction binding the contract method 0x226eb41b.
Solidity: function transferERC20ToCoinTo(address token, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactor) TransferERC20ToCoinTo0 ¶
func (_ERC20Module *ERC20ModuleTransactor) TransferERC20ToCoinTo0(opts *bind.TransactOpts, token common.Address, recipient string, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinTo0 is a paid mutator transaction binding the contract method 0x6ba2a25a.
Solidity: function transferERC20ToCoinTo(address token, string recipient, uint256 amount) returns(bool)
type ERC20ModuleTransactorRaw ¶
type ERC20ModuleTransactorRaw struct {
Contract *ERC20ModuleTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20ModuleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20ModuleTransactorRaw) Transact ¶
func (_ERC20Module *ERC20ModuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20ModuleTransactorRaw) Transfer ¶
func (_ERC20Module *ERC20ModuleTransactorRaw) 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 ERC20ModuleTransactorSession ¶
type ERC20ModuleTransactorSession struct { Contract *ERC20ModuleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20ModuleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20ModuleTransactorSession) TransferCoinToERC20 ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20(denom string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20 is a paid mutator transaction binding the contract method 0x416daf89.
Solidity: function transferCoinToERC20(string denom, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferCoinToERC20From ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20From(denom string, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20From is a paid mutator transaction binding the contract method 0x096b4069.
Solidity: function transferCoinToERC20From(string denom, address owner, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferCoinToERC20From0 ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20From0(denom string, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20From0 is a paid mutator transaction binding the contract method 0x83228263.
Solidity: function transferCoinToERC20From(string denom, string owner, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferCoinToERC20To ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20To(denom string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20To is a paid mutator transaction binding the contract method 0x404ffd2f.
Solidity: function transferCoinToERC20To(string denom, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferCoinToERC20To0 ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferCoinToERC20To0(denom string, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferCoinToERC20To0 is a paid mutator transaction binding the contract method 0xe33b064d.
Solidity: function transferCoinToERC20To(string denom, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferERC20ToCoin ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoin(token common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoin is a paid mutator transaction binding the contract method 0x4c2b7543.
Solidity: function transferERC20ToCoin(address token, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferERC20ToCoinFrom ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinFrom(token common.Address, owner string, recipient string, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinFrom is a paid mutator transaction binding the contract method 0x02ecf60f.
Solidity: function transferERC20ToCoinFrom(address token, string owner, string recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferERC20ToCoinFrom0 ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinFrom0(token common.Address, owner common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinFrom0 is a paid mutator transaction binding the contract method 0xb96d8bec.
Solidity: function transferERC20ToCoinFrom(address token, address owner, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferERC20ToCoinTo ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinTo(token common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinTo is a paid mutator transaction binding the contract method 0x226eb41b.
Solidity: function transferERC20ToCoinTo(address token, address recipient, uint256 amount) returns(bool)
func (*ERC20ModuleTransactorSession) TransferERC20ToCoinTo0 ¶
func (_ERC20Module *ERC20ModuleTransactorSession) TransferERC20ToCoinTo0(token common.Address, recipient string, amount *big.Int) (*types.Transaction, error)
TransferERC20ToCoinTo0 is a paid mutator transaction binding the contract method 0x6ba2a25a.
Solidity: function transferERC20ToCoinTo(address token, string recipient, uint256 amount) returns(bool)
type ERC20ModuleTransferCoinToErc20 ¶
type ERC20ModuleTransferCoinToErc20 struct { Denom common.Hash Owner common.Address Recipient common.Address Amount []CosmosCoin Raw types.Log // Blockchain specific contextual infos }
ERC20ModuleTransferCoinToErc20 represents a TransferCoinToErc20 event raised by the ERC20Module contract.
type ERC20ModuleTransferCoinToErc20Iterator ¶
type ERC20ModuleTransferCoinToErc20Iterator struct { Event *ERC20ModuleTransferCoinToErc20 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ModuleTransferCoinToErc20Iterator is returned from FilterTransferCoinToErc20 and is used to iterate over the raw logs and unpacked data for TransferCoinToErc20 events raised by the ERC20Module contract.
func (*ERC20ModuleTransferCoinToErc20Iterator) Close ¶
func (it *ERC20ModuleTransferCoinToErc20Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ModuleTransferCoinToErc20Iterator) Error ¶
func (it *ERC20ModuleTransferCoinToErc20Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ModuleTransferCoinToErc20Iterator) Next ¶
func (it *ERC20ModuleTransferCoinToErc20Iterator) 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 ERC20ModuleTransferErc20ToCoin ¶
type ERC20ModuleTransferErc20ToCoin struct { Token common.Address Owner common.Address Recipient common.Address Amount []CosmosCoin Raw types.Log // Blockchain specific contextual infos }
ERC20ModuleTransferErc20ToCoin represents a TransferErc20ToCoin event raised by the ERC20Module contract.
type ERC20ModuleTransferErc20ToCoinIterator ¶
type ERC20ModuleTransferErc20ToCoinIterator struct { Event *ERC20ModuleTransferErc20ToCoin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ModuleTransferErc20ToCoinIterator is returned from FilterTransferErc20ToCoin and is used to iterate over the raw logs and unpacked data for TransferErc20ToCoin events raised by the ERC20Module contract.
func (*ERC20ModuleTransferErc20ToCoinIterator) Close ¶
func (it *ERC20ModuleTransferErc20ToCoinIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ModuleTransferErc20ToCoinIterator) Error ¶
func (it *ERC20ModuleTransferErc20ToCoinIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ModuleTransferErc20ToCoinIterator) Next ¶
func (it *ERC20ModuleTransferErc20ToCoinIterator) 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.