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: "0x6080604052348015600e575f5ffd5b506103cc8061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610034575f3560e01c8063ccaa2d111461006f578063f5efcd7914610084575b7f1806efb26d87b13a8bdf58cc21831eb46678a980183a229cad8afbefd74028c75f3660405161006592919061017e565b60405180910390a1005b61008261007d3660046101eb565b610097565b005b6100826100923660046101eb565b6100f2565b7ffa1453e856bf3cf1590dbcac05a3ca95a9dc5a8f419d6e1ee7e4e95edb5005b88c8c8c8c8c8c8c8c8c8c8c8c6040516100dc9c9b9a999897969594939291906102eb565b60405180910390a1505050505050505050505050565b7f3f39965d0f29412dc6d768d60dd156238c12e8d6c8a15b45c337d074412a4cea8c8c8c8c8c8c8c8c8c8c8c8c6040516100dc9c9b9a999897969594939291906102eb565b81835281816020850137505f602082840101525f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b602081525f610191602083018486610137565b949350505050565b8061040081018310156101aa575f5ffd5b92915050565b803563ffffffff811681146101c3575f5ffd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146101c3575f5ffd5b5f5f5f5f5f5f5f5f5f5f5f5f6109208d8f031215610207575f5ffd5b6102118e8e610199565b9b506102218e6104008f01610199565b9a506108008d013599506108208d013598506108408d013597506102486108608e016101b0565b96506102576108808e016101c8565b95506102666108a08e016101b0565b94506102756108c08e016101c8565b93506108e08d013592506109008d013567ffffffffffffffff811115610299575f5ffd5b8d01601f81018f136102a9575f5ffd5b803567ffffffffffffffff8111156102bf575f5ffd5b8f60208284010111156102d0575f5ffd5b60208201935080925050509295989b509295989b509295989b565b6104008d82376104008c6104008301378a610800820152896108208201528861084082015263ffffffff881661086082015273ffffffffffffffffffffffffffffffffffffffff871661088082015263ffffffff86166108a082015273ffffffffffffffffffffffffffffffffffffffff85166108c0820152836108e08201526109206109008201525f61038461092083018486610137565b9e9d505050505050505050505050505056fea2646970667358221220f4a15434246f4de2d52495c17ec5648e31a4be75e509f11572226c9038f17b7c64736f6c634300081c0033",
}
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()