dkg

package
v2.2.0-mercury-20230607 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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: "0x60806040523480156200001157600080fd5b503380600081620000695760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b03848116919091179091558116156200009c576200009c81620000a5565b50505062000150565b336001600160a01b03821603620000ff5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000060565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b61256d80620001606000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80638da5cb5b11610081578063c3105a6b1161005b578063c3105a6b146101ce578063e3d0e712146101ee578063f2fde38b1461020157600080fd5b80638da5cb5b14610176578063afcb95d714610191578063b1dc65a4146101bb57600080fd5b806379ba5097116100b257806379ba50971461012b5780637bf1ffc51461013357806381ff70481461014657600080fd5b8063181f5a77146100ce5780635429a79e14610116575b600080fd5b604080518082018252600981527f444b4720302e302e3100000000000000000000000000000000000000000000006020820152905161010d9190611b84565b60405180910390f35b610129610124366004611bb3565b610214565b005b610129610455565b610129610141366004611bb3565b61050b565b6007546005546040805163ffffffff8085168252640100000000909404909316602084015282015260600161010d565b6000546040516001600160a01b03909116815260200161010d565b6005546004546040805160008152602081019390935263ffffffff9091169082015260600161010d565b6101296101c9366004611c2f565b610552565b6101e16101dc366004611d14565b610695565b60405161010d9190611d36565b6101296101fc366004611f19565b6107be565b61012961020f366004611fe6565b610f1d565b61021c610f31565b60008281526002602090815260408083208054825181850281018501909352808352919290919083018282801561027c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161025e575b505050505090506000815167ffffffffffffffff81111561029f5761029f611d9e565b6040519080825280602002602001820160405280156102c8578160200160208202803683370190505b5090506000805b835181101561036b57846001600160a01b03168482815181106102f4576102f4612003565b60200260200101516001600160a01b03161461034b578483610316848461202f565b8151811061032657610326612003565b60200260200101906001600160a01b031690816001600160a01b031681525050610359565b8161035581612042565b9250505b8061036381612042565b9150506102cf565b50600081845161037b919061202f565b67ffffffffffffffff81111561039357610393611d9e565b6040519080825280602002602001820160405280156103bc578160200160208202803683370190505b50905060005b8285516103cf919061202f565b81101561042c578381815181106103e8576103e8612003565b602002602001015182828151811061040257610402612003565b6001600160a01b03909216602092830291909101909101528061042481612042565b9150506103c2565b506000868152600260209081526040909120825161044c92840190611a60565b50505050505050565b6001546001600160a01b031633146104b45760405162461bcd60e51b815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b60008054336001600160a01b0319808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b610513610f31565b600091825260026020908152604083208054600181018255908452922090910180546001600160a01b0319166001600160a01b03909216919091179055565b60005a604080516020601f8b018190048102820181019092528981529192508a3591818c0135916105a29184918491908e908e9081908401838280828437600092019190915250610f8d92505050565b6040805183815263ffffffff600884901c1660208201527fb04e63db38c49950639fa09d29872f21f5d49d614f3a969d8adf3d4b52e41a62910160405180910390a16040805160608101825260055480825260065460ff808216602085015261010090910416928201929092529083146106555780516040517f93df584c0000000000000000000000000000000000000000000000000000000081526004810191909152602481018490526044016104ab565b6106638b8b8b8b8b8b6111e7565b6106748c8c8c8c8c8c8c8c8961126e565b50505063ffffffff811061068a5761068a61205b565b505050505050505050565b604080518082019091526060808252602082015260008381526003602090815260408083208584529091529081902081518083019092528054829082906106db90612071565b80601f016020809104026020016040519081016040528092919081815260200182805461070790612071565b80156107545780601f1061072957610100808354040283529160200191610754565b820191906000526020600020905b81548152906001019060200180831161073757829003601f168201915b50505050508152602001600182018054806020026020016040519081016040528092919081815260200182805480156107ac57602002820191906000526020600020905b815481526020019060010190808311610798575b50505050508152505090505b92915050565b8551855185601f831115610808576040517f809fc428000000000000000000000000000000000000000000000000000000008152601f6004820152602481018490526044016104ab565b81831461084b576040517f988a080400000000000000000000000000000000000000000000000000000000815260048101849052602481018390526044016104ab565b6108568160036120ab565b60ff16831161089d576040517ffda9db7800000000000000000000000000000000000000000000000000000000815260ff82166004820152602481018490526044016104ab565b8060ff166000036108da576040517fe77dba5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108e2610f31565b6040805160c0810182528a8152602081018a905260ff8916918101919091526060810187905267ffffffffffffffff8616608082015260a081018590525b60095415610a325760095460009061093a9060019061202f565b905060006009828154811061095157610951612003565b6000918252602082200154600a80546001600160a01b039092169350908490811061097e5761097e612003565b60009182526020808320909101546001600160a01b03858116845260089092526040808420805461ffff19908116909155929091168084529220805490911690556009805491925090806109d4576109d46120ce565b600082815260209020810160001990810180546001600160a01b0319169055019055600a805480610a0757610a076120ce565b600082815260209020810160001990810180546001600160a01b031916905501905550610920915050565b60005b815151811015610d9f5760006008600084600001518481518110610a5b57610a5b612003565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610a9857610a986120e4565b14610afb578151805182908110610ab157610ab1612003565b60200260200101516040517f7451f83e0000000000000000000000000000000000000000000000000000000081526004016104ab91906001600160a01b0391909116815260200190565b6040805180820190915260ff82168152600160208201528251805160089160009185908110610b2c57610b2c612003565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff191617610100836002811115610b8557610b856120e4565b021790555060009150610b959050565b6008600084602001518481518110610baf57610baf612003565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610bec57610bec6120e4565b14610c515781602001518181518110610c0757610c07612003565b60200260200101516040517fe8d298990000000000000000000000000000000000000000000000000000000081526004016104ab91906001600160a01b0391909116815260200190565b6040805180820190915260ff821681526020810160028152506008600084602001518481518110610c8457610c84612003565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff191617610100836002811115610cdd57610cdd6120e4565b021790555050825180516009925083908110610cfb57610cfb612003565b602090810291909101810151825460018101845560009384529282902090920180546001600160a01b0319166001600160a01b03909316929092179091558201518051600a919083908110610d5257610d52612003565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b0390921691909117905580610d9781612042565b915050610a35565b5060408101516006805460ff191660ff909216919091179055600754640100000000900463ffffffff16610dd16116bf565b6007805463ffffffff9283166401000000000267ffffffff0000000019821681178355600193600092610e0b9286929081169116176120fa565b92506101000a81548163ffffffff021916908363ffffffff1602179055506000610e6c4630600760009054906101000a900463ffffffff1663ffffffff1686600001518760200151886040015189606001518a608001518b60a00151611749565b6005819055835180516006805460ff9092166101000261ff00199092169190911790556007546020860151604080880151606089015160808a015160a08b015193519798507f1591690b8638f5fb2dbec82ac741805ac5da8b45dc5263f4875b0496fdce4e0597610ef4978b978b9763ffffffff90911696919590949093909290919061215b565b60405180910390a1610f0f83604001518460600151836117d6565b505050505050505050505050565b610f25610f31565b610f2e816119b7565b50565b6000546001600160a01b03163314610f8b5760405162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e65720000000000000000000060448201526064016104ab565b565b600060608083806020019051810190610fa691906121f1565b60408051808201825283815260208082018490526000868152600282528381208054855181850281018501909652808652979a509598509396509094929391929083018282801561102057602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611002575b5050505050905060005b815181101561113d5781818151811061104557611045612003565b60200260200101516001600160a01b031663bf2732c7846040518263ffffffff1660e01b81526004016110789190611d36565b600060405180830381600087803b15801561109257600080fd5b505af19250505080156110a3575060015b61112b573d8080156110d1576040519150601f19603f3d011682016040523d82523d6000602084013e6110d6565b606091505b507f116391732f5df106193bda7cedf1728f3b07b62f6cdcdd611c9eeec44efcae5483838151811061110a5761110a612003565b6020026020010151826040516111219291906122ef565b60405180910390a1505b8061113581612042565b91505061102a565b5060008581526003602090815260408083208b84529091529020825183919081906111689082612368565b5060208281015180516111819260018501920190611ac5565b5090505084887fc8db841f5b2231ccf7190311f440aa197b161e369f3b40b023508160cc555656846040516111b69190611d36565b60405180910390a350506004805460089690961c63ffffffff1663ffffffff19909616959095179094555050505050565b60006111f4826020612428565b6111ff856020612428565b61120b8861014461243f565b611215919061243f565b61121f919061243f565b61122a90600061243f565b905036811461044c576040517ff7b94f0a000000000000000000000000000000000000000000000000000000008152600481018290523660248201526044016104ab565b60006002826020015183604001516112869190612452565b611290919061246b565b61129b906001612452565b60408051600180825281830190925260ff929092169250600091906020820181803683370190505090508160f81b816000815181106112dc576112dc612003565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350868214158061131a5750868514155b15611362576040517fe307bd570000000000000000000000000000000000000000000000000000000081526004810183905260248101889052604481018690526064016104ab565b3360009081526008602090815260408083208151808301909252805460ff808216845292939192918401916101009091041660028111156113a5576113a56120e4565b60028111156113b6576113b66120e4565b90525090506002816020015160028111156113d3576113d36120e4565b14158061140e5750600a816000015160ff16815481106113f5576113f5612003565b6000918252602090912001546001600160a01b03163314155b15611447576040517f2d0f0c0f0000000000000000000000000000000000000000000000000000000081523360048201526024016104ab565b5050506000888860405161145c92919061249b565b604051908190038120611473918c906020016124ab565b604051602081830303815290604052805190602001209050611493611b00565b604080518082019091526000808252602082015260005b888110156116b05760006001858884602081106114c9576114c9612003565b6114d691901a601b612452565b8d8d868181106114e8576114e8612003565b905060200201358c8c8781811061150157611501612003565b905060200201356040516000815260200160405260405161153e949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015611560573d6000803e3d6000fd5b505060408051601f198101516001600160a01b03811660009081526008602090815290849020838501909452835460ff808216855292965092945084019161010090041660028111156115b5576115b56120e4565b60028111156115c6576115c66120e4565b90525092506001836020015160028111156115e3576115e36120e4565b14611625576040517fbf18af430000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024016104ab565b8251849060ff16601f811061163c5761163c612003565b602002015115611678576040517f21cf3b4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600184846000015160ff16601f811061169357611693612003565b9115156020909202015250806116a881612042565b9150506114aa565b50505050505050505050505050565b60004661a4b18114806116d4575062066eed81145b156117425760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173c91906124bf565b91505090565b4391505090565b6000808a8a8a8a8a8a8a8a8a60405160200161176d999897969594939291906124d8565b60408051601f1981840301815291905280516020909101207dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e01000000000000000000000000000000000000000000000000000000000000179150509998505050505050505050565b60008083516020146118215783516040517f1625adfe0000000000000000000000000000000000000000000000000000000081526020600482015260248101919091526044016104ab565b60208401519150808203611861576040517faf5e77d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805180820190915260608082526020820152600083815260036020908152604080832087845290915290208151829190819061189f9082612368565b5060208281015180516118b89260018501920190611ac5565b50505060008381526002602090815260408083208054825181850281018501909352808352919290919083018282801561191b57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116118fd575b5050505050905060005b81518110156119ad5781818151811061194057611940612003565b60200260200101516001600160a01b03166355e487496040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561198257600080fd5b505af1158015611996573d6000803e3d6000fd5b5050505080806119a590612042565b915050611925565b5050505050505050565b336001600160a01b03821603611a0f5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c6600000000000000000060448201526064016104ab565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b828054828255906000526020600020908101928215611ab5579160200282015b82811115611ab557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611a80565b50611ac1929150611b1f565b5090565b828054828255906000526020600020908101928215611ab5579160200282015b82811115611ab5578251825591602001919060010190611ae5565b604051806103e00160405280601f906020820280368337509192915050565b5b80821115611ac15760008155600101611b20565b60005b83811015611b4f578181015183820152602001611b37565b50506000910152565b60008151808452611b70816020860160208601611b34565b601f01601f19169290920160200192915050565b602081526000611b976020830184611b58565b9392505050565b6001600160a01b0381168114610f2e57600080fd5b60008060408385031215611bc657600080fd5b823591506020830135611bd881611b9e565b809150509250929050565b60008083601f840112611bf557600080fd5b50813567ffffffffffffffff811115611c0d57600080fd5b6020830191508360208260051b8501011115611c2857600080fd5b9250929050565b60008060008060008060008060e0898b031215611c4b57600080fd5b606089018a811115611c5c57600080fd5b8998503567ffffffffffffffff80821115611c7657600080fd5b818b0191508b601f830112611c8a57600080fd5b813581811115611c9957600080fd5b8c6020828501011115611cab57600080fd5b6020830199508098505060808b0135915080821115611cc957600080fd5b611cd58c838d01611be3565b909750955060a08b0135915080821115611cee57600080fd5b50611cfb8b828c01611be3565b999c989b50969995989497949560c00135949350505050565b60008060408385031215611d2757600080fd5b50508035926020909101359150565b600060208083528351604082850152611d526060850182611b58565b85830151858203601f19016040870152805180835290840192506000918401905b80831015611d935783518252928401926001929092019190840190611d73565b509695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611ddd57611ddd611d9e565b604052919050565b600067ffffffffffffffff821115611dff57611dff611d9e565b5060051b60200190565b600082601f830112611e1a57600080fd5b81356020611e2f611e2a83611de5565b611db4565b82815260059290921b84018101918181019086841115611e4e57600080fd5b8286015b84811015611d93578035611e6581611b9e565b8352918301918301611e52565b803560ff81168114611e8357600080fd5b919050565b600067ffffffffffffffff821115611ea257611ea2611d9e565b50601f01601f191660200190565b600082601f830112611ec157600080fd5b8135611ecf611e2a82611e88565b818152846020838601011115611ee457600080fd5b816020850160208301376000918101602001919091529392505050565b803567ffffffffffffffff81168114611e8357600080fd5b60008060008060008060c08789031215611f3257600080fd5b863567ffffffffffffffff80821115611f4a57600080fd5b611f568a838b01611e09565b97506020890135915080821115611f6c57600080fd5b611f788a838b01611e09565b9650611f8660408a01611e72565b95506060890135915080821115611f9c57600080fd5b611fa88a838b01611eb0565b9450611fb660808a01611f01565b935060a0890135915080821115611fcc57600080fd5b50611fd989828a01611eb0565b9150509295509295509295565b600060208284031215611ff857600080fd5b8135611b9781611b9e565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156107b8576107b8612019565b60006001820161205457612054612019565b5060010190565b634e487b7160e01b600052600160045260246000fd5b600181811c9082168061208557607f821691505b6020821081036120a557634e487b7160e01b600052602260045260246000fd5b50919050565b60ff81811683821602908116908181146120c7576120c7612019565b5092915050565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b63ffffffff8181168382160190808211156120c7576120c7612019565b600081518084526020808501945080840160005b838110156121505781516001600160a01b03168752958201959082019060010161212b565b509495945050505050565b600061012063ffffffff808d1684528b6020850152808b1660408501525080606084015261218b8184018a612117565b9050828103608084015261219f8189612117565b905060ff871660a084015282810360c08401526121bc8187611b58565b905067ffffffffffffffff851660e08401528281036101008401526121e18185611b58565b9c9b505050505050505050505050565b60008060006060848603121561220657600080fd5b8351925060208085015167ffffffffffffffff8082111561222657600080fd5b818701915087601f83011261223a57600080fd5b8151612248611e2a82611e88565b818152898583860101111561225c57600080fd5b61226b82868301878701611b34565b60408901519096509250508082111561228357600080fd5b508501601f8101871361229557600080fd5b80516122a3611e2a82611de5565b81815260059190911b820183019083810190898311156122c257600080fd5b928401925b828410156122e0578351825292840192908401906122c7565b80955050505050509250925092565b6001600160a01b03831681526040602082015260006123116040830184611b58565b949350505050565b601f82111561236357600081815260208120601f850160051c810160208610156123405750805b601f850160051c820191505b8181101561235f5782815560010161234c565b5050505b505050565b815167ffffffffffffffff81111561238257612382611d9e565b612396816123908454612071565b84612319565b602080601f8311600181146123cb57600084156123b35750858301515b600019600386901b1c1916600185901b17855561235f565b600085815260208120601f198616915b828110156123fa578886015182559484019460019091019084016123db565b50858210156124185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820281158282048414176107b8576107b8612019565b808201808211156107b8576107b8612019565b60ff81811683821601908111156107b8576107b8612019565b600060ff83168061248c57634e487b7160e01b600052601260045260246000fd5b8060ff84160491505092915050565b8183823760009101908152919050565b828152606082602083013760800192915050565b6000602082840312156124d157600080fd5b5051919050565b60006101208b83526001600160a01b038b16602084015267ffffffffffffffff808b1660408501528160608501526125128285018b612117565b91508382036080850152612526828a612117565b915060ff881660a085015283820360c08501526125438288611b58565b90861660e085015283810361010085015290506121e18185611b5856fea164736f6c6343000813000a",
}

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)

