singlesessionapp

package
v0.0.0-...-f3ee5fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const SimpleSingleSessionAppABI = "" /* 2288-byte string literal not displayed */

SimpleSingleSessionAppABI is the input ABI used to generate the binding from.

Variables

View Source
var SimpleSingleSessionAppBin = "" /* 14022-byte string literal not displayed */

SimpleSingleSessionAppBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*SimpleSingleSessionAppIntendSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SimpleSingleSessionAppIntendSettleIterator) Next

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL