tara_client_contract_interface

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TaraClientContractInterfaceABI = TaraClientContractInterfaceMetaData.ABI

TaraClientContractInterfaceABI is the input ABI used to generate the binding from. Deprecated: Use TaraClientContractInterfaceMetaData.ABI instead.

View Source
var TaraClientContractInterfaceMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalizeBlocks\",\"inputs\":[{\"name\":\"blocks\",\"type\":\"tuple[]\",\"internalType\":\"structPillarBlock.WithChanges[]\",\"components\":[{\"name\":\"block\",\"type\":\"tuple\",\"internalType\":\"structPillarBlock.FinalizationData\",\"components\":[{\"name\":\"period\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"prevHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"bridgeRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"epoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"validatorChanges\",\"type\":\"tuple[]\",\"internalType\":\"structPillarBlock.VoteCountChange[]\",\"components\":[{\"name\":\"validator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"change\",\"type\":\"int32\",\"internalType\":\"int32\"}]}]},{\"name\":\"lastBlockSigs\",\"type\":\"tuple[]\",\"internalType\":\"structCompactSignature[]\",\"components\":[{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"vs\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"finalized\",\"inputs\":[],\"outputs\":[{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"block\",\"type\":\"tuple\",\"internalType\":\"structPillarBlock.FinalizationData\",\"components\":[{\"name\":\"period\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"prevHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"bridgeRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"epoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"finalizedAt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"finalizedBridgeRoots\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getFinalized\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structPillarBlock.FinalizedBlock\",\"components\":[{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"block\",\"type\":\"tuple\",\"internalType\":\"structPillarBlock.FinalizationData\",\"components\":[{\"name\":\"period\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"prevHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"bridgeRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"epoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"finalizedAt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getFinalizedBridgeRoot\",\"inputs\":[{\"name\":\"epoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getSignaturesWeight\",\"inputs\":[{\"name\":\"h\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"signatures\",\"type\":\"tuple[]\",\"internalType\":\"structCompactSignature[]\",\"components\":[{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"vs\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"outputs\":[{\"name\":\"weight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_threshold\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_pillarBlockInterval\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pillarBlockInterval\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setThreshold\",\"inputs\":[{\"name\":\"_threshold\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"threshold\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalWeight\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"validatorVoteCounts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"BlockFinalized\",\"inputs\":[{\"name\":\"finalized\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structPillarBlock.FinalizedBlock\",\"components\":[{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"block\",\"type\":\"tuple\",\"internalType\":\"structPillarBlock.FinalizationData\",\"components\":[{\"name\":\"period\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"prevHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"bridgeRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"epoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"finalizedAt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ThresholdChanged\",\"inputs\":[{\"name\":\"threshold\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ValidatorWeightChanged\",\"inputs\":[{\"name\":\"validator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"weight\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ECDSAInvalidSignature\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ECDSAInvalidSignatureLength\",\"inputs\":[{\"name\":\"length\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ECDSAInvalidSignatureS\",\"inputs\":[{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"HashesNotMatching\",\"inputs\":[{\"name\":\"expected\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"actual\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"InvalidBlockInterval\",\"inputs\":[{\"name\":\"expected\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"actual\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ThresholdNotMet\",\"inputs\":[{\"name\":\"threshold\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"weight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}]",
}

TaraClientContractInterfaceMetaData contains all meta data concerning the TaraClientContractInterface contract.

Functions

This section is empty.

Types

type CompactSignature

type CompactSignature struct {
	R  [32]byte
	Vs [32]byte
}

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
	PrevHash   [32]byte
	BridgeRoot [32]byte
	Epoch      *big.Int
}

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

type PillarBlockVoteCountChange struct {
	Validator common.Address
	Change    int32
}

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

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

func (*TaraClientContractInterfaceBlockFinalizedIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*TaraClientContractInterfaceBlockFinalizedIterator) Next added in v0.0.5

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,uint256) block, uint256 finalizedAt)

func (*TaraClientContractInterfaceCaller) FinalizedBridgeRoots added in v0.0.9

func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) FinalizedBridgeRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

FinalizedBridgeRoots is a free data retrieval call binding the contract method 0x93ea1203.

Solidity: function finalizedBridgeRoots(uint256 ) view returns(bytes32)

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),uint256))

func (*TaraClientContractInterfaceCaller) GetFinalizedBridgeRoot

func (_TaraClientContractInterface *TaraClientContractInterfaceCaller) GetFinalizedBridgeRoot(opts *bind.CallOpts, epoch *big.Int) ([32]byte, error)

GetFinalizedBridgeRoot is a free data retrieval call binding the contract method 0xaa2bb43d.

Solidity: function getFinalizedBridgeRoot(uint256 epoch) 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,uint256) block, uint256 finalizedAt)

