Documentation ¶
Index ¶
- Variables
- type DKG
- type DKGCaller
- 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
- type DKGCallerSession
- 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
- 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) 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
- 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: "[{\"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\":\"s\",\"type\":\"bytes32\"}],\"name\":\"bytes32ToString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_bytes\",\"type\":\"bytes\"}],\"name\":\"bytesToString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"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\":\"uint8\",\"name\":\"_uint8\",\"type\":\"uint8\"}],\"name\":\"toASCII\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"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: "0x60806040523480156200001157600080fd5b503380600081620000695760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b03848116919091179091558116156200009c576200009c81620000a5565b50505062000150565b336001600160a01b03821603620000ff5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000060565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6127f980620001606000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c578063b1dc65a411610066578063b1dc65a41461020f578063c3105a6b14610222578063e3d0e71214610242578063f2fde38b1461025557600080fd5b80638da5cb5b146101b75780639201de55146101d2578063afcb95d7146101e557600080fd5b80635429a79e116100c85780635429a79e1461015a57806379ba50971461016f5780637bf1ffc51461017757806381ff70481461018a57600080fd5b80630bc643e8146100ef578063181f5a771461011957806339614e4f14610147575b600080fd5b6101026100fd366004611d34565b610268565b60405160ff90911681526020015b60405180910390f35b604080518082019091526009815268444b4720302e302e3160b81b60208201525b6040516101109190611dab565b61013a610155366004611e81565b610297565b61016d610168366004611ed2565b610400565b005b61016d61063f565b61016d610185366004611ed2565b6106ee565b600754600554604080516000815264010000000090930463ffffffff166020840152820152606001610110565b6000546040516001600160a01b039091168152602001610110565b61013a6101e0366004611f02565b610735565b6005546004546040805160008152602081019390935263ffffffff90911690820152606001610110565b61016d61021d366004611f66565b6107c1565b61023561023036600461204a565b610905565b604051610110919061206c565b61016d610250366004612172565b610a2d565b61016d61026336600461223e565b611177565b6000600a8260ff16101561028757610281826030612271565b92915050565b610281826057612271565b919050565b6060600080835160026102aa9190612296565b6001600160401b038111156102c1576102c1611dbe565b6040519080825280601f01601f1916602001820160405280156102eb576020820181803683370190505b509050600091505b80518260ff1610156103f95760008461030d6002856122b5565b60ff1681518110610320576103206122e5565b60209101015160f81c600f169050600060048661033e6002876122b5565b60ff1681518110610351576103516122e5565b01602001516001600160f81b031916901c60f81c905061037081610268565b60f81b838560ff1681518110610388576103886122e5565b60200101906001600160f81b031916908160001a9053506103aa846001612271565b93506103b582610268565b60f81b838560ff16815181106103cd576103cd6122e5565b60200101906001600160f81b031916908160001a905350505081806103f1906122fb565b9250506102f3565b9392505050565b61040861118b565b60008281526002602090815260408083208054825181850281018501909352808352919290919083018282801561046857602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161044a575b50505050509050600081516001600160401b0381111561048a5761048a611dbe565b6040519080825280602002602001820160405280156104b3578160200160208202803683370190505b5090506000805b835181101561055657846001600160a01b03168482815181106104df576104df6122e5565b60200260200101516001600160a01b031614610536578483610501848461231a565b81518110610511576105116122e5565b60200260200101906001600160a01b031690816001600160a01b031681525050610544565b8161054081612331565b9250505b8061054e81612331565b9150506104ba565b506000818451610566919061231a565b6001600160401b0381111561057d5761057d611dbe565b6040519080825280602002602001820160405280156105a6578160200160208202803683370190505b50905060005b8285516105b9919061231a565b811015610616578381815181106105d2576105d26122e5565b60200260200101518282815181106105ec576105ec6122e5565b6001600160a01b03909216602092830291909101909101528061060e81612331565b9150506105ac565b506000868152600260209081526040909120825161063692840190611c4f565b50505050505050565b6001546001600160a01b031633146106975760405162461bcd60e51b815260206004820152601660248201527526bab9ba10313290383937b837b9b2b21037bbb732b960511b60448201526064015b60405180910390fd5b60008054336001600160a01b0319808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6106f661118b565b600091825260026020908152604083208054600181018255908452922090910180546001600160a01b0319166001600160a01b03909216919091179055565b6040805160208082528183019092526060916000919060208201818036833701905050905060005b60208110156107b757838160208110610778576107786122e5565b1a60f81b82828151811061078e5761078e6122e5565b60200101906001600160f81b031916908160001a905350806107af81612331565b91505061075d565b506103f981610297565b60005a604080516020601f8b018190048102820181019092528981529192508a3591818c0135916108119184918491908e908e90819084018382808284376000920191909152506111e092505050565b6040805183815263ffffffff600884901c1660208201527fb04e63db38c49950639fa09d29872f21f5d49d614f3a969d8adf3d4b52e41a62910160405180910390a16040805160608101825260055480825260065460ff808216602085015261010090910416928201929092529083146108c55760405162461bcd60e51b81526020600482015260156024820152740c6dedcccd2ce88d2cecae6e840dad2e6dac2e8c6d605b1b604482015260640161068e565b6108d38b8b8b8b8b8b61143a565b6108e48c8c8c8c8c8c8c8c896114ce565b50505063ffffffff81106108fa576108fa61234a565b505050505050505050565b6040805180820190915260608082526020820152600083815260036020908152604080832085845290915290819020815180830190925280548290829061094b90612360565b80601f016020809104026020016040519081016040528092919081815260200182805461097790612360565b80156109c45780601f10610999576101008083540402835291602001916109c4565b820191906000526020600020905b8154815290600101906020018083116109a757829003601f168201915b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015610a1c57602002820191906000526020600020905b815481526020019060010190808311610a08575b505050505081525050905092915050565b855185518560ff16601f831115610a795760405162461bcd60e51b815260206004820152601060248201526f746f6f206d616e79207369676e65727360801b604482015260640161068e565b60008111610abe5760405162461bcd60e51b815260206004820152601260248201527166206d75737420626520706f73697469766560701b604482015260640161068e565b818314610b195760405162461bcd60e51b8152602060048201526024808201527f6f7261636c6520616464726573736573206f7574206f662072656769737472616044820152633a34b7b760e11b606482015260840161068e565b610b24816003612296565b8311610b725760405162461bcd60e51b815260206004820152601860248201527f6661756c74792d6f7261636c65206620746f6f20686967680000000000000000604482015260640161068e565b610b7a61118b565b6040805160c0810182528a8152602081018a905260ff891691810191909152606081018790526001600160401b038616608082015260a081018590525b60095415610cc957600954600090610bd19060019061231a565b9050600060098281548110610be857610be86122e5565b6000918252602082200154600a80546001600160a01b0390921693509084908110610c1557610c156122e5565b60009182526020808320909101546001600160a01b03858116845260089092526040808420805461ffff1990811690915592909116808452922080549091169055600980549192509080610c6b57610c6b61239a565b600082815260209020810160001990810180546001600160a01b0319169055019055600a805480610c9e57610c9e61239a565b600082815260209020810160001990810180546001600160a01b031916905501905550610bb7915050565b60005b8151518110156110085760006008600084600001518481518110610cf257610cf26122e5565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610d2f57610d2f6123b0565b14610d7c5760405162461bcd60e51b815260206004820152601760248201527f7265706561746564207369676e65722061646472657373000000000000000000604482015260640161068e565b6040805180820190915260ff82168152600160208201528251805160089160009185908110610dad57610dad6122e5565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff191617610100836002811115610e0657610e066123b0565b021790555060009150610e169050565b6008600084602001518481518110610e3057610e306122e5565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610e6d57610e6d6123b0565b14610eba5760405162461bcd60e51b815260206004820152601c60248201527f7265706561746564207472616e736d6974746572206164647265737300000000604482015260640161068e565b6040805180820190915260ff821681526020810160028152506008600084602001518481518110610eed57610eed6122e5565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff191617610100836002811115610f4657610f466123b0565b021790555050825180516009925083908110610f6457610f646122e5565b602090810291909101810151825460018101845560009384529282902090920180546001600160a01b0319166001600160a01b03909316929092179091558201518051600a919083908110610fbb57610fbb6122e5565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b039092169190911790558061100081612331565b915050610ccc565b5060408101516006805460ff191660ff9092169190911790556007805467ffffffff0000000019811664010000000063ffffffff4381168202928317855590830481169360019390926000926110659286929082169116176123c6565b92506101000a81548163ffffffff021916908363ffffffff16021790555060006110c64630600760009054906101000a900463ffffffff1663ffffffff1686600001518760200151886040015189606001518a608001518b60a00151611954565b6005819055835180516006805460ff9092166101000261ff00199092169190911790556007546020860151604080880151606089015160808a015160a08b015193519798507f1591690b8638f5fb2dbec82ac741805ac5da8b45dc5263f4875b0496fdce4e059761114e978b978b9763ffffffff909116969195909490939092909190612432565b60405180910390a161116983604001518460600151836119af565b505050505050505050505050565b61117f61118b565b61118881611ba6565b50565b6000546001600160a01b031633146111de5760405162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c9037bbb732b960511b604482015260640161068e565b565b6000606080838060200190518101906111f991906124c7565b60408051808201825283815260208082018490526000868152600282528381208054855181850281018501909652808652979a509598509396509094929391929083018282801561127357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611255575b5050505050905060005b815181101561139057818181518110611298576112986122e5565b60200260200101516001600160a01b031663bf2732c7846040518263ffffffff1660e01b81526004016112cb919061206c565b600060405180830381600087803b1580156112e557600080fd5b505af19250505080156112f6575060015b61137e573d808015611324576040519150601f19603f3d011682016040523d82523d6000602084013e611329565b606091505b507f116391732f5df106193bda7cedf1728f3b07b62f6cdcdd611c9eeec44efcae5483838151811061135d5761135d6122e5565b6020026020010151826040516113749291906125c4565b60405180910390a1505b8061138881612331565b91505061127d565b5060008581526003602090815260408083208b84529091529020825183919081906113bb9082612637565b5060208281015180516113d49260018501920190611cb4565b5090505084887fc8db841f5b2231ccf7190311f440aa197b161e369f3b40b023508160cc55565684604051611409919061206c565b60405180910390a350506004805460089690961c63ffffffff1663ffffffff19909616959095179094555050505050565b6000611447826020612296565b611452856020612296565b61145e886101446126f6565b61146891906126f6565b61147291906126f6565b61147d9060006126f6565b90503681146106365760405162461bcd60e51b815260206004820152601860248201527f63616c6c64617461206c656e677468206d69736d617463680000000000000000604482015260640161068e565b60006002826020015183604001516114e69190612271565b6114f091906122b5565b6114fb906001612271565b60408051600180825281830190925260ff929092169250600091906020820181803683370190505090508160f81b8160008151811061153c5761153c6122e5565b60200101906001600160f81b031916908160001a90535086821461155f82610297565b9061157d5760405162461bcd60e51b815260040161068e9190611dab565b508685146115cd5760405162461bcd60e51b815260206004820152601e60248201527f7369676e617475726573206f7574206f6620726567697374726174696f6e0000604482015260640161068e565b3360009081526008602090815260408083208151808301909252805460ff80821684529293919291840191610100909104166002811115611610576116106123b0565b6002811115611621576116216123b0565b905250905060028160200151600281111561163e5761163e6123b0565b1480156116785750600a816000015160ff1681548110611660576116606122e5565b6000918252602090912001546001600160a01b031633145b6116c45760405162461bcd60e51b815260206004820152601860248201527f756e617574686f72697a6564207472616e736d69747465720000000000000000604482015260640161068e565b505050600088886040516116d992919061270e565b6040519081900381206116f0918c9060200161271e565b604051602081830303815290604052805190602001209050611710611cef565b604080518082019091526000808252602082015260005b88811015611945576000600185888460208110611746576117466122e5565b61175391901a601b612271565b8d8d86818110611765576117656122e5565b905060200201358c8c8781811061177e5761177e6122e5565b90506020020135604051600081526020016040526040516117bb949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa1580156117dd573d6000803e3d6000fd5b505060408051601f198101516001600160a01b03811660009081526008602090815290849020838501909452835460ff80821685529296509294508401916101009004166002811115611832576118326123b0565b6002811115611843576118436123b0565b9052509250600183602001516002811115611860576118606123b0565b146118ad5760405162461bcd60e51b815260206004820152601e60248201527f61646472657373206e6f7420617574686f72697a656420746f207369676e0000604482015260640161068e565b8251849060ff16601f81106118c4576118c46122e5565b60200201511561190d5760405162461bcd60e51b81526020600482015260146024820152736e6f6e2d756e69717565207369676e617475726560601b604482015260640161068e565b600184846000015160ff16601f8110611928576119286122e5565b91151560209092020152508061193d81612331565b915050611727565b50505050505050505050505050565b6000808a8a8a8a8a8a8a8a8a6040516020016119789998979695949392919061273a565b60408051601f1981840301815291905280516020909101206001600160f01b0316600160f01b179150509998505050505050505050565b6000808351602014611a035760405162461bcd60e51b815260206004820152601e60248201527f77726f6e67206c656e67746820666f72206f6e636861696e436f6e6669670000604482015260640161068e565b60208401519150808203611a505760405162461bcd60e51b815260206004820152601460248201527319985a5b1959081d1bc818dbdc1e481ad95e525160621b604482015260640161068e565b60408051808201909152606080825260208201526000838152600360209081526040808320878452909152902081518291908190611a8e9082612637565b506020828101518051611aa79260018501920190611cb4565b505050600083815260026020908152604080832080548251818502810185019093528083529192909190830182828015611b0a57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611aec575b5050505050905060005b8151811015611b9c57818181518110611b2f57611b2f6122e5565b60200260200101516001600160a01b03166355e487496040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b505050508080611b9490612331565b915050611b14565b5050505050505050565b336001600160a01b03821603611bfe5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640161068e565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b828054828255906000526020600020908101928215611ca4579160200282015b82811115611ca457825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611c6f565b50611cb0929150611d0e565b5090565b828054828255906000526020600020908101928215611ca4579160200282015b82811115611ca4578251825591602001919060010190611cd4565b604051806103e00160405280601f906020820280368337509192915050565b5b80821115611cb05760008155600101611d0f565b803560ff8116811461029257600080fd5b600060208284031215611d4657600080fd5b6103f982611d23565b60005b83811015611d6a578181015183820152602001611d52565b83811115611d79576000848401525b50505050565b60008151808452611d97816020860160208601611d4f565b601f01601f19169290920160200192915050565b6020815260006103f96020830184611d7f565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611dfc57611dfc611dbe565b604052919050565b60006001600160401b03821115611e1d57611e1d611dbe565b50601f01601f191660200190565b600082601f830112611e3c57600080fd5b8135611e4f611e4a82611e04565b611dd4565b818152846020838601011115611e6457600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215611e9357600080fd5b81356001600160401b03811115611ea957600080fd5b611eb584828501611e2b565b949350505050565b6001600160a01b038116811461118857600080fd5b60008060408385031215611ee557600080fd5b823591506020830135611ef781611ebd565b809150509250929050565b600060208284031215611f1457600080fd5b5035919050565b60008083601f840112611f2d57600080fd5b5081356001600160401b03811115611f4457600080fd5b6020830191508360208260051b8501011115611f5f57600080fd5b9250929050565b60008060008060008060008060e0898b031215611f8257600080fd5b606089018a811115611f9357600080fd5b899850356001600160401b0380821115611fac57600080fd5b818b0191508b601f830112611fc057600080fd5b813581811115611fcf57600080fd5b8c6020828501011115611fe157600080fd5b6020830199508098505060808b0135915080821115611fff57600080fd5b61200b8c838d01611f1b565b909750955060a08b013591508082111561202457600080fd5b506120318b828c01611f1b565b999c989b50969995989497949560c00135949350505050565b6000806040838503121561205d57600080fd5b50508035926020909101359150565b6000602080835283516040828501526120886060850182611d7f565b85830151858203601f19016040870152805180835290840192506000918401905b808310156120c957835182529284019260019290920191908401906120a9565b509695505050505050565b60006001600160401b038211156120ed576120ed611dbe565b5060051b60200190565b600082601f83011261210857600080fd5b81356020612118611e4a836120d4565b82815260059290921b8401810191818101908684111561213757600080fd5b8286015b848110156120c957803561214e81611ebd565b835291830191830161213b565b80356001600160401b038116811461029257600080fd5b60008060008060008060c0878903121561218b57600080fd5b86356001600160401b03808211156121a257600080fd5b6121ae8a838b016120f7565b975060208901359150808211156121c457600080fd5b6121d08a838b016120f7565b96506121de60408a01611d23565b955060608901359150808211156121f457600080fd5b6122008a838b01611e2b565b945061220e60808a0161215b565b935060a089013591508082111561222457600080fd5b5061223189828a01611e2b565b9150509295509295509295565b60006020828403121561225057600080fd5b81356103f981611ebd565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff84168060ff0382111561228e5761228e61225b565b019392505050565b60008160001904831182151516156122b0576122b061225b565b500290565b600060ff8316806122d657634e487b7160e01b600052601260045260246000fd5b8060ff84160491505092915050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff81036123115761231161225b565b60010192915050565b60008282101561232c5761232c61225b565b500390565b6000600182016123435761234361225b565b5060010190565b634e487b7160e01b600052600160045260246000fd5b600181811c9082168061237457607f821691505b60208210810361239457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600063ffffffff8083168185168083038211156123e5576123e561225b565b01949350505050565b600081518084526020808501945080840160005b838110156124275781516001600160a01b031687529582019590820190600101612402565b509495945050505050565b600061012063ffffffff808d1684528b6020850152808b166040850152508060608401526124628184018a6123ee565b9050828103608084015261247681896123ee565b905060ff871660a084015282810360c08401526124938187611d7f565b90506001600160401b03851660e08401528281036101008401526124b78185611d7f565b9c9b505050505050505050505050565b6000806000606084860312156124dc57600080fd5b835192506020808501516001600160401b03808211156124fb57600080fd5b818701915087601f83011261250f57600080fd5b815161251d611e4a82611e04565b818152898583860101111561253157600080fd5b61254082868301878701611d4f565b60408901519096509250508082111561255857600080fd5b508501601f8101871361256a57600080fd5b8051612578611e4a826120d4565b81815260059190911b8201830190838101908983111561259757600080fd5b928401925b828410156125b55783518252928401929084019061259c565b80955050505050509250925092565b6001600160a01b0383168152604060208201819052600090611eb590830184611d7f565b601f82111561263257600081815260208120601f850160051c8101602086101561260f5750805b601f850160051c820191505b8181101561262e5782815560010161261b565b5050505b505050565b81516001600160401b0381111561265057612650611dbe565b6126648161265e8454612360565b846125e8565b602080601f83116001811461269957600084156126815750858301515b600019600386901b1c1916600185901b17855561262e565b600085815260208120601f198616915b828110156126c8578886015182559484019460019091019084016126a9565b50858210156126e65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156127095761270961225b565b500190565b8183823760009101908152919050565b8281526060826020830137600060809190910190815292915050565b8981526001600160a01b03891660208201526001600160401b038881166040830152610120606083018190526000916127758483018b6123ee565b91508382036080850152612789828a6123ee565b915060ff881660a085015283820360c08501526127a68288611d7f565b90861660e085015283810361010085015290506124b78185611d7f56fea2646970667358221220bf0a4616ffbda5ff2ef3b8b7b15e9362e25452cc56d0cbfb41da14aa28248eb864736f6c634300080f0033",
}
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) Bytes32ToString ¶
func (*DKGCaller) BytesToString ¶
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) Bytes32ToString ¶
func (_DKG *DKGCallerSession) Bytes32ToString(s [32]byte) (string, error)
func (*DKGCallerSession) BytesToString ¶
func (_DKG *DKGCallerSession) BytesToString(_bytes []byte) (string, error)
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) ToASCII ¶
func (_DKG *DKGCallerSession) ToASCII(_uint8 uint8) (uint8, 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 { Bytes32ToString(opts *bind.CallOpts, s [32]byte) (string, error) BytesToString(opts *bind.CallOpts, _bytes []byte) (string, error) 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) ToASCII(opts *bind.CallOpts, _uint8 uint8) (uint8, 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) Bytes32ToString ¶
func (_DKG *DKGSession) Bytes32ToString(s [32]byte) (string, error)
func (*DKGSession) BytesToString ¶
func (_DKG *DKGSession) BytesToString(_bytes []byte) (string, 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.