func NewDKG

func NewDKG(address common.Address, backend bind.ContractBackend) (*DKG, error)

func (*DKG) Address

func (_DKG *DKG) Address() common.Address

func (*DKG) ParseLog

func (_DKG *DKG) ParseLog(log types.Log) (generated.AbigenLog, error)

type DKGCaller

type DKGCaller struct {
	// contains filtered or unexported fields
}

func NewDKGCaller

func NewDKGCaller(address common.Address, caller bind.ContractCaller) (*DKGCaller, error)

func (*DKGCaller) GetKey

func (_DKG *DKGCaller) GetKey(opts *bind.CallOpts, _keyID [32]byte, _configDigest [32]byte) (KeyDataStructKeyData, error)

func (*DKGCaller) LatestConfigDetails

func (_DKG *DKGCaller) LatestConfigDetails(opts *bind.CallOpts) (LatestConfigDetails,

	error)

func (*DKGCaller) LatestConfigDigestAndEpoch

func (_DKG *DKGCaller) LatestConfigDigestAndEpoch(opts *bind.CallOpts) (LatestConfigDigestAndEpoch,

	error)

func (*DKGCaller) Owner

func (_DKG *DKGCaller) Owner(opts *bind.CallOpts) (common.Address, error)

func (*DKGCaller) TypeAndVersion

