Documentation
¶
Index ¶
- Constants
- Variables
- func GetAppState(winner uint8, nonce uint64) []byte
- func GetAppStateWithOracle(turn uint8, winner uint8, nonce uint64) []byte
- func GetGetGomokuBoardState() []byte
- func GetGomokuState() []byte
- func GetSingleSessionConstructor(players []ctype.Addr) []byte
- func GetSingleSessionWithOracleConstructor(players []ctype.Addr, oracle ctype.Addr) []byte
- type MultiGomoku
- type MultiGomokuCaller
- func (_MultiGomoku *MultiGomokuCaller) GetActionDeadline(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
- func (_MultiGomoku *MultiGomokuCaller) GetSeqNum(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuCaller) GetSessionID(opts *bind.CallOpts, _nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_MultiGomoku *MultiGomokuCaller) GetSettleFinalizedTime(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuCaller) GetState(opts *bind.CallOpts, _session [32]byte, _key *big.Int) ([]byte, error)
- func (_MultiGomoku *MultiGomokuCaller) GetStatus(opts *bind.CallOpts, _session [32]byte) (uint8, error)
- func (_MultiGomoku *MultiGomokuCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
- func (_MultiGomoku *MultiGomokuCaller) MaxStoneOnchain(opts *bind.CallOpts) (uint8, error)
- func (_MultiGomoku *MultiGomokuCaller) MinStoneOffchain(opts *bind.CallOpts) (uint8, error)
- type MultiGomokuCallerRaw
- type MultiGomokuCallerSession
- func (_MultiGomoku *MultiGomokuCallerSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuCallerSession) GetOutcome(_query []byte) (bool, error)
- func (_MultiGomoku *MultiGomokuCallerSession) GetSeqNum(_session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuCallerSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_MultiGomoku *MultiGomokuCallerSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuCallerSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_MultiGomoku *MultiGomokuCallerSession) GetStatus(_session [32]byte) (uint8, error)
- func (_MultiGomoku *MultiGomokuCallerSession) IsFinalized(_query []byte) (bool, error)
- func (_MultiGomoku *MultiGomokuCallerSession) MaxStoneOnchain() (uint8, error)
- func (_MultiGomoku *MultiGomokuCallerSession) MinStoneOffchain() (uint8, error)
- type MultiGomokuFilterer
- func (_MultiGomoku *MultiGomokuFilterer) FilterIntendSettle(opts *bind.FilterOpts, session [][32]byte) (*MultiGomokuIntendSettleIterator, error)
- func (_MultiGomoku *MultiGomokuFilterer) ParseIntendSettle(log types.Log) (*MultiGomokuIntendSettle, error)
- func (_MultiGomoku *MultiGomokuFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *MultiGomokuIntendSettle, session [][32]byte) (event.Subscription, error)
- type MultiGomokuIntendSettle
- type MultiGomokuIntendSettleIterator
- type MultiGomokuRaw
- func (_MultiGomoku *MultiGomokuRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_MultiGomoku *MultiGomokuRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MultiGomokuSession
- func (_MultiGomoku *MultiGomokuSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuSession) GetOutcome(_query []byte) (bool, error)
- func (_MultiGomoku *MultiGomokuSession) GetSeqNum(_session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_MultiGomoku *MultiGomokuSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
- func (_MultiGomoku *MultiGomokuSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_MultiGomoku *MultiGomokuSession) GetStatus(_session [32]byte) (uint8, error)
- func (_MultiGomoku *MultiGomokuSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuSession) IsFinalized(_query []byte) (bool, error)
- func (_MultiGomoku *MultiGomokuSession) MaxStoneOnchain() (uint8, error)
- func (_MultiGomoku *MultiGomokuSession) MinStoneOffchain() (uint8, error)
- type MultiGomokuTransactor
- func (_MultiGomoku *MultiGomokuTransactor) ApplyAction(opts *bind.TransactOpts, _session [32]byte, _action []byte) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts, _session [32]byte) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuTransactor) IntendSettle(opts *bind.TransactOpts, _stateProof []byte) (*types.Transaction, error)
- type MultiGomokuTransactorRaw
- type MultiGomokuTransactorSession
- func (_MultiGomoku *MultiGomokuTransactorSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuTransactorSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
- func (_MultiGomoku *MultiGomokuTransactorSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
- type SimpleMultiSessionApp
- type SimpleMultiSessionAppCaller
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetActionDeadline(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSeqNum(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSessionID(opts *bind.CallOpts, _nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSettleFinalizedTime(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetState(opts *bind.CallOpts, _session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetStatus(opts *bind.CallOpts, _session [32]byte) (uint8, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
- type SimpleMultiSessionAppCallerRaw
- type SimpleMultiSessionAppCallerSession
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSeqNum(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetStatus(_session [32]byte) (uint8, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) IsFinalized(_query []byte) (bool, error)
- type SimpleMultiSessionAppFilterer
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) FilterIntendSettle(opts *bind.FilterOpts, session [][32]byte) (*SimpleMultiSessionAppIntendSettleIterator, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) ParseIntendSettle(log types.Log) (*SimpleMultiSessionAppIntendSettle, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *SimpleMultiSessionAppIntendSettle, ...) (event.Subscription, error)
- type SimpleMultiSessionAppIntendSettle
- type SimpleMultiSessionAppIntendSettleIterator
- type SimpleMultiSessionAppRaw
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleMultiSessionAppSession
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSeqNum(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetStatus(_session [32]byte) (uint8, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) IsFinalized(_query []byte) (bool, error)
- type SimpleMultiSessionAppTransactor
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) ApplyAction(opts *bind.TransactOpts, _session [32]byte, _action []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts, _session [32]byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) IntendSettle(opts *bind.TransactOpts, _stateProof []byte) (*types.Transaction, error)
- type SimpleMultiSessionAppTransactorRaw
- type SimpleMultiSessionAppTransactorSession
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
- type SimpleMultiSessionAppWithOracle
- func DeploySimpleMultiSessionAppWithOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _sigTimeout *big.Int, ...) (common.Address, *types.Transaction, *SimpleMultiSessionAppWithOracle, error)
- func NewSimpleMultiSessionAppWithOracle(address common.Address, backend bind.ContractBackend) (*SimpleMultiSessionAppWithOracle, error)
- type SimpleMultiSessionAppWithOracleCaller
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) GetState(opts *bind.CallOpts, _session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) GetStatus(opts *bind.CallOpts, _session [32]byte) (uint8, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
- type SimpleMultiSessionAppWithOracleCallerRaw
- type SimpleMultiSessionAppWithOracleCallerSession
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) GetStatus(_session [32]byte) (uint8, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) IsFinalized(_query []byte) (bool, error)
- type SimpleMultiSessionAppWithOracleFilterer
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterInvalidStateDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterInvalidTurnDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterMoveTimeoutDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterSigTimeoutDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseInvalidStateDispute(log types.Log) (*SimpleMultiSessionAppWithOracleInvalidStateDispute, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseInvalidTurnDispute(log types.Log) (*SimpleMultiSessionAppWithOracleInvalidTurnDispute, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseMoveTimeoutDispute(log types.Log) (*SimpleMultiSessionAppWithOracleMoveTimeoutDispute, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseSigTimeoutDispute(log types.Log) (*SimpleMultiSessionAppWithOracleSigTimeoutDispute, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchInvalidStateDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchInvalidTurnDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchMoveTimeoutDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchSigTimeoutDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type SimpleMultiSessionAppWithOracleInvalidStateDispute
- type SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator
- type SimpleMultiSessionAppWithOracleInvalidTurnDispute
- type SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator
- type SimpleMultiSessionAppWithOracleMoveTimeoutDispute
- type SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator
- type SimpleMultiSessionAppWithOracleRaw
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleMultiSessionAppWithOracleSession
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetSessionID(_nonce *big.Int, _signers []common.Address) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetStatus(_session [32]byte) (uint8, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) IsFinalized(_query []byte) (bool, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
- type SimpleMultiSessionAppWithOracleSigTimeoutDispute
- type SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator
- type SimpleMultiSessionAppWithOracleTransactor
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) GetSessionID(opts *bind.TransactOpts, _nonce *big.Int, _signers []common.Address) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleByInvalidState(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleByInvalidTurn(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleByMoveTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleBySigTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
- type SimpleMultiSessionAppWithOracleTransactorRaw
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleMultiSessionAppWithOracleTransactorSession
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) GetSessionID(_nonce *big.Int, _signers []common.Address) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
- type SimpleSingleSessionApp
- type SimpleSingleSessionAppCaller
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetActionDeadline(opts *bind.CallOpts) (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetSeqNum(opts *bind.CallOpts) (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetSettleFinalizedTime(opts *bind.CallOpts) (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetState(opts *bind.CallOpts, _key *big.Int) ([]byte, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetStatus(opts *bind.CallOpts) (uint8, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
- type SimpleSingleSessionAppCallerRaw
- type SimpleSingleSessionAppCallerSession
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetActionDeadline() (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetSeqNum() (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetSettleFinalizedTime() (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetState(_key *big.Int) ([]byte, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetStatus() (uint8, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) IsFinalized(_query []byte) (bool, error)
- type SimpleSingleSessionAppFilterer
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppFilterer) FilterIntendSettle(opts *bind.FilterOpts) (*SimpleSingleSessionAppIntendSettleIterator, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppFilterer) ParseIntendSettle(log types.Log) (*SimpleSingleSessionAppIntendSettle, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *SimpleSingleSessionAppIntendSettle) (event.Subscription, error)
- type SimpleSingleSessionAppIntendSettle
- type SimpleSingleSessionAppIntendSettleIterator
- type SimpleSingleSessionAppRaw
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleSingleSessionAppSession
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) ApplyAction(_action []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) FinalizeOnActionTimeout() (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetActionDeadline() (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetSeqNum() (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetSettleFinalizedTime() (*big.Int, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetState(_key *big.Int) ([]byte, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetStatus() (uint8, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) IsFinalized(_query []byte) (bool, error)
- type SimpleSingleSessionAppTransactor
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactor) ApplyAction(opts *bind.TransactOpts, _action []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactor) IntendSettle(opts *bind.TransactOpts, _stateProof []byte) (*types.Transaction, error)
- type SimpleSingleSessionAppTransactorRaw
- type SimpleSingleSessionAppTransactorSession
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorSession) ApplyAction(_action []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorSession) FinalizeOnActionTimeout() (*types.Transaction, error)
- func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
- type SimpleSingleSessionAppWithOracle
- func DeploySimpleSingleSessionAppWithOracle(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *SimpleSingleSessionAppWithOracle, error)
- func NewSimpleSingleSessionAppWithOracle(address common.Address, backend bind.ContractBackend) (*SimpleSingleSessionAppWithOracle, error)
- type SimpleSingleSessionAppWithOracleCaller
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) GetState(opts *bind.CallOpts, _key *big.Int) ([]byte, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) GetStatus(opts *bind.CallOpts) (uint8, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
- type SimpleSingleSessionAppWithOracleCallerRaw
- type SimpleSingleSessionAppWithOracleCallerSession
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) GetState(_key *big.Int) ([]byte, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) GetStatus() (uint8, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) IsFinalized(_query []byte) (bool, error)
- type SimpleSingleSessionAppWithOracleFilterer
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterInvalidStateDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterInvalidTurnDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterMoveTimeoutDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterSigTimeoutDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseInvalidStateDispute(log types.Log) (*SimpleSingleSessionAppWithOracleInvalidStateDispute, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseInvalidTurnDispute(log types.Log) (*SimpleSingleSessionAppWithOracleInvalidTurnDispute, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseMoveTimeoutDispute(log types.Log) (*SimpleSingleSessionAppWithOracleMoveTimeoutDispute, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseSigTimeoutDispute(log types.Log) (*SimpleSingleSessionAppWithOracleSigTimeoutDispute, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchInvalidStateDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchInvalidTurnDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchMoveTimeoutDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchSigTimeoutDispute(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type SimpleSingleSessionAppWithOracleInvalidStateDispute
- type SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator
- type SimpleSingleSessionAppWithOracleInvalidTurnDispute
- type SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator
- type SimpleSingleSessionAppWithOracleMoveTimeoutDispute
- type SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator
- type SimpleSingleSessionAppWithOracleRaw
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleSingleSessionAppWithOracleSession
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) GetState(_key *big.Int) ([]byte, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) GetStatus() (uint8, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) IsFinalized(_query []byte) (bool, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
- type SimpleSingleSessionAppWithOracleSigTimeoutDispute
- type SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator
- type SimpleSingleSessionAppWithOracleTransactor
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleByInvalidState(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleByInvalidTurn(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleByMoveTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleBySigTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
- type SimpleSingleSessionAppWithOracleTransactorRaw
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleSingleSessionAppWithOracleTransactorSession
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
- func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
Constants ¶
const MultiGomokuABI = "" /* 3259-byte string literal not displayed */
MultiGomokuABI is the input ABI used to generate the binding from.
const SimpleMultiSessionAppABI = "" /* 2840-byte string literal not displayed */
SimpleMultiSessionAppABI is the input ABI used to generate the binding from.
const SimpleMultiSessionAppWithOracleABI = "" /* 2990-byte string literal not displayed */
SimpleMultiSessionAppWithOracleABI is the input ABI used to generate the binding from.
const SimpleSingleSessionAppABI = "" /* 2288-byte string literal not displayed */
SimpleSingleSessionAppABI is the input ABI used to generate the binding from.
const SimpleSingleSessionAppWithOracleABI = "" /* 2417-byte string literal not displayed */
SimpleSingleSessionAppWithOracleABI is the input ABI used to generate the binding from.
Variables ¶
var ( AppCode = ctype.Hex2Bytes(SimpleSingleSessionAppBin) AppWithOracleCode = ctype.Hex2Bytes(SimpleSingleSessionAppWithOracleBin) Nonce = big.NewInt(666) Timeout = big.NewInt(2) PlayerNum = big.NewInt(2) ContractAddr = "58712219a4bdbb0e581dcaf6f5c4c2b2d2f42158" ContractWithOracleAddr = "283ab9db53f25d84fa30915816ec53f8affaa86e" GomokuMinOffChain = uint8(0) GomokuMaxOnChain = uint8(10) GomokuAddr = "4e4a0101cd72258183586a51f8254e871b9c544a" )
var MultiGomokuBin = "" /* 24164-byte string literal not displayed */
MultiGomokuBin is the compiled bytecode used for deploying new contracts.
var SimpleMultiSessionAppBin = "" /* 15680-byte string literal not displayed */
SimpleMultiSessionAppBin is the compiled bytecode used for deploying new contracts.
var SimpleMultiSessionAppWithOracleBin = "" /* 21258-byte string literal not displayed */
SimpleMultiSessionAppWithOracleBin is the compiled bytecode used for deploying new contracts.
var SimpleSingleSessionAppBin = "" /* 14022-byte string literal not displayed */
SimpleSingleSessionAppBin is the compiled bytecode used for deploying new contracts.
var SimpleSingleSessionAppWithOracleBin = "" /* 19136-byte string literal not displayed */
SimpleSingleSessionAppWithOracleBin is the compiled bytecode used for deploying new contracts.
Functions ¶
func GetAppState ¶
func GetAppStateWithOracle ¶
func GetGetGomokuBoardState ¶
func GetGetGomokuBoardState() []byte
func GetGomokuState ¶
func GetGomokuState() []byte
func GetSingleSessionConstructor ¶
GetSingleSessionConstructor generates abi-conforming constructors for SingleSession App
Types ¶
type MultiGomoku ¶
type MultiGomoku struct {
MultiGomokuCaller // Read-only binding to the contract
MultiGomokuTransactor // Write-only binding to the contract
MultiGomokuFilterer // Log filterer for contract events
}
MultiGomoku is an auto generated Go binding around an Ethereum contract.
func DeployMultiGomoku ¶
func DeployMultiGomoku(auth *bind.TransactOpts, backend bind.ContractBackend, _minStoneOffchain uint8, _maxStoneOnchain uint8) (common.Address, *types.Transaction, *MultiGomoku, error)
DeployMultiGomoku deploys a new Ethereum contract, binding an instance of MultiGomoku to it.
func NewMultiGomoku ¶
func NewMultiGomoku(address common.Address, backend bind.ContractBackend) (*MultiGomoku, error)
NewMultiGomoku creates a new instance of MultiGomoku, bound to a specific deployed contract.
type MultiGomokuCaller ¶
type MultiGomokuCaller struct {
// contains filtered or unexported fields
}
MultiGomokuCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMultiGomokuCaller ¶
func NewMultiGomokuCaller(address common.Address, caller bind.ContractCaller) (*MultiGomokuCaller, error)
NewMultiGomokuCaller creates a new read-only instance of MultiGomoku, bound to a specific deployed contract.
func (*MultiGomokuCaller) GetActionDeadline ¶
func (_MultiGomoku *MultiGomokuCaller) GetActionDeadline(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xcab92446.
Solidity: function getActionDeadline(bytes32 _session) view returns(uint256)
func (*MultiGomokuCaller) GetOutcome ¶
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*MultiGomokuCaller) GetSeqNum ¶
func (_MultiGomoku *MultiGomokuCaller) GetSeqNum(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x3b6de66f.
Solidity: function getSeqNum(bytes32 _session) view returns(uint256)
func (*MultiGomokuCaller) GetSessionID ¶
func (_MultiGomoku *MultiGomokuCaller) GetSessionID(opts *bind.CallOpts, _nonce *big.Int, _signers []common.Address) ([32]byte, error)
GetSessionID is a free data retrieval call binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) pure returns(bytes32)
func (*MultiGomokuCaller) GetSettleFinalizedTime ¶
func (_MultiGomoku *MultiGomokuCaller) GetSettleFinalizedTime(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _session) view returns(uint256)
func (*MultiGomokuCaller) GetState ¶
func (_MultiGomoku *MultiGomokuCaller) GetState(opts *bind.CallOpts, _session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*MultiGomokuCaller) GetStatus ¶
func (_MultiGomoku *MultiGomokuCaller) GetStatus(opts *bind.CallOpts, _session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*MultiGomokuCaller) IsFinalized ¶
func (_MultiGomoku *MultiGomokuCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
func (*MultiGomokuCaller) MaxStoneOnchain ¶
func (_MultiGomoku *MultiGomokuCaller) MaxStoneOnchain(opts *bind.CallOpts) (uint8, error)
MaxStoneOnchain is a free data retrieval call binding the contract method 0xc1a28656.
Solidity: function maxStoneOnchain() view returns(uint8)
func (*MultiGomokuCaller) MinStoneOffchain ¶
func (_MultiGomoku *MultiGomokuCaller) MinStoneOffchain(opts *bind.CallOpts) (uint8, error)
MinStoneOffchain is a free data retrieval call binding the contract method 0x7ca22157.
Solidity: function minStoneOffchain() view returns(uint8)
type MultiGomokuCallerRaw ¶
type MultiGomokuCallerRaw struct {
Contract *MultiGomokuCaller // Generic read-only contract binding to access the raw methods on
}
MultiGomokuCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MultiGomokuCallerRaw) Call ¶
func (_MultiGomoku *MultiGomokuCallerRaw) 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 MultiGomokuCallerSession ¶
type MultiGomokuCallerSession struct {
Contract *MultiGomokuCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
MultiGomokuCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MultiGomokuCallerSession) GetActionDeadline ¶
func (_MultiGomoku *MultiGomokuCallerSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xcab92446.
Solidity: function getActionDeadline(bytes32 _session) view returns(uint256)
func (*MultiGomokuCallerSession) GetOutcome ¶
func (_MultiGomoku *MultiGomokuCallerSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*MultiGomokuCallerSession) GetSeqNum ¶
func (_MultiGomoku *MultiGomokuCallerSession) GetSeqNum(_session [32]byte) (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x3b6de66f.
Solidity: function getSeqNum(bytes32 _session) view returns(uint256)
func (*MultiGomokuCallerSession) GetSessionID ¶
func (_MultiGomoku *MultiGomokuCallerSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
GetSessionID is a free data retrieval call binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) pure returns(bytes32)
func (*MultiGomokuCallerSession) GetSettleFinalizedTime ¶
func (_MultiGomoku *MultiGomokuCallerSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _session) view returns(uint256)
func (*MultiGomokuCallerSession) GetState ¶
func (_MultiGomoku *MultiGomokuCallerSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*MultiGomokuCallerSession) GetStatus ¶
func (_MultiGomoku *MultiGomokuCallerSession) GetStatus(_session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*MultiGomokuCallerSession) IsFinalized ¶
func (_MultiGomoku *MultiGomokuCallerSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
func (*MultiGomokuCallerSession) MaxStoneOnchain ¶
func (_MultiGomoku *MultiGomokuCallerSession) MaxStoneOnchain() (uint8, error)
MaxStoneOnchain is a free data retrieval call binding the contract method 0xc1a28656.
Solidity: function maxStoneOnchain() view returns(uint8)
func (*MultiGomokuCallerSession) MinStoneOffchain ¶
func (_MultiGomoku *MultiGomokuCallerSession) MinStoneOffchain() (uint8, error)
MinStoneOffchain is a free data retrieval call binding the contract method 0x7ca22157.
Solidity: function minStoneOffchain() view returns(uint8)
type MultiGomokuFilterer ¶
type MultiGomokuFilterer struct {
// contains filtered or unexported fields
}
MultiGomokuFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMultiGomokuFilterer ¶
func NewMultiGomokuFilterer(address common.Address, filterer bind.ContractFilterer) (*MultiGomokuFilterer, error)
NewMultiGomokuFilterer creates a new log filterer instance of MultiGomoku, bound to a specific deployed contract.
func (*MultiGomokuFilterer) FilterIntendSettle ¶
func (_MultiGomoku *MultiGomokuFilterer) FilterIntendSettle(opts *bind.FilterOpts, session [][32]byte) (*MultiGomokuIntendSettleIterator, error)
FilterIntendSettle is a free log retrieval operation binding the contract event 0x82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b.
Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)
func (*MultiGomokuFilterer) ParseIntendSettle ¶
func (_MultiGomoku *MultiGomokuFilterer) ParseIntendSettle(log types.Log) (*MultiGomokuIntendSettle, error)
ParseIntendSettle is a log parse operation binding the contract event 0x82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b.
Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)
func (*MultiGomokuFilterer) WatchIntendSettle ¶
func (_MultiGomoku *MultiGomokuFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *MultiGomokuIntendSettle, session [][32]byte) (event.Subscription, error)
WatchIntendSettle is a free log subscription operation binding the contract event 0x82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b.
Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)
type MultiGomokuIntendSettle ¶
type MultiGomokuIntendSettle struct {
Session [32]byte
Seq *big.Int
Raw types.Log // Blockchain specific contextual infos
}
MultiGomokuIntendSettle represents a IntendSettle event raised by the MultiGomoku contract.
type MultiGomokuIntendSettleIterator ¶
type MultiGomokuIntendSettleIterator struct {
Event *MultiGomokuIntendSettle // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
MultiGomokuIntendSettleIterator is returned from FilterIntendSettle and is used to iterate over the raw logs and unpacked data for IntendSettle events raised by the MultiGomoku contract.
func (*MultiGomokuIntendSettleIterator) Close ¶
func (it *MultiGomokuIntendSettleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MultiGomokuIntendSettleIterator) Error ¶
func (it *MultiGomokuIntendSettleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MultiGomokuIntendSettleIterator) Next ¶
func (it *MultiGomokuIntendSettleIterator) 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 MultiGomokuRaw ¶
type MultiGomokuRaw struct {
Contract *MultiGomoku // Generic contract binding to access the raw methods on
}
MultiGomokuRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MultiGomokuRaw) Call ¶
func (_MultiGomoku *MultiGomokuRaw) 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 (*MultiGomokuRaw) Transact ¶
func (_MultiGomoku *MultiGomokuRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MultiGomokuRaw) Transfer ¶
func (_MultiGomoku *MultiGomokuRaw) 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 MultiGomokuSession ¶
type MultiGomokuSession struct {
Contract *MultiGomoku // 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
}
MultiGomokuSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MultiGomokuSession) ApplyAction ¶
func (_MultiGomoku *MultiGomokuSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0xf3c77192.
Solidity: function applyAction(bytes32 _session, bytes _action) returns()
func (*MultiGomokuSession) FinalizeOnActionTimeout ¶
func (_MultiGomoku *MultiGomokuSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xb89fa28b.
Solidity: function finalizeOnActionTimeout(bytes32 _session) returns()
func (*MultiGomokuSession) GetActionDeadline ¶
func (_MultiGomoku *MultiGomokuSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xcab92446.
Solidity: function getActionDeadline(bytes32 _session) view returns(uint256)
func (*MultiGomokuSession) GetOutcome ¶
func (_MultiGomoku *MultiGomokuSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*MultiGomokuSession) GetSeqNum ¶
func (_MultiGomoku *MultiGomokuSession) GetSeqNum(_session [32]byte) (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x3b6de66f.
Solidity: function getSeqNum(bytes32 _session) view returns(uint256)
func (*MultiGomokuSession) GetSessionID ¶
func (_MultiGomoku *MultiGomokuSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
GetSessionID is a free data retrieval call binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) pure returns(bytes32)
func (*MultiGomokuSession) GetSettleFinalizedTime ¶
func (_MultiGomoku *MultiGomokuSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _session) view returns(uint256)
func (*MultiGomokuSession) GetState ¶
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*MultiGomokuSession) GetStatus ¶
func (_MultiGomoku *MultiGomokuSession) GetStatus(_session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*MultiGomokuSession) IntendSettle ¶
func (_MultiGomoku *MultiGomokuSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
func (*MultiGomokuSession) IsFinalized ¶
func (_MultiGomoku *MultiGomokuSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
func (*MultiGomokuSession) MaxStoneOnchain ¶
func (_MultiGomoku *MultiGomokuSession) MaxStoneOnchain() (uint8, error)
MaxStoneOnchain is a free data retrieval call binding the contract method 0xc1a28656.
Solidity: function maxStoneOnchain() view returns(uint8)
func (*MultiGomokuSession) MinStoneOffchain ¶
func (_MultiGomoku *MultiGomokuSession) MinStoneOffchain() (uint8, error)
MinStoneOffchain is a free data retrieval call binding the contract method 0x7ca22157.
Solidity: function minStoneOffchain() view returns(uint8)
type MultiGomokuTransactor ¶
type MultiGomokuTransactor struct {
// contains filtered or unexported fields
}
MultiGomokuTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMultiGomokuTransactor ¶
func NewMultiGomokuTransactor(address common.Address, transactor bind.ContractTransactor) (*MultiGomokuTransactor, error)
NewMultiGomokuTransactor creates a new write-only instance of MultiGomoku, bound to a specific deployed contract.
func (*MultiGomokuTransactor) ApplyAction ¶
func (_MultiGomoku *MultiGomokuTransactor) ApplyAction(opts *bind.TransactOpts, _session [32]byte, _action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0xf3c77192.
Solidity: function applyAction(bytes32 _session, bytes _action) returns()
func (*MultiGomokuTransactor) FinalizeOnActionTimeout ¶
func (_MultiGomoku *MultiGomokuTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts, _session [32]byte) (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xb89fa28b.
Solidity: function finalizeOnActionTimeout(bytes32 _session) returns()
func (*MultiGomokuTransactor) IntendSettle ¶
func (_MultiGomoku *MultiGomokuTransactor) IntendSettle(opts *bind.TransactOpts, _stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
type MultiGomokuTransactorRaw ¶
type MultiGomokuTransactorRaw struct {
Contract *MultiGomokuTransactor // Generic write-only contract binding to access the raw methods on
}
MultiGomokuTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MultiGomokuTransactorRaw) Transact ¶
func (_MultiGomoku *MultiGomokuTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MultiGomokuTransactorRaw) Transfer ¶
func (_MultiGomoku *MultiGomokuTransactorRaw) 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 MultiGomokuTransactorSession ¶
type MultiGomokuTransactorSession struct {
Contract *MultiGomokuTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
MultiGomokuTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MultiGomokuTransactorSession) ApplyAction ¶
func (_MultiGomoku *MultiGomokuTransactorSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0xf3c77192.
Solidity: function applyAction(bytes32 _session, bytes _action) returns()
func (*MultiGomokuTransactorSession) FinalizeOnActionTimeout ¶
func (_MultiGomoku *MultiGomokuTransactorSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xb89fa28b.
Solidity: function finalizeOnActionTimeout(bytes32 _session) returns()
func (*MultiGomokuTransactorSession) IntendSettle ¶
func (_MultiGomoku *MultiGomokuTransactorSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
type SimpleMultiSessionApp ¶
type SimpleMultiSessionApp struct {
SimpleMultiSessionAppCaller // Read-only binding to the contract
SimpleMultiSessionAppTransactor // Write-only binding to the contract
SimpleMultiSessionAppFilterer // Log filterer for contract events
}
SimpleMultiSessionApp is an auto generated Go binding around an Ethereum contract.
func DeploySimpleMultiSessionApp ¶
func DeploySimpleMultiSessionApp(auth *bind.TransactOpts, backend bind.ContractBackend, _playerNum *big.Int) (common.Address, *types.Transaction, *SimpleMultiSessionApp, error)
DeploySimpleMultiSessionApp deploys a new Ethereum contract, binding an instance of SimpleMultiSessionApp to it.
func NewSimpleMultiSessionApp ¶
func NewSimpleMultiSessionApp(address common.Address, backend bind.ContractBackend) (*SimpleMultiSessionApp, error)
NewSimpleMultiSessionApp creates a new instance of SimpleMultiSessionApp, bound to a specific deployed contract.
type SimpleMultiSessionAppCaller ¶
type SimpleMultiSessionAppCaller struct {
// contains filtered or unexported fields
}
SimpleMultiSessionAppCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleMultiSessionAppCaller ¶
func NewSimpleMultiSessionAppCaller(address common.Address, caller bind.ContractCaller) (*SimpleMultiSessionAppCaller, error)
NewSimpleMultiSessionAppCaller creates a new read-only instance of SimpleMultiSessionApp, bound to a specific deployed contract.
func (*SimpleMultiSessionAppCaller) GetActionDeadline ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetActionDeadline(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xcab92446.
Solidity: function getActionDeadline(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppCaller) GetOutcome ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleMultiSessionAppCaller) GetSeqNum ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSeqNum(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x3b6de66f.
Solidity: function getSeqNum(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppCaller) GetSessionID ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSessionID(opts *bind.CallOpts, _nonce *big.Int, _signers []common.Address) ([32]byte, error)
GetSessionID is a free data retrieval call binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) pure returns(bytes32)
func (*SimpleMultiSessionAppCaller) GetSettleFinalizedTime ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSettleFinalizedTime(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppCaller) GetState ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetState(opts *bind.CallOpts, _session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*SimpleMultiSessionAppCaller) GetStatus ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetStatus(opts *bind.CallOpts, _session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*SimpleMultiSessionAppCaller) IsFinalized ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleMultiSessionAppCallerRaw ¶
type SimpleMultiSessionAppCallerRaw struct {
Contract *SimpleMultiSessionAppCaller // Generic read-only contract binding to access the raw methods on
}
SimpleMultiSessionAppCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleMultiSessionAppCallerRaw) Call ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerRaw) 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 SimpleMultiSessionAppCallerSession ¶
type SimpleMultiSessionAppCallerSession struct {
Contract *SimpleMultiSessionAppCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SimpleMultiSessionAppCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleMultiSessionAppCallerSession) GetActionDeadline ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xcab92446.
Solidity: function getActionDeadline(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppCallerSession) GetOutcome ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleMultiSessionAppCallerSession) GetSeqNum ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSeqNum(_session [32]byte) (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x3b6de66f.
Solidity: function getSeqNum(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppCallerSession) GetSessionID ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
GetSessionID is a free data retrieval call binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) pure returns(bytes32)
func (*SimpleMultiSessionAppCallerSession) GetSettleFinalizedTime ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppCallerSession) GetState ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*SimpleMultiSessionAppCallerSession) GetStatus ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetStatus(_session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*SimpleMultiSessionAppCallerSession) IsFinalized ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleMultiSessionAppFilterer ¶
type SimpleMultiSessionAppFilterer struct {
// contains filtered or unexported fields
}
SimpleMultiSessionAppFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleMultiSessionAppFilterer ¶
func NewSimpleMultiSessionAppFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleMultiSessionAppFilterer, error)
NewSimpleMultiSessionAppFilterer creates a new log filterer instance of SimpleMultiSessionApp, bound to a specific deployed contract.
func (*SimpleMultiSessionAppFilterer) FilterIntendSettle ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) FilterIntendSettle(opts *bind.FilterOpts, session [][32]byte) (*SimpleMultiSessionAppIntendSettleIterator, error)
FilterIntendSettle is a free log retrieval operation binding the contract event 0x82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b.
Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)
func (*SimpleMultiSessionAppFilterer) ParseIntendSettle ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) ParseIntendSettle(log types.Log) (*SimpleMultiSessionAppIntendSettle, error)
ParseIntendSettle is a log parse operation binding the contract event 0x82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b.
Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)
func (*SimpleMultiSessionAppFilterer) WatchIntendSettle ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *SimpleMultiSessionAppIntendSettle, session [][32]byte) (event.Subscription, error)
WatchIntendSettle is a free log subscription operation binding the contract event 0x82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b.
Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)
type SimpleMultiSessionAppIntendSettle ¶
type SimpleMultiSessionAppIntendSettle struct {
Session [32]byte
Seq *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SimpleMultiSessionAppIntendSettle represents a IntendSettle event raised by the SimpleMultiSessionApp contract.
type SimpleMultiSessionAppIntendSettleIterator ¶
type SimpleMultiSessionAppIntendSettleIterator struct {
Event *SimpleMultiSessionAppIntendSettle // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleMultiSessionAppIntendSettleIterator is returned from FilterIntendSettle and is used to iterate over the raw logs and unpacked data for IntendSettle events raised by the SimpleMultiSessionApp contract.
func (*SimpleMultiSessionAppIntendSettleIterator) Close ¶
func (it *SimpleMultiSessionAppIntendSettleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleMultiSessionAppIntendSettleIterator) Error ¶
func (it *SimpleMultiSessionAppIntendSettleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleMultiSessionAppIntendSettleIterator) Next ¶
func (it *SimpleMultiSessionAppIntendSettleIterator) 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 SimpleMultiSessionAppRaw ¶
type SimpleMultiSessionAppRaw struct {
Contract *SimpleMultiSessionApp // Generic contract binding to access the raw methods on
}
SimpleMultiSessionAppRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleMultiSessionAppRaw) Call ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) 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 (*SimpleMultiSessionAppRaw) Transact ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleMultiSessionAppRaw) Transfer ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) 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 SimpleMultiSessionAppSession ¶
type SimpleMultiSessionAppSession struct {
Contract *SimpleMultiSessionApp // 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
}
SimpleMultiSessionAppSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleMultiSessionAppSession) ApplyAction ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0xf3c77192.
Solidity: function applyAction(bytes32 _session, bytes _action) returns()
func (*SimpleMultiSessionAppSession) FinalizeOnActionTimeout ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xb89fa28b.
Solidity: function finalizeOnActionTimeout(bytes32 _session) returns()
func (*SimpleMultiSessionAppSession) GetActionDeadline ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xcab92446.
Solidity: function getActionDeadline(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppSession) GetOutcome ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleMultiSessionAppSession) GetSeqNum ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSeqNum(_session [32]byte) (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x3b6de66f.
Solidity: function getSeqNum(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppSession) GetSessionID ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
GetSessionID is a free data retrieval call binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) pure returns(bytes32)
func (*SimpleMultiSessionAppSession) GetSettleFinalizedTime ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _session) view returns(uint256)
func (*SimpleMultiSessionAppSession) GetState ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*SimpleMultiSessionAppSession) GetStatus ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetStatus(_session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*SimpleMultiSessionAppSession) IntendSettle ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
func (*SimpleMultiSessionAppSession) IsFinalized ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleMultiSessionAppTransactor ¶
type SimpleMultiSessionAppTransactor struct {
// contains filtered or unexported fields
}
SimpleMultiSessionAppTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleMultiSessionAppTransactor ¶
func NewSimpleMultiSessionAppTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleMultiSessionAppTransactor, error)
NewSimpleMultiSessionAppTransactor creates a new write-only instance of SimpleMultiSessionApp, bound to a specific deployed contract.
func (*SimpleMultiSessionAppTransactor) ApplyAction ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) ApplyAction(opts *bind.TransactOpts, _session [32]byte, _action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0xf3c77192.
Solidity: function applyAction(bytes32 _session, bytes _action) returns()
func (*SimpleMultiSessionAppTransactor) FinalizeOnActionTimeout ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts, _session [32]byte) (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xb89fa28b.
Solidity: function finalizeOnActionTimeout(bytes32 _session) returns()
func (*SimpleMultiSessionAppTransactor) IntendSettle ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) IntendSettle(opts *bind.TransactOpts, _stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
type SimpleMultiSessionAppTransactorRaw ¶
type SimpleMultiSessionAppTransactorRaw struct {
Contract *SimpleMultiSessionAppTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleMultiSessionAppTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleMultiSessionAppTransactorRaw) Transact ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleMultiSessionAppTransactorRaw) Transfer ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorRaw) 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 SimpleMultiSessionAppTransactorSession ¶
type SimpleMultiSessionAppTransactorSession struct {
Contract *SimpleMultiSessionAppTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SimpleMultiSessionAppTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleMultiSessionAppTransactorSession) ApplyAction ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0xf3c77192.
Solidity: function applyAction(bytes32 _session, bytes _action) returns()
func (*SimpleMultiSessionAppTransactorSession) FinalizeOnActionTimeout ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xb89fa28b.
Solidity: function finalizeOnActionTimeout(bytes32 _session) returns()
func (*SimpleMultiSessionAppTransactorSession) IntendSettle ¶
func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
type SimpleMultiSessionAppWithOracle ¶
type SimpleMultiSessionAppWithOracle struct {
SimpleMultiSessionAppWithOracleCaller // Read-only binding to the contract
SimpleMultiSessionAppWithOracleTransactor // Write-only binding to the contract
SimpleMultiSessionAppWithOracleFilterer // Log filterer for contract events
}
SimpleMultiSessionAppWithOracle is an auto generated Go binding around an Ethereum contract.
func DeploySimpleMultiSessionAppWithOracle ¶
func DeploySimpleMultiSessionAppWithOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _sigTimeout *big.Int, _moveTimeout *big.Int, _playerNum *big.Int, _oracle common.Address) (common.Address, *types.Transaction, *SimpleMultiSessionAppWithOracle, error)
DeploySimpleMultiSessionAppWithOracle deploys a new Ethereum contract, binding an instance of SimpleMultiSessionAppWithOracle to it.
func NewSimpleMultiSessionAppWithOracle ¶
func NewSimpleMultiSessionAppWithOracle(address common.Address, backend bind.ContractBackend) (*SimpleMultiSessionAppWithOracle, error)
NewSimpleMultiSessionAppWithOracle creates a new instance of SimpleMultiSessionAppWithOracle, bound to a specific deployed contract.
type SimpleMultiSessionAppWithOracleCaller ¶
type SimpleMultiSessionAppWithOracleCaller struct {
// contains filtered or unexported fields
}
SimpleMultiSessionAppWithOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleMultiSessionAppWithOracleCaller ¶
func NewSimpleMultiSessionAppWithOracleCaller(address common.Address, caller bind.ContractCaller) (*SimpleMultiSessionAppWithOracleCaller, error)
NewSimpleMultiSessionAppWithOracleCaller creates a new read-only instance of SimpleMultiSessionAppWithOracle, bound to a specific deployed contract.
func (*SimpleMultiSessionAppWithOracleCaller) GetOutcome ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleMultiSessionAppWithOracleCaller) GetState ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) GetState(opts *bind.CallOpts, _session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*SimpleMultiSessionAppWithOracleCaller) GetStatus ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) GetStatus(opts *bind.CallOpts, _session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*SimpleMultiSessionAppWithOracleCaller) IsFinalized ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleMultiSessionAppWithOracleCallerRaw ¶
type SimpleMultiSessionAppWithOracleCallerRaw struct {
Contract *SimpleMultiSessionAppWithOracleCaller // Generic read-only contract binding to access the raw methods on
}
SimpleMultiSessionAppWithOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleMultiSessionAppWithOracleCallerRaw) Call ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerRaw) 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 SimpleMultiSessionAppWithOracleCallerSession ¶
type SimpleMultiSessionAppWithOracleCallerSession struct {
Contract *SimpleMultiSessionAppWithOracleCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SimpleMultiSessionAppWithOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleMultiSessionAppWithOracleCallerSession) GetOutcome ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleMultiSessionAppWithOracleCallerSession) GetState ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*SimpleMultiSessionAppWithOracleCallerSession) GetStatus ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) GetStatus(_session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*SimpleMultiSessionAppWithOracleCallerSession) IsFinalized ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleCallerSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleMultiSessionAppWithOracleFilterer ¶
type SimpleMultiSessionAppWithOracleFilterer struct {
// contains filtered or unexported fields
}
SimpleMultiSessionAppWithOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleMultiSessionAppWithOracleFilterer ¶
func NewSimpleMultiSessionAppWithOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleMultiSessionAppWithOracleFilterer, error)
NewSimpleMultiSessionAppWithOracleFilterer creates a new log filterer instance of SimpleMultiSessionAppWithOracle, bound to a specific deployed contract.
func (*SimpleMultiSessionAppWithOracleFilterer) FilterInvalidStateDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterInvalidStateDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator, error)
FilterInvalidStateDispute is a free log retrieval operation binding the contract event 0x1ee6c3823014f5e366ff312d2cf02769f8c7767be5f8c4fc3bcfaa9eb1517d81.
Solidity: event InvalidStateDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) FilterInvalidTurnDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterInvalidTurnDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator, error)
FilterInvalidTurnDispute is a free log retrieval operation binding the contract event 0x632769e06437be0bc831706f701d0f55babe48cb2f48113134e4103bd5830afd.
Solidity: event InvalidTurnDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) FilterMoveTimeoutDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterMoveTimeoutDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator, error)
FilterMoveTimeoutDispute is a free log retrieval operation binding the contract event 0x36a857ab2f7719bef9c1d8246bf7211e3b4ec09468b88347325456d5bec1ce3a.
Solidity: event MoveTimeoutDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) FilterSigTimeoutDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) FilterSigTimeoutDispute(opts *bind.FilterOpts) (*SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator, error)
FilterSigTimeoutDispute is a free log retrieval operation binding the contract event 0x84b2b939adef644951dc4dc6318dc4fbe66768898728a435c356a3296947e510.
Solidity: event SigTimeoutDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) ParseInvalidStateDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseInvalidStateDispute(log types.Log) (*SimpleMultiSessionAppWithOracleInvalidStateDispute, error)
ParseInvalidStateDispute is a log parse operation binding the contract event 0x1ee6c3823014f5e366ff312d2cf02769f8c7767be5f8c4fc3bcfaa9eb1517d81.
Solidity: event InvalidStateDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) ParseInvalidTurnDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseInvalidTurnDispute(log types.Log) (*SimpleMultiSessionAppWithOracleInvalidTurnDispute, error)
ParseInvalidTurnDispute is a log parse operation binding the contract event 0x632769e06437be0bc831706f701d0f55babe48cb2f48113134e4103bd5830afd.
Solidity: event InvalidTurnDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) ParseMoveTimeoutDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseMoveTimeoutDispute(log types.Log) (*SimpleMultiSessionAppWithOracleMoveTimeoutDispute, error)
ParseMoveTimeoutDispute is a log parse operation binding the contract event 0x36a857ab2f7719bef9c1d8246bf7211e3b4ec09468b88347325456d5bec1ce3a.
Solidity: event MoveTimeoutDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) ParseSigTimeoutDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) ParseSigTimeoutDispute(log types.Log) (*SimpleMultiSessionAppWithOracleSigTimeoutDispute, error)
ParseSigTimeoutDispute is a log parse operation binding the contract event 0x84b2b939adef644951dc4dc6318dc4fbe66768898728a435c356a3296947e510.
Solidity: event SigTimeoutDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) WatchInvalidStateDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchInvalidStateDispute(opts *bind.WatchOpts, sink chan<- *SimpleMultiSessionAppWithOracleInvalidStateDispute) (event.Subscription, error)
WatchInvalidStateDispute is a free log subscription operation binding the contract event 0x1ee6c3823014f5e366ff312d2cf02769f8c7767be5f8c4fc3bcfaa9eb1517d81.
Solidity: event InvalidStateDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) WatchInvalidTurnDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchInvalidTurnDispute(opts *bind.WatchOpts, sink chan<- *SimpleMultiSessionAppWithOracleInvalidTurnDispute) (event.Subscription, error)
WatchInvalidTurnDispute is a free log subscription operation binding the contract event 0x632769e06437be0bc831706f701d0f55babe48cb2f48113134e4103bd5830afd.
Solidity: event InvalidTurnDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) WatchMoveTimeoutDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchMoveTimeoutDispute(opts *bind.WatchOpts, sink chan<- *SimpleMultiSessionAppWithOracleMoveTimeoutDispute) (event.Subscription, error)
WatchMoveTimeoutDispute is a free log subscription operation binding the contract event 0x36a857ab2f7719bef9c1d8246bf7211e3b4ec09468b88347325456d5bec1ce3a.
Solidity: event MoveTimeoutDispute(bytes32 session)
func (*SimpleMultiSessionAppWithOracleFilterer) WatchSigTimeoutDispute ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleFilterer) WatchSigTimeoutDispute(opts *bind.WatchOpts, sink chan<- *SimpleMultiSessionAppWithOracleSigTimeoutDispute) (event.Subscription, error)
WatchSigTimeoutDispute is a free log subscription operation binding the contract event 0x84b2b939adef644951dc4dc6318dc4fbe66768898728a435c356a3296947e510.
Solidity: event SigTimeoutDispute(bytes32 session)
type SimpleMultiSessionAppWithOracleInvalidStateDispute ¶
type SimpleMultiSessionAppWithOracleInvalidStateDispute struct {
Session [32]byte
Raw types.Log // Blockchain specific contextual infos
}
SimpleMultiSessionAppWithOracleInvalidStateDispute represents a InvalidStateDispute event raised by the SimpleMultiSessionAppWithOracle contract.
type SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator ¶
type SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator struct {
Event *SimpleMultiSessionAppWithOracleInvalidStateDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator is returned from FilterInvalidStateDispute and is used to iterate over the raw logs and unpacked data for InvalidStateDispute events raised by the SimpleMultiSessionAppWithOracle contract.
func (*SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator) Close ¶
func (it *SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator) Error ¶
func (it *SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator) Next ¶
func (it *SimpleMultiSessionAppWithOracleInvalidStateDisputeIterator) 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 SimpleMultiSessionAppWithOracleInvalidTurnDispute ¶
type SimpleMultiSessionAppWithOracleInvalidTurnDispute struct {
Session [32]byte
Raw types.Log // Blockchain specific contextual infos
}
SimpleMultiSessionAppWithOracleInvalidTurnDispute represents a InvalidTurnDispute event raised by the SimpleMultiSessionAppWithOracle contract.
type SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator ¶
type SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator struct {
Event *SimpleMultiSessionAppWithOracleInvalidTurnDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator is returned from FilterInvalidTurnDispute and is used to iterate over the raw logs and unpacked data for InvalidTurnDispute events raised by the SimpleMultiSessionAppWithOracle contract.
func (*SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator) Close ¶
func (it *SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator) Error ¶
func (it *SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator) Next ¶
func (it *SimpleMultiSessionAppWithOracleInvalidTurnDisputeIterator) 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 SimpleMultiSessionAppWithOracleMoveTimeoutDispute ¶
type SimpleMultiSessionAppWithOracleMoveTimeoutDispute struct {
Session [32]byte
Raw types.Log // Blockchain specific contextual infos
}
SimpleMultiSessionAppWithOracleMoveTimeoutDispute represents a MoveTimeoutDispute event raised by the SimpleMultiSessionAppWithOracle contract.
type SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator ¶
type SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator struct {
Event *SimpleMultiSessionAppWithOracleMoveTimeoutDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator is returned from FilterMoveTimeoutDispute and is used to iterate over the raw logs and unpacked data for MoveTimeoutDispute events raised by the SimpleMultiSessionAppWithOracle contract.
func (*SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator) Close ¶
func (it *SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator) Error ¶
func (it *SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator) Next ¶
func (it *SimpleMultiSessionAppWithOracleMoveTimeoutDisputeIterator) 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 SimpleMultiSessionAppWithOracleRaw ¶
type SimpleMultiSessionAppWithOracleRaw struct {
Contract *SimpleMultiSessionAppWithOracle // Generic contract binding to access the raw methods on
}
SimpleMultiSessionAppWithOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleMultiSessionAppWithOracleRaw) Call ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleRaw) 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 (*SimpleMultiSessionAppWithOracleRaw) Transact ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleMultiSessionAppWithOracleRaw) Transfer ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleRaw) 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 SimpleMultiSessionAppWithOracleSession ¶
type SimpleMultiSessionAppWithOracleSession struct {
Contract *SimpleMultiSessionAppWithOracle // 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
}
SimpleMultiSessionAppWithOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleMultiSessionAppWithOracleSession) GetOutcome ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleMultiSessionAppWithOracleSession) GetSessionID ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetSessionID(_nonce *big.Int, _signers []common.Address) (*types.Transaction, error)
GetSessionID is a paid mutator transaction binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) returns(bytes32 session)
func (*SimpleMultiSessionAppWithOracleSession) GetState ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x29dd2f8e.
Solidity: function getState(bytes32 _session, uint256 _key) view returns(bytes)
func (*SimpleMultiSessionAppWithOracleSession) GetStatus ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) GetStatus(_session [32]byte) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x5de28ae0.
Solidity: function getStatus(bytes32 _session) view returns(uint8)
func (*SimpleMultiSessionAppWithOracleSession) IsFinalized ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
func (*SimpleMultiSessionAppWithOracleSession) SettleByInvalidState ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidState is a paid mutator transaction binding the contract method 0xfb3fe806.
Solidity: function settleByInvalidState(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleMultiSessionAppWithOracleSession) SettleByInvalidTurn ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidTurn is a paid mutator transaction binding the contract method 0xa428cd3b.
Solidity: function settleByInvalidTurn(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleMultiSessionAppWithOracleSession) SettleByMoveTimeout ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleByMoveTimeout is a paid mutator transaction binding the contract method 0xf26285b2.
Solidity: function settleByMoveTimeout(bytes _oracleProof) returns()
func (*SimpleMultiSessionAppWithOracleSession) SettleBySigTimeout ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleBySigTimeout is a paid mutator transaction binding the contract method 0x2141dbda.
Solidity: function settleBySigTimeout(bytes _oracleProof) returns()
type SimpleMultiSessionAppWithOracleSigTimeoutDispute ¶
type SimpleMultiSessionAppWithOracleSigTimeoutDispute struct {
Session [32]byte
Raw types.Log // Blockchain specific contextual infos
}
SimpleMultiSessionAppWithOracleSigTimeoutDispute represents a SigTimeoutDispute event raised by the SimpleMultiSessionAppWithOracle contract.
type SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator ¶
type SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator struct {
Event *SimpleMultiSessionAppWithOracleSigTimeoutDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator is returned from FilterSigTimeoutDispute and is used to iterate over the raw logs and unpacked data for SigTimeoutDispute events raised by the SimpleMultiSessionAppWithOracle contract.
func (*SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator) Close ¶
func (it *SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator) Error ¶
func (it *SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator) Next ¶
func (it *SimpleMultiSessionAppWithOracleSigTimeoutDisputeIterator) 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 SimpleMultiSessionAppWithOracleTransactor ¶
type SimpleMultiSessionAppWithOracleTransactor struct {
// contains filtered or unexported fields
}
SimpleMultiSessionAppWithOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleMultiSessionAppWithOracleTransactor ¶
func NewSimpleMultiSessionAppWithOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleMultiSessionAppWithOracleTransactor, error)
NewSimpleMultiSessionAppWithOracleTransactor creates a new write-only instance of SimpleMultiSessionAppWithOracle, bound to a specific deployed contract.
func (*SimpleMultiSessionAppWithOracleTransactor) GetSessionID ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) GetSessionID(opts *bind.TransactOpts, _nonce *big.Int, _signers []common.Address) (*types.Transaction, error)
GetSessionID is a paid mutator transaction binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) returns(bytes32 session)
func (*SimpleMultiSessionAppWithOracleTransactor) SettleByInvalidState ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleByInvalidState(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidState is a paid mutator transaction binding the contract method 0xfb3fe806.
Solidity: function settleByInvalidState(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleMultiSessionAppWithOracleTransactor) SettleByInvalidTurn ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleByInvalidTurn(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidTurn is a paid mutator transaction binding the contract method 0xa428cd3b.
Solidity: function settleByInvalidTurn(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleMultiSessionAppWithOracleTransactor) SettleByMoveTimeout ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleByMoveTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
SettleByMoveTimeout is a paid mutator transaction binding the contract method 0xf26285b2.
Solidity: function settleByMoveTimeout(bytes _oracleProof) returns()
func (*SimpleMultiSessionAppWithOracleTransactor) SettleBySigTimeout ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactor) SettleBySigTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
SettleBySigTimeout is a paid mutator transaction binding the contract method 0x2141dbda.
Solidity: function settleBySigTimeout(bytes _oracleProof) returns()
type SimpleMultiSessionAppWithOracleTransactorRaw ¶
type SimpleMultiSessionAppWithOracleTransactorRaw struct {
Contract *SimpleMultiSessionAppWithOracleTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleMultiSessionAppWithOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleMultiSessionAppWithOracleTransactorRaw) Transact ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleMultiSessionAppWithOracleTransactorRaw) Transfer ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorRaw) 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 SimpleMultiSessionAppWithOracleTransactorSession ¶
type SimpleMultiSessionAppWithOracleTransactorSession struct {
Contract *SimpleMultiSessionAppWithOracleTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SimpleMultiSessionAppWithOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleMultiSessionAppWithOracleTransactorSession) GetSessionID ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) GetSessionID(_nonce *big.Int, _signers []common.Address) (*types.Transaction, error)
GetSessionID is a paid mutator transaction binding the contract method 0x4d8bedec.
Solidity: function getSessionID(uint256 _nonce, address[] _signers) returns(bytes32 session)
func (*SimpleMultiSessionAppWithOracleTransactorSession) SettleByInvalidState ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidState is a paid mutator transaction binding the contract method 0xfb3fe806.
Solidity: function settleByInvalidState(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleMultiSessionAppWithOracleTransactorSession) SettleByInvalidTurn ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidTurn is a paid mutator transaction binding the contract method 0xa428cd3b.
Solidity: function settleByInvalidTurn(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleMultiSessionAppWithOracleTransactorSession) SettleByMoveTimeout ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleByMoveTimeout is a paid mutator transaction binding the contract method 0xf26285b2.
Solidity: function settleByMoveTimeout(bytes _oracleProof) returns()
func (*SimpleMultiSessionAppWithOracleTransactorSession) SettleBySigTimeout ¶
func (_SimpleMultiSessionAppWithOracle *SimpleMultiSessionAppWithOracleTransactorSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleBySigTimeout is a paid mutator transaction binding the contract method 0x2141dbda.
Solidity: function settleBySigTimeout(bytes _oracleProof) returns()
type SimpleSingleSessionApp ¶
type SimpleSingleSessionApp struct {
SimpleSingleSessionAppCaller // Read-only binding to the contract
SimpleSingleSessionAppTransactor // Write-only binding to the contract
SimpleSingleSessionAppFilterer // Log filterer for contract events
}
SimpleSingleSessionApp is an auto generated Go binding around an Ethereum contract.
func DeploySimpleSingleSessionApp ¶
func DeploySimpleSingleSessionApp(auth *bind.TransactOpts, backend bind.ContractBackend, _players []common.Address, _nonce *big.Int, _timeout *big.Int) (common.Address, *types.Transaction, *SimpleSingleSessionApp, error)
DeploySimpleSingleSessionApp deploys a new Ethereum contract, binding an instance of SimpleSingleSessionApp to it.
func NewSimpleSingleSessionApp ¶
func NewSimpleSingleSessionApp(address common.Address, backend bind.ContractBackend) (*SimpleSingleSessionApp, error)
NewSimpleSingleSessionApp creates a new instance of SimpleSingleSessionApp, bound to a specific deployed contract.
type SimpleSingleSessionAppCaller ¶
type SimpleSingleSessionAppCaller struct {
// contains filtered or unexported fields
}
SimpleSingleSessionAppCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleSingleSessionAppCaller ¶
func NewSimpleSingleSessionAppCaller(address common.Address, caller bind.ContractCaller) (*SimpleSingleSessionAppCaller, error)
NewSimpleSingleSessionAppCaller creates a new read-only instance of SimpleSingleSessionApp, bound to a specific deployed contract.
func (*SimpleSingleSessionAppCaller) GetActionDeadline ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetActionDeadline(opts *bind.CallOpts) (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xbbc35280.
Solidity: function getActionDeadline() view returns(uint256)
func (*SimpleSingleSessionAppCaller) GetOutcome ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleSingleSessionAppCaller) GetSeqNum ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetSeqNum(opts *bind.CallOpts) (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x6d15c457.
Solidity: function getSeqNum() view returns(uint256)
func (*SimpleSingleSessionAppCaller) GetSettleFinalizedTime ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetSettleFinalizedTime(opts *bind.CallOpts) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0xb71ca01f.
Solidity: function getSettleFinalizedTime() view returns(uint256)
func (*SimpleSingleSessionAppCaller) GetState ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetState(opts *bind.CallOpts, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 _key) view returns(bytes)
func (*SimpleSingleSessionAppCaller) GetStatus ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) GetStatus(opts *bind.CallOpts) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*SimpleSingleSessionAppCaller) IsFinalized ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleSingleSessionAppCallerRaw ¶
type SimpleSingleSessionAppCallerRaw struct {
Contract *SimpleSingleSessionAppCaller // Generic read-only contract binding to access the raw methods on
}
SimpleSingleSessionAppCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleSingleSessionAppCallerRaw) Call ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerRaw) 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 SimpleSingleSessionAppCallerSession ¶
type SimpleSingleSessionAppCallerSession struct {
Contract *SimpleSingleSessionAppCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SimpleSingleSessionAppCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleSingleSessionAppCallerSession) GetActionDeadline ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetActionDeadline() (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xbbc35280.
Solidity: function getActionDeadline() view returns(uint256)
func (*SimpleSingleSessionAppCallerSession) GetOutcome ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleSingleSessionAppCallerSession) GetSeqNum ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetSeqNum() (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x6d15c457.
Solidity: function getSeqNum() view returns(uint256)
func (*SimpleSingleSessionAppCallerSession) GetSettleFinalizedTime ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetSettleFinalizedTime() (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0xb71ca01f.
Solidity: function getSettleFinalizedTime() view returns(uint256)
func (*SimpleSingleSessionAppCallerSession) GetState ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetState(_key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 _key) view returns(bytes)
func (*SimpleSingleSessionAppCallerSession) GetStatus ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) GetStatus() (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*SimpleSingleSessionAppCallerSession) IsFinalized ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppCallerSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleSingleSessionAppFilterer ¶
type SimpleSingleSessionAppFilterer struct {
// contains filtered or unexported fields
}
SimpleSingleSessionAppFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleSingleSessionAppFilterer ¶
func NewSimpleSingleSessionAppFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleSingleSessionAppFilterer, error)
NewSimpleSingleSessionAppFilterer creates a new log filterer instance of SimpleSingleSessionApp, bound to a specific deployed contract.
func (*SimpleSingleSessionAppFilterer) FilterIntendSettle ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppFilterer) FilterIntendSettle(opts *bind.FilterOpts) (*SimpleSingleSessionAppIntendSettleIterator, error)
FilterIntendSettle is a free log retrieval operation binding the contract event 0xce68db27527c6058059e8cbd1c6de0528ef1c417fe1c21c545919c7da3466d2a.
Solidity: event IntendSettle(uint256 seq)
func (*SimpleSingleSessionAppFilterer) ParseIntendSettle ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppFilterer) ParseIntendSettle(log types.Log) (*SimpleSingleSessionAppIntendSettle, error)
ParseIntendSettle is a log parse operation binding the contract event 0xce68db27527c6058059e8cbd1c6de0528ef1c417fe1c21c545919c7da3466d2a.
Solidity: event IntendSettle(uint256 seq)
func (*SimpleSingleSessionAppFilterer) WatchIntendSettle ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *SimpleSingleSessionAppIntendSettle) (event.Subscription, error)
WatchIntendSettle is a free log subscription operation binding the contract event 0xce68db27527c6058059e8cbd1c6de0528ef1c417fe1c21c545919c7da3466d2a.
Solidity: event IntendSettle(uint256 seq)
type SimpleSingleSessionAppIntendSettle ¶
type SimpleSingleSessionAppIntendSettle struct {
Seq *big.Int
Raw types.Log // Blockchain specific contextual infos
}
SimpleSingleSessionAppIntendSettle represents a IntendSettle event raised by the SimpleSingleSessionApp contract.
type SimpleSingleSessionAppIntendSettleIterator ¶
type SimpleSingleSessionAppIntendSettleIterator struct {
Event *SimpleSingleSessionAppIntendSettle // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleSingleSessionAppIntendSettleIterator is returned from FilterIntendSettle and is used to iterate over the raw logs and unpacked data for IntendSettle events raised by the SimpleSingleSessionApp contract.
func (*SimpleSingleSessionAppIntendSettleIterator) Close ¶
func (it *SimpleSingleSessionAppIntendSettleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleSingleSessionAppIntendSettleIterator) Error ¶
func (it *SimpleSingleSessionAppIntendSettleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleSingleSessionAppIntendSettleIterator) Next ¶
func (it *SimpleSingleSessionAppIntendSettleIterator) 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 SimpleSingleSessionAppRaw ¶
type SimpleSingleSessionAppRaw struct {
Contract *SimpleSingleSessionApp // Generic contract binding to access the raw methods on
}
SimpleSingleSessionAppRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleSingleSessionAppRaw) Call ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppRaw) 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 (*SimpleSingleSessionAppRaw) Transact ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleSingleSessionAppRaw) Transfer ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppRaw) 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 SimpleSingleSessionAppSession ¶
type SimpleSingleSessionAppSession struct {
Contract *SimpleSingleSessionApp // 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
}
SimpleSingleSessionAppSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleSingleSessionAppSession) ApplyAction ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) ApplyAction(_action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0x1f2b71e5.
Solidity: function applyAction(bytes _action) returns()
func (*SimpleSingleSessionAppSession) FinalizeOnActionTimeout ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) FinalizeOnActionTimeout() (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xfa5e7ff5.
Solidity: function finalizeOnActionTimeout() returns()
func (*SimpleSingleSessionAppSession) GetActionDeadline ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetActionDeadline() (*big.Int, error)
GetActionDeadline is a free data retrieval call binding the contract method 0xbbc35280.
Solidity: function getActionDeadline() view returns(uint256)
func (*SimpleSingleSessionAppSession) GetOutcome ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleSingleSessionAppSession) GetSeqNum ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetSeqNum() (*big.Int, error)
GetSeqNum is a free data retrieval call binding the contract method 0x6d15c457.
Solidity: function getSeqNum() view returns(uint256)
func (*SimpleSingleSessionAppSession) GetSettleFinalizedTime ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetSettleFinalizedTime() (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0xb71ca01f.
Solidity: function getSettleFinalizedTime() view returns(uint256)
func (*SimpleSingleSessionAppSession) GetState ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetState(_key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 _key) view returns(bytes)
func (*SimpleSingleSessionAppSession) GetStatus ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) GetStatus() (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*SimpleSingleSessionAppSession) IntendSettle ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
func (*SimpleSingleSessionAppSession) IsFinalized ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleSingleSessionAppTransactor ¶
type SimpleSingleSessionAppTransactor struct {
// contains filtered or unexported fields
}
SimpleSingleSessionAppTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleSingleSessionAppTransactor ¶
func NewSimpleSingleSessionAppTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleSingleSessionAppTransactor, error)
NewSimpleSingleSessionAppTransactor creates a new write-only instance of SimpleSingleSessionApp, bound to a specific deployed contract.
func (*SimpleSingleSessionAppTransactor) ApplyAction ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactor) ApplyAction(opts *bind.TransactOpts, _action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0x1f2b71e5.
Solidity: function applyAction(bytes _action) returns()
func (*SimpleSingleSessionAppTransactor) FinalizeOnActionTimeout ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts) (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xfa5e7ff5.
Solidity: function finalizeOnActionTimeout() returns()
func (*SimpleSingleSessionAppTransactor) IntendSettle ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactor) IntendSettle(opts *bind.TransactOpts, _stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
type SimpleSingleSessionAppTransactorRaw ¶
type SimpleSingleSessionAppTransactorRaw struct {
Contract *SimpleSingleSessionAppTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleSingleSessionAppTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleSingleSessionAppTransactorRaw) Transact ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleSingleSessionAppTransactorRaw) Transfer ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorRaw) 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 SimpleSingleSessionAppTransactorSession ¶
type SimpleSingleSessionAppTransactorSession struct {
Contract *SimpleSingleSessionAppTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SimpleSingleSessionAppTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleSingleSessionAppTransactorSession) ApplyAction ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorSession) ApplyAction(_action []byte) (*types.Transaction, error)
ApplyAction is a paid mutator transaction binding the contract method 0x1f2b71e5.
Solidity: function applyAction(bytes _action) returns()
func (*SimpleSingleSessionAppTransactorSession) FinalizeOnActionTimeout ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorSession) FinalizeOnActionTimeout() (*types.Transaction, error)
FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xfa5e7ff5.
Solidity: function finalizeOnActionTimeout() returns()
func (*SimpleSingleSessionAppTransactorSession) IntendSettle ¶
func (_SimpleSingleSessionApp *SimpleSingleSessionAppTransactorSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _stateProof) returns()
type SimpleSingleSessionAppWithOracle ¶
type SimpleSingleSessionAppWithOracle struct {
SimpleSingleSessionAppWithOracleCaller // Read-only binding to the contract
SimpleSingleSessionAppWithOracleTransactor // Write-only binding to the contract
SimpleSingleSessionAppWithOracleFilterer // Log filterer for contract events
}
SimpleSingleSessionAppWithOracle is an auto generated Go binding around an Ethereum contract.
func DeploySimpleSingleSessionAppWithOracle ¶
func DeploySimpleSingleSessionAppWithOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _players []common.Address, _nonce *big.Int, _sigTimeout *big.Int, _moveTimeout *big.Int, _oracle common.Address) (common.Address, *types.Transaction, *SimpleSingleSessionAppWithOracle, error)
DeploySimpleSingleSessionAppWithOracle deploys a new Ethereum contract, binding an instance of SimpleSingleSessionAppWithOracle to it.
func NewSimpleSingleSessionAppWithOracle ¶
func NewSimpleSingleSessionAppWithOracle(address common.Address, backend bind.ContractBackend) (*SimpleSingleSessionAppWithOracle, error)
NewSimpleSingleSessionAppWithOracle creates a new instance of SimpleSingleSessionAppWithOracle, bound to a specific deployed contract.
type SimpleSingleSessionAppWithOracleCaller ¶
type SimpleSingleSessionAppWithOracleCaller struct {
// contains filtered or unexported fields
}
SimpleSingleSessionAppWithOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleSingleSessionAppWithOracleCaller ¶
func NewSimpleSingleSessionAppWithOracleCaller(address common.Address, caller bind.ContractCaller) (*SimpleSingleSessionAppWithOracleCaller, error)
NewSimpleSingleSessionAppWithOracleCaller creates a new read-only instance of SimpleSingleSessionAppWithOracle, bound to a specific deployed contract.
func (*SimpleSingleSessionAppWithOracleCaller) GetOutcome ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleSingleSessionAppWithOracleCaller) GetState ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) GetState(opts *bind.CallOpts, _key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 _key) view returns(bytes)
func (*SimpleSingleSessionAppWithOracleCaller) GetStatus ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) GetStatus(opts *bind.CallOpts) (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*SimpleSingleSessionAppWithOracleCaller) IsFinalized ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleSingleSessionAppWithOracleCallerRaw ¶
type SimpleSingleSessionAppWithOracleCallerRaw struct {
Contract *SimpleSingleSessionAppWithOracleCaller // Generic read-only contract binding to access the raw methods on
}
SimpleSingleSessionAppWithOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleSingleSessionAppWithOracleCallerRaw) Call ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerRaw) 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 SimpleSingleSessionAppWithOracleCallerSession ¶
type SimpleSingleSessionAppWithOracleCallerSession struct {
Contract *SimpleSingleSessionAppWithOracleCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
SimpleSingleSessionAppWithOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleSingleSessionAppWithOracleCallerSession) GetOutcome ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleSingleSessionAppWithOracleCallerSession) GetState ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) GetState(_key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 _key) view returns(bytes)
func (*SimpleSingleSessionAppWithOracleCallerSession) GetStatus ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) GetStatus() (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*SimpleSingleSessionAppWithOracleCallerSession) IsFinalized ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleCallerSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
type SimpleSingleSessionAppWithOracleFilterer ¶
type SimpleSingleSessionAppWithOracleFilterer struct {
// contains filtered or unexported fields
}
SimpleSingleSessionAppWithOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleSingleSessionAppWithOracleFilterer ¶
func NewSimpleSingleSessionAppWithOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleSingleSessionAppWithOracleFilterer, error)
NewSimpleSingleSessionAppWithOracleFilterer creates a new log filterer instance of SimpleSingleSessionAppWithOracle, bound to a specific deployed contract.
func (*SimpleSingleSessionAppWithOracleFilterer) FilterInvalidStateDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterInvalidStateDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator, error)
FilterInvalidStateDispute is a free log retrieval operation binding the contract event 0x58857d7e5d46d366a88b9b19c3c4bfb7573323b8e0602e3966d582bac5aa5fca.
Solidity: event InvalidStateDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) FilterInvalidTurnDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterInvalidTurnDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator, error)
FilterInvalidTurnDispute is a free log retrieval operation binding the contract event 0x12583b36c4ceb396f9b64ae9b3055f92e067e9e27f25624468e49465c7d6d258.
Solidity: event InvalidTurnDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) FilterMoveTimeoutDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterMoveTimeoutDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator, error)
FilterMoveTimeoutDispute is a free log retrieval operation binding the contract event 0x5ca2c3e34ecb38f5b6e98856236647247d4acb6a797617631c7815dc16ac0c11.
Solidity: event MoveTimeoutDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) FilterSigTimeoutDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) FilterSigTimeoutDispute(opts *bind.FilterOpts) (*SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator, error)
FilterSigTimeoutDispute is a free log retrieval operation binding the contract event 0x4ede5136b5765b273092424d192085d14577fe5c0b0512401b5d3706b46c8e20.
Solidity: event SigTimeoutDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) ParseInvalidStateDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseInvalidStateDispute(log types.Log) (*SimpleSingleSessionAppWithOracleInvalidStateDispute, error)
ParseInvalidStateDispute is a log parse operation binding the contract event 0x58857d7e5d46d366a88b9b19c3c4bfb7573323b8e0602e3966d582bac5aa5fca.
Solidity: event InvalidStateDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) ParseInvalidTurnDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseInvalidTurnDispute(log types.Log) (*SimpleSingleSessionAppWithOracleInvalidTurnDispute, error)
ParseInvalidTurnDispute is a log parse operation binding the contract event 0x12583b36c4ceb396f9b64ae9b3055f92e067e9e27f25624468e49465c7d6d258.
Solidity: event InvalidTurnDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) ParseMoveTimeoutDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseMoveTimeoutDispute(log types.Log) (*SimpleSingleSessionAppWithOracleMoveTimeoutDispute, error)
ParseMoveTimeoutDispute is a log parse operation binding the contract event 0x5ca2c3e34ecb38f5b6e98856236647247d4acb6a797617631c7815dc16ac0c11.
Solidity: event MoveTimeoutDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) ParseSigTimeoutDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) ParseSigTimeoutDispute(log types.Log) (*SimpleSingleSessionAppWithOracleSigTimeoutDispute, error)
ParseSigTimeoutDispute is a log parse operation binding the contract event 0x4ede5136b5765b273092424d192085d14577fe5c0b0512401b5d3706b46c8e20.
Solidity: event SigTimeoutDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) WatchInvalidStateDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchInvalidStateDispute(opts *bind.WatchOpts, sink chan<- *SimpleSingleSessionAppWithOracleInvalidStateDispute) (event.Subscription, error)
WatchInvalidStateDispute is a free log subscription operation binding the contract event 0x58857d7e5d46d366a88b9b19c3c4bfb7573323b8e0602e3966d582bac5aa5fca.
Solidity: event InvalidStateDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) WatchInvalidTurnDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchInvalidTurnDispute(opts *bind.WatchOpts, sink chan<- *SimpleSingleSessionAppWithOracleInvalidTurnDispute) (event.Subscription, error)
WatchInvalidTurnDispute is a free log subscription operation binding the contract event 0x12583b36c4ceb396f9b64ae9b3055f92e067e9e27f25624468e49465c7d6d258.
Solidity: event InvalidTurnDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) WatchMoveTimeoutDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchMoveTimeoutDispute(opts *bind.WatchOpts, sink chan<- *SimpleSingleSessionAppWithOracleMoveTimeoutDispute) (event.Subscription, error)
WatchMoveTimeoutDispute is a free log subscription operation binding the contract event 0x5ca2c3e34ecb38f5b6e98856236647247d4acb6a797617631c7815dc16ac0c11.
Solidity: event MoveTimeoutDispute()
func (*SimpleSingleSessionAppWithOracleFilterer) WatchSigTimeoutDispute ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleFilterer) WatchSigTimeoutDispute(opts *bind.WatchOpts, sink chan<- *SimpleSingleSessionAppWithOracleSigTimeoutDispute) (event.Subscription, error)
WatchSigTimeoutDispute is a free log subscription operation binding the contract event 0x4ede5136b5765b273092424d192085d14577fe5c0b0512401b5d3706b46c8e20.
Solidity: event SigTimeoutDispute()
type SimpleSingleSessionAppWithOracleInvalidStateDispute ¶
type SimpleSingleSessionAppWithOracleInvalidStateDispute struct {
Raw types.Log // Blockchain specific contextual infos
}
SimpleSingleSessionAppWithOracleInvalidStateDispute represents a InvalidStateDispute event raised by the SimpleSingleSessionAppWithOracle contract.
type SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator ¶
type SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator struct {
Event *SimpleSingleSessionAppWithOracleInvalidStateDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator is returned from FilterInvalidStateDispute and is used to iterate over the raw logs and unpacked data for InvalidStateDispute events raised by the SimpleSingleSessionAppWithOracle contract.
func (*SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator) Close ¶
func (it *SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator) Error ¶
func (it *SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator) Next ¶
func (it *SimpleSingleSessionAppWithOracleInvalidStateDisputeIterator) 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 SimpleSingleSessionAppWithOracleInvalidTurnDispute ¶
type SimpleSingleSessionAppWithOracleInvalidTurnDispute struct {
Raw types.Log // Blockchain specific contextual infos
}
SimpleSingleSessionAppWithOracleInvalidTurnDispute represents a InvalidTurnDispute event raised by the SimpleSingleSessionAppWithOracle contract.
type SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator ¶
type SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator struct {
Event *SimpleSingleSessionAppWithOracleInvalidTurnDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator is returned from FilterInvalidTurnDispute and is used to iterate over the raw logs and unpacked data for InvalidTurnDispute events raised by the SimpleSingleSessionAppWithOracle contract.
func (*SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator) Close ¶
func (it *SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator) Error ¶
func (it *SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator) Next ¶
func (it *SimpleSingleSessionAppWithOracleInvalidTurnDisputeIterator) 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 SimpleSingleSessionAppWithOracleMoveTimeoutDispute ¶
type SimpleSingleSessionAppWithOracleMoveTimeoutDispute struct {
Raw types.Log // Blockchain specific contextual infos
}
SimpleSingleSessionAppWithOracleMoveTimeoutDispute represents a MoveTimeoutDispute event raised by the SimpleSingleSessionAppWithOracle contract.
type SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator ¶
type SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator struct {
Event *SimpleSingleSessionAppWithOracleMoveTimeoutDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator is returned from FilterMoveTimeoutDispute and is used to iterate over the raw logs and unpacked data for MoveTimeoutDispute events raised by the SimpleSingleSessionAppWithOracle contract.
func (*SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator) Close ¶
func (it *SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator) Error ¶
func (it *SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator) Next ¶
func (it *SimpleSingleSessionAppWithOracleMoveTimeoutDisputeIterator) 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 SimpleSingleSessionAppWithOracleRaw ¶
type SimpleSingleSessionAppWithOracleRaw struct {
Contract *SimpleSingleSessionAppWithOracle // Generic contract binding to access the raw methods on
}
SimpleSingleSessionAppWithOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleSingleSessionAppWithOracleRaw) Call ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleRaw) 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 (*SimpleSingleSessionAppWithOracleRaw) Transact ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleSingleSessionAppWithOracleRaw) Transfer ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleRaw) 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 SimpleSingleSessionAppWithOracleSession ¶
type SimpleSingleSessionAppWithOracleSession struct {
Contract *SimpleSingleSessionAppWithOracle // 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
}
SimpleSingleSessionAppWithOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleSingleSessionAppWithOracleSession) GetOutcome ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) GetOutcome(_query []byte) (bool, error)
GetOutcome is a free data retrieval call binding the contract method 0xea4ba8eb.
Solidity: function getOutcome(bytes _query) view returns(bool)
func (*SimpleSingleSessionAppWithOracleSession) GetState ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) GetState(_key *big.Int) ([]byte, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 _key) view returns(bytes)
func (*SimpleSingleSessionAppWithOracleSession) GetStatus ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) GetStatus() (uint8, error)
GetStatus is a free data retrieval call binding the contract method 0x4e69d560.
Solidity: function getStatus() view returns(uint8)
func (*SimpleSingleSessionAppWithOracleSession) IsFinalized ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) IsFinalized(_query []byte) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0xbcdbda94.
Solidity: function isFinalized(bytes _query) view returns(bool)
func (*SimpleSingleSessionAppWithOracleSession) SettleByInvalidState ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidState is a paid mutator transaction binding the contract method 0xfb3fe806.
Solidity: function settleByInvalidState(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleSingleSessionAppWithOracleSession) SettleByInvalidTurn ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidTurn is a paid mutator transaction binding the contract method 0xa428cd3b.
Solidity: function settleByInvalidTurn(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleSingleSessionAppWithOracleSession) SettleByMoveTimeout ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleByMoveTimeout is a paid mutator transaction binding the contract method 0xf26285b2.
Solidity: function settleByMoveTimeout(bytes _oracleProof) returns()
func (*SimpleSingleSessionAppWithOracleSession) SettleBySigTimeout ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleBySigTimeout is a paid mutator transaction binding the contract method 0x2141dbda.
Solidity: function settleBySigTimeout(bytes _oracleProof) returns()
type SimpleSingleSessionAppWithOracleSigTimeoutDispute ¶
type SimpleSingleSessionAppWithOracleSigTimeoutDispute struct {
Raw types.Log // Blockchain specific contextual infos
}
SimpleSingleSessionAppWithOracleSigTimeoutDispute represents a SigTimeoutDispute event raised by the SimpleSingleSessionAppWithOracle contract.
type SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator ¶
type SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator struct {
Event *SimpleSingleSessionAppWithOracleSigTimeoutDispute // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator is returned from FilterSigTimeoutDispute and is used to iterate over the raw logs and unpacked data for SigTimeoutDispute events raised by the SimpleSingleSessionAppWithOracle contract.
func (*SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator) Close ¶
func (it *SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator) Error ¶
func (it *SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator) Next ¶
func (it *SimpleSingleSessionAppWithOracleSigTimeoutDisputeIterator) 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 SimpleSingleSessionAppWithOracleTransactor ¶
type SimpleSingleSessionAppWithOracleTransactor struct {
// contains filtered or unexported fields
}
SimpleSingleSessionAppWithOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleSingleSessionAppWithOracleTransactor ¶
func NewSimpleSingleSessionAppWithOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleSingleSessionAppWithOracleTransactor, error)
NewSimpleSingleSessionAppWithOracleTransactor creates a new write-only instance of SimpleSingleSessionAppWithOracle, bound to a specific deployed contract.
func (*SimpleSingleSessionAppWithOracleTransactor) SettleByInvalidState ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleByInvalidState(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidState is a paid mutator transaction binding the contract method 0xfb3fe806.
Solidity: function settleByInvalidState(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleSingleSessionAppWithOracleTransactor) SettleByInvalidTurn ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleByInvalidTurn(opts *bind.TransactOpts, _oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidTurn is a paid mutator transaction binding the contract method 0xa428cd3b.
Solidity: function settleByInvalidTurn(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleSingleSessionAppWithOracleTransactor) SettleByMoveTimeout ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleByMoveTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
SettleByMoveTimeout is a paid mutator transaction binding the contract method 0xf26285b2.
Solidity: function settleByMoveTimeout(bytes _oracleProof) returns()
func (*SimpleSingleSessionAppWithOracleTransactor) SettleBySigTimeout ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactor) SettleBySigTimeout(opts *bind.TransactOpts, _oracleProof []byte) (*types.Transaction, error)
SettleBySigTimeout is a paid mutator transaction binding the contract method 0x2141dbda.
Solidity: function settleBySigTimeout(bytes _oracleProof) returns()
type SimpleSingleSessionAppWithOracleTransactorRaw ¶
type SimpleSingleSessionAppWithOracleTransactorRaw struct {
Contract *SimpleSingleSessionAppWithOracleTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleSingleSessionAppWithOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleSingleSessionAppWithOracleTransactorRaw) Transact ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleSingleSessionAppWithOracleTransactorRaw) Transfer ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorRaw) 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 SimpleSingleSessionAppWithOracleTransactorSession ¶
type SimpleSingleSessionAppWithOracleTransactorSession struct {
Contract *SimpleSingleSessionAppWithOracleTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
SimpleSingleSessionAppWithOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleSingleSessionAppWithOracleTransactorSession) SettleByInvalidState ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleByInvalidState(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidState is a paid mutator transaction binding the contract method 0xfb3fe806.
Solidity: function settleByInvalidState(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleSingleSessionAppWithOracleTransactorSession) SettleByInvalidTurn ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleByInvalidTurn(_oracleProof []byte, _cosignedStateProof []byte) (*types.Transaction, error)
SettleByInvalidTurn is a paid mutator transaction binding the contract method 0xa428cd3b.
Solidity: function settleByInvalidTurn(bytes _oracleProof, bytes _cosignedStateProof) returns()
func (*SimpleSingleSessionAppWithOracleTransactorSession) SettleByMoveTimeout ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleByMoveTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleByMoveTimeout is a paid mutator transaction binding the contract method 0xf26285b2.
Solidity: function settleByMoveTimeout(bytes _oracleProof) returns()
func (*SimpleSingleSessionAppWithOracleTransactorSession) SettleBySigTimeout ¶
func (_SimpleSingleSessionAppWithOracle *SimpleSingleSessionAppWithOracleTransactorSession) SettleBySigTimeout(_oracleProof []byte) (*types.Transaction, error)
SettleBySigTimeout is a paid mutator transaction binding the contract method 0x2141dbda.
Solidity: function settleBySigTimeout(bytes _oracleProof) returns()