singlegomoku

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 SingleGomokuABI = "" /* 2391-byte string literal not displayed */

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

Variables

View Source
var SingleGomokuBin = "" /* 21968-byte string literal not displayed */

SingleGomokuBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type SingleGomoku

type SingleGomoku struct {
	SingleGomokuCaller     // Read-only binding to the contract
	SingleGomokuTransactor // Write-only binding to the contract
	SingleGomokuFilterer   // Log filterer for contract events
}

SingleGomoku is an auto generated Go binding around an Ethereum contract.

func DeploySingleGomoku

func DeploySingleGomoku(auth *bind.TransactOpts, backend bind.ContractBackend, _players []common.Address, _nonce *big.Int, _timeout *big.Int, _minStoneOffchain uint8, _maxStoneOnchain uint8) (common.Address, *types.Transaction, *SingleGomoku, error)

DeploySingleGomoku deploys a new Ethereum contract, binding an instance of SingleGomoku to it.

func NewSingleGomoku

func NewSingleGomoku(address common.Address, backend bind.ContractBackend) (*SingleGomoku, error)

NewSingleGomoku creates a new instance of SingleGomoku, bound to a specific deployed contract.

type SingleGomokuCaller

type SingleGomokuCaller struct {
	// contains filtered or unexported fields
}

SingleGomokuCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSingleGomokuCaller

func NewSingleGomokuCaller(address common.Address, caller bind.ContractCaller) (*SingleGomokuCaller, error)

NewSingleGomokuCaller creates a new read-only instance of SingleGomoku, bound to a specific deployed contract.

func (*SingleGomokuCaller) GetActionDeadline

func (_SingleGomoku *SingleGomokuCaller) 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 (*SingleGomokuCaller) GetOutcome

func (_SingleGomoku *SingleGomokuCaller) 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 (*SingleGomokuCaller) GetSeqNum

func (_SingleGomoku *SingleGomokuCaller) 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 (*SingleGomokuCaller) GetSettleFinalizedTime

func (_SingleGomoku *SingleGomokuCaller) 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 (*SingleGomokuCaller) GetState

func (_SingleGomoku *SingleGomokuCaller) 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 (*SingleGomokuCaller) GetStatus

func (_SingleGomoku *SingleGomokuCaller) 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 (*SingleGomokuCaller) IsFinalized

func (_SingleGomoku *SingleGomokuCaller) 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 SingleGomokuCallerRaw

type SingleGomokuCallerRaw struct {
	Contract *SingleGomokuCaller // Generic read-only contract binding to access the raw methods on
}

SingleGomokuCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SingleGomokuCallerRaw) Call

func (_SingleGomoku *SingleGomokuCallerRaw) 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 SingleGomokuCallerSession

type SingleGomokuCallerSession struct {
	Contract *SingleGomokuCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

SingleGomokuCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SingleGomokuCallerSession) GetActionDeadline

func (_SingleGomoku *SingleGomokuCallerSession) GetActionDeadline() (*big.Int, error)

GetActionDeadline is a free data retrieval call binding the contract method 0xbbc35280.

Solidity: function getActionDeadline() view returns(uint256)

func (*SingleGomokuCallerSession) GetOutcome

func (_SingleGomoku *SingleGomokuCallerSession) 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 (*SingleGomokuCallerSession) GetSeqNum

func (_SingleGomoku *SingleGomokuCallerSession) GetSeqNum() (*big.Int, error)

GetSeqNum is a free data retrieval call binding the contract method 0x6d15c457.

Solidity: function getSeqNum() view returns(uint256)

func (*SingleGomokuCallerSession) GetSettleFinalizedTime

func (_SingleGomoku *SingleGomokuCallerSession) GetSettleFinalizedTime() (*big.Int, error)

GetSettleFinalizedTime is a free data retrieval call binding the contract method 0xb71ca01f.

Solidity: function getSettleFinalizedTime() view returns(uint256)

func (*SingleGomokuCallerSession) GetState

func (_SingleGomoku *SingleGomokuCallerSession) 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 (*SingleGomokuCallerSession) GetStatus

func (_SingleGomoku *SingleGomokuCallerSession) GetStatus() (uint8, error)

GetStatus is a free data retrieval call binding the contract method 0x4e69d560.

Solidity: function getStatus() view returns(uint8)

func (*SingleGomokuCallerSession) IsFinalized

func (_SingleGomoku *SingleGomokuCallerSession) 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 SingleGomokuFilterer

type SingleGomokuFilterer struct {
	// contains filtered or unexported fields
}

SingleGomokuFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSingleGomokuFilterer

func NewSingleGomokuFilterer(address common.Address, filterer bind.ContractFilterer) (*SingleGomokuFilterer, error)

NewSingleGomokuFilterer creates a new log filterer instance of SingleGomoku, bound to a specific deployed contract.

func (*SingleGomokuFilterer) FilterIntendSettle

func (_SingleGomoku *SingleGomokuFilterer) FilterIntendSettle(opts *bind.FilterOpts) (*SingleGomokuIntendSettleIterator, error)

FilterIntendSettle is a free log retrieval operation binding the contract event 0xce68db27527c6058059e8cbd1c6de0528ef1c417fe1c21c545919c7da3466d2a.

Solidity: event IntendSettle(uint256 seq)

func (*SingleGomokuFilterer) ParseIntendSettle

func (_SingleGomoku *SingleGomokuFilterer) ParseIntendSettle(log types.Log) (*SingleGomokuIntendSettle, error)

ParseIntendSettle is a log parse operation binding the contract event 0xce68db27527c6058059e8cbd1c6de0528ef1c417fe1c21c545919c7da3466d2a.

Solidity: event IntendSettle(uint256 seq)

func (*SingleGomokuFilterer) WatchIntendSettle

func (_SingleGomoku *SingleGomokuFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *SingleGomokuIntendSettle) (event.Subscription, error)

WatchIntendSettle is a free log subscription operation binding the contract event 0xce68db27527c6058059e8cbd1c6de0528ef1c417fe1c21c545919c7da3466d2a.

Solidity: event IntendSettle(uint256 seq)

type SingleGomokuIntendSettle

type SingleGomokuIntendSettle struct {
	Seq *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

SingleGomokuIntendSettle represents a IntendSettle event raised by the SingleGomoku contract.

type SingleGomokuIntendSettleIterator

type SingleGomokuIntendSettleIterator struct {
	Event *SingleGomokuIntendSettle // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SingleGomokuIntendSettleIterator is returned from FilterIntendSettle and is used to iterate over the raw logs and unpacked data for IntendSettle events raised by the SingleGomoku contract.

func (*SingleGomokuIntendSettleIterator) Close

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

func (*SingleGomokuIntendSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SingleGomokuIntendSettleIterator) 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 SingleGomokuRaw

type SingleGomokuRaw struct {
	Contract *SingleGomoku // Generic contract binding to access the raw methods on
}

SingleGomokuRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SingleGomokuRaw) Call

func (_SingleGomoku *SingleGomokuRaw) 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 (*SingleGomokuRaw) Transact

func (_SingleGomoku *SingleGomokuRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SingleGomokuRaw) Transfer

func (_SingleGomoku *SingleGomokuRaw) 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 SingleGomokuSession

type SingleGomokuSession struct {
	Contract     *SingleGomoku     // 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
}

SingleGomokuSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SingleGomokuSession) ApplyAction

func (_SingleGomoku *SingleGomokuSession) ApplyAction(_action []byte) (*types.Transaction, error)

ApplyAction is a paid mutator transaction binding the contract method 0x1f2b71e5.

Solidity: function applyAction(bytes _action) returns()

func (*SingleGomokuSession) FinalizeOnActionTimeout

func (_SingleGomoku *SingleGomokuSession) FinalizeOnActionTimeout() (*types.Transaction, error)

FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xfa5e7ff5.

Solidity: function finalizeOnActionTimeout() returns()