func (_DKG *DKGCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)

type DKGCallerRaw

type DKGCallerRaw struct {
	Contract *DKGCaller
}

func (*DKGCallerRaw) Call

func (_DKG *DKGCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type DKGCallerSession

type DKGCallerSession struct {
	Contract *DKGCaller
	CallOpts bind.CallOpts
}

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) Owner

func (_DKG *DKGCallerSession) Owner() (common.Address, 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

type DKGDKGClientError struct {
	Client    common.Address
	ErrorData []byte
	Raw       types.Log
}

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

type DKGOwnershipTransferRequested struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (DKGOwnershipTransferRequested) Topic

type DKGOwnershipTransferRequestedIterator

type DKGOwnershipTransferRequestedIterator struct {
	Event *DKGOwnershipTransferRequested
	// contains filtered or unexported fields
}

func (*DKGOwnershipTransferRequestedIterator) Close

func (*DKGOwnershipTransferRequestedIterator) Error

func (*DKGOwnershipTransferRequestedIterator) Next

type DKGOwnershipTransferred

type DKGOwnershipTransferred struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (DKGOwnershipTransferred) Topic

type DKGOwnershipTransferredIterator

type DKGOwnershipTransferredIterator struct {
	Event *DKGOwnershipTransferred
	// contains filtered or unexported fields
}

func (*DKGOwnershipTransferredIterator) Close

func (*DKGOwnershipTransferredIterator) Error

func (*DKGOwnershipTransferredIterator) Next

type DKGRaw

type DKGRaw struct {
	Contract *DKG
}

func (*DKGRaw) Call

func (_DKG *DKGRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

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) Owner

func (_DKG *DKGSession) Owner() (common.Address, error)

func (*DKGSession) RemoveClient

func (_DKG *DKGSession) RemoveClient(keyID [32]byte, clientAddress common.Address) (*types.Transaction, error)

func (*DKGSession) SetConfig

func (_DKG *DKGSession) SetConfig(_signers []common.Address, _transmitters []common.Address, _f uint8, _onchainConfig []byte, _offchainConfigVersion uint64, _offchainConfig []byte) (*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) SetConfig

func (_DKG *DKGTransactorSession) SetConfig(_signers []common.Address, _transmitters []common.Address, _f uint8, _onchainConfig []byte, _offchainConfigVersion uint64, _offchainConfig []byte) (*types.Transaction, error)

func (*DKGTransactorSession) TransferOwnership

func (_DKG *DKGTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)

func (*DKGTransactorSession) Transmit

func (_DKG *DKGTransactorSession) Transmit(reportContext [3][32]byte, report []byte, rs [][32]byte, ss [][32]byte, rawVs [32]byte) (*types.Transaction, error)

type DKGTransmitted

type DKGTransmitted struct {
	ConfigDigest [32]byte
	Epoch        uint32
	Raw          types.Log
}

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 KeyDataStructKeyData struct {
	PublicKey []byte
	Hashes    [][32]byte
}

type LatestConfigDetails

type LatestConfigDetails struct {
	ConfigCount  uint32
	BlockNumber  uint32
	ConfigDigest [32]byte
}

type LatestConfigDigestAndEpoch

type LatestConfigDigestAndEpoch struct {
	ScanLogs     bool
	ConfigDigest [32]byte
	Epoch        uint32
}

Jump to

Keyboard shortcuts

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