Documentation ¶
Index ¶
- Constants
- Variables
- type CheckpointEuracle
- type CheckpointEuracleCaller
- type CheckpointEuracleCallerRaw
- type CheckpointEuracleCallerSession
- type CheckpointEuracleFilterer
- func (_CheckpointEuracle *CheckpointEuracleFilterer) FilterNewCheckpointVote(opts *bind.FilterOpts, index []uint64) (*CheckpointEuracleNewCheckpointVoteIterator, error)
- func (_CheckpointEuracle *CheckpointEuracleFilterer) ParseNewCheckpointVote(log types.Log) (*CheckpointEuracleNewCheckpointVote, error)
- func (_CheckpointEuracle *CheckpointEuracleFilterer) WatchNewCheckpointVote(opts *bind.WatchOpts, sink chan<- *CheckpointEuracleNewCheckpointVote, ...) (event.Subscription, error)
- type CheckpointEuracleNewCheckpointVote
- type CheckpointEuracleNewCheckpointVoteIterator
- type CheckpointEuracleRaw
- func (_CheckpointEuracle *CheckpointEuracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CheckpointEuracle *CheckpointEuracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CheckpointEuracle *CheckpointEuracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CheckpointEuracleSession
- func (_CheckpointEuracle *CheckpointEuracleSession) GetAllAdmin() ([]common.Address, error)
- func (_CheckpointEuracle *CheckpointEuracleSession) GetLatestCheckpoint() (uint64, [32]byte, *big.Int, error)
- func (_CheckpointEuracle *CheckpointEuracleSession) SetCheckpoint(_recentNumber *big.Int, _recentHash [32]byte, _hash [32]byte, ...) (*types.Transaction, error)
- type CheckpointEuracleTransactor
- type CheckpointEuracleTransactorRaw
- type CheckpointEuracleTransactorSession
Constants ¶
const CheckpointEuracleABI = "" /* 2084-byte string literal not displayed */
CheckpointEuracleABI is the input ABI used to generate the binding from.
Variables ¶
var CheckpointEuracleBin = "" /* 4322-byte string literal not displayed */
CheckpointEuracleBin is the compiled bytecode used for deploying new contracts.
var CheckpointEuracleFuncSigs = map[string]string{
"45848dfc": "GetAllAdmin()",
"4d6a304c": "GetLatestCheckpoint()",
"d459fc46": "SetCheckpoint(uint256,bytes32,bytes32,uint64,uint8[],bytes32[],bytes32[])",
}
CheckpointEuracleFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type CheckpointEuracle ¶
type CheckpointEuracle struct { CheckpointEuracleCaller // Read-only binding to the contract CheckpointEuracleTransactor // Write-only binding to the contract CheckpointEuracleFilterer // Log filterer for contract events }
CheckpointEuracle is an auto generated Go binding around an Eutherum contract.
func DeployCheckpointEuracle ¶
func DeployCheckpointEuracle(auth *bind.TransactOpts, backend bind.ContractBackend, _adminlist []common.Address, _sectionSize *big.Int, _processConfirms *big.Int, _threshold *big.Int) (common.Address, *types.Transaction, *CheckpointEuracle, error)
DeployCheckpointEuracle deploys a new Eutherum contract, binding an instance of CheckpointEuracle to it.
func NewCheckpointEuracle ¶
func NewCheckpointEuracle(address common.Address, backend bind.ContractBackend) (*CheckpointEuracle, error)
NewCheckpointEuracle creates a new instance of CheckpointEuracle, bound to a specific deployed contract.
type CheckpointEuracleCaller ¶
type CheckpointEuracleCaller struct {
// contains filtered or unexported fields
}
CheckpointEuracleCaller is an auto generated read-only Go binding around an Eutherum contract.
func NewCheckpointEuracleCaller ¶
func NewCheckpointEuracleCaller(address common.Address, caller bind.ContractCaller) (*CheckpointEuracleCaller, error)
NewCheckpointEuracleCaller creates a new read-only instance of CheckpointEuracle, bound to a specific deployed contract.
func (*CheckpointEuracleCaller) GetAllAdmin ¶
func (_CheckpointEuracle *CheckpointEuracleCaller) GetAllAdmin(opts *bind.CallOpts) ([]common.Address, error)
GetAllAdmin is a free data retrieval call binding the contract method 0x45848dfc.
Solidity: function GetAllAdmin() view returns(address[])
func (*CheckpointEuracleCaller) GetLatestCheckpoint ¶
func (_CheckpointEuracle *CheckpointEuracleCaller) GetLatestCheckpoint(opts *bind.CallOpts) (uint64, [32]byte, *big.Int, error)
GetLatestCheckpoint is a free data retrieval call binding the contract method 0x4d6a304c.
Solidity: function GetLatestCheckpoint() view returns(uint64, bytes32, uint256)
type CheckpointEuracleCallerRaw ¶
type CheckpointEuracleCallerRaw struct {
Contract *CheckpointEuracleCaller // Generic read-only contract binding to access the raw methods on
}
CheckpointEuracleCallerRaw is an auto generated low-level read-only Go binding around an Eutherum contract.
func (*CheckpointEuracleCallerRaw) Call ¶
func (_CheckpointEuracle *CheckpointEuracleCallerRaw) 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 CheckpointEuracleCallerSession ¶
type CheckpointEuracleCallerSession struct { Contract *CheckpointEuracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CheckpointEuracleCallerSession is an auto generated read-only Go binding around an Eutherum contract, with pre-set call options.
func (*CheckpointEuracleCallerSession) GetAllAdmin ¶
func (_CheckpointEuracle *CheckpointEuracleCallerSession) GetAllAdmin() ([]common.Address, error)
GetAllAdmin is a free data retrieval call binding the contract method 0x45848dfc.
Solidity: function GetAllAdmin() view returns(address[])
func (*CheckpointEuracleCallerSession) GetLatestCheckpoint ¶
func (_CheckpointEuracle *CheckpointEuracleCallerSession) GetLatestCheckpoint() (uint64, [32]byte, *big.Int, error)
GetLatestCheckpoint is a free data retrieval call binding the contract method 0x4d6a304c.
Solidity: function GetLatestCheckpoint() view returns(uint64, bytes32, uint256)
type CheckpointEuracleFilterer ¶
type CheckpointEuracleFilterer struct {
// contains filtered or unexported fields
}
CheckpointEuracleFilterer is an auto generated log filtering Go binding around an Eutherum contract events.
func NewCheckpointEuracleFilterer ¶
func NewCheckpointEuracleFilterer(address common.Address, filterer bind.ContractFilterer) (*CheckpointEuracleFilterer, error)
NewCheckpointEuracleFilterer creates a new log filterer instance of CheckpointEuracle, bound to a specific deployed contract.
func (*CheckpointEuracleFilterer) FilterNewCheckpointVote ¶
func (_CheckpointEuracle *CheckpointEuracleFilterer) FilterNewCheckpointVote(opts *bind.FilterOpts, index []uint64) (*CheckpointEuracleNewCheckpointVoteIterator, error)
FilterNewCheckpointVote is a free log retrieval operation binding the contract event 0xce51ffa16246bcaf0899f6504f473cd0114f430f566cef71ab7e03d3dde42a41.
Solidity: event NewCheckpointVote(uint64 indexed index, bytes32 checkpointHash, uint8 v, bytes32 r, bytes32 s)
func (*CheckpointEuracleFilterer) ParseNewCheckpointVote ¶
func (_CheckpointEuracle *CheckpointEuracleFilterer) ParseNewCheckpointVote(log types.Log) (*CheckpointEuracleNewCheckpointVote, error)
ParseNewCheckpointVote is a log parse operation binding the contract event 0xce51ffa16246bcaf0899f6504f473cd0114f430f566cef71ab7e03d3dde42a41.
Solidity: event NewCheckpointVote(uint64 indexed index, bytes32 checkpointHash, uint8 v, bytes32 r, bytes32 s)
func (*CheckpointEuracleFilterer) WatchNewCheckpointVote ¶
func (_CheckpointEuracle *CheckpointEuracleFilterer) WatchNewCheckpointVote(opts *bind.WatchOpts, sink chan<- *CheckpointEuracleNewCheckpointVote, index []uint64) (event.Subscription, error)
WatchNewCheckpointVote is a free log subscription operation binding the contract event 0xce51ffa16246bcaf0899f6504f473cd0114f430f566cef71ab7e03d3dde42a41.
Solidity: event NewCheckpointVote(uint64 indexed index, bytes32 checkpointHash, uint8 v, bytes32 r, bytes32 s)
type CheckpointEuracleNewCheckpointVote ¶
type CheckpointEuracleNewCheckpointVote struct { Index uint64 CheckpointHash [32]byte V uint8 R [32]byte S [32]byte Raw types.Log // Blockchain specific contextual infos }
CheckpointEuracleNewCheckpointVote represents a NewCheckpointVote event raised by the CheckpointEuracle contract.
type CheckpointEuracleNewCheckpointVoteIterator ¶
type CheckpointEuracleNewCheckpointVoteIterator struct { Event *CheckpointEuracleNewCheckpointVote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CheckpointEuracleNewCheckpointVoteIterator is returned from FilterNewCheckpointVote and is used to iterate over the raw logs and unpacked data for NewCheckpointVote events raised by the CheckpointEuracle contract.
func (*CheckpointEuracleNewCheckpointVoteIterator) Close ¶
func (it *CheckpointEuracleNewCheckpointVoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CheckpointEuracleNewCheckpointVoteIterator) Error ¶
func (it *CheckpointEuracleNewCheckpointVoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CheckpointEuracleNewCheckpointVoteIterator) Next ¶
func (it *CheckpointEuracleNewCheckpointVoteIterator) 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 CheckpointEuracleRaw ¶
type CheckpointEuracleRaw struct {
Contract *CheckpointEuracle // Generic contract binding to access the raw methods on
}
CheckpointEuracleRaw is an auto generated low-level Go binding around an Eutherum contract.
func (*CheckpointEuracleRaw) Call ¶
func (_CheckpointEuracle *CheckpointEuracleRaw) 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 (*CheckpointEuracleRaw) Transact ¶
func (_CheckpointEuracle *CheckpointEuracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CheckpointEuracleRaw) Transfer ¶
func (_CheckpointEuracle *CheckpointEuracleRaw) 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 CheckpointEuracleSession ¶
type CheckpointEuracleSession struct { Contract *CheckpointEuracle // 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 }
CheckpointEuracleSession is an auto generated Go binding around an Eutherum contract, with pre-set call and transact options.
func (*CheckpointEuracleSession) GetAllAdmin ¶
func (_CheckpointEuracle *CheckpointEuracleSession) GetAllAdmin() ([]common.Address, error)
GetAllAdmin is a free data retrieval call binding the contract method 0x45848dfc.
Solidity: function GetAllAdmin() view returns(address[])
func (*CheckpointEuracleSession) GetLatestCheckpoint ¶
func (_CheckpointEuracle *CheckpointEuracleSession) GetLatestCheckpoint() (uint64, [32]byte, *big.Int, error)
GetLatestCheckpoint is a free data retrieval call binding the contract method 0x4d6a304c.
Solidity: function GetLatestCheckpoint() view returns(uint64, bytes32, uint256)
func (*CheckpointEuracleSession) SetCheckpoint ¶
func (_CheckpointEuracle *CheckpointEuracleSession) SetCheckpoint(_recentNumber *big.Int, _recentHash [32]byte, _hash [32]byte, _sectionIndex uint64, v []uint8, r [][32]byte, s [][32]byte) (*types.Transaction, error)
SetCheckpoint is a paid mutator transaction binding the contract method 0xd459fc46.
Solidity: function SetCheckpoint(uint256 _recentNumber, bytes32 _recentHash, bytes32 _hash, uint64 _sectionIndex, uint8[] v, bytes32[] r, bytes32[] s) returns(bool)
type CheckpointEuracleTransactor ¶
type CheckpointEuracleTransactor struct {
// contains filtered or unexported fields
}
CheckpointEuracleTransactor is an auto generated write-only Go binding around an Eutherum contract.
func NewCheckpointEuracleTransactor ¶
func NewCheckpointEuracleTransactor(address common.Address, transactor bind.ContractTransactor) (*CheckpointEuracleTransactor, error)
NewCheckpointEuracleTransactor creates a new write-only instance of CheckpointEuracle, bound to a specific deployed contract.
func (*CheckpointEuracleTransactor) SetCheckpoint ¶
func (_CheckpointEuracle *CheckpointEuracleTransactor) SetCheckpoint(opts *bind.TransactOpts, _recentNumber *big.Int, _recentHash [32]byte, _hash [32]byte, _sectionIndex uint64, v []uint8, r [][32]byte, s [][32]byte) (*types.Transaction, error)
SetCheckpoint is a paid mutator transaction binding the contract method 0xd459fc46.
Solidity: function SetCheckpoint(uint256 _recentNumber, bytes32 _recentHash, bytes32 _hash, uint64 _sectionIndex, uint8[] v, bytes32[] r, bytes32[] s) returns(bool)
type CheckpointEuracleTransactorRaw ¶
type CheckpointEuracleTransactorRaw struct {
Contract *CheckpointEuracleTransactor // Generic write-only contract binding to access the raw methods on
}
CheckpointEuracleTransactorRaw is an auto generated low-level write-only Go binding around an Eutherum contract.
func (*CheckpointEuracleTransactorRaw) Transact ¶
func (_CheckpointEuracle *CheckpointEuracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CheckpointEuracleTransactorRaw) Transfer ¶
func (_CheckpointEuracle *CheckpointEuracleTransactorRaw) 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 CheckpointEuracleTransactorSession ¶
type CheckpointEuracleTransactorSession struct { Contract *CheckpointEuracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CheckpointEuracleTransactorSession is an auto generated write-only Go binding around an Eutherum contract, with pre-set transact options.
func (*CheckpointEuracleTransactorSession) SetCheckpoint ¶
func (_CheckpointEuracle *CheckpointEuracleTransactorSession) SetCheckpoint(_recentNumber *big.Int, _recentHash [32]byte, _hash [32]byte, _sectionIndex uint64, v []uint8, r [][32]byte, s [][32]byte) (*types.Transaction, error)
SetCheckpoint is a paid mutator transaction binding the contract method 0xd459fc46.
Solidity: function SetCheckpoint(uint256 _recentNumber, bytes32 _recentHash, bytes32 _hash, uint64 _sectionIndex, uint8[] v, bytes32[] r, bytes32[] s) returns(bool)