Documentation ¶
Index ¶
- Variables
- type AnchorStateProxy
- type AnchorStateProxyCaller
- func (_AnchorStateProxy *AnchorStateProxyCaller) Anchors(opts *bind.CallOpts, arg0 uint32) (struct{ ... }, error)
- func (_AnchorStateProxy *AnchorStateProxyCaller) DisputeGameFactory(opts *bind.CallOpts) (common.Address, error)
- func (_AnchorStateProxy *AnchorStateProxyCaller) Version(opts *bind.CallOpts) (string, error)
- type AnchorStateProxyCallerRaw
- type AnchorStateProxyCallerSession
- type AnchorStateProxyFilterer
- func (_AnchorStateProxy *AnchorStateProxyFilterer) FilterInitialized(opts *bind.FilterOpts) (*AnchorStateProxyInitializedIterator, error)
- func (_AnchorStateProxy *AnchorStateProxyFilterer) ParseInitialized(log types.Log) (*AnchorStateProxyInitialized, error)
- func (_AnchorStateProxy *AnchorStateProxyFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AnchorStateProxyInitialized) (event.Subscription, error)
- type AnchorStateProxyInitialized
- type AnchorStateProxyInitializedIterator
- type AnchorStateProxyRaw
- func (_AnchorStateProxy *AnchorStateProxyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AnchorStateProxy *AnchorStateProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AnchorStateProxy *AnchorStateProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AnchorStateProxySession
- func (_AnchorStateProxy *AnchorStateProxySession) Anchors(arg0 uint32) (struct{ ... }, error)
- func (_AnchorStateProxy *AnchorStateProxySession) DisputeGameFactory() (common.Address, error)
- func (_AnchorStateProxy *AnchorStateProxySession) Initialize(_startingAnchorRoots []AnchorStateRegistryStartingAnchorRoot) (*types.Transaction, error)
- func (_AnchorStateProxy *AnchorStateProxySession) TryUpdateAnchorState() (*types.Transaction, error)
- func (_AnchorStateProxy *AnchorStateProxySession) Version() (string, error)
- type AnchorStateProxyTransactor
- type AnchorStateProxyTransactorRaw
- type AnchorStateProxyTransactorSession
- type AnchorStateRegistryStartingAnchorRoot
- type DisputeGame
- type DisputeGameCaller
- func (_DisputeGame *DisputeGameCaller) AbsolutePrestate(opts *bind.CallOpts) ([32]byte, error)
- func (_DisputeGame *DisputeGameCaller) AnchorStateRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_DisputeGame *DisputeGameCaller) ClaimData(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCaller) ClaimDataLen(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) Claims(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_DisputeGame *DisputeGameCaller) ClockExtension(opts *bind.CallOpts) (uint64, error)
- func (_DisputeGame *DisputeGameCaller) CreatedAt(opts *bind.CallOpts) (uint64, error)
- func (_DisputeGame *DisputeGameCaller) Credit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) ExtraData(opts *bind.CallOpts) ([]byte, error)
- func (_DisputeGame *DisputeGameCaller) GameCreator(opts *bind.CallOpts) (common.Address, error)
- func (_DisputeGame *DisputeGameCaller) GameData(opts *bind.CallOpts) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCaller) GameType(opts *bind.CallOpts) (uint32, error)
- func (_DisputeGame *DisputeGameCaller) GetChallengerDuration(opts *bind.CallOpts, _claimIndex *big.Int) (uint64, error)
- func (_DisputeGame *DisputeGameCaller) GetNumToResolve(opts *bind.CallOpts, _claimIndex *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) GetRequiredBond(opts *bind.CallOpts, _position *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) L1Head(opts *bind.CallOpts) ([32]byte, error)
- func (_DisputeGame *DisputeGameCaller) L2BlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) L2BlockNumberChallenged(opts *bind.CallOpts) (bool, error)
- func (_DisputeGame *DisputeGameCaller) L2BlockNumberChallenger(opts *bind.CallOpts) (common.Address, error)
- func (_DisputeGame *DisputeGameCaller) L2ChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) MaxClockDuration(opts *bind.CallOpts) (uint64, error)
- func (_DisputeGame *DisputeGameCaller) MaxGameDepth(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) ResolutionCheckpoints(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCaller) ResolvedAt(opts *bind.CallOpts) (uint64, error)
- func (_DisputeGame *DisputeGameCaller) ResolvedSubgames(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_DisputeGame *DisputeGameCaller) RootClaim(opts *bind.CallOpts) ([32]byte, error)
- func (_DisputeGame *DisputeGameCaller) SplitDepth(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) StartingOutputRoot(opts *bind.CallOpts) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCaller) StartingRootHash(opts *bind.CallOpts) ([32]byte, error)
- func (_DisputeGame *DisputeGameCaller) Status(opts *bind.CallOpts) (uint8, error)
- func (_DisputeGame *DisputeGameCaller) Subgames(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameCaller) Version(opts *bind.CallOpts) (string, error)
- func (_DisputeGame *DisputeGameCaller) Vm(opts *bind.CallOpts) (common.Address, error)
- func (_DisputeGame *DisputeGameCaller) Weth(opts *bind.CallOpts) (common.Address, error)
- type DisputeGameCallerRaw
- type DisputeGameCallerSession
- func (_DisputeGame *DisputeGameCallerSession) AbsolutePrestate() ([32]byte, error)
- func (_DisputeGame *DisputeGameCallerSession) AnchorStateRegistry() (common.Address, error)
- func (_DisputeGame *DisputeGameCallerSession) ClaimData(arg0 *big.Int) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCallerSession) ClaimDataLen() (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) Claims(arg0 [32]byte) (bool, error)
- func (_DisputeGame *DisputeGameCallerSession) ClockExtension() (uint64, error)
- func (_DisputeGame *DisputeGameCallerSession) CreatedAt() (uint64, error)
- func (_DisputeGame *DisputeGameCallerSession) Credit(arg0 common.Address) (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) ExtraData() ([]byte, error)
- func (_DisputeGame *DisputeGameCallerSession) GameCreator() (common.Address, error)
- func (_DisputeGame *DisputeGameCallerSession) GameData() (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCallerSession) GameType() (uint32, error)
- func (_DisputeGame *DisputeGameCallerSession) GetChallengerDuration(_claimIndex *big.Int) (uint64, error)
- func (_DisputeGame *DisputeGameCallerSession) GetNumToResolve(_claimIndex *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) GetRequiredBond(_position *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) L1Head() ([32]byte, error)
- func (_DisputeGame *DisputeGameCallerSession) L2BlockNumber() (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) L2BlockNumberChallenged() (bool, error)
- func (_DisputeGame *DisputeGameCallerSession) L2BlockNumberChallenger() (common.Address, error)
- func (_DisputeGame *DisputeGameCallerSession) L2ChainId() (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) MaxClockDuration() (uint64, error)
- func (_DisputeGame *DisputeGameCallerSession) MaxGameDepth() (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) ResolutionCheckpoints(arg0 *big.Int) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCallerSession) ResolvedAt() (uint64, error)
- func (_DisputeGame *DisputeGameCallerSession) ResolvedSubgames(arg0 *big.Int) (bool, error)
- func (_DisputeGame *DisputeGameCallerSession) RootClaim() ([32]byte, error)
- func (_DisputeGame *DisputeGameCallerSession) SplitDepth() (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) StartingBlockNumber() (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) StartingOutputRoot() (struct{ ... }, error)
- func (_DisputeGame *DisputeGameCallerSession) StartingRootHash() ([32]byte, error)
- func (_DisputeGame *DisputeGameCallerSession) Status() (uint8, error)
- func (_DisputeGame *DisputeGameCallerSession) Subgames(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameCallerSession) Version() (string, error)
- func (_DisputeGame *DisputeGameCallerSession) Vm() (common.Address, error)
- func (_DisputeGame *DisputeGameCallerSession) Weth() (common.Address, error)
- type DisputeGameFilterer
- func (_DisputeGame *DisputeGameFilterer) FilterMove(opts *bind.FilterOpts, parentIndex []*big.Int, claim [][32]byte, ...) (*DisputeGameMoveIterator, error)
- func (_DisputeGame *DisputeGameFilterer) FilterResolved(opts *bind.FilterOpts, status []uint8) (*DisputeGameResolvedIterator, error)
- func (_DisputeGame *DisputeGameFilterer) ParseMove(log types.Log) (*DisputeGameMove, error)
- func (_DisputeGame *DisputeGameFilterer) ParseResolved(log types.Log) (*DisputeGameResolved, error)
- func (_DisputeGame *DisputeGameFilterer) WatchMove(opts *bind.WatchOpts, sink chan<- *DisputeGameMove, parentIndex []*big.Int, ...) (event.Subscription, error)
- func (_DisputeGame *DisputeGameFilterer) WatchResolved(opts *bind.WatchOpts, sink chan<- *DisputeGameResolved, status []uint8) (event.Subscription, error)
- type DisputeGameMove
- type DisputeGameMoveIterator
- type DisputeGameProxy
- type DisputeGameProxyCaller
- func (_DisputeGameProxy *DisputeGameProxyCaller) FindLatestGames(opts *bind.CallOpts, _gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) GameAtIndex(opts *bind.CallOpts, _index *big.Int) (struct{ ... }, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) GameCount(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) GameImpls(opts *bind.CallOpts, arg0 uint32) (common.Address, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) Games(opts *bind.CallOpts, _gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct{ ... }, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) GetGameUUID(opts *bind.CallOpts, _gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) InitBonds(opts *bind.CallOpts, arg0 uint32) (*big.Int, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_DisputeGameProxy *DisputeGameProxyCaller) Version(opts *bind.CallOpts) (string, error)
- type DisputeGameProxyCallerRaw
- type DisputeGameProxyCallerSession
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) FindLatestGames(_gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) GameAtIndex(_index *big.Int) (struct{ ... }, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) GameCount() (*big.Int, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) GameImpls(arg0 uint32) (common.Address, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) Games(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct{ ... }, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) GetGameUUID(_gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) InitBonds(arg0 uint32) (*big.Int, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) Owner() (common.Address, error)
- func (_DisputeGameProxy *DisputeGameProxyCallerSession) Version() (string, error)
- type DisputeGameProxyDisputeGameCreated
- type DisputeGameProxyDisputeGameCreatedIterator
- type DisputeGameProxyFilterer
- func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterDisputeGameCreated(opts *bind.FilterOpts, disputeProxy []common.Address, gameType []uint32, ...) (*DisputeGameProxyDisputeGameCreatedIterator, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterImplementationSet(opts *bind.FilterOpts, impl []common.Address, gameType []uint32) (*DisputeGameProxyImplementationSetIterator, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterInitBondUpdated(opts *bind.FilterOpts, gameType []uint32, newBond []*big.Int) (*DisputeGameProxyInitBondUpdatedIterator, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterInitialized(opts *bind.FilterOpts) (*DisputeGameProxyInitializedIterator, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*DisputeGameProxyOwnershipTransferredIterator, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseDisputeGameCreated(log types.Log) (*DisputeGameProxyDisputeGameCreated, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseImplementationSet(log types.Log) (*DisputeGameProxyImplementationSet, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseInitBondUpdated(log types.Log) (*DisputeGameProxyInitBondUpdated, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseInitialized(log types.Log) (*DisputeGameProxyInitialized, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseOwnershipTransferred(log types.Log) (*DisputeGameProxyOwnershipTransferred, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchDisputeGameCreated(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyDisputeGameCreated, ...) (event.Subscription, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchImplementationSet(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyImplementationSet, ...) (event.Subscription, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchInitBondUpdated(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyInitBondUpdated, ...) (event.Subscription, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyInitialized) (event.Subscription, error)
- func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyOwnershipTransferred, ...) (event.Subscription, error)
- type DisputeGameProxyImplementationSet
- type DisputeGameProxyImplementationSetIterator
- type DisputeGameProxyInitBondUpdated
- type DisputeGameProxyInitBondUpdatedIterator
- type DisputeGameProxyInitialized
- type DisputeGameProxyInitializedIterator
- type DisputeGameProxyOwnershipTransferred
- type DisputeGameProxyOwnershipTransferredIterator
- type DisputeGameProxyRaw
- func (_DisputeGameProxy *DisputeGameProxyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DisputeGameProxy *DisputeGameProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DisputeGameProxySession
- func (_DisputeGameProxy *DisputeGameProxySession) Create(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxySession) FindLatestGames(_gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
- func (_DisputeGameProxy *DisputeGameProxySession) GameAtIndex(_index *big.Int) (struct{ ... }, error)
- func (_DisputeGameProxy *DisputeGameProxySession) GameCount() (*big.Int, error)
- func (_DisputeGameProxy *DisputeGameProxySession) GameImpls(arg0 uint32) (common.Address, error)
- func (_DisputeGameProxy *DisputeGameProxySession) Games(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct{ ... }, error)
- func (_DisputeGameProxy *DisputeGameProxySession) GetGameUUID(_gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
- func (_DisputeGameProxy *DisputeGameProxySession) InitBonds(arg0 uint32) (*big.Int, error)
- func (_DisputeGameProxy *DisputeGameProxySession) Initialize(_owner common.Address) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxySession) Owner() (common.Address, error)
- func (_DisputeGameProxy *DisputeGameProxySession) RenounceOwnership() (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxySession) SetImplementation(_gameType uint32, _impl common.Address) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxySession) SetInitBond(_gameType uint32, _initBond *big.Int) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxySession) Version() (string, error)
- type DisputeGameProxyTransactor
- func (_DisputeGameProxy *DisputeGameProxyTransactor) Create(opts *bind.TransactOpts, _gameType uint32, _rootClaim [32]byte, ...) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactor) SetImplementation(opts *bind.TransactOpts, _gameType uint32, _impl common.Address) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactor) SetInitBond(opts *bind.TransactOpts, _gameType uint32, _initBond *big.Int) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type DisputeGameProxyTransactorRaw
- type DisputeGameProxyTransactorSession
- func (_DisputeGameProxy *DisputeGameProxyTransactorSession) Create(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactorSession) Initialize(_owner common.Address) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactorSession) SetImplementation(_gameType uint32, _impl common.Address) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactorSession) SetInitBond(_gameType uint32, _initBond *big.Int) (*types.Transaction, error)
- func (_DisputeGameProxy *DisputeGameProxyTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type DisputeGameRaw
- func (_DisputeGame *DisputeGameRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DisputeGame *DisputeGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DisputeGameResolved
- type DisputeGameResolvedIterator
- type DisputeGameSession
- func (_DisputeGame *DisputeGameSession) AbsolutePrestate() ([32]byte, error)
- func (_DisputeGame *DisputeGameSession) AddLocalData(_ident *big.Int, _execLeafIdx *big.Int, _partOffset *big.Int) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) AnchorStateRegistry() (common.Address, error)
- func (_DisputeGame *DisputeGameSession) Attack(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) ChallengeRootL2Block(_outputRootProof TypesOutputRootProof, _headerRLP []byte) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) ClaimCredit(_recipient common.Address) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) ClaimData(arg0 *big.Int) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameSession) ClaimDataLen() (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) Claims(arg0 [32]byte) (bool, error)
- func (_DisputeGame *DisputeGameSession) ClockExtension() (uint64, error)
- func (_DisputeGame *DisputeGameSession) CreatedAt() (uint64, error)
- func (_DisputeGame *DisputeGameSession) Credit(arg0 common.Address) (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) Defend(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) ExtraData() ([]byte, error)
- func (_DisputeGame *DisputeGameSession) GameCreator() (common.Address, error)
- func (_DisputeGame *DisputeGameSession) GameData() (struct{ ... }, error)
- func (_DisputeGame *DisputeGameSession) GameType() (uint32, error)
- func (_DisputeGame *DisputeGameSession) GetChallengerDuration(_claimIndex *big.Int) (uint64, error)
- func (_DisputeGame *DisputeGameSession) GetNumToResolve(_claimIndex *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) GetRequiredBond(_position *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) Initialize() (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) L1Head() ([32]byte, error)
- func (_DisputeGame *DisputeGameSession) L2BlockNumber() (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) L2BlockNumberChallenged() (bool, error)
- func (_DisputeGame *DisputeGameSession) L2BlockNumberChallenger() (common.Address, error)
- func (_DisputeGame *DisputeGameSession) L2ChainId() (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) MaxClockDuration() (uint64, error)
- func (_DisputeGame *DisputeGameSession) MaxGameDepth() (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) Move(_disputed [32]byte, _challengeIndex *big.Int, _claim [32]byte, _isAttack bool) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) ResolutionCheckpoints(arg0 *big.Int) (struct{ ... }, error)
- func (_DisputeGame *DisputeGameSession) Resolve() (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) ResolveClaim(_claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) ResolvedAt() (uint64, error)
- func (_DisputeGame *DisputeGameSession) ResolvedSubgames(arg0 *big.Int) (bool, error)
- func (_DisputeGame *DisputeGameSession) RootClaim() ([32]byte, error)
- func (_DisputeGame *DisputeGameSession) SplitDepth() (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) StartingBlockNumber() (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) StartingOutputRoot() (struct{ ... }, error)
- func (_DisputeGame *DisputeGameSession) StartingRootHash() ([32]byte, error)
- func (_DisputeGame *DisputeGameSession) Status() (uint8, error)
- func (_DisputeGame *DisputeGameSession) Step(_claimIndex *big.Int, _isAttack bool, _stateData []byte, _proof []byte) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameSession) Subgames(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_DisputeGame *DisputeGameSession) Version() (string, error)
- func (_DisputeGame *DisputeGameSession) Vm() (common.Address, error)
- func (_DisputeGame *DisputeGameSession) Weth() (common.Address, error)
- type DisputeGameTransactor
- func (_DisputeGame *DisputeGameTransactor) AddLocalData(opts *bind.TransactOpts, _ident *big.Int, _execLeafIdx *big.Int, ...) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) Attack(opts *bind.TransactOpts, _disputed [32]byte, _parentIndex *big.Int, ...) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) ChallengeRootL2Block(opts *bind.TransactOpts, _outputRootProof TypesOutputRootProof, ...) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) ClaimCredit(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) Defend(opts *bind.TransactOpts, _disputed [32]byte, _parentIndex *big.Int, ...) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) Move(opts *bind.TransactOpts, _disputed [32]byte, _challengeIndex *big.Int, ...) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) Resolve(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) ResolveClaim(opts *bind.TransactOpts, _claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactor) Step(opts *bind.TransactOpts, _claimIndex *big.Int, _isAttack bool, ...) (*types.Transaction, error)
- type DisputeGameTransactorRaw
- type DisputeGameTransactorSession
- func (_DisputeGame *DisputeGameTransactorSession) AddLocalData(_ident *big.Int, _execLeafIdx *big.Int, _partOffset *big.Int) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) Attack(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) ChallengeRootL2Block(_outputRootProof TypesOutputRootProof, _headerRLP []byte) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) ClaimCredit(_recipient common.Address) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) Defend(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) Initialize() (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) Move(_disputed [32]byte, _challengeIndex *big.Int, _claim [32]byte, _isAttack bool) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) Resolve() (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) ResolveClaim(_claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
- func (_DisputeGame *DisputeGameTransactorSession) Step(_claimIndex *big.Int, _isAttack bool, _stateData []byte, _proof []byte) (*types.Transaction, error)
- type IDisputeGameFactoryGameSearchResult
- type OutputRoot
- type RateAndRetryDisputeGameClient
- func (s *RateAndRetryDisputeGameClient) RetryClaimData(ctx context.Context, opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (s *RateAndRetryDisputeGameClient) RetryCredit(ctx context.Context, opts *bind.CallOpts, address common.Address) (*big.Int, error)
- func (s *RateAndRetryDisputeGameClient) RetryL2BlockNumber(ctx context.Context, opts *bind.CallOpts) (*big.Int, error)
- func (s *RateAndRetryDisputeGameClient) RetryMaxSplitDepth(ctx context.Context, opts *bind.CallOpts) (*big.Int, error)
- func (s *RateAndRetryDisputeGameClient) RetrySplitDepth(ctx context.Context, opts *bind.CallOpts) (*big.Int, error)
- func (s *RateAndRetryDisputeGameClient) RetryStartingBlockNumber(ctx context.Context, opts *bind.CallOpts) (*big.Int, error)
- func (s *RateAndRetryDisputeGameClient) RetryStatus(ctx context.Context, opts *bind.CallOpts) (uint8, error)
- type TypesOutputRootProof
Constants ¶
This section is empty.
Variables ¶
var AnchorStateProxyABI = AnchorStateProxyMetaData.ABI
AnchorStateProxyABI is the input ABI used to generate the binding from. Deprecated: Use AnchorStateProxyMetaData.ABI instead.
var AnchorStateProxyMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIDisputeGameFactory\",\"name\":\"_disputeGameFactory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"anchors\",\"outputs\":[{\"internalType\":\"Hash\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"l2BlockNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disputeGameFactory\",\"outputs\":[{\"internalType\":\"contractIDisputeGameFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"GameType\",\"name\":\"gameType\",\"type\":\"uint32\"},{\"components\":[{\"internalType\":\"Hash\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"l2BlockNumber\",\"type\":\"uint256\"}],\"internalType\":\"structOutputRoot\",\"name\":\"outputRoot\",\"type\":\"tuple\"}],\"internalType\":\"structAnchorStateRegistry.StartingAnchorRoot[]\",\"name\":\"_startingAnchorRoots\",\"type\":\"tuple[]\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tryUpdateAnchorState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
AnchorStateProxyMetaData contains all meta data concerning the AnchorStateProxy contract.
var DisputeGameABI = DisputeGameMetaData.ABI
DisputeGameABI is the input ABI used to generate the binding from. Deprecated: Use DisputeGameMetaData.ABI instead.
var DisputeGameMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"},{\"internalType\":\"Claim\",\"name\":\"_absolutePrestate\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_maxGameDepth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_splitDepth\",\"type\":\"uint256\"},{\"internalType\":\"Duration\",\"name\":\"_clockExtension\",\"type\":\"uint64\"},{\"internalType\":\"Duration\",\"name\":\"_maxClockDuration\",\"type\":\"uint64\"},{\"internalType\":\"contractIBigStepper\",\"name\":\"_vm\",\"type\":\"address\"},{\"internalType\":\"contractIDelayedWETH\",\"name\":\"_weth\",\"type\":\"address\"},{\"internalType\":\"contractIAnchorStateRegistry\",\"name\":\"_anchorStateRegistry\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_l2ChainId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AnchorRootNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BlockNumberMatches\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BondTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotDefendRootClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimAboveSplit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClockNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClockTimeExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContentLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DuplicateStep\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyItem\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GameDepthExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GameNotInProgress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectBondAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidClockExtension\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDataRemainder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDisputedClaimIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidHeader\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidHeaderRLP\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLocalIdent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOutputRootProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidParent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPrestate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSplitDepth\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2BlockNumberChallenged\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxDepthTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoCreditToClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OutOfOrderResolution\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedList\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Claim\",\"name\":\"rootClaim\",\"type\":\"bytes32\"}],\"name\":\"UnexpectedRootClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnexpectedString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ValidStep\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"parentIndex\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"Claim\",\"name\":\"claim\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimant\",\"type\":\"address\"}],\"name\":\"Move\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"enumGameStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"Resolved\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"absolutePrestate\",\"outputs\":[{\"internalType\":\"Claim\",\"name\":\"absolutePrestate_\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ident\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_execLeafIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_partOffset\",\"type\":\"uint256\"}],\"name\":\"addLocalData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"anchorStateRegistry\",\"outputs\":[{\"internalType\":\"contractIAnchorStateRegistry\",\"name\":\"registry_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Claim\",\"name\":\"_disputed\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_parentIndex\",\"type\":\"uint256\"},{\"internalType\":\"Claim\",\"name\":\"_claim\",\"type\":\"bytes32\"}],\"name\":\"attack\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"version\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"messagePasserStorageRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"latestBlockhash\",\"type\":\"bytes32\"}],\"internalType\":\"structTypes.OutputRootProof\",\"name\":\"_outputRootProof\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"_headerRLP\",\"type\":\"bytes\"}],\"name\":\"challengeRootL2Block\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"}],\"name\":\"claimCredit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"claimData\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"parentIndex\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"counteredBy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"claimant\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"bond\",\"type\":\"uint128\"},{\"internalType\":\"Claim\",\"name\":\"claim\",\"type\":\"bytes32\"},{\"internalType\":\"Position\",\"name\":\"position\",\"type\":\"uint128\"},{\"internalType\":\"Clock\",\"name\":\"clock\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimDataLen\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"len_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Hash\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"claims\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"clockExtension\",\"outputs\":[{\"internalType\":\"Duration\",\"name\":\"clockExtension_\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"createdAt\",\"outputs\":[{\"internalType\":\"Timestamp\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"credit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Claim\",\"name\":\"_disputed\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_parentIndex\",\"type\":\"uint256\"},{\"internalType\":\"Claim\",\"name\":\"_claim\",\"type\":\"bytes32\"}],\"name\":\"defend\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"extraData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"extraData_\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gameCreator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"creator_\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gameData\",\"outputs\":[{\"internalType\":\"GameType\",\"name\":\"gameType_\",\"type\":\"uint32\"},{\"internalType\":\"Claim\",\"name\":\"rootClaim_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"extraData_\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gameType\",\"outputs\":[{\"internalType\":\"GameType\",\"name\":\"gameType_\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimIndex\",\"type\":\"uint256\"}],\"name\":\"getChallengerDuration\",\"outputs\":[{\"internalType\":\"Duration\",\"name\":\"duration_\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimIndex\",\"type\":\"uint256\"}],\"name\":\"getNumToResolve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numRemainingChildren_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Position\",\"name\":\"_position\",\"type\":\"uint128\"}],\"name\":\"getRequiredBond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"requiredBond_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1Head\",\"outputs\":[{\"internalType\":\"Hash\",\"name\":\"l1Head_\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2BlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"l2BlockNumber_\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2BlockNumberChallenged\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2BlockNumberChallenger\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2ChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"l2ChainId_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxClockDuration\",\"outputs\":[{\"internalType\":\"Duration\",\"name\":\"maxClockDuration_\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxGameDepth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxGameDepth_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Claim\",\"name\":\"_disputed\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_challengeIndex\",\"type\":\"uint256\"},{\"internalType\":\"Claim\",\"name\":\"_claim\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_isAttack\",\"type\":\"bool\"}],\"name\":\"move\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"resolutionCheckpoints\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"initialCheckpointComplete\",\"type\":\"bool\"},{\"internalType\":\"uint32\",\"name\":\"subgameIndex\",\"type\":\"uint32\"},{\"internalType\":\"Position\",\"name\":\"leftmostPosition\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"counteredBy\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"enumGameStatus\",\"name\":\"status_\",\"type\":\"uint8\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_numToResolve\",\"type\":\"uint256\"}],\"name\":\"resolveClaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resolvedAt\",\"outputs\":[{\"internalType\":\"Timestamp\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"resolvedSubgames\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rootClaim\",\"outputs\":[{\"internalType\":\"Claim\",\"name\":\"rootClaim_\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"splitDepth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"splitDepth_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startingBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"startingBlockNumber_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startingOutputRoot\",\"outputs\":[{\"internalType\":\"Hash\",\"name\":\"root\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"l2BlockNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startingRootHash\",\"outputs\":[{\"internalType\":\"Hash\",\"name\":\"startingRootHash_\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"status\",\"outputs\":[{\"internalType\":\"enumGameStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimIndex\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_isAttack\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"_stateData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_proof\",\"type\":\"bytes\"}],\"name\":\"step\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"subgames\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vm\",\"outputs\":[{\"internalType\":\"contractIBigStepper\",\"name\":\"vm_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weth\",\"outputs\":[{\"internalType\":\"contractIDelayedWETH\",\"name\":\"weth_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
DisputeGameMetaData contains all meta data concerning the DisputeGame contract.
var DisputeGameProxyABI = DisputeGameProxyMetaData.ABI
DisputeGameProxyABI is the input ABI used to generate the binding from. Deprecated: Use DisputeGameProxyMetaData.ABI instead.
var DisputeGameProxyMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"Hash\",\"name\":\"uuid\",\"type\":\"bytes32\"}],\"name\":\"GameAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectBondAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"gameType\",\"type\":\"uint32\"}],\"name\":\"NoImplementation\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"disputeProxy\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"GameType\",\"name\":\"gameType\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"Claim\",\"name\":\"rootClaim\",\"type\":\"bytes32\"}],\"name\":\"DisputeGameCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"GameType\",\"name\":\"gameType\",\"type\":\"uint32\"}],\"name\":\"ImplementationSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"GameType\",\"name\":\"gameType\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newBond\",\"type\":\"uint256\"}],\"name\":\"InitBondUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"},{\"internalType\":\"Claim\",\"name\":\"_rootClaim\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"create\",\"outputs\":[{\"internalType\":\"contractIDisputeGame\",\"name\":\"proxy_\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_n\",\"type\":\"uint256\"}],\"name\":\"findLatestGames\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"GameId\",\"name\":\"metadata\",\"type\":\"bytes32\"},{\"internalType\":\"Timestamp\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"Claim\",\"name\":\"rootClaim\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structIDisputeGameFactory.GameSearchResult[]\",\"name\":\"games_\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"gameAtIndex\",\"outputs\":[{\"internalType\":\"GameType\",\"name\":\"gameType_\",\"type\":\"uint32\"},{\"internalType\":\"Timestamp\",\"name\":\"timestamp_\",\"type\":\"uint64\"},{\"internalType\":\"contractIDisputeGame\",\"name\":\"proxy_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gameCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"gameCount_\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"gameImpls\",\"outputs\":[{\"internalType\":\"contractIDisputeGame\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"},{\"internalType\":\"Claim\",\"name\":\"_rootClaim\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"games\",\"outputs\":[{\"internalType\":\"contractIDisputeGame\",\"name\":\"proxy_\",\"type\":\"address\"},{\"internalType\":\"Timestamp\",\"name\":\"timestamp_\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"},{\"internalType\":\"Claim\",\"name\":\"_rootClaim\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"getGameUUID\",\"outputs\":[{\"internalType\":\"Hash\",\"name\":\"uuid_\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"initBonds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"},{\"internalType\":\"contractIDisputeGame\",\"name\":\"_impl\",\"type\":\"address\"}],\"name\":\"setImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"GameType\",\"name\":\"_gameType\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_initBond\",\"type\":\"uint256\"}],\"name\":\"setInitBond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
DisputeGameProxyMetaData contains all meta data concerning the DisputeGameProxy contract.
Functions ¶
This section is empty.
Types ¶
type AnchorStateProxy ¶
type AnchorStateProxy struct { AnchorStateProxyCaller // Read-only binding to the contract AnchorStateProxyTransactor // Write-only binding to the contract AnchorStateProxyFilterer // Log filterer for contract events }
AnchorStateProxy is an auto generated Go binding around an Ethereum contract.
func NewAnchorStateProxy ¶
func NewAnchorStateProxy(address common.Address, backend bind.ContractBackend) (*AnchorStateProxy, error)
NewAnchorStateProxy creates a new instance of AnchorStateProxy, bound to a specific deployed contract.
type AnchorStateProxyCaller ¶
type AnchorStateProxyCaller struct {
// contains filtered or unexported fields
}
AnchorStateProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAnchorStateProxyCaller ¶
func NewAnchorStateProxyCaller(address common.Address, caller bind.ContractCaller) (*AnchorStateProxyCaller, error)
NewAnchorStateProxyCaller creates a new read-only instance of AnchorStateProxy, bound to a specific deployed contract.
func (*AnchorStateProxyCaller) Anchors ¶
func (_AnchorStateProxy *AnchorStateProxyCaller) Anchors(opts *bind.CallOpts, arg0 uint32) (struct { Root [32]byte L2BlockNumber *big.Int }, error, )
Anchors is a free data retrieval call binding the contract method 0x7258a807.
Solidity: function anchors(uint32 ) view returns(bytes32 root, uint256 l2BlockNumber)
func (*AnchorStateProxyCaller) DisputeGameFactory ¶
func (_AnchorStateProxy *AnchorStateProxyCaller) DisputeGameFactory(opts *bind.CallOpts) (common.Address, error)
DisputeGameFactory is a free data retrieval call binding the contract method 0xf2b4e617.
Solidity: function disputeGameFactory() view returns(address)
type AnchorStateProxyCallerRaw ¶
type AnchorStateProxyCallerRaw struct {
Contract *AnchorStateProxyCaller // Generic read-only contract binding to access the raw methods on
}
AnchorStateProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AnchorStateProxyCallerRaw) Call ¶
func (_AnchorStateProxy *AnchorStateProxyCallerRaw) 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 AnchorStateProxyCallerSession ¶
type AnchorStateProxyCallerSession struct { Contract *AnchorStateProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AnchorStateProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AnchorStateProxyCallerSession) Anchors ¶
func (_AnchorStateProxy *AnchorStateProxyCallerSession) Anchors(arg0 uint32) (struct { Root [32]byte L2BlockNumber *big.Int }, error, )
Anchors is a free data retrieval call binding the contract method 0x7258a807.
Solidity: function anchors(uint32 ) view returns(bytes32 root, uint256 l2BlockNumber)
func (*AnchorStateProxyCallerSession) DisputeGameFactory ¶
func (_AnchorStateProxy *AnchorStateProxyCallerSession) DisputeGameFactory() (common.Address, error)
DisputeGameFactory is a free data retrieval call binding the contract method 0xf2b4e617.
Solidity: function disputeGameFactory() view returns(address)
func (*AnchorStateProxyCallerSession) Version ¶
func (_AnchorStateProxy *AnchorStateProxyCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type AnchorStateProxyFilterer ¶
type AnchorStateProxyFilterer struct {
// contains filtered or unexported fields
}
AnchorStateProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAnchorStateProxyFilterer ¶
func NewAnchorStateProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*AnchorStateProxyFilterer, error)
NewAnchorStateProxyFilterer creates a new log filterer instance of AnchorStateProxy, bound to a specific deployed contract.
func (*AnchorStateProxyFilterer) FilterInitialized ¶
func (_AnchorStateProxy *AnchorStateProxyFilterer) FilterInitialized(opts *bind.FilterOpts) (*AnchorStateProxyInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AnchorStateProxyFilterer) ParseInitialized ¶
func (_AnchorStateProxy *AnchorStateProxyFilterer) ParseInitialized(log types.Log) (*AnchorStateProxyInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AnchorStateProxyFilterer) WatchInitialized ¶
func (_AnchorStateProxy *AnchorStateProxyFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AnchorStateProxyInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
type AnchorStateProxyInitialized ¶
type AnchorStateProxyInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
AnchorStateProxyInitialized represents a Initialized event raised by the AnchorStateProxy contract.
type AnchorStateProxyInitializedIterator ¶
type AnchorStateProxyInitializedIterator struct { Event *AnchorStateProxyInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AnchorStateProxyInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the AnchorStateProxy contract.
func (*AnchorStateProxyInitializedIterator) Close ¶
func (it *AnchorStateProxyInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AnchorStateProxyInitializedIterator) Error ¶
func (it *AnchorStateProxyInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AnchorStateProxyInitializedIterator) Next ¶
func (it *AnchorStateProxyInitializedIterator) 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 AnchorStateProxyRaw ¶
type AnchorStateProxyRaw struct {
Contract *AnchorStateProxy // Generic contract binding to access the raw methods on
}
AnchorStateProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AnchorStateProxyRaw) Call ¶
func (_AnchorStateProxy *AnchorStateProxyRaw) 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 (*AnchorStateProxyRaw) Transact ¶
func (_AnchorStateProxy *AnchorStateProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AnchorStateProxyRaw) Transfer ¶
func (_AnchorStateProxy *AnchorStateProxyRaw) 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 AnchorStateProxySession ¶
type AnchorStateProxySession struct { Contract *AnchorStateProxy // 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 }
AnchorStateProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AnchorStateProxySession) Anchors ¶
func (_AnchorStateProxy *AnchorStateProxySession) Anchors(arg0 uint32) (struct { Root [32]byte L2BlockNumber *big.Int }, error, )
Anchors is a free data retrieval call binding the contract method 0x7258a807.
Solidity: function anchors(uint32 ) view returns(bytes32 root, uint256 l2BlockNumber)
func (*AnchorStateProxySession) DisputeGameFactory ¶
func (_AnchorStateProxy *AnchorStateProxySession) DisputeGameFactory() (common.Address, error)
DisputeGameFactory is a free data retrieval call binding the contract method 0xf2b4e617.
Solidity: function disputeGameFactory() view returns(address)
func (*AnchorStateProxySession) Initialize ¶
func (_AnchorStateProxy *AnchorStateProxySession) Initialize(_startingAnchorRoots []AnchorStateRegistryStartingAnchorRoot) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc303f0df.
Solidity: function initialize((uint32,(bytes32,uint256))[] _startingAnchorRoots) returns()
func (*AnchorStateProxySession) TryUpdateAnchorState ¶
func (_AnchorStateProxy *AnchorStateProxySession) TryUpdateAnchorState() (*types.Transaction, error)
TryUpdateAnchorState is a paid mutator transaction binding the contract method 0x838c2d1e.
Solidity: function tryUpdateAnchorState() returns()
func (*AnchorStateProxySession) Version ¶
func (_AnchorStateProxy *AnchorStateProxySession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type AnchorStateProxyTransactor ¶
type AnchorStateProxyTransactor struct {
// contains filtered or unexported fields
}
AnchorStateProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAnchorStateProxyTransactor ¶
func NewAnchorStateProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*AnchorStateProxyTransactor, error)
NewAnchorStateProxyTransactor creates a new write-only instance of AnchorStateProxy, bound to a specific deployed contract.
func (*AnchorStateProxyTransactor) Initialize ¶
func (_AnchorStateProxy *AnchorStateProxyTransactor) Initialize(opts *bind.TransactOpts, _startingAnchorRoots []AnchorStateRegistryStartingAnchorRoot) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc303f0df.
Solidity: function initialize((uint32,(bytes32,uint256))[] _startingAnchorRoots) returns()
func (*AnchorStateProxyTransactor) TryUpdateAnchorState ¶
func (_AnchorStateProxy *AnchorStateProxyTransactor) TryUpdateAnchorState(opts *bind.TransactOpts) (*types.Transaction, error)
TryUpdateAnchorState is a paid mutator transaction binding the contract method 0x838c2d1e.
Solidity: function tryUpdateAnchorState() returns()
type AnchorStateProxyTransactorRaw ¶
type AnchorStateProxyTransactorRaw struct {
Contract *AnchorStateProxyTransactor // Generic write-only contract binding to access the raw methods on
}
AnchorStateProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AnchorStateProxyTransactorRaw) Transact ¶
func (_AnchorStateProxy *AnchorStateProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AnchorStateProxyTransactorRaw) Transfer ¶
func (_AnchorStateProxy *AnchorStateProxyTransactorRaw) 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 AnchorStateProxyTransactorSession ¶
type AnchorStateProxyTransactorSession struct { Contract *AnchorStateProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AnchorStateProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AnchorStateProxyTransactorSession) Initialize ¶
func (_AnchorStateProxy *AnchorStateProxyTransactorSession) Initialize(_startingAnchorRoots []AnchorStateRegistryStartingAnchorRoot) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc303f0df.
Solidity: function initialize((uint32,(bytes32,uint256))[] _startingAnchorRoots) returns()
func (*AnchorStateProxyTransactorSession) TryUpdateAnchorState ¶
func (_AnchorStateProxy *AnchorStateProxyTransactorSession) TryUpdateAnchorState() (*types.Transaction, error)
TryUpdateAnchorState is a paid mutator transaction binding the contract method 0x838c2d1e.
Solidity: function tryUpdateAnchorState() returns()
type AnchorStateRegistryStartingAnchorRoot ¶
type AnchorStateRegistryStartingAnchorRoot struct { GameType uint32 OutputRoot OutputRoot }
AnchorStateRegistryStartingAnchorRoot is an auto generated low-level Go binding around an user-defined struct.
type DisputeGame ¶
type DisputeGame struct { DisputeGameCaller // Read-only binding to the contract DisputeGameTransactor // Write-only binding to the contract DisputeGameFilterer // Log filterer for contract events }
DisputeGame is an auto generated Go binding around an Ethereum contract.
func NewDisputeGame ¶
func NewDisputeGame(address common.Address, backend bind.ContractBackend) (*DisputeGame, error)
NewDisputeGame creates a new instance of DisputeGame, bound to a specific deployed contract.
type DisputeGameCaller ¶
type DisputeGameCaller struct {
// contains filtered or unexported fields
}
DisputeGameCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDisputeGameCaller ¶
func NewDisputeGameCaller(address common.Address, caller bind.ContractCaller) (*DisputeGameCaller, error)
NewDisputeGameCaller creates a new read-only instance of DisputeGame, bound to a specific deployed contract.
func (*DisputeGameCaller) AbsolutePrestate ¶
func (_DisputeGame *DisputeGameCaller) AbsolutePrestate(opts *bind.CallOpts) ([32]byte, error)
AbsolutePrestate is a free data retrieval call binding the contract method 0x8d450a95.
Solidity: function absolutePrestate() view returns(bytes32 absolutePrestate_)
func (*DisputeGameCaller) AnchorStateRegistry ¶
func (_DisputeGame *DisputeGameCaller) AnchorStateRegistry(opts *bind.CallOpts) (common.Address, error)
AnchorStateRegistry is a free data retrieval call binding the contract method 0x5c0cba33.
Solidity: function anchorStateRegistry() view returns(address registry_)
func (*DisputeGameCaller) ClaimData ¶
func (_DisputeGame *DisputeGameCaller) ClaimData(opts *bind.CallOpts, arg0 *big.Int) (struct { ParentIndex uint32 CounteredBy common.Address Claimant common.Address Bond *big.Int Claim [32]byte Position *big.Int Clock *big.Int }, error, )
ClaimData is a free data retrieval call binding the contract method 0xc6f0308c.
Solidity: function claimData(uint256 ) view returns(uint32 parentIndex, address counteredBy, address claimant, uint128 bond, bytes32 claim, uint128 position, uint128 clock)
func (*DisputeGameCaller) ClaimDataLen ¶
ClaimDataLen is a free data retrieval call binding the contract method 0x8980e0cc.
Solidity: function claimDataLen() view returns(uint256 len_)
func (*DisputeGameCaller) Claims ¶
Claims is a free data retrieval call binding the contract method 0xeff0f592.
Solidity: function claims(bytes32 ) view returns(bool)
func (*DisputeGameCaller) ClockExtension ¶
func (_DisputeGame *DisputeGameCaller) ClockExtension(opts *bind.CallOpts) (uint64, error)
ClockExtension is a free data retrieval call binding the contract method 0x6b6716c0.
Solidity: function clockExtension() view returns(uint64 clockExtension_)
func (*DisputeGameCaller) CreatedAt ¶
func (_DisputeGame *DisputeGameCaller) CreatedAt(opts *bind.CallOpts) (uint64, error)
CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
Solidity: function createdAt() view returns(uint64)
func (*DisputeGameCaller) Credit ¶
func (_DisputeGame *DisputeGameCaller) Credit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Credit is a free data retrieval call binding the contract method 0xd5d44d80.
Solidity: function credit(address ) view returns(uint256)
func (*DisputeGameCaller) ExtraData ¶
func (_DisputeGame *DisputeGameCaller) ExtraData(opts *bind.CallOpts) ([]byte, error)
ExtraData is a free data retrieval call binding the contract method 0x609d3334.
Solidity: function extraData() pure returns(bytes extraData_)
func (*DisputeGameCaller) GameCreator ¶
GameCreator is a free data retrieval call binding the contract method 0x37b1b229.
Solidity: function gameCreator() pure returns(address creator_)
func (*DisputeGameCaller) GameData ¶
func (_DisputeGame *DisputeGameCaller) GameData(opts *bind.CallOpts) (struct { GameType uint32 RootClaim [32]byte ExtraData []byte }, error, )
GameData is a free data retrieval call binding the contract method 0xfa24f743.
Solidity: function gameData() view returns(uint32 gameType_, bytes32 rootClaim_, bytes extraData_)
func (*DisputeGameCaller) GameType ¶
func (_DisputeGame *DisputeGameCaller) GameType(opts *bind.CallOpts) (uint32, error)
GameType is a free data retrieval call binding the contract method 0xbbdc02db.
Solidity: function gameType() view returns(uint32 gameType_)
func (*DisputeGameCaller) GetChallengerDuration ¶
func (_DisputeGame *DisputeGameCaller) GetChallengerDuration(opts *bind.CallOpts, _claimIndex *big.Int) (uint64, error)
GetChallengerDuration is a free data retrieval call binding the contract method 0xbd8da956.
Solidity: function getChallengerDuration(uint256 _claimIndex) view returns(uint64 duration_)
func (*DisputeGameCaller) GetNumToResolve ¶
func (_DisputeGame *DisputeGameCaller) GetNumToResolve(opts *bind.CallOpts, _claimIndex *big.Int) (*big.Int, error)
GetNumToResolve is a free data retrieval call binding the contract method 0x5a5fa2d9.
Solidity: function getNumToResolve(uint256 _claimIndex) view returns(uint256 numRemainingChildren_)
func (*DisputeGameCaller) GetRequiredBond ¶
func (_DisputeGame *DisputeGameCaller) GetRequiredBond(opts *bind.CallOpts, _position *big.Int) (*big.Int, error)
GetRequiredBond is a free data retrieval call binding the contract method 0xc395e1ca.
Solidity: function getRequiredBond(uint128 _position) view returns(uint256 requiredBond_)
func (*DisputeGameCaller) L1Head ¶
func (_DisputeGame *DisputeGameCaller) L1Head(opts *bind.CallOpts) ([32]byte, error)
L1Head is a free data retrieval call binding the contract method 0x6361506d.
Solidity: function l1Head() pure returns(bytes32 l1Head_)
func (*DisputeGameCaller) L2BlockNumber ¶
L2BlockNumber is a free data retrieval call binding the contract method 0x8b85902b.
Solidity: function l2BlockNumber() pure returns(uint256 l2BlockNumber_)
func (*DisputeGameCaller) L2BlockNumberChallenged ¶
func (_DisputeGame *DisputeGameCaller) L2BlockNumberChallenged(opts *bind.CallOpts) (bool, error)
L2BlockNumberChallenged is a free data retrieval call binding the contract method 0x3e3ac912.
Solidity: function l2BlockNumberChallenged() view returns(bool)
func (*DisputeGameCaller) L2BlockNumberChallenger ¶
func (_DisputeGame *DisputeGameCaller) L2BlockNumberChallenger(opts *bind.CallOpts) (common.Address, error)
L2BlockNumberChallenger is a free data retrieval call binding the contract method 0x30dbe570.
Solidity: function l2BlockNumberChallenger() view returns(address)
func (*DisputeGameCaller) L2ChainId ¶
L2ChainId is a free data retrieval call binding the contract method 0xd6ae3cd5.
Solidity: function l2ChainId() view returns(uint256 l2ChainId_)
func (*DisputeGameCaller) MaxClockDuration ¶
func (_DisputeGame *DisputeGameCaller) MaxClockDuration(opts *bind.CallOpts) (uint64, error)
MaxClockDuration is a free data retrieval call binding the contract method 0xdabd396d.
Solidity: function maxClockDuration() view returns(uint64 maxClockDuration_)
func (*DisputeGameCaller) MaxGameDepth ¶
MaxGameDepth is a free data retrieval call binding the contract method 0xfa315aa9.
Solidity: function maxGameDepth() view returns(uint256 maxGameDepth_)
func (*DisputeGameCaller) ResolutionCheckpoints ¶
func (_DisputeGame *DisputeGameCaller) ResolutionCheckpoints(opts *bind.CallOpts, arg0 *big.Int) (struct { InitialCheckpointComplete bool SubgameIndex uint32 LeftmostPosition *big.Int CounteredBy common.Address }, error, )
ResolutionCheckpoints is a free data retrieval call binding the contract method 0xa445ece6.
Solidity: function resolutionCheckpoints(uint256 ) view returns(bool initialCheckpointComplete, uint32 subgameIndex, uint128 leftmostPosition, address counteredBy)
func (*DisputeGameCaller) ResolvedAt ¶
func (_DisputeGame *DisputeGameCaller) ResolvedAt(opts *bind.CallOpts) (uint64, error)
ResolvedAt is a free data retrieval call binding the contract method 0x19effeb4.
Solidity: function resolvedAt() view returns(uint64)
func (*DisputeGameCaller) ResolvedSubgames ¶
func (_DisputeGame *DisputeGameCaller) ResolvedSubgames(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
ResolvedSubgames is a free data retrieval call binding the contract method 0xfe2bbeb2.
Solidity: function resolvedSubgames(uint256 ) view returns(bool)
func (*DisputeGameCaller) RootClaim ¶
func (_DisputeGame *DisputeGameCaller) RootClaim(opts *bind.CallOpts) ([32]byte, error)
RootClaim is a free data retrieval call binding the contract method 0xbcef3b55.
Solidity: function rootClaim() pure returns(bytes32 rootClaim_)
func (*DisputeGameCaller) SplitDepth ¶
SplitDepth is a free data retrieval call binding the contract method 0xec5e6308.
Solidity: function splitDepth() view returns(uint256 splitDepth_)
func (*DisputeGameCaller) StartingBlockNumber ¶
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256 startingBlockNumber_)
func (*DisputeGameCaller) StartingOutputRoot ¶
func (_DisputeGame *DisputeGameCaller) StartingOutputRoot(opts *bind.CallOpts) (struct { Root [32]byte L2BlockNumber *big.Int }, error, )
StartingOutputRoot is a free data retrieval call binding the contract method 0x57da950e.
Solidity: function startingOutputRoot() view returns(bytes32 root, uint256 l2BlockNumber)
func (*DisputeGameCaller) StartingRootHash ¶
func (_DisputeGame *DisputeGameCaller) StartingRootHash(opts *bind.CallOpts) ([32]byte, error)
StartingRootHash is a free data retrieval call binding the contract method 0x25fc2ace.
Solidity: function startingRootHash() view returns(bytes32 startingRootHash_)
func (*DisputeGameCaller) Status ¶
func (_DisputeGame *DisputeGameCaller) Status(opts *bind.CallOpts) (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*DisputeGameCaller) Subgames ¶
func (_DisputeGame *DisputeGameCaller) Subgames(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
Subgames is a free data retrieval call binding the contract method 0x2ad69aeb.
Solidity: function subgames(uint256 , uint256 ) view returns(uint256)
func (*DisputeGameCaller) Version ¶
func (_DisputeGame *DisputeGameCaller) Version(opts *bind.CallOpts) (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type DisputeGameCallerRaw ¶
type DisputeGameCallerRaw struct {
Contract *DisputeGameCaller // Generic read-only contract binding to access the raw methods on
}
DisputeGameCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DisputeGameCallerRaw) Call ¶
func (_DisputeGame *DisputeGameCallerRaw) 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 DisputeGameCallerSession ¶
type DisputeGameCallerSession struct { Contract *DisputeGameCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DisputeGameCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DisputeGameCallerSession) AbsolutePrestate ¶
func (_DisputeGame *DisputeGameCallerSession) AbsolutePrestate() ([32]byte, error)
AbsolutePrestate is a free data retrieval call binding the contract method 0x8d450a95.
Solidity: function absolutePrestate() view returns(bytes32 absolutePrestate_)
func (*DisputeGameCallerSession) AnchorStateRegistry ¶
func (_DisputeGame *DisputeGameCallerSession) AnchorStateRegistry() (common.Address, error)
AnchorStateRegistry is a free data retrieval call binding the contract method 0x5c0cba33.
Solidity: function anchorStateRegistry() view returns(address registry_)
func (*DisputeGameCallerSession) ClaimData ¶
func (_DisputeGame *DisputeGameCallerSession) ClaimData(arg0 *big.Int) (struct { ParentIndex uint32 CounteredBy common.Address Claimant common.Address Bond *big.Int Claim [32]byte Position *big.Int Clock *big.Int }, error, )
ClaimData is a free data retrieval call binding the contract method 0xc6f0308c.
Solidity: function claimData(uint256 ) view returns(uint32 parentIndex, address counteredBy, address claimant, uint128 bond, bytes32 claim, uint128 position, uint128 clock)
func (*DisputeGameCallerSession) ClaimDataLen ¶
func (_DisputeGame *DisputeGameCallerSession) ClaimDataLen() (*big.Int, error)
ClaimDataLen is a free data retrieval call binding the contract method 0x8980e0cc.
Solidity: function claimDataLen() view returns(uint256 len_)
func (*DisputeGameCallerSession) Claims ¶
func (_DisputeGame *DisputeGameCallerSession) Claims(arg0 [32]byte) (bool, error)
Claims is a free data retrieval call binding the contract method 0xeff0f592.
Solidity: function claims(bytes32 ) view returns(bool)
func (*DisputeGameCallerSession) ClockExtension ¶
func (_DisputeGame *DisputeGameCallerSession) ClockExtension() (uint64, error)
ClockExtension is a free data retrieval call binding the contract method 0x6b6716c0.
Solidity: function clockExtension() view returns(uint64 clockExtension_)
func (*DisputeGameCallerSession) CreatedAt ¶
func (_DisputeGame *DisputeGameCallerSession) CreatedAt() (uint64, error)
CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
Solidity: function createdAt() view returns(uint64)
func (*DisputeGameCallerSession) Credit ¶
Credit is a free data retrieval call binding the contract method 0xd5d44d80.
Solidity: function credit(address ) view returns(uint256)
func (*DisputeGameCallerSession) ExtraData ¶
func (_DisputeGame *DisputeGameCallerSession) ExtraData() ([]byte, error)
ExtraData is a free data retrieval call binding the contract method 0x609d3334.
Solidity: function extraData() pure returns(bytes extraData_)
func (*DisputeGameCallerSession) GameCreator ¶
func (_DisputeGame *DisputeGameCallerSession) GameCreator() (common.Address, error)
GameCreator is a free data retrieval call binding the contract method 0x37b1b229.
Solidity: function gameCreator() pure returns(address creator_)
func (*DisputeGameCallerSession) GameData ¶
func (_DisputeGame *DisputeGameCallerSession) GameData() (struct { GameType uint32 RootClaim [32]byte ExtraData []byte }, error, )
GameData is a free data retrieval call binding the contract method 0xfa24f743.
Solidity: function gameData() view returns(uint32 gameType_, bytes32 rootClaim_, bytes extraData_)
func (*DisputeGameCallerSession) GameType ¶
func (_DisputeGame *DisputeGameCallerSession) GameType() (uint32, error)
GameType is a free data retrieval call binding the contract method 0xbbdc02db.
Solidity: function gameType() view returns(uint32 gameType_)
func (*DisputeGameCallerSession) GetChallengerDuration ¶
func (_DisputeGame *DisputeGameCallerSession) GetChallengerDuration(_claimIndex *big.Int) (uint64, error)
GetChallengerDuration is a free data retrieval call binding the contract method 0xbd8da956.
Solidity: function getChallengerDuration(uint256 _claimIndex) view returns(uint64 duration_)
func (*DisputeGameCallerSession) GetNumToResolve ¶
func (_DisputeGame *DisputeGameCallerSession) GetNumToResolve(_claimIndex *big.Int) (*big.Int, error)
GetNumToResolve is a free data retrieval call binding the contract method 0x5a5fa2d9.
Solidity: function getNumToResolve(uint256 _claimIndex) view returns(uint256 numRemainingChildren_)
func (*DisputeGameCallerSession) GetRequiredBond ¶
GetRequiredBond is a free data retrieval call binding the contract method 0xc395e1ca.
Solidity: function getRequiredBond(uint128 _position) view returns(uint256 requiredBond_)
func (*DisputeGameCallerSession) L1Head ¶
func (_DisputeGame *DisputeGameCallerSession) L1Head() ([32]byte, error)
L1Head is a free data retrieval call binding the contract method 0x6361506d.
Solidity: function l1Head() pure returns(bytes32 l1Head_)
func (*DisputeGameCallerSession) L2BlockNumber ¶
func (_DisputeGame *DisputeGameCallerSession) L2BlockNumber() (*big.Int, error)
L2BlockNumber is a free data retrieval call binding the contract method 0x8b85902b.
Solidity: function l2BlockNumber() pure returns(uint256 l2BlockNumber_)
func (*DisputeGameCallerSession) L2BlockNumberChallenged ¶
func (_DisputeGame *DisputeGameCallerSession) L2BlockNumberChallenged() (bool, error)
L2BlockNumberChallenged is a free data retrieval call binding the contract method 0x3e3ac912.
Solidity: function l2BlockNumberChallenged() view returns(bool)
func (*DisputeGameCallerSession) L2BlockNumberChallenger ¶
func (_DisputeGame *DisputeGameCallerSession) L2BlockNumberChallenger() (common.Address, error)
L2BlockNumberChallenger is a free data retrieval call binding the contract method 0x30dbe570.
Solidity: function l2BlockNumberChallenger() view returns(address)
func (*DisputeGameCallerSession) L2ChainId ¶
func (_DisputeGame *DisputeGameCallerSession) L2ChainId() (*big.Int, error)
L2ChainId is a free data retrieval call binding the contract method 0xd6ae3cd5.
Solidity: function l2ChainId() view returns(uint256 l2ChainId_)
func (*DisputeGameCallerSession) MaxClockDuration ¶
func (_DisputeGame *DisputeGameCallerSession) MaxClockDuration() (uint64, error)
MaxClockDuration is a free data retrieval call binding the contract method 0xdabd396d.
Solidity: function maxClockDuration() view returns(uint64 maxClockDuration_)
func (*DisputeGameCallerSession) MaxGameDepth ¶
func (_DisputeGame *DisputeGameCallerSession) MaxGameDepth() (*big.Int, error)
MaxGameDepth is a free data retrieval call binding the contract method 0xfa315aa9.
Solidity: function maxGameDepth() view returns(uint256 maxGameDepth_)
func (*DisputeGameCallerSession) ResolutionCheckpoints ¶
func (_DisputeGame *DisputeGameCallerSession) ResolutionCheckpoints(arg0 *big.Int) (struct { InitialCheckpointComplete bool SubgameIndex uint32 LeftmostPosition *big.Int CounteredBy common.Address }, error, )
ResolutionCheckpoints is a free data retrieval call binding the contract method 0xa445ece6.
Solidity: function resolutionCheckpoints(uint256 ) view returns(bool initialCheckpointComplete, uint32 subgameIndex, uint128 leftmostPosition, address counteredBy)
func (*DisputeGameCallerSession) ResolvedAt ¶
func (_DisputeGame *DisputeGameCallerSession) ResolvedAt() (uint64, error)
ResolvedAt is a free data retrieval call binding the contract method 0x19effeb4.
Solidity: function resolvedAt() view returns(uint64)
func (*DisputeGameCallerSession) ResolvedSubgames ¶
func (_DisputeGame *DisputeGameCallerSession) ResolvedSubgames(arg0 *big.Int) (bool, error)
ResolvedSubgames is a free data retrieval call binding the contract method 0xfe2bbeb2.
Solidity: function resolvedSubgames(uint256 ) view returns(bool)
func (*DisputeGameCallerSession) RootClaim ¶
func (_DisputeGame *DisputeGameCallerSession) RootClaim() ([32]byte, error)
RootClaim is a free data retrieval call binding the contract method 0xbcef3b55.
Solidity: function rootClaim() pure returns(bytes32 rootClaim_)
func (*DisputeGameCallerSession) SplitDepth ¶
func (_DisputeGame *DisputeGameCallerSession) SplitDepth() (*big.Int, error)
SplitDepth is a free data retrieval call binding the contract method 0xec5e6308.
Solidity: function splitDepth() view returns(uint256 splitDepth_)
func (*DisputeGameCallerSession) StartingBlockNumber ¶
func (_DisputeGame *DisputeGameCallerSession) StartingBlockNumber() (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256 startingBlockNumber_)
func (*DisputeGameCallerSession) StartingOutputRoot ¶
func (_DisputeGame *DisputeGameCallerSession) StartingOutputRoot() (struct { Root [32]byte L2BlockNumber *big.Int }, error, )
StartingOutputRoot is a free data retrieval call binding the contract method 0x57da950e.
Solidity: function startingOutputRoot() view returns(bytes32 root, uint256 l2BlockNumber)
func (*DisputeGameCallerSession) StartingRootHash ¶
func (_DisputeGame *DisputeGameCallerSession) StartingRootHash() ([32]byte, error)
StartingRootHash is a free data retrieval call binding the contract method 0x25fc2ace.
Solidity: function startingRootHash() view returns(bytes32 startingRootHash_)
func (*DisputeGameCallerSession) Status ¶
func (_DisputeGame *DisputeGameCallerSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*DisputeGameCallerSession) Subgames ¶
func (_DisputeGame *DisputeGameCallerSession) Subgames(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
Subgames is a free data retrieval call binding the contract method 0x2ad69aeb.
Solidity: function subgames(uint256 , uint256 ) view returns(uint256)
func (*DisputeGameCallerSession) Version ¶
func (_DisputeGame *DisputeGameCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type DisputeGameFilterer ¶
type DisputeGameFilterer struct {
// contains filtered or unexported fields
}
DisputeGameFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDisputeGameFilterer ¶
func NewDisputeGameFilterer(address common.Address, filterer bind.ContractFilterer) (*DisputeGameFilterer, error)
NewDisputeGameFilterer creates a new log filterer instance of DisputeGame, bound to a specific deployed contract.
func (*DisputeGameFilterer) FilterMove ¶
func (_DisputeGame *DisputeGameFilterer) FilterMove(opts *bind.FilterOpts, parentIndex []*big.Int, claim [][32]byte, claimant []common.Address) (*DisputeGameMoveIterator, error)
FilterMove is a free log retrieval operation binding the contract event 0x9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be.
Solidity: event Move(uint256 indexed parentIndex, bytes32 indexed claim, address indexed claimant)
func (*DisputeGameFilterer) FilterResolved ¶
func (_DisputeGame *DisputeGameFilterer) FilterResolved(opts *bind.FilterOpts, status []uint8) (*DisputeGameResolvedIterator, error)
FilterResolved is a free log retrieval operation binding the contract event 0x5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da60.
Solidity: event Resolved(uint8 indexed status)
func (*DisputeGameFilterer) ParseMove ¶
func (_DisputeGame *DisputeGameFilterer) ParseMove(log types.Log) (*DisputeGameMove, error)
ParseMove is a log parse operation binding the contract event 0x9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be.
Solidity: event Move(uint256 indexed parentIndex, bytes32 indexed claim, address indexed claimant)
func (*DisputeGameFilterer) ParseResolved ¶
func (_DisputeGame *DisputeGameFilterer) ParseResolved(log types.Log) (*DisputeGameResolved, error)
ParseResolved is a log parse operation binding the contract event 0x5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da60.
Solidity: event Resolved(uint8 indexed status)
func (*DisputeGameFilterer) WatchMove ¶
func (_DisputeGame *DisputeGameFilterer) WatchMove(opts *bind.WatchOpts, sink chan<- *DisputeGameMove, parentIndex []*big.Int, claim [][32]byte, claimant []common.Address) (event.Subscription, error)
WatchMove is a free log subscription operation binding the contract event 0x9b3245740ec3b155098a55be84957a4da13eaf7f14a8bc6f53126c0b9350f2be.
Solidity: event Move(uint256 indexed parentIndex, bytes32 indexed claim, address indexed claimant)
func (*DisputeGameFilterer) WatchResolved ¶
func (_DisputeGame *DisputeGameFilterer) WatchResolved(opts *bind.WatchOpts, sink chan<- *DisputeGameResolved, status []uint8) (event.Subscription, error)
WatchResolved is a free log subscription operation binding the contract event 0x5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da60.
Solidity: event Resolved(uint8 indexed status)
type DisputeGameMove ¶
type DisputeGameMove struct { ParentIndex *big.Int Claim [32]byte Claimant common.Address Raw types.Log // Blockchain specific contextual infos }
DisputeGameMove represents a Move event raised by the DisputeGame contract.
type DisputeGameMoveIterator ¶
type DisputeGameMoveIterator struct { Event *DisputeGameMove // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameMoveIterator is returned from FilterMove and is used to iterate over the raw logs and unpacked data for Move events raised by the DisputeGame contract.
func (*DisputeGameMoveIterator) Close ¶
func (it *DisputeGameMoveIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameMoveIterator) Error ¶
func (it *DisputeGameMoveIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameMoveIterator) Next ¶
func (it *DisputeGameMoveIterator) 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 DisputeGameProxy ¶
type DisputeGameProxy struct { DisputeGameProxyCaller // Read-only binding to the contract DisputeGameProxyTransactor // Write-only binding to the contract DisputeGameProxyFilterer // Log filterer for contract events }
DisputeGameProxy is an auto generated Go binding around an Ethereum contract.
func NewDisputeGameProxy ¶
func NewDisputeGameProxy(address common.Address, backend bind.ContractBackend) (*DisputeGameProxy, error)
NewDisputeGameProxy creates a new instance of DisputeGameProxy, bound to a specific deployed contract.
type DisputeGameProxyCaller ¶
type DisputeGameProxyCaller struct {
// contains filtered or unexported fields
}
DisputeGameProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDisputeGameProxyCaller ¶
func NewDisputeGameProxyCaller(address common.Address, caller bind.ContractCaller) (*DisputeGameProxyCaller, error)
NewDisputeGameProxyCaller creates a new read-only instance of DisputeGameProxy, bound to a specific deployed contract.
func (*DisputeGameProxyCaller) FindLatestGames ¶
func (_DisputeGameProxy *DisputeGameProxyCaller) FindLatestGames(opts *bind.CallOpts, _gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
FindLatestGames is a free data retrieval call binding the contract method 0x254bd683.
Solidity: function findLatestGames(uint32 _gameType, uint256 _start, uint256 _n) view returns((uint256,bytes32,uint64,bytes32,bytes)[] games_)
func (*DisputeGameProxyCaller) GameAtIndex ¶
func (_DisputeGameProxy *DisputeGameProxyCaller) GameAtIndex(opts *bind.CallOpts, _index *big.Int) (struct { GameType uint32 Timestamp uint64 Proxy common.Address }, error, )
GameAtIndex is a free data retrieval call binding the contract method 0xbb8aa1fc.
Solidity: function gameAtIndex(uint256 _index) view returns(uint32 gameType_, uint64 timestamp_, address proxy_)
func (*DisputeGameProxyCaller) GameCount ¶
GameCount is a free data retrieval call binding the contract method 0x4d1975b4.
Solidity: function gameCount() view returns(uint256 gameCount_)
func (*DisputeGameProxyCaller) GameImpls ¶
func (_DisputeGameProxy *DisputeGameProxyCaller) GameImpls(opts *bind.CallOpts, arg0 uint32) (common.Address, error)
GameImpls is a free data retrieval call binding the contract method 0x1b685b9e.
Solidity: function gameImpls(uint32 ) view returns(address)
func (*DisputeGameProxyCaller) Games ¶
func (_DisputeGameProxy *DisputeGameProxyCaller) Games(opts *bind.CallOpts, _gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct { Proxy common.Address Timestamp uint64 }, error, )
Games is a free data retrieval call binding the contract method 0x5f0150cb.
Solidity: function games(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) view returns(address proxy_, uint64 timestamp_)
func (*DisputeGameProxyCaller) GetGameUUID ¶
func (_DisputeGameProxy *DisputeGameProxyCaller) GetGameUUID(opts *bind.CallOpts, _gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
GetGameUUID is a free data retrieval call binding the contract method 0x96cd9720.
Solidity: function getGameUUID(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) pure returns(bytes32 uuid_)
func (*DisputeGameProxyCaller) InitBonds ¶
func (_DisputeGameProxy *DisputeGameProxyCaller) InitBonds(opts *bind.CallOpts, arg0 uint32) (*big.Int, error)
InitBonds is a free data retrieval call binding the contract method 0x6593dc6e.
Solidity: function initBonds(uint32 ) view returns(uint256)
type DisputeGameProxyCallerRaw ¶
type DisputeGameProxyCallerRaw struct {
Contract *DisputeGameProxyCaller // Generic read-only contract binding to access the raw methods on
}
DisputeGameProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DisputeGameProxyCallerRaw) Call ¶
func (_DisputeGameProxy *DisputeGameProxyCallerRaw) 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 DisputeGameProxyCallerSession ¶
type DisputeGameProxyCallerSession struct { Contract *DisputeGameProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DisputeGameProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DisputeGameProxyCallerSession) FindLatestGames ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) FindLatestGames(_gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
FindLatestGames is a free data retrieval call binding the contract method 0x254bd683.
Solidity: function findLatestGames(uint32 _gameType, uint256 _start, uint256 _n) view returns((uint256,bytes32,uint64,bytes32,bytes)[] games_)
func (*DisputeGameProxyCallerSession) GameAtIndex ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) GameAtIndex(_index *big.Int) (struct { GameType uint32 Timestamp uint64 Proxy common.Address }, error, )
GameAtIndex is a free data retrieval call binding the contract method 0xbb8aa1fc.
Solidity: function gameAtIndex(uint256 _index) view returns(uint32 gameType_, uint64 timestamp_, address proxy_)
func (*DisputeGameProxyCallerSession) GameCount ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) GameCount() (*big.Int, error)
GameCount is a free data retrieval call binding the contract method 0x4d1975b4.
Solidity: function gameCount() view returns(uint256 gameCount_)
func (*DisputeGameProxyCallerSession) GameImpls ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) GameImpls(arg0 uint32) (common.Address, error)
GameImpls is a free data retrieval call binding the contract method 0x1b685b9e.
Solidity: function gameImpls(uint32 ) view returns(address)
func (*DisputeGameProxyCallerSession) Games ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) Games(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct { Proxy common.Address Timestamp uint64 }, error, )
Games is a free data retrieval call binding the contract method 0x5f0150cb.
Solidity: function games(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) view returns(address proxy_, uint64 timestamp_)
func (*DisputeGameProxyCallerSession) GetGameUUID ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) GetGameUUID(_gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
GetGameUUID is a free data retrieval call binding the contract method 0x96cd9720.
Solidity: function getGameUUID(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) pure returns(bytes32 uuid_)
func (*DisputeGameProxyCallerSession) InitBonds ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) InitBonds(arg0 uint32) (*big.Int, error)
InitBonds is a free data retrieval call binding the contract method 0x6593dc6e.
Solidity: function initBonds(uint32 ) view returns(uint256)
func (*DisputeGameProxyCallerSession) Owner ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DisputeGameProxyCallerSession) Version ¶
func (_DisputeGameProxy *DisputeGameProxyCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type DisputeGameProxyDisputeGameCreated ¶
type DisputeGameProxyDisputeGameCreated struct { DisputeProxy common.Address GameType uint32 RootClaim [32]byte Raw types.Log // Blockchain specific contextual infos }
DisputeGameProxyDisputeGameCreated represents a DisputeGameCreated event raised by the DisputeGameProxy contract.
type DisputeGameProxyDisputeGameCreatedIterator ¶
type DisputeGameProxyDisputeGameCreatedIterator struct { Event *DisputeGameProxyDisputeGameCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameProxyDisputeGameCreatedIterator is returned from FilterDisputeGameCreated and is used to iterate over the raw logs and unpacked data for DisputeGameCreated events raised by the DisputeGameProxy contract.
func (*DisputeGameProxyDisputeGameCreatedIterator) Close ¶
func (it *DisputeGameProxyDisputeGameCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameProxyDisputeGameCreatedIterator) Error ¶
func (it *DisputeGameProxyDisputeGameCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameProxyDisputeGameCreatedIterator) Next ¶
func (it *DisputeGameProxyDisputeGameCreatedIterator) 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 DisputeGameProxyFilterer ¶
type DisputeGameProxyFilterer struct {
// contains filtered or unexported fields
}
DisputeGameProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDisputeGameProxyFilterer ¶
func NewDisputeGameProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*DisputeGameProxyFilterer, error)
NewDisputeGameProxyFilterer creates a new log filterer instance of DisputeGameProxy, bound to a specific deployed contract.
func (*DisputeGameProxyFilterer) FilterDisputeGameCreated ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterDisputeGameCreated(opts *bind.FilterOpts, disputeProxy []common.Address, gameType []uint32, rootClaim [][32]byte) (*DisputeGameProxyDisputeGameCreatedIterator, error)
FilterDisputeGameCreated is a free log retrieval operation binding the contract event 0x5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e35.
Solidity: event DisputeGameCreated(address indexed disputeProxy, uint32 indexed gameType, bytes32 indexed rootClaim)
func (*DisputeGameProxyFilterer) FilterImplementationSet ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterImplementationSet(opts *bind.FilterOpts, impl []common.Address, gameType []uint32) (*DisputeGameProxyImplementationSetIterator, error)
FilterImplementationSet is a free log retrieval operation binding the contract event 0xff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de.
Solidity: event ImplementationSet(address indexed impl, uint32 indexed gameType)
func (*DisputeGameProxyFilterer) FilterInitBondUpdated ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterInitBondUpdated(opts *bind.FilterOpts, gameType []uint32, newBond []*big.Int) (*DisputeGameProxyInitBondUpdatedIterator, error)
FilterInitBondUpdated is a free log retrieval operation binding the contract event 0x74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca.
Solidity: event InitBondUpdated(uint32 indexed gameType, uint256 indexed newBond)
func (*DisputeGameProxyFilterer) FilterInitialized ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterInitialized(opts *bind.FilterOpts) (*DisputeGameProxyInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DisputeGameProxyFilterer) FilterOwnershipTransferred ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DisputeGameProxyOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DisputeGameProxyFilterer) ParseDisputeGameCreated ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseDisputeGameCreated(log types.Log) (*DisputeGameProxyDisputeGameCreated, error)
ParseDisputeGameCreated is a log parse operation binding the contract event 0x5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e35.
Solidity: event DisputeGameCreated(address indexed disputeProxy, uint32 indexed gameType, bytes32 indexed rootClaim)
func (*DisputeGameProxyFilterer) ParseImplementationSet ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseImplementationSet(log types.Log) (*DisputeGameProxyImplementationSet, error)
ParseImplementationSet is a log parse operation binding the contract event 0xff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de.
Solidity: event ImplementationSet(address indexed impl, uint32 indexed gameType)
func (*DisputeGameProxyFilterer) ParseInitBondUpdated ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseInitBondUpdated(log types.Log) (*DisputeGameProxyInitBondUpdated, error)
ParseInitBondUpdated is a log parse operation binding the contract event 0x74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca.
Solidity: event InitBondUpdated(uint32 indexed gameType, uint256 indexed newBond)
func (*DisputeGameProxyFilterer) ParseInitialized ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseInitialized(log types.Log) (*DisputeGameProxyInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DisputeGameProxyFilterer) ParseOwnershipTransferred ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) ParseOwnershipTransferred(log types.Log) (*DisputeGameProxyOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DisputeGameProxyFilterer) WatchDisputeGameCreated ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchDisputeGameCreated(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyDisputeGameCreated, disputeProxy []common.Address, gameType []uint32, rootClaim [][32]byte) (event.Subscription, error)
WatchDisputeGameCreated is a free log subscription operation binding the contract event 0x5b565efe82411da98814f356d0e7bcb8f0219b8d970307c5afb4a6903a8b2e35.
Solidity: event DisputeGameCreated(address indexed disputeProxy, uint32 indexed gameType, bytes32 indexed rootClaim)
func (*DisputeGameProxyFilterer) WatchImplementationSet ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchImplementationSet(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyImplementationSet, impl []common.Address, gameType []uint32) (event.Subscription, error)
WatchImplementationSet is a free log subscription operation binding the contract event 0xff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de.
Solidity: event ImplementationSet(address indexed impl, uint32 indexed gameType)
func (*DisputeGameProxyFilterer) WatchInitBondUpdated ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchInitBondUpdated(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyInitBondUpdated, gameType []uint32, newBond []*big.Int) (event.Subscription, error)
WatchInitBondUpdated is a free log subscription operation binding the contract event 0x74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca.
Solidity: event InitBondUpdated(uint32 indexed gameType, uint256 indexed newBond)
func (*DisputeGameProxyFilterer) WatchInitialized ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DisputeGameProxyFilterer) WatchOwnershipTransferred ¶
func (_DisputeGameProxy *DisputeGameProxyFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DisputeGameProxyOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type DisputeGameProxyImplementationSet ¶
type DisputeGameProxyImplementationSet struct { Impl common.Address GameType uint32 Raw types.Log // Blockchain specific contextual infos }
DisputeGameProxyImplementationSet represents a ImplementationSet event raised by the DisputeGameProxy contract.
type DisputeGameProxyImplementationSetIterator ¶
type DisputeGameProxyImplementationSetIterator struct { Event *DisputeGameProxyImplementationSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameProxyImplementationSetIterator is returned from FilterImplementationSet and is used to iterate over the raw logs and unpacked data for ImplementationSet events raised by the DisputeGameProxy contract.
func (*DisputeGameProxyImplementationSetIterator) Close ¶
func (it *DisputeGameProxyImplementationSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameProxyImplementationSetIterator) Error ¶
func (it *DisputeGameProxyImplementationSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameProxyImplementationSetIterator) Next ¶
func (it *DisputeGameProxyImplementationSetIterator) 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 DisputeGameProxyInitBondUpdated ¶
type DisputeGameProxyInitBondUpdated struct { GameType uint32 NewBond *big.Int Raw types.Log // Blockchain specific contextual infos }
DisputeGameProxyInitBondUpdated represents a InitBondUpdated event raised by the DisputeGameProxy contract.
type DisputeGameProxyInitBondUpdatedIterator ¶
type DisputeGameProxyInitBondUpdatedIterator struct { Event *DisputeGameProxyInitBondUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameProxyInitBondUpdatedIterator is returned from FilterInitBondUpdated and is used to iterate over the raw logs and unpacked data for InitBondUpdated events raised by the DisputeGameProxy contract.
func (*DisputeGameProxyInitBondUpdatedIterator) Close ¶
func (it *DisputeGameProxyInitBondUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameProxyInitBondUpdatedIterator) Error ¶
func (it *DisputeGameProxyInitBondUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameProxyInitBondUpdatedIterator) Next ¶
func (it *DisputeGameProxyInitBondUpdatedIterator) 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 DisputeGameProxyInitialized ¶
type DisputeGameProxyInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
DisputeGameProxyInitialized represents a Initialized event raised by the DisputeGameProxy contract.
type DisputeGameProxyInitializedIterator ¶
type DisputeGameProxyInitializedIterator struct { Event *DisputeGameProxyInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameProxyInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the DisputeGameProxy contract.
func (*DisputeGameProxyInitializedIterator) Close ¶
func (it *DisputeGameProxyInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameProxyInitializedIterator) Error ¶
func (it *DisputeGameProxyInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameProxyInitializedIterator) Next ¶
func (it *DisputeGameProxyInitializedIterator) 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 DisputeGameProxyOwnershipTransferred ¶
type DisputeGameProxyOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
DisputeGameProxyOwnershipTransferred represents a OwnershipTransferred event raised by the DisputeGameProxy contract.
type DisputeGameProxyOwnershipTransferredIterator ¶
type DisputeGameProxyOwnershipTransferredIterator struct { Event *DisputeGameProxyOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameProxyOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the DisputeGameProxy contract.
func (*DisputeGameProxyOwnershipTransferredIterator) Close ¶
func (it *DisputeGameProxyOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameProxyOwnershipTransferredIterator) Error ¶
func (it *DisputeGameProxyOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameProxyOwnershipTransferredIterator) Next ¶
func (it *DisputeGameProxyOwnershipTransferredIterator) 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 DisputeGameProxyRaw ¶
type DisputeGameProxyRaw struct {
Contract *DisputeGameProxy // Generic contract binding to access the raw methods on
}
DisputeGameProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DisputeGameProxyRaw) Call ¶
func (_DisputeGameProxy *DisputeGameProxyRaw) 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 (*DisputeGameProxyRaw) Transact ¶
func (_DisputeGameProxy *DisputeGameProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DisputeGameProxyRaw) Transfer ¶
func (_DisputeGameProxy *DisputeGameProxyRaw) 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 DisputeGameProxySession ¶
type DisputeGameProxySession struct { Contract *DisputeGameProxy // 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 }
DisputeGameProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DisputeGameProxySession) Create ¶
func (_DisputeGameProxy *DisputeGameProxySession) Create(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x82ecf2f6.
Solidity: function create(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) payable returns(address proxy_)
func (*DisputeGameProxySession) FindLatestGames ¶
func (_DisputeGameProxy *DisputeGameProxySession) FindLatestGames(_gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
FindLatestGames is a free data retrieval call binding the contract method 0x254bd683.
Solidity: function findLatestGames(uint32 _gameType, uint256 _start, uint256 _n) view returns((uint256,bytes32,uint64,bytes32,bytes)[] games_)
func (*DisputeGameProxySession) GameAtIndex ¶
func (_DisputeGameProxy *DisputeGameProxySession) GameAtIndex(_index *big.Int) (struct { GameType uint32 Timestamp uint64 Proxy common.Address }, error, )
GameAtIndex is a free data retrieval call binding the contract method 0xbb8aa1fc.
Solidity: function gameAtIndex(uint256 _index) view returns(uint32 gameType_, uint64 timestamp_, address proxy_)
func (*DisputeGameProxySession) GameCount ¶
func (_DisputeGameProxy *DisputeGameProxySession) GameCount() (*big.Int, error)
GameCount is a free data retrieval call binding the contract method 0x4d1975b4.
Solidity: function gameCount() view returns(uint256 gameCount_)
func (*DisputeGameProxySession) GameImpls ¶
func (_DisputeGameProxy *DisputeGameProxySession) GameImpls(arg0 uint32) (common.Address, error)
GameImpls is a free data retrieval call binding the contract method 0x1b685b9e.
Solidity: function gameImpls(uint32 ) view returns(address)
func (*DisputeGameProxySession) Games ¶
func (_DisputeGameProxy *DisputeGameProxySession) Games(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct { Proxy common.Address Timestamp uint64 }, error, )
Games is a free data retrieval call binding the contract method 0x5f0150cb.
Solidity: function games(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) view returns(address proxy_, uint64 timestamp_)
func (*DisputeGameProxySession) GetGameUUID ¶
func (_DisputeGameProxy *DisputeGameProxySession) GetGameUUID(_gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
GetGameUUID is a free data retrieval call binding the contract method 0x96cd9720.
Solidity: function getGameUUID(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) pure returns(bytes32 uuid_)
func (*DisputeGameProxySession) InitBonds ¶
func (_DisputeGameProxy *DisputeGameProxySession) InitBonds(arg0 uint32) (*big.Int, error)
InitBonds is a free data retrieval call binding the contract method 0x6593dc6e.
Solidity: function initBonds(uint32 ) view returns(uint256)
func (*DisputeGameProxySession) Initialize ¶
func (_DisputeGameProxy *DisputeGameProxySession) Initialize(_owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _owner) returns()
func (*DisputeGameProxySession) Owner ¶
func (_DisputeGameProxy *DisputeGameProxySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DisputeGameProxySession) RenounceOwnership ¶
func (_DisputeGameProxy *DisputeGameProxySession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DisputeGameProxySession) SetImplementation ¶
func (_DisputeGameProxy *DisputeGameProxySession) SetImplementation(_gameType uint32, _impl common.Address) (*types.Transaction, error)
SetImplementation is a paid mutator transaction binding the contract method 0x14f6b1a3.
Solidity: function setImplementation(uint32 _gameType, address _impl) returns()
func (*DisputeGameProxySession) SetInitBond ¶
func (_DisputeGameProxy *DisputeGameProxySession) SetInitBond(_gameType uint32, _initBond *big.Int) (*types.Transaction, error)
SetInitBond is a paid mutator transaction binding the contract method 0x1e334240.
Solidity: function setInitBond(uint32 _gameType, uint256 _initBond) returns()
func (*DisputeGameProxySession) TransferOwnership ¶
func (_DisputeGameProxy *DisputeGameProxySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*DisputeGameProxySession) Version ¶
func (_DisputeGameProxy *DisputeGameProxySession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type DisputeGameProxyTransactor ¶
type DisputeGameProxyTransactor struct {
// contains filtered or unexported fields
}
DisputeGameProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDisputeGameProxyTransactor ¶
func NewDisputeGameProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*DisputeGameProxyTransactor, error)
NewDisputeGameProxyTransactor creates a new write-only instance of DisputeGameProxy, bound to a specific deployed contract.
func (*DisputeGameProxyTransactor) Create ¶
func (_DisputeGameProxy *DisputeGameProxyTransactor) Create(opts *bind.TransactOpts, _gameType uint32, _rootClaim [32]byte, _extraData []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x82ecf2f6.
Solidity: function create(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) payable returns(address proxy_)
func (*DisputeGameProxyTransactor) Initialize ¶
func (_DisputeGameProxy *DisputeGameProxyTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _owner) returns()
func (*DisputeGameProxyTransactor) RenounceOwnership ¶
func (_DisputeGameProxy *DisputeGameProxyTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DisputeGameProxyTransactor) SetImplementation ¶
func (_DisputeGameProxy *DisputeGameProxyTransactor) SetImplementation(opts *bind.TransactOpts, _gameType uint32, _impl common.Address) (*types.Transaction, error)
SetImplementation is a paid mutator transaction binding the contract method 0x14f6b1a3.
Solidity: function setImplementation(uint32 _gameType, address _impl) returns()
func (*DisputeGameProxyTransactor) SetInitBond ¶
func (_DisputeGameProxy *DisputeGameProxyTransactor) SetInitBond(opts *bind.TransactOpts, _gameType uint32, _initBond *big.Int) (*types.Transaction, error)
SetInitBond is a paid mutator transaction binding the contract method 0x1e334240.
Solidity: function setInitBond(uint32 _gameType, uint256 _initBond) returns()
func (*DisputeGameProxyTransactor) TransferOwnership ¶
func (_DisputeGameProxy *DisputeGameProxyTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type DisputeGameProxyTransactorRaw ¶
type DisputeGameProxyTransactorRaw struct {
Contract *DisputeGameProxyTransactor // Generic write-only contract binding to access the raw methods on
}
DisputeGameProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DisputeGameProxyTransactorRaw) Transact ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DisputeGameProxyTransactorRaw) Transfer ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorRaw) 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 DisputeGameProxyTransactorSession ¶
type DisputeGameProxyTransactorSession struct { Contract *DisputeGameProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DisputeGameProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DisputeGameProxyTransactorSession) Create ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorSession) Create(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (*types.Transaction, error)
Create is a paid mutator transaction binding the contract method 0x82ecf2f6.
Solidity: function create(uint32 _gameType, bytes32 _rootClaim, bytes _extraData) payable returns(address proxy_)
func (*DisputeGameProxyTransactorSession) Initialize ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorSession) Initialize(_owner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _owner) returns()
func (*DisputeGameProxyTransactorSession) RenounceOwnership ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DisputeGameProxyTransactorSession) SetImplementation ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorSession) SetImplementation(_gameType uint32, _impl common.Address) (*types.Transaction, error)
SetImplementation is a paid mutator transaction binding the contract method 0x14f6b1a3.
Solidity: function setImplementation(uint32 _gameType, address _impl) returns()
func (*DisputeGameProxyTransactorSession) SetInitBond ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorSession) SetInitBond(_gameType uint32, _initBond *big.Int) (*types.Transaction, error)
SetInitBond is a paid mutator transaction binding the contract method 0x1e334240.
Solidity: function setInitBond(uint32 _gameType, uint256 _initBond) returns()
func (*DisputeGameProxyTransactorSession) TransferOwnership ¶
func (_DisputeGameProxy *DisputeGameProxyTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type DisputeGameRaw ¶
type DisputeGameRaw struct {
Contract *DisputeGame // Generic contract binding to access the raw methods on
}
DisputeGameRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DisputeGameRaw) Call ¶
func (_DisputeGame *DisputeGameRaw) 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 (*DisputeGameRaw) Transact ¶
func (_DisputeGame *DisputeGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DisputeGameRaw) Transfer ¶
func (_DisputeGame *DisputeGameRaw) 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 DisputeGameResolved ¶
type DisputeGameResolved struct { Status uint8 Raw types.Log // Blockchain specific contextual infos }
DisputeGameResolved represents a Resolved event raised by the DisputeGame contract.
type DisputeGameResolvedIterator ¶
type DisputeGameResolvedIterator struct { Event *DisputeGameResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameResolvedIterator is returned from FilterResolved and is used to iterate over the raw logs and unpacked data for Resolved events raised by the DisputeGame contract.
func (*DisputeGameResolvedIterator) Close ¶
func (it *DisputeGameResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameResolvedIterator) Error ¶
func (it *DisputeGameResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameResolvedIterator) Next ¶
func (it *DisputeGameResolvedIterator) 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 DisputeGameSession ¶
type DisputeGameSession struct { Contract *DisputeGame // 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 }
DisputeGameSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DisputeGameSession) AbsolutePrestate ¶
func (_DisputeGame *DisputeGameSession) AbsolutePrestate() ([32]byte, error)
AbsolutePrestate is a free data retrieval call binding the contract method 0x8d450a95.
Solidity: function absolutePrestate() view returns(bytes32 absolutePrestate_)
func (*DisputeGameSession) AddLocalData ¶
func (_DisputeGame *DisputeGameSession) AddLocalData(_ident *big.Int, _execLeafIdx *big.Int, _partOffset *big.Int) (*types.Transaction, error)
AddLocalData is a paid mutator transaction binding the contract method 0xf8f43ff6.
Solidity: function addLocalData(uint256 _ident, uint256 _execLeafIdx, uint256 _partOffset) returns()
func (*DisputeGameSession) AnchorStateRegistry ¶
func (_DisputeGame *DisputeGameSession) AnchorStateRegistry() (common.Address, error)
AnchorStateRegistry is a free data retrieval call binding the contract method 0x5c0cba33.
Solidity: function anchorStateRegistry() view returns(address registry_)
func (*DisputeGameSession) Attack ¶
func (_DisputeGame *DisputeGameSession) Attack(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
Attack is a paid mutator transaction binding the contract method 0x472777c6.
Solidity: function attack(bytes32 _disputed, uint256 _parentIndex, bytes32 _claim) payable returns()
func (*DisputeGameSession) ChallengeRootL2Block ¶
func (_DisputeGame *DisputeGameSession) ChallengeRootL2Block(_outputRootProof TypesOutputRootProof, _headerRLP []byte) (*types.Transaction, error)
ChallengeRootL2Block is a paid mutator transaction binding the contract method 0x01935130.
Solidity: function challengeRootL2Block((bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes _headerRLP) returns()
func (*DisputeGameSession) ClaimCredit ¶
func (_DisputeGame *DisputeGameSession) ClaimCredit(_recipient common.Address) (*types.Transaction, error)
ClaimCredit is a paid mutator transaction binding the contract method 0x60e27464.
Solidity: function claimCredit(address _recipient) returns()
func (*DisputeGameSession) ClaimData ¶
func (_DisputeGame *DisputeGameSession) ClaimData(arg0 *big.Int) (struct { ParentIndex uint32 CounteredBy common.Address Claimant common.Address Bond *big.Int Claim [32]byte Position *big.Int Clock *big.Int }, error, )
ClaimData is a free data retrieval call binding the contract method 0xc6f0308c.
Solidity: function claimData(uint256 ) view returns(uint32 parentIndex, address counteredBy, address claimant, uint128 bond, bytes32 claim, uint128 position, uint128 clock)
func (*DisputeGameSession) ClaimDataLen ¶
func (_DisputeGame *DisputeGameSession) ClaimDataLen() (*big.Int, error)
ClaimDataLen is a free data retrieval call binding the contract method 0x8980e0cc.
Solidity: function claimDataLen() view returns(uint256 len_)
func (*DisputeGameSession) Claims ¶
func (_DisputeGame *DisputeGameSession) Claims(arg0 [32]byte) (bool, error)
Claims is a free data retrieval call binding the contract method 0xeff0f592.
Solidity: function claims(bytes32 ) view returns(bool)
func (*DisputeGameSession) ClockExtension ¶
func (_DisputeGame *DisputeGameSession) ClockExtension() (uint64, error)
ClockExtension is a free data retrieval call binding the contract method 0x6b6716c0.
Solidity: function clockExtension() view returns(uint64 clockExtension_)
func (*DisputeGameSession) CreatedAt ¶
func (_DisputeGame *DisputeGameSession) CreatedAt() (uint64, error)
CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
Solidity: function createdAt() view returns(uint64)
func (*DisputeGameSession) Credit ¶
Credit is a free data retrieval call binding the contract method 0xd5d44d80.
Solidity: function credit(address ) view returns(uint256)
func (*DisputeGameSession) Defend ¶
func (_DisputeGame *DisputeGameSession) Defend(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
Defend is a paid mutator transaction binding the contract method 0x7b0f0adc.
Solidity: function defend(bytes32 _disputed, uint256 _parentIndex, bytes32 _claim) payable returns()
func (*DisputeGameSession) ExtraData ¶
func (_DisputeGame *DisputeGameSession) ExtraData() ([]byte, error)
ExtraData is a free data retrieval call binding the contract method 0x609d3334.
Solidity: function extraData() pure returns(bytes extraData_)
func (*DisputeGameSession) GameCreator ¶
func (_DisputeGame *DisputeGameSession) GameCreator() (common.Address, error)
GameCreator is a free data retrieval call binding the contract method 0x37b1b229.
Solidity: function gameCreator() pure returns(address creator_)
func (*DisputeGameSession) GameData ¶
func (_DisputeGame *DisputeGameSession) GameData() (struct { GameType uint32 RootClaim [32]byte ExtraData []byte }, error, )
GameData is a free data retrieval call binding the contract method 0xfa24f743.
Solidity: function gameData() view returns(uint32 gameType_, bytes32 rootClaim_, bytes extraData_)
func (*DisputeGameSession) GameType ¶
func (_DisputeGame *DisputeGameSession) GameType() (uint32, error)
GameType is a free data retrieval call binding the contract method 0xbbdc02db.
Solidity: function gameType() view returns(uint32 gameType_)
func (*DisputeGameSession) GetChallengerDuration ¶
func (_DisputeGame *DisputeGameSession) GetChallengerDuration(_claimIndex *big.Int) (uint64, error)
GetChallengerDuration is a free data retrieval call binding the contract method 0xbd8da956.
Solidity: function getChallengerDuration(uint256 _claimIndex) view returns(uint64 duration_)
func (*DisputeGameSession) GetNumToResolve ¶
GetNumToResolve is a free data retrieval call binding the contract method 0x5a5fa2d9.
Solidity: function getNumToResolve(uint256 _claimIndex) view returns(uint256 numRemainingChildren_)
func (*DisputeGameSession) GetRequiredBond ¶
GetRequiredBond is a free data retrieval call binding the contract method 0xc395e1ca.
Solidity: function getRequiredBond(uint128 _position) view returns(uint256 requiredBond_)
func (*DisputeGameSession) Initialize ¶
func (_DisputeGame *DisputeGameSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() payable returns()
func (*DisputeGameSession) L1Head ¶
func (_DisputeGame *DisputeGameSession) L1Head() ([32]byte, error)
L1Head is a free data retrieval call binding the contract method 0x6361506d.
Solidity: function l1Head() pure returns(bytes32 l1Head_)
func (*DisputeGameSession) L2BlockNumber ¶
func (_DisputeGame *DisputeGameSession) L2BlockNumber() (*big.Int, error)
L2BlockNumber is a free data retrieval call binding the contract method 0x8b85902b.
Solidity: function l2BlockNumber() pure returns(uint256 l2BlockNumber_)
func (*DisputeGameSession) L2BlockNumberChallenged ¶
func (_DisputeGame *DisputeGameSession) L2BlockNumberChallenged() (bool, error)
L2BlockNumberChallenged is a free data retrieval call binding the contract method 0x3e3ac912.
Solidity: function l2BlockNumberChallenged() view returns(bool)
func (*DisputeGameSession) L2BlockNumberChallenger ¶
func (_DisputeGame *DisputeGameSession) L2BlockNumberChallenger() (common.Address, error)
L2BlockNumberChallenger is a free data retrieval call binding the contract method 0x30dbe570.
Solidity: function l2BlockNumberChallenger() view returns(address)
func (*DisputeGameSession) L2ChainId ¶
func (_DisputeGame *DisputeGameSession) L2ChainId() (*big.Int, error)
L2ChainId is a free data retrieval call binding the contract method 0xd6ae3cd5.
Solidity: function l2ChainId() view returns(uint256 l2ChainId_)
func (*DisputeGameSession) MaxClockDuration ¶
func (_DisputeGame *DisputeGameSession) MaxClockDuration() (uint64, error)
MaxClockDuration is a free data retrieval call binding the contract method 0xdabd396d.
Solidity: function maxClockDuration() view returns(uint64 maxClockDuration_)
func (*DisputeGameSession) MaxGameDepth ¶
func (_DisputeGame *DisputeGameSession) MaxGameDepth() (*big.Int, error)
MaxGameDepth is a free data retrieval call binding the contract method 0xfa315aa9.
Solidity: function maxGameDepth() view returns(uint256 maxGameDepth_)
func (*DisputeGameSession) Move ¶
func (_DisputeGame *DisputeGameSession) Move(_disputed [32]byte, _challengeIndex *big.Int, _claim [32]byte, _isAttack bool) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0x6f034409.
Solidity: function move(bytes32 _disputed, uint256 _challengeIndex, bytes32 _claim, bool _isAttack) payable returns()
func (*DisputeGameSession) ResolutionCheckpoints ¶
func (_DisputeGame *DisputeGameSession) ResolutionCheckpoints(arg0 *big.Int) (struct { InitialCheckpointComplete bool SubgameIndex uint32 LeftmostPosition *big.Int CounteredBy common.Address }, error, )
ResolutionCheckpoints is a free data retrieval call binding the contract method 0xa445ece6.
Solidity: function resolutionCheckpoints(uint256 ) view returns(bool initialCheckpointComplete, uint32 subgameIndex, uint128 leftmostPosition, address counteredBy)
func (*DisputeGameSession) Resolve ¶
func (_DisputeGame *DisputeGameSession) Resolve() (*types.Transaction, error)
Resolve is a paid mutator transaction binding the contract method 0x2810e1d6.
Solidity: function resolve() returns(uint8 status_)
func (*DisputeGameSession) ResolveClaim ¶
func (_DisputeGame *DisputeGameSession) ResolveClaim(_claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
ResolveClaim is a paid mutator transaction binding the contract method 0x03c2924d.
Solidity: function resolveClaim(uint256 _claimIndex, uint256 _numToResolve) returns()
func (*DisputeGameSession) ResolvedAt ¶
func (_DisputeGame *DisputeGameSession) ResolvedAt() (uint64, error)
ResolvedAt is a free data retrieval call binding the contract method 0x19effeb4.
Solidity: function resolvedAt() view returns(uint64)
func (*DisputeGameSession) ResolvedSubgames ¶
func (_DisputeGame *DisputeGameSession) ResolvedSubgames(arg0 *big.Int) (bool, error)
ResolvedSubgames is a free data retrieval call binding the contract method 0xfe2bbeb2.
Solidity: function resolvedSubgames(uint256 ) view returns(bool)
func (*DisputeGameSession) RootClaim ¶
func (_DisputeGame *DisputeGameSession) RootClaim() ([32]byte, error)
RootClaim is a free data retrieval call binding the contract method 0xbcef3b55.
Solidity: function rootClaim() pure returns(bytes32 rootClaim_)
func (*DisputeGameSession) SplitDepth ¶
func (_DisputeGame *DisputeGameSession) SplitDepth() (*big.Int, error)
SplitDepth is a free data retrieval call binding the contract method 0xec5e6308.
Solidity: function splitDepth() view returns(uint256 splitDepth_)
func (*DisputeGameSession) StartingBlockNumber ¶
func (_DisputeGame *DisputeGameSession) StartingBlockNumber() (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256 startingBlockNumber_)
func (*DisputeGameSession) StartingOutputRoot ¶
func (_DisputeGame *DisputeGameSession) StartingOutputRoot() (struct { Root [32]byte L2BlockNumber *big.Int }, error, )
StartingOutputRoot is a free data retrieval call binding the contract method 0x57da950e.
Solidity: function startingOutputRoot() view returns(bytes32 root, uint256 l2BlockNumber)
func (*DisputeGameSession) StartingRootHash ¶
func (_DisputeGame *DisputeGameSession) StartingRootHash() ([32]byte, error)
StartingRootHash is a free data retrieval call binding the contract method 0x25fc2ace.
Solidity: function startingRootHash() view returns(bytes32 startingRootHash_)
func (*DisputeGameSession) Status ¶
func (_DisputeGame *DisputeGameSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*DisputeGameSession) Step ¶
func (_DisputeGame *DisputeGameSession) Step(_claimIndex *big.Int, _isAttack bool, _stateData []byte, _proof []byte) (*types.Transaction, error)
Step is a paid mutator transaction binding the contract method 0xd8cc1a3c.
Solidity: function step(uint256 _claimIndex, bool _isAttack, bytes _stateData, bytes _proof) returns()
func (*DisputeGameSession) Subgames ¶
Subgames is a free data retrieval call binding the contract method 0x2ad69aeb.
Solidity: function subgames(uint256 , uint256 ) view returns(uint256)
func (*DisputeGameSession) Version ¶
func (_DisputeGame *DisputeGameSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type DisputeGameTransactor ¶
type DisputeGameTransactor struct {
// contains filtered or unexported fields
}
DisputeGameTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDisputeGameTransactor ¶
func NewDisputeGameTransactor(address common.Address, transactor bind.ContractTransactor) (*DisputeGameTransactor, error)
NewDisputeGameTransactor creates a new write-only instance of DisputeGame, bound to a specific deployed contract.
func (*DisputeGameTransactor) AddLocalData ¶
func (_DisputeGame *DisputeGameTransactor) AddLocalData(opts *bind.TransactOpts, _ident *big.Int, _execLeafIdx *big.Int, _partOffset *big.Int) (*types.Transaction, error)
AddLocalData is a paid mutator transaction binding the contract method 0xf8f43ff6.
Solidity: function addLocalData(uint256 _ident, uint256 _execLeafIdx, uint256 _partOffset) returns()
func (*DisputeGameTransactor) Attack ¶
func (_DisputeGame *DisputeGameTransactor) Attack(opts *bind.TransactOpts, _disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
Attack is a paid mutator transaction binding the contract method 0x472777c6.
Solidity: function attack(bytes32 _disputed, uint256 _parentIndex, bytes32 _claim) payable returns()
func (*DisputeGameTransactor) ChallengeRootL2Block ¶
func (_DisputeGame *DisputeGameTransactor) ChallengeRootL2Block(opts *bind.TransactOpts, _outputRootProof TypesOutputRootProof, _headerRLP []byte) (*types.Transaction, error)
ChallengeRootL2Block is a paid mutator transaction binding the contract method 0x01935130.
Solidity: function challengeRootL2Block((bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes _headerRLP) returns()
func (*DisputeGameTransactor) ClaimCredit ¶
func (_DisputeGame *DisputeGameTransactor) ClaimCredit(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
ClaimCredit is a paid mutator transaction binding the contract method 0x60e27464.
Solidity: function claimCredit(address _recipient) returns()
func (*DisputeGameTransactor) Defend ¶
func (_DisputeGame *DisputeGameTransactor) Defend(opts *bind.TransactOpts, _disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
Defend is a paid mutator transaction binding the contract method 0x7b0f0adc.
Solidity: function defend(bytes32 _disputed, uint256 _parentIndex, bytes32 _claim) payable returns()
func (*DisputeGameTransactor) Initialize ¶
func (_DisputeGame *DisputeGameTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() payable returns()
func (*DisputeGameTransactor) Move ¶
func (_DisputeGame *DisputeGameTransactor) Move(opts *bind.TransactOpts, _disputed [32]byte, _challengeIndex *big.Int, _claim [32]byte, _isAttack bool) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0x6f034409.
Solidity: function move(bytes32 _disputed, uint256 _challengeIndex, bytes32 _claim, bool _isAttack) payable returns()
func (*DisputeGameTransactor) Resolve ¶
func (_DisputeGame *DisputeGameTransactor) Resolve(opts *bind.TransactOpts) (*types.Transaction, error)
Resolve is a paid mutator transaction binding the contract method 0x2810e1d6.
Solidity: function resolve() returns(uint8 status_)
func (*DisputeGameTransactor) ResolveClaim ¶
func (_DisputeGame *DisputeGameTransactor) ResolveClaim(opts *bind.TransactOpts, _claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
ResolveClaim is a paid mutator transaction binding the contract method 0x03c2924d.
Solidity: function resolveClaim(uint256 _claimIndex, uint256 _numToResolve) returns()
func (*DisputeGameTransactor) Step ¶
func (_DisputeGame *DisputeGameTransactor) Step(opts *bind.TransactOpts, _claimIndex *big.Int, _isAttack bool, _stateData []byte, _proof []byte) (*types.Transaction, error)
Step is a paid mutator transaction binding the contract method 0xd8cc1a3c.
Solidity: function step(uint256 _claimIndex, bool _isAttack, bytes _stateData, bytes _proof) returns()
type DisputeGameTransactorRaw ¶
type DisputeGameTransactorRaw struct {
Contract *DisputeGameTransactor // Generic write-only contract binding to access the raw methods on
}
DisputeGameTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DisputeGameTransactorRaw) Transact ¶
func (_DisputeGame *DisputeGameTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DisputeGameTransactorRaw) Transfer ¶
func (_DisputeGame *DisputeGameTransactorRaw) 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 DisputeGameTransactorSession ¶
type DisputeGameTransactorSession struct { Contract *DisputeGameTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DisputeGameTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DisputeGameTransactorSession) AddLocalData ¶
func (_DisputeGame *DisputeGameTransactorSession) AddLocalData(_ident *big.Int, _execLeafIdx *big.Int, _partOffset *big.Int) (*types.Transaction, error)
AddLocalData is a paid mutator transaction binding the contract method 0xf8f43ff6.
Solidity: function addLocalData(uint256 _ident, uint256 _execLeafIdx, uint256 _partOffset) returns()
func (*DisputeGameTransactorSession) Attack ¶
func (_DisputeGame *DisputeGameTransactorSession) Attack(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
Attack is a paid mutator transaction binding the contract method 0x472777c6.
Solidity: function attack(bytes32 _disputed, uint256 _parentIndex, bytes32 _claim) payable returns()
func (*DisputeGameTransactorSession) ChallengeRootL2Block ¶
func (_DisputeGame *DisputeGameTransactorSession) ChallengeRootL2Block(_outputRootProof TypesOutputRootProof, _headerRLP []byte) (*types.Transaction, error)
ChallengeRootL2Block is a paid mutator transaction binding the contract method 0x01935130.
Solidity: function challengeRootL2Block((bytes32,bytes32,bytes32,bytes32) _outputRootProof, bytes _headerRLP) returns()
func (*DisputeGameTransactorSession) ClaimCredit ¶
func (_DisputeGame *DisputeGameTransactorSession) ClaimCredit(_recipient common.Address) (*types.Transaction, error)
ClaimCredit is a paid mutator transaction binding the contract method 0x60e27464.
Solidity: function claimCredit(address _recipient) returns()
func (*DisputeGameTransactorSession) Defend ¶
func (_DisputeGame *DisputeGameTransactorSession) Defend(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
Defend is a paid mutator transaction binding the contract method 0x7b0f0adc.
Solidity: function defend(bytes32 _disputed, uint256 _parentIndex, bytes32 _claim) payable returns()
func (*DisputeGameTransactorSession) Initialize ¶
func (_DisputeGame *DisputeGameTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() payable returns()
func (*DisputeGameTransactorSession) Move ¶
func (_DisputeGame *DisputeGameTransactorSession) Move(_disputed [32]byte, _challengeIndex *big.Int, _claim [32]byte, _isAttack bool) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0x6f034409.
Solidity: function move(bytes32 _disputed, uint256 _challengeIndex, bytes32 _claim, bool _isAttack) payable returns()
func (*DisputeGameTransactorSession) Resolve ¶
func (_DisputeGame *DisputeGameTransactorSession) Resolve() (*types.Transaction, error)
Resolve is a paid mutator transaction binding the contract method 0x2810e1d6.
Solidity: function resolve() returns(uint8 status_)
func (*DisputeGameTransactorSession) ResolveClaim ¶
func (_DisputeGame *DisputeGameTransactorSession) ResolveClaim(_claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
ResolveClaim is a paid mutator transaction binding the contract method 0x03c2924d.
Solidity: function resolveClaim(uint256 _claimIndex, uint256 _numToResolve) returns()
func (*DisputeGameTransactorSession) Step ¶
func (_DisputeGame *DisputeGameTransactorSession) Step(_claimIndex *big.Int, _isAttack bool, _stateData []byte, _proof []byte) (*types.Transaction, error)
Step is a paid mutator transaction binding the contract method 0xd8cc1a3c.
Solidity: function step(uint256 _claimIndex, bool _isAttack, bytes _stateData, bytes _proof) returns()
type IDisputeGameFactoryGameSearchResult ¶
type IDisputeGameFactoryGameSearchResult struct { Index *big.Int Metadata [32]byte Timestamp uint64 RootClaim [32]byte ExtraData []byte }
IDisputeGameFactoryGameSearchResult is an auto generated low-level Go binding around an user-defined struct.
type OutputRoot ¶
OutputRoot is an auto generated low-level Go binding around an user-defined struct.
type RateAndRetryDisputeGameClient ¶
type RateAndRetryDisputeGameClient struct {
// contains filtered or unexported fields
}
func NewRateAndRetryDisputeGameClient ¶
func NewRateAndRetryDisputeGameClient(game *DisputeGame, limit rate.Limit, burst int) *RateAndRetryDisputeGameClient