Documentation ¶
Index ¶
- Variables
- type CompactSignature
- type PillarBlockFinalizationData
- type PillarBlockFinalizedBlock
- type PillarBlockVoteCountChange
- type PillarBlockWithChanges
- type TaraClientContractInterface
- type TaraClientContractInterfaceBlockFinalized
- type TaraClientContractInterfaceBlockFinalizedIterator
- type TaraClientContractInterfaceCaller
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) Finalized(opts *bind.CallOpts) (struct{ ... }, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) GetFinalized(opts *bind.CallOpts) (PillarBlockFinalizedBlock, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) GetFinalizedBridgeRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) GetSignaturesWeight(opts *bind.CallOpts, h [32]byte, signatures []CompactSignature) (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) PillarBlockInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) Threshold(opts *bind.CallOpts) (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) TotalWeight(opts *bind.CallOpts) (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) ValidatorVoteCounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type TaraClientContractInterfaceCallerRaw
- type TaraClientContractInterfaceCallerSession
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) Finalized() (struct{ ... }, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) GetFinalized() (PillarBlockFinalizedBlock, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) GetFinalizedBridgeRoot() ([32]byte, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) GetSignaturesWeight(h [32]byte, signatures []CompactSignature) (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) Owner() (common.Address, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) PillarBlockInterval() (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) Threshold() (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) TotalWeight() (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) ValidatorVoteCounts(arg0 common.Address) (*big.Int, error)
- type TaraClientContractInterfaceFilterer
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterBlockFinalized(opts *bind.FilterOpts) (*TaraClientContractInterfaceBlockFinalizedIterator, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaraClientContractInterfaceInitializedIterator, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterInitialized0(opts *bind.FilterOpts) (*TaraClientContractInterfaceInitialized0Iterator, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TaraClientContractInterfaceOwnershipTransferredIterator, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterThresholdChanged(opts *bind.FilterOpts) (*TaraClientContractInterfaceThresholdChangedIterator, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterValidatorWeightChanged(opts *bind.FilterOpts, validator []common.Address) (*TaraClientContractInterfaceValidatorWeightChangedIterator, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseBlockFinalized(log types.Log) (*TaraClientContractInterfaceBlockFinalized, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseInitialized(log types.Log) (*TaraClientContractInterfaceInitialized, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseInitialized0(log types.Log) (*TaraClientContractInterfaceInitialized0, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseOwnershipTransferred(log types.Log) (*TaraClientContractInterfaceOwnershipTransferred, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseThresholdChanged(log types.Log) (*TaraClientContractInterfaceThresholdChanged, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseValidatorWeightChanged(log types.Log) (*TaraClientContractInterfaceValidatorWeightChanged, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchBlockFinalized(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceBlockFinalized) (event.Subscription, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceInitialized) (event.Subscription, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchInitialized0(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceInitialized0) (event.Subscription, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchThresholdChanged(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceThresholdChanged) (event.Subscription, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchValidatorWeightChanged(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type TaraClientContractInterfaceInitialized
- type TaraClientContractInterfaceInitialized0
- type TaraClientContractInterfaceInitialized0Iterator
- type TaraClientContractInterfaceInitializedIterator
- type TaraClientContractInterfaceOwnershipTransferred
- type TaraClientContractInterfaceOwnershipTransferredIterator
- type TaraClientContractInterfaceRaw
- func (_TaraClientContractInterface *TaraClientContractInterfaceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TaraClientContractInterface *TaraClientContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TaraClientContractInterfaceSession
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) FinalizeBlocks(blocks []PillarBlockWithChanges, lastBlockSigs []CompactSignature) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Finalized() (struct{ ... }, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) GetFinalized() (PillarBlockFinalizedBlock, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) GetFinalizedBridgeRoot() ([32]byte, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) GetSignaturesWeight(h [32]byte, signatures []CompactSignature) (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Initialize(_genesisBlock PillarBlockWithChanges, _threshold *big.Int, ...) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Owner() (common.Address, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) PillarBlockInterval() (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) ProcessValidatorChanges(validatorChanges []PillarBlockVoteCountChange) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) RenounceOwnership() (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) SetThreshold(_threshold *big.Int) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Threshold() (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) TotalWeight() (*big.Int, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceSession) ValidatorVoteCounts(arg0 common.Address) (*big.Int, error)
- type TaraClientContractInterfaceThresholdChanged
- type TaraClientContractInterfaceThresholdChangedIterator
- type TaraClientContractInterfaceTransactor
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) FinalizeBlocks(opts *bind.TransactOpts, blocks []PillarBlockWithChanges, ...) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) Initialize(opts *bind.TransactOpts, _genesisBlock PillarBlockWithChanges, ...) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) ProcessValidatorChanges(opts *bind.TransactOpts, validatorChanges []PillarBlockVoteCountChange) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) SetThreshold(opts *bind.TransactOpts, _threshold *big.Int) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type TaraClientContractInterfaceTransactorRaw
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TaraClientContractInterfaceTransactorSession
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) FinalizeBlocks(blocks []PillarBlockWithChanges, lastBlockSigs []CompactSignature) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) Initialize(_genesisBlock PillarBlockWithChanges, _threshold *big.Int, ...) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) ProcessValidatorChanges(validatorChanges []PillarBlockVoteCountChange) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) SetThreshold(_threshold *big.Int) (*types.Transaction, error)
- func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type TaraClientContractInterfaceValidatorWeightChanged
- type TaraClientContractInterfaceValidatorWeightChangedIterator
Constants ¶
This section is empty.
Variables ¶
var TaraClientContractInterfaceABI = TaraClientContractInterfaceMetaData.ABI
TaraClientContractInterfaceABI is the input ABI used to generate the binding from. Deprecated: Use TaraClientContractInterfaceMetaData.ABI instead.
var TaraClientContractInterfaceMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"HashesNotMatching\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"}],\"name\":\"InvalidBlockInterval\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"name\":\"ThresholdNotMet\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"bridgeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"prevHash\",\"type\":\"bytes32\"}],\"internalType\":\"structPillarBlock.FinalizationData\",\"name\":\"block\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"finalizedAt\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structPillarBlock.FinalizedBlock\",\"name\":\"finalized\",\"type\":\"tuple\"}],\"name\":\"BlockFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"bridgeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"prevHash\",\"type\":\"bytes32\"}],\"internalType\":\"structPillarBlock.FinalizationData\",\"name\":\"block\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"finalizedAt\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structPillarBlock.FinalizedBlock\",\"name\":\"finalized\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pillarBlockInterval\",\"type\":\"uint256\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"}],\"name\":\"ThresholdChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"name\":\"ValidatorWeightChanged\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"bridgeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"prevHash\",\"type\":\"bytes32\"}],\"internalType\":\"structPillarBlock.FinalizationData\",\"name\":\"block\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"change\",\"type\":\"int32\"}],\"internalType\":\"structPillarBlock.VoteCountChange[]\",\"name\":\"validatorChanges\",\"type\":\"tuple[]\"}],\"internalType\":\"structPillarBlock.WithChanges[]\",\"name\":\"blocks\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"internalType\":\"structCompactSignature[]\",\"name\":\"lastBlockSigs\",\"type\":\"tuple[]\"}],\"name\":\"finalizeBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalized\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"bridgeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"prevHash\",\"type\":\"bytes32\"}],\"internalType\":\"structPillarBlock.FinalizationData\",\"name\":\"block\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"finalizedAt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFinalized\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"bridgeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"prevHash\",\"type\":\"bytes32\"}],\"internalType\":\"structPillarBlock.FinalizationData\",\"name\":\"block\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"finalizedAt\",\"type\":\"uint256\"}],\"internalType\":\"structPillarBlock.FinalizedBlock\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFinalizedBridgeRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"h\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vs\",\"type\":\"bytes32\"}],\"internalType\":\"structCompactSignature[]\",\"name\":\"signatures\",\"type\":\"tuple[]\"}],\"name\":\"getSignaturesWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"bridgeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"prevHash\",\"type\":\"bytes32\"}],\"internalType\":\"structPillarBlock.FinalizationData\",\"name\":\"block\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"change\",\"type\":\"int32\"}],\"internalType\":\"structPillarBlock.VoteCountChange[]\",\"name\":\"validatorChanges\",\"type\":\"tuple[]\"}],\"internalType\":\"structPillarBlock.WithChanges\",\"name\":\"_genesisBlock\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"_threshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_pillarBlockInterval\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pillarBlockInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"change\",\"type\":\"int32\"}],\"internalType\":\"structPillarBlock.VoteCountChange[]\",\"name\":\"validatorChanges\",\"type\":\"tuple[]\"}],\"name\":\"processValidatorChanges\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_threshold\",\"type\":\"uint256\"}],\"name\":\"setThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"threshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"validatorVoteCounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
TaraClientContractInterfaceMetaData contains all meta data concerning the TaraClientContractInterface contract.
Functions ¶
This section is empty.
Types ¶
type CompactSignature ¶
CompactSignature is an auto generated low-level Go binding around an user-defined struct.
type PillarBlockFinalizationData ¶
type PillarBlockFinalizationData struct { Period *big.Int StateRoot [32]byte BridgeRoot [32]byte PrevHash [32]byte }
PillarBlockFinalizationData is an auto generated low-level Go binding around an user-defined struct.
type PillarBlockFinalizedBlock ¶
type PillarBlockFinalizedBlock struct { BlockHash [32]byte Block PillarBlockFinalizationData FinalizedAt *big.Int }
PillarBlockFinalizedBlock is an auto generated low-level Go binding around an user-defined struct.
type PillarBlockVoteCountChange ¶
PillarBlockVoteCountChange is an auto generated low-level Go binding around an user-defined struct.
type PillarBlockWithChanges ¶
type PillarBlockWithChanges struct { Block PillarBlockFinalizationData ValidatorChanges []PillarBlockVoteCountChange }
PillarBlockWithChanges is an auto generated low-level Go binding around an user-defined struct.
type TaraClientContractInterface ¶
type TaraClientContractInterface struct { TaraClientContractInterfaceCaller // Read-only binding to the contract TaraClientContractInterfaceTransactor // Write-only binding to the contract TaraClientContractInterfaceFilterer // Log filterer for contract events }
TaraClientContractInterface is an auto generated Go binding around an Ethereum contract.
func NewTaraClientContractInterface ¶
func NewTaraClientContractInterface(address common.Address, backend bind.ContractBackend) (*TaraClientContractInterface, error)
NewTaraClientContractInterface creates a new instance of TaraClientContractInterface, bound to a specific deployed contract.
type TaraClientContractInterfaceBlockFinalized ¶ added in v0.0.5
type TaraClientContractInterfaceBlockFinalized struct { Finalized PillarBlockFinalizedBlock Raw types.Log // Blockchain specific contextual infos }
TaraClientContractInterfaceBlockFinalized represents a BlockFinalized event raised by the TaraClientContractInterface contract.
type TaraClientContractInterfaceBlockFinalizedIterator ¶ added in v0.0.5
type TaraClientContractInterfaceBlockFinalizedIterator struct { Event *TaraClientContractInterfaceBlockFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaraClientContractInterfaceBlockFinalizedIterator is returned from FilterBlockFinalized and is used to iterate over the raw logs and unpacked data for BlockFinalized events raised by the TaraClientContractInterface contract.
func (*TaraClientContractInterfaceBlockFinalizedIterator) Close ¶ added in v0.0.5
func (it *TaraClientContractInterfaceBlockFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaraClientContractInterfaceBlockFinalizedIterator) Error ¶ added in v0.0.5
func (it *TaraClientContractInterfaceBlockFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaraClientContractInterfaceBlockFinalizedIterator) Next ¶ added in v0.0.5
func (it *TaraClientContractInterfaceBlockFinalizedIterator) 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 TaraClientContractInterfaceCaller ¶
type TaraClientContractInterfaceCaller struct {
// contains filtered or unexported fields
}
TaraClientContractInterfaceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTaraClientContractInterfaceCaller ¶
func NewTaraClientContractInterfaceCaller(address common.Address, caller bind.ContractCaller) (*TaraClientContractInterfaceCaller, error)
NewTaraClientContractInterfaceCaller creates a new read-only instance of TaraClientContractInterface, bound to a specific deployed contract.
func (*TaraClientContractInterfaceCaller) Finalized ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) Finalized(opts *bind.CallOpts) (struct { BlockHash [32]byte Block PillarBlockFinalizationData FinalizedAt *big.Int }, error)
Finalized is a free data retrieval call binding the contract method 0xb3f05b97.
Solidity: function finalized() view returns(bytes32 blockHash, (uint256,bytes32,bytes32,bytes32) block, uint256 finalizedAt)
func (*TaraClientContractInterfaceCaller) GetFinalized ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) GetFinalized(opts *bind.CallOpts) (PillarBlockFinalizedBlock, error)
GetFinalized is a free data retrieval call binding the contract method 0x6b28a5e4.
Solidity: function getFinalized() view returns((bytes32,(uint256,bytes32,bytes32,bytes32),uint256))
func (*TaraClientContractInterfaceCaller) GetFinalizedBridgeRoot ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) GetFinalizedBridgeRoot(opts *bind.CallOpts) ([32]byte, error)
GetFinalizedBridgeRoot is a free data retrieval call binding the contract method 0x5a93a4bb.
Solidity: function getFinalizedBridgeRoot() view returns(bytes32)
func (*TaraClientContractInterfaceCaller) GetSignaturesWeight ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) GetSignaturesWeight(opts *bind.CallOpts, h [32]byte, signatures []CompactSignature) (*big.Int, error)
GetSignaturesWeight is a free data retrieval call binding the contract method 0x97f8e2f0.
Solidity: function getSignaturesWeight(bytes32 h, (bytes32,bytes32)[] signatures) view returns(uint256 weight)
func (*TaraClientContractInterfaceCaller) Owner ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TaraClientContractInterfaceCaller) PillarBlockInterval ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) PillarBlockInterval(opts *bind.CallOpts) (*big.Int, error)
PillarBlockInterval is a free data retrieval call binding the contract method 0x6ed0afdd.
Solidity: function pillarBlockInterval() view returns(uint256)
func (*TaraClientContractInterfaceCaller) Threshold ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) Threshold(opts *bind.CallOpts) (*big.Int, error)
Threshold is a free data retrieval call binding the contract method 0x42cde4e8.
Solidity: function threshold() view returns(uint256)
func (*TaraClientContractInterfaceCaller) TotalWeight ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) TotalWeight(opts *bind.CallOpts) (*big.Int, error)
TotalWeight is a free data retrieval call binding the contract method 0x96c82e57.
Solidity: function totalWeight() view returns(uint256)
func (*TaraClientContractInterfaceCaller) ValidatorVoteCounts ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) ValidatorVoteCounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ValidatorVoteCounts is a free data retrieval call binding the contract method 0x76a6124e.
Solidity: function validatorVoteCounts(address ) view returns(uint256)
type TaraClientContractInterfaceCallerRaw ¶
type TaraClientContractInterfaceCallerRaw struct {
Contract *TaraClientContractInterfaceCaller // Generic read-only contract binding to access the raw methods on
}
TaraClientContractInterfaceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TaraClientContractInterfaceCallerRaw) Call ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerRaw) 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 TaraClientContractInterfaceCallerSession ¶
type TaraClientContractInterfaceCallerSession struct { Contract *TaraClientContractInterfaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TaraClientContractInterfaceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TaraClientContractInterfaceCallerSession) Finalized ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) Finalized() (struct { BlockHash [32]byte Block PillarBlockFinalizationData FinalizedAt *big.Int }, error)
Finalized is a free data retrieval call binding the contract method 0xb3f05b97.
Solidity: function finalized() view returns(bytes32 blockHash, (uint256,bytes32,bytes32,bytes32) block, uint256 finalizedAt)
func (*TaraClientContractInterfaceCallerSession) GetFinalized ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) GetFinalized() (PillarBlockFinalizedBlock, error)
GetFinalized is a free data retrieval call binding the contract method 0x6b28a5e4.
Solidity: function getFinalized() view returns((bytes32,(uint256,bytes32,bytes32,bytes32),uint256))
func (*TaraClientContractInterfaceCallerSession) GetFinalizedBridgeRoot ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) GetFinalizedBridgeRoot() ([32]byte, error)
GetFinalizedBridgeRoot is a free data retrieval call binding the contract method 0x5a93a4bb.
Solidity: function getFinalizedBridgeRoot() view returns(bytes32)
func (*TaraClientContractInterfaceCallerSession) GetSignaturesWeight ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) GetSignaturesWeight(h [32]byte, signatures []CompactSignature) (*big.Int, error)
GetSignaturesWeight is a free data retrieval call binding the contract method 0x97f8e2f0.
Solidity: function getSignaturesWeight(bytes32 h, (bytes32,bytes32)[] signatures) view returns(uint256 weight)
func (*TaraClientContractInterfaceCallerSession) Owner ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TaraClientContractInterfaceCallerSession) PillarBlockInterval ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) PillarBlockInterval() (*big.Int, error)
PillarBlockInterval is a free data retrieval call binding the contract method 0x6ed0afdd.
Solidity: function pillarBlockInterval() view returns(uint256)
func (*TaraClientContractInterfaceCallerSession) Threshold ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) Threshold() (*big.Int, error)
Threshold is a free data retrieval call binding the contract method 0x42cde4e8.
Solidity: function threshold() view returns(uint256)
func (*TaraClientContractInterfaceCallerSession) TotalWeight ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) TotalWeight() (*big.Int, error)
TotalWeight is a free data retrieval call binding the contract method 0x96c82e57.
Solidity: function totalWeight() view returns(uint256)
func (*TaraClientContractInterfaceCallerSession) ValidatorVoteCounts ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) ValidatorVoteCounts(arg0 common.Address) (*big.Int, error)
ValidatorVoteCounts is a free data retrieval call binding the contract method 0x76a6124e.
Solidity: function validatorVoteCounts(address ) view returns(uint256)
type TaraClientContractInterfaceFilterer ¶
type TaraClientContractInterfaceFilterer struct {
// contains filtered or unexported fields
}
TaraClientContractInterfaceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTaraClientContractInterfaceFilterer ¶
func NewTaraClientContractInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*TaraClientContractInterfaceFilterer, error)
NewTaraClientContractInterfaceFilterer creates a new log filterer instance of TaraClientContractInterface, bound to a specific deployed contract.
func (*TaraClientContractInterfaceFilterer) FilterBlockFinalized ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterBlockFinalized(opts *bind.FilterOpts) (*TaraClientContractInterfaceBlockFinalizedIterator, error)
FilterBlockFinalized is a free log retrieval operation binding the contract event 0xfe3488e1f4169f43b6b09a6d3e43e05d5d4932a5baf9d378b4aac9550939c44b.
Solidity: event BlockFinalized((bytes32,(uint256,bytes32,bytes32,bytes32),uint256) finalized)
func (*TaraClientContractInterfaceFilterer) FilterInitialized ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaraClientContractInterfaceInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xf0346312461655e1e875f94ee2e889cdc8d81b6505fa4f63e07f7b7974888d5c.
Solidity: event Initialized((bytes32,(uint256,bytes32,bytes32,bytes32),uint256) finalized, uint256 threshold, uint256 pillarBlockInterval)
func (*TaraClientContractInterfaceFilterer) FilterInitialized0 ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterInitialized0(opts *bind.FilterOpts) (*TaraClientContractInterfaceInitialized0Iterator, error)
FilterInitialized0 is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TaraClientContractInterfaceFilterer) FilterOwnershipTransferred ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaraClientContractInterfaceOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TaraClientContractInterfaceFilterer) FilterThresholdChanged ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterThresholdChanged(opts *bind.FilterOpts) (*TaraClientContractInterfaceThresholdChangedIterator, error)
FilterThresholdChanged is a free log retrieval operation binding the contract event 0x6c4ce60fd690e1216286a10b875c5662555f10774484e58142cedd7a90781baa.
Solidity: event ThresholdChanged(uint256 threshold)
func (*TaraClientContractInterfaceFilterer) FilterValidatorWeightChanged ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) FilterValidatorWeightChanged(opts *bind.FilterOpts, validator []common.Address) (*TaraClientContractInterfaceValidatorWeightChangedIterator, error)
FilterValidatorWeightChanged is a free log retrieval operation binding the contract event 0xe3490611629a41809c531d61c4adf71d3e682bfe292318e23f7227f1570d921b.
Solidity: event ValidatorWeightChanged(address indexed validator, uint256 weight)
func (*TaraClientContractInterfaceFilterer) ParseBlockFinalized ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseBlockFinalized(log types.Log) (*TaraClientContractInterfaceBlockFinalized, error)
ParseBlockFinalized is a log parse operation binding the contract event 0xfe3488e1f4169f43b6b09a6d3e43e05d5d4932a5baf9d378b4aac9550939c44b.
Solidity: event BlockFinalized((bytes32,(uint256,bytes32,bytes32,bytes32),uint256) finalized)
func (*TaraClientContractInterfaceFilterer) ParseInitialized ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseInitialized(log types.Log) (*TaraClientContractInterfaceInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xf0346312461655e1e875f94ee2e889cdc8d81b6505fa4f63e07f7b7974888d5c.
Solidity: event Initialized((bytes32,(uint256,bytes32,bytes32,bytes32),uint256) finalized, uint256 threshold, uint256 pillarBlockInterval)
func (*TaraClientContractInterfaceFilterer) ParseInitialized0 ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseInitialized0(log types.Log) (*TaraClientContractInterfaceInitialized0, error)
ParseInitialized0 is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TaraClientContractInterfaceFilterer) ParseOwnershipTransferred ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseOwnershipTransferred(log types.Log) (*TaraClientContractInterfaceOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TaraClientContractInterfaceFilterer) ParseThresholdChanged ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseThresholdChanged(log types.Log) (*TaraClientContractInterfaceThresholdChanged, error)
ParseThresholdChanged is a log parse operation binding the contract event 0x6c4ce60fd690e1216286a10b875c5662555f10774484e58142cedd7a90781baa.
Solidity: event ThresholdChanged(uint256 threshold)
func (*TaraClientContractInterfaceFilterer) ParseValidatorWeightChanged ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) ParseValidatorWeightChanged(log types.Log) (*TaraClientContractInterfaceValidatorWeightChanged, error)
ParseValidatorWeightChanged is a log parse operation binding the contract event 0xe3490611629a41809c531d61c4adf71d3e682bfe292318e23f7227f1570d921b.
Solidity: event ValidatorWeightChanged(address indexed validator, uint256 weight)
func (*TaraClientContractInterfaceFilterer) WatchBlockFinalized ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchBlockFinalized(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceBlockFinalized) (event.Subscription, error)
WatchBlockFinalized is a free log subscription operation binding the contract event 0xfe3488e1f4169f43b6b09a6d3e43e05d5d4932a5baf9d378b4aac9550939c44b.
Solidity: event BlockFinalized((bytes32,(uint256,bytes32,bytes32,bytes32),uint256) finalized)
func (*TaraClientContractInterfaceFilterer) WatchInitialized ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xf0346312461655e1e875f94ee2e889cdc8d81b6505fa4f63e07f7b7974888d5c.
Solidity: event Initialized((bytes32,(uint256,bytes32,bytes32,bytes32),uint256) finalized, uint256 threshold, uint256 pillarBlockInterval)
func (*TaraClientContractInterfaceFilterer) WatchInitialized0 ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchInitialized0(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceInitialized0) (event.Subscription, error)
WatchInitialized0 is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*TaraClientContractInterfaceFilterer) WatchOwnershipTransferred ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TaraClientContractInterfaceFilterer) WatchThresholdChanged ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchThresholdChanged(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceThresholdChanged) (event.Subscription, error)
WatchThresholdChanged is a free log subscription operation binding the contract event 0x6c4ce60fd690e1216286a10b875c5662555f10774484e58142cedd7a90781baa.
Solidity: event ThresholdChanged(uint256 threshold)
func (*TaraClientContractInterfaceFilterer) WatchValidatorWeightChanged ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceFilterer) WatchValidatorWeightChanged(opts *bind.WatchOpts, sink chan<- *TaraClientContractInterfaceValidatorWeightChanged, validator []common.Address) (event.Subscription, error)
WatchValidatorWeightChanged is a free log subscription operation binding the contract event 0xe3490611629a41809c531d61c4adf71d3e682bfe292318e23f7227f1570d921b.
Solidity: event ValidatorWeightChanged(address indexed validator, uint256 weight)
type TaraClientContractInterfaceInitialized ¶ added in v0.0.5
type TaraClientContractInterfaceInitialized struct { Finalized PillarBlockFinalizedBlock Threshold *big.Int PillarBlockInterval *big.Int Raw types.Log // Blockchain specific contextual infos }
TaraClientContractInterfaceInitialized represents a Initialized event raised by the TaraClientContractInterface contract.
type TaraClientContractInterfaceInitialized0 ¶ added in v0.0.5
type TaraClientContractInterfaceInitialized0 struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
TaraClientContractInterfaceInitialized0 represents a Initialized0 event raised by the TaraClientContractInterface contract.
type TaraClientContractInterfaceInitialized0Iterator ¶ added in v0.0.5
type TaraClientContractInterfaceInitialized0Iterator struct { Event *TaraClientContractInterfaceInitialized0 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaraClientContractInterfaceInitialized0Iterator is returned from FilterInitialized0 and is used to iterate over the raw logs and unpacked data for Initialized0 events raised by the TaraClientContractInterface contract.
func (*TaraClientContractInterfaceInitialized0Iterator) Close ¶ added in v0.0.5
func (it *TaraClientContractInterfaceInitialized0Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaraClientContractInterfaceInitialized0Iterator) Error ¶ added in v0.0.5
func (it *TaraClientContractInterfaceInitialized0Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaraClientContractInterfaceInitialized0Iterator) Next ¶ added in v0.0.5
func (it *TaraClientContractInterfaceInitialized0Iterator) 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 TaraClientContractInterfaceInitializedIterator ¶ added in v0.0.5
type TaraClientContractInterfaceInitializedIterator struct { Event *TaraClientContractInterfaceInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaraClientContractInterfaceInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the TaraClientContractInterface contract.
func (*TaraClientContractInterfaceInitializedIterator) Close ¶ added in v0.0.5
func (it *TaraClientContractInterfaceInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaraClientContractInterfaceInitializedIterator) Error ¶ added in v0.0.5
func (it *TaraClientContractInterfaceInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaraClientContractInterfaceInitializedIterator) Next ¶ added in v0.0.5
func (it *TaraClientContractInterfaceInitializedIterator) 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 TaraClientContractInterfaceOwnershipTransferred ¶ added in v0.0.5
type TaraClientContractInterfaceOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TaraClientContractInterfaceOwnershipTransferred represents a OwnershipTransferred event raised by the TaraClientContractInterface contract.
type TaraClientContractInterfaceOwnershipTransferredIterator ¶ added in v0.0.5
type TaraClientContractInterfaceOwnershipTransferredIterator struct { Event *TaraClientContractInterfaceOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaraClientContractInterfaceOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TaraClientContractInterface contract.
func (*TaraClientContractInterfaceOwnershipTransferredIterator) Close ¶ added in v0.0.5
func (it *TaraClientContractInterfaceOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaraClientContractInterfaceOwnershipTransferredIterator) Error ¶ added in v0.0.5
func (it *TaraClientContractInterfaceOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaraClientContractInterfaceOwnershipTransferredIterator) Next ¶ added in v0.0.5
func (it *TaraClientContractInterfaceOwnershipTransferredIterator) 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 TaraClientContractInterfaceRaw ¶
type TaraClientContractInterfaceRaw struct {
Contract *TaraClientContractInterface // Generic contract binding to access the raw methods on
}
TaraClientContractInterfaceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TaraClientContractInterfaceRaw) Call ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceRaw) 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 (*TaraClientContractInterfaceRaw) Transact ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TaraClientContractInterfaceRaw) Transfer ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceRaw) 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 TaraClientContractInterfaceSession ¶
type TaraClientContractInterfaceSession struct { Contract *TaraClientContractInterface // 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 }
TaraClientContractInterfaceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TaraClientContractInterfaceSession) FinalizeBlocks ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) FinalizeBlocks(blocks []PillarBlockWithChanges, lastBlockSigs []CompactSignature) (*types.Transaction, error)
FinalizeBlocks is a paid mutator transaction binding the contract method 0x508a0785.
Solidity: function finalizeBlocks(((uint256,bytes32,bytes32,bytes32),(address,int32)[])[] blocks, (bytes32,bytes32)[] lastBlockSigs) returns()
func (*TaraClientContractInterfaceSession) Finalized ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Finalized() (struct { BlockHash [32]byte Block PillarBlockFinalizationData FinalizedAt *big.Int }, error)
Finalized is a free data retrieval call binding the contract method 0xb3f05b97.
Solidity: function finalized() view returns(bytes32 blockHash, (uint256,bytes32,bytes32,bytes32) block, uint256 finalizedAt)
func (*TaraClientContractInterfaceSession) GetFinalized ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) GetFinalized() (PillarBlockFinalizedBlock, error)
GetFinalized is a free data retrieval call binding the contract method 0x6b28a5e4.
Solidity: function getFinalized() view returns((bytes32,(uint256,bytes32,bytes32,bytes32),uint256))
func (*TaraClientContractInterfaceSession) GetFinalizedBridgeRoot ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) GetFinalizedBridgeRoot() ([32]byte, error)
GetFinalizedBridgeRoot is a free data retrieval call binding the contract method 0x5a93a4bb.
Solidity: function getFinalizedBridgeRoot() view returns(bytes32)
func (*TaraClientContractInterfaceSession) GetSignaturesWeight ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) GetSignaturesWeight(h [32]byte, signatures []CompactSignature) (*big.Int, error)
GetSignaturesWeight is a free data retrieval call binding the contract method 0x97f8e2f0.
Solidity: function getSignaturesWeight(bytes32 h, (bytes32,bytes32)[] signatures) view returns(uint256 weight)
func (*TaraClientContractInterfaceSession) Initialize ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Initialize(_genesisBlock PillarBlockWithChanges, _threshold *big.Int, _pillarBlockInterval *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcb6a809a.
Solidity: function initialize(((uint256,bytes32,bytes32,bytes32),(address,int32)[]) _genesisBlock, uint256 _threshold, uint256 _pillarBlockInterval) returns()
func (*TaraClientContractInterfaceSession) Owner ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TaraClientContractInterfaceSession) PillarBlockInterval ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) PillarBlockInterval() (*big.Int, error)
PillarBlockInterval is a free data retrieval call binding the contract method 0x6ed0afdd.
Solidity: function pillarBlockInterval() view returns(uint256)
func (*TaraClientContractInterfaceSession) ProcessValidatorChanges ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) ProcessValidatorChanges(validatorChanges []PillarBlockVoteCountChange) (*types.Transaction, error)
ProcessValidatorChanges is a paid mutator transaction binding the contract method 0x8e3aa66d.
Solidity: function processValidatorChanges((address,int32)[] validatorChanges) returns()
func (*TaraClientContractInterfaceSession) RenounceOwnership ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TaraClientContractInterfaceSession) SetThreshold ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) SetThreshold(_threshold *big.Int) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0x960bfe04.
Solidity: function setThreshold(uint256 _threshold) returns()
func (*TaraClientContractInterfaceSession) Threshold ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) Threshold() (*big.Int, error)
Threshold is a free data retrieval call binding the contract method 0x42cde4e8.
Solidity: function threshold() view returns(uint256)
func (*TaraClientContractInterfaceSession) TotalWeight ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) TotalWeight() (*big.Int, error)
TotalWeight is a free data retrieval call binding the contract method 0x96c82e57.
Solidity: function totalWeight() view returns(uint256)
func (*TaraClientContractInterfaceSession) TransferOwnership ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*TaraClientContractInterfaceSession) ValidatorVoteCounts ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceSession) ValidatorVoteCounts(arg0 common.Address) (*big.Int, error)
ValidatorVoteCounts is a free data retrieval call binding the contract method 0x76a6124e.
Solidity: function validatorVoteCounts(address ) view returns(uint256)
type TaraClientContractInterfaceThresholdChanged ¶ added in v0.0.5
type TaraClientContractInterfaceThresholdChanged struct { Threshold *big.Int Raw types.Log // Blockchain specific contextual infos }
TaraClientContractInterfaceThresholdChanged represents a ThresholdChanged event raised by the TaraClientContractInterface contract.
type TaraClientContractInterfaceThresholdChangedIterator ¶ added in v0.0.5
type TaraClientContractInterfaceThresholdChangedIterator struct { Event *TaraClientContractInterfaceThresholdChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaraClientContractInterfaceThresholdChangedIterator is returned from FilterThresholdChanged and is used to iterate over the raw logs and unpacked data for ThresholdChanged events raised by the TaraClientContractInterface contract.
func (*TaraClientContractInterfaceThresholdChangedIterator) Close ¶ added in v0.0.5
func (it *TaraClientContractInterfaceThresholdChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaraClientContractInterfaceThresholdChangedIterator) Error ¶ added in v0.0.5
func (it *TaraClientContractInterfaceThresholdChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaraClientContractInterfaceThresholdChangedIterator) Next ¶ added in v0.0.5
func (it *TaraClientContractInterfaceThresholdChangedIterator) 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 TaraClientContractInterfaceTransactor ¶
type TaraClientContractInterfaceTransactor struct {
// contains filtered or unexported fields
}
TaraClientContractInterfaceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTaraClientContractInterfaceTransactor ¶
func NewTaraClientContractInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*TaraClientContractInterfaceTransactor, error)
NewTaraClientContractInterfaceTransactor creates a new write-only instance of TaraClientContractInterface, bound to a specific deployed contract.
func (*TaraClientContractInterfaceTransactor) FinalizeBlocks ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) FinalizeBlocks(opts *bind.TransactOpts, blocks []PillarBlockWithChanges, lastBlockSigs []CompactSignature) (*types.Transaction, error)
FinalizeBlocks is a paid mutator transaction binding the contract method 0x508a0785.
Solidity: function finalizeBlocks(((uint256,bytes32,bytes32,bytes32),(address,int32)[])[] blocks, (bytes32,bytes32)[] lastBlockSigs) returns()
func (*TaraClientContractInterfaceTransactor) Initialize ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) Initialize(opts *bind.TransactOpts, _genesisBlock PillarBlockWithChanges, _threshold *big.Int, _pillarBlockInterval *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcb6a809a.
Solidity: function initialize(((uint256,bytes32,bytes32,bytes32),(address,int32)[]) _genesisBlock, uint256 _threshold, uint256 _pillarBlockInterval) returns()
func (*TaraClientContractInterfaceTransactor) ProcessValidatorChanges ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) ProcessValidatorChanges(opts *bind.TransactOpts, validatorChanges []PillarBlockVoteCountChange) (*types.Transaction, error)
ProcessValidatorChanges is a paid mutator transaction binding the contract method 0x8e3aa66d.
Solidity: function processValidatorChanges((address,int32)[] validatorChanges) returns()
func (*TaraClientContractInterfaceTransactor) RenounceOwnership ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TaraClientContractInterfaceTransactor) SetThreshold ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) SetThreshold(opts *bind.TransactOpts, _threshold *big.Int) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0x960bfe04.
Solidity: function setThreshold(uint256 _threshold) returns()
func (*TaraClientContractInterfaceTransactor) TransferOwnership ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type TaraClientContractInterfaceTransactorRaw ¶
type TaraClientContractInterfaceTransactorRaw struct {
Contract *TaraClientContractInterfaceTransactor // Generic write-only contract binding to access the raw methods on
}
TaraClientContractInterfaceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TaraClientContractInterfaceTransactorRaw) Transact ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TaraClientContractInterfaceTransactorRaw) Transfer ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorRaw) 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 TaraClientContractInterfaceTransactorSession ¶
type TaraClientContractInterfaceTransactorSession struct { Contract *TaraClientContractInterfaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TaraClientContractInterfaceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TaraClientContractInterfaceTransactorSession) FinalizeBlocks ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) FinalizeBlocks(blocks []PillarBlockWithChanges, lastBlockSigs []CompactSignature) (*types.Transaction, error)
FinalizeBlocks is a paid mutator transaction binding the contract method 0x508a0785.
Solidity: function finalizeBlocks(((uint256,bytes32,bytes32,bytes32),(address,int32)[])[] blocks, (bytes32,bytes32)[] lastBlockSigs) returns()
func (*TaraClientContractInterfaceTransactorSession) Initialize ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) Initialize(_genesisBlock PillarBlockWithChanges, _threshold *big.Int, _pillarBlockInterval *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcb6a809a.
Solidity: function initialize(((uint256,bytes32,bytes32,bytes32),(address,int32)[]) _genesisBlock, uint256 _threshold, uint256 _pillarBlockInterval) returns()
func (*TaraClientContractInterfaceTransactorSession) ProcessValidatorChanges ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) ProcessValidatorChanges(validatorChanges []PillarBlockVoteCountChange) (*types.Transaction, error)
ProcessValidatorChanges is a paid mutator transaction binding the contract method 0x8e3aa66d.
Solidity: function processValidatorChanges((address,int32)[] validatorChanges) returns()
func (*TaraClientContractInterfaceTransactorSession) RenounceOwnership ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TaraClientContractInterfaceTransactorSession) SetThreshold ¶
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) SetThreshold(_threshold *big.Int) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0x960bfe04.
Solidity: function setThreshold(uint256 _threshold) returns()
func (*TaraClientContractInterfaceTransactorSession) TransferOwnership ¶ added in v0.0.5
func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type TaraClientContractInterfaceValidatorWeightChanged ¶ added in v0.0.5
type TaraClientContractInterfaceValidatorWeightChanged struct { Validator common.Address Weight *big.Int Raw types.Log // Blockchain specific contextual infos }
TaraClientContractInterfaceValidatorWeightChanged represents a ValidatorWeightChanged event raised by the TaraClientContractInterface contract.
type TaraClientContractInterfaceValidatorWeightChangedIterator ¶ added in v0.0.5
type TaraClientContractInterfaceValidatorWeightChangedIterator struct { Event *TaraClientContractInterfaceValidatorWeightChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaraClientContractInterfaceValidatorWeightChangedIterator is returned from FilterValidatorWeightChanged and is used to iterate over the raw logs and unpacked data for ValidatorWeightChanged events raised by the TaraClientContractInterface contract.
func (*TaraClientContractInterfaceValidatorWeightChangedIterator) Close ¶ added in v0.0.5
func (it *TaraClientContractInterfaceValidatorWeightChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaraClientContractInterfaceValidatorWeightChangedIterator) Error ¶ added in v0.0.5
func (it *TaraClientContractInterfaceValidatorWeightChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaraClientContractInterfaceValidatorWeightChangedIterator) Next ¶ added in v0.0.5
func (it *TaraClientContractInterfaceValidatorWeightChangedIterator) 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.