go-ethereum: github.com/ethereum/go-ethereum/contracts/checkpointoracle/contract Index | Files

package contract

import "github.com/ethereum/go-ethereum/contracts/checkpointoracle/contract"

Index

Package Files

oracle.go

Constants

const CheckpointOracleABI = "" /* 1604 byte string literal not displayed */

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

const CheckpointOracleBin = "" /* 4142 byte string literal not displayed */

CheckpointOracleBin is the compiled bytecode used for deploying new contracts.

type CheckpointOracle Uses

type CheckpointOracle struct {
    CheckpointOracleCaller     // Read-only binding to the contract
    CheckpointOracleTransactor // Write-only binding to the contract
    CheckpointOracleFilterer   // Log filterer for contract events
}

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

func DeployCheckpointOracle Uses

func DeployCheckpointOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _adminlist []common.Address, _sectionSize *big.Int, _processConfirms *big.Int, _threshold *big.Int) (common.Address, *types.Transaction, *CheckpointOracle, error)

DeployCheckpointOracle deploys a new Ethereum contract, binding an instance of CheckpointOracle to it.

func NewCheckpointOracle Uses

func NewCheckpointOracle(address common.Address, backend bind.ContractBackend) (*CheckpointOracle, error)

NewCheckpointOracle creates a new instance of CheckpointOracle, bound to a specific deployed contract.

type CheckpointOracleCaller Uses

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

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

func NewCheckpointOracleCaller Uses

func NewCheckpointOracleCaller(address common.Address, caller bind.ContractCaller) (*CheckpointOracleCaller, error)

NewCheckpointOracleCaller creates a new read-only instance of CheckpointOracle, bound to a specific deployed contract.

func (*CheckpointOracleCaller) GetAllAdmin Uses

func (_CheckpointOracle *CheckpointOracleCaller) GetAllAdmin(opts *bind.CallOpts) ([]common.Address, error)

GetAllAdmin is a free data retrieval call binding the contract method 0x45848dfc.

Solidity: function GetAllAdmin() constant returns(address[])

func (*CheckpointOracleCaller) GetLatestCheckpoint Uses

func (_CheckpointOracle *CheckpointOracleCaller) 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() constant returns(uint64, bytes32, uint256)

type CheckpointOracleCallerRaw Uses

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

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

func (*CheckpointOracleCallerRaw) Call Uses

func (_CheckpointOracle *CheckpointOracleCallerRaw) 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 CheckpointOracleCallerSession Uses

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

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

func (*CheckpointOracleCallerSession) GetAllAdmin Uses

func (_CheckpointOracle *CheckpointOracleCallerSession) GetAllAdmin() ([]common.Address, error)

GetAllAdmin is a free data retrieval call binding the contract method 0x45848dfc.

Solidity: function GetAllAdmin() constant returns(address[])

func (*CheckpointOracleCallerSession) GetLatestCheckpoint Uses

func (_CheckpointOracle *CheckpointOracleCallerSession) GetLatestCheckpoint() (uint64, [32]byte, *big.Int, error)

GetLatestCheckpoint is a free data retrieval call binding the contract method 0x4d6a304c.

Solidity: function GetLatestCheckpoint() constant returns(uint64, bytes32, uint256)

type CheckpointOracleFilterer Uses

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

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

func NewCheckpointOracleFilterer Uses

func NewCheckpointOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*CheckpointOracleFilterer, error)

NewCheckpointOracleFilterer creates a new log filterer instance of CheckpointOracle, bound to a specific deployed contract.

func (*CheckpointOracleFilterer) FilterNewCheckpointVote Uses

