Documentation ¶
Index ¶
- Variables
- type DKG
- type DKGCaller
- 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) TypeAndVersion(opts *bind.CallOpts) (string, error)
- type DKGCallerRaw
- type DKGCallerSession
- 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) TypeAndVersion() (string, error)
- type DKGConfigSet
- type DKGConfigSetIterator
- type DKGDKGClientError
- type DKGDKGClientErrorIterator
- type DKGFilterer
- 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
- type DKGKeyGenerated
- type DKGKeyGeneratedIterator
- type DKGOwnershipTransferRequested
- type DKGOwnershipTransferRequestedIterator
- type DKGOwnershipTransferred
- type DKGOwnershipTransferredIterator
- type DKGRaw
- type DKGSession
- func (_DKG *DKGSession) AcceptOwnership() (*types.Transaction, error)
- func (_DKG *DKGSession) AddClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, 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) 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
- 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
- type DKGTransactorSession
- 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
- type DKGTransmittedIterator
- type KeyDataStructKeyData
- type LatestConfigDetails
- type LatestConfigDigestAndEpoch
Constants ¶
This section is empty.
Variables ¶
View Source
var DKGABI = DKGMetaData.ABI
View Source
var DKGBin = DKGMetaData.Bin
View Source
var DKGMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expectedLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualLength\",\"type\":\"uint256\"}],\"name\":\"CalldataLengthMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"ConfigDigestMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectNumberOfFaultyOracles\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expectedNumSignatures\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rsLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ssLength\",\"type\":\"uint256\"}],\"name\":\"IncorrectNumberOfSignatures\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"expectedLength\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"actualLength\",\"type\":\"uint256\"}],\"name\":\"InvalidOnchainConfigLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"transmitter\",\"type\":\"address\"}],\"name\":\"InvalidTransmitter\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"KeyIDCopyFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonUniqueSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"numFaultyOracles\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"numSigners\",\"type\":\"uint256\"}],\"name\":\"NumberOfFaultyOraclesTooHigh\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"repeatedSignerAddress\",\"type\":\"address\"}],\"name\":\"RepeatedSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"repeatedTransmitterAddress\",\"type\":\"address\"}],\"name\":\"RepeatedTransmitter\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numSigners\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numTransmitters\",\"type\":\"uint256\"}],\"name\":\"SignersTransmittersMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"maxOracles\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"providedOracles\",\"type\":\"uint256\"}],\"name\":\"TooManyOracles\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"previousConfigBlockNumber\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"configCount\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"transmitters\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"f\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"onchainConfig\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"offchainConfigVersion\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"offchainConfig\",\"type\":\"bytes\"}],\"name\":\"ConfigSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractDKGClient\",\"name\":\"client\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"errorData\",\"type\":\"bytes\"}],\"name\":\"DKGClientError\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"keyID\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"hashes\",\"type\":\"bytes32[]\"}],\"indexed\":false,\"internalType\":\"structKeyDataStruct.KeyData\",\"name\":\"key\",\"type\":\"tuple\"}],\"name\":\"KeyGenerated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"epoch\",\"type\":\"uint32\"}],\"name\":\"Transmitted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"keyID\",\"type\":\"bytes32\"},{\"internalType\":\"contractDKGClient\",\"name\":\"clientAddress\",\"type\":\"address\"}],\"name\":\"addClient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_keyID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_configDigest\",\"type\":\"bytes32\"}],\"name\":\"getKey\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"hashes\",\"type\":\"bytes32[]\"}],\"internalType\":\"structKeyDataStruct.KeyData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestConfigDetails\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"configCount\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestConfigDigestAndEpoch\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"scanLogs\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"configDigest\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"epoch\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"keyID\",\"type\":\"bytes32\"},{\"internalType\":\"contractDKGClient\",\"name\":\"clientAddress\",\"type\":\"address\"}],\"name\":\"removeClient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_transmitters\",\"type\":\"address[]\"},{\"internalType\":\"uint8\",\"name\":\"_f\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"_onchainConfig\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"_offchainConfigVersion\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_offchainConfig\",\"type\":\"bytes\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[3]\",\"name\":\"reportContext\",\"type\":\"bytes32[3]\"},{\"internalType\":\"bytes\",\"name\":\"report\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"rs\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"ss\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32\",\"name\":\"rawVs\",\"type\":\"bytes32\"}],\"name\":\"transmit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"typeAndVersion\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b503380600081620000695760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b03848116919091179091558116156200009c576200009c81620000a5565b50505062000150565b336001600160a01b03821603620000ff5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000060565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6125ae80620001606000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80638da5cb5b11610081578063c3105a6b1161005b578063c3105a6b146101ce578063e3d0e712146101ee578063f2fde38b1461020157600080fd5b80638da5cb5b14610176578063afcb95d714610191578063b1dc65a4146101bb57600080fd5b806379ba5097116100b257806379ba50971461012b5780637bf1ffc51461013357806381ff70481461014657600080fd5b8063181f5a77146100ce5780635429a79e14610116575b600080fd5b604080518082018252600981527f444b4720302e302e3100000000000000000000000000000000000000000000006020820152905161010d9190611b8f565b60405180910390f35b610129610124366004611bbe565b610214565b005b610129610455565b610129610141366004611bbe565b61050b565b6007546005546040805163ffffffff8085168252640100000000909404909316602084015282015260600161010d565b6000546040516001600160a01b03909116815260200161010d565b6005546004546040805160008152602081019390935263ffffffff9091169082015260600161010d565b6101296101c9366004611c3a565b610552565b6101e16101dc366004611d1f565b610695565b60405161010d9190611d41565b6101296101fc366004611f24565b6107bd565b61012961020f366004611ff1565b610f1c565b61021c610f30565b60008281526002602090815260408083208054825181850281018501909352808352919290919083018282801561027c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161025e575b505050505090506000815167ffffffffffffffff81111561029f5761029f611da9565b6040519080825280602002602001820160405280156102c8578160200160208202803683370190505b5090506000805b835181101561036b57846001600160a01b03168482815181106102f4576102f461200e565b60200260200101516001600160a01b03161461034b578483610316848461203a565b815181106103265761032661200e565b60200260200101906001600160a01b031690816001600160a01b031681525050610359565b8161035581612051565b9250505b8061036381612051565b9150506102cf565b50600081845161037b919061203a565b67ffffffffffffffff81111561039357610393611da9565b6040519080825280602002602001820160405280156103bc578160200160208202803683370190505b50905060005b8285516103cf919061203a565b81101561042c578381815181106103e8576103e861200e565b60200260200101518282815181106104025761040261200e565b6001600160a01b03909216602092830291909101909101528061042481612051565b9150506103c2565b506000868152600260209081526040909120825161044c92840190611a5f565b50505050505050565b6001546001600160a01b031633146104b45760405162461bcd60e51b815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b60008054336001600160a01b0319808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b610513610f30565b600091825260026020908152604083208054600181018255908452922090910180546001600160a01b0319166001600160a01b03909216919091179055565b60005a604080516020601f8b018190048102820181019092528981529192508a3591818c0135916105a29184918491908e908e9081908401838280828437600092019190915250610f8c92505050565b6040805183815263ffffffff600884901c1660208201527fb04e63db38c49950639fa09d29872f21f5d49d614f3a969d8adf3d4b52e41a62910160405180910390a16040805160608101825260055480825260065460ff808216602085015261010090910416928201929092529083146106555780516040517f93df584c0000000000000000000000000000000000000000000000000000000081526004810191909152602481018490526044016104ab565b6106638b8b8b8b8b8b6111e6565b6106748c8c8c8c8c8c8c8c8961126d565b50505063ffffffff811061068a5761068a61206a565b505050505050505050565b604080518082019091526060808252602082015260008381526003602090815260408083208584529091529081902081518083019092528054829082906106db90612080565b80601f016020809104026020016040519081016040528092919081815260200182805461070790612080565b80156107545780601f1061072957610100808354040283529160200191610754565b820191906000526020600020905b81548152906001019060200180831161073757829003601f168201915b50505050508152602001600182018054806020026020016040519081016040528092919081815260200182805480156107ac57602002820191906000526020600020905b815481526020019060010190808311610798575b505050505081525050905092915050565b8551855185601f831115610807576040517f809fc428000000000000000000000000000000000000000000000000000000008152601f6004820152602481018490526044016104ab565b81831461084a576040517f988a080400000000000000000000000000000000000000000000000000000000815260048101849052602481018390526044016104ab565b6108558160036120ba565b60ff16831161089c576040517ffda9db7800000000000000000000000000000000000000000000000000000000815260ff82166004820152602481018490526044016104ab565b8060ff166000036108d9576040517fe77dba5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108e1610f30565b6040805160c0810182528a8152602081018a905260ff8916918101919091526060810187905267ffffffffffffffff8616608082015260a081018590525b60095415610a31576009546000906109399060019061203a565b90506000600982815481106109505761095061200e565b6000918252602082200154600a80546001600160a01b039092169350908490811061097d5761097d61200e565b60009182526020808320909101546001600160a01b03858116845260089092526040808420805461ffff19908116909155929091168084529220805490911690556009805491925090806109d3576109d36120e3565b600082815260209020810160001990810180546001600160a01b0319169055019055600a805480610a0657610a066120e3565b600082815260209020810160001990810180546001600160a01b03191690550190555061091f915050565b60005b815151811015610d9e5760006008600084600001518481518110610a5a57610a5a61200e565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610a9757610a976120f9565b14610afa578151805182908110610ab057610ab061200e565b60200260200101516040517f7451f83e0000000000000000000000000000000000000000000000000000000081526004016104ab91906001600160a01b0391909116815260200190565b6040805180820190915260ff82168152600160208201528251805160089160009185908110610b2b57610b2b61200e565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff191617610100836002811115610b8457610b846120f9565b021790555060009150610b949050565b6008600084602001518481518110610bae57610bae61200e565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610beb57610beb6120f9565b14610c505781602001518181518110610c0657610c0661200e565b60200260200101516040517fe8d298990000000000000000000000000000000000000000000000000000000081526004016104ab91906001600160a01b0391909116815260200190565b6040805180820190915260ff821681526020810160028152506008600084602001518481518110610c8357610c8361200e565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff191617610100836002811115610cdc57610cdc6120f9565b021790555050825180516009925083908110610cfa57610cfa61200e565b602090810291909101810151825460018101845560009384529282902090920180546001600160a01b0319166001600160a01b03909316929092179091558201518051600a919083908110610d5157610d5161200e565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b0390921691909117905580610d9681612051565b915050610a34565b5060408101516006805460ff191660ff909216919091179055600754640100000000900463ffffffff16610dd06116be565b6007805463ffffffff9283166401000000000267ffffffff0000000019821681178355600193600092610e0a92869290811691161761210f565b92506101000a81548163ffffffff021916908363ffffffff1602179055506000610e6b4630600760009054906101000a900463ffffffff1663ffffffff1686600001518760200151886040015189606001518a608001518b60a00151611748565b6005819055835180516006805460ff9092166101000261ff00199092169190911790556007546020860151604080880151606089015160808a015160a08b015193519798507f1591690b8638f5fb2dbec82ac741805ac5da8b45dc5263f4875b0496fdce4e0597610ef3978b978b9763ffffffff90911696919590949093909290919061217b565b60405180910390a1610f0e83604001518460600151836117d5565b505050505050505050505050565b610f24610f30565b610f2d816119b6565b50565b6000546001600160a01b03163314610f8a5760405162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e65720000000000000000000060448201526064016104ab565b565b600060608083806020019051810190610fa59190612211565b60408051808201825283815260208082018490526000868152600282528381208054855181850281018501909652808652979a509598509396509094929391929083018282801561101f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611001575b5050505050905060005b815181101561113c578181815181106110445761104461200e565b60200260200101516001600160a01b031663bf2732c7846040518263ffffffff1660e01b81526004016110779190611d41565b600060405180830381600087803b15801561109157600080fd5b505af19250505080156110a2575060015b61112a573d8080156110d0576040519150601f19603f3d011682016040523d82523d6000602084013e6110d5565b606091505b507f116391732f5df106193bda7cedf1728f3b07b62f6cdcdd611c9eeec44efcae548383815181106111095761110961200e565b60200260200101518260405161112092919061230f565b60405180910390a1505b8061113481612051565b915050611029565b5060008581526003602090815260408083208b84529091529020825183919081906111679082612388565b5060208281015180516111809260018501920190611ac4565b5090505084887fc8db841f5b2231ccf7190311f440aa197b161e369f3b40b023508160cc555656846040516111b59190611d41565b60405180910390a350506004805460089690961c63ffffffff1663ffffffff19909616959095179094555050505050565b60006111f3826020612448565b6111fe856020612448565b61120a88610144612467565b6112149190612467565b61121e9190612467565b611229906000612467565b905036811461044c576040517ff7b94f0a000000000000000000000000000000000000000000000000000000008152600481018290523660248201526044016104ab565b6000600282602001518360400151611285919061247f565b61128f91906124a4565b61129a90600161247f565b60408051600180825281830190925260ff929092169250600091906020820181803683370190505090508160f81b816000815181106112db576112db61200e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535086821415806113195750868514155b15611361576040517fe307bd570000000000000000000000000000000000000000000000000000000081526004810183905260248101889052604481018690526064016104ab565b3360009081526008602090815260408083208151808301909252805460ff808216845292939192918401916101009091041660028111156113a4576113a46120f9565b60028111156113b5576113b56120f9565b90525090506002816020015160028111156113d2576113d26120f9565b14158061140d5750600a816000015160ff16815481106113f4576113f461200e565b6000918252602090912001546001600160a01b03163314155b15611446576040517f2d0f0c0f0000000000000000000000000000000000000000000000000000000081523360048201526024016104ab565b5050506000888860405161145b9291906124d4565b604051908190038120611472918c906020016124e4565b604051602081830303815290604052805190602001209050611492611aff565b604080518082019091526000808252602082015260005b888110156116af5760006001858884602081106114c8576114c861200e565b6114d591901a601b61247f565b8d8d868181106114e7576114e761200e565b905060200201358c8c878181106115005761150061200e565b905060200201356040516000815260200160405260405161153d949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa15801561155f573d6000803e3d6000fd5b505060408051601f198101516001600160a01b03811660009081526008602090815290849020838501909452835460ff808216855292965092945084019161010090041660028111156115b4576115b46120f9565b60028111156115c5576115c56120f9565b90525092506001836020015160028111156115e2576115e26120f9565b14611624576040517fbf18af430000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024016104ab565b8251849060ff16601f811061163b5761163b61200e565b602002015115611677576040517f21cf3b4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600184846000015160ff16601f81106116925761169261200e565b9115156020909202015250806116a781612051565b9150506114a9565b50505050505050505050505050565b60004661a4b18114806116d3575062066eed81145b156117415760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611717573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173b9190612500565b91505090565b4391505090565b6000808a8a8a8a8a8a8a8a8a60405160200161176c99989796959493929190612519565b60408051601f1981840301815291905280516020909101207dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e01000000000000000000000000000000000000000000000000000000000000179150509998505050505050505050565b60008083516020146118205783516040517f1625adfe0000000000000000000000000000000000000000000000000000000081526020600482015260248101919091526044016104ab565b60208401519150808203611860576040517faf5e77d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805180820190915260608082526020820152600083815260036020908152604080832087845290915290208151829190819061189e9082612388565b5060208281015180516118b79260018501920190611ac4565b50505060008381526002602090815260408083208054825181850281018501909352808352919290919083018282801561191a57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116118fc575b5050505050905060005b81518110156119ac5781818151811061193f5761193f61200e565b60200260200101516001600160a01b03166355e487496040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561198157600080fd5b505af1158015611995573d6000803e3d6000fd5b5050505080806119a490612051565b915050611924565b5050505050505050565b336001600160a01b03821603611a0e5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c6600000000000000000060448201526064016104ab565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b828054828255906000526020600020908101928215611ab4579160200282015b82811115611ab457825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611a7f565b50611ac0929150611b1e565b5090565b828054828255906000526020600020908101928215611ab4579160200282015b82811115611ab4578251825591602001919060010190611ae4565b604051806103e00160405280601f906020820280368337509192915050565b5b80821115611ac05760008155600101611b1f565b60005b83811015611b4e578181015183820152602001611b36565b83811115611b5d576000848401525b50505050565b60008151808452611b7b816020860160208601611b33565b601f01601f19169290920160200192915050565b602081526000611ba26020830184611b63565b9392505050565b6001600160a01b0381168114610f2d57600080fd5b60008060408385031215611bd157600080fd5b823591506020830135611be381611ba9565b809150509250929050565b60008083601f840112611c0057600080fd5b50813567ffffffffffffffff811115611c1857600080fd5b6020830191508360208260051b8501011115611c3357600080fd5b9250929050565b60008060008060008060008060e0898b031215611c5657600080fd5b606089018a811115611c6757600080fd5b8998503567ffffffffffffffff80821115611c8157600080fd5b818b0191508b601f830112611c9557600080fd5b813581811115611ca457600080fd5b8c6020828501011115611cb657600080fd5b6020830199508098505060808b0135915080821115611cd457600080fd5b611ce08c838d01611bee565b909750955060a08b0135915080821115611cf957600080fd5b50611d068b828c01611bee565b999c989b50969995989497949560c00135949350505050565b60008060408385031215611d3257600080fd5b50508035926020909101359150565b600060208083528351604082850152611d5d6060850182611b63565b85830151858203601f19016040870152805180835290840192506000918401905b80831015611d9e5783518252928401926001929092019190840190611d7e565b509695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611de857611de8611da9565b604052919050565b600067ffffffffffffffff821115611e0a57611e0a611da9565b5060051b60200190565b600082601f830112611e2557600080fd5b81356020611e3a611e3583611df0565b611dbf565b82815260059290921b84018101918181019086841115611e5957600080fd5b8286015b84811015611d9e578035611e7081611ba9565b8352918301918301611e5d565b803560ff81168114611e8e57600080fd5b919050565b600067ffffffffffffffff821115611ead57611ead611da9565b50601f01601f191660200190565b600082601f830112611ecc57600080fd5b8135611eda611e3582611e93565b818152846020838601011115611eef57600080fd5b816020850160208301376000918101602001919091529392505050565b803567ffffffffffffffff81168114611e8e57600080fd5b60008060008060008060c08789031215611f3d57600080fd5b863567ffffffffffffffff80821115611f5557600080fd5b611f618a838b01611e14565b97506020890135915080821115611f7757600080fd5b611f838a838b01611e14565b9650611f9160408a01611e7d565b95506060890135915080821115611fa757600080fd5b611fb38a838b01611ebb565b9450611fc160808a01611f0c565b935060a0890135915080821115611fd757600080fd5b50611fe489828a01611ebb565b9150509295509295509295565b60006020828403121561200357600080fd5b8135611ba281611ba9565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561204c5761204c612024565b500390565b60006001820161206357612063612024565b5060010190565b634e487b7160e01b600052600160045260246000fd5b600181811c9082168061209457607f821691505b6020821081036120b457634e487b7160e01b600052602260045260246000fd5b50919050565b600060ff821660ff84168160ff04811182151516156120db576120db612024565b029392505050565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600063ffffffff80831681851680830382111561212e5761212e612024565b01949350505050565b600081518084526020808501945080840160005b838110156121705781516001600160a01b03168752958201959082019060010161214b565b509495945050505050565b600061012063ffffffff808d1684528b6020850152808b166040850152508060608401526121ab8184018a612137565b905082810360808401526121bf8189612137565b905060ff871660a084015282810360c08401526121dc8187611b63565b905067ffffffffffffffff851660e08401528281036101008401526122018185611b63565b9c9b505050505050505050505050565b60008060006060848603121561222657600080fd5b8351925060208085015167ffffffffffffffff8082111561224657600080fd5b818701915087601f83011261225a57600080fd5b8151612268611e3582611e93565b818152898583860101111561227c57600080fd5b61228b82868301878701611b33565b6040890151909650925050808211156122a357600080fd5b508501601f810187136122b557600080fd5b80516122c3611e3582611df0565b81815260059190911b820183019083810190898311156122e257600080fd5b928401925b82841015612300578351825292840192908401906122e7565b80955050505050509250925092565b6001600160a01b03831681526040602082015260006123316040830184611b63565b949350505050565b601f82111561238357600081815260208120601f850160051c810160208610156123605750805b601f850160051c820191505b8181101561237f5782815560010161236c565b5050505b505050565b815167ffffffffffffffff8111156123a2576123a2611da9565b6123b6816123b08454612080565b84612339565b602080601f8311600181146123eb57600084156123d35750858301515b600019600386901b1c1916600185901b17855561237f565b600085815260208120601f198616915b8281101561241a578886015182559484019460019091019084016123fb565b50858210156124385787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600081600019048311821515161561246257612462612024565b500290565b6000821982111561247a5761247a612024565b500190565b600060ff821660ff84168060ff0382111561249c5761249c612024565b019392505050565b600060ff8316806124c557634e487b7160e01b600052601260045260246000fd5b8060ff84160491505092915050565b8183823760009101908152919050565b8281526060826020830137600060809190910190815292915050565b60006020828403121561251257600080fd5b5051919050565b60006101208b83526001600160a01b038b16602084015267ffffffffffffffff808b1660408501528160608501526125538285018b612137565b91508382036080850152612567828a612137565b915060ff881660a085015283820360c08501526125848288611b63565b90861660e085015283810361010085015290506122018185611b6356fea164736f6c634300080f000a",
}
Functions ¶
This section is empty.
Types ¶
type DKG ¶
type DKG struct { DKGCaller DKGTransactor DKGFilterer // contains filtered or unexported fields }
func DeployDKG ¶
func DeployDKG(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *DKG, error)
type DKGCaller ¶
type DKGCaller struct {
// contains filtered or unexported fields
}
func NewDKGCaller ¶
func (*DKGCaller) LatestConfigDetails ¶
func (_DKG *DKGCaller) LatestConfigDetails(opts *bind.CallOpts) (LatestConfigDetails, error)
func (*DKGCaller) LatestConfigDigestAndEpoch ¶
func (_DKG *DKGCaller) LatestConfigDigestAndEpoch(opts *bind.CallOpts) (LatestConfigDigestAndEpoch, error)
type DKGCallerRaw ¶
type DKGCallerRaw struct {
Contract *DKGCaller
}
type DKGCallerSession ¶
func (*DKGCallerSession) GetKey ¶
func (_DKG *DKGCallerSession) GetKey(_keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error)
func (*DKGCallerSession) LatestConfigDetails ¶
func (_DKG *DKGCallerSession) LatestConfigDetails() (LatestConfigDetails, error)
func (*DKGCallerSession) LatestConfigDigestAndEpoch ¶
func (_DKG *DKGCallerSession) LatestConfigDigestAndEpoch() (LatestConfigDigestAndEpoch, error)
func (*DKGCallerSession) TypeAndVersion ¶
func (_DKG *DKGCallerSession) TypeAndVersion() (string, error)
type DKGConfigSet ¶
type DKGConfigSet struct { PreviousConfigBlockNumber uint32 ConfigDigest [32]byte ConfigCount uint64 Signers []common.Address Transmitters []common.Address F uint8 OnchainConfig []byte OffchainConfigVersion uint64 OffchainConfig []byte Raw types.Log }
func (DKGConfigSet) Topic ¶
func (DKGConfigSet) Topic() common.Hash
type DKGConfigSetIterator ¶
type DKGConfigSetIterator struct { Event *DKGConfigSet // contains filtered or unexported fields }
func (*DKGConfigSetIterator) Close ¶
func (it *DKGConfigSetIterator) Close() error
func (*DKGConfigSetIterator) Error ¶
func (it *DKGConfigSetIterator) Error() error
func (*DKGConfigSetIterator) Next ¶
func (it *DKGConfigSetIterator) Next() bool
type DKGDKGClientError ¶
func (DKGDKGClientError) Topic ¶
func (DKGDKGClientError) Topic() common.Hash
type DKGDKGClientErrorIterator ¶
type DKGDKGClientErrorIterator struct { Event *DKGDKGClientError // contains filtered or unexported fields }
func (*DKGDKGClientErrorIterator) Close ¶
func (it *DKGDKGClientErrorIterator) Close() error
func (*DKGDKGClientErrorIterator) Error ¶
func (it *DKGDKGClientErrorIterator) Error() error
func (*DKGDKGClientErrorIterator) Next ¶
func (it *DKGDKGClientErrorIterator) Next() bool
type DKGFilterer ¶
type DKGFilterer struct {
// contains filtered or unexported fields
}
func NewDKGFilterer ¶
func NewDKGFilterer(address common.Address, filterer bind.ContractFilterer) (*DKGFilterer, error)
func (*DKGFilterer) FilterConfigSet ¶
func (_DKG *DKGFilterer) FilterConfigSet(opts *bind.FilterOpts) (*DKGConfigSetIterator, error)
func (*DKGFilterer) FilterDKGClientError ¶
func (_DKG *DKGFilterer) FilterDKGClientError(opts *bind.FilterOpts) (*DKGDKGClientErrorIterator, error)
func (*DKGFilterer) FilterKeyGenerated ¶
func (_DKG *DKGFilterer) FilterKeyGenerated(opts *bind.FilterOpts, configDigest [][32]byte, keyID [][32]byte) (*DKGKeyGeneratedIterator, error)
func (*DKGFilterer) FilterOwnershipTransferRequested ¶
func (_DKG *DKGFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferRequestedIterator, error)
func (*DKGFilterer) FilterOwnershipTransferred ¶
func (_DKG *DKGFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferredIterator, error)
func (*DKGFilterer) FilterTransmitted ¶
func (_DKG *DKGFilterer) FilterTransmitted(opts *bind.FilterOpts) (*DKGTransmittedIterator, error)
func (*DKGFilterer) ParseConfigSet ¶
func (_DKG *DKGFilterer) ParseConfigSet(log types.Log) (*DKGConfigSet, error)
func (*DKGFilterer) ParseDKGClientError ¶
func (_DKG *DKGFilterer) ParseDKGClientError(log types.Log) (*DKGDKGClientError, error)
func (*DKGFilterer) ParseKeyGenerated ¶
func (_DKG *DKGFilterer) ParseKeyGenerated(log types.Log) (*DKGKeyGenerated, error)
func (*DKGFilterer) ParseOwnershipTransferRequested ¶
func (_DKG *DKGFilterer) ParseOwnershipTransferRequested(log types.Log) (*DKGOwnershipTransferRequested, error)
func (*DKGFilterer) ParseOwnershipTransferred ¶
func (_DKG *DKGFilterer) ParseOwnershipTransferred(log types.Log) (*DKGOwnershipTransferred, error)
func (*DKGFilterer) ParseTransmitted ¶
func (_DKG *DKGFilterer) ParseTransmitted(log types.Log) (*DKGTransmitted, error)
func (*DKGFilterer) WatchConfigSet ¶
func (_DKG *DKGFilterer) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *DKGConfigSet) (event.Subscription, error)
func (*DKGFilterer) WatchDKGClientError ¶
func (_DKG *DKGFilterer) WatchDKGClientError(opts *bind.WatchOpts, sink chan<- *DKGDKGClientError) (event.Subscription, error)
func (*DKGFilterer) WatchKeyGenerated ¶
func (_DKG *DKGFilterer) WatchKeyGenerated(opts *bind.WatchOpts, sink chan<- *DKGKeyGenerated, configDigest [][32]byte, keyID [][32]byte) (event.Subscription, error)
func (*DKGFilterer) WatchOwnershipTransferRequested ¶
func (_DKG *DKGFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
func (*DKGFilterer) WatchOwnershipTransferred ¶
func (_DKG *DKGFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
func (*DKGFilterer) WatchTransmitted ¶
func (_DKG *DKGFilterer) WatchTransmitted(opts *bind.WatchOpts, sink chan<- *DKGTransmitted) (event.Subscription, error)
type DKGInterface ¶
type DKGInterface interface { GetKey(opts *bind.CallOpts, _keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error) LatestConfigDetails(opts *bind.CallOpts) (LatestConfigDetails, error) LatestConfigDigestAndEpoch(opts *bind.CallOpts) (LatestConfigDigestAndEpoch, error) Owner(opts *bind.CallOpts) (common.Address, error) TypeAndVersion(opts *bind.CallOpts) (string, error) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) AddClient(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) RemoveClient(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error) SetConfig(opts *bind.TransactOpts, _signers []common.Address, _transmitters []common.Address, _f uint8, _onchainConfig []byte, _offchainConfigVersion uint64, _offchainConfig []byte) (*types.Transaction, error) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error) Transmit(opts *bind.TransactOpts, reportContext [3][32]byte, report []byte, rs [][32]byte, ss [][32]byte, rawVs [32]byte) (*types.Transaction, error) FilterConfigSet(opts *bind.FilterOpts) (*DKGConfigSetIterator, error) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *DKGConfigSet) (event.Subscription, error) ParseConfigSet(log types.Log) (*DKGConfigSet, error) FilterDKGClientError(opts *bind.FilterOpts) (*DKGDKGClientErrorIterator, error) WatchDKGClientError(opts *bind.WatchOpts, sink chan<- *DKGDKGClientError) (event.Subscription, error) ParseDKGClientError(log types.Log) (*DKGDKGClientError, error) FilterKeyGenerated(opts *bind.FilterOpts, configDigest [][32]byte, keyID [][32]byte) (*DKGKeyGeneratedIterator, error) WatchKeyGenerated(opts *bind.WatchOpts, sink chan<- *DKGKeyGenerated, configDigest [][32]byte, keyID [][32]byte) (event.Subscription, error) ParseKeyGenerated(log types.Log) (*DKGKeyGenerated, error) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferRequestedIterator, error) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferRequested(log types.Log) (*DKGOwnershipTransferRequested, error) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DKGOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DKGOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*DKGOwnershipTransferred, error) FilterTransmitted(opts *bind.FilterOpts) (*DKGTransmittedIterator, error) WatchTransmitted(opts *bind.WatchOpts, sink chan<- *DKGTransmitted) (event.Subscription, error) ParseTransmitted(log types.Log) (*DKGTransmitted, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type DKGKeyGenerated ¶
type DKGKeyGenerated struct { ConfigDigest [32]byte KeyID [32]byte Key KeyDataStructKeyData Raw types.Log }
func (DKGKeyGenerated) Topic ¶
func (DKGKeyGenerated) Topic() common.Hash
type DKGKeyGeneratedIterator ¶
type DKGKeyGeneratedIterator struct { Event *DKGKeyGenerated // contains filtered or unexported fields }
func (*DKGKeyGeneratedIterator) Close ¶
func (it *DKGKeyGeneratedIterator) Close() error
func (*DKGKeyGeneratedIterator) Error ¶
func (it *DKGKeyGeneratedIterator) Error() error
func (*DKGKeyGeneratedIterator) Next ¶
func (it *DKGKeyGeneratedIterator) Next() bool
type DKGOwnershipTransferRequested ¶
func (DKGOwnershipTransferRequested) Topic ¶
func (DKGOwnershipTransferRequested) Topic() common.Hash
type DKGOwnershipTransferRequestedIterator ¶
type DKGOwnershipTransferRequestedIterator struct { Event *DKGOwnershipTransferRequested // contains filtered or unexported fields }
func (*DKGOwnershipTransferRequestedIterator) Close ¶
func (it *DKGOwnershipTransferRequestedIterator) Close() error
func (*DKGOwnershipTransferRequestedIterator) Error ¶
func (it *DKGOwnershipTransferRequestedIterator) Error() error
func (*DKGOwnershipTransferRequestedIterator) Next ¶
func (it *DKGOwnershipTransferRequestedIterator) Next() bool
type DKGOwnershipTransferred ¶
func (DKGOwnershipTransferred) Topic ¶
func (DKGOwnershipTransferred) Topic() common.Hash
type DKGOwnershipTransferredIterator ¶
type DKGOwnershipTransferredIterator struct { Event *DKGOwnershipTransferred // contains filtered or unexported fields }
func (*DKGOwnershipTransferredIterator) Close ¶
func (it *DKGOwnershipTransferredIterator) Close() error
func (*DKGOwnershipTransferredIterator) Error ¶
func (it *DKGOwnershipTransferredIterator) Error() error
func (*DKGOwnershipTransferredIterator) Next ¶
func (it *DKGOwnershipTransferredIterator) Next() bool
type DKGRaw ¶
type DKGRaw struct {
Contract *DKG
}
func (*DKGRaw) Transact ¶
func (_DKG *DKGRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*DKGRaw) Transfer ¶
func (_DKG *DKGRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type DKGSession ¶
type DKGSession struct { Contract *DKG CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*DKGSession) AcceptOwnership ¶
func (_DKG *DKGSession) AcceptOwnership() (*types.Transaction, error)
func (*DKGSession) AddClient ¶
func (_DKG *DKGSession) AddClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error)
func (*DKGSession) GetKey ¶
func (_DKG *DKGSession) GetKey(_keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error)
func (*DKGSession) LatestConfigDetails ¶
func (_DKG *DKGSession) LatestConfigDetails() (LatestConfigDetails, error)
func (*DKGSession) LatestConfigDigestAndEpoch ¶
func (_DKG *DKGSession) LatestConfigDigestAndEpoch() (LatestConfigDigestAndEpoch, error)
func (*DKGSession) RemoveClient ¶
func (_DKG *DKGSession) RemoveClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error)
func (*DKGSession) TransferOwnership ¶
func (_DKG *DKGSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*DKGSession) Transmit ¶
func (_DKG *DKGSession) Transmit(reportContext [3][32]byte, report []byte, rs [][32]byte, ss [][32]byte, rawVs [32]byte) (*types.Transaction, error)
func (*DKGSession) TypeAndVersion ¶
func (_DKG *DKGSession) TypeAndVersion() (string, error)
type DKGTransactor ¶
type DKGTransactor struct {
// contains filtered or unexported fields
}
func NewDKGTransactor ¶
func NewDKGTransactor(address common.Address, transactor bind.ContractTransactor) (*DKGTransactor, error)
func (*DKGTransactor) AcceptOwnership ¶
func (_DKG *DKGTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
func (*DKGTransactor) AddClient ¶
func (_DKG *DKGTransactor) AddClient(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error)
func (*DKGTransactor) RemoveClient ¶
func (_DKG *DKGTransactor) RemoveClient(opts *bind.TransactOpts, keyID [32]byte, clientAddress common.Address) (*types.Transaction, error)
func (*DKGTransactor) SetConfig ¶
func (_DKG *DKGTransactor) SetConfig(opts *bind.TransactOpts, _signers []common.Address, _transmitters []common.Address, _f uint8, _onchainConfig []byte, _offchainConfigVersion uint64, _offchainConfig []byte) (*types.Transaction, error)
func (*DKGTransactor) TransferOwnership ¶
func (_DKG *DKGTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
func (*DKGTransactor) Transmit ¶
func (_DKG *DKGTransactor) Transmit(opts *bind.TransactOpts, reportContext [3][32]byte, report []byte, rs [][32]byte, ss [][32]byte, rawVs [32]byte) (*types.Transaction, error)
type DKGTransactorRaw ¶
type DKGTransactorRaw struct {
Contract *DKGTransactor
}
func (*DKGTransactorRaw) Transact ¶
func (_DKG *DKGTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*DKGTransactorRaw) Transfer ¶
func (_DKG *DKGTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type DKGTransactorSession ¶
type DKGTransactorSession struct { Contract *DKGTransactor TransactOpts bind.TransactOpts }
func (*DKGTransactorSession) AcceptOwnership ¶
func (_DKG *DKGTransactorSession) AcceptOwnership() (*types.Transaction, error)
func (*DKGTransactorSession) AddClient ¶
func (_DKG *DKGTransactorSession) AddClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error)
func (*DKGTransactorSession) RemoveClient ¶
func (_DKG *DKGTransactorSession) RemoveClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error)
func (*DKGTransactorSession) TransferOwnership ¶
func (_DKG *DKGTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
type DKGTransmitted ¶
func (DKGTransmitted) Topic ¶
func (DKGTransmitted) Topic() common.Hash
type DKGTransmittedIterator ¶
type DKGTransmittedIterator struct { Event *DKGTransmitted // contains filtered or unexported fields }
func (*DKGTransmittedIterator) Close ¶
func (it *DKGTransmittedIterator) Close() error
func (*DKGTransmittedIterator) Error ¶
func (it *DKGTransmittedIterator) Error() error
func (*DKGTransmittedIterator) Next ¶
func (it *DKGTransmittedIterator) Next() bool
type KeyDataStructKeyData ¶
type LatestConfigDetails ¶
Click to show internal directories.
Click to hide internal directories.