func (*SingleGomokuSession) GetActionDeadline

func (_SingleGomoku *SingleGomokuSession) GetActionDeadline() (*big.Int, error)

GetActionDeadline is a free data retrieval call binding the contract method 0xbbc35280.

Solidity: function getActionDeadline() view returns(uint256)

func (*SingleGomokuSession) GetOutcome

func (_SingleGomoku *SingleGomokuSession) 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 (*SingleGomokuSession) GetSeqNum

func (_SingleGomoku *SingleGomokuSession) GetSeqNum() (*big.Int, error)

GetSeqNum is a free data retrieval call binding the contract method 0x6d15c457.

Solidity: function getSeqNum() view returns(uint256)

func (*SingleGomokuSession) GetSettleFinalizedTime

func (_SingleGomoku *SingleGomokuSession) GetSettleFinalizedTime() (*big.Int, error)

GetSettleFinalizedTime is a free data retrieval call binding the contract method 0xb71ca01f.

Solidity: function getSettleFinalizedTime() view returns(uint256)

func (*SingleGomokuSession) GetState

func (_SingleGomoku *SingleGomokuSession) 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 (*SingleGomokuSession) GetStatus

func (_SingleGomoku *SingleGomokuSession) GetStatus() (uint8, error)

GetStatus is a free data retrieval call binding the contract method 0x4e69d560.

Solidity: function getStatus() view returns(uint8)

func (*SingleGomokuSession) IntendSettle

func (_SingleGomoku *SingleGomokuSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)

IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.

Solidity: function intendSettle(bytes _stateProof) returns()

func (*SingleGomokuSession) IsFinalized

func (_SingleGomoku *SingleGomokuSession) 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 SingleGomokuTransactor

type SingleGomokuTransactor struct {
	// contains filtered or unexported fields
}

SingleGomokuTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSingleGomokuTransactor

func NewSingleGomokuTransactor(address common.Address, transactor bind.ContractTransactor) (*SingleGomokuTransactor, error)

NewSingleGomokuTransactor creates a new write-only instance of SingleGomoku, bound to a specific deployed contract.

func (*SingleGomokuTransactor) ApplyAction

func (_SingleGomoku *SingleGomokuTransactor) 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 (*SingleGomokuTransactor) FinalizeOnActionTimeout

func (_SingleGomoku *SingleGomokuTransactor) FinalizeOnActionTimeout(opts *bind.TransactOpts) (*types.Transaction, error)

FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xfa5e7ff5.

Solidity: function finalizeOnActionTimeout() returns()

func (*SingleGomokuTransactor) IntendSettle

func (_SingleGomoku *SingleGomokuTransactor) 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 SingleGomokuTransactorRaw

type SingleGomokuTransactorRaw struct {
	Contract *SingleGomokuTransactor // Generic write-only contract binding to access the raw methods on
}

SingleGomokuTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SingleGomokuTransactorRaw) Transact

func (_SingleGomoku *SingleGomokuTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SingleGomokuTransactorRaw) Transfer

func (_SingleGomoku *SingleGomokuTransactorRaw) 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 SingleGomokuTransactorSession

type SingleGomokuTransactorSession struct {
	Contract     *SingleGomokuTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

SingleGomokuTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SingleGomokuTransactorSession) ApplyAction

func (_SingleGomoku *SingleGomokuTransactorSession) ApplyAction(_action []byte) (*types.Transaction, error)

ApplyAction is a paid mutator transaction binding the contract method 0x1f2b71e5.

Solidity: function applyAction(bytes _action) returns()

func (*SingleGomokuTransactorSession) FinalizeOnActionTimeout

func (_SingleGomoku *SingleGomokuTransactorSession) FinalizeOnActionTimeout() (*types.Transaction, error)

FinalizeOnActionTimeout is a paid mutator transaction binding the contract method 0xfa5e7ff5.

Solidity: function finalizeOnActionTimeout() returns()

func (*SingleGomokuTransactorSession) IntendSettle

func (_SingleGomoku *SingleGomokuTransactorSession) 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