Documentation ¶
Index ¶
- Constants
- type MainnetGatewayContract
- type MainnetGatewayContractCaller
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) AllowedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetAllowAnyToken(opts *bind.CallOpts) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetERC20(opts *bind.CallOpts, contractAddress common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetERC721(opts *bind.CallOpts, uid *big.Int, contractAddress common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetERC721X(opts *bind.CallOpts, tokenId *big.Int, contractAddress common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetETH(opts *bind.CallOpts) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetGatewayEnabled(opts *bind.CallOpts) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) IsTokenAllowed(opts *bind.CallOpts, tokenAddress common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCaller) Vmc(opts *bind.CallOpts) (common.Address, error)
- type MainnetGatewayContractCallerRaw
- type MainnetGatewayContractCallerSession
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) AllowedTokens(arg0 common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetAllowAnyToken() (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetERC20(contractAddress common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetERC721(uid *big.Int, contractAddress common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetERC721X(tokenId *big.Int, contractAddress common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetETH() (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetGatewayEnabled() (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetOwner() (common.Address, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) IsTokenAllowed(tokenAddress common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) Owner() (common.Address, error)
- func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) Vmc() (common.Address, error)
- type MainnetGatewayContractERC20Received
- type MainnetGatewayContractERC20ReceivedIterator
- type MainnetGatewayContractERC721Received
- type MainnetGatewayContractERC721ReceivedIterator
- type MainnetGatewayContractERC721XBatchReceived
- type MainnetGatewayContractERC721XBatchReceivedIterator
- type MainnetGatewayContractERC721XReceived
- type MainnetGatewayContractERC721XReceivedIterator
- type MainnetGatewayContractETHReceived
- type MainnetGatewayContractETHReceivedIterator
- type MainnetGatewayContractFilterer
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC20Received(opts *bind.FilterOpts) (*MainnetGatewayContractERC20ReceivedIterator, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC721Received(opts *bind.FilterOpts) (*MainnetGatewayContractERC721ReceivedIterator, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC721XBatchReceived(opts *bind.FilterOpts) (*MainnetGatewayContractERC721XBatchReceivedIterator, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC721XReceived(opts *bind.FilterOpts) (*MainnetGatewayContractERC721XReceivedIterator, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterETHReceived(opts *bind.FilterOpts) (*MainnetGatewayContractETHReceivedIterator, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterTokenWithdrawn(opts *bind.FilterOpts, owner []common.Address) (*MainnetGatewayContractTokenWithdrawnIterator, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterdiademCoinReceived(opts *bind.FilterOpts, from []common.Address) (*MainnetGatewayContractdiademCoinReceivedIterator, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC20Received(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC20Received) (event.Subscription, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC721Received(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC721Received) (event.Subscription, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC721XBatchReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC721XBatchReceived) (event.Subscription, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC721XReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC721XReceived) (event.Subscription, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchETHReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractETHReceived) (event.Subscription, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchTokenWithdrawn(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractTokenWithdrawn, ...) (event.Subscription, error)
- func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchdiademCoinReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractdiademCoinReceived, ...) (event.Subscription, error)
- type MainnetGatewayContractRaw
- func (_MainnetGatewayContract *MainnetGatewayContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_MainnetGatewayContract *MainnetGatewayContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MainnetGatewayContractSession
- func (_MainnetGatewayContract *MainnetGatewayContractSession) AllowedTokens(arg0 common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) EnableGateway(enable bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) GetAllowAnyToken() (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) GetERC20(contractAddress common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) GetERC721(uid *big.Int, contractAddress common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) GetERC721X(tokenId *big.Int, contractAddress common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) GetETH() (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) GetGatewayEnabled() (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) GetOwner() (common.Address, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) IsTokenAllowed(tokenAddress common.Address) (bool, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) OnERC721Received(_operator common.Address, _from common.Address, _uid *big.Int, _data []byte) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) OnERC721XBatchReceived(_operator common.Address, _from common.Address, _types []*big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) OnERC721XReceived(_operator common.Address, _from common.Address, _tokenId *big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) Owner() (common.Address, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) ToggleAllowAnyToken(allow bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) ToggleAllowToken(tokenAddress common.Address, allow bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) Vmc() (common.Address, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC20(amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC721(uid *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC721X(tokenId *big.Int, amount *big.Int, contractAddress common.Address, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawETH(amount *big.Int, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, ...) (*types.Transaction, error)
- type MainnetGatewayContractTokenWithdrawn
- type MainnetGatewayContractTokenWithdrawnIterator
- type MainnetGatewayContractTransactor
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) DepositERC20(opts *bind.TransactOpts, amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) EnableGateway(opts *bind.TransactOpts, enable bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) OnERC721Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) OnERC721XBatchReceived(opts *bind.TransactOpts, _operator common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) OnERC721XReceived(opts *bind.TransactOpts, _operator common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) ToggleAllowAnyToken(opts *bind.TransactOpts, allow bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) ToggleAllowToken(opts *bind.TransactOpts, tokenAddress common.Address, allow bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC20(opts *bind.TransactOpts, amount *big.Int, contractAddress common.Address, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC721(opts *bind.TransactOpts, uid *big.Int, contractAddress common.Address, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC721X(opts *bind.TransactOpts, tokenId *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawETH(opts *bind.TransactOpts, amount *big.Int, _signersIndexes []*big.Int, ...) (*types.Transaction, error)
- type MainnetGatewayContractTransactorRaw
- type MainnetGatewayContractTransactorSession
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) EnableGateway(enable bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) OnERC721Received(_operator common.Address, _from common.Address, _uid *big.Int, _data []byte) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) OnERC721XBatchReceived(_operator common.Address, _from common.Address, _types []*big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) OnERC721XReceived(_operator common.Address, _from common.Address, _tokenId *big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) ToggleAllowAnyToken(allow bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) ToggleAllowToken(tokenAddress common.Address, allow bool) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC20(amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC721(uid *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC721X(tokenId *big.Int, amount *big.Int, contractAddress common.Address, ...) (*types.Transaction, error)
- func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawETH(amount *big.Int, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, ...) (*types.Transaction, error)
- type MainnetGatewayContractdiademCoinReceived
- type MainnetGatewayContractdiademCoinReceivedIterator
Constants ¶
const MainnetGatewayContractABI = "" /* 8979-byte string literal not displayed */
MainnetGatewayContractABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainnetGatewayContract ¶
type MainnetGatewayContract struct { MainnetGatewayContractCaller // Read-only binding to the contract MainnetGatewayContractTransactor // Write-only binding to the contract MainnetGatewayContractFilterer // Log filterer for contract events }
MainnetGatewayContract is an auto generated Go binding around an Ethereum contract.
func NewMainnetGatewayContract ¶
func NewMainnetGatewayContract(address common.Address, backend bind.ContractBackend) (*MainnetGatewayContract, error)
NewMainnetGatewayContract creates a new instance of MainnetGatewayContract, bound to a specific deployed contract.
type MainnetGatewayContractCaller ¶
type MainnetGatewayContractCaller struct {
// contains filtered or unexported fields
}
MainnetGatewayContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMainnetGatewayContractCaller ¶
func NewMainnetGatewayContractCaller(address common.Address, caller bind.ContractCaller) (*MainnetGatewayContractCaller, error)
NewMainnetGatewayContractCaller creates a new read-only instance of MainnetGatewayContract, bound to a specific deployed contract.
func (*MainnetGatewayContractCaller) AllowedTokens ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) AllowedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error)
AllowedTokens is a free data retrieval call binding the contract method 0xe744092e.
Solidity: function allowedTokens( address) constant returns(bool)
func (*MainnetGatewayContractCaller) GetAllowAnyToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetAllowAnyToken(opts *bind.CallOpts) (bool, error)
GetAllowAnyToken is a free data retrieval call binding the contract method 0x2fc85c52.
Solidity: function getAllowAnyToken() constant returns(bool)
func (*MainnetGatewayContractCaller) GetERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetERC20(opts *bind.CallOpts, contractAddress common.Address) (*big.Int, error)
GetERC20 is a free data retrieval call binding the contract method 0x4e0dc557.
Solidity: function getERC20(contractAddress address) constant returns(uint256)
func (*MainnetGatewayContractCaller) GetERC721 ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetERC721(opts *bind.CallOpts, uid *big.Int, contractAddress common.Address) (bool, error)
GetERC721 is a free data retrieval call binding the contract method 0x4e56ef52.
Solidity: function getERC721(uid uint256, contractAddress address) constant returns(bool)
func (*MainnetGatewayContractCaller) GetERC721X ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetERC721X(opts *bind.CallOpts, tokenId *big.Int, contractAddress common.Address) (*big.Int, error)
GetERC721X is a free data retrieval call binding the contract method 0xb4c60342.
Solidity: function getERC721X(tokenId uint256, contractAddress address) constant returns(uint256)
func (*MainnetGatewayContractCaller) GetETH ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetETH(opts *bind.CallOpts) (*big.Int, error)
GetETH is a free data retrieval call binding the contract method 0x14f6c3be.
Solidity: function getETH() constant returns(uint256)
func (*MainnetGatewayContractCaller) GetGatewayEnabled ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetGatewayEnabled(opts *bind.CallOpts) (bool, error)
GetGatewayEnabled is a free data retrieval call binding the contract method 0xe32f3751.
Solidity: function getGatewayEnabled() constant returns(bool)
func (*MainnetGatewayContractCaller) GetOwner ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() constant returns(address)
func (*MainnetGatewayContractCaller) IsTokenAllowed ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) IsTokenAllowed(opts *bind.CallOpts, tokenAddress common.Address) (bool, error)
IsTokenAllowed is a free data retrieval call binding the contract method 0xf9eaee0d.
Solidity: function isTokenAllowed(tokenAddress address) constant returns(bool)
func (*MainnetGatewayContractCaller) Nonces ¶
func (_MainnetGatewayContract *MainnetGatewayContractCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces( address) constant returns(uint256)
type MainnetGatewayContractCallerRaw ¶
type MainnetGatewayContractCallerRaw struct {
Contract *MainnetGatewayContractCaller // Generic read-only contract binding to access the raw methods on
}
MainnetGatewayContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MainnetGatewayContractCallerRaw) Call ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerRaw) 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 MainnetGatewayContractCallerSession ¶
type MainnetGatewayContractCallerSession struct { Contract *MainnetGatewayContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MainnetGatewayContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MainnetGatewayContractCallerSession) AllowedTokens ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) AllowedTokens(arg0 common.Address) (bool, error)
AllowedTokens is a free data retrieval call binding the contract method 0xe744092e.
Solidity: function allowedTokens( address) constant returns(bool)
func (*MainnetGatewayContractCallerSession) GetAllowAnyToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetAllowAnyToken() (bool, error)
GetAllowAnyToken is a free data retrieval call binding the contract method 0x2fc85c52.
Solidity: function getAllowAnyToken() constant returns(bool)
func (*MainnetGatewayContractCallerSession) GetERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetERC20(contractAddress common.Address) (*big.Int, error)
GetERC20 is a free data retrieval call binding the contract method 0x4e0dc557.
Solidity: function getERC20(contractAddress address) constant returns(uint256)
func (*MainnetGatewayContractCallerSession) GetERC721 ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetERC721(uid *big.Int, contractAddress common.Address) (bool, error)
GetERC721 is a free data retrieval call binding the contract method 0x4e56ef52.
Solidity: function getERC721(uid uint256, contractAddress address) constant returns(bool)
func (*MainnetGatewayContractCallerSession) GetERC721X ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetERC721X(tokenId *big.Int, contractAddress common.Address) (*big.Int, error)
GetERC721X is a free data retrieval call binding the contract method 0xb4c60342.
Solidity: function getERC721X(tokenId uint256, contractAddress address) constant returns(uint256)
func (*MainnetGatewayContractCallerSession) GetETH ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetETH() (*big.Int, error)
GetETH is a free data retrieval call binding the contract method 0x14f6c3be.
Solidity: function getETH() constant returns(uint256)
func (*MainnetGatewayContractCallerSession) GetGatewayEnabled ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetGatewayEnabled() (bool, error)
GetGatewayEnabled is a free data retrieval call binding the contract method 0xe32f3751.
Solidity: function getGatewayEnabled() constant returns(bool)
func (*MainnetGatewayContractCallerSession) GetOwner ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() constant returns(address)
func (*MainnetGatewayContractCallerSession) IsTokenAllowed ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) IsTokenAllowed(tokenAddress common.Address) (bool, error)
IsTokenAllowed is a free data retrieval call binding the contract method 0xf9eaee0d.
Solidity: function isTokenAllowed(tokenAddress address) constant returns(bool)
func (*MainnetGatewayContractCallerSession) Nonces ¶
func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces( address) constant returns(uint256)
type MainnetGatewayContractERC20Received ¶
type MainnetGatewayContractERC20Received struct { From common.Address Amount *big.Int ContractAddress common.Address Raw types.Log // Blockchain specific contextual infos }
MainnetGatewayContractERC20Received represents a ERC20Received event raised by the MainnetGatewayContract contract.
type MainnetGatewayContractERC20ReceivedIterator ¶
type MainnetGatewayContractERC20ReceivedIterator struct { Event *MainnetGatewayContractERC20Received // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MainnetGatewayContractERC20ReceivedIterator is returned from FilterERC20Received and is used to iterate over the raw logs and unpacked data for ERC20Received events raised by the MainnetGatewayContract contract.
func (*MainnetGatewayContractERC20ReceivedIterator) Close ¶
func (it *MainnetGatewayContractERC20ReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MainnetGatewayContractERC20ReceivedIterator) Error ¶
func (it *MainnetGatewayContractERC20ReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MainnetGatewayContractERC20ReceivedIterator) Next ¶
func (it *MainnetGatewayContractERC20ReceivedIterator) 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 MainnetGatewayContractERC721Received ¶
type MainnetGatewayContractERC721Received struct { Operator common.Address From common.Address TokenId *big.Int ContractAddress common.Address Data []byte Raw types.Log // Blockchain specific contextual infos }
MainnetGatewayContractERC721Received represents a ERC721Received event raised by the MainnetGatewayContract contract.
type MainnetGatewayContractERC721ReceivedIterator ¶
type MainnetGatewayContractERC721ReceivedIterator struct { Event *MainnetGatewayContractERC721Received // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MainnetGatewayContractERC721ReceivedIterator is returned from FilterERC721Received and is used to iterate over the raw logs and unpacked data for ERC721Received events raised by the MainnetGatewayContract contract.
func (*MainnetGatewayContractERC721ReceivedIterator) Close ¶
func (it *MainnetGatewayContractERC721ReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MainnetGatewayContractERC721ReceivedIterator) Error ¶
func (it *MainnetGatewayContractERC721ReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MainnetGatewayContractERC721ReceivedIterator) Next ¶
func (it *MainnetGatewayContractERC721ReceivedIterator) 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 MainnetGatewayContractERC721XBatchReceived ¶
type MainnetGatewayContractERC721XBatchReceived struct { Operator common.Address To common.Address TokenTypes []*big.Int Amounts []*big.Int ContractAddress common.Address Data []byte Raw types.Log // Blockchain specific contextual infos }
MainnetGatewayContractERC721XBatchReceived represents a ERC721XBatchReceived event raised by the MainnetGatewayContract contract.
type MainnetGatewayContractERC721XBatchReceivedIterator ¶
type MainnetGatewayContractERC721XBatchReceivedIterator struct { Event *MainnetGatewayContractERC721XBatchReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MainnetGatewayContractERC721XBatchReceivedIterator is returned from FilterERC721XBatchReceived and is used to iterate over the raw logs and unpacked data for ERC721XBatchReceived events raised by the MainnetGatewayContract contract.
func (*MainnetGatewayContractERC721XBatchReceivedIterator) Close ¶
func (it *MainnetGatewayContractERC721XBatchReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MainnetGatewayContractERC721XBatchReceivedIterator) Error ¶
func (it *MainnetGatewayContractERC721XBatchReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MainnetGatewayContractERC721XBatchReceivedIterator) Next ¶
func (it *MainnetGatewayContractERC721XBatchReceivedIterator) 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 MainnetGatewayContractERC721XReceived ¶
type MainnetGatewayContractERC721XReceived struct { Operator common.Address From common.Address TokenId *big.Int Amount *big.Int ContractAddress common.Address Data []byte Raw types.Log // Blockchain specific contextual infos }
MainnetGatewayContractERC721XReceived represents a ERC721XReceived event raised by the MainnetGatewayContract contract.
type MainnetGatewayContractERC721XReceivedIterator ¶
type MainnetGatewayContractERC721XReceivedIterator struct { Event *MainnetGatewayContractERC721XReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MainnetGatewayContractERC721XReceivedIterator is returned from FilterERC721XReceived and is used to iterate over the raw logs and unpacked data for ERC721XReceived events raised by the MainnetGatewayContract contract.
func (*MainnetGatewayContractERC721XReceivedIterator) Close ¶
func (it *MainnetGatewayContractERC721XReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MainnetGatewayContractERC721XReceivedIterator) Error ¶
func (it *MainnetGatewayContractERC721XReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MainnetGatewayContractERC721XReceivedIterator) Next ¶
func (it *MainnetGatewayContractERC721XReceivedIterator) 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 MainnetGatewayContractETHReceived ¶
type MainnetGatewayContractETHReceived struct { From common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
MainnetGatewayContractETHReceived represents a ETHReceived event raised by the MainnetGatewayContract contract.
type MainnetGatewayContractETHReceivedIterator ¶
type MainnetGatewayContractETHReceivedIterator struct { Event *MainnetGatewayContractETHReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MainnetGatewayContractETHReceivedIterator is returned from FilterETHReceived and is used to iterate over the raw logs and unpacked data for ETHReceived events raised by the MainnetGatewayContract contract.
func (*MainnetGatewayContractETHReceivedIterator) Close ¶
func (it *MainnetGatewayContractETHReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MainnetGatewayContractETHReceivedIterator) Error ¶
func (it *MainnetGatewayContractETHReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MainnetGatewayContractETHReceivedIterator) Next ¶
func (it *MainnetGatewayContractETHReceivedIterator) 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 MainnetGatewayContractFilterer ¶
type MainnetGatewayContractFilterer struct {
// contains filtered or unexported fields
}
MainnetGatewayContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMainnetGatewayContractFilterer ¶
func NewMainnetGatewayContractFilterer(address common.Address, filterer bind.ContractFilterer) (*MainnetGatewayContractFilterer, error)
NewMainnetGatewayContractFilterer creates a new log filterer instance of MainnetGatewayContract, bound to a specific deployed contract.
func (*MainnetGatewayContractFilterer) FilterERC20Received ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC20Received(opts *bind.FilterOpts) (*MainnetGatewayContractERC20ReceivedIterator, error)
FilterERC20Received is a free log retrieval operation binding the contract event 0xa13cf347fb36122550e414f6fd1a0c2e490cff76331c4dcc20f760891ecca12a.
Solidity: e ERC20Received(from address, amount uint256, contractAddress address)
func (*MainnetGatewayContractFilterer) FilterERC721Received ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC721Received(opts *bind.FilterOpts) (*MainnetGatewayContractERC721ReceivedIterator, error)
FilterERC721Received is a free log retrieval operation binding the contract event 0x691f4eac2b8850491851c72f70a121d76b20836d776658438f5b13dd9f8dbc6e.
Solidity: e ERC721Received(operator address, from address, tokenId uint256, contractAddress address, data bytes)
func (*MainnetGatewayContractFilterer) FilterERC721XBatchReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC721XBatchReceived(opts *bind.FilterOpts) (*MainnetGatewayContractERC721XBatchReceivedIterator, error)
FilterERC721XBatchReceived is a free log retrieval operation binding the contract event 0x48d67933be7b1e6d77d914145d793b5c9ced38156f34ebab23216e085435ac55.
Solidity: e ERC721XBatchReceived(operator address, to address, tokenTypes uint256[], amounts uint256[], contractAddress address, data bytes)
func (*MainnetGatewayContractFilterer) FilterERC721XReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterERC721XReceived(opts *bind.FilterOpts) (*MainnetGatewayContractERC721XReceivedIterator, error)
FilterERC721XReceived is a free log retrieval operation binding the contract event 0xc341982fb8843f55f2f7aae4eb89231a4ef94a199f370debe7bc5c07c2de2bab.
Solidity: e ERC721XReceived(operator address, from address, tokenId uint256, amount uint256, contractAddress address, data bytes)
func (*MainnetGatewayContractFilterer) FilterETHReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterETHReceived(opts *bind.FilterOpts) (*MainnetGatewayContractETHReceivedIterator, error)
FilterETHReceived is a free log retrieval operation binding the contract event 0xbfe611b001dfcd411432f7bf0d79b82b4b2ee81511edac123a3403c357fb972a.
Solidity: e ETHReceived(from address, amount uint256)
func (*MainnetGatewayContractFilterer) FilterTokenWithdrawn ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterTokenWithdrawn(opts *bind.FilterOpts, owner []common.Address) (*MainnetGatewayContractTokenWithdrawnIterator, error)
FilterTokenWithdrawn is a free log retrieval operation binding the contract event 0x591f2d33d85291e32c4067b5a497caf3ddb5b1830eba9909e66006ec3a0051b4.
Solidity: e TokenWithdrawn(owner indexed address, kind uint8, contractAddress address, value uint256)
func (*MainnetGatewayContractFilterer) FilterdiademCoinReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterdiademCoinReceived(opts *bind.FilterOpts, from []common.Address) (*MainnetGatewayContractdiademCoinReceivedIterator, error)
FilterdiademCoinReceived is a free log retrieval operation binding the contract event 0x91557346f7592c9279b67cc52709a00442f0597658ec38a5fe84568c016331d7.
Solidity: e diademCoinReceived(from indexed address, amount uint256, diademCoinAddress address)
func (*MainnetGatewayContractFilterer) WatchERC20Received ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC20Received(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC20Received) (event.Subscription, error)
WatchERC20Received is a free log subscription operation binding the contract event 0xa13cf347fb36122550e414f6fd1a0c2e490cff76331c4dcc20f760891ecca12a.
Solidity: e ERC20Received(from address, amount uint256, contractAddress address)
func (*MainnetGatewayContractFilterer) WatchERC721Received ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC721Received(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC721Received) (event.Subscription, error)
WatchERC721Received is a free log subscription operation binding the contract event 0x691f4eac2b8850491851c72f70a121d76b20836d776658438f5b13dd9f8dbc6e.
Solidity: e ERC721Received(operator address, from address, tokenId uint256, contractAddress address, data bytes)
func (*MainnetGatewayContractFilterer) WatchERC721XBatchReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC721XBatchReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC721XBatchReceived) (event.Subscription, error)
WatchERC721XBatchReceived is a free log subscription operation binding the contract event 0x48d67933be7b1e6d77d914145d793b5c9ced38156f34ebab23216e085435ac55.
Solidity: e ERC721XBatchReceived(operator address, to address, tokenTypes uint256[], amounts uint256[], contractAddress address, data bytes)
func (*MainnetGatewayContractFilterer) WatchERC721XReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchERC721XReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractERC721XReceived) (event.Subscription, error)
WatchERC721XReceived is a free log subscription operation binding the contract event 0xc341982fb8843f55f2f7aae4eb89231a4ef94a199f370debe7bc5c07c2de2bab.
Solidity: e ERC721XReceived(operator address, from address, tokenId uint256, amount uint256, contractAddress address, data bytes)
func (*MainnetGatewayContractFilterer) WatchETHReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchETHReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractETHReceived) (event.Subscription, error)
WatchETHReceived is a free log subscription operation binding the contract event 0xbfe611b001dfcd411432f7bf0d79b82b4b2ee81511edac123a3403c357fb972a.
Solidity: e ETHReceived(from address, amount uint256)
func (*MainnetGatewayContractFilterer) WatchTokenWithdrawn ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchTokenWithdrawn(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractTokenWithdrawn, owner []common.Address) (event.Subscription, error)
WatchTokenWithdrawn is a free log subscription operation binding the contract event 0x591f2d33d85291e32c4067b5a497caf3ddb5b1830eba9909e66006ec3a0051b4.
Solidity: e TokenWithdrawn(owner indexed address, kind uint8, contractAddress address, value uint256)
func (*MainnetGatewayContractFilterer) WatchdiademCoinReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchdiademCoinReceived(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractdiademCoinReceived, from []common.Address) (event.Subscription, error)
WatchdiademCoinReceived is a free log subscription operation binding the contract event 0x91557346f7592c9279b67cc52709a00442f0597658ec38a5fe84568c016331d7.
Solidity: e diademCoinReceived(from indexed address, amount uint256, diademCoinAddress address)
type MainnetGatewayContractRaw ¶
type MainnetGatewayContractRaw struct {
Contract *MainnetGatewayContract // Generic contract binding to access the raw methods on
}
MainnetGatewayContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MainnetGatewayContractRaw) Call ¶
func (_MainnetGatewayContract *MainnetGatewayContractRaw) 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 (*MainnetGatewayContractRaw) Transact ¶
func (_MainnetGatewayContract *MainnetGatewayContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MainnetGatewayContractRaw) Transfer ¶
func (_MainnetGatewayContract *MainnetGatewayContractRaw) 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 MainnetGatewayContractSession ¶
type MainnetGatewayContractSession struct { Contract *MainnetGatewayContract // 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 }
MainnetGatewayContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MainnetGatewayContractSession) AllowedTokens ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) AllowedTokens(arg0 common.Address) (bool, error)
AllowedTokens is a free data retrieval call binding the contract method 0xe744092e.
Solidity: function allowedTokens( address) constant returns(bool)
func (*MainnetGatewayContractSession) DepositERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x392d661c.
Solidity: function depositERC20(amount uint256, contractAddress address) returns()
func (*MainnetGatewayContractSession) EnableGateway ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) EnableGateway(enable bool) (*types.Transaction, error)
EnableGateway is a paid mutator transaction binding the contract method 0x41c25c4a.
Solidity: function enableGateway(enable bool) returns()
func (*MainnetGatewayContractSession) GetAllowAnyToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) GetAllowAnyToken() (bool, error)
GetAllowAnyToken is a free data retrieval call binding the contract method 0x2fc85c52.
Solidity: function getAllowAnyToken() constant returns(bool)
func (*MainnetGatewayContractSession) GetERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) GetERC20(contractAddress common.Address) (*big.Int, error)
GetERC20 is a free data retrieval call binding the contract method 0x4e0dc557.
Solidity: function getERC20(contractAddress address) constant returns(uint256)
func (*MainnetGatewayContractSession) GetERC721 ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) GetERC721(uid *big.Int, contractAddress common.Address) (bool, error)
GetERC721 is a free data retrieval call binding the contract method 0x4e56ef52.
Solidity: function getERC721(uid uint256, contractAddress address) constant returns(bool)
func (*MainnetGatewayContractSession) GetERC721X ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) GetERC721X(tokenId *big.Int, contractAddress common.Address) (*big.Int, error)
GetERC721X is a free data retrieval call binding the contract method 0xb4c60342.
Solidity: function getERC721X(tokenId uint256, contractAddress address) constant returns(uint256)
func (*MainnetGatewayContractSession) GetETH ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) GetETH() (*big.Int, error)
GetETH is a free data retrieval call binding the contract method 0x14f6c3be.
Solidity: function getETH() constant returns(uint256)
func (*MainnetGatewayContractSession) GetGatewayEnabled ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) GetGatewayEnabled() (bool, error)
GetGatewayEnabled is a free data retrieval call binding the contract method 0xe32f3751.
Solidity: function getGatewayEnabled() constant returns(bool)
func (*MainnetGatewayContractSession) GetOwner ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() constant returns(address)
func (*MainnetGatewayContractSession) IsTokenAllowed ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) IsTokenAllowed(tokenAddress common.Address) (bool, error)
IsTokenAllowed is a free data retrieval call binding the contract method 0xf9eaee0d.
Solidity: function isTokenAllowed(tokenAddress address) constant returns(bool)
func (*MainnetGatewayContractSession) Nonces ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) Nonces(arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces( address) constant returns(uint256)
func (*MainnetGatewayContractSession) OnERC721Received ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) OnERC721Received(_operator common.Address, _from common.Address, _uid *big.Int, _data []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(_operator address, _from address, _uid uint256, _data bytes) returns(bytes4)
func (*MainnetGatewayContractSession) OnERC721XBatchReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) OnERC721XBatchReceived(_operator common.Address, _from common.Address, _types []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC721XBatchReceived is a paid mutator transaction binding the contract method 0xb3b0f4c7.
Solidity: function onERC721XBatchReceived(_operator address, _from address, _types uint256[], _amounts uint256[], _data bytes) returns(bytes4)
func (*MainnetGatewayContractSession) OnERC721XReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) OnERC721XReceived(_operator common.Address, _from common.Address, _tokenId *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC721XReceived is a paid mutator transaction binding the contract method 0x93ba7daa.
Solidity: function onERC721XReceived(_operator address, _from address, _tokenId uint256, _amount uint256, _data bytes) returns(bytes4)
func (*MainnetGatewayContractSession) Owner ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*MainnetGatewayContractSession) ToggleAllowAnyToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) ToggleAllowAnyToken(allow bool) (*types.Transaction, error)
ToggleAllowAnyToken is a paid mutator transaction binding the contract method 0xe402fbc8.
Solidity: function toggleAllowAnyToken(allow bool) returns()
func (*MainnetGatewayContractSession) ToggleAllowToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) ToggleAllowToken(tokenAddress common.Address, allow bool) (*types.Transaction, error)
ToggleAllowToken is a paid mutator transaction binding the contract method 0xb82730ab.
Solidity: function toggleAllowToken(tokenAddress address, allow bool) returns()
func (*MainnetGatewayContractSession) Vmc ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) Vmc() (common.Address, error)
Vmc is a free data retrieval call binding the contract method 0x20cc8e51.
Solidity: function vmc() constant returns(address)
func (*MainnetGatewayContractSession) WithdrawERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC20(amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0xb0116dc7.
Solidity: function withdrawERC20(amount uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractSession) WithdrawERC721 ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC721(uid *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC721 is a paid mutator transaction binding the contract method 0x03c0fe3a.
Solidity: function withdrawERC721(uid uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractSession) WithdrawERC721X ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC721X(tokenId *big.Int, amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC721X is a paid mutator transaction binding the contract method 0xced7c92a.
Solidity: function withdrawERC721X(tokenId uint256, amount uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractSession) WithdrawETH ¶
func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawETH(amount *big.Int, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawETH is a paid mutator transaction binding the contract method 0xda293eb3.
Solidity: function withdrawETH(amount uint256, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
type MainnetGatewayContractTokenWithdrawn ¶
type MainnetGatewayContractTokenWithdrawn struct { Owner common.Address Kind uint8 ContractAddress common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
MainnetGatewayContractTokenWithdrawn represents a TokenWithdrawn event raised by the MainnetGatewayContract contract.
type MainnetGatewayContractTokenWithdrawnIterator ¶
type MainnetGatewayContractTokenWithdrawnIterator struct { Event *MainnetGatewayContractTokenWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MainnetGatewayContractTokenWithdrawnIterator is returned from FilterTokenWithdrawn and is used to iterate over the raw logs and unpacked data for TokenWithdrawn events raised by the MainnetGatewayContract contract.
func (*MainnetGatewayContractTokenWithdrawnIterator) Close ¶
func (it *MainnetGatewayContractTokenWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MainnetGatewayContractTokenWithdrawnIterator) Error ¶
func (it *MainnetGatewayContractTokenWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MainnetGatewayContractTokenWithdrawnIterator) Next ¶
func (it *MainnetGatewayContractTokenWithdrawnIterator) 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 MainnetGatewayContractTransactor ¶
type MainnetGatewayContractTransactor struct {
// contains filtered or unexported fields
}
MainnetGatewayContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMainnetGatewayContractTransactor ¶
func NewMainnetGatewayContractTransactor(address common.Address, transactor bind.ContractTransactor) (*MainnetGatewayContractTransactor, error)
NewMainnetGatewayContractTransactor creates a new write-only instance of MainnetGatewayContract, bound to a specific deployed contract.
func (*MainnetGatewayContractTransactor) DepositERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) DepositERC20(opts *bind.TransactOpts, amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x392d661c.
Solidity: function depositERC20(amount uint256, contractAddress address) returns()
func (*MainnetGatewayContractTransactor) EnableGateway ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) EnableGateway(opts *bind.TransactOpts, enable bool) (*types.Transaction, error)
EnableGateway is a paid mutator transaction binding the contract method 0x41c25c4a.
Solidity: function enableGateway(enable bool) returns()
func (*MainnetGatewayContractTransactor) OnERC721Received ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) OnERC721Received(opts *bind.TransactOpts, _operator common.Address, _from common.Address, _uid *big.Int, _data []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(_operator address, _from address, _uid uint256, _data bytes) returns(bytes4)
func (*MainnetGatewayContractTransactor) OnERC721XBatchReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) OnERC721XBatchReceived(opts *bind.TransactOpts, _operator common.Address, _from common.Address, _types []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC721XBatchReceived is a paid mutator transaction binding the contract method 0xb3b0f4c7.
Solidity: function onERC721XBatchReceived(_operator address, _from address, _types uint256[], _amounts uint256[], _data bytes) returns(bytes4)
func (*MainnetGatewayContractTransactor) OnERC721XReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) OnERC721XReceived(opts *bind.TransactOpts, _operator common.Address, _from common.Address, _tokenId *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC721XReceived is a paid mutator transaction binding the contract method 0x93ba7daa.
Solidity: function onERC721XReceived(_operator address, _from address, _tokenId uint256, _amount uint256, _data bytes) returns(bytes4)
func (*MainnetGatewayContractTransactor) ToggleAllowAnyToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) ToggleAllowAnyToken(opts *bind.TransactOpts, allow bool) (*types.Transaction, error)
ToggleAllowAnyToken is a paid mutator transaction binding the contract method 0xe402fbc8.
Solidity: function toggleAllowAnyToken(allow bool) returns()
func (*MainnetGatewayContractTransactor) ToggleAllowToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) ToggleAllowToken(opts *bind.TransactOpts, tokenAddress common.Address, allow bool) (*types.Transaction, error)
ToggleAllowToken is a paid mutator transaction binding the contract method 0xb82730ab.
Solidity: function toggleAllowToken(tokenAddress address, allow bool) returns()
func (*MainnetGatewayContractTransactor) WithdrawERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC20(opts *bind.TransactOpts, amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0xb0116dc7.
Solidity: function withdrawERC20(amount uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractTransactor) WithdrawERC721 ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC721(opts *bind.TransactOpts, uid *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC721 is a paid mutator transaction binding the contract method 0x03c0fe3a.
Solidity: function withdrawERC721(uid uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractTransactor) WithdrawERC721X ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC721X(opts *bind.TransactOpts, tokenId *big.Int, amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC721X is a paid mutator transaction binding the contract method 0xced7c92a.
Solidity: function withdrawERC721X(tokenId uint256, amount uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractTransactor) WithdrawETH ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawETH(opts *bind.TransactOpts, amount *big.Int, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawETH is a paid mutator transaction binding the contract method 0xda293eb3.
Solidity: function withdrawETH(amount uint256, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
type MainnetGatewayContractTransactorRaw ¶
type MainnetGatewayContractTransactorRaw struct {
Contract *MainnetGatewayContractTransactor // Generic write-only contract binding to access the raw methods on
}
MainnetGatewayContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MainnetGatewayContractTransactorRaw) Transact ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MainnetGatewayContractTransactorRaw) Transfer ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorRaw) 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 MainnetGatewayContractTransactorSession ¶
type MainnetGatewayContractTransactorSession struct { Contract *MainnetGatewayContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MainnetGatewayContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MainnetGatewayContractTransactorSession) DepositERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) DepositERC20(amount *big.Int, contractAddress common.Address) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x392d661c.
Solidity: function depositERC20(amount uint256, contractAddress address) returns()
func (*MainnetGatewayContractTransactorSession) EnableGateway ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) EnableGateway(enable bool) (*types.Transaction, error)
EnableGateway is a paid mutator transaction binding the contract method 0x41c25c4a.
Solidity: function enableGateway(enable bool) returns()
func (*MainnetGatewayContractTransactorSession) OnERC721Received ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) OnERC721Received(_operator common.Address, _from common.Address, _uid *big.Int, _data []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(_operator address, _from address, _uid uint256, _data bytes) returns(bytes4)
func (*MainnetGatewayContractTransactorSession) OnERC721XBatchReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) OnERC721XBatchReceived(_operator common.Address, _from common.Address, _types []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)
OnERC721XBatchReceived is a paid mutator transaction binding the contract method 0xb3b0f4c7.
Solidity: function onERC721XBatchReceived(_operator address, _from address, _types uint256[], _amounts uint256[], _data bytes) returns(bytes4)
func (*MainnetGatewayContractTransactorSession) OnERC721XReceived ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) OnERC721XReceived(_operator common.Address, _from common.Address, _tokenId *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)
OnERC721XReceived is a paid mutator transaction binding the contract method 0x93ba7daa.
Solidity: function onERC721XReceived(_operator address, _from address, _tokenId uint256, _amount uint256, _data bytes) returns(bytes4)
func (*MainnetGatewayContractTransactorSession) ToggleAllowAnyToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) ToggleAllowAnyToken(allow bool) (*types.Transaction, error)
ToggleAllowAnyToken is a paid mutator transaction binding the contract method 0xe402fbc8.
Solidity: function toggleAllowAnyToken(allow bool) returns()
func (*MainnetGatewayContractTransactorSession) ToggleAllowToken ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) ToggleAllowToken(tokenAddress common.Address, allow bool) (*types.Transaction, error)
ToggleAllowToken is a paid mutator transaction binding the contract method 0xb82730ab.
Solidity: function toggleAllowToken(tokenAddress address, allow bool) returns()
func (*MainnetGatewayContractTransactorSession) WithdrawERC20 ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC20(amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0xb0116dc7.
Solidity: function withdrawERC20(amount uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractTransactorSession) WithdrawERC721 ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC721(uid *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC721 is a paid mutator transaction binding the contract method 0x03c0fe3a.
Solidity: function withdrawERC721(uid uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractTransactorSession) WithdrawERC721X ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC721X(tokenId *big.Int, amount *big.Int, contractAddress common.Address, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawERC721X is a paid mutator transaction binding the contract method 0xced7c92a.
Solidity: function withdrawERC721X(tokenId uint256, amount uint256, contractAddress address, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
func (*MainnetGatewayContractTransactorSession) WithdrawETH ¶
func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawETH(amount *big.Int, _signersIndexes []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
WithdrawETH is a paid mutator transaction binding the contract method 0xda293eb3.
Solidity: function withdrawETH(amount uint256, _signersIndexes uint256[], _v uint8[], _r bytes32[], _s bytes32[]) returns()
type MainnetGatewayContractdiademCoinReceived ¶
type MainnetGatewayContractdiademCoinReceived struct { From common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos // contains filtered or unexported fields }
MainnetGatewayContractdiademCoinReceived represents a diademCoinReceived event raised by the MainnetGatewayContract contract.
type MainnetGatewayContractdiademCoinReceivedIterator ¶
type MainnetGatewayContractdiademCoinReceivedIterator struct { Event *MainnetGatewayContractdiademCoinReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MainnetGatewayContractdiademCoinReceivedIterator is returned from FilterdiademCoinReceived and is used to iterate over the raw logs and unpacked data for diademCoinReceived events raised by the MainnetGatewayContract contract.
func (*MainnetGatewayContractdiademCoinReceivedIterator) Close ¶
func (it *MainnetGatewayContractdiademCoinReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MainnetGatewayContractdiademCoinReceivedIterator) Error ¶
func (it *MainnetGatewayContractdiademCoinReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MainnetGatewayContractdiademCoinReceivedIterator) Next ¶
func (it *MainnetGatewayContractdiademCoinReceivedIterator) 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.