Documentation ¶
Index ¶
- Variables
- type Bridgereceivermock
- type BridgereceivermockCaller
- type BridgereceivermockCallerRaw
- type BridgereceivermockCallerSession
- type BridgereceivermockClaimAsset
- type BridgereceivermockClaimAssetIterator
- type BridgereceivermockClaimMessage
- type BridgereceivermockClaimMessageIterator
- type BridgereceivermockFallbackEvent
- type BridgereceivermockFallbackEventIterator
- type BridgereceivermockFilterer
- func (_Bridgereceivermock *BridgereceivermockFilterer) FilterClaimAsset(opts *bind.FilterOpts) (*BridgereceivermockClaimAssetIterator, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) FilterClaimMessage(opts *bind.FilterOpts) (*BridgereceivermockClaimMessageIterator, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) FilterFallbackEvent(opts *bind.FilterOpts) (*BridgereceivermockFallbackEventIterator, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) ParseClaimAsset(log types.Log) (*BridgereceivermockClaimAsset, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) ParseClaimMessage(log types.Log) (*BridgereceivermockClaimMessage, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) ParseFallbackEvent(log types.Log) (*BridgereceivermockFallbackEvent, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) WatchClaimAsset(opts *bind.WatchOpts, sink chan<- *BridgereceivermockClaimAsset) (event.Subscription, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) WatchClaimMessage(opts *bind.WatchOpts, sink chan<- *BridgereceivermockClaimMessage) (event.Subscription, error)
- func (_Bridgereceivermock *BridgereceivermockFilterer) WatchFallbackEvent(opts *bind.WatchOpts, sink chan<- *BridgereceivermockFallbackEvent) (event.Subscription, error)
- type BridgereceivermockRaw
- func (_Bridgereceivermock *BridgereceivermockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Bridgereceivermock *BridgereceivermockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Bridgereceivermock *BridgereceivermockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgereceivermockSession
- func (_Bridgereceivermock *BridgereceivermockSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgereceivermock *BridgereceivermockSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgereceivermock *BridgereceivermockSession) Fallback(calldata []byte) (*types.Transaction, error)
- type BridgereceivermockTransactor
- func (_Bridgereceivermock *BridgereceivermockTransactor) ClaimAsset(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgereceivermock *BridgereceivermockTransactor) ClaimMessage(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgereceivermock *BridgereceivermockTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- type BridgereceivermockTransactorRaw
- type BridgereceivermockTransactorSession
- func (_Bridgereceivermock *BridgereceivermockTransactorSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgereceivermock *BridgereceivermockTransactorSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, ...) (*types.Transaction, error)
- func (_Bridgereceivermock *BridgereceivermockTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var BridgereceivermockABI = BridgereceivermockMetaData.ABI
BridgereceivermockABI is the input ABI used to generate the binding from. Deprecated: Use BridgereceivermockMetaData.ABI instead.
var BridgereceivermockBin = BridgereceivermockMetaData.Bin
BridgereceivermockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgereceivermockMetaData.Bin instead.
var BridgereceivermockMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32[32]\",\"name\":\"smtProofLocalExitRoot\",\"type\":\"bytes32[32]\"},{\"indexed\":false,\"internalType\":\"bytes32[32]\",\"name\":\"smtProofRollupExitRoot\",\"type\":\"bytes32[32]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"globalIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"ClaimAsset\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32[32]\",\"name\":\"smtProofLocalExitRoot\",\"type\":\"bytes32[32]\"},{\"indexed\":false,\"internalType\":\"bytes32[32]\",\"name\":\"smtProofRollupExitRoot\",\"type\":\"bytes32[32]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"globalIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"ClaimMessage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"calldataBytes\",\"type\":\"bytes\"}],\"name\":\"FallbackEvent\",\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"bytes32[32]\",\"name\":\"smtProofLocalExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"bytes32[32]\",\"name\":\"smtProofRollupExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint256\",\"name\":\"globalIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originTokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"claimAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[32]\",\"name\":\"smtProofLocalExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"bytes32[32]\",\"name\":\"smtProofRollupExitRoot\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint256\",\"name\":\"globalIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"name\":\"claimMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506103c8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063ccaa2d1114610072578063f5efcd7914610087575b7f1806efb26d87b13a8bdf58cc21831eb46678a980183a229cad8afbefd74028c7600036604051610068929190610183565b60405180910390a1005b6100856100803660046101f4565b61009a565b005b6100856100953660046101f4565b6100f5565b7ffa1453e856bf3cf1590dbcac05a3ca95a9dc5a8f419d6e1ee7e4e95edb5005b88c8c8c8c8c8c8c8c8c8c8c8c6040516100df9c9b9a999897969594939291906102fc565b60405180910390a1505050505050505050505050565b7f3f39965d0f29412dc6d768d60dd156238c12e8d6c8a15b45c337d074412a4cea8c8c8c8c8c8c8c8c8c8c8c8c6040516100df9c9b9a999897969594939291906102fc565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60208152600061019760208301848661013a565b949350505050565b8061040081018310156101b157600080fd5b92915050565b803563ffffffff811681146101cb57600080fd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146101cb57600080fd5b6000806000806000806000806000806000806109208d8f03121561021757600080fd5b6102218e8e61019f565b9b506102318e6104008f0161019f565b9a506108008d013599506108208d013598506108408d013597506102586108608e016101b7565b96506102676108808e016101d0565b95506102766108a08e016101b7565b94506102856108c08e016101d0565b93506108e08d013592506109008d013567ffffffffffffffff808211156102ab57600080fd5b818f0191508f601f8301126102bf57600080fd5b80823511156102cd57600080fd5b508e6020823583010111156102e157600080fd5b60208101925080359150509295989b509295989b509295989b565b6000610400808f8437808e82850137508b6108008301528a6108208301528961084083015263ffffffff808a1661086084015273ffffffffffffffffffffffffffffffffffffffff808a166108808501528189166108a08501528088166108c08501525050846108e08301526109206109008301526103806109208301848661013a565b9e9d505050505050505050505050505056fea26469706673582212204863614ccab25b4514e5427f8923e2d1ecc271e8cadcff55cfcf77816a661fd864736f6c63430008140033",
}
BridgereceivermockMetaData contains all meta data concerning the Bridgereceivermock contract.
Functions ¶
This section is empty.
Types ¶
type Bridgereceivermock ¶
type Bridgereceivermock struct { BridgereceivermockCaller // Read-only binding to the contract BridgereceivermockTransactor // Write-only binding to the contract BridgereceivermockFilterer // Log filterer for contract events }
Bridgereceivermock is an auto generated Go binding around an Ethereum contract.
func DeployBridgereceivermock ¶
func DeployBridgereceivermock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Bridgereceivermock, error)
DeployBridgereceivermock deploys a new Ethereum contract, binding an instance of Bridgereceivermock to it.
func NewBridgereceivermock ¶
func NewBridgereceivermock(address common.Address, backend bind.ContractBackend) (*Bridgereceivermock, error)
NewBridgereceivermock creates a new instance of Bridgereceivermock, bound to a specific deployed contract.
type BridgereceivermockCaller ¶
type BridgereceivermockCaller struct {
// contains filtered or unexported fields
}
BridgereceivermockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgereceivermockCaller ¶
func NewBridgereceivermockCaller(address common.Address, caller bind.ContractCaller) (*BridgereceivermockCaller, error)
NewBridgereceivermockCaller creates a new read-only instance of Bridgereceivermock, bound to a specific deployed contract.
type BridgereceivermockCallerRaw ¶
type BridgereceivermockCallerRaw struct {
Contract *BridgereceivermockCaller // Generic read-only contract binding to access the raw methods on
}
BridgereceivermockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgereceivermockCallerRaw) Call ¶
func (_Bridgereceivermock *BridgereceivermockCallerRaw) 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 BridgereceivermockCallerSession ¶
type BridgereceivermockCallerSession struct { Contract *BridgereceivermockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgereceivermockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BridgereceivermockClaimAsset ¶
type BridgereceivermockClaimAsset struct { SmtProofLocalExitRoot [32][32]byte SmtProofRollupExitRoot [32][32]byte GlobalIndex *big.Int MainnetExitRoot [32]byte RollupExitRoot [32]byte OriginNetwork uint32 OriginTokenAddress common.Address DestinationNetwork uint32 DestinationAddress common.Address Amount *big.Int Metadata []byte Raw types.Log // Blockchain specific contextual infos }
BridgereceivermockClaimAsset represents a ClaimAsset event raised by the Bridgereceivermock contract.
type BridgereceivermockClaimAssetIterator ¶
type BridgereceivermockClaimAssetIterator struct { Event *BridgereceivermockClaimAsset // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgereceivermockClaimAssetIterator is returned from FilterClaimAsset and is used to iterate over the raw logs and unpacked data for ClaimAsset events raised by the Bridgereceivermock contract.
func (*BridgereceivermockClaimAssetIterator) Close ¶
func (it *BridgereceivermockClaimAssetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgereceivermockClaimAssetIterator) Error ¶
func (it *BridgereceivermockClaimAssetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgereceivermockClaimAssetIterator) Next ¶
func (it *BridgereceivermockClaimAssetIterator) 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 BridgereceivermockClaimMessage ¶
type BridgereceivermockClaimMessage struct { SmtProofLocalExitRoot [32][32]byte SmtProofRollupExitRoot [32][32]byte GlobalIndex *big.Int MainnetExitRoot [32]byte RollupExitRoot [32]byte OriginNetwork uint32 OriginTokenAddress common.Address DestinationNetwork uint32 DestinationAddress common.Address Amount *big.Int Metadata []byte Raw types.Log // Blockchain specific contextual infos }
BridgereceivermockClaimMessage represents a ClaimMessage event raised by the Bridgereceivermock contract.
type BridgereceivermockClaimMessageIterator ¶
type BridgereceivermockClaimMessageIterator struct { Event *BridgereceivermockClaimMessage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgereceivermockClaimMessageIterator is returned from FilterClaimMessage and is used to iterate over the raw logs and unpacked data for ClaimMessage events raised by the Bridgereceivermock contract.
func (*BridgereceivermockClaimMessageIterator) Close ¶
func (it *BridgereceivermockClaimMessageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgereceivermockClaimMessageIterator) Error ¶
func (it *BridgereceivermockClaimMessageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgereceivermockClaimMessageIterator) Next ¶
func (it *BridgereceivermockClaimMessageIterator) 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 BridgereceivermockFallbackEvent ¶
type BridgereceivermockFallbackEvent struct { CalldataBytes []byte Raw types.Log // Blockchain specific contextual infos }
BridgereceivermockFallbackEvent represents a FallbackEvent event raised by the Bridgereceivermock contract.
type BridgereceivermockFallbackEventIterator ¶
type BridgereceivermockFallbackEventIterator struct { Event *BridgereceivermockFallbackEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgereceivermockFallbackEventIterator is returned from FilterFallbackEvent and is used to iterate over the raw logs and unpacked data for FallbackEvent events raised by the Bridgereceivermock contract.
func (*BridgereceivermockFallbackEventIterator) Close ¶
func (it *BridgereceivermockFallbackEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgereceivermockFallbackEventIterator) Error ¶
func (it *BridgereceivermockFallbackEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgereceivermockFallbackEventIterator) Next ¶
func (it *BridgereceivermockFallbackEventIterator) 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 BridgereceivermockFilterer ¶
type BridgereceivermockFilterer struct {
// contains filtered or unexported fields
}
BridgereceivermockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgereceivermockFilterer ¶
func NewBridgereceivermockFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgereceivermockFilterer, error)
NewBridgereceivermockFilterer creates a new log filterer instance of Bridgereceivermock, bound to a specific deployed contract.
func (*BridgereceivermockFilterer) FilterClaimAsset ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) FilterClaimAsset(opts *bind.FilterOpts) (*BridgereceivermockClaimAssetIterator, error)
FilterClaimAsset is a free log retrieval operation binding the contract event 0xfa1453e856bf3cf1590dbcac05a3ca95a9dc5a8f419d6e1ee7e4e95edb5005b8.
Solidity: event ClaimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata)
func (*BridgereceivermockFilterer) FilterClaimMessage ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) FilterClaimMessage(opts *bind.FilterOpts) (*BridgereceivermockClaimMessageIterator, error)
FilterClaimMessage is a free log retrieval operation binding the contract event 0x3f39965d0f29412dc6d768d60dd156238c12e8d6c8a15b45c337d074412a4cea.
Solidity: event ClaimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata)
func (*BridgereceivermockFilterer) FilterFallbackEvent ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) FilterFallbackEvent(opts *bind.FilterOpts) (*BridgereceivermockFallbackEventIterator, error)
FilterFallbackEvent is a free log retrieval operation binding the contract event 0x1806efb26d87b13a8bdf58cc21831eb46678a980183a229cad8afbefd74028c7.
Solidity: event FallbackEvent(bytes calldataBytes)
func (*BridgereceivermockFilterer) ParseClaimAsset ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) ParseClaimAsset(log types.Log) (*BridgereceivermockClaimAsset, error)
ParseClaimAsset is a log parse operation binding the contract event 0xfa1453e856bf3cf1590dbcac05a3ca95a9dc5a8f419d6e1ee7e4e95edb5005b8.
Solidity: event ClaimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata)
func (*BridgereceivermockFilterer) ParseClaimMessage ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) ParseClaimMessage(log types.Log) (*BridgereceivermockClaimMessage, error)
ParseClaimMessage is a log parse operation binding the contract event 0x3f39965d0f29412dc6d768d60dd156238c12e8d6c8a15b45c337d074412a4cea.
Solidity: event ClaimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata)
func (*BridgereceivermockFilterer) ParseFallbackEvent ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) ParseFallbackEvent(log types.Log) (*BridgereceivermockFallbackEvent, error)
ParseFallbackEvent is a log parse operation binding the contract event 0x1806efb26d87b13a8bdf58cc21831eb46678a980183a229cad8afbefd74028c7.
Solidity: event FallbackEvent(bytes calldataBytes)
func (*BridgereceivermockFilterer) WatchClaimAsset ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) WatchClaimAsset(opts *bind.WatchOpts, sink chan<- *BridgereceivermockClaimAsset) (event.Subscription, error)
WatchClaimAsset is a free log subscription operation binding the contract event 0xfa1453e856bf3cf1590dbcac05a3ca95a9dc5a8f419d6e1ee7e4e95edb5005b8.
Solidity: event ClaimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata)
func (*BridgereceivermockFilterer) WatchClaimMessage ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) WatchClaimMessage(opts *bind.WatchOpts, sink chan<- *BridgereceivermockClaimMessage) (event.Subscription, error)
WatchClaimMessage is a free log subscription operation binding the contract event 0x3f39965d0f29412dc6d768d60dd156238c12e8d6c8a15b45c337d074412a4cea.
Solidity: event ClaimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata)
func (*BridgereceivermockFilterer) WatchFallbackEvent ¶
func (_Bridgereceivermock *BridgereceivermockFilterer) WatchFallbackEvent(opts *bind.WatchOpts, sink chan<- *BridgereceivermockFallbackEvent) (event.Subscription, error)
WatchFallbackEvent is a free log subscription operation binding the contract event 0x1806efb26d87b13a8bdf58cc21831eb46678a980183a229cad8afbefd74028c7.
Solidity: event FallbackEvent(bytes calldataBytes)
type BridgereceivermockRaw ¶
type BridgereceivermockRaw struct {
Contract *Bridgereceivermock // Generic contract binding to access the raw methods on
}
BridgereceivermockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgereceivermockRaw) Call ¶
func (_Bridgereceivermock *BridgereceivermockRaw) 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 (*BridgereceivermockRaw) Transact ¶
func (_Bridgereceivermock *BridgereceivermockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgereceivermockRaw) Transfer ¶
func (_Bridgereceivermock *BridgereceivermockRaw) 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 BridgereceivermockSession ¶
type BridgereceivermockSession struct { Contract *Bridgereceivermock // 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 }
BridgereceivermockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgereceivermockSession) ClaimAsset ¶
func (_Bridgereceivermock *BridgereceivermockSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originTokenAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimAsset is a paid mutator transaction binding the contract method 0xccaa2d11.
Solidity: function claimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*BridgereceivermockSession) ClaimMessage ¶
func (_Bridgereceivermock *BridgereceivermockSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimMessage is a paid mutator transaction binding the contract method 0xf5efcd79.
Solidity: function claimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*BridgereceivermockSession) Fallback ¶
func (_Bridgereceivermock *BridgereceivermockSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
type BridgereceivermockTransactor ¶
type BridgereceivermockTransactor struct {
// contains filtered or unexported fields
}
BridgereceivermockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgereceivermockTransactor ¶
func NewBridgereceivermockTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgereceivermockTransactor, error)
NewBridgereceivermockTransactor creates a new write-only instance of Bridgereceivermock, bound to a specific deployed contract.
func (*BridgereceivermockTransactor) ClaimAsset ¶
func (_Bridgereceivermock *BridgereceivermockTransactor) ClaimAsset(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originTokenAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimAsset is a paid mutator transaction binding the contract method 0xccaa2d11.
Solidity: function claimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*BridgereceivermockTransactor) ClaimMessage ¶
func (_Bridgereceivermock *BridgereceivermockTransactor) ClaimMessage(opts *bind.TransactOpts, smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimMessage is a paid mutator transaction binding the contract method 0xf5efcd79.
Solidity: function claimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*BridgereceivermockTransactor) Fallback ¶
func (_Bridgereceivermock *BridgereceivermockTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()
type BridgereceivermockTransactorRaw ¶
type BridgereceivermockTransactorRaw struct {
Contract *BridgereceivermockTransactor // Generic write-only contract binding to access the raw methods on
}
BridgereceivermockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgereceivermockTransactorRaw) Transact ¶
func (_Bridgereceivermock *BridgereceivermockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgereceivermockTransactorRaw) Transfer ¶
func (_Bridgereceivermock *BridgereceivermockTransactorRaw) 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 BridgereceivermockTransactorSession ¶
type BridgereceivermockTransactorSession struct { Contract *BridgereceivermockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgereceivermockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgereceivermockTransactorSession) ClaimAsset ¶
func (_Bridgereceivermock *BridgereceivermockTransactorSession) ClaimAsset(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originTokenAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimAsset is a paid mutator transaction binding the contract method 0xccaa2d11.
Solidity: function claimAsset(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originTokenAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*BridgereceivermockTransactorSession) ClaimMessage ¶
func (_Bridgereceivermock *BridgereceivermockTransactorSession) ClaimMessage(smtProofLocalExitRoot [32][32]byte, smtProofRollupExitRoot [32][32]byte, globalIndex *big.Int, mainnetExitRoot [32]byte, rollupExitRoot [32]byte, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadata []byte) (*types.Transaction, error)
ClaimMessage is a paid mutator transaction binding the contract method 0xf5efcd79.
Solidity: function claimMessage(bytes32[32] smtProofLocalExitRoot, bytes32[32] smtProofRollupExitRoot, uint256 globalIndex, bytes32 mainnetExitRoot, bytes32 rollupExitRoot, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes metadata) returns()
func (*BridgereceivermockTransactorSession) Fallback ¶
func (_Bridgereceivermock *BridgereceivermockTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() returns()