Versions in this module Expand all Collapse all v0 v0.5.0 Jun 23, 2023 v0.4.0 Jun 22, 2023 v0.3.0 Jun 22, 2023 v0.2.0 Jun 22, 2023 Changes in this version + var DKGABI = DKGMetaData.ABI + var DKGBin = DKGMetaData.Bin + var DKGMetaData = &bind.MetaData + type DKG struct + func DeployDKG(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *DKG, error) + func NewDKG(address common.Address, backend bind.ContractBackend) (*DKG, error) + func (_DKG *DKG) Address() common.Address + func (_DKG *DKG) ParseLog(log types.Log) (generated.AbigenLog, error) + type DKGCaller struct + func NewDKGCaller(address common.Address, caller bind.ContractCaller) (*DKGCaller, error) + func (_DKG *DKGCaller) AddressToString(opts *bind.CallOpts, a common.Address) (string, error) + func (_DKG *DKGCaller) Bytes32ToString(opts *bind.CallOpts, s [32]byte) (string, error) + func (_DKG *DKGCaller) BytesToString(opts *bind.CallOpts, _bytes []byte) (string, error) + func (_DKG *DKGCaller) GetKey(opts *bind.CallOpts, _keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error) + func (_DKG *DKGCaller) LatestConfigDetails(opts *bind.CallOpts) (LatestConfigDetails, error) + func (_DKG *DKGCaller) LatestConfigDigestAndEpoch(opts *bind.CallOpts) (LatestConfigDigestAndEpoch, error) + func (_DKG *DKGCaller) Owner(opts *bind.CallOpts) (common.Address, error) + func (_DKG *DKGCaller) ToASCII(opts *bind.CallOpts, _uint8 uint8) (uint8, error) + func (_DKG *DKGCaller) TypeAndVersion(opts *bind.CallOpts) (string, error) + type DKGCallerRaw struct + Contract *DKGCaller + func (_DKG *DKGCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type DKGCallerSession struct + CallOpts bind.CallOpts + Contract *DKGCaller + func (_DKG *DKGCallerSession) AddressToString(a common.Address) (string, error) + func (_DKG *DKGCallerSession) Bytes32ToString(s [32]byte) (string, error) + func (_DKG *DKGCallerSession) BytesToString(_bytes []byte) (string, error) + func (_DKG *DKGCallerSession) GetKey(_keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error) + func (_DKG *DKGCallerSession) LatestConfigDetails() (LatestConfigDetails, error) + func (_DKG *DKGCallerSession) LatestConfigDigestAndEpoch() (LatestConfigDigestAndEpoch, error) + func (_DKG *DKGCallerSession) Owner() (common.Address, error) + func (_DKG *DKGCallerSession) ToASCII(_uint8 uint8) (uint8, error) + func (_DKG *DKGCallerSession) TypeAndVersion() (string, error) + type DKGConfigSet struct + ConfigCount uint64 + ConfigDigest [32]byte + F uint8 + OffchainConfig []byte + OffchainConfigVersion uint64 + OnchainConfig []byte + PreviousConfigBlockNumber uint32 + Raw types.Log + Signers []common.Address + Transmitters []common.Address + func (DKGConfigSet) Topic() common.Hash + type DKGConfigSetIterator struct + Event *DKGConfigSet + func (it *DKGConfigSetIterator) Close() error + func (it *DKGConfigSetIterator) Error() error + func (it *DKGConfigSetIterator) Next() bool + type DKGDKGClientError struct + Client common.Address + ErrorData []byte + Raw types.Log + func (DKGDKGClientError) Topic() common.Hash + type DKGDKGClientErrorIterator struct + Event *DKGDKGClientError + func (it *DKGDKGClientErrorIterator) Close() error + func (it *DKGDKGClientErrorIterator) Error() error + func (it *DKGDKGClientErrorIterator) Next() bool + type DKGFilterer struct + func NewDKGFilterer(address common.Address, filterer bind.ContractFilterer) (*DKGFilterer, error) + func (_DKG *DKGFilterer) FilterConfigSet(opts *bind.FilterOpts) (*DKGConfigSetIterator, error) + func (_DKG *DKGFilterer) FilterDKGClientError(opts *bind.FilterOpts) (*DKGDKGClientErrorIterator, error) + func (_DKG *DKGFilterer) FilterKeyGenerated(opts *bind.FilterOpts, configDigest [][32]byte, keyID [][32]byte) (*DKGKeyGeneratedIterator, error) + func (_DKG *DKGFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferRequestedIterator, error) + func (_DKG *DKGFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferredIterator, error) + func (_DKG *DKGFilterer) FilterTransmitted(opts *bind.FilterOpts) (*DKGTransmittedIterator, error) + func (_DKG *DKGFilterer) ParseConfigSet(log types.Log) (*DKGConfigSet, error) + func (_DKG *DKGFilterer) ParseDKGClientError(log types.Log) (*DKGDKGClientError, error) + func (_DKG *DKGFilterer) ParseKeyGenerated(log types.Log) (*DKGKeyGenerated, error) + func (_DKG *DKGFilterer) ParseOwnershipTransferRequested(log types.Log) (*DKGOwnershipTransferRequested, error) + func (_DKG *DKGFilterer) ParseOwnershipTransferred(log types.Log) (*DKGOwnershipTransferred, error) + func (_DKG *DKGFilterer) ParseTransmitted(log types.Log) (*DKGTransmitted, error) + func (_DKG *DKGFilterer) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *DKGConfigSet) (event.Subscription, error) + func (_DKG *DKGFilterer) WatchDKGClientError(opts *bind.WatchOpts, sink chan<- *DKGDKGClientError) (event.Subscription, error) + func (_DKG *DKGFilterer) WatchKeyGenerated(opts *bind.WatchOpts, sink chan<- *DKGKeyGenerated, configDigest [][32]byte, ...) (event.Subscription, error) + func (_DKG *DKGFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferRequested, ...) (event.Subscription, error) + func (_DKG *DKGFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferred, ...) (event.Subscription, error) + func (_DKG *DKGFilterer) WatchTransmitted(opts *bind.WatchOpts, sink chan<- *DKGTransmitted) (event.Subscription, error) + type DKGInterface interface + AcceptOwnership func(opts *bind.TransactOpts) (*types.Transaction, error) + AddClient func(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + Address func() common.Address + AddressToString func(opts *bind.CallOpts, a common.Address) (string, error) + Bytes32ToString func(opts *bind.CallOpts, s [32]byte) (string, error) + BytesToString func(opts *bind.CallOpts, _bytes []byte) (string, error) + FilterConfigSet func(opts *bind.FilterOpts) (*DKGConfigSetIterator, error) + FilterDKGClientError func(opts *bind.FilterOpts) (*DKGDKGClientErrorIterator, error) + FilterKeyGenerated func(opts *bind.FilterOpts, configDigest [][32]byte, keyID [][32]byte) (*DKGKeyGeneratedIterator, error) + FilterOwnershipTransferRequested func(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferRequestedIterator, error) + FilterOwnershipTransferred func(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferredIterator, error) + FilterTransmitted func(opts *bind.FilterOpts) (*DKGTransmittedIterator, error) + GetKey func(opts *bind.CallOpts, _keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error) + LatestConfigDetails func(opts *bind.CallOpts) (LatestConfigDetails, error) + LatestConfigDigestAndEpoch func(opts *bind.CallOpts) (LatestConfigDigestAndEpoch, error) + Owner func(opts *bind.CallOpts) (common.Address, error) + ParseConfigSet func(log types.Log) (*DKGConfigSet, error) + ParseDKGClientError func(log types.Log) (*DKGDKGClientError, error) + ParseKeyGenerated func(log types.Log) (*DKGKeyGenerated, error) + ParseLog func(log types.Log) (generated.AbigenLog, error) + ParseOwnershipTransferRequested func(log types.Log) (*DKGOwnershipTransferRequested, error) + ParseOwnershipTransferred func(log types.Log) (*DKGOwnershipTransferred, error) + ParseTransmitted func(log types.Log) (*DKGTransmitted, error) + RemoveClient func(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + SetConfig func(opts *bind.TransactOpts, _signers []common.Address, ...) (*types.Transaction, error) + ToASCII func(opts *bind.CallOpts, _uint8 uint8) (uint8, error) + TransferOwnership func(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error) + Transmit func(opts *bind.TransactOpts, reportContext [3][32]byte, report []byte, ...) (*types.Transaction, error) + TypeAndVersion func(opts *bind.CallOpts) (string, error) + WatchConfigSet func(opts *bind.WatchOpts, sink chan<- *DKGConfigSet) (event.Subscription, error) + WatchDKGClientError func(opts *bind.WatchOpts, sink chan<- *DKGDKGClientError) (event.Subscription, error) + WatchKeyGenerated func(opts *bind.WatchOpts, sink chan<- *DKGKeyGenerated, configDigest [][32]byte, ...) (event.Subscription, error) + WatchOwnershipTransferRequested func(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferRequested, ...) (event.Subscription, error) + WatchOwnershipTransferred func(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferred, ...) (event.Subscription, error) + WatchTransmitted func(opts *bind.WatchOpts, sink chan<- *DKGTransmitted) (event.Subscription, error) + type DKGKeyGenerated struct + ConfigDigest [32]byte + Key KeyDataStructKeyData + KeyID [32]byte + Raw types.Log + func (DKGKeyGenerated) Topic() common.Hash + type DKGKeyGeneratedIterator struct + Event *DKGKeyGenerated + func (it *DKGKeyGeneratedIterator) Close() error + func (it *DKGKeyGeneratedIterator) Error() error + func (it *DKGKeyGeneratedIterator) Next() bool + type DKGOwnershipTransferRequested struct + From common.Address + Raw types.Log + To common.Address + func (DKGOwnershipTransferRequested) Topic() common.Hash + type DKGOwnershipTransferRequestedIterator struct + Event *DKGOwnershipTransferRequested + func (it *DKGOwnershipTransferRequestedIterator) Close() error + func (it *DKGOwnershipTransferRequestedIterator) Error() error + func (it *DKGOwnershipTransferRequestedIterator) Next() bool + type DKGOwnershipTransferred struct + From common.Address + Raw types.Log + To common.Address + func (DKGOwnershipTransferred) Topic() common.Hash + type DKGOwnershipTransferredIterator struct + Event *DKGOwnershipTransferred + func (it *DKGOwnershipTransferredIterator) Close() error + func (it *DKGOwnershipTransferredIterator) Error() error + func (it *DKGOwnershipTransferredIterator) Next() bool + type DKGRaw struct + Contract *DKG + func (_DKG *DKGRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_DKG *DKGRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_DKG *DKGRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type DKGSession struct + CallOpts bind.CallOpts + Contract *DKG + TransactOpts bind.TransactOpts + func (_DKG *DKGSession) AcceptOwnership() (*types.Transaction, error) + func (_DKG *DKGSession) AddClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + func (_DKG *DKGSession) AddressToString(a common.Address) (string, error) + func (_DKG *DKGSession) Bytes32ToString(s [32]byte) (string, error) + func (_DKG *DKGSession) BytesToString(_bytes []byte) (string, error) + func (_DKG *DKGSession) GetKey(_keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error) + func (_DKG *DKGSession) LatestConfigDetails() (LatestConfigDetails, error) + func (_DKG *DKGSession) LatestConfigDigestAndEpoch() (LatestConfigDigestAndEpoch, error) + func (_DKG *DKGSession) Owner() (common.Address, error) + func (_DKG *DKGSession) RemoveClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + func (_DKG *DKGSession) SetConfig(_signers []common.Address, _transmitters []common.Address, _f uint8, ...) (*types.Transaction, error) + func (_DKG *DKGSession) ToASCII(_uint8 uint8) (uint8, error) + func (_DKG *DKGSession) TransferOwnership(to common.Address) (*types.Transaction, error) + func (_DKG *DKGSession) Transmit(reportContext [3][32]byte, report []byte, rs [][32]byte, ss [][32]byte, ...) (*types.Transaction, error) + func (_DKG *DKGSession) TypeAndVersion() (string, error) + type DKGTransactor struct + func NewDKGTransactor(address common.Address, transactor bind.ContractTransactor) (*DKGTransactor, error) + func (_DKG *DKGTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) + func (_DKG *DKGTransactor) AddClient(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + func (_DKG *DKGTransactor) RemoveClient(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + func (_DKG *DKGTransactor) SetConfig(opts *bind.TransactOpts, _signers []common.Address, ...) (*types.Transaction, error) + func (_DKG *DKGTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error) + func (_DKG *DKGTransactor) Transmit(opts *bind.TransactOpts, reportContext [3][32]byte, report []byte, ...) (*types.Transaction, error) + type DKGTransactorRaw struct + Contract *DKGTransactor + func (_DKG *DKGTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_DKG *DKGTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type DKGTransactorSession struct + Contract *DKGTransactor + TransactOpts bind.TransactOpts + func (_DKG *DKGTransactorSession) AcceptOwnership() (*types.Transaction, error) + func (_DKG *DKGTransactorSession) AddClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + func (_DKG *DKGTransactorSession) RemoveClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) + func (_DKG *DKGTransactorSession) SetConfig(_signers []common.Address, _transmitters []common.Address, _f uint8, ...) (*types.Transaction, error) + func (_DKG *DKGTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error) + func (_DKG *DKGTransactorSession) Transmit(reportContext [3][32]byte, report []byte, rs [][32]byte, ss [][32]byte, ...) (*types.Transaction, error) + type DKGTransmitted struct + ConfigDigest [32]byte + Epoch uint32 + Raw types.Log + func (DKGTransmitted) Topic() common.Hash + type DKGTransmittedIterator struct + Event *DKGTransmitted + func (it *DKGTransmittedIterator) Close() error + func (it *DKGTransmittedIterator) Error() error + func (it *DKGTransmittedIterator) Next() bool + type KeyDataStructKeyData struct + Hashes [][32]byte + PublicKey []byte + type LatestConfigDetails struct + BlockNumber uint32 + ConfigCount uint32 + ConfigDigest [32]byte + type LatestConfigDigestAndEpoch struct + ConfigDigest [32]byte + Epoch uint32 + ScanLogs bool