router

package
v0.0.1-alpha-10 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RouterABI = "" /* 6910-byte string literal not displayed */

RouterABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	RouterCaller     // Read-only binding to the contract
	RouterTransactor // Write-only binding to the contract
	RouterFilterer   // Log filterer for contract events
}

Router is an auto generated Go binding around an Ethereum contract.

func NewRouter

func NewRouter(address common.Address, backend bind.ContractBackend) (*Router, error)

NewRouter creates a new instance of Router, bound to a specific deployed contract.

type RouterBurn

type RouterBurn struct {
	Account      common.Address
	WrappedAsset common.Address
	Amount       *big.Int
	Receiver     []byte
	Raw          types.Log // Blockchain specific contextual infos
}

RouterBurn represents a Burn event raised by the Router contract.

type RouterBurnIterator

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

RouterBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the Router contract.

func (*RouterBurnIterator) Close

func (it *RouterBurnIterator) Close() error

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

func (*RouterBurnIterator) Error

func (it *RouterBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterBurnIterator) Next

func (it *RouterBurnIterator) 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 RouterCaller

type RouterCaller struct {
	// contains filtered or unexported fields
}

RouterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRouterCaller

func NewRouterCaller(address common.Address, caller bind.ContractCaller) (*RouterCaller, error)

NewRouterCaller creates a new read-only instance of Router, bound to a specific deployed contract.

func (*RouterCaller) Controller

func (_Router *RouterCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*RouterCaller) ExecutedTransactions

func (_Router *RouterCaller) ExecutedTransactions(opts *bind.CallOpts, arg0 []byte) (bool, error)

ExecutedTransactions is a free data retrieval call binding the contract method 0x4c2c7559.

Solidity: function executedTransactions(bytes ) view returns(bool)

func (*RouterCaller) IsMember

func (_Router *RouterCaller) IsMember(opts *bind.CallOpts, _member common.Address) (bool, error)

IsMember is a free data retrieval call binding the contract method 0xa230c524.

Solidity: function isMember(address _member) view returns(bool)

func (*RouterCaller) IsSupportedAsset

func (_Router *RouterCaller) IsSupportedAsset(opts *bind.CallOpts, wrappedAsset common.Address) (bool, error)

IsSupportedAsset is a free data retrieval call binding the contract method 0x9be918e6.

Solidity: function isSupportedAsset(address wrappedAsset) view returns(bool)

func (*RouterCaller) MemberAt

func (_Router *RouterCaller) MemberAt(opts *bind.CallOpts, index *big.Int) (common.Address, error)

MemberAt is a free data retrieval call binding the contract method 0xac0250f7.

Solidity: function memberAt(uint256 index) view returns(address)

func (*RouterCaller) MembersCount

func (_Router *RouterCaller) MembersCount(opts *bind.CallOpts) (*big.Int, error)

MembersCount is a free data retrieval call binding the contract method 0x297f9af0.

Solidity: function membersCount() view returns(uint256)

func (*RouterCaller) NativeToWrapped

func (_Router *RouterCaller) NativeToWrapped(opts *bind.CallOpts, arg0 []byte) (common.Address, error)

NativeToWrapped is a free data retrieval call binding the contract method 0x1104296b.

Solidity: function nativeToWrapped(bytes ) view returns(address)

func (*RouterCaller) Owner

func (_Router *RouterCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RouterCaller) WrappedAssetAt

func (_Router *RouterCaller) WrappedAssetAt(opts *bind.CallOpts, index *big.Int) (common.Address, error)

WrappedAssetAt is a free data retrieval call binding the contract method 0xa1dce12c.

Solidity: function wrappedAssetAt(uint256 index) view returns(address)

func (*RouterCaller) WrappedAssetsCount

func (_Router *RouterCaller) WrappedAssetsCount(opts *bind.CallOpts) (*big.Int, error)

WrappedAssetsCount is a free data retrieval call binding the contract method 0x868a503c.

Solidity: function wrappedAssetsCount() view returns(uint256)

func (*RouterCaller) WrappedToNative

func (_Router *RouterCaller) WrappedToNative(opts *bind.CallOpts, arg0 common.Address) ([]byte, error)

WrappedToNative is a free data retrieval call binding the contract method 0xa5e83bcb.

Solidity: function wrappedToNative(address ) view returns(bytes)

type RouterCallerRaw

type RouterCallerRaw struct {
	Contract *RouterCaller // Generic read-only contract binding to access the raw methods on
}

RouterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RouterCallerRaw) Call

