Documentation ¶
Index ¶
- Variables
- type DisputeGameFactory
- type DisputeGameFactoryCaller
- func (_DisputeGameFactory *DisputeGameFactoryCaller) FindLatestGames(opts *bind.CallOpts, _gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) GameAtIndex(opts *bind.CallOpts, _index *big.Int) (struct{ ... }, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) GameCount(opts *bind.CallOpts) (*big.Int, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) GameImpls(opts *bind.CallOpts, arg0 uint32) (common.Address, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) Games(opts *bind.CallOpts, _gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct{ ... }, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) GetGameUUID(opts *bind.CallOpts, _gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) InitBonds(opts *bind.CallOpts, arg0 uint32) (*big.Int, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_DisputeGameFactory *DisputeGameFactoryCaller) Version(opts *bind.CallOpts) (string, error)
- type DisputeGameFactoryCallerRaw
- type DisputeGameFactoryCallerSession
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) FindLatestGames(_gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) GameAtIndex(_index *big.Int) (struct{ ... }, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) GameCount() (*big.Int, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) GameImpls(arg0 uint32) (common.Address, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) Games(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct{ ... }, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) GetGameUUID(_gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) InitBonds(arg0 uint32) (*big.Int, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) Owner() (common.Address, error)
- func (_DisputeGameFactory *DisputeGameFactoryCallerSession) Version() (string, error)
- type DisputeGameFactoryDisputeGameCreated
- type DisputeGameFactoryDisputeGameCreatedIterator
- type DisputeGameFactoryFilterer
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterDisputeGameCreated(opts *bind.FilterOpts, disputeProxy []common.Address, gameType []uint32, ...) (*DisputeGameFactoryDisputeGameCreatedIterator, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterImplementationSet(opts *bind.FilterOpts, impl []common.Address, gameType []uint32) (*DisputeGameFactoryImplementationSetIterator, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterInitBondUpdated(opts *bind.FilterOpts, gameType []uint32, newBond []*big.Int) (*DisputeGameFactoryInitBondUpdatedIterator, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterInitialized(opts *bind.FilterOpts) (*DisputeGameFactoryInitializedIterator, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*DisputeGameFactoryOwnershipTransferredIterator, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseDisputeGameCreated(log types.Log) (*DisputeGameFactoryDisputeGameCreated, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseImplementationSet(log types.Log) (*DisputeGameFactoryImplementationSet, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseInitBondUpdated(log types.Log) (*DisputeGameFactoryInitBondUpdated, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseInitialized(log types.Log) (*DisputeGameFactoryInitialized, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseOwnershipTransferred(log types.Log) (*DisputeGameFactoryOwnershipTransferred, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchDisputeGameCreated(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryDisputeGameCreated, ...) (event.Subscription, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchImplementationSet(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryImplementationSet, ...) (event.Subscription, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchInitBondUpdated(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryInitBondUpdated, ...) (event.Subscription, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryInitialized) (event.Subscription, error)
- func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryOwnershipTransferred, ...) (event.Subscription, error)
- type DisputeGameFactoryImplementationSet
- type DisputeGameFactoryImplementationSetIterator
- type DisputeGameFactoryInitBondUpdated
- type DisputeGameFactoryInitBondUpdatedIterator
- type DisputeGameFactoryInitialized
- type DisputeGameFactoryInitializedIterator
- type DisputeGameFactoryOwnershipTransferred
- type DisputeGameFactoryOwnershipTransferredIterator
- type DisputeGameFactoryRaw
- func (_DisputeGameFactory *DisputeGameFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DisputeGameFactory *DisputeGameFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DisputeGameFactorySession
- func (_DisputeGameFactory *DisputeGameFactorySession) Create(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) FindLatestGames(_gameType uint32, _start *big.Int, _n *big.Int) ([]IDisputeGameFactoryGameSearchResult, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) GameAtIndex(_index *big.Int) (struct{ ... }, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) GameCount() (*big.Int, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) GameImpls(arg0 uint32) (common.Address, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) Games(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (struct{ ... }, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) GetGameUUID(_gameType uint32, _rootClaim [32]byte, _extraData []byte) ([32]byte, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) InitBonds(arg0 uint32) (*big.Int, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) Initialize(_owner common.Address) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) Owner() (common.Address, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) RenounceOwnership() (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) SetImplementation(_gameType uint32, _impl common.Address) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) SetInitBond(_gameType uint32, _initBond *big.Int) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactorySession) Version() (string, error)
- type DisputeGameFactoryTransactor
- func (_DisputeGameFactory *DisputeGameFactoryTransactor) Create(opts *bind.TransactOpts, _gameType uint32, _rootClaim [32]byte, ...) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactor) Initialize(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactor) SetImplementation(opts *bind.TransactOpts, _gameType uint32, _impl common.Address) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactor) SetInitBond(opts *bind.TransactOpts, _gameType uint32, _initBond *big.Int) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type DisputeGameFactoryTransactorRaw
- type DisputeGameFactoryTransactorSession
- func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) Create(_gameType uint32, _rootClaim [32]byte, _extraData []byte) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) Initialize(_owner common.Address) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) SetImplementation(_gameType uint32, _impl common.Address) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) SetInitBond(_gameType uint32, _initBond *big.Int) (*types.Transaction, error)
- func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type FaultDisputeGame
- type FaultDisputeGameCaller
- func (_FaultDisputeGame *FaultDisputeGameCaller) AbsolutePrestate(opts *bind.CallOpts) ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) AnchorStateRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) ClaimData(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) ClaimDataLen(opts *bind.CallOpts) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) Claims(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) ClockExtension(opts *bind.CallOpts) (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) CreatedAt(opts *bind.CallOpts) (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) Credit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) ExtraData(opts *bind.CallOpts) ([]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) GameCreator(opts *bind.CallOpts) (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) GameData(opts *bind.CallOpts) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) GameType(opts *bind.CallOpts) (uint32, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) GetChallengerDuration(opts *bind.CallOpts, _claimIndex *big.Int) (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) GetNumToResolve(opts *bind.CallOpts, _claimIndex *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) GetRequiredBond(opts *bind.CallOpts, _position *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) L1Head(opts *bind.CallOpts) ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) L2BlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) L2BlockNumberChallenged(opts *bind.CallOpts) (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) L2BlockNumberChallenger(opts *bind.CallOpts) (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) L2ChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) MaxClockDuration(opts *bind.CallOpts) (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) MaxGameDepth(opts *bind.CallOpts) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) ResolutionCheckpoints(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) ResolvedAt(opts *bind.CallOpts) (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) ResolvedSubgames(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) RootClaim(opts *bind.CallOpts) ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) SplitDepth(opts *bind.CallOpts) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) StartingOutputRoot(opts *bind.CallOpts) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) StartingRootHash(opts *bind.CallOpts) ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) Status(opts *bind.CallOpts) (uint8, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) Subgames(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) Version(opts *bind.CallOpts) (string, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) Vm(opts *bind.CallOpts) (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCaller) Weth(opts *bind.CallOpts) (common.Address, error)
- type FaultDisputeGameCallerRaw
- type FaultDisputeGameCallerSession
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) AbsolutePrestate() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) AnchorStateRegistry() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) ClaimData(arg0 *big.Int) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) ClaimDataLen() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) Claims(arg0 [32]byte) (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) ClockExtension() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) CreatedAt() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) Credit(arg0 common.Address) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) ExtraData() ([]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) GameCreator() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) GameData() (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) GameType() (uint32, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) GetChallengerDuration(_claimIndex *big.Int) (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) GetNumToResolve(_claimIndex *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) GetRequiredBond(_position *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) L1Head() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2BlockNumber() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2BlockNumberChallenged() (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2BlockNumberChallenger() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2ChainId() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) MaxClockDuration() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) MaxGameDepth() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) ResolutionCheckpoints(arg0 *big.Int) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) ResolvedAt() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) ResolvedSubgames(arg0 *big.Int) (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) RootClaim() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) SplitDepth() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) StartingBlockNumber() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) StartingOutputRoot() (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) StartingRootHash() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) Status() (uint8, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) Subgames(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) Version() (string, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) Vm() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameCallerSession) Weth() (common.Address, error)
- type FaultDisputeGameFilterer
- func (_FaultDisputeGame *FaultDisputeGameFilterer) FilterMove(opts *bind.FilterOpts, parentIndex []*big.Int, claim [][32]byte, ...) (*FaultDisputeGameMoveIterator, error)
- func (_FaultDisputeGame *FaultDisputeGameFilterer) FilterResolved(opts *bind.FilterOpts, status []uint8) (*FaultDisputeGameResolvedIterator, error)
- func (_FaultDisputeGame *FaultDisputeGameFilterer) ParseMove(log types.Log) (*FaultDisputeGameMove, error)
- func (_FaultDisputeGame *FaultDisputeGameFilterer) ParseResolved(log types.Log) (*FaultDisputeGameResolved, error)
- func (_FaultDisputeGame *FaultDisputeGameFilterer) WatchMove(opts *bind.WatchOpts, sink chan<- *FaultDisputeGameMove, ...) (event.Subscription, error)
- func (_FaultDisputeGame *FaultDisputeGameFilterer) WatchResolved(opts *bind.WatchOpts, sink chan<- *FaultDisputeGameResolved, status []uint8) (event.Subscription, error)
- type FaultDisputeGameMove
- type FaultDisputeGameMoveIterator
- type FaultDisputeGameRaw
- func (_FaultDisputeGame *FaultDisputeGameRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FaultDisputeGame *FaultDisputeGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FaultDisputeGameResolved
- type FaultDisputeGameResolvedIterator
- type FaultDisputeGameSession
- func (_FaultDisputeGame *FaultDisputeGameSession) AbsolutePrestate() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) AddLocalData(_ident *big.Int, _execLeafIdx *big.Int, _partOffset *big.Int) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) AnchorStateRegistry() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Attack(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ChallengeRootL2Block(_outputRootProof TypesOutputRootProof, _headerRLP []byte) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ClaimCredit(_recipient common.Address) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ClaimData(arg0 *big.Int) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ClaimDataLen() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Claims(arg0 [32]byte) (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ClockExtension() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) CreatedAt() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Credit(arg0 common.Address) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Defend(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ExtraData() ([]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) GameCreator() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) GameData() (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) GameType() (uint32, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) GetChallengerDuration(_claimIndex *big.Int) (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) GetNumToResolve(_claimIndex *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) GetRequiredBond(_position *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Initialize() (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) L1Head() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) L2BlockNumber() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) L2BlockNumberChallenged() (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) L2BlockNumberChallenger() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) L2ChainId() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) MaxClockDuration() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) MaxGameDepth() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Move(_disputed [32]byte, _challengeIndex *big.Int, _claim [32]byte, _isAttack bool) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ResolutionCheckpoints(arg0 *big.Int) (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Resolve() (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ResolveClaim(_claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ResolvedAt() (uint64, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) ResolvedSubgames(arg0 *big.Int) (bool, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) RootClaim() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) SplitDepth() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) StartingBlockNumber() (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) StartingOutputRoot() (struct{ ... }, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) StartingRootHash() ([32]byte, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Status() (uint8, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Step(_claimIndex *big.Int, _isAttack bool, _stateData []byte, _proof []byte) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Subgames(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Version() (string, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Vm() (common.Address, error)
- func (_FaultDisputeGame *FaultDisputeGameSession) Weth() (common.Address, error)
- type FaultDisputeGameTransactor
- func (_FaultDisputeGame *FaultDisputeGameTransactor) AddLocalData(opts *bind.TransactOpts, _ident *big.Int, _execLeafIdx *big.Int, ...) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) Attack(opts *bind.TransactOpts, _disputed [32]byte, _parentIndex *big.Int, ...) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) ChallengeRootL2Block(opts *bind.TransactOpts, _outputRootProof TypesOutputRootProof, ...) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) ClaimCredit(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) Defend(opts *bind.TransactOpts, _disputed [32]byte, _parentIndex *big.Int, ...) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) Move(opts *bind.TransactOpts, _disputed [32]byte, _challengeIndex *big.Int, ...) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) Resolve(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) ResolveClaim(opts *bind.TransactOpts, _claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactor) Step(opts *bind.TransactOpts, _claimIndex *big.Int, _isAttack bool, ...) (*types.Transaction, error)
- type FaultDisputeGameTransactorRaw
- type FaultDisputeGameTransactorSession
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) AddLocalData(_ident *big.Int, _execLeafIdx *big.Int, _partOffset *big.Int) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Attack(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) ChallengeRootL2Block(_outputRootProof TypesOutputRootProof, _headerRLP []byte) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) ClaimCredit(_recipient common.Address) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Defend(_disputed [32]byte, _parentIndex *big.Int, _claim [32]byte) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Initialize() (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Move(_disputed [32]byte, _challengeIndex *big.Int, _claim [32]byte, _isAttack bool) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Resolve() (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) ResolveClaim(_claimIndex *big.Int, _numToResolve *big.Int) (*types.Transaction, error)
- func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Step(_claimIndex *big.Int, _isAttack bool, _stateData []byte, _proof []byte) (*types.Transaction, error)
- type IDisputeGameFactoryGameSearchResult
- type TypesOutputRootProof
Constants ¶
This section is empty.
Variables ¶
var DisputeGameFactoryABI = DisputeGameFactoryMetaData.ABI
DisputeGameFactoryABI is the input ABI used to generate the binding from. Deprecated: Use DisputeGameFactoryMetaData.ABI instead.
var DisputeGameFactoryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\"},{\"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\":\"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\"}]",
}
DisputeGameFactoryMetaData contains all meta data concerning the DisputeGameFactory contract.
var FaultDisputeGameABI = FaultDisputeGameMetaData.ABI
FaultDisputeGameABI is the input ABI used to generate the binding from. Deprecated: Use FaultDisputeGameMetaData.ABI instead.
var FaultDisputeGameMetaData = &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\":\"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\"},{\"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\":\"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\":\"InvalidChallengePeriod\",\"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\"}]",
}
FaultDisputeGameMetaData contains all meta data concerning the FaultDisputeGame contract.
Functions ¶
This section is empty.
Types ¶
type DisputeGameFactory ¶
type DisputeGameFactory struct { DisputeGameFactoryCaller // Read-only binding to the contract DisputeGameFactoryTransactor // Write-only binding to the contract DisputeGameFactoryFilterer // Log filterer for contract events }
DisputeGameFactory is an auto generated Go binding around an Ethereum contract.
func NewDisputeGameFactory ¶
func NewDisputeGameFactory(address common.Address, backend bind.ContractBackend) (*DisputeGameFactory, error)
NewDisputeGameFactory creates a new instance of DisputeGameFactory, bound to a specific deployed contract.
type DisputeGameFactoryCaller ¶
type DisputeGameFactoryCaller struct {
// contains filtered or unexported fields
}
DisputeGameFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDisputeGameFactoryCaller ¶
func NewDisputeGameFactoryCaller(address common.Address, caller bind.ContractCaller) (*DisputeGameFactoryCaller, error)
NewDisputeGameFactoryCaller creates a new read-only instance of DisputeGameFactory, bound to a specific deployed contract.
func (*DisputeGameFactoryCaller) FindLatestGames ¶
func (_DisputeGameFactory *DisputeGameFactoryCaller) 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 (*DisputeGameFactoryCaller) GameAtIndex ¶
func (_DisputeGameFactory *DisputeGameFactoryCaller) 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 (*DisputeGameFactoryCaller) GameCount ¶
func (_DisputeGameFactory *DisputeGameFactoryCaller) GameCount(opts *bind.CallOpts) (*big.Int, error)
GameCount is a free data retrieval call binding the contract method 0x4d1975b4.
Solidity: function gameCount() view returns(uint256 gameCount_)
func (*DisputeGameFactoryCaller) GameImpls ¶
func (_DisputeGameFactory *DisputeGameFactoryCaller) 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 (*DisputeGameFactoryCaller) Games ¶
func (_DisputeGameFactory *DisputeGameFactoryCaller) 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 (*DisputeGameFactoryCaller) GetGameUUID ¶
func (_DisputeGameFactory *DisputeGameFactoryCaller) 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 (*DisputeGameFactoryCaller) InitBonds ¶
func (_DisputeGameFactory *DisputeGameFactoryCaller) 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 DisputeGameFactoryCallerRaw ¶
type DisputeGameFactoryCallerRaw struct {
Contract *DisputeGameFactoryCaller // Generic read-only contract binding to access the raw methods on
}
DisputeGameFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DisputeGameFactoryCallerRaw) Call ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerRaw) 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 DisputeGameFactoryCallerSession ¶
type DisputeGameFactoryCallerSession struct { Contract *DisputeGameFactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DisputeGameFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DisputeGameFactoryCallerSession) FindLatestGames ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) 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 (*DisputeGameFactoryCallerSession) GameAtIndex ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) 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 (*DisputeGameFactoryCallerSession) GameCount ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) GameCount() (*big.Int, error)
GameCount is a free data retrieval call binding the contract method 0x4d1975b4.
Solidity: function gameCount() view returns(uint256 gameCount_)
func (*DisputeGameFactoryCallerSession) GameImpls ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) 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 (*DisputeGameFactoryCallerSession) Games ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) 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 (*DisputeGameFactoryCallerSession) GetGameUUID ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) 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 (*DisputeGameFactoryCallerSession) InitBonds ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) 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 (*DisputeGameFactoryCallerSession) Owner ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DisputeGameFactoryCallerSession) Version ¶
func (_DisputeGameFactory *DisputeGameFactoryCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type DisputeGameFactoryDisputeGameCreated ¶
type DisputeGameFactoryDisputeGameCreated struct { DisputeProxy common.Address GameType uint32 RootClaim [32]byte Raw types.Log // Blockchain specific contextual infos }
DisputeGameFactoryDisputeGameCreated represents a DisputeGameCreated event raised by the DisputeGameFactory contract.
type DisputeGameFactoryDisputeGameCreatedIterator ¶
type DisputeGameFactoryDisputeGameCreatedIterator struct { Event *DisputeGameFactoryDisputeGameCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameFactoryDisputeGameCreatedIterator is returned from FilterDisputeGameCreated and is used to iterate over the raw logs and unpacked data for DisputeGameCreated events raised by the DisputeGameFactory contract.
func (*DisputeGameFactoryDisputeGameCreatedIterator) Close ¶
func (it *DisputeGameFactoryDisputeGameCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameFactoryDisputeGameCreatedIterator) Error ¶
func (it *DisputeGameFactoryDisputeGameCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameFactoryDisputeGameCreatedIterator) Next ¶
func (it *DisputeGameFactoryDisputeGameCreatedIterator) 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 DisputeGameFactoryFilterer ¶
type DisputeGameFactoryFilterer struct {
// contains filtered or unexported fields
}
DisputeGameFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDisputeGameFactoryFilterer ¶
func NewDisputeGameFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*DisputeGameFactoryFilterer, error)
NewDisputeGameFactoryFilterer creates a new log filterer instance of DisputeGameFactory, bound to a specific deployed contract.
func (*DisputeGameFactoryFilterer) FilterDisputeGameCreated ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterDisputeGameCreated(opts *bind.FilterOpts, disputeProxy []common.Address, gameType []uint32, rootClaim [][32]byte) (*DisputeGameFactoryDisputeGameCreatedIterator, 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 (*DisputeGameFactoryFilterer) FilterImplementationSet ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterImplementationSet(opts *bind.FilterOpts, impl []common.Address, gameType []uint32) (*DisputeGameFactoryImplementationSetIterator, error)
FilterImplementationSet is a free log retrieval operation binding the contract event 0xff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de.
Solidity: event ImplementationSet(address indexed impl, uint32 indexed gameType)
func (*DisputeGameFactoryFilterer) FilterInitBondUpdated ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterInitBondUpdated(opts *bind.FilterOpts, gameType []uint32, newBond []*big.Int) (*DisputeGameFactoryInitBondUpdatedIterator, error)
FilterInitBondUpdated is a free log retrieval operation binding the contract event 0x74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca.
Solidity: event InitBondUpdated(uint32 indexed gameType, uint256 indexed newBond)
func (*DisputeGameFactoryFilterer) FilterInitialized ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterInitialized(opts *bind.FilterOpts) (*DisputeGameFactoryInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DisputeGameFactoryFilterer) FilterOwnershipTransferred ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DisputeGameFactoryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DisputeGameFactoryFilterer) ParseDisputeGameCreated ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseDisputeGameCreated(log types.Log) (*DisputeGameFactoryDisputeGameCreated, 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 (*DisputeGameFactoryFilterer) ParseImplementationSet ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseImplementationSet(log types.Log) (*DisputeGameFactoryImplementationSet, error)
ParseImplementationSet is a log parse operation binding the contract event 0xff513d80e2c7fa487608f70a618dfbc0cf415699dc69588c747e8c71566c88de.
Solidity: event ImplementationSet(address indexed impl, uint32 indexed gameType)
func (*DisputeGameFactoryFilterer) ParseInitBondUpdated ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseInitBondUpdated(log types.Log) (*DisputeGameFactoryInitBondUpdated, error)
ParseInitBondUpdated is a log parse operation binding the contract event 0x74d6665c4b26d5596a5aa13d3014e0c06af4d322075a797f87b03cd4c5bc91ca.
Solidity: event InitBondUpdated(uint32 indexed gameType, uint256 indexed newBond)
func (*DisputeGameFactoryFilterer) ParseInitialized ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseInitialized(log types.Log) (*DisputeGameFactoryInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DisputeGameFactoryFilterer) ParseOwnershipTransferred ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) ParseOwnershipTransferred(log types.Log) (*DisputeGameFactoryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DisputeGameFactoryFilterer) WatchDisputeGameCreated ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchDisputeGameCreated(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryDisputeGameCreated, 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 (*DisputeGameFactoryFilterer) WatchImplementationSet ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchImplementationSet(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryImplementationSet, 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 (*DisputeGameFactoryFilterer) WatchInitBondUpdated ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchInitBondUpdated(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryInitBondUpdated, 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 (*DisputeGameFactoryFilterer) WatchInitialized ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*DisputeGameFactoryFilterer) WatchOwnershipTransferred ¶
func (_DisputeGameFactory *DisputeGameFactoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DisputeGameFactoryOwnershipTransferred, 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 DisputeGameFactoryImplementationSet ¶
type DisputeGameFactoryImplementationSet struct { Impl common.Address GameType uint32 Raw types.Log // Blockchain specific contextual infos }
DisputeGameFactoryImplementationSet represents a ImplementationSet event raised by the DisputeGameFactory contract.
type DisputeGameFactoryImplementationSetIterator ¶
type DisputeGameFactoryImplementationSetIterator struct { Event *DisputeGameFactoryImplementationSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameFactoryImplementationSetIterator is returned from FilterImplementationSet and is used to iterate over the raw logs and unpacked data for ImplementationSet events raised by the DisputeGameFactory contract.
func (*DisputeGameFactoryImplementationSetIterator) Close ¶
func (it *DisputeGameFactoryImplementationSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameFactoryImplementationSetIterator) Error ¶
func (it *DisputeGameFactoryImplementationSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameFactoryImplementationSetIterator) Next ¶
func (it *DisputeGameFactoryImplementationSetIterator) 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 DisputeGameFactoryInitBondUpdated ¶
type DisputeGameFactoryInitBondUpdated struct { GameType uint32 NewBond *big.Int Raw types.Log // Blockchain specific contextual infos }
DisputeGameFactoryInitBondUpdated represents a InitBondUpdated event raised by the DisputeGameFactory contract.
type DisputeGameFactoryInitBondUpdatedIterator ¶
type DisputeGameFactoryInitBondUpdatedIterator struct { Event *DisputeGameFactoryInitBondUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameFactoryInitBondUpdatedIterator is returned from FilterInitBondUpdated and is used to iterate over the raw logs and unpacked data for InitBondUpdated events raised by the DisputeGameFactory contract.
func (*DisputeGameFactoryInitBondUpdatedIterator) Close ¶
func (it *DisputeGameFactoryInitBondUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameFactoryInitBondUpdatedIterator) Error ¶
func (it *DisputeGameFactoryInitBondUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameFactoryInitBondUpdatedIterator) Next ¶
func (it *DisputeGameFactoryInitBondUpdatedIterator) 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 DisputeGameFactoryInitialized ¶
type DisputeGameFactoryInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
DisputeGameFactoryInitialized represents a Initialized event raised by the DisputeGameFactory contract.
type DisputeGameFactoryInitializedIterator ¶
type DisputeGameFactoryInitializedIterator struct { Event *DisputeGameFactoryInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameFactoryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the DisputeGameFactory contract.
func (*DisputeGameFactoryInitializedIterator) Close ¶
func (it *DisputeGameFactoryInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameFactoryInitializedIterator) Error ¶
func (it *DisputeGameFactoryInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameFactoryInitializedIterator) Next ¶
func (it *DisputeGameFactoryInitializedIterator) 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 DisputeGameFactoryOwnershipTransferred ¶
type DisputeGameFactoryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
DisputeGameFactoryOwnershipTransferred represents a OwnershipTransferred event raised by the DisputeGameFactory contract.
type DisputeGameFactoryOwnershipTransferredIterator ¶
type DisputeGameFactoryOwnershipTransferredIterator struct { Event *DisputeGameFactoryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DisputeGameFactoryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the DisputeGameFactory contract.
func (*DisputeGameFactoryOwnershipTransferredIterator) Close ¶
func (it *DisputeGameFactoryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DisputeGameFactoryOwnershipTransferredIterator) Error ¶
func (it *DisputeGameFactoryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DisputeGameFactoryOwnershipTransferredIterator) Next ¶
func (it *DisputeGameFactoryOwnershipTransferredIterator) 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 DisputeGameFactoryRaw ¶
type DisputeGameFactoryRaw struct {
Contract *DisputeGameFactory // Generic contract binding to access the raw methods on
}
DisputeGameFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DisputeGameFactoryRaw) Call ¶
func (_DisputeGameFactory *DisputeGameFactoryRaw) 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 (*DisputeGameFactoryRaw) Transact ¶
func (_DisputeGameFactory *DisputeGameFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DisputeGameFactoryRaw) Transfer ¶
func (_DisputeGameFactory *DisputeGameFactoryRaw) 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 DisputeGameFactorySession ¶
type DisputeGameFactorySession struct { Contract *DisputeGameFactory // 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 }
DisputeGameFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DisputeGameFactorySession) Create ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) FindLatestGames ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) GameAtIndex ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) GameCount ¶
func (_DisputeGameFactory *DisputeGameFactorySession) GameCount() (*big.Int, error)
GameCount is a free data retrieval call binding the contract method 0x4d1975b4.
Solidity: function gameCount() view returns(uint256 gameCount_)
func (*DisputeGameFactorySession) GameImpls ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) Games ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) GetGameUUID ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) InitBonds ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) Initialize ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) Owner ¶
func (_DisputeGameFactory *DisputeGameFactorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*DisputeGameFactorySession) RenounceOwnership ¶
func (_DisputeGameFactory *DisputeGameFactorySession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DisputeGameFactorySession) SetImplementation ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) SetInitBond ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) TransferOwnership ¶
func (_DisputeGameFactory *DisputeGameFactorySession) 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 (*DisputeGameFactorySession) Version ¶
func (_DisputeGameFactory *DisputeGameFactorySession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type DisputeGameFactoryTransactor ¶
type DisputeGameFactoryTransactor struct {
// contains filtered or unexported fields
}
DisputeGameFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDisputeGameFactoryTransactor ¶
func NewDisputeGameFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*DisputeGameFactoryTransactor, error)
NewDisputeGameFactoryTransactor creates a new write-only instance of DisputeGameFactory, bound to a specific deployed contract.
func (*DisputeGameFactoryTransactor) Create ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactor) 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 (*DisputeGameFactoryTransactor) Initialize ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactor) 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 (*DisputeGameFactoryTransactor) RenounceOwnership ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DisputeGameFactoryTransactor) SetImplementation ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactor) 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 (*DisputeGameFactoryTransactor) SetInitBond ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactor) 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 (*DisputeGameFactoryTransactor) TransferOwnership ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactor) 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 DisputeGameFactoryTransactorRaw ¶
type DisputeGameFactoryTransactorRaw struct {
Contract *DisputeGameFactoryTransactor // Generic write-only contract binding to access the raw methods on
}
DisputeGameFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DisputeGameFactoryTransactorRaw) Transact ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DisputeGameFactoryTransactorRaw) Transfer ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorRaw) 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 DisputeGameFactoryTransactorSession ¶
type DisputeGameFactoryTransactorSession struct { Contract *DisputeGameFactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DisputeGameFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DisputeGameFactoryTransactorSession) Create ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) 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 (*DisputeGameFactoryTransactorSession) Initialize ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) 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 (*DisputeGameFactoryTransactorSession) RenounceOwnership ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DisputeGameFactoryTransactorSession) SetImplementation ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) 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 (*DisputeGameFactoryTransactorSession) SetInitBond ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) 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 (*DisputeGameFactoryTransactorSession) TransferOwnership ¶
func (_DisputeGameFactory *DisputeGameFactoryTransactorSession) 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 FaultDisputeGame ¶
type FaultDisputeGame struct { FaultDisputeGameCaller // Read-only binding to the contract FaultDisputeGameTransactor // Write-only binding to the contract FaultDisputeGameFilterer // Log filterer for contract events }
FaultDisputeGame is an auto generated Go binding around an Ethereum contract.
func NewFaultDisputeGame ¶
func NewFaultDisputeGame(address common.Address, backend bind.ContractBackend) (*FaultDisputeGame, error)
NewFaultDisputeGame creates a new instance of FaultDisputeGame, bound to a specific deployed contract.
type FaultDisputeGameCaller ¶
type FaultDisputeGameCaller struct {
// contains filtered or unexported fields
}
FaultDisputeGameCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFaultDisputeGameCaller ¶
func NewFaultDisputeGameCaller(address common.Address, caller bind.ContractCaller) (*FaultDisputeGameCaller, error)
NewFaultDisputeGameCaller creates a new read-only instance of FaultDisputeGame, bound to a specific deployed contract.
func (*FaultDisputeGameCaller) AbsolutePrestate ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) AnchorStateRegistry ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) ClaimData ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) ClaimDataLen ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) ClaimDataLen(opts *bind.CallOpts) (*big.Int, error)
ClaimDataLen is a free data retrieval call binding the contract method 0x8980e0cc.
Solidity: function claimDataLen() view returns(uint256 len_)
func (*FaultDisputeGameCaller) Claims ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) Claims(opts *bind.CallOpts, 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 (*FaultDisputeGameCaller) ClockExtension ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) CreatedAt ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) Credit ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) ExtraData ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) GameCreator ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) GameCreator(opts *bind.CallOpts) (common.Address, error)
GameCreator is a free data retrieval call binding the contract method 0x37b1b229.
Solidity: function gameCreator() pure returns(address creator_)
func (*FaultDisputeGameCaller) GameData ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) GameType ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) GetChallengerDuration ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) GetNumToResolve ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) GetRequiredBond ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) L1Head ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) L2BlockNumber ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) L2BlockNumber(opts *bind.CallOpts) (*big.Int, error)
L2BlockNumber is a free data retrieval call binding the contract method 0x8b85902b.
Solidity: function l2BlockNumber() pure returns(uint256 l2BlockNumber_)
func (*FaultDisputeGameCaller) L2BlockNumberChallenged ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) L2BlockNumberChallenger ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) L2ChainId ¶
L2ChainId is a free data retrieval call binding the contract method 0xd6ae3cd5.
Solidity: function l2ChainId() view returns(uint256 l2ChainId_)
func (*FaultDisputeGameCaller) MaxClockDuration ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) MaxGameDepth ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) MaxGameDepth(opts *bind.CallOpts) (*big.Int, error)
MaxGameDepth is a free data retrieval call binding the contract method 0xfa315aa9.
Solidity: function maxGameDepth() view returns(uint256 maxGameDepth_)
func (*FaultDisputeGameCaller) ResolutionCheckpoints ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) ResolvedAt ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) ResolvedSubgames ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) RootClaim ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) SplitDepth ¶
SplitDepth is a free data retrieval call binding the contract method 0xec5e6308.
Solidity: function splitDepth() view returns(uint256 splitDepth_)
func (*FaultDisputeGameCaller) StartingBlockNumber ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256 startingBlockNumber_)
func (*FaultDisputeGameCaller) StartingOutputRoot ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) StartingRootHash ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) Status ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) Subgames ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 (*FaultDisputeGameCaller) Version ¶
func (_FaultDisputeGame *FaultDisputeGameCaller) 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 FaultDisputeGameCallerRaw ¶
type FaultDisputeGameCallerRaw struct {
Contract *FaultDisputeGameCaller // Generic read-only contract binding to access the raw methods on
}
FaultDisputeGameCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FaultDisputeGameCallerRaw) Call ¶
func (_FaultDisputeGame *FaultDisputeGameCallerRaw) 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 FaultDisputeGameCallerSession ¶
type FaultDisputeGameCallerSession struct { Contract *FaultDisputeGameCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FaultDisputeGameCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FaultDisputeGameCallerSession) AbsolutePrestate ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) AbsolutePrestate() ([32]byte, error)
AbsolutePrestate is a free data retrieval call binding the contract method 0x8d450a95.
Solidity: function absolutePrestate() view returns(bytes32 absolutePrestate_)
func (*FaultDisputeGameCallerSession) AnchorStateRegistry ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) AnchorStateRegistry() (common.Address, error)
AnchorStateRegistry is a free data retrieval call binding the contract method 0x5c0cba33.
Solidity: function anchorStateRegistry() view returns(address registry_)
func (*FaultDisputeGameCallerSession) ClaimData ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) ClaimDataLen ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) ClaimDataLen() (*big.Int, error)
ClaimDataLen is a free data retrieval call binding the contract method 0x8980e0cc.
Solidity: function claimDataLen() view returns(uint256 len_)
func (*FaultDisputeGameCallerSession) Claims ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) ClockExtension ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) ClockExtension() (uint64, error)
ClockExtension is a free data retrieval call binding the contract method 0x6b6716c0.
Solidity: function clockExtension() view returns(uint64 clockExtension_)
func (*FaultDisputeGameCallerSession) CreatedAt ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) CreatedAt() (uint64, error)
CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
Solidity: function createdAt() view returns(uint64)
func (*FaultDisputeGameCallerSession) Credit ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) Credit(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 (*FaultDisputeGameCallerSession) ExtraData ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) ExtraData() ([]byte, error)
ExtraData is a free data retrieval call binding the contract method 0x609d3334.
Solidity: function extraData() pure returns(bytes extraData_)
func (*FaultDisputeGameCallerSession) GameCreator ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) GameCreator() (common.Address, error)
GameCreator is a free data retrieval call binding the contract method 0x37b1b229.
Solidity: function gameCreator() pure returns(address creator_)
func (*FaultDisputeGameCallerSession) GameData ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) GameType ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) GameType() (uint32, error)
GameType is a free data retrieval call binding the contract method 0xbbdc02db.
Solidity: function gameType() view returns(uint32 gameType_)
func (*FaultDisputeGameCallerSession) GetChallengerDuration ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) GetNumToResolve ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) GetRequiredBond ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) GetRequiredBond(_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 (*FaultDisputeGameCallerSession) L1Head ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) L1Head() ([32]byte, error)
L1Head is a free data retrieval call binding the contract method 0x6361506d.
Solidity: function l1Head() pure returns(bytes32 l1Head_)
func (*FaultDisputeGameCallerSession) L2BlockNumber ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2BlockNumber() (*big.Int, error)
L2BlockNumber is a free data retrieval call binding the contract method 0x8b85902b.
Solidity: function l2BlockNumber() pure returns(uint256 l2BlockNumber_)
func (*FaultDisputeGameCallerSession) L2BlockNumberChallenged ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2BlockNumberChallenged() (bool, error)
L2BlockNumberChallenged is a free data retrieval call binding the contract method 0x3e3ac912.
Solidity: function l2BlockNumberChallenged() view returns(bool)
func (*FaultDisputeGameCallerSession) L2BlockNumberChallenger ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2BlockNumberChallenger() (common.Address, error)
L2BlockNumberChallenger is a free data retrieval call binding the contract method 0x30dbe570.
Solidity: function l2BlockNumberChallenger() view returns(address)
func (*FaultDisputeGameCallerSession) L2ChainId ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) L2ChainId() (*big.Int, error)
L2ChainId is a free data retrieval call binding the contract method 0xd6ae3cd5.
Solidity: function l2ChainId() view returns(uint256 l2ChainId_)
func (*FaultDisputeGameCallerSession) MaxClockDuration ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) MaxClockDuration() (uint64, error)
MaxClockDuration is a free data retrieval call binding the contract method 0xdabd396d.
Solidity: function maxClockDuration() view returns(uint64 maxClockDuration_)
func (*FaultDisputeGameCallerSession) MaxGameDepth ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) MaxGameDepth() (*big.Int, error)
MaxGameDepth is a free data retrieval call binding the contract method 0xfa315aa9.
Solidity: function maxGameDepth() view returns(uint256 maxGameDepth_)
func (*FaultDisputeGameCallerSession) ResolutionCheckpoints ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) ResolvedAt ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) ResolvedAt() (uint64, error)
ResolvedAt is a free data retrieval call binding the contract method 0x19effeb4.
Solidity: function resolvedAt() view returns(uint64)
func (*FaultDisputeGameCallerSession) ResolvedSubgames ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) RootClaim ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) RootClaim() ([32]byte, error)
RootClaim is a free data retrieval call binding the contract method 0xbcef3b55.
Solidity: function rootClaim() pure returns(bytes32 rootClaim_)
func (*FaultDisputeGameCallerSession) SplitDepth ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) SplitDepth() (*big.Int, error)
SplitDepth is a free data retrieval call binding the contract method 0xec5e6308.
Solidity: function splitDepth() view returns(uint256 splitDepth_)
func (*FaultDisputeGameCallerSession) StartingBlockNumber ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) StartingBlockNumber() (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256 startingBlockNumber_)
func (*FaultDisputeGameCallerSession) StartingOutputRoot ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) StartingRootHash ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) StartingRootHash() ([32]byte, error)
StartingRootHash is a free data retrieval call binding the contract method 0x25fc2ace.
Solidity: function startingRootHash() view returns(bytes32 startingRootHash_)
func (*FaultDisputeGameCallerSession) Status ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*FaultDisputeGameCallerSession) Subgames ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) 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 (*FaultDisputeGameCallerSession) Version ¶
func (_FaultDisputeGame *FaultDisputeGameCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type FaultDisputeGameFilterer ¶
type FaultDisputeGameFilterer struct {
// contains filtered or unexported fields
}
FaultDisputeGameFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFaultDisputeGameFilterer ¶
func NewFaultDisputeGameFilterer(address common.Address, filterer bind.ContractFilterer) (*FaultDisputeGameFilterer, error)
NewFaultDisputeGameFilterer creates a new log filterer instance of FaultDisputeGame, bound to a specific deployed contract.
func (*FaultDisputeGameFilterer) FilterMove ¶
func (_FaultDisputeGame *FaultDisputeGameFilterer) FilterMove(opts *bind.FilterOpts, parentIndex []*big.Int, claim [][32]byte, claimant []common.Address) (*FaultDisputeGameMoveIterator, 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 (*FaultDisputeGameFilterer) FilterResolved ¶
func (_FaultDisputeGame *FaultDisputeGameFilterer) FilterResolved(opts *bind.FilterOpts, status []uint8) (*FaultDisputeGameResolvedIterator, error)
FilterResolved is a free log retrieval operation binding the contract event 0x5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da60.
Solidity: event Resolved(uint8 indexed status)
func (*FaultDisputeGameFilterer) ParseMove ¶
func (_FaultDisputeGame *FaultDisputeGameFilterer) ParseMove(log types.Log) (*FaultDisputeGameMove, 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 (*FaultDisputeGameFilterer) ParseResolved ¶
func (_FaultDisputeGame *FaultDisputeGameFilterer) ParseResolved(log types.Log) (*FaultDisputeGameResolved, error)
ParseResolved is a log parse operation binding the contract event 0x5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da60.
Solidity: event Resolved(uint8 indexed status)
func (*FaultDisputeGameFilterer) WatchMove ¶
func (_FaultDisputeGame *FaultDisputeGameFilterer) WatchMove(opts *bind.WatchOpts, sink chan<- *FaultDisputeGameMove, 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 (*FaultDisputeGameFilterer) WatchResolved ¶
func (_FaultDisputeGame *FaultDisputeGameFilterer) WatchResolved(opts *bind.WatchOpts, sink chan<- *FaultDisputeGameResolved, status []uint8) (event.Subscription, error)
WatchResolved is a free log subscription operation binding the contract event 0x5e186f09b9c93491f14e277eea7faa5de6a2d4bda75a79af7a3684fbfb42da60.
Solidity: event Resolved(uint8 indexed status)
type FaultDisputeGameMove ¶
type FaultDisputeGameMove struct { ParentIndex *big.Int Claim [32]byte Claimant common.Address Raw types.Log // Blockchain specific contextual infos }
FaultDisputeGameMove represents a Move event raised by the FaultDisputeGame contract.
type FaultDisputeGameMoveIterator ¶
type FaultDisputeGameMoveIterator struct { Event *FaultDisputeGameMove // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FaultDisputeGameMoveIterator is returned from FilterMove and is used to iterate over the raw logs and unpacked data for Move events raised by the FaultDisputeGame contract.
func (*FaultDisputeGameMoveIterator) Close ¶
func (it *FaultDisputeGameMoveIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FaultDisputeGameMoveIterator) Error ¶
func (it *FaultDisputeGameMoveIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FaultDisputeGameMoveIterator) Next ¶
func (it *FaultDisputeGameMoveIterator) 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 FaultDisputeGameRaw ¶
type FaultDisputeGameRaw struct {
Contract *FaultDisputeGame // Generic contract binding to access the raw methods on
}
FaultDisputeGameRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FaultDisputeGameRaw) Call ¶
func (_FaultDisputeGame *FaultDisputeGameRaw) 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 (*FaultDisputeGameRaw) Transact ¶
func (_FaultDisputeGame *FaultDisputeGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FaultDisputeGameRaw) Transfer ¶
func (_FaultDisputeGame *FaultDisputeGameRaw) 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 FaultDisputeGameResolved ¶
type FaultDisputeGameResolved struct { Status uint8 Raw types.Log // Blockchain specific contextual infos }
FaultDisputeGameResolved represents a Resolved event raised by the FaultDisputeGame contract.
type FaultDisputeGameResolvedIterator ¶
type FaultDisputeGameResolvedIterator struct { Event *FaultDisputeGameResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FaultDisputeGameResolvedIterator is returned from FilterResolved and is used to iterate over the raw logs and unpacked data for Resolved events raised by the FaultDisputeGame contract.
func (*FaultDisputeGameResolvedIterator) Close ¶
func (it *FaultDisputeGameResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FaultDisputeGameResolvedIterator) Error ¶
func (it *FaultDisputeGameResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FaultDisputeGameResolvedIterator) Next ¶
func (it *FaultDisputeGameResolvedIterator) 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 FaultDisputeGameSession ¶
type FaultDisputeGameSession struct { Contract *FaultDisputeGame // 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 }
FaultDisputeGameSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FaultDisputeGameSession) AbsolutePrestate ¶
func (_FaultDisputeGame *FaultDisputeGameSession) AbsolutePrestate() ([32]byte, error)
AbsolutePrestate is a free data retrieval call binding the contract method 0x8d450a95.
Solidity: function absolutePrestate() view returns(bytes32 absolutePrestate_)
func (*FaultDisputeGameSession) AddLocalData ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) AnchorStateRegistry ¶
func (_FaultDisputeGame *FaultDisputeGameSession) AnchorStateRegistry() (common.Address, error)
AnchorStateRegistry is a free data retrieval call binding the contract method 0x5c0cba33.
Solidity: function anchorStateRegistry() view returns(address registry_)
func (*FaultDisputeGameSession) Attack ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ChallengeRootL2Block ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ClaimCredit ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ClaimData ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ClaimDataLen ¶
func (_FaultDisputeGame *FaultDisputeGameSession) ClaimDataLen() (*big.Int, error)
ClaimDataLen is a free data retrieval call binding the contract method 0x8980e0cc.
Solidity: function claimDataLen() view returns(uint256 len_)
func (*FaultDisputeGameSession) Claims ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ClockExtension ¶
func (_FaultDisputeGame *FaultDisputeGameSession) ClockExtension() (uint64, error)
ClockExtension is a free data retrieval call binding the contract method 0x6b6716c0.
Solidity: function clockExtension() view returns(uint64 clockExtension_)
func (*FaultDisputeGameSession) CreatedAt ¶
func (_FaultDisputeGame *FaultDisputeGameSession) CreatedAt() (uint64, error)
CreatedAt is a free data retrieval call binding the contract method 0xcf09e0d0.
Solidity: function createdAt() view returns(uint64)
func (*FaultDisputeGameSession) Credit ¶
Credit is a free data retrieval call binding the contract method 0xd5d44d80.
Solidity: function credit(address ) view returns(uint256)
func (*FaultDisputeGameSession) Defend ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ExtraData ¶
func (_FaultDisputeGame *FaultDisputeGameSession) ExtraData() ([]byte, error)
ExtraData is a free data retrieval call binding the contract method 0x609d3334.
Solidity: function extraData() pure returns(bytes extraData_)
func (*FaultDisputeGameSession) GameCreator ¶
func (_FaultDisputeGame *FaultDisputeGameSession) GameCreator() (common.Address, error)
GameCreator is a free data retrieval call binding the contract method 0x37b1b229.
Solidity: function gameCreator() pure returns(address creator_)
func (*FaultDisputeGameSession) GameData ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) GameType ¶
func (_FaultDisputeGame *FaultDisputeGameSession) GameType() (uint32, error)
GameType is a free data retrieval call binding the contract method 0xbbdc02db.
Solidity: function gameType() view returns(uint32 gameType_)
func (*FaultDisputeGameSession) GetChallengerDuration ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) GetNumToResolve ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) GetRequiredBond ¶
func (_FaultDisputeGame *FaultDisputeGameSession) GetRequiredBond(_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 (*FaultDisputeGameSession) Initialize ¶
func (_FaultDisputeGame *FaultDisputeGameSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() payable returns()
func (*FaultDisputeGameSession) L1Head ¶
func (_FaultDisputeGame *FaultDisputeGameSession) L1Head() ([32]byte, error)
L1Head is a free data retrieval call binding the contract method 0x6361506d.
Solidity: function l1Head() pure returns(bytes32 l1Head_)
func (*FaultDisputeGameSession) L2BlockNumber ¶
func (_FaultDisputeGame *FaultDisputeGameSession) L2BlockNumber() (*big.Int, error)
L2BlockNumber is a free data retrieval call binding the contract method 0x8b85902b.
Solidity: function l2BlockNumber() pure returns(uint256 l2BlockNumber_)
func (*FaultDisputeGameSession) L2BlockNumberChallenged ¶
func (_FaultDisputeGame *FaultDisputeGameSession) L2BlockNumberChallenged() (bool, error)
L2BlockNumberChallenged is a free data retrieval call binding the contract method 0x3e3ac912.
Solidity: function l2BlockNumberChallenged() view returns(bool)
func (*FaultDisputeGameSession) L2BlockNumberChallenger ¶
func (_FaultDisputeGame *FaultDisputeGameSession) L2BlockNumberChallenger() (common.Address, error)
L2BlockNumberChallenger is a free data retrieval call binding the contract method 0x30dbe570.
Solidity: function l2BlockNumberChallenger() view returns(address)
func (*FaultDisputeGameSession) L2ChainId ¶
func (_FaultDisputeGame *FaultDisputeGameSession) L2ChainId() (*big.Int, error)
L2ChainId is a free data retrieval call binding the contract method 0xd6ae3cd5.
Solidity: function l2ChainId() view returns(uint256 l2ChainId_)
func (*FaultDisputeGameSession) MaxClockDuration ¶
func (_FaultDisputeGame *FaultDisputeGameSession) MaxClockDuration() (uint64, error)
MaxClockDuration is a free data retrieval call binding the contract method 0xdabd396d.
Solidity: function maxClockDuration() view returns(uint64 maxClockDuration_)
func (*FaultDisputeGameSession) MaxGameDepth ¶
func (_FaultDisputeGame *FaultDisputeGameSession) MaxGameDepth() (*big.Int, error)
MaxGameDepth is a free data retrieval call binding the contract method 0xfa315aa9.
Solidity: function maxGameDepth() view returns(uint256 maxGameDepth_)
func (*FaultDisputeGameSession) Move ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ResolutionCheckpoints ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) Resolve ¶
func (_FaultDisputeGame *FaultDisputeGameSession) Resolve() (*types.Transaction, error)
Resolve is a paid mutator transaction binding the contract method 0x2810e1d6.
Solidity: function resolve() returns(uint8 status_)
func (*FaultDisputeGameSession) ResolveClaim ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) ResolvedAt ¶
func (_FaultDisputeGame *FaultDisputeGameSession) ResolvedAt() (uint64, error)
ResolvedAt is a free data retrieval call binding the contract method 0x19effeb4.
Solidity: function resolvedAt() view returns(uint64)
func (*FaultDisputeGameSession) ResolvedSubgames ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) RootClaim ¶
func (_FaultDisputeGame *FaultDisputeGameSession) RootClaim() ([32]byte, error)
RootClaim is a free data retrieval call binding the contract method 0xbcef3b55.
Solidity: function rootClaim() pure returns(bytes32 rootClaim_)
func (*FaultDisputeGameSession) SplitDepth ¶
func (_FaultDisputeGame *FaultDisputeGameSession) SplitDepth() (*big.Int, error)
SplitDepth is a free data retrieval call binding the contract method 0xec5e6308.
Solidity: function splitDepth() view returns(uint256 splitDepth_)
func (*FaultDisputeGameSession) StartingBlockNumber ¶
func (_FaultDisputeGame *FaultDisputeGameSession) StartingBlockNumber() (*big.Int, error)
StartingBlockNumber is a free data retrieval call binding the contract method 0x70872aa5.
Solidity: function startingBlockNumber() view returns(uint256 startingBlockNumber_)
func (*FaultDisputeGameSession) StartingOutputRoot ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) StartingRootHash ¶
func (_FaultDisputeGame *FaultDisputeGameSession) StartingRootHash() ([32]byte, error)
StartingRootHash is a free data retrieval call binding the contract method 0x25fc2ace.
Solidity: function startingRootHash() view returns(bytes32 startingRootHash_)
func (*FaultDisputeGameSession) Status ¶
func (_FaultDisputeGame *FaultDisputeGameSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*FaultDisputeGameSession) Step ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) Subgames ¶
func (_FaultDisputeGame *FaultDisputeGameSession) 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 (*FaultDisputeGameSession) Version ¶
func (_FaultDisputeGame *FaultDisputeGameSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type FaultDisputeGameTransactor ¶
type FaultDisputeGameTransactor struct {
// contains filtered or unexported fields
}
FaultDisputeGameTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFaultDisputeGameTransactor ¶
func NewFaultDisputeGameTransactor(address common.Address, transactor bind.ContractTransactor) (*FaultDisputeGameTransactor, error)
NewFaultDisputeGameTransactor creates a new write-only instance of FaultDisputeGame, bound to a specific deployed contract.
func (*FaultDisputeGameTransactor) AddLocalData ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) Attack ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) ChallengeRootL2Block ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) ClaimCredit ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) Defend ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) Initialize ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() payable returns()
func (*FaultDisputeGameTransactor) Move ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) Resolve ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) ResolveClaim ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 (*FaultDisputeGameTransactor) Step ¶
func (_FaultDisputeGame *FaultDisputeGameTransactor) 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 FaultDisputeGameTransactorRaw ¶
type FaultDisputeGameTransactorRaw struct {
Contract *FaultDisputeGameTransactor // Generic write-only contract binding to access the raw methods on
}
FaultDisputeGameTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FaultDisputeGameTransactorRaw) Transact ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FaultDisputeGameTransactorRaw) Transfer ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorRaw) 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 FaultDisputeGameTransactorSession ¶
type FaultDisputeGameTransactorSession struct { Contract *FaultDisputeGameTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FaultDisputeGameTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FaultDisputeGameTransactorSession) AddLocalData ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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 (*FaultDisputeGameTransactorSession) Attack ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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 (*FaultDisputeGameTransactorSession) ChallengeRootL2Block ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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 (*FaultDisputeGameTransactorSession) ClaimCredit ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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 (*FaultDisputeGameTransactorSession) Defend ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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 (*FaultDisputeGameTransactorSession) Initialize ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() payable returns()
func (*FaultDisputeGameTransactorSession) Move ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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 (*FaultDisputeGameTransactorSession) Resolve ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) Resolve() (*types.Transaction, error)
Resolve is a paid mutator transaction binding the contract method 0x2810e1d6.
Solidity: function resolve() returns(uint8 status_)
func (*FaultDisputeGameTransactorSession) ResolveClaim ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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 (*FaultDisputeGameTransactorSession) Step ¶
func (_FaultDisputeGame *FaultDisputeGameTransactorSession) 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()