Documentation ¶
Index ¶
- Variables
- type IL2OutputOracleOutputProposal
- type L2OutputOracle
- type L2OutputOracleCaller
- type L2OutputOracleCallerRaw
- type L2OutputOracleCallerSession
- type L2OutputOracleFilterer
- func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputProposed(opts *bind.FilterOpts, outputRoot [][32]byte, l2OutputIndex []*big.Int, ...) (*L2OutputOracleOutputProposedIterator, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputProposed(log types.Log) (*L2OutputOracleOutputProposed, error)
- func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputProposed(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputProposed, ...) (event.Subscription, error)
- type L2OutputOracleOutputProposed
- type L2OutputOracleOutputProposedIterator
- type L2OutputOracleRaw
- func (_L2OutputOracle *L2OutputOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_L2OutputOracle *L2OutputOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L2OutputOracle *L2OutputOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L2OutputOracleSession
- type L2OutputOracleTransactor
- type L2OutputOracleTransactorRaw
- type L2OutputOracleTransactorSession
- type MockAttestationDisputeGame
- func DeployMockAttestationDisputeGame(auth *bind.TransactOpts, backend bind.ContractBackend, _rootClaim [32]byte, ...) (common.Address, *types.Transaction, *MockAttestationDisputeGame, error)
- func NewMockAttestationDisputeGame(address common.Address, backend bind.ContractBackend) (*MockAttestationDisputeGame, error)
- type MockAttestationDisputeGameCaller
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameCaller) Challenges(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameCaller) L2BLOCKNUMBER(opts *bind.CallOpts) (*big.Int, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameCaller) ROOTCLAIM(opts *bind.CallOpts) ([32]byte, error)
- type MockAttestationDisputeGameCallerRaw
- type MockAttestationDisputeGameCallerSession
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameCallerSession) Challenges(arg0 common.Address) (bool, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameCallerSession) L2BLOCKNUMBER() (*big.Int, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameCallerSession) ROOTCLAIM() ([32]byte, error)
- type MockAttestationDisputeGameFilterer
- type MockAttestationDisputeGameRaw
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MockAttestationDisputeGameSession
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) Challenge(_signature []byte) (*types.Transaction, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) Challenges(arg0 common.Address) (bool, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) L2BLOCKNUMBER() (*big.Int, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) ROOTCLAIM() ([32]byte, error)
- type MockAttestationDisputeGameTransactor
- type MockAttestationDisputeGameTransactorRaw
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MockAttestationDisputeGame *MockAttestationDisputeGameTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MockAttestationDisputeGameTransactorSession
- type MockDisputeGameFactory
- type MockDisputeGameFactoryCaller
- type MockDisputeGameFactoryCallerRaw
- type MockDisputeGameFactoryCallerSession
- type MockDisputeGameFactoryDisputeGameCreated
- type MockDisputeGameFactoryDisputeGameCreatedIterator
- type MockDisputeGameFactoryFilterer
- func (_MockDisputeGameFactory *MockDisputeGameFactoryFilterer) FilterDisputeGameCreated(opts *bind.FilterOpts, disputeProxy []common.Address, gameType []uint8, ...) (*MockDisputeGameFactoryDisputeGameCreatedIterator, error)
- func (_MockDisputeGameFactory *MockDisputeGameFactoryFilterer) ParseDisputeGameCreated(log types.Log) (*MockDisputeGameFactoryDisputeGameCreated, error)
- func (_MockDisputeGameFactory *MockDisputeGameFactoryFilterer) WatchDisputeGameCreated(opts *bind.WatchOpts, sink chan<- *MockDisputeGameFactoryDisputeGameCreated, ...) (event.Subscription, error)
- type MockDisputeGameFactoryRaw
- func (_MockDisputeGameFactory *MockDisputeGameFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MockDisputeGameFactory *MockDisputeGameFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MockDisputeGameFactory *MockDisputeGameFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MockDisputeGameFactorySession
- type MockDisputeGameFactoryTransactor
- type MockDisputeGameFactoryTransactorRaw
- type MockDisputeGameFactoryTransactorSession
Constants ¶
This section is empty.
Variables ¶
var L2OutputOracleABI = L2OutputOracleMetaData.ABI
L2OutputOracleABI is the input ABI used to generate the binding from. Deprecated: Use L2OutputOracleMetaData.ABI instead.
var L2OutputOracleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"outputRoot\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"l2OutputIndex\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"l2BlockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"l1Timestamp\",\"type\":\"uint256\"}],\"name\":\"OutputProposed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deleteL2Outputs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_l2OutputIndex\",\"type\":\"uint256\"}],\"name\":\"getL2Output\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"outputRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint128\",\"name\":\"timestamp\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"l2BlockNumber\",\"type\":\"uint128\"}],\"internalType\":\"structIL2OutputOracle.OutputProposal\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
L2OutputOracleMetaData contains all meta data concerning the L2OutputOracle contract.
var MockAttestationDisputeGameABI = MockAttestationDisputeGameMetaData.ABI
MockAttestationDisputeGameABI is the input ABI used to generate the binding from. Deprecated: Use MockAttestationDisputeGameMetaData.ABI instead.
var MockAttestationDisputeGameBin = MockAttestationDisputeGameMetaData.Bin
MockAttestationDisputeGameBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MockAttestationDisputeGameMetaData.Bin instead.
var MockAttestationDisputeGameMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"Claim\",\"name\":\"_rootClaim\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"l2BlockNumber\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_creator\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"L2_BLOCK_NUMBER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROOT_CLAIM\",\"outputs\":[{\"internalType\":\"Claim\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_signature\",\"type\":\"bytes\"}],\"name\":\"challenge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"challenges\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60c060405234801561001057600080fd5b506040516102b33803806102b383398101604081905261002f9161005f565b60809290925260a0526001600160a01b03166000908152602081905260409020805460ff191660011790556100a5565b60008060006060848603121561007457600080fd5b83516020850151604086015191945092506001600160a01b038116811461009a57600080fd5b809150509250925092565b60805160a0516101eb6100c86000396000608e0152600060c301526101eb6000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806308b43a1914610051578063326f8195146100895780634a1890f0146100be578063b8b9c188146100e5575b600080fd5b61007461005f366004610113565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100b07f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610080565b6100b07f000000000000000000000000000000000000000000000000000000000000000081565b6101116100f3366004610143565b5050336000908152602081905260409020805460ff19166001179055565b005b60006020828403121561012557600080fd5b81356001600160a01b038116811461013c57600080fd5b9392505050565b6000806020838503121561015657600080fd5b823567ffffffffffffffff8082111561016e57600080fd5b818501915085601f83011261018257600080fd5b81358181111561019157600080fd5b8660208285010111156101a357600080fd5b6020929092019691955090935050505056fea2646970667358221220a15f2b475fb3640846a10e20b1d980b5a93201e53321f773b79c483277a32aa364736f6c63430008130033",
}
MockAttestationDisputeGameMetaData contains all meta data concerning the MockAttestationDisputeGame contract.
var MockDisputeGameFactoryABI = MockDisputeGameFactoryMetaData.ABI
MockDisputeGameFactoryABI is the input ABI used to generate the binding from. Deprecated: Use MockDisputeGameFactoryMetaData.ABI instead.
var MockDisputeGameFactoryBin = MockDisputeGameFactoryMetaData.Bin
MockDisputeGameFactoryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MockDisputeGameFactoryMetaData.Bin instead.
var MockDisputeGameFactoryMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"disputeProxy\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"enumGameType\",\"name\":\"gameType\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"Claim\",\"name\":\"rootClaim\",\"type\":\"bytes32\"}],\"name\":\"DisputeGameCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"enumGameType\",\"name\":\"gameType\",\"type\":\"uint8\"},{\"internalType\":\"Claim\",\"name\":\"rootClaim\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"create\",\"outputs\":[{\"internalType\":\"contractMockAttestationDisputeGame\",\"name\":\"mock\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumGameType\",\"name\":\"gameType\",\"type\":\"uint8\"},{\"internalType\":\"Claim\",\"name\":\"rootClaim\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"games\",\"outputs\":[{\"internalType\":\"contractIDisputeGame\",\"name\":\"_proxy\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506105d6806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633142e55e1461003b578063c49d52711461006a575b600080fd5b61004e6100493660046101ec565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e6100783660046101ec565b61018b565b60008061008c83850185610279565b905084813360405161009d906101df565b92835260208301919091526001600160a01b03166040820152606001604051809103906000f0801580156100d5573d6000803e3d6000fd5b509150848660028111156100eb576100eb610292565b6040516001600160a01b038516907ffad0599ff449d8d9685eadecca8cb9e00924c5fd8367c1c09469824939e1ffec90600090a4816000808888888860405160200161013a94939291906102a8565b60405160208183030381529060405280519060200120815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555050949350505050565b6000806000868686866040516020016101a794939291906102a8565b60408051601f19818403018152918152815160209283012083529082019290925201600020546001600160a01b031695945050505050565b6102b3806102ee83390190565b6000806000806060858703121561020257600080fd5b84356003811061021157600080fd5b935060208501359250604085013567ffffffffffffffff8082111561023557600080fd5b818701915087601f83011261024957600080fd5b81358181111561025857600080fd5b88602082850101111561026a57600080fd5b95989497505060200194505050565b60006020828403121561028b57600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6000600386106102c857634e487b7160e01b600052602160045260246000fd5b8560f81b8252846001830152828460218401375060009101602101908152939250505056fe60c060405234801561001057600080fd5b506040516102b33803806102b383398101604081905261002f9161005f565b60809290925260a0526001600160a01b03166000908152602081905260409020805460ff191660011790556100a5565b60008060006060848603121561007457600080fd5b83516020850151604086015191945092506001600160a01b038116811461009a57600080fd5b809150509250925092565b60805160a0516101eb6100c86000396000608e0152600060c301526101eb6000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806308b43a1914610051578063326f8195146100895780634a1890f0146100be578063b8b9c188146100e5575b600080fd5b61007461005f366004610113565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100b07f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610080565b6100b07f000000000000000000000000000000000000000000000000000000000000000081565b6101116100f3366004610143565b5050336000908152602081905260409020805460ff19166001179055565b005b60006020828403121561012557600080fd5b81356001600160a01b038116811461013c57600080fd5b9392505050565b6000806020838503121561015657600080fd5b823567ffffffffffffffff8082111561016e57600080fd5b818501915085601f83011261018257600080fd5b81358181111561019157600080fd5b8660208285010111156101a357600080fd5b6020929092019691955090935050505056fea2646970667358221220a15f2b475fb3640846a10e20b1d980b5a93201e53321f773b79c483277a32aa364736f6c63430008130033a2646970667358221220b4c9410279382b1338bd3a1d99779f93e552ef22ee4c93df63943561dea0f18764736f6c63430008130033",
}
MockDisputeGameFactoryMetaData contains all meta data concerning the MockDisputeGameFactory contract.
Functions ¶
This section is empty.
Types ¶
type IL2OutputOracleOutputProposal ¶
type IL2OutputOracleOutputProposal struct { OutputRoot [32]byte Timestamp *big.Int L2BlockNumber *big.Int }
IL2OutputOracleOutputProposal is an auto generated low-level Go binding around an user-defined struct.
type L2OutputOracle ¶
type L2OutputOracle struct { L2OutputOracleCaller // Read-only binding to the contract L2OutputOracleTransactor // Write-only binding to the contract L2OutputOracleFilterer // Log filterer for contract events }
L2OutputOracle is an auto generated Go binding around an Ethereum contract.
func NewL2OutputOracle ¶
func NewL2OutputOracle(address common.Address, backend bind.ContractBackend) (*L2OutputOracle, error)
NewL2OutputOracle creates a new instance of L2OutputOracle, bound to a specific deployed contract.
type L2OutputOracleCaller ¶
type L2OutputOracleCaller struct {
// contains filtered or unexported fields
}
L2OutputOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewL2OutputOracleCaller ¶
func NewL2OutputOracleCaller(address common.Address, caller bind.ContractCaller) (*L2OutputOracleCaller, error)
NewL2OutputOracleCaller creates a new read-only instance of L2OutputOracle, bound to a specific deployed contract.
func (*L2OutputOracleCaller) GetL2Output ¶
func (_L2OutputOracle *L2OutputOracleCaller) GetL2Output(opts *bind.CallOpts, _l2OutputIndex *big.Int) (IL2OutputOracleOutputProposal, error)
GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.
Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))
type L2OutputOracleCallerRaw ¶
type L2OutputOracleCallerRaw struct {
Contract *L2OutputOracleCaller // Generic read-only contract binding to access the raw methods on
}
L2OutputOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*L2OutputOracleCallerRaw) Call ¶
func (_L2OutputOracle *L2OutputOracleCallerRaw) 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 L2OutputOracleCallerSession ¶
type L2OutputOracleCallerSession struct { Contract *L2OutputOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
L2OutputOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*L2OutputOracleCallerSession) GetL2Output ¶
func (_L2OutputOracle *L2OutputOracleCallerSession) GetL2Output(_l2OutputIndex *big.Int) (IL2OutputOracleOutputProposal, error)
GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.
Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))
type L2OutputOracleFilterer ¶
type L2OutputOracleFilterer struct {
// contains filtered or unexported fields
}
L2OutputOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewL2OutputOracleFilterer ¶
func NewL2OutputOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*L2OutputOracleFilterer, error)
NewL2OutputOracleFilterer creates a new log filterer instance of L2OutputOracle, bound to a specific deployed contract.
func (*L2OutputOracleFilterer) FilterOutputProposed ¶
func (_L2OutputOracle *L2OutputOracleFilterer) FilterOutputProposed(opts *bind.FilterOpts, outputRoot [][32]byte, l2OutputIndex []*big.Int, l2BlockNumber []*big.Int) (*L2OutputOracleOutputProposedIterator, error)
FilterOutputProposed is a free log retrieval operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.
Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)
func (*L2OutputOracleFilterer) ParseOutputProposed ¶
func (_L2OutputOracle *L2OutputOracleFilterer) ParseOutputProposed(log types.Log) (*L2OutputOracleOutputProposed, error)
ParseOutputProposed is a log parse operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.
Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)
func (*L2OutputOracleFilterer) WatchOutputProposed ¶
func (_L2OutputOracle *L2OutputOracleFilterer) WatchOutputProposed(opts *bind.WatchOpts, sink chan<- *L2OutputOracleOutputProposed, outputRoot [][32]byte, l2OutputIndex []*big.Int, l2BlockNumber []*big.Int) (event.Subscription, error)
WatchOutputProposed is a free log subscription operation binding the contract event 0xa7aaf2512769da4e444e3de247be2564225c2e7a8f74cfe528e46e17d24868e2.
Solidity: event OutputProposed(bytes32 indexed outputRoot, uint256 indexed l2OutputIndex, uint256 indexed l2BlockNumber, uint256 l1Timestamp)
type L2OutputOracleOutputProposed ¶
type L2OutputOracleOutputProposed struct { OutputRoot [32]byte L2OutputIndex *big.Int L2BlockNumber *big.Int L1Timestamp *big.Int Raw types.Log // Blockchain specific contextual infos }
L2OutputOracleOutputProposed represents a OutputProposed event raised by the L2OutputOracle contract.
type L2OutputOracleOutputProposedIterator ¶
type L2OutputOracleOutputProposedIterator struct { Event *L2OutputOracleOutputProposed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
L2OutputOracleOutputProposedIterator is returned from FilterOutputProposed and is used to iterate over the raw logs and unpacked data for OutputProposed events raised by the L2OutputOracle contract.
func (*L2OutputOracleOutputProposedIterator) Close ¶
func (it *L2OutputOracleOutputProposedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L2OutputOracleOutputProposedIterator) Error ¶
func (it *L2OutputOracleOutputProposedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L2OutputOracleOutputProposedIterator) Next ¶
func (it *L2OutputOracleOutputProposedIterator) 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 L2OutputOracleRaw ¶
type L2OutputOracleRaw struct {
Contract *L2OutputOracle // Generic contract binding to access the raw methods on
}
L2OutputOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*L2OutputOracleRaw) Call ¶
func (_L2OutputOracle *L2OutputOracleRaw) 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 (*L2OutputOracleRaw) Transact ¶
func (_L2OutputOracle *L2OutputOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2OutputOracleRaw) Transfer ¶
func (_L2OutputOracle *L2OutputOracleRaw) 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 L2OutputOracleSession ¶
type L2OutputOracleSession struct { Contract *L2OutputOracle // 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 }
L2OutputOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*L2OutputOracleSession) DeleteL2Outputs ¶
func (_L2OutputOracle *L2OutputOracleSession) DeleteL2Outputs(arg0 *big.Int) (*types.Transaction, error)
DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.
Solidity: function deleteL2Outputs(uint256 ) returns()
func (*L2OutputOracleSession) GetL2Output ¶
func (_L2OutputOracle *L2OutputOracleSession) GetL2Output(_l2OutputIndex *big.Int) (IL2OutputOracleOutputProposal, error)
GetL2Output is a free data retrieval call binding the contract method 0xa25ae557.
Solidity: function getL2Output(uint256 _l2OutputIndex) view returns((bytes32,uint128,uint128))
type L2OutputOracleTransactor ¶
type L2OutputOracleTransactor struct {
// contains filtered or unexported fields
}
L2OutputOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewL2OutputOracleTransactor ¶
func NewL2OutputOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*L2OutputOracleTransactor, error)
NewL2OutputOracleTransactor creates a new write-only instance of L2OutputOracle, bound to a specific deployed contract.
func (*L2OutputOracleTransactor) DeleteL2Outputs ¶
func (_L2OutputOracle *L2OutputOracleTransactor) DeleteL2Outputs(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)
DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.
Solidity: function deleteL2Outputs(uint256 ) returns()
type L2OutputOracleTransactorRaw ¶
type L2OutputOracleTransactorRaw struct {
Contract *L2OutputOracleTransactor // Generic write-only contract binding to access the raw methods on
}
L2OutputOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*L2OutputOracleTransactorRaw) Transact ¶
func (_L2OutputOracle *L2OutputOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L2OutputOracleTransactorRaw) Transfer ¶
func (_L2OutputOracle *L2OutputOracleTransactorRaw) 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 L2OutputOracleTransactorSession ¶
type L2OutputOracleTransactorSession struct { Contract *L2OutputOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
L2OutputOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*L2OutputOracleTransactorSession) DeleteL2Outputs ¶
func (_L2OutputOracle *L2OutputOracleTransactorSession) DeleteL2Outputs(arg0 *big.Int) (*types.Transaction, error)
DeleteL2Outputs is a paid mutator transaction binding the contract method 0x89c44cbb.
Solidity: function deleteL2Outputs(uint256 ) returns()
type MockAttestationDisputeGame ¶
type MockAttestationDisputeGame struct { MockAttestationDisputeGameCaller // Read-only binding to the contract MockAttestationDisputeGameTransactor // Write-only binding to the contract MockAttestationDisputeGameFilterer // Log filterer for contract events }
MockAttestationDisputeGame is an auto generated Go binding around an Ethereum contract.
func DeployMockAttestationDisputeGame ¶
func DeployMockAttestationDisputeGame(auth *bind.TransactOpts, backend bind.ContractBackend, _rootClaim [32]byte, l2BlockNumber *big.Int, _creator common.Address) (common.Address, *types.Transaction, *MockAttestationDisputeGame, error)
DeployMockAttestationDisputeGame deploys a new Ethereum contract, binding an instance of MockAttestationDisputeGame to it.
func NewMockAttestationDisputeGame ¶
func NewMockAttestationDisputeGame(address common.Address, backend bind.ContractBackend) (*MockAttestationDisputeGame, error)
NewMockAttestationDisputeGame creates a new instance of MockAttestationDisputeGame, bound to a specific deployed contract.
type MockAttestationDisputeGameCaller ¶
type MockAttestationDisputeGameCaller struct {
// contains filtered or unexported fields
}
MockAttestationDisputeGameCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMockAttestationDisputeGameCaller ¶
func NewMockAttestationDisputeGameCaller(address common.Address, caller bind.ContractCaller) (*MockAttestationDisputeGameCaller, error)
NewMockAttestationDisputeGameCaller creates a new read-only instance of MockAttestationDisputeGame, bound to a specific deployed contract.
func (*MockAttestationDisputeGameCaller) Challenges ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameCaller) Challenges(opts *bind.CallOpts, arg0 common.Address) (bool, error)
Challenges is a free data retrieval call binding the contract method 0x08b43a19.
Solidity: function challenges(address ) view returns(bool)
func (*MockAttestationDisputeGameCaller) L2BLOCKNUMBER ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameCaller) L2BLOCKNUMBER(opts *bind.CallOpts) (*big.Int, error)
L2BLOCKNUMBER is a free data retrieval call binding the contract method 0x326f8195.
Solidity: function L2_BLOCK_NUMBER() view returns(uint256)
func (*MockAttestationDisputeGameCaller) ROOTCLAIM ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameCaller) ROOTCLAIM(opts *bind.CallOpts) ([32]byte, error)
ROOTCLAIM is a free data retrieval call binding the contract method 0x4a1890f0.
Solidity: function ROOT_CLAIM() view returns(bytes32)
type MockAttestationDisputeGameCallerRaw ¶
type MockAttestationDisputeGameCallerRaw struct {
Contract *MockAttestationDisputeGameCaller // Generic read-only contract binding to access the raw methods on
}
MockAttestationDisputeGameCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MockAttestationDisputeGameCallerRaw) Call ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameCallerRaw) 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 MockAttestationDisputeGameCallerSession ¶
type MockAttestationDisputeGameCallerSession struct { Contract *MockAttestationDisputeGameCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MockAttestationDisputeGameCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MockAttestationDisputeGameCallerSession) Challenges ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameCallerSession) Challenges(arg0 common.Address) (bool, error)
Challenges is a free data retrieval call binding the contract method 0x08b43a19.
Solidity: function challenges(address ) view returns(bool)
func (*MockAttestationDisputeGameCallerSession) L2BLOCKNUMBER ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameCallerSession) L2BLOCKNUMBER() (*big.Int, error)
L2BLOCKNUMBER is a free data retrieval call binding the contract method 0x326f8195.
Solidity: function L2_BLOCK_NUMBER() view returns(uint256)
func (*MockAttestationDisputeGameCallerSession) ROOTCLAIM ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameCallerSession) ROOTCLAIM() ([32]byte, error)
ROOTCLAIM is a free data retrieval call binding the contract method 0x4a1890f0.
Solidity: function ROOT_CLAIM() view returns(bytes32)
type MockAttestationDisputeGameFilterer ¶
type MockAttestationDisputeGameFilterer struct {
// contains filtered or unexported fields
}
MockAttestationDisputeGameFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMockAttestationDisputeGameFilterer ¶
func NewMockAttestationDisputeGameFilterer(address common.Address, filterer bind.ContractFilterer) (*MockAttestationDisputeGameFilterer, error)
NewMockAttestationDisputeGameFilterer creates a new log filterer instance of MockAttestationDisputeGame, bound to a specific deployed contract.
type MockAttestationDisputeGameRaw ¶
type MockAttestationDisputeGameRaw struct {
Contract *MockAttestationDisputeGame // Generic contract binding to access the raw methods on
}
MockAttestationDisputeGameRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MockAttestationDisputeGameRaw) Call ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameRaw) 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 (*MockAttestationDisputeGameRaw) Transact ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockAttestationDisputeGameRaw) Transfer ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameRaw) 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 MockAttestationDisputeGameSession ¶
type MockAttestationDisputeGameSession struct { Contract *MockAttestationDisputeGame // 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 }
MockAttestationDisputeGameSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MockAttestationDisputeGameSession) Challenge ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) Challenge(_signature []byte) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0xb8b9c188.
Solidity: function challenge(bytes _signature) returns()
func (*MockAttestationDisputeGameSession) Challenges ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) Challenges(arg0 common.Address) (bool, error)
Challenges is a free data retrieval call binding the contract method 0x08b43a19.
Solidity: function challenges(address ) view returns(bool)
func (*MockAttestationDisputeGameSession) L2BLOCKNUMBER ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) L2BLOCKNUMBER() (*big.Int, error)
L2BLOCKNUMBER is a free data retrieval call binding the contract method 0x326f8195.
Solidity: function L2_BLOCK_NUMBER() view returns(uint256)
func (*MockAttestationDisputeGameSession) ROOTCLAIM ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameSession) ROOTCLAIM() ([32]byte, error)
ROOTCLAIM is a free data retrieval call binding the contract method 0x4a1890f0.
Solidity: function ROOT_CLAIM() view returns(bytes32)
type MockAttestationDisputeGameTransactor ¶
type MockAttestationDisputeGameTransactor struct {
// contains filtered or unexported fields
}
MockAttestationDisputeGameTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMockAttestationDisputeGameTransactor ¶
func NewMockAttestationDisputeGameTransactor(address common.Address, transactor bind.ContractTransactor) (*MockAttestationDisputeGameTransactor, error)
NewMockAttestationDisputeGameTransactor creates a new write-only instance of MockAttestationDisputeGame, bound to a specific deployed contract.
func (*MockAttestationDisputeGameTransactor) Challenge ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameTransactor) Challenge(opts *bind.TransactOpts, _signature []byte) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0xb8b9c188.
Solidity: function challenge(bytes _signature) returns()
type MockAttestationDisputeGameTransactorRaw ¶
type MockAttestationDisputeGameTransactorRaw struct {
Contract *MockAttestationDisputeGameTransactor // Generic write-only contract binding to access the raw methods on
}
MockAttestationDisputeGameTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MockAttestationDisputeGameTransactorRaw) Transact ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockAttestationDisputeGameTransactorRaw) Transfer ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameTransactorRaw) 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 MockAttestationDisputeGameTransactorSession ¶
type MockAttestationDisputeGameTransactorSession struct { Contract *MockAttestationDisputeGameTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MockAttestationDisputeGameTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MockAttestationDisputeGameTransactorSession) Challenge ¶
func (_MockAttestationDisputeGame *MockAttestationDisputeGameTransactorSession) Challenge(_signature []byte) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0xb8b9c188.
Solidity: function challenge(bytes _signature) returns()
type MockDisputeGameFactory ¶
type MockDisputeGameFactory struct { MockDisputeGameFactoryCaller // Read-only binding to the contract MockDisputeGameFactoryTransactor // Write-only binding to the contract MockDisputeGameFactoryFilterer // Log filterer for contract events }
MockDisputeGameFactory is an auto generated Go binding around an Ethereum contract.
func DeployMockDisputeGameFactory ¶
func DeployMockDisputeGameFactory(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MockDisputeGameFactory, error)
DeployMockDisputeGameFactory deploys a new Ethereum contract, binding an instance of MockDisputeGameFactory to it.
func NewMockDisputeGameFactory ¶
func NewMockDisputeGameFactory(address common.Address, backend bind.ContractBackend) (*MockDisputeGameFactory, error)
NewMockDisputeGameFactory creates a new instance of MockDisputeGameFactory, bound to a specific deployed contract.
type MockDisputeGameFactoryCaller ¶
type MockDisputeGameFactoryCaller struct {
// contains filtered or unexported fields
}
MockDisputeGameFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMockDisputeGameFactoryCaller ¶
func NewMockDisputeGameFactoryCaller(address common.Address, caller bind.ContractCaller) (*MockDisputeGameFactoryCaller, error)
NewMockDisputeGameFactoryCaller creates a new read-only instance of MockDisputeGameFactory, bound to a specific deployed contract.
func (*MockDisputeGameFactoryCaller) Games ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryCaller) Games(opts *bind.CallOpts, gameType uint8, rootClaim [32]byte, extraData []byte) (common.Address, error)
Games is a free data retrieval call binding the contract method 0xc49d5271.
Solidity: function games(uint8 gameType, bytes32 rootClaim, bytes extraData) view returns(address _proxy)
type MockDisputeGameFactoryCallerRaw ¶
type MockDisputeGameFactoryCallerRaw struct {
Contract *MockDisputeGameFactoryCaller // Generic read-only contract binding to access the raw methods on
}
MockDisputeGameFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MockDisputeGameFactoryCallerRaw) Call ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryCallerRaw) 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 MockDisputeGameFactoryCallerSession ¶
type MockDisputeGameFactoryCallerSession struct { Contract *MockDisputeGameFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MockDisputeGameFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MockDisputeGameFactoryCallerSession) Games ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryCallerSession) Games(gameType uint8, rootClaim [32]byte, extraData []byte) (common.Address, error)
Games is a free data retrieval call binding the contract method 0xc49d5271.
Solidity: function games(uint8 gameType, bytes32 rootClaim, bytes extraData) view returns(address _proxy)
type MockDisputeGameFactoryDisputeGameCreated ¶
type MockDisputeGameFactoryDisputeGameCreated struct { DisputeProxy common.Address GameType uint8 RootClaim [32]byte Raw types.Log // Blockchain specific contextual infos }
MockDisputeGameFactoryDisputeGameCreated represents a DisputeGameCreated event raised by the MockDisputeGameFactory contract.
type MockDisputeGameFactoryDisputeGameCreatedIterator ¶
type MockDisputeGameFactoryDisputeGameCreatedIterator struct { Event *MockDisputeGameFactoryDisputeGameCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MockDisputeGameFactoryDisputeGameCreatedIterator is returned from FilterDisputeGameCreated and is used to iterate over the raw logs and unpacked data for DisputeGameCreated events raised by the MockDisputeGameFactory contract.
func (*MockDisputeGameFactoryDisputeGameCreatedIterator) Close ¶
func (it *MockDisputeGameFactoryDisputeGameCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MockDisputeGameFactoryDisputeGameCreatedIterator) Error ¶
func (it *MockDisputeGameFactoryDisputeGameCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MockDisputeGameFactoryDisputeGameCreatedIterator) Next ¶
func (it *MockDisputeGameFactoryDisputeGameCreatedIterator) 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 MockDisputeGameFactoryFilterer ¶
type MockDisputeGameFactoryFilterer struct {
// contains filtered or unexported fields
}
MockDisputeGameFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMockDisputeGameFactoryFilterer ¶
func NewMockDisputeGameFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*MockDisputeGameFactoryFilterer, error)
NewMockDisputeGameFactoryFilterer creates a new log filterer instance of MockDisputeGameFactory, bound to a specific deployed contract.
func (*MockDisputeGameFactoryFilterer) FilterDisputeGameCreated ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryFilterer) FilterDisputeGameCreated(opts *bind.FilterOpts, disputeProxy []common.Address, gameType []uint8, rootClaim [][32]byte) (*MockDisputeGameFactoryDisputeGameCreatedIterator, error)
FilterDisputeGameCreated is a free log retrieval operation binding the contract event 0xfad0599ff449d8d9685eadecca8cb9e00924c5fd8367c1c09469824939e1ffec.
Solidity: event DisputeGameCreated(address indexed disputeProxy, uint8 indexed gameType, bytes32 indexed rootClaim)
func (*MockDisputeGameFactoryFilterer) ParseDisputeGameCreated ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryFilterer) ParseDisputeGameCreated(log types.Log) (*MockDisputeGameFactoryDisputeGameCreated, error)
ParseDisputeGameCreated is a log parse operation binding the contract event 0xfad0599ff449d8d9685eadecca8cb9e00924c5fd8367c1c09469824939e1ffec.
Solidity: event DisputeGameCreated(address indexed disputeProxy, uint8 indexed gameType, bytes32 indexed rootClaim)
func (*MockDisputeGameFactoryFilterer) WatchDisputeGameCreated ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryFilterer) WatchDisputeGameCreated(opts *bind.WatchOpts, sink chan<- *MockDisputeGameFactoryDisputeGameCreated, disputeProxy []common.Address, gameType []uint8, rootClaim [][32]byte) (event.Subscription, error)
WatchDisputeGameCreated is a free log subscription operation binding the contract event 0xfad0599ff449d8d9685eadecca8cb9e00924c5fd8367c1c09469824939e1ffec.
Solidity: event DisputeGameCreated(address indexed disputeProxy, uint8 indexed gameType, bytes32 indexed rootClaim)
type MockDisputeGameFactoryRaw ¶
type MockDisputeGameFactoryRaw struct {
Contract *MockDisputeGameFactory // Generic contract binding to access the raw methods on
}
MockDisputeGameFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MockDisputeGameFactoryRaw) Call ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryRaw) 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 (*MockDisputeGameFactoryRaw) Transact ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockDisputeGameFactoryRaw) Transfer ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryRaw) 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 MockDisputeGameFactorySession ¶
type MockDisputeGameFactorySession struct { Contract *MockDisputeGameFactory // 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 }
MockDisputeGameFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MockDisputeGameFactorySession) Create ¶
func (_MockDisputeGameFactory *MockDisputeGameFactorySession) Create(gameType uint8, rootClaim [32]byte, extraData []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x3142e55e.
Solidity: function create(uint8 gameType, bytes32 rootClaim, bytes extraData) returns(address mock)
func (*MockDisputeGameFactorySession) Games ¶
func (_MockDisputeGameFactory *MockDisputeGameFactorySession) Games(gameType uint8, rootClaim [32]byte, extraData []byte) (common.Address, error)
Games is a free data retrieval call binding the contract method 0xc49d5271.
Solidity: function games(uint8 gameType, bytes32 rootClaim, bytes extraData) view returns(address _proxy)
type MockDisputeGameFactoryTransactor ¶
type MockDisputeGameFactoryTransactor struct {
// contains filtered or unexported fields
}
MockDisputeGameFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMockDisputeGameFactoryTransactor ¶
func NewMockDisputeGameFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*MockDisputeGameFactoryTransactor, error)
NewMockDisputeGameFactoryTransactor creates a new write-only instance of MockDisputeGameFactory, bound to a specific deployed contract.
func (*MockDisputeGameFactoryTransactor) Create ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryTransactor) Create(opts *bind.TransactOpts, gameType uint8, rootClaim [32]byte, extraData []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x3142e55e.
Solidity: function create(uint8 gameType, bytes32 rootClaim, bytes extraData) returns(address mock)
type MockDisputeGameFactoryTransactorRaw ¶
type MockDisputeGameFactoryTransactorRaw struct {
Contract *MockDisputeGameFactoryTransactor // Generic write-only contract binding to access the raw methods on
}
MockDisputeGameFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MockDisputeGameFactoryTransactorRaw) Transact ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MockDisputeGameFactoryTransactorRaw) Transfer ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryTransactorRaw) 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 MockDisputeGameFactoryTransactorSession ¶
type MockDisputeGameFactoryTransactorSession struct { Contract *MockDisputeGameFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MockDisputeGameFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MockDisputeGameFactoryTransactorSession) Create ¶
func (_MockDisputeGameFactory *MockDisputeGameFactoryTransactorSession) Create(gameType uint8, rootClaim [32]byte, extraData []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x3142e55e.
Solidity: function create(uint8 gameType, bytes32 rootClaim, bytes extraData) returns(address mock)