multigomoku

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

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

Variables

View Source
var MultiGomokuBin = "" /* 24164-byte string literal not displayed */

MultiGomokuBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

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

func (_MultiGomoku *MultiGomokuCaller) 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 (*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

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

func (*MultiGomokuIntendSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

func (_MultiGomoku *MultiGomokuSession) 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 (*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()

Jump to

Keyboard shortcuts

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