func (_Router *RouterCallerRaw) 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 RouterCallerSession

type RouterCallerSession struct {
	Contract *RouterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

RouterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RouterCallerSession) Controller

func (_Router *RouterCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*RouterCallerSession) ExecutedTransactions

func (_Router *RouterCallerSession) ExecutedTransactions(arg0 []byte) (bool, error)

ExecutedTransactions is a free data retrieval call binding the contract method 0x4c2c7559.

Solidity: function executedTransactions(bytes ) view returns(bool)

func (*RouterCallerSession) IsMember

func (_Router *RouterCallerSession) IsMember(_member common.Address) (bool, error)

IsMember is a free data retrieval call binding the contract method 0xa230c524.

Solidity: function isMember(address _member) view returns(bool)

func (*RouterCallerSession) IsSupportedAsset

func (_Router *RouterCallerSession) IsSupportedAsset(wrappedAsset common.Address) (bool, error)

IsSupportedAsset is a free data retrieval call binding the contract method 0x9be918e6.

Solidity: function isSupportedAsset(address wrappedAsset) view returns(bool)

func (*RouterCallerSession) MemberAt

func (_Router *RouterCallerSession) MemberAt(index *big.Int) (common.Address, error)

MemberAt is a free data retrieval call binding the contract method 0xac0250f7.

Solidity: function memberAt(uint256 index) view returns(address)

func (*RouterCallerSession) MembersCount

func (_Router *RouterCallerSession) MembersCount() (*big.Int, error)

MembersCount is a free data retrieval call binding the contract method 0x297f9af0.

Solidity: function membersCount() view returns(uint256)

func (*RouterCallerSession) NativeToWrapped

func (_Router *RouterCallerSession) NativeToWrapped(arg0 []byte) (common.Address, error)

NativeToWrapped is a free data retrieval call binding the contract method 0x1104296b.

Solidity: function nativeToWrapped(bytes ) view returns(address)

func (*RouterCallerSession) Owner

func (_Router *RouterCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RouterCallerSession) WrappedAssetAt

func (_Router *RouterCallerSession) WrappedAssetAt(index *big.Int) (common.Address, error)

WrappedAssetAt is a free data retrieval call binding the contract method 0xa1dce12c.

Solidity: function wrappedAssetAt(uint256 index) view returns(address)

func (*RouterCallerSession) WrappedAssetsCount

func (_Router *RouterCallerSession) WrappedAssetsCount() (*big.Int, error)

WrappedAssetsCount is a free data retrieval call binding the contract method 0x868a503c.

Solidity: function wrappedAssetsCount() view returns(uint256)

func (*RouterCallerSession) WrappedToNative

func (_Router *RouterCallerSession) WrappedToNative(arg0 common.Address) ([]byte, error)

WrappedToNative is a free data retrieval call binding the contract method 0xa5e83bcb.

Solidity: function wrappedToNative(address ) view returns(bytes)

type RouterFilterer

type RouterFilterer struct {
	// contains filtered or unexported fields
}

RouterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRouterFilterer

func NewRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*RouterFilterer, error)

NewRouterFilterer creates a new log filterer instance of Router, bound to a specific deployed contract.

func (*RouterFilterer) FilterBurn

