router

package
v1.5.2-rc-3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RouterABI = "" /* 23237-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 IDiamondCutFacetCut

type IDiamondCutFacetCut struct {
	FacetAddress      common.Address
	Action            uint8
	FunctionSelectors [][4]byte
}

IDiamondCutFacetCut is an auto generated low-level Go binding around an user-defined struct.

type IDiamondLoupeFacet

type IDiamondLoupeFacet struct {
	FacetAddress      common.Address
	FunctionSelectors [][4]byte
}

IDiamondLoupeFacet is an auto generated low-level Go binding around an user-defined struct.

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 RouterAdminUpdated

type RouterAdminUpdated struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RouterAdminUpdated represents a AdminUpdated event raised by the Router contract.

type RouterAdminUpdatedIterator

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

RouterAdminUpdatedIterator is returned from FilterAdminUpdated and is used to iterate over the raw logs and unpacked data for AdminUpdated events raised by the Router contract.

func (*RouterAdminUpdatedIterator) Close

func (it *RouterAdminUpdatedIterator) Close() error

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

func (*RouterAdminUpdatedIterator) Error

func (it *RouterAdminUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterAdminUpdatedIterator) Next

func (it *RouterAdminUpdatedIterator) 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 RouterBurn

type RouterBurn struct {
	TargetChain *big.Int
	Token       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 RouterBurnERC721

type RouterBurnERC721 struct {
	TargetChain  *big.Int
	WrappedToken common.Address
	TokenId      *big.Int
	Receiver     []byte
	PaymentToken common.Address
	Fee          *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

RouterBurnERC721 represents a BurnERC721 event raised by the Router contract.

type RouterBurnERC721Iterator

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

RouterBurnERC721Iterator is returned from FilterBurnERC721 and is used to iterate over the raw logs and unpacked data for BurnERC721 events raised by the Router contract.

func (*RouterBurnERC721Iterator) Close

func (it *RouterBurnERC721Iterator) Close() error

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

func (*RouterBurnERC721Iterator) Error

func (it *RouterBurnERC721Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterBurnERC721Iterator) Next

func (it *RouterBurnERC721Iterator) 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 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) Admin

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

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*RouterCaller) ClaimedRewardsPerAccount

func (_Router *RouterCaller) ClaimedRewardsPerAccount(opts *bind.CallOpts, _account common.Address, _token common.Address) (*big.Int, error)

ClaimedRewardsPerAccount is a free data retrieval call binding the contract method 0x1b3738d5.

Solidity: function claimedRewardsPerAccount(address _account, address _token) view returns(uint256)

func (*RouterCaller) Erc721Fee

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

Erc721Fee is a free data retrieval call binding the contract method 0x4d1a36b8.

Solidity: function erc721Fee(address _erc721) view returns(uint256)

func (*RouterCaller) Erc721Payment

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

Erc721Payment is a free data retrieval call binding the contract method 0x80b35f85.

Solidity: function erc721Payment(address _erc721) view returns(address)

func (*RouterCaller) FacetAddress

func (_Router *RouterCaller) FacetAddress(opts *bind.CallOpts, _functionSelector [4]byte) (common.Address, error)

FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.

Solidity: function facetAddress(bytes4 _functionSelector) view returns(address facetAddress_)

func (*RouterCaller) FacetAddresses

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

FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.

Solidity: function facetAddresses() view returns(address[] facetAddresses_)

func (*RouterCaller) FacetFunctionSelectors

func (_Router *RouterCaller) FacetFunctionSelectors(opts *bind.CallOpts, _facet common.Address) ([][4]byte, error)

FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.

Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[] facetFunctionSelectors_)

func (*RouterCaller) Facets

func (_Router *RouterCaller) Facets(opts *bind.CallOpts) ([]IDiamondLoupeFacet, error)

Facets is a free data retrieval call binding the contract method 0x7a0ed627.

Solidity: function facets() view returns((address,bytes4[])[] facets_)

func (*RouterCaller) HasValidSignaturesLength

func (_Router *RouterCaller) HasValidSignaturesLength(opts *bind.CallOpts, _n *big.Int) (bool, error)

HasValidSignaturesLength is a free data retrieval call binding the contract method 0x54074eb1.

Solidity: function hasValidSignaturesLength(uint256 _n) view returns(bool)

func (*RouterCaller) HashesUsed

func (_Router *RouterCaller) HashesUsed(opts *bind.CallOpts, _ethHash [32]byte) (bool, error)

HashesUsed is a free data retrieval call binding the contract method 0xb826c58b.

Solidity: function hashesUsed(bytes32 _ethHash) 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) MemberAdmin

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

MemberAdmin is a free data retrieval call binding the contract method 0x52618b2f.

Solidity: function memberAdmin(address _member) view returns(address)

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

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

MembersPercentage is a free data retrieval call binding the contract method 0x689538d8.

Solidity: function membersPercentage() view returns(uint256)

func (*RouterCaller) MembersPrecision

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

MembersPrecision is a free data retrieval call binding the contract method 0x64feffee.

Solidity: function membersPrecision() view returns(uint256)

func (*RouterCaller) NativeTokenAt

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

NativeTokenAt is a free data retrieval call binding the contract method 0x352036ff.

Solidity: function nativeTokenAt(uint256 _index) view returns(address)

func (*RouterCaller) NativeTokensCount

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

NativeTokensCount is a free data retrieval call binding the contract method 0x1b74f8fe.

Solidity: function nativeTokensCount() view returns(uint256)

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

func (*RouterCaller) Paused

func (_Router *RouterCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*RouterCaller) PaymentTokenAt

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

PaymentTokenAt is a free data retrieval call binding the contract method 0x3a3934c4.

Solidity: function paymentTokenAt(uint256 _index) view returns(address)

func (*RouterCaller) ServiceFeePrecision

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

ServiceFeePrecision is a free data retrieval call binding the contract method 0x6d4b6bf5.

Solidity: function serviceFeePrecision() view returns(uint256)

func (*RouterCaller) SupportsInterface

func (_Router *RouterCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*RouterCaller) SupportsPaymentToken

func (_Router *RouterCaller) SupportsPaymentToken(opts *bind.CallOpts, _token common.Address) (bool, error)

SupportsPaymentToken is a free data retrieval call binding the contract method 0x530c0668.

Solidity: function supportsPaymentToken(address _token) view returns(bool)

func (*RouterCaller) TokenFeeData

func (_Router *RouterCaller) TokenFeeData(opts *bind.CallOpts, _token common.Address) (struct {
	ServiceFeePercentage *big.Int
	FeesAccrued          *big.Int
	PreviousAccrued      *big.Int
	Accumulator          *big.Int
}, error)

TokenFeeData is a free data retrieval call binding the contract method 0xeb6fc3b1.

Solidity: function tokenFeeData(address _token) view returns(uint256 serviceFeePercentage, uint256 feesAccrued, uint256 previousAccrued, uint256 accumulator)

func (*RouterCaller) TotalPaymentTokens

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

TotalPaymentTokens is a free data retrieval call binding the contract method 0xb6707500.

Solidity: function totalPaymentTokens() view returns(uint256)

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

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

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*RouterCallerSession) ClaimedRewardsPerAccount

func (_Router *RouterCallerSession) ClaimedRewardsPerAccount(_account common.Address, _token common.Address) (*big.Int, error)

ClaimedRewardsPerAccount is a free data retrieval call binding the contract method 0x1b3738d5.

Solidity: function claimedRewardsPerAccount(address _account, address _token) view returns(uint256)

func (*RouterCallerSession) Erc721Fee

func (_Router *RouterCallerSession) Erc721Fee(_erc721 common.Address) (*big.Int, error)

Erc721Fee is a free data retrieval call binding the contract method 0x4d1a36b8.

Solidity: function erc721Fee(address _erc721) view returns(uint256)

func (*RouterCallerSession) Erc721Payment

func (_Router *RouterCallerSession) Erc721Payment(_erc721 common.Address) (common.Address, error)

Erc721Payment is a free data retrieval call binding the contract method 0x80b35f85.

Solidity: function erc721Payment(address _erc721) view returns(address)

func (*RouterCallerSession) FacetAddress

func (_Router *RouterCallerSession) FacetAddress(_functionSelector [4]byte) (common.Address, error)

FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.

Solidity: function facetAddress(bytes4 _functionSelector) view returns(address facetAddress_)

func (*RouterCallerSession) FacetAddresses

func (_Router *RouterCallerSession) FacetAddresses() ([]common.Address, error)

FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.

Solidity: function facetAddresses() view returns(address[] facetAddresses_)

func (*RouterCallerSession) FacetFunctionSelectors

func (_Router *RouterCallerSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)

FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.

Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[] facetFunctionSelectors_)

func (*RouterCallerSession) Facets

func (_Router *RouterCallerSession) Facets() ([]IDiamondLoupeFacet, error)

Facets is a free data retrieval call binding the contract method 0x7a0ed627.

Solidity: function facets() view returns((address,bytes4[])[] facets_)

func (*RouterCallerSession) HasValidSignaturesLength

func (_Router *RouterCallerSession) HasValidSignaturesLength(_n *big.Int) (bool, error)

HasValidSignaturesLength is a free data retrieval call binding the contract method 0x54074eb1.

Solidity: function hasValidSignaturesLength(uint256 _n) view returns(bool)

func (*RouterCallerSession) HashesUsed

func (_Router *RouterCallerSession) HashesUsed(_ethHash [32]byte) (bool, error)

HashesUsed is a free data retrieval call binding the contract method 0xb826c58b.

Solidity: function hashesUsed(bytes32 _ethHash) 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) MemberAdmin

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

MemberAdmin is a free data retrieval call binding the contract method 0x52618b2f.

Solidity: function memberAdmin(address _member) view returns(address)

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

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

MembersPercentage is a free data retrieval call binding the contract method 0x689538d8.

Solidity: function membersPercentage() view returns(uint256)

func (*RouterCallerSession) MembersPrecision

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

MembersPrecision is a free data retrieval call binding the contract method 0x64feffee.

Solidity: function membersPrecision() view returns(uint256)

func (*RouterCallerSession) NativeTokenAt

func (_Router *RouterCallerSession) NativeTokenAt(_index *big.Int) (common.Address, error)

NativeTokenAt is a free data retrieval call binding the contract method 0x352036ff.

Solidity: function nativeTokenAt(uint256 _index) view returns(address)

func (*RouterCallerSession) NativeTokensCount

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

NativeTokensCount is a free data retrieval call binding the contract method 0x1b74f8fe.

Solidity: function nativeTokensCount() view returns(uint256)

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

func (*RouterCallerSession) Paused

func (_Router *RouterCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*RouterCallerSession) PaymentTokenAt

func (_Router *RouterCallerSession) PaymentTokenAt(_index *big.Int) (common.Address, error)

PaymentTokenAt is a free data retrieval call binding the contract method 0x3a3934c4.

Solidity: function paymentTokenAt(uint256 _index) view returns(address)

func (*RouterCallerSession) ServiceFeePrecision

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

ServiceFeePrecision is a free data retrieval call binding the contract method 0x6d4b6bf5.

Solidity: function serviceFeePrecision() view returns(uint256)

func (*RouterCallerSession) SupportsInterface

func (_Router *RouterCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*RouterCallerSession) SupportsPaymentToken

func (_Router *RouterCallerSession) SupportsPaymentToken(_token common.Address) (bool, error)

SupportsPaymentToken is a free data retrieval call binding the contract method 0x530c0668.

Solidity: function supportsPaymentToken(address _token) view returns(bool)

func (*RouterCallerSession) TokenFeeData

func (_Router *RouterCallerSession) TokenFeeData(_token common.Address) (struct {
	ServiceFeePercentage *big.Int
	FeesAccrued          *big.Int
	PreviousAccrued      *big.Int
	Accumulator          *big.Int
}, error)

TokenFeeData is a free data retrieval call binding the contract method 0xeb6fc3b1.

Solidity: function tokenFeeData(address _token) view returns(uint256 serviceFeePercentage, uint256 feesAccrued, uint256 previousAccrued, uint256 accumulator)

func (*RouterCallerSession) TotalPaymentTokens

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

TotalPaymentTokens is a free data retrieval call binding the contract method 0xb6707500.

Solidity: function totalPaymentTokens() view returns(uint256)

type RouterClaim

type RouterClaim struct {
	Member      common.Address
	MemberAdmin common.Address
	Token       common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RouterClaim represents a Claim event raised by the Router contract.

type RouterClaimIterator

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

RouterClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the Router contract.

func (*RouterClaimIterator) Close

func (it *RouterClaimIterator) Close() error

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

func (*RouterClaimIterator) Error

func (it *RouterClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterClaimIterator) Next

func (it *RouterClaimIterator) 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 RouterDiamondCut

type RouterDiamondCut struct {
	DiamondCut []IDiamondCutFacetCut
	Init       common.Address
	Calldata   []byte
	Raw        types.Log // Blockchain specific contextual infos
}

RouterDiamondCut represents a DiamondCut event raised by the Router contract.

type RouterDiamondCutIterator

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

RouterDiamondCutIterator is returned from FilterDiamondCut and is used to iterate over the raw logs and unpacked data for DiamondCut events raised by the Router contract.

func (*RouterDiamondCutIterator) Close

func (it *RouterDiamondCutIterator) Close() error

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

func (*RouterDiamondCutIterator) Error

func (it *RouterDiamondCutIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterDiamondCutIterator) Next

func (it *RouterDiamondCutIterator) 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 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) FilterAdminUpdated

func (_Router *RouterFilterer) FilterAdminUpdated(opts *bind.FilterOpts, previousAdmin []common.Address, newAdmin []common.Address) (*RouterAdminUpdatedIterator, error)

FilterAdminUpdated is a free log retrieval operation binding the contract event 0x101b8081ff3b56bbf45deb824d86a3b0fd38b7e3dd42421105cf8abe9106db0b.

Solidity: event AdminUpdated(address indexed previousAdmin, address indexed newAdmin)

func (*RouterFilterer) FilterBurn

func (_Router *RouterFilterer) FilterBurn(opts *bind.FilterOpts) (*RouterBurnIterator, error)

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

Solidity: event Burn(uint256 targetChain, address token, uint256 amount, bytes receiver)

func (*RouterFilterer) FilterBurnERC721

func (_Router *RouterFilterer) FilterBurnERC721(opts *bind.FilterOpts) (*RouterBurnERC721Iterator, error)

FilterBurnERC721 is a free log retrieval operation binding the contract event 0xeb703661daf51ce0c247ebbf71a8747e6a79f36b2e93a4e5a22f191321e5750e.

Solidity: event BurnERC721(uint256 targetChain, address wrappedToken, uint256 tokenId, bytes receiver, address paymentToken, uint256 fee)

func (*RouterFilterer) FilterClaim

func (_Router *RouterFilterer) FilterClaim(opts *bind.FilterOpts, member []common.Address, memberAdmin []common.Address) (*RouterClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0xc1405953cccdad6b442e266c84d66ad671e2534c6584f8e6ef92802f7ad294d5.

Solidity: event Claim(address indexed member, address indexed memberAdmin, address token, uint256 amount)

func (*RouterFilterer) FilterDiamondCut

func (_Router *RouterFilterer) FilterDiamondCut(opts *bind.FilterOpts) (*RouterDiamondCutIterator, error)

FilterDiamondCut is a free log retrieval operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.

Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)

func (*RouterFilterer) FilterLock

func (_Router *RouterFilterer) FilterLock(opts *bind.FilterOpts) (*RouterLockIterator, error)

FilterLock is a free log retrieval operation binding the contract event 0xaa3a3bc72b8c754ca6ee8425a5531bafec37569ec012d62d5f682ca909ae06f1.

Solidity: event Lock(uint256 targetChain, address token, bytes receiver, uint256 amount, uint256 serviceFee)

func (*RouterFilterer) FilterMemberAdminUpdated

func (_Router *RouterFilterer) FilterMemberAdminUpdated(opts *bind.FilterOpts) (*RouterMemberAdminUpdatedIterator, error)

FilterMemberAdminUpdated is a free log retrieval operation binding the contract event 0xaa527bc6d16ba1f0d9356df49b7c52ce422382c8468ee06fca438ef8e7392055.

Solidity: event MemberAdminUpdated(address member, address admin)

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

func (_Router *RouterFilterer) FilterMembersPercentageUpdated(opts *bind.FilterOpts) (*RouterMembersPercentageUpdatedIterator, error)

FilterMembersPercentageUpdated is a free log retrieval operation binding the contract event 0xb339d3f6a27cb4c153ea35beb698f2543e6cace02d90c4204cde521e9dbaebbb.

Solidity: event MembersPercentageUpdated(uint256 percentage)

func (*RouterFilterer) FilterMint

func (_Router *RouterFilterer) FilterMint(opts *bind.FilterOpts) (*RouterMintIterator, error)

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

Solidity: event Mint(uint256 sourceChain, bytes transactionId, address token, uint256 amount, address receiver)

func (*RouterFilterer) FilterMintERC721

func (_Router *RouterFilterer) FilterMintERC721(opts *bind.FilterOpts) (*RouterMintERC721Iterator, error)

FilterMintERC721 is a free log retrieval operation binding the contract event 0x554e454827c1d5586725e215a4b857d15071ba1d639f920082c5bf63b68de8b8.

Solidity: event MintERC721(uint256 sourceChain, bytes transactionId, address token, uint256 tokenId, string metadata, address receiver)

func (*RouterFilterer) FilterNativeTokenUpdated

func (_Router *RouterFilterer) FilterNativeTokenUpdated(opts *bind.FilterOpts) (*RouterNativeTokenUpdatedIterator, error)

FilterNativeTokenUpdated is a free log retrieval operation binding the contract event 0x62f51bef49e8a6a5d65e8aef0916ba65fc03e95b3c5c828b6c065f357a24dd34.

Solidity: event NativeTokenUpdated(address token, uint256 serviceFee, bool status)

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

func (_Router *RouterFilterer) FilterPaused(opts *bind.FilterOpts, account []common.Address) (*RouterPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address indexed account)

func (*RouterFilterer) FilterServiceFeeSet

func (_Router *RouterFilterer) FilterServiceFeeSet(opts *bind.FilterOpts) (*RouterServiceFeeSetIterator, error)

FilterServiceFeeSet is a free log retrieval operation binding the contract event 0xdf569f3a847aa48bacde580cf8f9884aee143cebb7d535609b1ba812fdf65e96.

Solidity: event ServiceFeeSet(address account, address token, uint256 newServiceFee)

func (*RouterFilterer) FilterSetERC721Payment

func (_Router *RouterFilterer) FilterSetERC721Payment(opts *bind.FilterOpts) (*RouterSetERC721PaymentIterator, error)

FilterSetERC721Payment is a free log retrieval operation binding the contract event 0xf3a7d06752da6baf7839ac92daef9d3094b85f7208c209846eb19511a2828201.

Solidity: event SetERC721Payment(address erc721, address payment, uint256 fee)

func (*RouterFilterer) FilterSetPaymentToken

func (_Router *RouterFilterer) FilterSetPaymentToken(opts *bind.FilterOpts) (*RouterSetPaymentTokenIterator, error)

FilterSetPaymentToken is a free log retrieval operation binding the contract event 0xfb2da8463afca3d57657a0d7cbeee4ade8c3596d1b1bca20e4795db47975910f.

Solidity: event SetPaymentToken(address _token, bool _status)

func (*RouterFilterer) FilterUnlock

func (_Router *RouterFilterer) FilterUnlock(opts *bind.FilterOpts) (*RouterUnlockIterator, error)

FilterUnlock is a free log retrieval operation binding the contract event 0x483dd9d090112259cd3c44a9af4b3386be4b4b87145e6bf85bc0964a06062a73.

Solidity: event Unlock(uint256 sourceChain, bytes transactionId, address token, uint256 amount, address receiver, uint256 serviceFee)

func (*RouterFilterer) FilterUnpaused

func (_Router *RouterFilterer) FilterUnpaused(opts *bind.FilterOpts, account []common.Address) (*RouterUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address indexed account)

func (*RouterFilterer) FilterWrappedTokenDeployed

func (_Router *RouterFilterer) FilterWrappedTokenDeployed(opts *bind.FilterOpts) (*RouterWrappedTokenDeployedIterator, error)

FilterWrappedTokenDeployed is a free log retrieval operation binding the contract event 0x1ac5f8e99c47a193ef0460626b39362bb79296795b2bbac054bf053222eeab34.

Solidity: event WrappedTokenDeployed(uint256 sourceChain, bytes nativeToken, address wrappedToken)

func (*RouterFilterer) ParseAdminUpdated

func (_Router *RouterFilterer) ParseAdminUpdated(log types.Log) (*RouterAdminUpdated, error)

ParseAdminUpdated is a log parse operation binding the contract event 0x101b8081ff3b56bbf45deb824d86a3b0fd38b7e3dd42421105cf8abe9106db0b.

Solidity: event AdminUpdated(address indexed previousAdmin, address indexed newAdmin)

func (*RouterFilterer) ParseBurn

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

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

Solidity: event Burn(uint256 targetChain, address token, uint256 amount, bytes receiver)

func (*RouterFilterer) ParseBurnERC721

func (_Router *RouterFilterer) ParseBurnERC721(log types.Log) (*RouterBurnERC721, error)

ParseBurnERC721 is a log parse operation binding the contract event 0xeb703661daf51ce0c247ebbf71a8747e6a79f36b2e93a4e5a22f191321e5750e.

Solidity: event BurnERC721(uint256 targetChain, address wrappedToken, uint256 tokenId, bytes receiver, address paymentToken, uint256 fee)

func (*RouterFilterer) ParseClaim

func (_Router *RouterFilterer) ParseClaim(log types.Log) (*RouterClaim, error)

ParseClaim is a log parse operation binding the contract event 0xc1405953cccdad6b442e266c84d66ad671e2534c6584f8e6ef92802f7ad294d5.

Solidity: event Claim(address indexed member, address indexed memberAdmin, address token, uint256 amount)

func (*RouterFilterer) ParseDiamondCut

func (_Router *RouterFilterer) ParseDiamondCut(log types.Log) (*RouterDiamondCut, error)

ParseDiamondCut is a log parse operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.

Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)

func (*RouterFilterer) ParseLock

func (_Router *RouterFilterer) ParseLock(log types.Log) (*RouterLock, error)

ParseLock is a log parse operation binding the contract event 0xaa3a3bc72b8c754ca6ee8425a5531bafec37569ec012d62d5f682ca909ae06f1.

Solidity: event Lock(uint256 targetChain, address token, bytes receiver, uint256 amount, uint256 serviceFee)

func (*RouterFilterer) ParseMemberAdminUpdated

func (_Router *RouterFilterer) ParseMemberAdminUpdated(log types.Log) (*RouterMemberAdminUpdated, error)

ParseMemberAdminUpdated is a log parse operation binding the contract event 0xaa527bc6d16ba1f0d9356df49b7c52ce422382c8468ee06fca438ef8e7392055.

Solidity: event MemberAdminUpdated(address member, address admin)

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

func (_Router *RouterFilterer) ParseMembersPercentageUpdated(log types.Log) (*RouterMembersPercentageUpdated, error)

ParseMembersPercentageUpdated is a log parse operation binding the contract event 0xb339d3f6a27cb4c153ea35beb698f2543e6cace02d90c4204cde521e9dbaebbb.

Solidity: event MembersPercentageUpdated(uint256 percentage)

func (*RouterFilterer) ParseMint

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

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

Solidity: event Mint(uint256 sourceChain, bytes transactionId, address token, uint256 amount, address receiver)

func (*RouterFilterer) ParseMintERC721

func (_Router *RouterFilterer) ParseMintERC721(log types.Log) (*RouterMintERC721, error)

ParseMintERC721 is a log parse operation binding the contract event 0x554e454827c1d5586725e215a4b857d15071ba1d639f920082c5bf63b68de8b8.

Solidity: event MintERC721(uint256 sourceChain, bytes transactionId, address token, uint256 tokenId, string metadata, address receiver)

func (*RouterFilterer) ParseNativeTokenUpdated

func (_Router *RouterFilterer) ParseNativeTokenUpdated(log types.Log) (*RouterNativeTokenUpdated, error)

ParseNativeTokenUpdated is a log parse operation binding the contract event 0x62f51bef49e8a6a5d65e8aef0916ba65fc03e95b3c5c828b6c065f357a24dd34.

Solidity: event NativeTokenUpdated(address token, uint256 serviceFee, bool status)

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

func (_Router *RouterFilterer) ParsePaused(log types.Log) (*RouterPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address indexed account)

func (*RouterFilterer) ParseServiceFeeSet

func (_Router *RouterFilterer) ParseServiceFeeSet(log types.Log) (*RouterServiceFeeSet, error)

ParseServiceFeeSet is a log parse operation binding the contract event 0xdf569f3a847aa48bacde580cf8f9884aee143cebb7d535609b1ba812fdf65e96.

Solidity: event ServiceFeeSet(address account, address token, uint256 newServiceFee)

func (*RouterFilterer) ParseSetERC721Payment

func (_Router *RouterFilterer) ParseSetERC721Payment(log types.Log) (*RouterSetERC721Payment, error)

ParseSetERC721Payment is a log parse operation binding the contract event 0xf3a7d06752da6baf7839ac92daef9d3094b85f7208c209846eb19511a2828201.

Solidity: event SetERC721Payment(address erc721, address payment, uint256 fee)

func (*RouterFilterer) ParseSetPaymentToken

func (_Router *RouterFilterer) ParseSetPaymentToken(log types.Log) (*RouterSetPaymentToken, error)

ParseSetPaymentToken is a log parse operation binding the contract event 0xfb2da8463afca3d57657a0d7cbeee4ade8c3596d1b1bca20e4795db47975910f.

Solidity: event SetPaymentToken(address _token, bool _status)

func (*RouterFilterer) ParseUnlock

func (_Router *RouterFilterer) ParseUnlock(log types.Log) (*RouterUnlock, error)

ParseUnlock is a log parse operation binding the contract event 0x483dd9d090112259cd3c44a9af4b3386be4b4b87145e6bf85bc0964a06062a73.

Solidity: event Unlock(uint256 sourceChain, bytes transactionId, address token, uint256 amount, address receiver, uint256 serviceFee)

func (*RouterFilterer) ParseUnpaused

func (_Router *RouterFilterer) ParseUnpaused(log types.Log) (*RouterUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address indexed account)

func (*RouterFilterer) ParseWrappedTokenDeployed

func (_Router *RouterFilterer) ParseWrappedTokenDeployed(log types.Log) (*RouterWrappedTokenDeployed, error)

ParseWrappedTokenDeployed is a log parse operation binding the contract event 0x1ac5f8e99c47a193ef0460626b39362bb79296795b2bbac054bf053222eeab34.

Solidity: event WrappedTokenDeployed(uint256 sourceChain, bytes nativeToken, address wrappedToken)

func (*RouterFilterer) WatchAdminUpdated

func (_Router *RouterFilterer) WatchAdminUpdated(opts *bind.WatchOpts, sink chan<- *RouterAdminUpdated, previousAdmin []common.Address, newAdmin []common.Address) (event.Subscription, error)

WatchAdminUpdated is a free log subscription operation binding the contract event 0x101b8081ff3b56bbf45deb824d86a3b0fd38b7e3dd42421105cf8abe9106db0b.

Solidity: event AdminUpdated(address indexed previousAdmin, address indexed newAdmin)

func (*RouterFilterer) WatchBurn

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

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

Solidity: event Burn(uint256 targetChain, address token, uint256 amount, bytes receiver)

func (*RouterFilterer) WatchBurnERC721

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

WatchBurnERC721 is a free log subscription operation binding the contract event 0xeb703661daf51ce0c247ebbf71a8747e6a79f36b2e93a4e5a22f191321e5750e.

Solidity: event BurnERC721(uint256 targetChain, address wrappedToken, uint256 tokenId, bytes receiver, address paymentToken, uint256 fee)

func (*RouterFilterer) WatchClaim

func (_Router *RouterFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *RouterClaim, member []common.Address, memberAdmin []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0xc1405953cccdad6b442e266c84d66ad671e2534c6584f8e6ef92802f7ad294d5.

Solidity: event Claim(address indexed member, address indexed memberAdmin, address token, uint256 amount)

func (*RouterFilterer) WatchDiamondCut

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

WatchDiamondCut is a free log subscription operation binding the contract event 0x8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673.

Solidity: event DiamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata)

func (*RouterFilterer) WatchLock

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

WatchLock is a free log subscription operation binding the contract event 0xaa3a3bc72b8c754ca6ee8425a5531bafec37569ec012d62d5f682ca909ae06f1.

Solidity: event Lock(uint256 targetChain, address token, bytes receiver, uint256 amount, uint256 serviceFee)

func (*RouterFilterer) WatchMemberAdminUpdated

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

WatchMemberAdminUpdated is a free log subscription operation binding the contract event 0xaa527bc6d16ba1f0d9356df49b7c52ce422382c8468ee06fca438ef8e7392055.

Solidity: event MemberAdminUpdated(address member, address admin)

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

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

WatchMembersPercentageUpdated is a free log subscription operation binding the contract event 0xb339d3f6a27cb4c153ea35beb698f2543e6cace02d90c4204cde521e9dbaebbb.

Solidity: event MembersPercentageUpdated(uint256 percentage)

func (*RouterFilterer) WatchMint

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

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

Solidity: event Mint(uint256 sourceChain, bytes transactionId, address token, uint256 amount, address receiver)

func (*RouterFilterer) WatchMintERC721

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

WatchMintERC721 is a free log subscription operation binding the contract event 0x554e454827c1d5586725e215a4b857d15071ba1d639f920082c5bf63b68de8b8.

Solidity: event MintERC721(uint256 sourceChain, bytes transactionId, address token, uint256 tokenId, string metadata, address receiver)

func (*RouterFilterer) WatchNativeTokenUpdated

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

WatchNativeTokenUpdated is a free log subscription operation binding the contract event 0x62f51bef49e8a6a5d65e8aef0916ba65fc03e95b3c5c828b6c065f357a24dd34.

Solidity: event NativeTokenUpdated(address token, uint256 serviceFee, bool status)

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

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

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address indexed account)

func (*RouterFilterer) WatchServiceFeeSet

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

WatchServiceFeeSet is a free log subscription operation binding the contract event 0xdf569f3a847aa48bacde580cf8f9884aee143cebb7d535609b1ba812fdf65e96.

Solidity: event ServiceFeeSet(address account, address token, uint256 newServiceFee)

func (*RouterFilterer) WatchSetERC721Payment

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

WatchSetERC721Payment is a free log subscription operation binding the contract event 0xf3a7d06752da6baf7839ac92daef9d3094b85f7208c209846eb19511a2828201.

Solidity: event SetERC721Payment(address erc721, address payment, uint256 fee)

func (*RouterFilterer) WatchSetPaymentToken

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

WatchSetPaymentToken is a free log subscription operation binding the contract event 0xfb2da8463afca3d57657a0d7cbeee4ade8c3596d1b1bca20e4795db47975910f.

Solidity: event SetPaymentToken(address _token, bool _status)

func (*RouterFilterer) WatchUnlock

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

WatchUnlock is a free log subscription operation binding the contract event 0x483dd9d090112259cd3c44a9af4b3386be4b4b87145e6bf85bc0964a06062a73.

Solidity: event Unlock(uint256 sourceChain, bytes transactionId, address token, uint256 amount, address receiver, uint256 serviceFee)

func (*RouterFilterer) WatchUnpaused

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

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address indexed account)

func (*RouterFilterer) WatchWrappedTokenDeployed

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

WatchWrappedTokenDeployed is a free log subscription operation binding the contract event 0x1ac5f8e99c47a193ef0460626b39362bb79296795b2bbac054bf053222eeab34.

Solidity: event WrappedTokenDeployed(uint256 sourceChain, bytes nativeToken, address wrappedToken)

type RouterLock

type RouterLock struct {
	TargetChain *big.Int
	Token       common.Address
	Receiver    []byte
	Amount      *big.Int
	ServiceFee  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

RouterLock represents a Lock event raised by the Router contract.

type RouterLockIterator

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

RouterLockIterator is returned from FilterLock and is used to iterate over the raw logs and unpacked data for Lock events raised by the Router contract.

func (*RouterLockIterator) Close

func (it *RouterLockIterator) Close() error

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

func (*RouterLockIterator) Error

func (it *RouterLockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterLockIterator) Next

func (it *RouterLockIterator) 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 RouterMemberAdminUpdated

type RouterMemberAdminUpdated struct {
	Member common.Address
	Admin  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

RouterMemberAdminUpdated represents a MemberAdminUpdated event raised by the Router contract.

type RouterMemberAdminUpdatedIterator

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

RouterMemberAdminUpdatedIterator is returned from FilterMemberAdminUpdated and is used to iterate over the raw logs and unpacked data for MemberAdminUpdated events raised by the Router contract.

func (*RouterMemberAdminUpdatedIterator) Close

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

func (*RouterMemberAdminUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterMemberAdminUpdatedIterator) 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 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 RouterMembersPercentageUpdated

type RouterMembersPercentageUpdated struct {
	Percentage *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

RouterMembersPercentageUpdated represents a MembersPercentageUpdated event raised by the Router contract.

type RouterMembersPercentageUpdatedIterator

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

RouterMembersPercentageUpdatedIterator is returned from FilterMembersPercentageUpdated and is used to iterate over the raw logs and unpacked data for MembersPercentageUpdated events raised by the Router contract.

func (*RouterMembersPercentageUpdatedIterator) Close

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

func (*RouterMembersPercentageUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type RouterMint struct {
	SourceChain   *big.Int
	TransactionId []byte
	Token         common.Address
	Amount        *big.Int
	Receiver      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RouterMint represents a Mint event raised by the Router contract.

type RouterMintERC721

type RouterMintERC721 struct {
	SourceChain   *big.Int
	TransactionId []byte
	Token         common.Address
	TokenId       *big.Int
	Metadata      string
	Receiver      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RouterMintERC721 represents a MintERC721 event raised by the Router contract.

type RouterMintERC721Iterator

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

RouterMintERC721Iterator is returned from FilterMintERC721 and is used to iterate over the raw logs and unpacked data for MintERC721 events raised by the Router contract.

func (*RouterMintERC721Iterator) Close

func (it *RouterMintERC721Iterator) Close() error

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

func (*RouterMintERC721Iterator) Error

func (it *RouterMintERC721Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterMintERC721Iterator) Next

func (it *RouterMintERC721Iterator) 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 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 RouterNativeTokenUpdated

type RouterNativeTokenUpdated struct {
	Token      common.Address
	ServiceFee *big.Int
	Status     bool
	Raw        types.Log // Blockchain specific contextual infos
}

RouterNativeTokenUpdated represents a NativeTokenUpdated event raised by the Router contract.

type RouterNativeTokenUpdatedIterator

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

RouterNativeTokenUpdatedIterator is returned from FilterNativeTokenUpdated and is used to iterate over the raw logs and unpacked data for NativeTokenUpdated events raised by the Router contract.

func (*RouterNativeTokenUpdatedIterator) Close

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

func (*RouterNativeTokenUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterNativeTokenUpdatedIterator) 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 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 RouterPaused

type RouterPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

RouterPaused represents a Paused event raised by the Router contract.

type RouterPausedIterator

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

RouterPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Router contract.

func (*RouterPausedIterator) Close

func (it *RouterPausedIterator) Close() error

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

func (*RouterPausedIterator) Error

func (it *RouterPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterPausedIterator) Next

func (it *RouterPausedIterator) 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 RouterServiceFeeSet

type RouterServiceFeeSet struct {
	Account       common.Address
	Token         common.Address
	NewServiceFee *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

RouterServiceFeeSet represents a ServiceFeeSet event raised by the Router contract.

type RouterServiceFeeSetIterator

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

RouterServiceFeeSetIterator is returned from FilterServiceFeeSet and is used to iterate over the raw logs and unpacked data for ServiceFeeSet events raised by the Router contract.

func (*RouterServiceFeeSetIterator) Close

func (it *RouterServiceFeeSetIterator) Close() error

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

func (*RouterServiceFeeSetIterator) Error

func (it *RouterServiceFeeSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterServiceFeeSetIterator) Next

func (it *RouterServiceFeeSetIterator) 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 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) Admin

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

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*RouterSession) Burn

func (_Router *RouterSession) Burn(_targetChain *big.Int, _wrappedToken common.Address, _amount *big.Int, _receiver []byte) (*types.Transaction, error)

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

Solidity: function burn(uint256 _targetChain, address _wrappedToken, uint256 _amount, bytes _receiver) returns()

func (*RouterSession) BurnERC721

func (_Router *RouterSession) BurnERC721(_targetChain *big.Int, _wrappedToken common.Address, _tokenId *big.Int, _paymentToken common.Address, _fee *big.Int, _receiver []byte) (*types.Transaction, error)

BurnERC721 is a paid mutator transaction binding the contract method 0xd859fd9b.

Solidity: function burnERC721(uint256 _targetChain, address _wrappedToken, uint256 _tokenId, address _paymentToken, uint256 _fee, bytes _receiver) returns()

func (*RouterSession) BurnWithPermit

func (_Router *RouterSession) BurnWithPermit(_targetChain *big.Int, _wrappedToken common.Address, _amount *big.Int, _receiver []byte, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

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

Solidity: function burnWithPermit(uint256 _targetChain, address _wrappedToken, uint256 _amount, bytes _receiver, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*RouterSession) Claim

func (_Router *RouterSession) Claim(_token common.Address, _member common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x21c0b342.

Solidity: function claim(address _token, address _member) returns()

func (*RouterSession) ClaimedRewardsPerAccount

func (_Router *RouterSession) ClaimedRewardsPerAccount(_account common.Address, _token common.Address) (*big.Int, error)

ClaimedRewardsPerAccount is a free data retrieval call binding the contract method 0x1b3738d5.

Solidity: function claimedRewardsPerAccount(address _account, address _token) view returns(uint256)

func (*RouterSession) DeployWrappedToken

func (_Router *RouterSession) DeployWrappedToken(_sourceChain *big.Int, _nativeToken []byte, _tokenParams WrappedTokenParams) (*types.Transaction, error)

DeployWrappedToken is a paid mutator transaction binding the contract method 0xcc408333.

Solidity: function deployWrappedToken(uint256 _sourceChain, bytes _nativeToken, (string,string,uint8) _tokenParams) returns()

func (*RouterSession) DiamondCut

func (_Router *RouterSession) DiamondCut(_diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)

DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.

Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()

func (*RouterSession) Erc721Fee

func (_Router *RouterSession) Erc721Fee(_erc721 common.Address) (*big.Int, error)

Erc721Fee is a free data retrieval call binding the contract method 0x4d1a36b8.

Solidity: function erc721Fee(address _erc721) view returns(uint256)

func (*RouterSession) Erc721Payment

func (_Router *RouterSession) Erc721Payment(_erc721 common.Address) (common.Address, error)

Erc721Payment is a free data retrieval call binding the contract method 0x80b35f85.

Solidity: function erc721Payment(address _erc721) view returns(address)

func (*RouterSession) FacetAddress

func (_Router *RouterSession) FacetAddress(_functionSelector [4]byte) (common.Address, error)

FacetAddress is a free data retrieval call binding the contract method 0xcdffacc6.

Solidity: function facetAddress(bytes4 _functionSelector) view returns(address facetAddress_)

func (*RouterSession) FacetAddresses

func (_Router *RouterSession) FacetAddresses() ([]common.Address, error)

FacetAddresses is a free data retrieval call binding the contract method 0x52ef6b2c.

Solidity: function facetAddresses() view returns(address[] facetAddresses_)

func (*RouterSession) FacetFunctionSelectors

func (_Router *RouterSession) FacetFunctionSelectors(_facet common.Address) ([][4]byte, error)

FacetFunctionSelectors is a free data retrieval call binding the contract method 0xadfca15e.

Solidity: function facetFunctionSelectors(address _facet) view returns(bytes4[] facetFunctionSelectors_)

func (*RouterSession) Facets

func (_Router *RouterSession) Facets() ([]IDiamondLoupeFacet, error)

Facets is a free data retrieval call binding the contract method 0x7a0ed627.

Solidity: function facets() view returns((address,bytes4[])[] facets_)

func (*RouterSession) HasValidSignaturesLength

func (_Router *RouterSession) HasValidSignaturesLength(_n *big.Int) (bool, error)

HasValidSignaturesLength is a free data retrieval call binding the contract method 0x54074eb1.

Solidity: function hasValidSignaturesLength(uint256 _n) view returns(bool)

func (*RouterSession) HashesUsed

func (_Router *RouterSession) HashesUsed(_ethHash [32]byte) (bool, error)

HashesUsed is a free data retrieval call binding the contract method 0xb826c58b.

Solidity: function hashesUsed(bytes32 _ethHash) view returns(bool)

func (*RouterSession) InitFeeCalculator

func (_Router *RouterSession) InitFeeCalculator(_precision *big.Int) (*types.Transaction, error)

InitFeeCalculator is a paid mutator transaction binding the contract method 0xe3c9d084.

Solidity: function initFeeCalculator(uint256 _precision) returns()

func (*RouterSession) InitGovernance

func (_Router *RouterSession) InitGovernance(_members []common.Address, _membersAdmins []common.Address, _percentage *big.Int, _precision *big.Int) (*types.Transaction, error)

InitGovernance is a paid mutator transaction binding the contract method 0x24b3b892.

Solidity: function initGovernance(address[] _members, address[] _membersAdmins, uint256 _percentage, uint256 _precision) returns()

func (*RouterSession) InitRouter

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

InitRouter is a paid mutator transaction binding the contract method 0xe5026ea2.

Solidity: function initRouter() returns()

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

func (_Router *RouterSession) Lock(_targetChain *big.Int, _nativeToken common.Address, _amount *big.Int, _receiver []byte) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xb258848a.

Solidity: function lock(uint256 _targetChain, address _nativeToken, uint256 _amount, bytes _receiver) returns()

func (*RouterSession) LockWithPermit

func (_Router *RouterSession) LockWithPermit(_targetChain *big.Int, _nativeToken common.Address, _amount *big.Int, _receiver []byte, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

LockWithPermit is a paid mutator transaction binding the contract method 0xe1bf71ea.

Solidity: function lockWithPermit(uint256 _targetChain, address _nativeToken, uint256 _amount, bytes _receiver, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*RouterSession) MemberAdmin

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

MemberAdmin is a free data retrieval call binding the contract method 0x52618b2f.

Solidity: function memberAdmin(address _member) view returns(address)

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

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

MembersPercentage is a free data retrieval call binding the contract method 0x689538d8.

Solidity: function membersPercentage() view returns(uint256)

func (*RouterSession) MembersPrecision

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

MembersPrecision is a free data retrieval call binding the contract method 0x64feffee.

Solidity: function membersPrecision() view returns(uint256)

func (*RouterSession) Mint

func (_Router *RouterSession) Mint(_sourceChain *big.Int, _transactionId []byte, _wrappedToken common.Address, _receiver common.Address, _amount *big.Int, _signatures [][]byte) (*types.Transaction, error)

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

Solidity: function mint(uint256 _sourceChain, bytes _transactionId, address _wrappedToken, address _receiver, uint256 _amount, bytes[] _signatures) returns()

func (*RouterSession) MintERC721

func (_Router *RouterSession) MintERC721(_sourceChain *big.Int, _transactionId []byte, _wrappedToken common.Address, _tokenId *big.Int, _metadata string, _receiver common.Address, _signatures [][]byte) (*types.Transaction, error)

MintERC721 is a paid mutator transaction binding the contract method 0x35b5c501.

Solidity: function mintERC721(uint256 _sourceChain, bytes _transactionId, address _wrappedToken, uint256 _tokenId, string _metadata, address _receiver, bytes[] _signatures) returns()

func (*RouterSession) NativeTokenAt

func (_Router *RouterSession) NativeTokenAt(_index *big.Int) (common.Address, error)

NativeTokenAt is a free data retrieval call binding the contract method 0x352036ff.

Solidity: function nativeTokenAt(uint256 _index) view returns(address)

func (*RouterSession) NativeTokensCount

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

NativeTokensCount is a free data retrieval call binding the contract method 0x1b74f8fe.

Solidity: function nativeTokensCount() view returns(uint256)

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

func (*RouterSession) Pause

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

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*RouterSession) Paused

func (_Router *RouterSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*RouterSession) PaymentTokenAt

func (_Router *RouterSession) PaymentTokenAt(_index *big.Int) (common.Address, error)

PaymentTokenAt is a free data retrieval call binding the contract method 0x3a3934c4.

Solidity: function paymentTokenAt(uint256 _index) view returns(address)

func (*RouterSession) ServiceFeePrecision

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

ServiceFeePrecision is a free data retrieval call binding the contract method 0x6d4b6bf5.

Solidity: function serviceFeePrecision() view returns(uint256)

func (*RouterSession) SetERC721Payment

func (_Router *RouterSession) SetERC721Payment(_erc721 common.Address, _payment common.Address, _fee *big.Int) (*types.Transaction, error)

SetERC721Payment is a paid mutator transaction binding the contract method 0x265155dc.

Solidity: function setERC721Payment(address _erc721, address _payment, uint256 _fee) returns()

func (*RouterSession) SetPaymentToken

func (_Router *RouterSession) SetPaymentToken(_token common.Address, _status bool) (*types.Transaction, error)

SetPaymentToken is a paid mutator transaction binding the contract method 0x430884cf.

Solidity: function setPaymentToken(address _token, bool _status) returns()

func (*RouterSession) SetServiceFee

func (_Router *RouterSession) SetServiceFee(_token common.Address, _serviceFeePercentage *big.Int) (*types.Transaction, error)

SetServiceFee is a paid mutator transaction binding the contract method 0xef2fa169.

Solidity: function setServiceFee(address _token, uint256 _serviceFeePercentage) returns()

func (*RouterSession) SupportsInterface

func (_Router *RouterSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*RouterSession) SupportsPaymentToken

func (_Router *RouterSession) SupportsPaymentToken(_token common.Address) (bool, error)

SupportsPaymentToken is a free data retrieval call binding the contract method 0x530c0668.

Solidity: function supportsPaymentToken(address _token) view returns(bool)

func (*RouterSession) TokenFeeData

func (_Router *RouterSession) TokenFeeData(_token common.Address) (struct {
	ServiceFeePercentage *big.Int
	FeesAccrued          *big.Int
	PreviousAccrued      *big.Int
	Accumulator          *big.Int
}, error)

TokenFeeData is a free data retrieval call binding the contract method 0xeb6fc3b1.

Solidity: function tokenFeeData(address _token) view returns(uint256 serviceFeePercentage, uint256 feesAccrued, uint256 previousAccrued, uint256 accumulator)

func (*RouterSession) TotalPaymentTokens

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

TotalPaymentTokens is a free data retrieval call binding the contract method 0xb6707500.

Solidity: function totalPaymentTokens() view returns(uint256)

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

func (_Router *RouterSession) Unlock(_sourceChain *big.Int, _transactionId []byte, _nativeToken common.Address, _amount *big.Int, _receiver common.Address, _signatures [][]byte) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x3b68d993.

Solidity: function unlock(uint256 _sourceChain, bytes _transactionId, address _nativeToken, uint256 _amount, address _receiver, bytes[] _signatures) returns()

func (*RouterSession) Unpause

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

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*RouterSession) UpdateAdmin

func (_Router *RouterSession) UpdateAdmin(_newAdmin common.Address) (*types.Transaction, error)

UpdateAdmin is a paid mutator transaction binding the contract method 0xe2f273bd.

Solidity: function updateAdmin(address _newAdmin) returns()

func (*RouterSession) UpdateMember

func (_Router *RouterSession) UpdateMember(_account common.Address, _accountAdmin common.Address, _status bool) (*types.Transaction, error)

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

Solidity: function updateMember(address _account, address _accountAdmin, bool _status) returns()

func (*RouterSession) UpdateMemberAdmin

func (_Router *RouterSession) UpdateMemberAdmin(_member common.Address, _newMemberAdmin common.Address) (*types.Transaction, error)

UpdateMemberAdmin is a paid mutator transaction binding the contract method 0x85e6655f.

Solidity: function updateMemberAdmin(address _member, address _newMemberAdmin) returns()

func (*RouterSession) UpdateMembersPercentage

func (_Router *RouterSession) UpdateMembersPercentage(_percentage *big.Int) (*types.Transaction, error)

UpdateMembersPercentage is a paid mutator transaction binding the contract method 0xfdc738c1.

Solidity: function updateMembersPercentage(uint256 _percentage) returns()

func (*RouterSession) UpdateNativeToken

func (_Router *RouterSession) UpdateNativeToken(_nativeToken common.Address, _serviceFee *big.Int, _status bool) (*types.Transaction, error)

UpdateNativeToken is a paid mutator transaction binding the contract method 0x414c9d64.

Solidity: function updateNativeToken(address _nativeToken, uint256 _serviceFee, bool _status) returns()

type RouterSetERC721Payment

type RouterSetERC721Payment struct {
	Erc721  common.Address
	Payment common.Address
	Fee     *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

RouterSetERC721Payment represents a SetERC721Payment event raised by the Router contract.

type RouterSetERC721PaymentIterator

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

RouterSetERC721PaymentIterator is returned from FilterSetERC721Payment and is used to iterate over the raw logs and unpacked data for SetERC721Payment events raised by the Router contract.

func (*RouterSetERC721PaymentIterator) Close

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

func (*RouterSetERC721PaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterSetERC721PaymentIterator) 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 RouterSetPaymentToken

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

RouterSetPaymentToken represents a SetPaymentToken event raised by the Router contract.

type RouterSetPaymentTokenIterator

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

RouterSetPaymentTokenIterator is returned from FilterSetPaymentToken and is used to iterate over the raw logs and unpacked data for SetPaymentToken events raised by the Router contract.

func (*RouterSetPaymentTokenIterator) Close

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

func (*RouterSetPaymentTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterSetPaymentTokenIterator) 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 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) Burn

func (_Router *RouterTransactor) Burn(opts *bind.TransactOpts, _targetChain *big.Int, _wrappedToken common.Address, _amount *big.Int, _receiver []byte) (*types.Transaction, error)

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

Solidity: function burn(uint256 _targetChain, address _wrappedToken, uint256 _amount, bytes _receiver) returns()

func (*RouterTransactor) BurnERC721

func (_Router *RouterTransactor) BurnERC721(opts *bind.TransactOpts, _targetChain *big.Int, _wrappedToken common.Address, _tokenId *big.Int, _paymentToken common.Address, _fee *big.Int, _receiver []byte) (*types.Transaction, error)

BurnERC721 is a paid mutator transaction binding the contract method 0xd859fd9b.

Solidity: function burnERC721(uint256 _targetChain, address _wrappedToken, uint256 _tokenId, address _paymentToken, uint256 _fee, bytes _receiver) returns()

func (*RouterTransactor) BurnWithPermit

func (_Router *RouterTransactor) BurnWithPermit(opts *bind.TransactOpts, _targetChain *big.Int, _wrappedToken common.Address, _amount *big.Int, _receiver []byte, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

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

Solidity: function burnWithPermit(uint256 _targetChain, address _wrappedToken, uint256 _amount, bytes _receiver, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*RouterTransactor) Claim

func (_Router *RouterTransactor) Claim(opts *bind.TransactOpts, _token common.Address, _member common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x21c0b342.

Solidity: function claim(address _token, address _member) returns()

func (*RouterTransactor) DeployWrappedToken

func (_Router *RouterTransactor) DeployWrappedToken(opts *bind.TransactOpts, _sourceChain *big.Int, _nativeToken []byte, _tokenParams WrappedTokenParams) (*types.Transaction, error)

DeployWrappedToken is a paid mutator transaction binding the contract method 0xcc408333.

Solidity: function deployWrappedToken(uint256 _sourceChain, bytes _nativeToken, (string,string,uint8) _tokenParams) returns()

func (*RouterTransactor) DiamondCut

func (_Router *RouterTransactor) DiamondCut(opts *bind.TransactOpts, _diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)

DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.

Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()

func (*RouterTransactor) InitFeeCalculator

func (_Router *RouterTransactor) InitFeeCalculator(opts *bind.TransactOpts, _precision *big.Int) (*types.Transaction, error)

InitFeeCalculator is a paid mutator transaction binding the contract method 0xe3c9d084.

Solidity: function initFeeCalculator(uint256 _precision) returns()

func (*RouterTransactor) InitGovernance

func (_Router *RouterTransactor) InitGovernance(opts *bind.TransactOpts, _members []common.Address, _membersAdmins []common.Address, _percentage *big.Int, _precision *big.Int) (*types.Transaction, error)

InitGovernance is a paid mutator transaction binding the contract method 0x24b3b892.

Solidity: function initGovernance(address[] _members, address[] _membersAdmins, uint256 _percentage, uint256 _precision) returns()

func (*RouterTransactor) InitRouter

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

InitRouter is a paid mutator transaction binding the contract method 0xe5026ea2.

Solidity: function initRouter() returns()

func (*RouterTransactor) Lock

func (_Router *RouterTransactor) Lock(opts *bind.TransactOpts, _targetChain *big.Int, _nativeToken common.Address, _amount *big.Int, _receiver []byte) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xb258848a.

Solidity: function lock(uint256 _targetChain, address _nativeToken, uint256 _amount, bytes _receiver) returns()

func (*RouterTransactor) LockWithPermit

func (_Router *RouterTransactor) LockWithPermit(opts *bind.TransactOpts, _targetChain *big.Int, _nativeToken common.Address, _amount *big.Int, _receiver []byte, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

LockWithPermit is a paid mutator transaction binding the contract method 0xe1bf71ea.

Solidity: function lockWithPermit(uint256 _targetChain, address _nativeToken, uint256 _amount, bytes _receiver, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*RouterTransactor) Mint

func (_Router *RouterTransactor) Mint(opts *bind.TransactOpts, _sourceChain *big.Int, _transactionId []byte, _wrappedToken common.Address, _receiver common.Address, _amount *big.Int, _signatures [][]byte) (*types.Transaction, error)

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

Solidity: function mint(uint256 _sourceChain, bytes _transactionId, address _wrappedToken, address _receiver, uint256 _amount, bytes[] _signatures) returns()

func (*RouterTransactor) MintERC721

func (_Router *RouterTransactor) MintERC721(opts *bind.TransactOpts, _sourceChain *big.Int, _transactionId []byte, _wrappedToken common.Address, _tokenId *big.Int, _metadata string, _receiver common.Address, _signatures [][]byte) (*types.Transaction, error)

MintERC721 is a paid mutator transaction binding the contract method 0x35b5c501.

Solidity: function mintERC721(uint256 _sourceChain, bytes _transactionId, address _wrappedToken, uint256 _tokenId, string _metadata, address _receiver, bytes[] _signatures) returns()

func (*RouterTransactor) Pause

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

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*RouterTransactor) SetERC721Payment

func (_Router *RouterTransactor) SetERC721Payment(opts *bind.TransactOpts, _erc721 common.Address, _payment common.Address, _fee *big.Int) (*types.Transaction, error)

SetERC721Payment is a paid mutator transaction binding the contract method 0x265155dc.

Solidity: function setERC721Payment(address _erc721, address _payment, uint256 _fee) returns()

func (*RouterTransactor) SetPaymentToken

func (_Router *RouterTransactor) SetPaymentToken(opts *bind.TransactOpts, _token common.Address, _status bool) (*types.Transaction, error)

SetPaymentToken is a paid mutator transaction binding the contract method 0x430884cf.

Solidity: function setPaymentToken(address _token, bool _status) returns()

func (*RouterTransactor) SetServiceFee

func (_Router *RouterTransactor) SetServiceFee(opts *bind.TransactOpts, _token common.Address, _serviceFeePercentage *big.Int) (*types.Transaction, error)

SetServiceFee is a paid mutator transaction binding the contract method 0xef2fa169.

Solidity: function setServiceFee(address _token, uint256 _serviceFeePercentage) 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) Unlock

func (_Router *RouterTransactor) Unlock(opts *bind.TransactOpts, _sourceChain *big.Int, _transactionId []byte, _nativeToken common.Address, _amount *big.Int, _receiver common.Address, _signatures [][]byte) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x3b68d993.

Solidity: function unlock(uint256 _sourceChain, bytes _transactionId, address _nativeToken, uint256 _amount, address _receiver, bytes[] _signatures) returns()

func (*RouterTransactor) Unpause

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

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*RouterTransactor) UpdateAdmin

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

UpdateAdmin is a paid mutator transaction binding the contract method 0xe2f273bd.

Solidity: function updateAdmin(address _newAdmin) returns()

func (*RouterTransactor) UpdateMember

func (_Router *RouterTransactor) UpdateMember(opts *bind.TransactOpts, _account common.Address, _accountAdmin common.Address, _status bool) (*types.Transaction, error)

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

Solidity: function updateMember(address _account, address _accountAdmin, bool _status) returns()

func (*RouterTransactor) UpdateMemberAdmin

func (_Router *RouterTransactor) UpdateMemberAdmin(opts *bind.TransactOpts, _member common.Address, _newMemberAdmin common.Address) (*types.Transaction, error)

UpdateMemberAdmin is a paid mutator transaction binding the contract method 0x85e6655f.

Solidity: function updateMemberAdmin(address _member, address _newMemberAdmin) returns()

func (*RouterTransactor) UpdateMembersPercentage

func (_Router *RouterTransactor) UpdateMembersPercentage(opts *bind.TransactOpts, _percentage *big.Int) (*types.Transaction, error)

UpdateMembersPercentage is a paid mutator transaction binding the contract method 0xfdc738c1.

Solidity: function updateMembersPercentage(uint256 _percentage) returns()

func (*RouterTransactor) UpdateNativeToken

func (_Router *RouterTransactor) UpdateNativeToken(opts *bind.TransactOpts, _nativeToken common.Address, _serviceFee *big.Int, _status bool) (*types.Transaction, error)

UpdateNativeToken is a paid mutator transaction binding the contract method 0x414c9d64.

Solidity: function updateNativeToken(address _nativeToken, uint256 _serviceFee, bool _status) 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) Burn

func (_Router *RouterTransactorSession) Burn(_targetChain *big.Int, _wrappedToken common.Address, _amount *big.Int, _receiver []byte) (*types.Transaction, error)

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

Solidity: function burn(uint256 _targetChain, address _wrappedToken, uint256 _amount, bytes _receiver) returns()

func (*RouterTransactorSession) BurnERC721

func (_Router *RouterTransactorSession) BurnERC721(_targetChain *big.Int, _wrappedToken common.Address, _tokenId *big.Int, _paymentToken common.Address, _fee *big.Int, _receiver []byte) (*types.Transaction, error)

BurnERC721 is a paid mutator transaction binding the contract method 0xd859fd9b.

Solidity: function burnERC721(uint256 _targetChain, address _wrappedToken, uint256 _tokenId, address _paymentToken, uint256 _fee, bytes _receiver) returns()

func (*RouterTransactorSession) BurnWithPermit

func (_Router *RouterTransactorSession) BurnWithPermit(_targetChain *big.Int, _wrappedToken common.Address, _amount *big.Int, _receiver []byte, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

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

Solidity: function burnWithPermit(uint256 _targetChain, address _wrappedToken, uint256 _amount, bytes _receiver, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*RouterTransactorSession) Claim

func (_Router *RouterTransactorSession) Claim(_token common.Address, _member common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x21c0b342.

Solidity: function claim(address _token, address _member) returns()

func (*RouterTransactorSession) DeployWrappedToken

func (_Router *RouterTransactorSession) DeployWrappedToken(_sourceChain *big.Int, _nativeToken []byte, _tokenParams WrappedTokenParams) (*types.Transaction, error)

DeployWrappedToken is a paid mutator transaction binding the contract method 0xcc408333.

Solidity: function deployWrappedToken(uint256 _sourceChain, bytes _nativeToken, (string,string,uint8) _tokenParams) returns()

func (*RouterTransactorSession) DiamondCut

func (_Router *RouterTransactorSession) DiamondCut(_diamondCut []IDiamondCutFacetCut, _init common.Address, _calldata []byte) (*types.Transaction, error)

DiamondCut is a paid mutator transaction binding the contract method 0x1f931c1c.

Solidity: function diamondCut((address,uint8,bytes4[])[] _diamondCut, address _init, bytes _calldata) returns()

func (*RouterTransactorSession) InitFeeCalculator

func (_Router *RouterTransactorSession) InitFeeCalculator(_precision *big.Int) (*types.Transaction, error)

InitFeeCalculator is a paid mutator transaction binding the contract method 0xe3c9d084.

Solidity: function initFeeCalculator(uint256 _precision) returns()

func (*RouterTransactorSession) InitGovernance

func (_Router *RouterTransactorSession) InitGovernance(_members []common.Address, _membersAdmins []common.Address, _percentage *big.Int, _precision *big.Int) (*types.Transaction, error)

InitGovernance is a paid mutator transaction binding the contract method 0x24b3b892.

Solidity: function initGovernance(address[] _members, address[] _membersAdmins, uint256 _percentage, uint256 _precision) returns()

func (*RouterTransactorSession) InitRouter

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

InitRouter is a paid mutator transaction binding the contract method 0xe5026ea2.

Solidity: function initRouter() returns()

func (*RouterTransactorSession) Lock

func (_Router *RouterTransactorSession) Lock(_targetChain *big.Int, _nativeToken common.Address, _amount *big.Int, _receiver []byte) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xb258848a.

Solidity: function lock(uint256 _targetChain, address _nativeToken, uint256 _amount, bytes _receiver) returns()

func (*RouterTransactorSession) LockWithPermit

func (_Router *RouterTransactorSession) LockWithPermit(_targetChain *big.Int, _nativeToken common.Address, _amount *big.Int, _receiver []byte, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

LockWithPermit is a paid mutator transaction binding the contract method 0xe1bf71ea.

Solidity: function lockWithPermit(uint256 _targetChain, address _nativeToken, uint256 _amount, bytes _receiver, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*RouterTransactorSession) Mint

func (_Router *RouterTransactorSession) Mint(_sourceChain *big.Int, _transactionId []byte, _wrappedToken common.Address, _receiver common.Address, _amount *big.Int, _signatures [][]byte) (*types.Transaction, error)

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

Solidity: function mint(uint256 _sourceChain, bytes _transactionId, address _wrappedToken, address _receiver, uint256 _amount, bytes[] _signatures) returns()

func (*RouterTransactorSession) MintERC721

func (_Router *RouterTransactorSession) MintERC721(_sourceChain *big.Int, _transactionId []byte, _wrappedToken common.Address, _tokenId *big.Int, _metadata string, _receiver common.Address, _signatures [][]byte) (*types.Transaction, error)

MintERC721 is a paid mutator transaction binding the contract method 0x35b5c501.

Solidity: function mintERC721(uint256 _sourceChain, bytes _transactionId, address _wrappedToken, uint256 _tokenId, string _metadata, address _receiver, bytes[] _signatures) returns()

func (*RouterTransactorSession) Pause

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

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*RouterTransactorSession) SetERC721Payment

func (_Router *RouterTransactorSession) SetERC721Payment(_erc721 common.Address, _payment common.Address, _fee *big.Int) (*types.Transaction, error)

SetERC721Payment is a paid mutator transaction binding the contract method 0x265155dc.

Solidity: function setERC721Payment(address _erc721, address _payment, uint256 _fee) returns()

func (*RouterTransactorSession) SetPaymentToken

func (_Router *RouterTransactorSession) SetPaymentToken(_token common.Address, _status bool) (*types.Transaction, error)

SetPaymentToken is a paid mutator transaction binding the contract method 0x430884cf.

Solidity: function setPaymentToken(address _token, bool _status) returns()

func (*RouterTransactorSession) SetServiceFee

func (_Router *RouterTransactorSession) SetServiceFee(_token common.Address, _serviceFeePercentage *big.Int) (*types.Transaction, error)

SetServiceFee is a paid mutator transaction binding the contract method 0xef2fa169.

Solidity: function setServiceFee(address _token, uint256 _serviceFeePercentage) 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) Unlock

func (_Router *RouterTransactorSession) Unlock(_sourceChain *big.Int, _transactionId []byte, _nativeToken common.Address, _amount *big.Int, _receiver common.Address, _signatures [][]byte) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x3b68d993.

Solidity: function unlock(uint256 _sourceChain, bytes _transactionId, address _nativeToken, uint256 _amount, address _receiver, bytes[] _signatures) returns()

func (*RouterTransactorSession) Unpause

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

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*RouterTransactorSession) UpdateAdmin

func (_Router *RouterTransactorSession) UpdateAdmin(_newAdmin common.Address) (*types.Transaction, error)

UpdateAdmin is a paid mutator transaction binding the contract method 0xe2f273bd.

Solidity: function updateAdmin(address _newAdmin) returns()

func (*RouterTransactorSession) UpdateMember

func (_Router *RouterTransactorSession) UpdateMember(_account common.Address, _accountAdmin common.Address, _status bool) (*types.Transaction, error)

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

Solidity: function updateMember(address _account, address _accountAdmin, bool _status) returns()

func (*RouterTransactorSession) UpdateMemberAdmin

func (_Router *RouterTransactorSession) UpdateMemberAdmin(_member common.Address, _newMemberAdmin common.Address) (*types.Transaction, error)

UpdateMemberAdmin is a paid mutator transaction binding the contract method 0x85e6655f.

Solidity: function updateMemberAdmin(address _member, address _newMemberAdmin) returns()

func (*RouterTransactorSession) UpdateMembersPercentage

func (_Router *RouterTransactorSession) UpdateMembersPercentage(_percentage *big.Int) (*types.Transaction, error)

UpdateMembersPercentage is a paid mutator transaction binding the contract method 0xfdc738c1.

Solidity: function updateMembersPercentage(uint256 _percentage) returns()

func (*RouterTransactorSession) UpdateNativeToken

func (_Router *RouterTransactorSession) UpdateNativeToken(_nativeToken common.Address, _serviceFee *big.Int, _status bool) (*types.Transaction, error)

UpdateNativeToken is a paid mutator transaction binding the contract method 0x414c9d64.

Solidity: function updateNativeToken(address _nativeToken, uint256 _serviceFee, bool _status) returns()

type RouterUnlock

type RouterUnlock struct {
	SourceChain   *big.Int
	TransactionId []byte
	Token         common.Address
	Amount        *big.Int
	Receiver      common.Address
	ServiceFee    *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

RouterUnlock represents a Unlock event raised by the Router contract.

type RouterUnlockIterator

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

RouterUnlockIterator is returned from FilterUnlock and is used to iterate over the raw logs and unpacked data for Unlock events raised by the Router contract.

func (*RouterUnlockIterator) Close

func (it *RouterUnlockIterator) Close() error

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

func (*RouterUnlockIterator) Error

func (it *RouterUnlockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterUnlockIterator) Next

func (it *RouterUnlockIterator) 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 RouterUnpaused

type RouterUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

RouterUnpaused represents a Unpaused event raised by the Router contract.

type RouterUnpausedIterator

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

RouterUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Router contract.

func (*RouterUnpausedIterator) Close

func (it *RouterUnpausedIterator) Close() error

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

func (*RouterUnpausedIterator) Error

func (it *RouterUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterUnpausedIterator) Next

func (it *RouterUnpausedIterator) 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 RouterWrappedTokenDeployed

type RouterWrappedTokenDeployed struct {
	SourceChain  *big.Int
	NativeToken  []byte
	WrappedToken common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

RouterWrappedTokenDeployed represents a WrappedTokenDeployed event raised by the Router contract.

type RouterWrappedTokenDeployedIterator

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

RouterWrappedTokenDeployedIterator is returned from FilterWrappedTokenDeployed and is used to iterate over the raw logs and unpacked data for WrappedTokenDeployed events raised by the Router contract.

func (*RouterWrappedTokenDeployedIterator) Close

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

func (*RouterWrappedTokenDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RouterWrappedTokenDeployedIterator) 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 WrappedTokenParams

type WrappedTokenParams struct {
	Name     string
	Symbol   string
	Decimals uint8
}

WrappedTokenParams is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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