func (_CheckpointOracle *CheckpointOracleFilterer) FilterNewCheckpointVote(opts *bind.FilterOpts, index []uint64) (*CheckpointOracleNewCheckpointVoteIterator, 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 (*CheckpointOracleFilterer) ParseNewCheckpointVote Uses

func (_CheckpointOracle *CheckpointOracleFilterer) ParseNewCheckpointVote(log types.Log) (*CheckpointOracleNewCheckpointVote, 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 (*CheckpointOracleFilterer) WatchNewCheckpointVote Uses

func (_CheckpointOracle *CheckpointOracleFilterer) WatchNewCheckpointVote(opts *bind.WatchOpts, sink chan<- *CheckpointOracleNewCheckpointVote, 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 CheckpointOracleNewCheckpointVote Uses

type CheckpointOracleNewCheckpointVote struct {
    Index          uint64
    CheckpointHash [32]byte
    V              uint8
    R              [32]byte
    S              [32]byte
    Raw            types.Log // Blockchain specific contextual infos
}

CheckpointOracleNewCheckpointVote represents a NewCheckpointVote event raised by the CheckpointOracle contract.

type CheckpointOracleNewCheckpointVoteIterator Uses

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

CheckpointOracleNewCheckpointVoteIterator is returned from FilterNewCheckpointVote and is used to iterate over the raw logs and unpacked data for NewCheckpointVote events raised by the CheckpointOracle contract.

func (*CheckpointOracleNewCheckpointVoteIterator) Close Uses

func (it *CheckpointOracleNewCheckpointVoteIterator) Close() error

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

func (*CheckpointOracleNewCheckpointVoteIterator) Error Uses

func (it *CheckpointOracleNewCheckpointVoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CheckpointOracleNewCheckpointVoteIterator) Next Uses

func (it *CheckpointOracleNewCheckpointVoteIterator) 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 CheckpointOracleRaw Uses

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

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

func (*CheckpointOracleRaw) Call Uses

func (_CheckpointOracle *CheckpointOracleRaw) 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 (*CheckpointOracleRaw) Transact Uses

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

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

func (*CheckpointOracleRaw) Transfer Uses

func (_CheckpointOracle *CheckpointOracleRaw) 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 CheckpointOracleSession Uses

type CheckpointOracleSession struct {
    Contract     *CheckpointOracle // 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
}

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

func (*CheckpointOracleSession) GetAllAdmin Uses

func (_CheckpointOracle *CheckpointOracleSession) GetAllAdmin() ([]common.Address, error)

GetAllAdmin is a free data retrieval call binding the contract method 0x45848dfc.

Solidity: function GetAllAdmin() constant returns(address[])

func (*CheckpointOracleSession) GetLatestCheckpoint Uses

func (_CheckpointOracle *CheckpointOracleSession) GetLatestCheckpoint() (uint64, [32]byte, *big.Int, error)

GetLatestCheckpoint is a free data retrieval call binding the contract method 0x4d6a304c.

Solidity: function GetLatestCheckpoint() constant returns(uint64, bytes32, uint256)

func (*CheckpointOracleSession) SetCheckpoint Uses

func (_CheckpointOracle *CheckpointOracleSession) 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 CheckpointOracleTransactor Uses

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

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

func NewCheckpointOracleTransactor Uses

func NewCheckpointOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*CheckpointOracleTransactor, error)

NewCheckpointOracleTransactor creates a new write-only instance of CheckpointOracle, bound to a specific deployed contract.

func (*CheckpointOracleTransactor) SetCheckpoint Uses

func (_CheckpointOracle *CheckpointOracleTransactor) 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 CheckpointOracleTransactorRaw Uses

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

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

func (*CheckpointOracleTransactorRaw) Transact Uses

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

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

func (*CheckpointOracleTransactorRaw) Transfer Uses

func (_CheckpointOracle *CheckpointOracleTransactorRaw) 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 CheckpointOracleTransactorSession Uses

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

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

func (*CheckpointOracleTransactorSession) SetCheckpoint Uses

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

Package contract imports 8 packages (graph) and is imported by 19 packages. Updated 2020-05-07. Refresh now. Tools for package owners.