Documentation ¶
Index ¶
- Constants
- Variables
- type SimpleMultiSessionApp
- type SimpleMultiSessionAppCaller
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetActionDeadline(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetOutcome(opts *bind.CallOpts, _query []byte) (bool, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSeqNum(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSessionID(opts *bind.CallOpts, _nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetSettleFinalizedTime(opts *bind.CallOpts, _session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetState(opts *bind.CallOpts, _session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) GetStatus(opts *bind.CallOpts, _session [32]byte) (uint8, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCaller) IsFinalized(opts *bind.CallOpts, _query []byte) (bool, error)
- type SimpleMultiSessionAppCallerRaw
- type SimpleMultiSessionAppCallerSession
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSeqNum(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) GetStatus(_session [32]byte) (uint8, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppCallerSession) IsFinalized(_query []byte) (bool, error)
- type SimpleMultiSessionAppFilterer
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) FilterIntendSettle(opts *bind.FilterOpts, session [][32]byte) (*SimpleMultiSessionAppIntendSettleIterator, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) ParseIntendSettle(log types.Log) (*SimpleMultiSessionAppIntendSettle, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *SimpleMultiSessionAppIntendSettle, ...) (event.Subscription, error)
- type SimpleMultiSessionAppIntendSettle
- type SimpleMultiSessionAppIntendSettleIterator
- type SimpleMultiSessionAppRaw
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleMultiSessionAppSession
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetActionDeadline(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetOutcome(_query []byte) (bool, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSeqNum(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSessionID(_nonce *big.Int, _signers []common.Address) ([32]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetSettleFinalizedTime(_session [32]byte) (*big.Int, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetState(_session [32]byte, _key *big.Int) ([]byte, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) GetStatus(_session [32]byte) (uint8, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppSession) IsFinalized(_query []byte) (bool, error)
- type SimpleMultiSessionAppTransactor
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) ApplyAction(opts *bind.TransactOpts, _session [32]byte, _action []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts, _session [32]byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactor) IntendSettle(opts *bind.TransactOpts, _stateProof []byte) (*types.Transaction, error)
- type SimpleMultiSessionAppTransactorRaw
- type SimpleMultiSessionAppTransactorSession
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) ApplyAction(_session [32]byte, _action []byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) FinalizeOnActionTimeout(_session [32]byte) (*types.Transaction, error)
- func (_SimpleMultiSessionApp *SimpleMultiSessionAppTransactorSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)
Constants ¶
const SimpleMultiSessionAppABI = "" /* 2840-byte string literal not displayed */
SimpleMultiSessionAppABI is the input ABI used to generate the binding from.
Variables ¶
var SimpleMultiSessionAppBin = "" /* 15680-byte string literal not displayed */
SimpleMultiSessionAppBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
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()