gateway

package
v0.0.0-...-0b06f50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MainnetGatewayContractABI = "" /* 11817-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 MainnetGatewayContractAddedValidator

type MainnetGatewayContractAddedValidator struct {
	Validator common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

MainnetGatewayContractAddedValidator represents a AddedValidator event raised by the MainnetGatewayContract contract.

type MainnetGatewayContractAddedValidatorIterator

type MainnetGatewayContractAddedValidatorIterator struct {
	Event *MainnetGatewayContractAddedValidator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MainnetGatewayContractAddedValidatorIterator is returned from FilterAddedValidator and is used to iterate over the raw logs and unpacked data for AddedValidator events raised by the MainnetGatewayContract contract.

func (*MainnetGatewayContractAddedValidatorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractAddedValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractAddedValidatorIterator) Next

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 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) AllowAnyToken

func (_MainnetGatewayContract *MainnetGatewayContractCaller) AllowAnyToken(opts *bind.CallOpts) (bool, error)

AllowAnyToken is a free data retrieval call binding the contract method 0x8025d570.

Solidity: function allowAnyToken() constant returns(bool)

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) CheckValidator

func (_MainnetGatewayContract *MainnetGatewayContractCaller) CheckValidator(opts *bind.CallOpts, _address common.Address) (bool, error)

CheckValidator is a free data retrieval call binding the contract method 0x797327ae.

Solidity: function checkValidator(_address address) 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) Nonce

func (_MainnetGatewayContract *MainnetGatewayContractCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() constant returns(uint256)

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)

func (*MainnetGatewayContractCaller) NumValidators

func (_MainnetGatewayContract *MainnetGatewayContractCaller) NumValidators(opts *bind.CallOpts) (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*MainnetGatewayContractCaller) Owner

func (_MainnetGatewayContract *MainnetGatewayContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

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) AllowAnyToken

func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) AllowAnyToken() (bool, error)

AllowAnyToken is a free data retrieval call binding the contract method 0x8025d570.

Solidity: function allowAnyToken() constant returns(bool)

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) CheckValidator

func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) CheckValidator(_address common.Address) (bool, error)

CheckValidator is a free data retrieval call binding the contract method 0x797327ae.

Solidity: function checkValidator(_address address) 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) Nonce

func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() constant returns(uint256)

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)

func (*MainnetGatewayContractCallerSession) NumValidators

func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*MainnetGatewayContractCallerSession) Owner

func (_MainnetGatewayContract *MainnetGatewayContractCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractERC20ReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractERC20ReceivedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractERC721ReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractERC721ReceivedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractERC721XBatchReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractERC721XBatchReceivedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractERC721XReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractERC721XReceivedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractETHReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractETHReceivedIterator) Next

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) FilterAddedValidator

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterAddedValidator(opts *bind.FilterOpts) (*MainnetGatewayContractAddedValidatorIterator, error)

FilterAddedValidator is a free log retrieval operation binding the contract event 0x8e15bf46bd11add443414ada75aa9592a4af68f3f2ec02ae3d49572f9843c2a8.

Solidity: e AddedValidator(validator address)

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) FilterOwnershipRenounced

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*MainnetGatewayContractOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: e OwnershipRenounced(previousOwner indexed address)

func (*MainnetGatewayContractFilterer) FilterOwnershipTransferred

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MainnetGatewayContractOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)

func (*MainnetGatewayContractFilterer) FilterRemovedValidator

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) FilterRemovedValidator(opts *bind.FilterOpts) (*MainnetGatewayContractRemovedValidatorIterator, error)

FilterRemovedValidator is a free log retrieval operation binding the contract event 0xb625c55cf7e37b54fcd18bc4edafdf3f4f9acd59a5ec824c77c795dcb2d65070.

Solidity: e RemovedValidator(validator address)

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) WatchAddedValidator

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchAddedValidator(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractAddedValidator) (event.Subscription, error)

WatchAddedValidator is a free log subscription operation binding the contract event 0x8e15bf46bd11add443414ada75aa9592a4af68f3f2ec02ae3d49572f9843c2a8.

Solidity: e AddedValidator(validator 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) WatchOwnershipRenounced

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: e OwnershipRenounced(previousOwner indexed address)

func (*MainnetGatewayContractFilterer) WatchOwnershipTransferred

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)

func (*MainnetGatewayContractFilterer) WatchRemovedValidator

func (_MainnetGatewayContract *MainnetGatewayContractFilterer) WatchRemovedValidator(opts *bind.WatchOpts, sink chan<- *MainnetGatewayContractRemovedValidator) (event.Subscription, error)

WatchRemovedValidator is a free log subscription operation binding the contract event 0xb625c55cf7e37b54fcd18bc4edafdf3f4f9acd59a5ec824c77c795dcb2d65070.

Solidity: e RemovedValidator(validator address)

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 MainnetGatewayContractOwnershipRenounced

type MainnetGatewayContractOwnershipRenounced struct {
	PreviousOwner common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

MainnetGatewayContractOwnershipRenounced represents a OwnershipRenounced event raised by the MainnetGatewayContract contract.

type MainnetGatewayContractOwnershipRenouncedIterator

type MainnetGatewayContractOwnershipRenouncedIterator struct {
	Event *MainnetGatewayContractOwnershipRenounced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MainnetGatewayContractOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the MainnetGatewayContract contract.

func (*MainnetGatewayContractOwnershipRenouncedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractOwnershipRenouncedIterator) Next

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 MainnetGatewayContractOwnershipTransferred

type MainnetGatewayContractOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

MainnetGatewayContractOwnershipTransferred represents a OwnershipTransferred event raised by the MainnetGatewayContract contract.

type MainnetGatewayContractOwnershipTransferredIterator

type MainnetGatewayContractOwnershipTransferredIterator struct {
	Event *MainnetGatewayContractOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MainnetGatewayContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the MainnetGatewayContract contract.

func (*MainnetGatewayContractOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractOwnershipTransferredIterator) Next

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 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 MainnetGatewayContractRemovedValidator

type MainnetGatewayContractRemovedValidator struct {
	Validator common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

MainnetGatewayContractRemovedValidator represents a RemovedValidator event raised by the MainnetGatewayContract contract.

type MainnetGatewayContractRemovedValidatorIterator

type MainnetGatewayContractRemovedValidatorIterator struct {
	Event *MainnetGatewayContractRemovedValidator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MainnetGatewayContractRemovedValidatorIterator is returned from FilterRemovedValidator and is used to iterate over the raw logs and unpacked data for RemovedValidator events raised by the MainnetGatewayContract contract.

func (*MainnetGatewayContractRemovedValidatorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractRemovedValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractRemovedValidatorIterator) Next

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 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) AddValidator

func (_MainnetGatewayContract *MainnetGatewayContractSession) AddValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x90b616c8.

Solidity: function addValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*MainnetGatewayContractSession) AllowAnyToken

func (_MainnetGatewayContract *MainnetGatewayContractSession) AllowAnyToken() (bool, error)

AllowAnyToken is a free data retrieval call binding the contract method 0x8025d570.

Solidity: function allowAnyToken() constant returns(bool)

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) CheckValidator

func (_MainnetGatewayContract *MainnetGatewayContractSession) CheckValidator(_address common.Address) (bool, error)

CheckValidator is a free data retrieval call binding the contract method 0x797327ae.

Solidity: function checkValidator(_address 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) 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) Nonce

func (_MainnetGatewayContract *MainnetGatewayContractSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() constant returns(uint256)

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) NumValidators

func (_MainnetGatewayContract *MainnetGatewayContractSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() 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) RemoveValidator

func (_MainnetGatewayContract *MainnetGatewayContractSession) RemoveValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0xc7e7f6f6.

Solidity: function removeValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*MainnetGatewayContractSession) RenounceOwnership

func (_MainnetGatewayContract *MainnetGatewayContractSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MainnetGatewayContractSession) SetdiademAddress

func (_MainnetGatewayContract *MainnetGatewayContractSession) SetdiademAddress(_diademAddress common.Address, sig []byte) (*types.Transaction, error)

SetdiademAddress is a paid mutator transaction binding the contract method 0x94005ac3.

Solidity: function setdiademAddress(_diademAddress address, sig bytes) returns()

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) ToggleToken

func (_MainnetGatewayContract *MainnetGatewayContractSession) ToggleToken(_token common.Address) (*types.Transaction, error)

ToggleToken is a paid mutator transaction binding the contract method 0x15c75f89.

Solidity: function toggleToken(_token address) returns()

func (*MainnetGatewayContractSession) TransferOwnership

func (_MainnetGatewayContract *MainnetGatewayContractSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(_newOwner address) returns()

func (*MainnetGatewayContractSession) WithdrawERC20

func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC20(amount *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC20 is a paid mutator transaction binding the contract method 0x2cd2e930.

Solidity: function withdrawERC20(amount uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractSession) WithdrawERC721

func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC721(uid *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC721 is a paid mutator transaction binding the contract method 0xc899a86b.

Solidity: function withdrawERC721(uid uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractSession) WithdrawERC721X

func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawERC721X(tokenId *big.Int, amount *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC721X is a paid mutator transaction binding the contract method 0xe246e933.

Solidity: function withdrawERC721X(tokenId uint256, amount uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractSession) WithdrawETH

func (_MainnetGatewayContract *MainnetGatewayContractSession) WithdrawETH(amount *big.Int, sig []byte) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x3ef32986.

Solidity: function withdrawETH(amount uint256, sig bytes) 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractTokenWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractTokenWithdrawnIterator) Next

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) AddValidator

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) AddValidator(opts *bind.TransactOpts, _validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x90b616c8.

Solidity: function addValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

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) 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) RemoveValidator

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) RemoveValidator(opts *bind.TransactOpts, _validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0xc7e7f6f6.

Solidity: function removeValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*MainnetGatewayContractTransactor) RenounceOwnership

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MainnetGatewayContractTransactor) SetdiademAddress

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) SetdiademAddress(opts *bind.TransactOpts, _diademAddress common.Address, sig []byte) (*types.Transaction, error)

SetdiademAddress is a paid mutator transaction binding the contract method 0x94005ac3.

Solidity: function setdiademAddress(_diademAddress address, sig bytes) returns()

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) ToggleToken

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) ToggleToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ToggleToken is a paid mutator transaction binding the contract method 0x15c75f89.

Solidity: function toggleToken(_token address) returns()

func (*MainnetGatewayContractTransactor) TransferOwnership

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(_newOwner address) returns()

func (*MainnetGatewayContractTransactor) WithdrawERC20

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC20(opts *bind.TransactOpts, amount *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC20 is a paid mutator transaction binding the contract method 0x2cd2e930.

Solidity: function withdrawERC20(amount uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractTransactor) WithdrawERC721

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC721(opts *bind.TransactOpts, uid *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC721 is a paid mutator transaction binding the contract method 0xc899a86b.

Solidity: function withdrawERC721(uid uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractTransactor) WithdrawERC721X

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawERC721X(opts *bind.TransactOpts, tokenId *big.Int, amount *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC721X is a paid mutator transaction binding the contract method 0xe246e933.

Solidity: function withdrawERC721X(tokenId uint256, amount uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractTransactor) WithdrawETH

func (_MainnetGatewayContract *MainnetGatewayContractTransactor) WithdrawETH(opts *bind.TransactOpts, amount *big.Int, sig []byte) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x3ef32986.

Solidity: function withdrawETH(amount uint256, sig bytes) 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) AddValidator

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) AddValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x90b616c8.

Solidity: function addValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

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) 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) RemoveValidator

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) RemoveValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0xc7e7f6f6.

Solidity: function removeValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*MainnetGatewayContractTransactorSession) RenounceOwnership

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*MainnetGatewayContractTransactorSession) SetdiademAddress

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) SetdiademAddress(_diademAddress common.Address, sig []byte) (*types.Transaction, error)

SetdiademAddress is a paid mutator transaction binding the contract method 0x94005ac3.

Solidity: function setdiademAddress(_diademAddress address, sig bytes) returns()

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) ToggleToken

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) ToggleToken(_token common.Address) (*types.Transaction, error)

ToggleToken is a paid mutator transaction binding the contract method 0x15c75f89.

Solidity: function toggleToken(_token address) returns()

func (*MainnetGatewayContractTransactorSession) TransferOwnership

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(_newOwner address) returns()

func (*MainnetGatewayContractTransactorSession) WithdrawERC20

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC20(amount *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC20 is a paid mutator transaction binding the contract method 0x2cd2e930.

Solidity: function withdrawERC20(amount uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractTransactorSession) WithdrawERC721

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC721(uid *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC721 is a paid mutator transaction binding the contract method 0xc899a86b.

Solidity: function withdrawERC721(uid uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractTransactorSession) WithdrawERC721X

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawERC721X(tokenId *big.Int, amount *big.Int, sig []byte, contractAddress common.Address) (*types.Transaction, error)

WithdrawERC721X is a paid mutator transaction binding the contract method 0xe246e933.

Solidity: function withdrawERC721X(tokenId uint256, amount uint256, sig bytes, contractAddress address) returns()

func (*MainnetGatewayContractTransactorSession) WithdrawETH

func (_MainnetGatewayContract *MainnetGatewayContractTransactorSession) WithdrawETH(amount *big.Int, sig []byte) (*types.Transaction, error)

WithdrawETH is a paid mutator transaction binding the contract method 0x3ef32986.

Solidity: function withdrawETH(amount uint256, sig bytes) 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*MainnetGatewayContractdiademCoinReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MainnetGatewayContractdiademCoinReceivedIterator) Next

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL