imultisession

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

type IMultiSession

type IMultiSession struct {
	IMultiSessionCaller     // Read-only binding to the contract
	IMultiSessionTransactor // Write-only binding to the contract
	IMultiSessionFilterer   // Log filterer for contract events
}

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

func NewIMultiSession

func NewIMultiSession(address common.Address, backend bind.ContractBackend) (*IMultiSession, error)

NewIMultiSession creates a new instance of IMultiSession, bound to a specific deployed contract.

type IMultiSessionCaller

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

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

func NewIMultiSessionCaller

func NewIMultiSessionCaller(address common.Address, caller bind.ContractCaller) (*IMultiSessionCaller, error)

NewIMultiSessionCaller creates a new read-only instance of IMultiSession, bound to a specific deployed contract.

func (*IMultiSessionCaller) GetActionDeadline

func (_IMultiSession *IMultiSessionCaller) 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 (*IMultiSessionCaller) GetSeqNum

func (_IMultiSession *IMultiSessionCaller) 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 (*IMultiSessionCaller) GetSessionID

func (_IMultiSession *IMultiSessionCaller) 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 (*IMultiSessionCaller) GetSettleFinalizedTime

func (_IMultiSession *IMultiSessionCaller) 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 (*IMultiSessionCaller) GetState

func (_IMultiSession *IMultiSessionCaller) 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 (*IMultiSessionCaller) GetStatus

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

type IMultiSessionCallerRaw

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

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

func (*IMultiSessionCallerRaw) Call

func (_IMultiSession *IMultiSessionCallerRaw) 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 IMultiSessionCallerSession

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

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

func (*IMultiSessionCallerSession) GetActionDeadline

func (_IMultiSession *IMultiSessionCallerSession) 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 (*IMultiSessionCallerSession) GetSeqNum

func (_IMultiSession *IMultiSessionCallerSession) 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 (*IMultiSessionCallerSession) GetSessionID

func (_IMultiSession *IMultiSessionCallerSession) 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 (*IMultiSessionCallerSession) GetSettleFinalizedTime

func (_IMultiSession *IMultiSessionCallerSession) 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 (*IMultiSessionCallerSession) GetState

func (_IMultiSession *IMultiSessionCallerSession) 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 (*IMultiSessionCallerSession) GetStatus

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

type IMultiSessionFilterer

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

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

func NewIMultiSessionFilterer

func NewIMultiSessionFilterer(address common.Address, filterer bind.ContractFilterer) (*IMultiSessionFilterer, error)

NewIMultiSessionFilterer creates a new log filterer instance of IMultiSession, bound to a specific deployed contract.

func (*IMultiSessionFilterer) FilterIntendSettle

func (_IMultiSession *IMultiSessionFilterer) FilterIntendSettle(opts *bind.FilterOpts, session [][32]byte) (*IMultiSessionIntendSettleIterator, error)

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

Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)

func (*IMultiSessionFilterer) ParseIntendSettle

func (_IMultiSession *IMultiSessionFilterer) ParseIntendSettle(log types.Log) (*IMultiSessionIntendSettle, error)

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

Solidity: event IntendSettle(bytes32 indexed session, uint256 seq)

func (*IMultiSessionFilterer) WatchIntendSettle

func (_IMultiSession *IMultiSessionFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *IMultiSessionIntendSettle, 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 IMultiSessionIntendSettle

type IMultiSessionIntendSettle struct {
	Session [32]byte
	Seq     *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IMultiSessionIntendSettle represents a IntendSettle event raised by the IMultiSession contract.

type IMultiSessionIntendSettleIterator

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

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

func (*IMultiSessionIntendSettleIterator) Close

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

func (*IMultiSessionIntendSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*IMultiSessionRaw) Call

func (_IMultiSession *IMultiSessionRaw) 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 (*IMultiSessionRaw) Transact

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

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

func (*IMultiSessionRaw) Transfer

func (_IMultiSession *IMultiSessionRaw) 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 IMultiSessionSession

type IMultiSessionSession struct {
	Contract     *IMultiSession    // 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
}

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

func (*IMultiSessionSession) ApplyAction

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) FinalizeOnActionTimeout

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) GetActionDeadline

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) GetSeqNum

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) GetSessionID

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) GetSettleFinalizedTime

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) GetState

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) GetStatus

func (_IMultiSession *IMultiSessionSession) 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 (*IMultiSessionSession) IntendSettle

func (_IMultiSession *IMultiSessionSession) IntendSettle(_stateProof []byte) (*types.Transaction, error)

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

Solidity: function intendSettle(bytes _stateProof) returns()

type IMultiSessionTransactor

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

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

func NewIMultiSessionTransactor

func NewIMultiSessionTransactor(address common.Address, transactor bind.ContractTransactor) (*IMultiSessionTransactor, error)

NewIMultiSessionTransactor creates a new write-only instance of IMultiSession, bound to a specific deployed contract.

func (*IMultiSessionTransactor) ApplyAction

func (_IMultiSession *IMultiSessionTransactor) 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 (*IMultiSessionTransactor) FinalizeOnActionTimeout

func (_IMultiSession *IMultiSessionTransactor) 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 (*IMultiSessionTransactor) IntendSettle

func (_IMultiSession *IMultiSessionTransactor) 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 IMultiSessionTransactorRaw

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

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

func (*IMultiSessionTransactorRaw) Transact

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

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

func (*IMultiSessionTransactorRaw) Transfer

func (_IMultiSession *IMultiSessionTransactorRaw) 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 IMultiSessionTransactorSession

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

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

func (*IMultiSessionTransactorSession) ApplyAction

func (_IMultiSession *IMultiSessionTransactorSession) 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 (*IMultiSessionTransactorSession) FinalizeOnActionTimeout

func (_IMultiSession *IMultiSessionTransactorSession) 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 (*IMultiSessionTransactorSession) IntendSettle

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