bridgereceivermock

package
v0.0.0-...-44e5e6b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BridgereceivermockABI = BridgereceivermockMetaData.ABI

BridgereceivermockABI is the input ABI used to generate the binding from. Deprecated: Use BridgereceivermockMetaData.ABI instead.

View Source
var BridgereceivermockBin = BridgereceivermockMetaData.Bin

BridgereceivermockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgereceivermockMetaData.Bin instead.

View Source
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: "0x608060405234801561000f575f80fd5b506103b38061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c8063ccaa2d111461006f578063f5efcd7914610084575b7f1806efb26d87b13a8bdf58cc21831eb46678a980183a229cad8afbefd74028c75f3660405161006592919061017e565b60405180910390a1005b61008261007d3660046101eb565b610097565b005b6100826100923660046101eb565b6100f2565b7ffa1453e856bf3cf1590dbcac05a3ca95a9dc5a8f419d6e1ee7e4e95edb5005b88c8c8c8c8c8c8c8c8c8c8c8c6040516100dc9c9b9a999897969594939291906102e8565b60405180910390a1505050505050505050505050565b7f3f39965d0f29412dc6d768d60dd156238c12e8d6c8a15b45c337d074412a4cea8c8c8c8c8c8c8c8c8c8c8c8c6040516100dc9c9b9a999897969594939291906102e8565b81835281816020850137505f602082840101525f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b602081525f610191602083018486610137565b949350505050565b8061040081018310156101aa575f80fd5b92915050565b803563ffffffff811681146101c3575f80fd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146101c3575f80fd5b5f805f805f805f805f805f806109208d8f031215610207575f80fd5b6102118e8e610199565b9b506102218e6104008f01610199565b9a506108008d013599506108208d013598506108408d013597506102486108608e016101b0565b96506102576108808e016101c8565b95506102666108a08e016101b0565b94506102756108c08e016101c8565b93506108e08d013592506109008d013567ffffffffffffffff8082111561029a575f80fd5b818f0191508f601f8301126102ad575f80fd5b80823511156102ba575f80fd5b508e6020823583010111156102cd575f80fd5b60208101925080359150509295989b509295989b509295989b565b5f610400808f8437808e82850137508b6108008301528a6108208301528961084083015263ffffffff808a1661086084015273ffffffffffffffffffffffffffffffffffffffff808a166108808501528189166108a08501528088166108c08501525050846108e083015261092061090083015261036b61092083018486610137565b9e9d505050505050505050505050505056fea2646970667358221220e8c7cb6194215c558875941cc1eba56f652d55cd4c670e01b9fed74b26cf6e9f64736f6c63430008140033",
}

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

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

func (*BridgereceivermockClaimAssetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

func (*BridgereceivermockClaimMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

func (*BridgereceivermockFallbackEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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