func (*TaraClientContractInterfaceCallerSession) FinalizedBridgeRoots added in v0.0.9

func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) FinalizedBridgeRoots(arg0 *big.Int) ([32]byte, error)

FinalizedBridgeRoots is a free data retrieval call binding the contract method 0x93ea1203.

Solidity: function finalizedBridgeRoots(uint256 ) view returns(bytes32)

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),uint256))

func (*TaraClientContractInterfaceCallerSession) GetFinalizedBridgeRoot

func (_TaraClientContractInterface *TaraClientContractInterfaceCallerSession) GetFinalizedBridgeRoot(epoch *big.Int) ([32]byte, error)

GetFinalizedBridgeRoot is a free data retrieval call binding the contract method 0xaa2bb43d.

Solidity: function getFinalizedBridgeRoot(uint256 epoch) 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 0xc3af94e02b408059c0f32325f41a0d0384b419789b788f11d9d3ec59fb55cd45.

Solidity: event BlockFinalized((bytes32,(uint256,bytes32,bytes32,bytes32,uint256),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 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 0xc3af94e02b408059c0f32325f41a0d0384b419789b788f11d9d3ec59fb55cd45.

Solidity: event BlockFinalized((bytes32,(uint256,bytes32,bytes32,bytes32,uint256),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 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 0xc3af94e02b408059c0f32325f41a0d0384b419789b788f11d9d3ec59fb55cd45.

Solidity: event BlockFinalized((bytes32,(uint256,bytes32,bytes32,bytes32,uint256),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 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 {
	Version uint64
	Raw     types.Log // Blockchain specific contextual infos
}

TaraClientContractInterfaceInitialized represents a Initialized event raised by the TaraClientContractInterface contract.

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

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

func (*TaraClientContractInterfaceInitializedIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*TaraClientContractInterfaceInitializedIterator) Next added in v0.0.5

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

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

func (*TaraClientContractInterfaceOwnershipTransferredIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*TaraClientContractInterfaceOwnershipTransferredIterator) Next added in v0.0.5

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 0x5d0d5734.

Solidity: function finalizeBlocks(((uint256,bytes32,bytes32,bytes32,uint256),(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,uint256) block, uint256 finalizedAt)

func (*TaraClientContractInterfaceSession) FinalizedBridgeRoots added in v0.0.9

func (_TaraClientContractInterface *TaraClientContractInterfaceSession) FinalizedBridgeRoots(arg0 *big.Int) ([32]byte, error)

FinalizedBridgeRoots is a free data retrieval call binding the contract method 0x93ea1203.

Solidity: function finalizedBridgeRoots(uint256 ) view returns(bytes32)

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),uint256))

func (*TaraClientContractInterfaceSession) GetFinalizedBridgeRoot

func (_TaraClientContractInterface *TaraClientContractInterfaceSession) GetFinalizedBridgeRoot(epoch *big.Int) ([32]byte, error)

GetFinalizedBridgeRoot is a free data retrieval call binding the contract method 0xaa2bb43d.

Solidity: function getFinalizedBridgeRoot(uint256 epoch) 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(_threshold *big.Int, _pillarBlockInterval *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe4a30116.

Solidity: function initialize(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) 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

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

func (*TaraClientContractInterfaceThresholdChangedIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*TaraClientContractInterfaceThresholdChangedIterator) Next added in v0.0.5

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 0x5d0d5734.

Solidity: function finalizeBlocks(((uint256,bytes32,bytes32,bytes32,uint256),(address,int32)[])[] blocks, (bytes32,bytes32)[] lastBlockSigs) returns()

func (*TaraClientContractInterfaceTransactor) Initialize added in v0.0.5

func (_TaraClientContractInterface *TaraClientContractInterfaceTransactor) Initialize(opts *bind.TransactOpts, _threshold *big.Int, _pillarBlockInterval *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe4a30116.

Solidity: function initialize(uint256 _threshold, uint256 _pillarBlockInterval) 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 0x5d0d5734.

Solidity: function finalizeBlocks(((uint256,bytes32,bytes32,bytes32,uint256),(address,int32)[])[] blocks, (bytes32,bytes32)[] lastBlockSigs) returns()

func (*TaraClientContractInterfaceTransactorSession) Initialize added in v0.0.5

func (_TaraClientContractInterface *TaraClientContractInterfaceTransactorSession) Initialize(_threshold *big.Int, _pillarBlockInterval *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe4a30116.

Solidity: function initialize(uint256 _threshold, uint256 _pillarBlockInterval) 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

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

func (*TaraClientContractInterfaceValidatorWeightChangedIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*TaraClientContractInterfaceValidatorWeightChangedIterator) Next added in v0.0.5

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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