Documentation
¶
Index ¶
- 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, ...) 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, ...) 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, ...) 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, ...) 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, ...) 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 ¶
This section is empty.
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 MultiGomokuABI = MultiGomokuMetaData.ABI
MultiGomokuABI is the input ABI used to generate the binding from. Deprecated: Use MultiGomokuMetaData.ABI instead.
var MultiGomokuBin = MultiGomokuMetaData.Bin
MultiGomokuBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MultiGomokuMetaData.Bin instead.
var MultiGomokuMetaData = &bind.MetaData{
ABI: "[{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getSettleFinalizedTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_stateProof\",\"type\":\"bytes\"}],\"name\":\"intendSettle\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getSeqNum\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_nonce\",\"type\":\"uint256\"},{\"name\":\"_signers\",\"type\":\"address[]\"}],\"name\":\"getSessionID\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minStoneOffchain\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"finalizeOnActionTimeout\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"isFinalized\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maxStoneOnchain\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getActionDeadline\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"},{\"name\":\"_action\",\"type\":\"bytes\"}],\"name\":\"applyAction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_minStoneOffchain\",\"type\":\"uint8\"},{\"name\":\"_maxStoneOnchain\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"session\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"seq\",\"type\":\"uint256\"}],\"name\":\"IntendSettle\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"getOutcome\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"},{\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"getState\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50604051604080612f318339810180604052604081101561003057600080fd5b810190808051906020019092919080519060200190929190505050600280806000800181905550505081600260006101000a81548160ff021916908360ff16021790555080600260016101000a81548160ff021916908360ff1602179055505050612e91806100a06000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80637ca221571161008c578063c1a2865611610066578063c1a286561461044c578063cab9244614610470578063ea4ba8eb146104b2578063f3c7719214610543576100cf565b80637ca2215714610369578063b89fa28b1461038d578063bcdbda94146103bb576100cf565b806309b65d86146100d4578063130d33fe1461011657806329dd2f8e1461018f5780633b6de66f146102405780634d8bedec146102825780635de28ae014610319575b600080fd5b610100600480360360208110156100ea57600080fd5b81019080803590602001909291905050506105c6565b6040518082815260200191505060405180910390f35b61018d6004803603602081101561012c57600080fd5b810190808035906020019064010000000081111561014957600080fd5b82018360208201111561015b57600080fd5b8035906020019184600183028401116401000000008311171561017d57600080fd5b9091929391929390505050610632565b005b6101c5600480360360408110156101a557600080fd5b810190808035906020019092919080359060200190929190505050610a39565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102055780820151818401526020810190506101ea565b50505050905090810190601f1680156102325780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61026c6004803603602081101561025657600080fd5b8101908080359060200190929190505050610d07565b6040518082815260200191505060405180910390f35b6103036004803603604081101561029857600080fd5b8101908080359060200190929190803590602001906401000000008111156102bf57600080fd5b8201836020820111156102d157600080fd5b803590602001918460208302840111640100000000831117156102f357600080fd5b9091929391929390505050610d27565b6040518082815260200191505060405180910390f35b6103456004803603602081101561032f57600080fd5b8101908080359060200190929190505050610d90565b6040518082600381111561035557fe5b60ff16815260200191505060405180910390f35b610371610dbd565b604051808260ff1660ff16815260200191505060405180910390f35b6103b9600480360360208110156103a357600080fd5b8101908080359060200190929190505050610dd0565b005b610432600480360360208110156103d157600080fd5b81019080803590602001906401000000008111156103ee57600080fd5b82018360208201111561040057600080fd5b8035906020019184600183028401116401000000008311171561042257600080fd5b9091929391929390505050610e85565b604051808215151515815260200191505060405180910390f35b610454610f1c565b604051808260ff1660ff16815260200191505060405180910390f35b61049c6004803603602081101561048657600080fd5b8101908080359060200190929190505050610f2f565b6040518082815260200191505060405180910390f35b610529600480360360208110156104c857600080fd5b81019080803590602001906401000000008111156104e557600080fd5b8201836020820111156104f757600080fd5b8035906020019184600183028401116401000000008311171561051957600080fd5b9091929391929390505050611013565b604051808215151515815260200191505060405180910390f35b6105c46004803603604081101561055957600080fd5b81019080803590602001909291908035906020019064010000000081111561058057600080fd5b82018360208201111561059257600080fd5b803590602001918460018302840111640100000000831117156105b457600080fd5b9091929391929390505050611087565b005b6000600160038111156105d557fe5b6001600084815260200190815260200160002060040160009054906101000a900460ff16600381111561060457fe5b1415610628576001600083815260200190815260200160002060030154905061062d565b600090505b919050565b61063a612c7a565b61068783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506112be565b9050606061069f826000015183602001516001611435565b9050600080015481511461071b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f696e76616c6964206e756d626572206f6620706c61796572730000000000000081525060200191505060405180910390fd5b610723612c94565b610730836000015161164c565b905060008160000151836040516020018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561078657808201518184015260208101905061076b565b5050505090500193505050506040516020818303038152906040528051906020012090506000600160008381526020019081526020016000209050600060038111156107ce57fe5b8160040160009054906101000a900460ff1660038111156107eb57fe5b141561080b5783816000019080519060200190610809929190612cbc565b505b60038081111561081757fe5b8160040160009054906101000a900460ff16600381111561083457fe5b14156108a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f73746174652069732066696e616c697a6564000000000000000000000000000081525060200191505060405180910390fd5b8260200151816001015410610925576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f696e76616c69642073657175656e6365206e756d62657200000000000000000081525060200191505060405180910390fd5b8260200151816001018190555060018160040160006101000a81548160ff0219169083600381111561095357fe5b02179055508260600151816002018190555082606001514301816003018190555061098282846040015161173a565b6109f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f737461746520757064617465206661696c65640000000000000000000000000081525060200191505060405180910390fd5b817f82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b82600101546040518082815260200191505060405180910390a250505050505050565b606060016002811115610a4857fe5b821415610b4557606060016040519080825280601f01601f191660200182016040528015610a855781602001600182028038833980820191505090505b509050600360008581526020019081526020016000206000016000815460018160011615610100020316600290048110610abb57fe5b815460011615610ada5790600052602060002090602091828204019190065b9054901a7f01000000000000000000000000000000000000000000000000000000000000000281600081518110610b0d57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080915050610d01565b60006002811115610b5257fe5b821415610c4f57606060016040519080825280601f01601f191660200182016040528015610b8f5781602001600182028038833980820191505090505b509050600360008581526020019081526020016000206000016001815460018160011615610100020316600290048110610bc557fe5b815460011615610be45790600052602060002090602091828204019190065b9054901a7f01000000000000000000000000000000000000000000000000000000000000000281600081518110610c1757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080915050610d01565b600360008481526020019081526020016000206000018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610cf95780601f10610cce57610100808354040283529160200191610cf9565b820191906000526020600020905b815481529060010190602001808311610cdc57829003601f168201915b505050505090505b92915050565b600060016000838152602001908152602001600020600101549050919050565b600083838360405160200180848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509450505050506040516020818303038152906040528051906020012090509392505050565b60006001600083815260200190815260200160002060040160009054906101000a900460ff169050919050565b600260009054906101000a900460ff1681565b600060016000838152602001908152602001600020905060008160040160009054906101000a900460ff16905060008260030154905060026003811115610e1357fe5b826003811115610e1f57fe5b1415610e3657804311610e3157600080fd5b610e75565b60016003811115610e4357fe5b826003811115610e4f57fe5b1415610e6c57826002015481014311610e6757600080fd5b610e74565b505050610e82565b5b610e7e846119ba565b5050505b50565b600080610ed584848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611a08565b9050600380811115610ee357fe5b6001600083815260200190815260200160002060040160009054906101000a900460ff166003811115610f1257fe5b1491505092915050565b600260019054906101000a900460ff1681565b600060026003811115610f3e57fe5b6001600084815260200190815260200160002060040160009054906101000a900460ff166003811115610f6d57fe5b1415610f91576001600083815260200190815260200160002060030154905061100e565b60016003811115610f9e57fe5b6001600084815260200190815260200160002060040160009054906101000a900460ff166003811115610fcd57fe5b1415611009576001600083815260200190815260200160002060020154600160008481526020019081526020016000206003015401905061100e565b600090505b919050565b600061101d612d46565b61106a84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611a24565b905061107e81600001518260200151611ad8565b91505092915050565b60006001600085815260200190815260200160002090506003808111156110aa57fe5b8160040160009054906101000a900460ff1660038111156110c757fe5b141561113b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b6001600381111561114857fe5b8160040160009054906101000a900460ff16600381111561116557fe5b1480156111755750438160030154105b156111a15760028160040160006101000a81548160ff0219169083600381111561119b57fe5b02179055505b600260038111156111ae57fe5b8160040160009054906101000a900460ff1660038111156111cb57fe5b1461123e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f617070206e6f7420696e20616374696f6e206d6f64650000000000000000000081525060200191505060405180910390fd5b80600101600081548092919060010191905055508060020154430181600301819055506112af8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611c2e565b6112b857600080fd5b50505050565b6112c6612c7a565b6112ce612d63565b6112d78361237e565b905060606112ef6002836123ad90919063ffffffff16565b9050806002815181106112fe57fe5b602002602001015160405190808252806020026020018201604052801561133957816020015b60608152602001906001900390816113245790505b50836020018190525060008160028151811061135157fe5b6020026020010181815250506000805b61136a84612452565b1561142c5761137884612467565b809250819350505060001561138c57611427565b60018214156113ab5761139e8461249b565b8560000181905250611426565b6002821415611411576113bd8461249b565b8560200151846002815181106113cf57fe5b6020026020010151815181106113e157fe5b6020026020010181905250826002815181106113f957fe5b60200260200101805180919060010181525050611425565b611424818561255490919063ffffffff16565b5b5b5b611361565b50505050919050565b60608083516040519080825280602002602001820160405280156114685781602001602082028038833980820191505090505b50905060006114e7866040516020018082805190602001908083835b602083106114a75780518252602082019150602081019050602083039250611484565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206125e4565b9050600080905060008090505b865181101561163e5761151a8388838151811061150d57fe5b602002602001015161263c565b84828151811061152657fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508515611631578173ffffffffffffffffffffffffffffffffffffffff1684828151811061158957fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161161161a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f7369676e657273206e6f7420696e20617363656e64696e67206f72646572000081525060200191505060405180910390fd5b83818151811061162657fe5b602002602001015191505b80806001019150506114f4565b508293505050509392505050565b611654612c94565b61165c612d63565b6116658361237e565b90506000805b61167483612452565b156117325761168283612467565b80925081935050506000156116965761172d565b60018214156116b6576116a88361271c565b84600001818152505061172c565b60028214156116d6576116c88361271c565b84602001818152505061172b565b60038214156116f5576116e88361249b565b846040018190525061172a565b6004821415611715576117078361271c565b846060018181525050611729565b611728818461255490919063ffffffff16565b5b5b5b5b5b61166b565b505050919050565b600060e48251146117b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207374617465206c656e67746800000000000000000000000081525060200191505060405180910390fd5b600060036000858152602001908152602001600020905060008160000180546001816001161561010002031660029004905014156118395760e46040519080825280601f01601f19166020018201604052801561181f5781602001600182028038833980820191505090505b50816000019080519060200190611837929190612d7d565b505b60008360008151811061184857fe5b602001015160f81c60f81b60f81c60ff161461188757611882848460008151811061186f57fe5b602001015160f81c60f81b60f81c6127a2565b611996565b60008090506000600390505b60e48110156118d65760008582815181106118aa57fe5b602001015160f81c60f81b60f81c60ff16146118c95781806001019250505b8080600101915050611893565b50808260010160006101000a81548161ffff021916908361ffff160217905550600260009054906101000a900460ff1660ff168260010160009054906101000a900461ffff1661ffff161015611994576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f7420656e6f756768206f66666368616e2073746f6e65730000000000000081525060200191505060405180910390fd5b505b828160000190805190602001906119ae929190612d7d565b50600191505092915050565b600160ff166119c882612889565b60ff1614156119e1576119dc8160026127a2565b611a05565b600260ff166119ef82612889565b60ff161415611a0457611a038160016127a2565b5b5b50565b60006020825114611a1857600080fd5b60208201519050919050565b611a2c612d46565b611a34612d63565b611a3d8361237e565b90506000805b611a4c83612452565b15611ad057611a5a83612467565b8092508193505050600015611a6e57611acb565b6001821415611a9657611a88611a838461249b565b611a08565b846000018181525050611aca565b6002821415611ab557611aa88361249b565b8460200181905250611ac9565b611ac8818461255490919063ffffffff16565b5b5b5b611a43565b505050919050565b60006001825114611b51576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207175657279206c656e67746800000000000000000000000081525060200191505060405180910390fd5b81600081518110611b5e57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600360008581526020019081526020016000206000016000815460018160011615610100020316600290048110611bbe57fe5b815460011615611bdd5790600052602060002090602091828204019190065b9054901a7f0100000000000000000000000000000000000000000000000000000000000000027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614905092915050565b600080611c3a84612889565b90506000611c478561290d565b905060018160ff161415611d4c57600160008681526020019081526020016000206000016001830360ff1681548110611c7c57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4e6f7420796f7572207475726e0000000000000000000000000000000000000081525060200191505060405180910390fd5b611e59565b60028160ff161415611e4f57600160008681526020019081526020016000206000018260020360ff1681548110611d7f57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4e6f7420796f7572207475726e0000000000000000000000000000000000000081525060200191505060405180910390fd5b611e58565b6000611e5757fe5b5b5b6002845114611ed0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f696e76616c696420616374696f6e206c656e677468000000000000000000000081525060200191505060405180910390fd5b600084600081518110611edf57fe5b602001015160f81c60f81b60f81c9050600085600181518110611efe57fe5b602001015160f81c60f81b60f81c9050611f188282612991565b611f8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6f7574206f6620626f756e64617279000000000000000000000000000000000081525060200191505060405180910390fd5b60006003600089815260200190815260200160002090506000611fad84846129b7565b905060008260000182815460018160011615610100020316600290048110611fd157fe5b815460011615611ff05790600052602060002090602091828204019190065b9054901a7f01000000000000000000000000000000000000000000000000000000000000000260f81c60ff161461208f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f736c6f74206973206f636375706965640000000000000000000000000000000081525060200191505060405180910390fd5b8560f81b82600001828154600181600116156101000203166002900481106120b357fe5b8154600116156120d25790600052602060002090602091828204019190065b601f036101000a81548160ff021916907f01000000000000000000000000000000000000000000000000000000000000008404021790555081600101600081819054906101000a900461ffff168092919060010191906101000a81548161ffff021916908361ffff1602179055505081600101600281819054906101000a900461ffff168092919060010191906101000a81548161ffff021916908361ffff160217905550506060826000018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156122125780601f106121e757610100808354040283529160200191612212565b820191906000526020600020905b8154815290600101906020018083116121f557829003601f168201915b50505050509050612228818686600160006129cd565b8061223e575061223d818686600060016129cd565b5b8061225357506122528186866001806129cd565b5b80612288575061228781868660017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6129cd565b5b156122a7576122978a886127a2565b6001975050505050505050612378565b60e18360010160009054906101000a900461ffff1661ffff1614806122f35750600260019054906101000a900460ff1660ff168360010160029054906101000a900461ffff1661ffff16115b15612340576003600160008c815260200190815260200160002060040160006101000a81548160ff0219169083600381111561232b57fe5b021790555061233b8a6000612a61565b61236c565b600160ff168760ff16141561235f5761235a8a6002612a61565b61236b565b61236a8a6001612a61565b5b5b60019750505050505050505b92915050565b612386612d63565b600182511161239457600080fd5b8181602001819052506000816000018181525050919050565b6060600083600001519050600183016040519080825280602002602001820160405280156123ea5781602001602082028038833980820191505090505b5091506000805b6123fa86612452565b1561243f5761240886612467565b8092508193505050600184838151811061241e57fe5b60200260200101818151019150818152505061243a8682612554565b6123f1565b8286600001818152505050505092915050565b60008160200151518260000151109050919050565b60008060006124758461271c565b90506008818161248157fe5b04925060078116600581111561249357fe5b915050915091565b606060006124a88361271c565b905060008184600001510190508360200151518111156124c757600080fd5b816040519080825280601f01601f1916602001820160405280156124fa5781602001600182028038833980820191505090505b50925060608460200151905060008086600001519050602086019150806020840101905060008090505b8581101561253f578082015181840152602081019050612524565b50838760000181815250505050505050919050565b6000600581111561256157fe5b81600581111561256d57fe5b14156125825761257c8261271c565b506125e0565b6002600581111561258f57fe5b81600581111561259b57fe5b14156125da5760006125ac8361271c565b905080836000018181510191508181525050826020015151836000015111156125d457600080fd5b506125df565b600080fd5b5b5050565b60008160405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c01828152602001915050604051602081830303815290604052805190602001209050919050565b600060418251146126505760009050612716565b60008060006020850151925060408501519150606085015160001a9050601b8160ff16101561268057601b810190505b601b8160ff16141580156126985750601c8160ff1614155b156126a95760009350505050612716565b60018682858560405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015612706573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b60008060608360200151905083600001519250826020820101519150600080935060008090505b600a8110156127975783811a915060078102607f8316901b85179450600060808316141561278a57600181018660000181815101915081815250508494505050505061279d565b8080600101915050612743565b50600080fd5b919050565b8060ff166000111580156127ba575060028160ff1611155b61282c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c69642077696e6e657220737461746500000000000000000000000081525060200191505060405180910390fd5b6128368282612af3565b60008160ff16146128855761284c826000612a61565b60036001600084815260200190815260200160002060040160006101000a81548160ff0219169083600381111561287f57fe5b02179055505b5050565b60006003600083815260200190815260200160002060000160018154600181600116156101000203166002900481106128be57fe5b8154600116156128dd5790600052602060002090602091828204019190065b9054901a7f01000000000000000000000000000000000000000000000000000000000000000260f81c9050919050565b600060036000838152602001908152602001600020600001600281546001816001161561010002031660029004811061294257fe5b8154600116156129615790600052602060002090602091828204019190065b9054901a7f01000000000000000000000000000000000000000000000000000000000000000260f81c9050919050565b6000600f60ff168360ff161080156129af5750600f60ff168260ff16105b905092915050565b60008183600f026003010160ff16905092915050565b600080600090506129e18787878787612b85565b810190506001612a38888888887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02612b85565b038101905060058160ff1610612a52576001915050612a58565b60009150505b95945050505050565b8060f81b600360008481526020019081526020016000206000016001815460018160011615610100020316600290048110612a9857fe5b815460011615612ab75790600052602060002090602091828204019190065b601f036101000a81548160ff021916907f0100000000000000000000000000000000000000000000000000000000000000840402179055505050565b8060f81b600360008481526020019081526020016000206000016000815460018160011615610100020316600290048110612b2a57fe5b815460011615612b495790600052602060002090602091828204019190065b601f036101000a81548160ff021916907f0100000000000000000000000000000000000000000000000000000000000000840402179055505050565b600080600190505b60058160ff1611612c6f5760008160ff1685028760000b01905060008260ff1685028760000b019050612bc08282612991565b8015612c4d575088612bd289896129b7565b81518110612bdc57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191689612c1484846129b7565b81518110612c1e57fe5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15612c5d57600183019250612c68565b829350505050612c71565b5050612b8d565b505b95945050505050565b604051806040016040528060608152602001606081525090565b6040518060800160405280600081526020016000815260200160608152602001600081525090565b828054828255906000526020600020908101928215612d35579160200282015b82811115612d345782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612cdc565b5b509050612d429190612dfd565b5090565b604051806040016040528060008019168152602001606081525090565b604051806040016040528060008152602001606081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612dbe57805160ff1916838001178555612dec565b82800160010185558215612dec579182015b82811115612deb578251825591602001919060010190612dd0565b5b509050612df99190612e40565b5090565b612e3d91905b80821115612e3957600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101612e03565b5090565b90565b612e6291905b80821115612e5e576000816000905550600101612e46565b5090565b9056fea165627a7a72305820c801bcde661f1fc80ad421a95e4db04852738b81313077640d20e3ef73557d620029",
}
MultiGomokuMetaData contains all meta data concerning the MultiGomoku contract.
var SimpleMultiSessionAppABI = SimpleMultiSessionAppMetaData.ABI
SimpleMultiSessionAppABI is the input ABI used to generate the binding from. Deprecated: Use SimpleMultiSessionAppMetaData.ABI instead.
var SimpleMultiSessionAppBin = SimpleMultiSessionAppMetaData.Bin
SimpleMultiSessionAppBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SimpleMultiSessionAppMetaData.Bin instead.
var SimpleMultiSessionAppMetaData = &bind.MetaData{
ABI: "[{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getSettleFinalizedTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_stateProof\",\"type\":\"bytes\"}],\"name\":\"intendSettle\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getSeqNum\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_nonce\",\"type\":\"uint256\"},{\"name\":\"_signers\",\"type\":\"address[]\"}],\"name\":\"getSessionID\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"finalizeOnActionTimeout\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"isFinalized\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getActionDeadline\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"},{\"name\":\"_action\",\"type\":\"bytes\"}],\"name\":\"applyAction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_playerNum\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"session\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"seq\",\"type\":\"uint256\"}],\"name\":\"IntendSettle\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"getOutcome\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"},{\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"getState\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50604051602080611e9f8339810180604052602081101561003057600080fd5b81019080805190602001909291905050508080806000800181905550505050611e418061005e6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80635de28ae0116100715780635de28ae0146102f3578063b89fa28b14610343578063bcdbda9414610371578063cab9244614610402578063ea4ba8eb14610444578063f3c77192146104d5576100a9565b806309b65d86146100ae578063130d33fe146100f057806329dd2f8e146101695780633b6de66f1461021a5780634d8bedec1461025c575b600080fd5b6100da600480360360208110156100c457600080fd5b8101908080359060200190929190505050610558565b6040518082815260200191505060405180910390f35b6101676004803603602081101561010657600080fd5b810190808035906020019064010000000081111561012357600080fd5b82018360208201111561013557600080fd5b8035906020019184600183028401116401000000008311171561015757600080fd5b90919293919293905050506105c4565b005b61019f6004803603604081101561017f57600080fd5b8101908080359060200190929190803590602001909291905050506109cb565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101df5780820151818401526020810190506101c4565b50505050905090810190601f16801561020c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102466004803603602081101561023057600080fd5b8101908080359060200190929190505050610a3e565b6040518082815260200191505060405180910390f35b6102dd6004803603604081101561027257600080fd5b81019080803590602001909291908035906020019064010000000081111561029957600080fd5b8201836020820111156102ab57600080fd5b803590602001918460208302840111640100000000831117156102cd57600080fd5b9091929391929390505050610a5e565b6040518082815260200191505060405180910390f35b61031f6004803603602081101561030957600080fd5b8101908080359060200190929190505050610ac7565b6040518082600381111561032f57fe5b60ff16815260200191505060405180910390f35b61036f6004803603602081101561035957600080fd5b8101908080359060200190929190505050610af4565b005b6103e86004803603602081101561038757600080fd5b81019080803590602001906401000000008111156103a457600080fd5b8201836020820111156103b657600080fd5b803590602001918460018302840111640100000000831117156103d857600080fd5b9091929391929390505050610ba9565b604051808215151515815260200191505060405180910390f35b61042e6004803603602081101561041857600080fd5b8101908080359060200190929190505050610c40565b6040518082815260200191505060405180910390f35b6104bb6004803603602081101561045a57600080fd5b810190808035906020019064010000000081111561047757600080fd5b82018360208201111561048957600080fd5b803590602001918460018302840111640100000000831117156104ab57600080fd5b9091929391929390505050610d24565b604051808215151515815260200191505060405180910390f35b610556600480360360408110156104eb57600080fd5b81019080803590602001909291908035906020019064010000000081111561051257600080fd5b82018360208201111561052457600080fd5b8035906020019184600183028401116401000000008311171561054657600080fd5b9091929391929390505050610d98565b005b60006001600381111561056757fe5b6001600084815260200190815260200160002060040160009054906101000a900460ff16600381111561059657fe5b14156105ba57600160008381526020019081526020016000206003015490506105bf565b600090505b919050565b6105cc611ccf565b61061983838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610fcf565b90506060610631826000015183602001516001611146565b905060008001548151146106ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f696e76616c6964206e756d626572206f6620706c61796572730000000000000081525060200191505060405180910390fd5b6106b5611ce9565b6106c2836000015161135d565b905060008160000151836040516020018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156107185780820151818401526020810190506106fd565b50505050905001935050505060405160208183030381529060405280519060200120905060006001600083815260200190815260200160002090506000600381111561076057fe5b8160040160009054906101000a900460ff16600381111561077d57fe5b141561079d578381600001908051906020019061079b929190611d11565b505b6003808111156107a957fe5b8160040160009054906101000a900460ff1660038111156107c657fe5b141561083a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f73746174652069732066696e616c697a6564000000000000000000000000000081525060200191505060405180910390fd5b82602001518160010154106108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f696e76616c69642073657175656e6365206e756d62657200000000000000000081525060200191505060405180910390fd5b8260200151816001018190555060018160040160006101000a81548160ff021916908360038111156108e557fe5b02179055508260600151816002018190555082606001514301816003018190555061091482846040015161144b565b610986576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f737461746520757064617465206661696c65640000000000000000000000000081525060200191505060405180910390fd5b817f82c4eeba939ff9358877334330e22a5cdb0472113cd14f90625ea634b60d2e5b82600101546040518082815260200191505060405180910390a250505050505050565b60608060206040519080825280601f01601f191660200182016040528015610a025781602001600182028038833980820191505090505b50905060006002600086815260200190815260200160002060000160009054906101000a900460ff169050806020830152819250505092915050565b600060016000838152602001908152602001600020600101549050919050565b600083838360405160200180848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509450505050506040516020818303038152906040528051906020012090509392505050565b60006001600083815260200190815260200160002060040160009054906101000a900460ff169050919050565b600060016000838152602001908152602001600020905060008160040160009054906101000a900460ff16905060008260030154905060026003811115610b3757fe5b826003811115610b4357fe5b1415610b5a57804311610b5557600080fd5b610b99565b60016003811115610b6757fe5b826003811115610b7357fe5b1415610b9057826002015481014311610b8b57600080fd5b610b98565b505050610ba6565b5b610ba284611592565b5050505b50565b600080610bf984848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506115cd565b9050600380811115610c0757fe5b6001600083815260200190815260200160002060040160009054906101000a900460ff166003811115610c3657fe5b1491505092915050565b600060026003811115610c4f57fe5b6001600084815260200190815260200160002060040160009054906101000a900460ff166003811115610c7e57fe5b1415610ca25760016000838152602001908152602001600020600301549050610d1f565b60016003811115610caf57fe5b6001600084815260200190815260200160002060040160009054906101000a900460ff166003811115610cde57fe5b1415610d1a5760016000838152602001908152602001600020600201546001600084815260200190815260200160002060030154019050610d1f565b600090505b919050565b6000610d2e611d9b565b610d7b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506115e9565b9050610d8f8160000151826020015161169d565b91505092915050565b6000600160008581526020019081526020016000209050600380811115610dbb57fe5b8160040160009054906101000a900460ff166003811115610dd857fe5b1415610e4c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b60016003811115610e5957fe5b8160040160009054906101000a900460ff166003811115610e7657fe5b148015610e865750438160030154105b15610eb25760028160040160006101000a81548160ff02191690836003811115610eac57fe5b02179055505b60026003811115610ebf57fe5b8160040160009054906101000a900460ff166003811115610edc57fe5b14610f4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f617070206e6f7420696e20616374696f6e206d6f64650000000000000000000081525060200191505060405180910390fd5b8060010160008154809291906001019190505550806002015443018160030181905550610fc08484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611764565b610fc957600080fd5b50505050565b610fd7611ccf565b610fdf611db8565b610fe8836118ab565b905060606110006002836118da90919063ffffffff16565b90508060028151811061100f57fe5b602002602001015160405190808252806020026020018201604052801561104a57816020015b60608152602001906001900390816110355790505b50836020018190525060008160028151811061106257fe5b6020026020010181815250506000805b61107b8461197f565b1561113d5761108984611994565b809250819350505060001561109d57611138565b60018214156110bc576110af846119c8565b8560000181905250611137565b6002821415611122576110ce846119c8565b8560200151846002815181106110e057fe5b6020026020010151815181106110f257fe5b60200260200101819052508260028151811061110a57fe5b60200260200101805180919060010181525050611136565b6111358185611a8190919063ffffffff16565b5b5b5b611072565b50505050919050565b60608083516040519080825280602002602001820160405280156111795781602001602082028038833980820191505090505b50905060006111f8866040516020018082805190602001908083835b602083106111b85780518252602082019150602081019050602083039250611195565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120611b11565b9050600080905060008090505b865181101561134f5761122b8388838151811061121e57fe5b6020026020010151611b69565b84828151811061123757fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508515611342578173ffffffffffffffffffffffffffffffffffffffff1684828151811061129a57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161161132b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f7369676e657273206e6f7420696e20617363656e64696e67206f72646572000081525060200191505060405180910390fd5b83818151811061133757fe5b602002602001015191505b8080600101915050611205565b508293505050509392505050565b611365611ce9565b61136d611db8565b611376836118ab565b90506000805b6113858361197f565b156114435761139383611994565b80925081935050506000156113a75761143e565b60018214156113c7576113b983611c49565b84600001818152505061143d565b60028214156113e7576113d983611c49565b84602001818152505061143c565b6003821415611406576113f9836119c8565b846040018190525061143b565b60048214156114265761141883611c49565b84606001818152505061143a565b6114398184611a8190919063ffffffff16565b5b5b5b5b5b61137c565b505050919050565b600060018251146114c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207374617465206c656e67746800000000000000000000000081525060200191505060405180910390fd5b6000600260008581526020019081526020016000209050826000815181106114e857fe5b602001015160f81c60f81b60f81c8160000160006101000a81548160ff021916908360ff16021790555060018160000160009054906101000a900460ff1660ff161480611549575060028160000160009054906101000a900460ff1660ff16145b156115875760036001600086815260200190815260200160002060040160006101000a81548160ff0219169083600381111561158157fe5b02179055505b600191505092915050565b60036001600083815260200190815260200160002060040160006101000a81548160ff021916908360038111156115c557fe5b021790555050565b600060208251146115dd57600080fd5b60208201519050919050565b6115f1611d9b565b6115f9611db8565b611602836118ab565b90506000805b6116118361197f565b156116955761161f83611994565b809250819350505060001561163357611690565b600182141561165b5761164d611648846119c8565b6115cd565b84600001818152505061168f565b600282141561167a5761166d836119c8565b846020018190525061168e565b61168d8184611a8190919063ffffffff16565b5b5b5b611608565b505050919050565b60006001825114611716576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207175657279206c656e67746800000000000000000000000081525060200191505060405180910390fd5b8160008151811061172357fe5b602001015160f81c60f81b60f81c60ff166002600085815260200190815260200160002060000160009054906101000a900460ff1660ff1614905092915050565b600060018251146117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f696e76616c696420616374696f6e206c656e677468000000000000000000000081525060200191505060405180910390fd5b60006002600085815260200190815260200160002090508260008151811061180157fe5b602001015160f81c60f81b60f81c8160000160006101000a81548160ff021916908360ff16021790555060018160000160009054906101000a900460ff1660ff161480611862575060028160000160009054906101000a900460ff1660ff16145b156118a05760036001600086815260200190815260200160002060040160006101000a81548160ff0219169083600381111561189a57fe5b02179055505b600191505092915050565b6118b3611db8565b60018251116118c157600080fd5b8181602001819052506000816000018181525050919050565b6060600083600001519050600183016040519080825280602002602001820160405280156119175781602001602082028038833980820191505090505b5091506000805b6119278661197f565b1561196c5761193586611994565b8092508193505050600184838151811061194b57fe5b6020026020010181815101915081815250506119678682611a81565b61191e565b8286600001818152505050505092915050565b60008160200151518260000151109050919050565b60008060006119a284611c49565b9050600881816119ae57fe5b0492506007811660058111156119c057fe5b915050915091565b606060006119d583611c49565b905060008184600001510190508360200151518111156119f457600080fd5b816040519080825280601f01601f191660200182016040528015611a275781602001600182028038833980820191505090505b50925060608460200151905060008086600001519050602086019150806020840101905060008090505b85811015611a6c578082015181840152602081019050611a51565b50838760000181815250505050505050919050565b60006005811115611a8e57fe5b816005811115611a9a57fe5b1415611aaf57611aa982611c49565b50611b0d565b60026005811115611abc57fe5b816005811115611ac857fe5b1415611b07576000611ad983611c49565b90508083600001818151019150818152505082602001515183600001511115611b0157600080fd5b50611b0c565b600080fd5b5b5050565b60008160405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c01828152602001915050604051602081830303815290604052805190602001209050919050565b60006041825114611b7d5760009050611c43565b60008060006020850151925060408501519150606085015160001a9050601b8160ff161015611bad57601b810190505b601b8160ff1614158015611bc55750601c8160ff1614155b15611bd65760009350505050611c43565b60018682858560405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611c33573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b60008060608360200151905083600001519250826020820101519150600080935060008090505b600a811015611cc45783811a915060078102607f8316901b851794506000608083161415611cb7576001810186600001818151019150818152505084945050505050611cca565b8080600101915050611c70565b50600080fd5b919050565b604051806040016040528060608152602001606081525090565b6040518060800160405280600081526020016000815260200160608152602001600081525090565b828054828255906000526020600020908101928215611d8a579160200282015b82811115611d895782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190611d31565b5b509050611d979190611dd2565b5090565b604051806040016040528060008019168152602001606081525090565b604051806040016040528060008152602001606081525090565b611e1291905b80821115611e0e57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101611dd8565b5090565b9056fea165627a7a723058205e5fba456536ddf9f1ce69a4488227c0f3b08c317467eb5d659a10f907e41eb40029",
}
SimpleMultiSessionAppMetaData contains all meta data concerning the SimpleMultiSessionApp contract.
var SimpleMultiSessionAppWithOracleABI = SimpleMultiSessionAppWithOracleMetaData.ABI
SimpleMultiSessionAppWithOracleABI is the input ABI used to generate the binding from. Deprecated: Use SimpleMultiSessionAppWithOracleMetaData.ABI instead.
var SimpleMultiSessionAppWithOracleBin = SimpleMultiSessionAppWithOracleMetaData.Bin
SimpleMultiSessionAppWithOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SimpleMultiSessionAppWithOracleMetaData.Bin instead.
var SimpleMultiSessionAppWithOracleMetaData = &bind.MetaData{
ABI: "[{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"}],\"name\":\"settleBySigTimeout\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_nonce\",\"type\":\"uint256\"},{\"name\":\"_signers\",\"type\":\"address[]\"}],\"name\":\"getSessionID\",\"outputs\":[{\"name\":\"session\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"}],\"name\":\"getStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"},{\"name\":\"_cosignedStateProof\",\"type\":\"bytes\"}],\"name\":\"settleByInvalidTurn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"isFinalized\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"}],\"name\":\"settleByMoveTimeout\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"},{\"name\":\"_cosignedStateProof\",\"type\":\"bytes\"}],\"name\":\"settleByInvalidState\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_sigTimeout\",\"type\":\"uint256\"},{\"name\":\"_moveTimeout\",\"type\":\"uint256\"},{\"name\":\"_playerNum\",\"type\":\"uint256\"},{\"name\":\"_oracle\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"session\",\"type\":\"bytes32\"}],\"name\":\"SigTimeoutDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"session\",\"type\":\"bytes32\"}],\"name\":\"MoveTimeoutDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"session\",\"type\":\"bytes32\"}],\"name\":\"InvalidTurnDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"session\",\"type\":\"bytes32\"}],\"name\":\"InvalidStateDispute\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"getOutcome\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_session\",\"type\":\"bytes32\"},{\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"getState\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506040516080806129848339810180604052608081101561003057600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050508383838383838383836000800181905550826000600101819055508160006002018190555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505050505050506128a4806100e06000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a428cd3b11610066578063a428cd3b146102e8578063bcdbda94146103b6578063ea4ba8eb14610447578063f26285b2146104d8578063fb3fe8061461055157610093565b80632141dbda1461009857806329dd2f8e146101115780634d8bedec146101c25780635de28ae014610298575b600080fd5b61010f600480360360208110156100ae57600080fd5b81019080803590602001906401000000008111156100cb57600080fd5b8201836020820111156100dd57600080fd5b803590602001918460018302840111640100000000831117156100ff57600080fd5b909192939192939050505061061f565b005b6101476004803603604081101561012757600080fd5b81019080803590602001909291908035906020019092919050505061086a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018757808201518184015260208101905061016c565b50505050905090810190601f1680156101b45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610282600480360360408110156101d857600080fd5b8101908080359060200190929190803590602001906401000000008111156101ff57600080fd5b82018360208201111561021157600080fd5b8035906020019184602083028401116401000000008311171561023357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506108dd565b6040518082815260200191505060405180910390f35b6102c4600480360360208110156102ae57600080fd5b8101908080359060200190929190505050610982565b604051808260018111156102d457fe5b60ff16815260200191505060405180910390f35b6103b4600480360360408110156102fe57600080fd5b810190808035906020019064010000000081111561031b57600080fd5b82018360208201111561032d57600080fd5b8035906020019184600183028401116401000000008311171561034f57600080fd5b90919293919293908035906020019064010000000081111561037057600080fd5b82018360208201111561038257600080fd5b803590602001918460018302840111640100000000831117156103a457600080fd5b90919293919293905050506109af565b005b61042d600480360360208110156103cc57600080fd5b81019080803590602001906401000000008111156103e957600080fd5b8201836020820111156103fb57600080fd5b8035906020019184600183028401116401000000008311171561041d57600080fd5b9091929391929390505050610c3f565b604051808215151515815260200191505060405180910390f35b6104be6004803603602081101561045d57600080fd5b810190808035906020019064010000000081111561047a57600080fd5b82018360208201111561048c57600080fd5b803590602001918460018302840111640100000000831117156104ae57600080fd5b9091929391929390505050610cd6565b604051808215151515815260200191505060405180910390f35b61054f600480360360208110156104ee57600080fd5b810190808035906020019064010000000081111561050b57600080fd5b82018360208201111561051d57600080fd5b8035906020019184600183028401116401000000008311171561053f57600080fd5b9091929391929390505050610d4a565b005b61061d6004803603604081101561056757600080fd5b810190808035906020019064010000000081111561058457600080fd5b82018360208201111561059657600080fd5b803590602001918460018302840111640100000000831117156105b857600080fd5b9091929391929390803590602001906401000000008111156105d957600080fd5b8201836020820111156105eb57600080fd5b8035906020019184600183028401116401000000008311171561060d57600080fd5b9091929391929390505050610f45565b005b610627612616565b61067483838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506111b8565b905080606001516000800154826040015101106106dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061280f6027913960400191505060405180910390fd5b6106e461265b565b60606106f583600001516001611341565b91509150600060020154815110610757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806127e4602b913960400191505060405180910390fd5b600061076b836000015185608001516108dd565b905060018081111561077957fe5b6004600083815260200190815260200160002060000160009054906101000a900460ff1660018111156107a857fe5b141561081c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f73657373696f6e2073746174652069732066696e616c697a656400000000000081525060200191505060405180910390fd5b61082b81846040015184611392565b7f84b2b939adef644951dc4dc6318dc4fbe66768898728a435c356a3296947e510816040518082815260200191505060405180910390a1505050505050565b60608060206040519080825280601f01601f1916602001820160405280156108a15781602001600182028038833980820191505090505b50905060006005600086815260200190815260200160002060000160009054906101000a900460ff169050806020830152819250505092915050565b600082826040516020018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561092d578082015181840152602081019050610912565b5050505090500193505050506040516020818303038152906040528051906020012090508160046000838152602001908152602001600020600101908051906020019061097b929190612683565b5092915050565b60006004600083815260200190815260200160002060000160009054906101000a900460ff169050919050565b6109b7612616565b610a0485858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506111b8565b9050610a0e61265b565b6060610a5f85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001611341565b91509150610a7183608001518261141e565b6000610a808360400151611561565b9050836020015173ffffffffffffffffffffffffffffffffffffffff1684608001518260ff1681518110610ab057fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415610b25576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806128366021913960400191505060405180910390fd5b6000610b39846000015186608001516108dd565b9050600180811115610b4757fe5b6004600083815260200190815260200160002060000160009054906101000a900460ff166001811115610b7657fe5b1415610bea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f73657373696f6e2073746174652069732066696e616c697a656400000000000081525060200191505060405180910390fd5b610bfd8185604001518760200151611585565b7f632769e06437be0bc831706f701d0f55babe48cb2f48113134e4103bd5830afd816040518082815260200191505060405180910390a1505050505050505050565b600080610c8f84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611611565b9050600180811115610c9d57fe5b6004600083815260200190815260200160002060000160009054906101000a900460ff166001811115610ccc57fe5b1491505092915050565b6000610ce061270d565b610d2d84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061162d565b9050610d41816000015182602001516116e1565b91505092915050565b610d52612616565b610d9f83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506111b8565b9050806060015160006001015482604001510110610e08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806127bc6028913960400191505060405180910390fd5b610e1061265b565b6060610e2183600001516001611341565b91509150610e3383608001518261141e565b6000610e47836000015185608001516108dd565b9050600180811115610e5557fe5b6004600083815260200190815260200160002060000160009054906101000a900460ff166001811115610e8457fe5b1415610ef8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f73657373696f6e2073746174652069732066696e616c697a656400000000000081525060200191505060405180910390fd5b610f068184604001516117a8565b7f36a857ab2f7719bef9c1d8246bf7211e3b4ec09468b88347325456d5bec1ce3a816040518082815260200191505060405180910390a1505050505050565b610f4d612616565b610f9a85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506111b8565b9050610fa461265b565b610fb382600001516000611341565b509050610fbe61265b565b606061100f86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001611341565b9150915061102184608001518261141e565b61102b8284611833565b1561109e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f6f7261636c65206170707374617465206d75737420626520696e76616c69640081525060200191505060405180910390fd5b60006110b2836000015186608001516108dd565b90506001808111156110c057fe5b6004600083815260200190815260200160002060000160009054906101000a900460ff1660018111156110ef57fe5b1415611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f73657373696f6e2073746174652069732066696e616c697a656400000000000081525060200191505060405180910390fd5b6111768184604001518760200151611877565b7f1ee6c3823014f5e366ff312d2cf02769f8c7767be5f8c4fc3bcfaa9eb1517d81816040518082815260200191505060405180910390a1505050505050505050565b6111c0612616565b6111c861272a565b6111d183611903565b9050600061125382600001516040516020018082805190602001908083835b6020831061121357805182526020820191506020810190506020830392506111f0565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206119ae565b90506000611265828460200151611a06565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461132a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f7369676e6572206d757374206265206f7261636c65000000000000000000000081525060200191505060405180910390fd5b6113378360000151611ae6565b9350505050919050565b61134961265b565b6060611353612744565b61135c85611d28565b905061136b8160000151611e9f565b9250831561138a57611387836040015182602001516000611f8d565b91505b509250929050565b600060046000858152602001908152602001600020905060018160000160006101000a81548160ff021916908360018111156113ca57fe5b0217905550826001815181106113dc57fe5b602001015160f81c60f81b60f81c6005600086815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555050505050565b8151815114611495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f696e76616c6964206e756d626572206f66207369676e6572730000000000000081525060200191505060405180910390fd5b60008090505b825181101561155c578181815181106114b057fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff168382815181106114da57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141561154f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806128576022913960400191505060405180910390fd5b808060010191505061149b565b505050565b60008160008151811061157057fe5b602001015160f81c60f81b60f81c9050919050565b600060046000858152602001908152602001600020905060018160000160006101000a81548160ff021916908360018111156115bd57fe5b0217905550826001815181106115cf57fe5b602001015160f81c60f81b60f81c6005600086815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555050505050565b6000602082511461162157600080fd5b60208201519050919050565b61163561270d565b61163d61275e565b611646836121a4565b90506000805b611655836121d3565b156116d957611663836121e8565b8092508193505050600015611677576116d4565b600182141561169f5761169161168c8461221c565b611611565b8460000181815250506116d3565b60028214156116be576116b18361221c565b84602001819052506116d2565b6116d181846122d590919063ffffffff16565b5b5b5b61164c565b505050919050565b6000600182511461175a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207175657279206c656e67746800000000000000000000000081525060200191505060405180910390fd5b8160008151811061176757fe5b602001015160f81c60f81b60f81c60ff166005600085815260200190815260200160002060000160009054906101000a900460ff1660ff1614905092915050565b600060046000848152602001908152602001600020905060018160000160006101000a81548160ff021916908360018111156117e057fe5b0217905550816001815181106117f257fe5b602001015160f81c60f81b60f81c6005600085815260200190815260200160002060000160006101000a81548160ff021916908360ff160217905550505050565b6000816020015183602001511061184d5760009050611871565b61185f83604001518360400151612365565b61186c5760009050611871565b600190505b92915050565b600060046000858152602001908152602001600020905060018160000160006101000a81548160ff021916908360018111156118af57fe5b0217905550826001815181106118c157fe5b602001015160f81c60f81b60f81c6005600086815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555050505050565b61190b61272a565b61191361275e565b61191c836121a4565b90506000805b61192b836121d3565b156119a657611939836121e8565b809250819350505060001561194d576119a1565b600182141561196c5761195f8361221c565b84600001819052506119a0565b600282141561198b5761197e8361221c565b846020018190525061199f565b61199e81846122d590919063ffffffff16565b5b5b5b611922565b505050919050565b60008160405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c01828152602001915050604051602081830303815290604052805190602001209050919050565b60006041825114611a1a5760009050611ae0565b60008060006020850151925060408501519150606085015160001a9050601b8160ff161015611a4a57601b810190505b601b8160ff1614158015611a625750601c8160ff1614155b15611a735760009350505050611ae0565b60018682858560405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611ad0573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b611aee612616565b611af661275e565b611aff836121a4565b90506060611b176005836124ae90919063ffffffff16565b905080600581518110611b2657fe5b6020026020010151604051908082528060200260200182016040528015611b5c5781602001602082028038833980820191505090505b508360800181905250600081600581518110611b7457fe5b6020026020010181815250506000805b611b8d846121d3565b15611d1f57611b9b846121e8565b8092508193505050600015611baf57611d1a565b6001821415611bce57611bc18461221c565b8560000181905250611d19565b6002821415611c2457611be8611be38561221c565b612553565b856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611d18565b6003821415611c4457611c3684612565565b856040018181525050611d17565b6004821415611c6457611c5684612565565b856060018181525050611d16565b6005821415611d0157611c7e611c798561221c565b612553565b856080015184600581518110611c9057fe5b602002602001015181518110611ca257fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505082600581518110611ce957fe5b60200260200101805180919060010181525050611d15565b611d1481856122d590919063ffffffff16565b5b5b5b5b5b5b611b84565b50505050919050565b611d30612744565b611d3861275e565b611d41836121a4565b90506060611d596002836124ae90919063ffffffff16565b905080600281518110611d6857fe5b6020026020010151604051908082528060200260200182016040528015611da357816020015b6060815260200190600190039081611d8e5790505b508360200181905250600081600281518110611dbb57fe5b6020026020010181815250506000805b611dd4846121d3565b15611e9657611de2846121e8565b8092508193505050600015611df657611e91565b6001821415611e1557611e088461221c565b8560000181905250611e90565b6002821415611e7b57611e278461221c565b856020015184600281518110611e3957fe5b602002602001015181518110611e4b57fe5b602002602001018190525082600281518110611e6357fe5b60200260200101805180919060010181525050611e8f565b611e8e81856122d590919063ffffffff16565b5b5b5b611dcb565b50505050919050565b611ea761265b565b611eaf61275e565b611eb8836121a4565b90506000805b611ec7836121d3565b15611f8557611ed5836121e8565b8092508193505050600015611ee957611f80565b6001821415611f0957611efb83612565565b846000018181525050611f7f565b6002821415611f2957611f1b83612565565b846020018181525050611f7e565b6003821415611f4857611f3b8361221c565b8460400181905250611f7d565b6004821415611f6857611f5a83612565565b846060018181525050611f7c565b611f7b81846122d590919063ffffffff16565b5b5b5b5b5b611ebe565b505050919050565b6060808351604051908082528060200260200182016040528015611fc05781602001602082028038833980820191505090505b509050600061203f866040516020018082805190602001908083835b60208310611fff5780518252602082019150602081019050602083039250611fdc565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206119ae565b9050600080905060008090505b8651811015612196576120728388838151811061206557fe5b6020026020010151611a06565b84828151811061207e57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508515612189578173ffffffffffffffffffffffffffffffffffffffff168482815181106120e157fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1611612172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f7369676e657273206e6f7420696e20617363656e64696e67206f72646572000081525060200191505060405180910390fd5b83818151811061217e57fe5b602002602001015191505b808060010191505061204c565b508293505050509392505050565b6121ac61275e565b60018251116121ba57600080fd5b8181602001819052506000816000018181525050919050565b60008160200151518260000151109050919050565b60008060006121f684612565565b90506008818161220257fe5b04925060078116600581111561221457fe5b915050915091565b6060600061222983612565565b9050600081846000015101905083602001515181111561224857600080fd5b816040519080825280601f01601f19166020018201604052801561227b5781602001600182028038833980820191505090505b50925060608460200151905060008086600001519050602086019150806020840101905060008090505b858110156122c05780820151818401526020810190506122a5565b50838760000181815250505050505050919050565b600060058111156122e257fe5b8160058111156122ee57fe5b1415612303576122fd82612565565b50612361565b6002600581111561231057fe5b81600581111561231c57fe5b141561235b57600061232d83612565565b9050808360000181815101915081815250508260200151518360000151111561235557600080fd5b50612360565b600080fd5b5b5050565b600060028351146123de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f696e76616c696420636f7369676e6564207374617465206c656e67746800000081525060200191505060405180910390fd5b60028251146123f057600090506124a8565b60006123fb84611561565b9050600061240884611561565b90508060ff166000600201546001840160ff168161242257fe5b0614612433576000925050506124a8565b60008560018151811061244257fe5b602001015160f81c60f81b60f81c905060008560018151811061246157fe5b602001015160f81c60f81b60f81c905060018260ff161480612486575060028260ff16145b1561249f578060ff168260ff16149450505050506124a8565b60019450505050505b92915050565b6060600083600001519050600183016040519080825280602002602001820160405280156124eb5781602001602082028038833980820191505090505b5091506000805b6124fb866121d3565b1561254057612509866121e8565b8092508193505050600184838151811061251f57fe5b60200260200101818151019150818152505061253b86826122d5565b6124f2565b8286600001818152505050505092915050565b600061255e826125eb565b9050919050565b60008060608360200151905083600001519250826020820101519150600080935060008090505b600a8110156125e05783811a915060078102607f8316901b8517945060006080831614156125d35760018101866000018181510191508181525050849450505050506125e6565b808060010191505061258c565b50600080fd5b919050565b600060148251146125fb57600080fd5b6c010000000000000000000000006020830151049050919050565b6040518060a0016040528060608152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001606081525090565b6040518060800160405280600081526020016000815260200160608152602001600081525090565b8280548282559060005260206000209081019282156126fc579160200282015b828111156126fb5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906126a3565b5b5090506127099190612778565b5090565b604051806040016040528060008019168152602001606081525090565b604051806040016040528060608152602001606081525090565b604051806040016040528060608152602001606081525090565b604051806040016040528060008152602001606081525090565b6127b891905b808211156127b457600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161277e565b5090565b9056fe6f7261636c65207374617465206d757374206265206166746572206d6f766520646561646c696e657369676e657273206c656e677468206d75737420626520736d616c6c6572207468616e20706c61796572736f7261636c65207374617465206d7573742062652061667465722073696720646561646c696e656f7261636c652073746174652075736572206d75737420626520696e76616c696473746174652070726f6f66207369676e6572206d75737420626520636f7272656374a165627a7a723058201ab16154d991b9c54c098110451f96315db33346e5465caa26ea9a86c0e147e50029",
}
SimpleMultiSessionAppWithOracleMetaData contains all meta data concerning the SimpleMultiSessionAppWithOracle contract.
var SimpleSingleSessionAppABI = SimpleSingleSessionAppMetaData.ABI
SimpleSingleSessionAppABI is the input ABI used to generate the binding from. Deprecated: Use SimpleSingleSessionAppMetaData.ABI instead.
var SimpleSingleSessionAppBin = SimpleSingleSessionAppMetaData.Bin
SimpleSingleSessionAppBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SimpleSingleSessionAppMetaData.Bin instead.
var SimpleSingleSessionAppMetaData = &bind.MetaData{
ABI: "[{\"constant\":false,\"inputs\":[{\"name\":\"_stateProof\",\"type\":\"bytes\"}],\"name\":\"intendSettle\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_action\",\"type\":\"bytes\"}],\"name\":\"applyAction\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getSeqNum\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getSettleFinalizedTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getActionDeadline\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"isFinalized\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finalizeOnActionTimeout\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_players\",\"type\":\"address[]\"},{\"name\":\"_nonce\",\"type\":\"uint256\"},{\"name\":\"_timeout\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"seq\",\"type\":\"uint256\"}],\"name\":\"IntendSettle\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"getOutcome\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"getState\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b5060405162001b6238038062001b62833981018060405260608110156200003757600080fd5b8101908080516401000000008111156200005057600080fd5b828101905060208101848111156200006757600080fd5b81518560208202830111640100000000821117156200008557600080fd5b505092919060200180519060200190929190805190602001909291905050508282828282828160008001819055508260006001019080519060200190620000ce92919062000119565b50806000600301819055506000806002018190555060008060050160006101000a81548160ff021916908360038111156200010557fe5b0217905550505050505050505050620001ee565b82805482825590600052602060002090810192821562000195579160200282015b82811115620001945782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200013a565b5b509050620001a49190620001a8565b5090565b620001eb91905b80821115620001e757600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101620001af565b5090565b90565b61196480620001fe6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063b71ca01f11610066578063b71ca01f14610286578063bbc35280146102a4578063bcdbda94146102c2578063ea4ba8eb14610353578063fa5e7ff5146103e45761009e565b8063130d33fe146100a35780631f2b71e51461011c57806344c9af28146101955780634e69d5601461023c5780636d15c45714610268575b600080fd5b61011a600480360360208110156100b957600080fd5b81019080803590602001906401000000008111156100d657600080fd5b8201836020820111156100e857600080fd5b8035906020019184600183028401116401000000008311171561010a57600080fd5b90919293919293905050506103ee565b005b6101936004803603602081101561013257600080fd5b810190808035906020019064010000000081111561014f57600080fd5b82018360208201111561016157600080fd5b8035906020019184600183028401116401000000008311171561018357600080fd5b9091929391929390505050610780565b005b6101c1600480360360208110156101ab57600080fd5b81019080803590602001909291905050506109a5565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102015780820151818401526020810190506101e6565b50505050905090810190601f16801561022e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610244610a03565b6040518082600381111561025457fe5b60ff16815260200191505060405180910390f35b610270610a1c565b6040518082815260200191505060405180910390f35b61028e610a28565b6040518082815260200191505060405180910390f35b6102ac610a70565b6040518082815260200191505060405180910390f35b610339600480360360208110156102d857600080fd5b81019080803590602001906401000000008111156102f557600080fd5b82018360208201111561030757600080fd5b8035906020019184600183028401116401000000008311171561032957600080fd5b9091929391929390505050610afd565b604051808215151515815260200191505060405180910390f35b6103ca6004803603602081101561036957600080fd5b810190808035906020019064010000000081111561038657600080fd5b82018360208201111561039857600080fd5b803590602001918460018302840111640100000000831117156103ba57600080fd5b9091929391929390505050610b41565b604051808215151515815260200191505060405180910390f35b6103ec610bf5565b005b6003808111156103fa57fe5b600060050160009054906101000a900460ff16600381111561041857fe5b141561048c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b6104946118dc565b6104e183838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610c9b565b90506104f581600001518260200151610e12565b610567576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f696e76616c6964207369676e617475726500000000000000000000000000000081525060200191505060405180910390fd5b61056f6118f6565b61057c8260000151610f5c565b905060008001548160000151146105fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f6e6f6e6365206e6f74206d61746368000000000000000000000000000000000081525060200191505060405180910390fd5b806020015160006002015410610679576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f696e76616c69642073657175656e6365206e756d62657200000000000000000081525060200191505060405180910390fd5b80602001516000600201819055506001600060050160006101000a81548160ff021916908360038111156106a957fe5b021790555060006003015443016000600401819055506106cc816040015161104a565b61073e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f737461746520757064617465206661696c65640000000000000000000000000081525060200191505060405180910390fd5b7fce68db27527c6058059e8cbd1c6de0528ef1c417fe1c21c545919c7da3466d2a6000600201546040518082815260200191505060405180910390a150505050565b60038081111561078c57fe5b600060050160009054906101000a900460ff1660038111156107aa57fe5b141561081e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b6001600381111561082b57fe5b600060050160009054906101000a900460ff16600381111561084957fe5b14801561085a575060006004015443115b15610887576002600060050160006101000a81548160ff0219169083600381111561088157fe5b02179055505b6002600381111561089457fe5b600060050160009054906101000a900460ff1660038111156108b257fe5b14610925576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f617070206e6f7420696e20616374696f6e206d6f64650000000000000000000081525060200191505060405180910390fd5b600060020160008154809291906001019190505550600060030154430160006004018190555061099882828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611161565b6109a157600080fd5b5050565b60608060206040519080825280601f01601f1916602001820160405280156109dc5781602001600182028038833980820191505090505b5090506000600660009054906101000a900460ff1690508060208301528192505050919050565b60008060050160009054906101000a900460ff16905090565b60008060020154905090565b600060016003811115610a3757fe5b600060050160009054906101000a900460ff166003811115610a5557fe5b1415610a68576000600401549050610a6d565b600090505b90565b600060026003811115610a7f57fe5b600060050160009054906101000a900460ff166003811115610a9d57fe5b1415610ab0576000600401549050610afa565b60016003811115610abd57fe5b600060050160009054906101000a900460ff166003811115610adb57fe5b1415610af557600060030154600060040154019050610afa565b600090505b90565b6000808383905014610b0e57600080fd5b600380811115610b1a57fe5b600060050160009054906101000a900460ff166003811115610b3857fe5b14905092915050565b600060018383905014610bbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207175657279206c656e67746800000000000000000000000081525060200191505060405180910390fd5b82826000818110610bc957fe5b9050013560f81c60f81b60f81c60ff16600660009054906101000a900460ff1660ff1614905092915050565b60026003811115610c0257fe5b600060050160009054906101000a900460ff166003811115610c2057fe5b1415610c3c576000600401544311610c3757600080fd5b610c90565b60016003811115610c4957fe5b600060050160009054906101000a900460ff166003811115610c6757fe5b1415610c8a57600060030154600060040154014311610c8557600080fd5b610c8f565b610c99565b5b610c98611278565b5b565b610ca36118dc565b610cab61191e565b610cb4836112a1565b90506060610ccc6002836112d090919063ffffffff16565b905080600281518110610cdb57fe5b6020026020010151604051908082528060200260200182016040528015610d1657816020015b6060815260200190600190039081610d015790505b508360200181905250600081600281518110610d2e57fe5b6020026020010181815250506000805b610d4784611375565b15610e0957610d558461138a565b8092508193505050600015610d6957610e04565b6001821415610d8857610d7b846113be565b8560000181905250610e03565b6002821415610dee57610d9a846113be565b856020015184600281518110610dac57fe5b602002602001015181518110610dbe57fe5b602002602001018190525082600281518110610dd657fe5b60200260200101805180919060010181525050610e02565b610e01818561147790919063ffffffff16565b5b5b5b610d3e565b50505050919050565b60008060010180549050825114610e91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f696e76616c6964206e756d626572206f66207369676e6174757265730000000081525060200191505060405180910390fd5b6060610e9f84846000611507565b905060008090505b600060010180549050811015610f4f57818181518110610ec357fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1660006001018281548110610ef157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f4257600092505050610f56565b8080600101915050610ea7565b5060019150505b92915050565b610f646118f6565b610f6c61191e565b610f75836112a1565b90506000805b610f8483611375565b1561104257610f928361138a565b8092508193505050600015610fa65761103d565b6001821415610fc657610fb88361171e565b84600001818152505061103c565b6002821415610fe657610fd88361171e565b84602001818152505061103b565b600382141561100557610ff8836113be565b846040018190525061103a565b6004821415611025576110178361171e565b846060018181525050611039565b611038818461147790919063ffffffff16565b5b5b5b5b5b610f7b565b505050919050565b600060018251146110c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207374617465206c656e67746800000000000000000000000081525060200191505060405180910390fd5b816000815181106110d057fe5b602001015160f81c60f81b60f81c600660006101000a81548160ff021916908360ff1602179055506001600660009054906101000a900460ff1660ff16148061112b57506002600660009054906101000a900460ff1660ff16145b15611158576003600060050160006101000a81548160ff0219169083600381111561115257fe5b02179055505b60019050919050565b600060018251146111da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f696e76616c696420616374696f6e206c656e677468000000000000000000000081525060200191505060405180910390fd5b816000815181106111e757fe5b602001015160f81c60f81b60f81c600660006101000a81548160ff021916908360ff1602179055506001600660009054906101000a900460ff1660ff16148061124257506002600660009054906101000a900460ff1660ff16145b1561126f576003600060050160006101000a81548160ff0219169083600381111561126957fe5b02179055505b60019050919050565b6003600060050160006101000a81548160ff0219169083600381111561129a57fe5b0217905550565b6112a961191e565b60018251116112b757600080fd5b8181602001819052506000816000018181525050919050565b60606000836000015190506001830160405190808252806020026020018201604052801561130d5781602001602082028038833980820191505090505b5091506000805b61131d86611375565b156113625761132b8661138a565b8092508193505050600184838151811061134157fe5b60200260200101818151019150818152505061135d8682611477565b611314565b8286600001818152505050505092915050565b60008160200151518260000151109050919050565b60008060006113988461171e565b9050600881816113a457fe5b0492506007811660058111156113b657fe5b915050915091565b606060006113cb8361171e565b905060008184600001510190508360200151518111156113ea57600080fd5b816040519080825280601f01601f19166020018201604052801561141d5781602001600182028038833980820191505090505b50925060608460200151905060008086600001519050602086019150806020840101905060008090505b85811015611462578082015181840152602081019050611447565b50838760000181815250505050505050919050565b6000600581111561148457fe5b81600581111561149057fe5b14156114a55761149f8261171e565b50611503565b600260058111156114b257fe5b8160058111156114be57fe5b14156114fd5760006114cf8361171e565b905080836000018181510191508181525050826020015151836000015111156114f757600080fd5b50611502565b600080fd5b5b5050565b606080835160405190808252806020026020018201604052801561153a5781602001602082028038833980820191505090505b50905060006115b9866040516020018082805190602001908083835b602083106115795780518252602082019150602081019050602083039250611556565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206117a4565b9050600080905060008090505b8651811015611710576115ec838883815181106115df57fe5b60200260200101516117fc565b8482815181106115f857fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508515611703578173ffffffffffffffffffffffffffffffffffffffff1684828151811061165b57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16116116ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f7369676e657273206e6f7420696e20617363656e64696e67206f72646572000081525060200191505060405180910390fd5b8381815181106116f857fe5b602002602001015191505b80806001019150506115c6565b508293505050509392505050565b60008060608360200151905083600001519250826020820101519150600080935060008090505b600a8110156117995783811a915060078102607f8316901b85179450600060808316141561178c57600181018660000181815101915081815250508494505050505061179f565b8080600101915050611745565b50600080fd5b919050565b60008160405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c01828152602001915050604051602081830303815290604052805190602001209050919050565b6000604182511461181057600090506118d6565b60008060006020850151925060408501519150606085015160001a9050601b8160ff16101561184057601b810190505b601b8160ff16141580156118585750601c8160ff1614155b1561186957600093505050506118d6565b60018682858560405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa1580156118c6573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b604051806040016040528060608152602001606081525090565b6040518060800160405280600081526020016000815260200160608152602001600081525090565b60405180604001604052806000815260200160608152509056fea165627a7a723058202cff3ccecd57e354a68effd0ab29670d09f8325852c811d185e3f6dfcef547310029",
}
SimpleSingleSessionAppMetaData contains all meta data concerning the SimpleSingleSessionApp contract.
var SimpleSingleSessionAppWithOracleABI = SimpleSingleSessionAppWithOracleMetaData.ABI
SimpleSingleSessionAppWithOracleABI is the input ABI used to generate the binding from. Deprecated: Use SimpleSingleSessionAppWithOracleMetaData.ABI instead.
var SimpleSingleSessionAppWithOracleBin = SimpleSingleSessionAppWithOracleMetaData.Bin
SimpleSingleSessionAppWithOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SimpleSingleSessionAppWithOracleMetaData.Bin instead.
var SimpleSingleSessionAppWithOracleMetaData = &bind.MetaData{
ABI: "[{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"}],\"name\":\"settleBySigTimeout\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"},{\"name\":\"_cosignedStateProof\",\"type\":\"bytes\"}],\"name\":\"settleByInvalidTurn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"isFinalized\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"}],\"name\":\"settleByMoveTimeout\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_oracleProof\",\"type\":\"bytes\"},{\"name\":\"_cosignedStateProof\",\"type\":\"bytes\"}],\"name\":\"settleByInvalidState\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_players\",\"type\":\"address[]\"},{\"name\":\"_nonce\",\"type\":\"uint256\"},{\"name\":\"_sigTimeout\",\"type\":\"uint256\"},{\"name\":\"_moveTimeout\",\"type\":\"uint256\"},{\"name\":\"_oracle\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"SigTimeoutDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"MoveTimeoutDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"InvalidTurnDispute\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"InvalidStateDispute\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"name\":\"_query\",\"type\":\"bytes\"}],\"name\":\"getOutcome\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"getState\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b506040516200255f3803806200255f833981018060405260a08110156200003757600080fd5b8101908080516401000000008111156200005057600080fd5b828101905060208101848111156200006757600080fd5b81518560208202830111640100000000821117156200008557600080fd5b505092919060200180519060200190929190805190602001909291908051906020019092919080519060200190929190505050848484848484848484848360008001819055508460006001019080519060200190620000e692919062000178565b50826000600201819055508160006003018190555060008060040160006101000a81548160ff021916908360018111156200011d57fe5b021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505050505050505050506200024d565b828054828255906000526020600020908101928215620001f4579160200282015b82811115620001f35782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000199565b5b50905062000203919062000207565b5090565b6200024a91905b808211156200024657600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055506001016200020e565b5090565b90565b612302806200025d6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063bcdbda941161005b578063bcdbda94146102a7578063ea4ba8eb14610338578063f26285b2146103c9578063fb3fe8061461044257610088565b80632141dbda1461008d57806344c9af28146101065780634e69d560146101ad578063a428cd3b146101d9575b600080fd5b610104600480360360208110156100a357600080fd5b81019080803590602001906401000000008111156100c057600080fd5b8201836020820111156100d257600080fd5b803590602001918460018302840111640100000000831117156100f457600080fd5b9091929391929390505050610510565b005b6101326004803603602081101561011c57600080fd5b810190808035906020019092919050505061072b565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610172578082015181840152602081019050610157565b50505050905090810190601f16801561019f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b5610789565b604051808260018111156101c557fe5b60ff16815260200191505060405180910390f35b6102a5600480360360408110156101ef57600080fd5b810190808035906020019064010000000081111561020c57600080fd5b82018360208201111561021e57600080fd5b8035906020019184600183028401116401000000008311171561024057600080fd5b90919293919293908035906020019064010000000081111561026157600080fd5b82018360208201111561027357600080fd5b8035906020019184600183028401116401000000008311171561029557600080fd5b90919293919293905050506107a2565b005b61031e600480360360208110156102bd57600080fd5b81019080803590602001906401000000008111156102da57600080fd5b8201836020820111156102ec57600080fd5b8035906020019184600183028401116401000000008311171561030e57600080fd5b9091929391929390505050610a1c565b604051808215151515815260200191505060405180910390f35b6103af6004803603602081101561034e57600080fd5b810190808035906020019064010000000081111561036b57600080fd5b82018360208201111561037d57600080fd5b8035906020019184600183028401116401000000008311171561039f57600080fd5b9091929391929390505050610a60565b604051808215151515815260200191505060405180910390f35b610440600480360360208110156103df57600080fd5b81019080803590602001906401000000008111156103fc57600080fd5b82018360208201111561040e57600080fd5b8035906020019184600183028401116401000000008311171561043057600080fd5b9091929391929390505050610b14565b005b61050e6004803603604081101561045857600080fd5b810190808035906020019064010000000081111561047557600080fd5b82018360208201111561048757600080fd5b803590602001918460018302840111640100000000831117156104a957600080fd5b9091929391929390803590602001906401000000008111156104ca57600080fd5b8201836020820111156104dc57600080fd5b803590602001918460018302840111640100000000831117156104fe57600080fd5b9091929391929390505050610cd6565b005b60018081111561051c57fe5b600060040160009054906101000a900460ff16600181111561053a57fe5b14156105ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b6105b661215e565b61060383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610f10565b905080606001516000600201548260400151011061066c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061226d6027913960400191505060405180910390fd5b6106746121a3565b606061068583600001516001611099565b915091506000600101805490508151106106ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180612242602b913960400191505060405180910390fd5b6106f88260400151826110ea565b7f4ede5136b5765b273092424d192085d14577fe5c0b0512401b5d3706b46c8e2060405160405180910390a15050505050565b60608060206040519080825280601f01601f1916602001820160405280156107625781602001600182028038833980820191505090505b5090506000600560149054906101000a900460ff1690508060208301528192505050919050565b60008060040160009054906101000a900460ff16905090565b6001808111156107ae57fe5b600060040160009054906101000a900460ff1660018111156107cc57fe5b1415610840576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b6108486121a3565b606061089984848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001611099565b915091506108a68161114a565b60006108b583604001516112c1565b90506108bf61215e565b61090c88888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610f10565b9050806020015173ffffffffffffffffffffffffffffffffffffffff1660006001018360ff168154811061093c57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806122946021913960400191505060405180910390fd5b6109e6846040015182602001516112e5565b7f12583b36c4ceb396f9b64ae9b3055f92e067e9e27f25624468e49465c7d6d25860405160405180910390a15050505050505050565b6000808383905014610a2d57600080fd5b600180811115610a3957fe5b600060040160009054906101000a900460ff166001811115610a5757fe5b14905092915050565b600060018383905014610adb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e76616c6964207175657279206c656e67746800000000000000000000000081525060200191505060405180910390fd5b82826000818110610ae857fe5b9050013560f81c60f81b60f81c60ff16600560149054906101000a900460ff1660ff1614905092915050565b600180811115610b2057fe5b600060040160009054906101000a900460ff166001811115610b3e57fe5b1415610bb2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b610bba61215e565b610c0783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610f10565b9050806060015160006003015482604001510110610c70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061221a6028913960400191505060405180910390fd5b610c786121a3565b6060610c8983600001516001611099565b91509150610c968161114a565b610ca38260400151611345565b7f5ca2c3e34ecb38f5b6e98856236647247d4acb6a797617631c7815dc16ac0c1160405160405180910390a15050505050565b600180811115610ce257fe5b600060040160009054906101000a900460ff166001811115610d0057fe5b1415610d74576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6170702073746174652069732066696e616c697a65640000000000000000000081525060200191505060405180910390fd5b610d7c6121a3565b6060610dcd84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001611099565b91509150610dda8161114a565b610de261215e565b610e2f87878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610f10565b9050610e396121a3565b610e4882600001516000611099565b509050610e5584826113a4565b15610ec8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f6f7261636c65206170707374617465206d75737420626520696e76616c69640081525060200191505060405180910390fd5b610eda846040015183602001516113e8565b7f58857d7e5d46d366a88b9b19c3c4bfb7573323b8e0602e3966d582bac5aa5fca60405160405180910390a15050505050505050565b610f1861215e565b610f206121cb565b610f2983611448565b90506000610fab82600001516040516020018082805190602001908083835b60208310610f6b5780518252602082019150602081019050602083039250610f48565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206114f3565b90506000610fbd82846020015161154b565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611082576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f7369676e6572206d757374206265206f7261636c65000000000000000000000081525060200191505060405180910390fd5b61108f836000015161162b565b9350505050919050565b6110a16121a3565b60606110ab6121e5565b6110b48561186d565b90506110c381600001516119e4565b925083156110e2576110df836040015182602001516000611ad2565b91505b509250929050565b6001600060040160006101000a81548160ff0219169083600181111561110c57fe5b02179055508160018151811061111e57fe5b602001015160f81c60f81b60f81c600560146101000a81548160ff021916908360ff1602179055505050565b6000600101805490508151146111c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f696e76616c6964206e756d626572206f66207369676e6572730000000000000081525060200191505060405180910390fd5b60008090505b6000600101805490508110156112bd578181815181106111ea57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166000600101828154811061121857fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806122b56022913960400191505060405180910390fd5b80806001019150506111ce565b5050565b6000816000815181106112d057fe5b602001015160f81c60f81b60f81c9050919050565b6001600060040160006101000a81548160ff0219169083600181111561130757fe5b02179055508160018151811061131957fe5b602001015160f81c60f81b60f81c600560146101000a81548160ff021916908360ff1602179055505050565b6001600060040160006101000a81548160ff0219169083600181111561136757fe5b02179055508060018151811061137957fe5b602001015160f81c60f81b60f81c600560146101000a81548160ff021916908360ff16021790555050565b600081602001518360200151106113be57600090506113e2565b6113d083604001518360400151611ce9565b6113dd57600090506113e2565b600190505b92915050565b6001600060040160006101000a81548160ff0219169083600181111561140a57fe5b02179055508160018151811061141c57fe5b602001015160f81c60f81b60f81c600560146101000a81548160ff021916908360ff1602179055505050565b6114506121cb565b6114586121ff565b61146183611e35565b90506000805b61147083611e64565b156114eb5761147e83611e79565b8092508193505050600015611492576114e6565b60018214156114b1576114a483611ead565b84600001819052506114e5565b60028214156114d0576114c383611ead565b84602001819052506114e4565b6114e38184611f6690919063ffffffff16565b5b5b5b611467565b505050919050565b60008160405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c01828152602001915050604051602081830303815290604052805190602001209050919050565b6000604182511461155f5760009050611625565b60008060006020850151925060408501519150606085015160001a9050601b8160ff16101561158f57601b810190505b601b8160ff16141580156115a75750601c8160ff1614155b156115b85760009350505050611625565b60018682858560405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611615573d6000803e3d6000fd5b5050506020604051035193505050505b92915050565b61163361215e565b61163b6121ff565b61164483611e35565b9050606061165c600583611ff690919063ffffffff16565b90508060058151811061166b57fe5b60200260200101516040519080825280602002602001820160405280156116a15781602001602082028038833980820191505090505b5083608001819052506000816005815181106116b957fe5b6020026020010181815250506000805b6116d284611e64565b15611864576116e084611e79565b80925081935050506000156116f45761185f565b60018214156117135761170684611ead565b856000018190525061185e565b60028214156117695761172d61172885611ead565b61209b565b856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061185d565b60038214156117895761177b846120ad565b85604001818152505061185c565b60048214156117a95761179b846120ad565b85606001818152505061185b565b6005821415611846576117c36117be85611ead565b61209b565b8560800151846005815181106117d557fe5b6020026020010151815181106117e757fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508260058151811061182e57fe5b6020026020010180518091906001018152505061185a565b6118598185611f6690919063ffffffff16565b5b5b5b5b5b5b6116c9565b50505050919050565b6118756121e5565b61187d6121ff565b61188683611e35565b9050606061189e600283611ff690919063ffffffff16565b9050806002815181106118ad57fe5b60200260200101516040519080825280602002602001820160405280156118e857816020015b60608152602001906001900390816118d35790505b50836020018190525060008160028151811061190057fe5b6020026020010181815250506000805b61191984611e64565b156119db5761192784611e79565b809250819350505060001561193b576119d6565b600182141561195a5761194d84611ead565b85600001819052506119d5565b60028214156119c05761196c84611ead565b85602001518460028151811061197e57fe5b60200260200101518151811061199057fe5b6020026020010181905250826002815181106119a857fe5b602002602001018051809190600101815250506119d4565b6119d38185611f6690919063ffffffff16565b5b5b5b611910565b50505050919050565b6119ec6121a3565b6119f46121ff565b6119fd83611e35565b90506000805b611a0c83611e64565b15611aca57611a1a83611e79565b8092508193505050600015611a2e57611ac5565b6001821415611a4e57611a40836120ad565b846000018181525050611ac4565b6002821415611a6e57611a60836120ad565b846020018181525050611ac3565b6003821415611a8d57611a8083611ead565b8460400181905250611ac2565b6004821415611aad57611a9f836120ad565b846060018181525050611ac1565b611ac08184611f6690919063ffffffff16565b5b5b5b5b5b611a03565b505050919050565b6060808351604051908082528060200260200182016040528015611b055781602001602082028038833980820191505090505b5090506000611b84866040516020018082805190602001908083835b60208310611b445780518252602082019150602081019050602083039250611b21565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206114f3565b9050600080905060008090505b8651811015611cdb57611bb783888381518110611baa57fe5b602002602001015161154b565b848281518110611bc357fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508515611cce578173ffffffffffffffffffffffffffffffffffffffff16848281518110611c2657fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1611611cb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f7369676e657273206e6f7420696e20617363656e64696e67206f72646572000081525060200191505060405180910390fd5b838181518110611cc357fe5b602002602001015191505b8080600101915050611b91565b508293505050509392505050565b60006002835114611d62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f696e76616c696420636f7369676e6564207374617465206c656e67746800000081525060200191505060405180910390fd5b6002825114611d745760009050611e2f565b6000611d7f846112c1565b90506000611d8c846112c1565b90508060ff166000600101805490506001840160ff1681611da957fe5b0614611dba57600092505050611e2f565b600085600181518110611dc957fe5b602001015160f81c60f81b60f81c9050600085600181518110611de857fe5b602001015160f81c60f81b60f81c905060018260ff161480611e0d575060028260ff16145b15611e26578060ff168260ff1614945050505050611e2f565b60019450505050505b92915050565b611e3d6121ff565b6001825111611e4b57600080fd5b8181602001819052506000816000018181525050919050565b60008160200151518260000151109050919050565b6000806000611e87846120ad565b905060088181611e9357fe5b049250600781166005811115611ea557fe5b915050915091565b60606000611eba836120ad565b90506000818460000151019050836020015151811115611ed957600080fd5b816040519080825280601f01601f191660200182016040528015611f0c5781602001600182028038833980820191505090505b50925060608460200151905060008086600001519050602086019150806020840101905060008090505b85811015611f51578082015181840152602081019050611f36565b50838760000181815250505050505050919050565b60006005811115611f7357fe5b816005811115611f7f57fe5b1415611f9457611f8e826120ad565b50611ff2565b60026005811115611fa157fe5b816005811115611fad57fe5b1415611fec576000611fbe836120ad565b90508083600001818151019150818152505082602001515183600001511115611fe657600080fd5b50611ff1565b600080fd5b5b5050565b6060600083600001519050600183016040519080825280602002602001820160405280156120335781602001602082028038833980820191505090505b5091506000805b61204386611e64565b156120885761205186611e79565b8092508193505050600184838151811061206757fe5b6020026020010181815101915081815250506120838682611f66565b61203a565b8286600001818152505050505092915050565b60006120a682612133565b9050919050565b60008060608360200151905083600001519250826020820101519150600080935060008090505b600a8110156121285783811a915060078102607f8316901b85179450600060808316141561211b57600181018660000181815101915081815250508494505050505061212e565b80806001019150506120d4565b50600080fd5b919050565b6000601482511461214357600080fd5b6c010000000000000000000000006020830151049050919050565b6040518060a0016040528060608152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001606081525090565b6040518060800160405280600081526020016000815260200160608152602001600081525090565b604051806040016040528060608152602001606081525090565b604051806040016040528060608152602001606081525090565b60405180604001604052806000815260200160608152509056fe6f7261636c65207374617465206d757374206265206166746572206d6f766520646561646c696e657369676e657273206c656e677468206d75737420626520736d616c6c6572207468616e20706c61796572736f7261636c65207374617465206d7573742062652061667465722073696720646561646c696e656f7261636c652073746174652075736572206d75737420626520696e76616c696473746174652070726f6f66207369676e6572206d75737420626520636f7272656374a165627a7a7230582088b2d65da9605b4a847897fd4e15a3191ca2d3d8a925d14d0e030115a0b590d30029",
}
SimpleSingleSessionAppWithOracleMetaData contains all meta data concerning the SimpleSingleSessionAppWithOracle contract.
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()