func (_Router *RouterFilterer) FilterBurn(opts *bind.FilterOpts, account []common.Address, wrappedAsset []common.Address) (*RouterBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0x21e3428dd0c1de86ad5cb0d4df91049f26e9711489b51d1e9b5d5a53ebae1f63.

Solidity: event Burn(address indexed account, address indexed wrappedAsset, uint256 amount, bytes receiver)

func (*RouterFilterer) FilterMemberUpdated

func (_Router *RouterFilterer) FilterMemberUpdated(opts *bind.FilterOpts) (*RouterMemberUpdatedIterator, error)

FilterMemberUpdated is a free log retrieval operation binding the contract event 0x30f1d11f11278ba2cc669fd4c95ee8d46ede2c82f6af0b74e4f427369b3522d3.

Solidity: event MemberUpdated(address member, bool status)

func (*RouterFilterer) FilterMint

func (_Router *RouterFilterer) FilterMint(opts *bind.FilterOpts, account []common.Address, wrappedAsset []common.Address, transactionId [][]byte) (*RouterMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x30c99b8e9449992bd7616d2645b02ee0a2b6f229a45d6b56b686963ff0c53497.

Solidity: event Mint(address indexed account, address indexed wrappedAsset, uint256 amount, bytes indexed transactionId)

func (*RouterFilterer) FilterOwnershipTransferred

func (_Router *RouterFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RouterOwnershipTransferredIterator, error)

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

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

func (*RouterFilterer) FilterPairAdded

func (_Router *RouterFilterer) FilterPairAdded(opts *bind.FilterOpts) (*RouterPairAddedIterator, error)

FilterPairAdded is a free log retrieval operation binding the contract event 0xb5b48dbe7e7da4cacb0e117526f73468db287d8677e56aa66ba5cbf0ae0268d2.

Solidity: event PairAdded(bytes native, address wrapped)

func (*RouterFilterer) FilterPairRemoved

func (_Router *RouterFilterer) FilterPairRemoved(opts *bind.FilterOpts) (*RouterPairRemovedIterator, error)

FilterPairRemoved is a free log retrieval operation binding the contract event 0x3812e2f41e41b2813c984b5c8e00dde55d97583c8440466f9c597ff232d0e381.

Solidity: event PairRemoved(bytes native, address wrapped)

func (*RouterFilterer) ParseBurn

func (_Router *RouterFilterer) ParseBurn(log types.Log) (*RouterBurn, error)

ParseBurn is a log parse operation binding the contract event 0x21e3428dd0c1de86ad5cb0d4df91049f26e9711489b51d1e9b5d5a53ebae1f63.

Solidity: event Burn(address indexed account, address indexed wrappedAsset, uint256 amount, bytes receiver)

func (*RouterFilterer) ParseMemberUpdated

func (_Router *RouterFilterer) ParseMemberUpdated(log types.Log) (*RouterMemberUpdated, error)

ParseMemberUpdated is a log parse operation binding the contract event 0x30f1d11f11278ba2cc669fd4c95ee8d46ede2c82f6af0b74e4f427369b3522d3.

Solidity: event MemberUpdated(address member, bool status)

func (*RouterFilterer) ParseMint

func (_Router *RouterFilterer) ParseMint(log types.Log) (*RouterMint, error)

ParseMint is a log parse operation binding the contract event 0x30c99b8e9449992bd7616d2645b02ee0a2b6f229a45d6b56b686963ff0c53497.

Solidity: event Mint(address indexed account, address indexed wrappedAsset, uint256 amount, bytes indexed transactionId)

func (*RouterFilterer) ParseOwnershipTransferred

func (_Router *RouterFilterer) ParseOwnershipTransferred(log types.Log) (*RouterOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*RouterFilterer) ParsePairAdded

func (_Router *RouterFilterer) ParsePairAdded(log types.Log) (*RouterPairAdded, error)

ParsePairAdded is a log parse operation binding the contract event 0xb5b48dbe7e7da4cacb0e117526f73468db287d8677e56aa66ba5cbf0ae0268d2.

Solidity: event PairAdded(bytes native, address wrapped)

func (*RouterFilterer) ParsePairRemoved

func (_Router *RouterFilterer) ParsePairRemoved(log types.Log) (*RouterPairRemoved, error)

ParsePairRemoved is a log parse operation binding the contract event 0x3812e2f41e41b2813c984b5c8e00dde55d97583c8440466f9c597ff232d0e381.

Solidity: event PairRemoved(bytes native, address wrapped)

func (*RouterFilterer) WatchBurn

func (_Router *RouterFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *RouterBurn, account []common.Address, wrappedAsset []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0x21e3428dd0c1de86ad5cb0d4df91049f26e9711489b51d1e9b5d5a53ebae1f63.

Solidity: event Burn(address indexed account, address indexed wrappedAsset, uint256 amount, bytes receiver)

func (*RouterFilterer) WatchMemberUpdated

func (_Router *RouterFilterer) WatchMemberUpdated(opts *bind.WatchOpts, sink chan<- *RouterMemberUpdated) (event.Subscription, error)

WatchMemberUpdated is a free log subscription operation binding the contract event 0x30f1d11f11278ba2cc669fd4c95ee8d46ede2c82f6af0b74e4f427369b3522d3.

Solidity: event MemberUpdated(address member, bool status)

func (*RouterFilterer) WatchMint

func (_Router *RouterFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *RouterMint, account []common.Address, wrappedAsset []common.Address, transactionId [][]byte) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x30c99b8e9449992bd7616d2645b02ee0a2b6f229a45d6b56b686963ff0c53497.

Solidity: event Mint(address indexed account, address indexed wrappedAsset, uint256 amount, bytes indexed transactionId)

func (*RouterFilterer) WatchOwnershipTransferred

func (_Router *RouterFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RouterOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*RouterFilterer) WatchPairAdded

func (_Router *RouterFilterer) WatchPairAdded(opts *bind.WatchOpts, sink chan<- *RouterPairAdded) (event.Subscription, error)

WatchPairAdded is a free log subscription operation binding the contract event 0xb5b48dbe7e7da4cacb0e117526f73468db287d8677e56aa66ba5cbf0ae0268d2.

Solidity: event PairAdded(bytes native, address wrapped)

func (*RouterFilterer) WatchPairRemoved

func (_Router *RouterFilterer) WatchPairRemoved(opts *bind.WatchOpts, sink chan<- *RouterPairRemoved) (event.Subscription, error)

WatchPairRemoved is a free log subscription operation binding the contract event 0x3812e2f41e41b2813c984b5c8e00dde55d97583c8440466f9c597ff232d0e381.

Solidity: event PairRemoved(bytes native, address wrapped)

type RouterMemberUpdated

type RouterMemberUpdated struct {
	Member common.Address
	Status bool
	Raw    types.Log // Blockchain specific contextual infos
}

RouterMemberUpdated represents a MemberUpdated event raised by the Router contract.

type RouterMemberUpdatedIterator

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

RouterMemberUpdatedIterator is returned from FilterMemberUpdated and is used to iterate over the raw logs and unpacked data for MemberUpdated events raised by the Router contract.

func (*RouterMemberUpdatedIterator) Close

func (it *RouterMemberUpdatedIterator) Close() error

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

func (*RouterMemberUpdatedIterator) Error

func (it *RouterMemberUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterMemberUpdatedIterator) Next

func (it *RouterMemberUpdatedIterator) 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 RouterMint

type RouterMint struct {
	Account       common.Address
	WrappedAsset  common.Address
	Amount        *big.Int
	TransactionId common.Hash
	Raw           types.Log // Blockchain specific contextual infos
}

RouterMint represents a Mint event raised by the Router contract.

type RouterMintIterator

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

RouterMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Router contract.

func (*RouterMintIterator) Close

func (it *RouterMintIterator) Close() error

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

func (*RouterMintIterator) Error

func (it *RouterMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterMintIterator) Next

func (it *RouterMintIterator) 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 RouterOwnershipTransferred

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

RouterOwnershipTransferred represents a OwnershipTransferred event raised by the Router contract.

type RouterOwnershipTransferredIterator

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

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

func (*RouterOwnershipTransferredIterator) Close

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

func (*RouterOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterOwnershipTransferredIterator) 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 RouterPairAdded

type RouterPairAdded struct {
	Native  []byte
	Wrapped common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

RouterPairAdded represents a PairAdded event raised by the Router contract.

type RouterPairAddedIterator

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

RouterPairAddedIterator is returned from FilterPairAdded and is used to iterate over the raw logs and unpacked data for PairAdded events raised by the Router contract.

func (*RouterPairAddedIterator) Close

func (it *RouterPairAddedIterator) Close() error

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

func (*RouterPairAddedIterator) Error

func (it *RouterPairAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterPairAddedIterator) Next

func (it *RouterPairAddedIterator) 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 RouterPairRemoved

type RouterPairRemoved struct {
	Native  []byte
	Wrapped common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

RouterPairRemoved represents a PairRemoved event raised by the Router contract.

type RouterPairRemovedIterator

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

RouterPairRemovedIterator is returned from FilterPairRemoved and is used to iterate over the raw logs and unpacked data for PairRemoved events raised by the Router contract.

func (*RouterPairRemovedIterator) Close

func (it *RouterPairRemovedIterator) Close() error

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

func (*RouterPairRemovedIterator) Error

func (it *RouterPairRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterPairRemovedIterator) Next

func (it *RouterPairRemovedIterator) 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 RouterRaw

type RouterRaw struct {
	Contract *Router // Generic contract binding to access the raw methods on
}

RouterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RouterRaw) Call

func (_Router *RouterRaw) 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 (*RouterRaw) Transact

func (_Router *RouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RouterRaw) Transfer

func (_Router *RouterRaw) 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 RouterSession

type RouterSession struct {
	Contract     *Router           // 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
}

RouterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RouterSession) AddPair

func (_Router *RouterSession) AddPair(native []byte, wrapped common.Address) (*types.Transaction, error)

AddPair is a paid mutator transaction binding the contract method 0x746c26fb.

Solidity: function addPair(bytes native, address wrapped) returns()

func (*RouterSession) Burn

func (_Router *RouterSession) Burn(amount *big.Int, receiver []byte, wrappedAsset common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x8c99319f.

Solidity: function burn(uint256 amount, bytes receiver, address wrappedAsset) returns()

func (*RouterSession) BurnWithPermit

func (_Router *RouterSession) BurnWithPermit(wrappedAsset common.Address, receiver []byte, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

BurnWithPermit is a paid mutator transaction binding the contract method 0x63f4c78a.

Solidity: function burnWithPermit(address wrappedAsset, bytes receiver, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*RouterSession) Controller

func (_Router *RouterSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*RouterSession) ExecutedTransactions

func (_Router *RouterSession) ExecutedTransactions(arg0 []byte) (bool, error)

ExecutedTransactions is a free data retrieval call binding the contract method 0x4c2c7559.

Solidity: function executedTransactions(bytes ) view returns(bool)

func (*RouterSession) IsMember

func (_Router *RouterSession) IsMember(_member common.Address) (bool, error)

IsMember is a free data retrieval call binding the contract method 0xa230c524.

Solidity: function isMember(address _member) view returns(bool)

func (*RouterSession) IsSupportedAsset

func (_Router *RouterSession) IsSupportedAsset(wrappedAsset common.Address) (bool, error)

IsSupportedAsset is a free data retrieval call binding the contract method 0x9be918e6.

Solidity: function isSupportedAsset(address wrappedAsset) view returns(bool)

func (*RouterSession) MemberAt

func (_Router *RouterSession) MemberAt(index *big.Int) (common.Address, error)

MemberAt is a free data retrieval call binding the contract method 0xac0250f7.

Solidity: function memberAt(uint256 index) view returns(address)

func (*RouterSession) MembersCount

func (_Router *RouterSession) MembersCount() (*big.Int, error)

MembersCount is a free data retrieval call binding the contract method 0x297f9af0.

Solidity: function membersCount() view returns(uint256)

func (*RouterSession) Mint

func (_Router *RouterSession) Mint(transactionId []byte, wrappedAsset common.Address, receiver common.Address, amount *big.Int, signatures [][]byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x9949e912.

Solidity: function mint(bytes transactionId, address wrappedAsset, address receiver, uint256 amount, bytes[] signatures) returns()

func (*RouterSession) NativeToWrapped

func (_Router *RouterSession) NativeToWrapped(arg0 []byte) (common.Address, error)

NativeToWrapped is a free data retrieval call binding the contract method 0x1104296b.

Solidity: function nativeToWrapped(bytes ) view returns(address)

func (*RouterSession) Owner

func (_Router *RouterSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RouterSession) RemovePair

func (_Router *RouterSession) RemovePair(native []byte, wrapped common.Address) (*types.Transaction, error)

RemovePair is a paid mutator transaction binding the contract method 0xef91259d.

Solidity: function removePair(bytes native, address wrapped) returns()

func (*RouterSession) RenounceOwnership

func (_Router *RouterSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*RouterSession) TransferOwnership

func (_Router *RouterSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*RouterSession) UpdateMember

func (_Router *RouterSession) UpdateMember(account common.Address, isMember bool) (*types.Transaction, error)

UpdateMember is a paid mutator transaction binding the contract method 0x05566101.

Solidity: function updateMember(address account, bool isMember) returns()

func (*RouterSession) WrappedAssetAt

func (_Router *RouterSession) WrappedAssetAt(index *big.Int) (common.Address, error)

WrappedAssetAt is a free data retrieval call binding the contract method 0xa1dce12c.

Solidity: function wrappedAssetAt(uint256 index) view returns(address)

func (*RouterSession) WrappedAssetsCount

func (_Router *RouterSession) WrappedAssetsCount() (*big.Int, error)

WrappedAssetsCount is a free data retrieval call binding the contract method 0x868a503c.

Solidity: function wrappedAssetsCount() view returns(uint256)

func (*RouterSession) WrappedToNative

func (_Router *RouterSession) WrappedToNative(arg0 common.Address) ([]byte, error)

WrappedToNative is a free data retrieval call binding the contract method 0xa5e83bcb.

Solidity: function wrappedToNative(address ) view returns(bytes)

type RouterTransactor

type RouterTransactor struct {
	// contains filtered or unexported fields
}

RouterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRouterTransactor

func NewRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*RouterTransactor, error)

NewRouterTransactor creates a new write-only instance of Router, bound to a specific deployed contract.

func (*RouterTransactor) AddPair

func (_Router *RouterTransactor) AddPair(opts *bind.TransactOpts, native []byte, wrapped common.Address) (*types.Transaction, error)

AddPair is a paid mutator transaction binding the contract method 0x746c26fb.

Solidity: function addPair(bytes native, address wrapped) returns()

func (*RouterTransactor) Burn

func (_Router *RouterTransactor) Burn(opts *bind.TransactOpts, amount *big.Int, receiver []byte, wrappedAsset common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x8c99319f.

Solidity: function burn(uint256 amount, bytes receiver, address wrappedAsset) returns()

func (*RouterTransactor) BurnWithPermit

func (_Router *RouterTransactor) BurnWithPermit(opts *bind.TransactOpts, wrappedAsset common.Address, receiver []byte, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

BurnWithPermit is a paid mutator transaction binding the contract method 0x63f4c78a.

Solidity: function burnWithPermit(address wrappedAsset, bytes receiver, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*RouterTransactor) Mint

func (_Router *RouterTransactor) Mint(opts *bind.TransactOpts, transactionId []byte, wrappedAsset common.Address, receiver common.Address, amount *big.Int, signatures [][]byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x9949e912.

Solidity: function mint(bytes transactionId, address wrappedAsset, address receiver, uint256 amount, bytes[] signatures) returns()

func (*RouterTransactor) RemovePair

func (_Router *RouterTransactor) RemovePair(opts *bind.TransactOpts, native []byte, wrapped common.Address) (*types.Transaction, error)

RemovePair is a paid mutator transaction binding the contract method 0xef91259d.

Solidity: function removePair(bytes native, address wrapped) returns()

func (*RouterTransactor) RenounceOwnership

func (_Router *RouterTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*RouterTransactor) TransferOwnership

func (_Router *RouterTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*RouterTransactor) UpdateMember

func (_Router *RouterTransactor) UpdateMember(opts *bind.TransactOpts, account common.Address, isMember bool) (*types.Transaction, error)

UpdateMember is a paid mutator transaction binding the contract method 0x05566101.

Solidity: function updateMember(address account, bool isMember) returns()

type RouterTransactorRaw

type RouterTransactorRaw struct {
	Contract *RouterTransactor // Generic write-only contract binding to access the raw methods on
}

RouterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RouterTransactorRaw) Transact

func (_Router *RouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RouterTransactorRaw) Transfer

func (_Router *RouterTransactorRaw) 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 RouterTransactorSession

type RouterTransactorSession struct {
	Contract     *RouterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

RouterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RouterTransactorSession) AddPair

func (_Router *RouterTransactorSession) AddPair(native []byte, wrapped common.Address) (*types.Transaction, error)

AddPair is a paid mutator transaction binding the contract method 0x746c26fb.

Solidity: function addPair(bytes native, address wrapped) returns()

func (*RouterTransactorSession) Burn

func (_Router *RouterTransactorSession) Burn(amount *big.Int, receiver []byte, wrappedAsset common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x8c99319f.

Solidity: function burn(uint256 amount, bytes receiver, address wrappedAsset) returns()

func (*RouterTransactorSession) BurnWithPermit

func (_Router *RouterTransactorSession) BurnWithPermit(wrappedAsset common.Address, receiver []byte, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

BurnWithPermit is a paid mutator transaction binding the contract method 0x63f4c78a.

Solidity: function burnWithPermit(address wrappedAsset, bytes receiver, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*RouterTransactorSession) Mint

func (_Router *RouterTransactorSession) Mint(transactionId []byte, wrappedAsset common.Address, receiver common.Address, amount *big.Int, signatures [][]byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x9949e912.

Solidity: function mint(bytes transactionId, address wrappedAsset, address receiver, uint256 amount, bytes[] signatures) returns()

func (*RouterTransactorSession) RemovePair

func (_Router *RouterTransactorSession) RemovePair(native []byte, wrapped common.Address) (*types.Transaction, error)

RemovePair is a paid mutator transaction binding the contract method 0xef91259d.

Solidity: function removePair(bytes native, address wrapped) returns()

func (*RouterTransactorSession) RenounceOwnership

func (_Router *RouterTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*RouterTransactorSession) TransferOwnership

func (_Router *RouterTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*RouterTransactorSession) UpdateMember

func (_Router *RouterTransactorSession) UpdateMember(account common.Address, isMember bool) (*types.Transaction, error)

UpdateMember is a paid mutator transaction binding the contract method 0x05566101.

Solidity: function updateMember(address account, bool isMember) returns()

Jump to

Keyboard shortcuts

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