dkg

package
v1.6.0-debug-multikeys Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 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: "[{\"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: "0x60806040523480156200001157600080fd5b503380600081620000695760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b03848116919091179091558116156200009c576200009c81620000a5565b50505062000150565b336001600160a01b03821603620000ff5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000060565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b61307680620001606000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c578063b1dc65a411610066578063b1dc65a414610230578063c3105a6b14610243578063e3d0e71214610263578063f2fde38b1461027657600080fd5b80638da5cb5b146101cb5780639201de55146101f3578063afcb95d71461020657600080fd5b80635429a79e116100c85780635429a79e1461016e57806379ba5097146101835780637bf1ffc51461018b57806381ff70481461019e57600080fd5b80630bc643e8146100ef578063181f5a771461011957806339614e4f1461015b575b600080fd5b6101026100fd3660046123c7565b610289565b60405160ff90911681526020015b60405180910390f35b60408051808201909152600981527f444b4720302e302e31000000000000000000000000000000000000000000000060208201525b604051610110919061245c565b61014e610169366004612589565b6102b8565b61018161017c3660046125e8565b61046a565b005b6101816106f9565b6101816101993660046125e8565b6107fb565b600754600554604080516000815264010000000090930463ffffffff166020840152820152606001610110565b60005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610110565b61014e610201366004612618565b610867565b6005546004546040805160008152602081019390935263ffffffff90911690820152606001610110565b61018161023e36600461267d565b61090b565b610256610251366004612762565b610a71565b6040516101109190612784565b6101816102713660046128aa565b610b99565b610181610284366004612977565b61159a565b6000600a8260ff1610156102a8576102a28260306129c3565b92915050565b6102a28260576129c3565b919050565b6060600080835160026102cb91906129e8565b67ffffffffffffffff8111156102e3576102e361246f565b6040519080825280601f01601f19166020018201604052801561030d576020820181803683370190505b509050600091505b80518260ff1610156104635760008461032f600285612a25565b60ff168151811061034257610342612a6e565b60209101015160f81c600f1690506000600486610360600287612a25565b60ff168151811061037357610373612a6e565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c90506103aa81610289565b60f81b838560ff16815181106103c2576103c2612a6e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506103fc8460016129c3565b935061040782610289565b60f81b838560ff168151811061041f5761041f612a6e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050818061045b90612a9d565b925050610315565b9392505050565b6104726115ae565b6000828152600260209081526040808320805482518185028101850190935280835291929091908301828280156104df57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116104b4575b505050505090506000815167ffffffffffffffff8111156105025761050261246f565b60405190808252806020026020018201604052801561052b578160200160208202803683370190505b5090506000805b8351811015610602578473ffffffffffffffffffffffffffffffffffffffff1684828151811061056457610564612a6e565b602002602001015173ffffffffffffffffffffffffffffffffffffffff16146105e25784836105938484612abc565b815181106105a3576105a3612a6e565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506105f0565b816105ec81612ad3565b9250505b806105fa81612ad3565b915050610532565b5060008184516106129190612abc565b67ffffffffffffffff81111561062a5761062a61246f565b604051908082528060200260200182016040528015610653578160200160208202803683370190505b50905060005b8285516106669190612abc565b8110156106d05783818151811061067f5761067f612a6e565b602002602001015182828151811061069957610699612a6e565b73ffffffffffffffffffffffffffffffffffffffff90921660209283029190910190910152806106c881612ad3565b915050610659565b50600086815260026020908152604090912082516106f0928401906122bd565b50505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461077f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6108036115ae565b600091825260026020908152604083208054600181018255908452922090910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6040805160208082528183019092526060916000919060208201818036833701905050905060005b6020811015610901578381602081106108aa576108aa612a6e565b1a60f81b8282815181106108c0576108c0612a6e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350806108f981612ad3565b91505061088f565b50610463816102b8565b60005a604080516020601f8b018190048102820181019092528981529192508a3591818c01359161095b9184918491908e908e908190840183828082843760009201919091525061163192505050565b6040805183815263ffffffff600884901c1660208201527fb04e63db38c49950639fa09d29872f21f5d49d614f3a969d8adf3d4b52e41a62910160405180910390a16040805160608101825260055480825260065460ff80821660208501526101009091041692820192909252908314610a31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f636f6e666967446967657374206d69736d6174636800000000000000000000006044820152606401610776565b610a3f8b8b8b8b8b8b6118c0565b610a508c8c8c8c8c8c8c8c8961196e565b50505063ffffffff8110610a6657610a66612b0b565b505050505050505050565b60408051808201909152606080825260208201526000838152600360209081526040808320858452909152908190208151808301909252805482908290610ab790612b3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae390612b3a565b8015610b305780601f10610b0557610100808354040283529160200191610b30565b820191906000526020600020905b815481529060010190602001808311610b1357829003601f168201915b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015610b8857602002820191906000526020600020905b815481526020019060010190808311610b74575b505050505081525050905092915050565b855185518560ff16601f831115610c0c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f746f6f206d616e79207369676e657273000000000000000000000000000000006044820152606401610776565b60008111610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f66206d75737420626520706f73697469766500000000000000000000000000006044820152606401610776565b818314610d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f6f7261636c6520616464726573736573206f7574206f6620726567697374726160448201527f74696f6e000000000000000000000000000000000000000000000000000000006064820152608401610776565b610d0f8160036129e8565b8311610d77576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f6661756c74792d6f7261636c65206620746f6f206869676800000000000000006044820152606401610776565b610d7f6115ae565b6040805160c0810182528a8152602081018a905260ff8916918101919091526060810187905267ffffffffffffffff8616608082015260a081018590525b60095415610f7257600954600090610dd790600190612abc565b9050600060098281548110610dee57610dee612a6e565b6000918252602082200154600a805473ffffffffffffffffffffffffffffffffffffffff90921693509084908110610e2857610e28612a6e565b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff85811684526008909252604080842080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000090811690915592909116808452922080549091169055600980549192509080610ea857610ea8612b8d565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055600a805480610f1157610f11612b8d565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905501905550610dbd915050565b60005b8151518110156113d95760006008600084600001518481518110610f9b57610f9b612a6e565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002054610100900460ff166002811115610fe557610fe5612bbc565b1461104c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f7265706561746564207369676e657220616464726573730000000000000000006044820152606401610776565b6040805180820190915260ff8216815260016020820152825180516008916000918590811061107d5761107d612a6e565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff168252818101929092526040016000208251815460ff9091167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082168117835592840151919283917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000161761010083600281111561111e5761111e612bbc565b02179055506000915061112e9050565b600860008460200151848151811061114857611148612a6e565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff16825281019190915260400160002054610100900460ff16600281111561119257611192612bbc565b146111f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f7265706561746564207472616e736d69747465722061646472657373000000006044820152606401610776565b6040805180820190915260ff82168152602081016002815250600860008460200151848151811061122c5761122c612a6e565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff168252818101929092526040016000208251815460ff9091167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082168117835592840151919283917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000016176101008360028111156112cd576112cd612bbc565b0217905550508251805160099250839081106112eb576112eb612a6e565b602090810291909101810151825460018101845560009384529282902090920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909316929092179091558201518051600a91908390811061136757611367612a6e565b60209081029190910181015182546001810184556000938452919092200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055806113d181612ad3565b915050610f75565b506040810151600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff909216919091179055600780547fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff811664010000000063ffffffff43811682029283178555908304811693600193909260009261146b928692908216911617612beb565b92506101000a81548163ffffffff021916908363ffffffff16021790555060006114cc4630600760009054906101000a900463ffffffff1663ffffffff1686600001518760200151886040015189606001518a608001518b60a00151611ecf565b6005819055835180516006805460ff909216610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9092169190911790556007546020860151604080880151606089015160808a015160a08b015193519798507f1591690b8638f5fb2dbec82ac741805ac5da8b45dc5263f4875b0496fdce4e0597611571978b978b9763ffffffff909116969195909490939092909190612c64565b60405180910390a161158c8360400151846060015183611f7a565b505050505050505050505050565b6115a26115ae565b6115ab816121c8565b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610776565b565b60006060808380602001905181019061164a9190612cfa565b60408051808201825283815260208082018490526000868152600282528381208054855181850281018501909652808652979a50959850939650909492939192908301828280156116d157602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116116a6575b5050505050905060005b81518110156117fb578181815181106116f6576116f6612a6e565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663bf2732c7846040518263ffffffff1660e01b81526004016117369190612784565b600060405180830381600087803b15801561175057600080fd5b505af1925050508015611761575060015b6117e9573d80801561178f576040519150601f19603f3d011682016040523d82523d6000602084013e611794565b606091505b507f116391732f5df106193bda7cedf1728f3b07b62f6cdcdd611c9eeec44efcae548383815181106117c8576117c8612a6e565b6020026020010151826040516117df929190612df8565b60405180910390a1505b806117f381612ad3565b9150506116db565b5060008581526003602090815260408083208b84529091529020825183919081906118269082612e76565b50602082810151805161183f9260018501920190612347565b5090505084887fc8db841f5b2231ccf7190311f440aa197b161e369f3b40b023508160cc555656846040516118749190612784565b60405180910390a350506004805460089690961c63ffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000909616959095179094555050505050565b60006118cd8260206129e8565b6118d88560206129e8565b6118e488610144612f90565b6118ee9190612f90565b6118f89190612f90565b611903906000612f90565b90503681146106f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f63616c6c64617461206c656e677468206d69736d6174636800000000000000006044820152606401610776565b600060028260200151836040015161198691906129c3565b6119909190612a25565b61199b9060016129c3565b60408051600180825281830190925260ff929092169250600091906020820181803683370190505090508160f81b816000815181106119dc576119dc612a6e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350868214611a17826102b8565b90611a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610776919061245c565b50868514611ab9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f7369676e617475726573206f7574206f6620726567697374726174696f6e00006044820152606401610776565b3360009081526008602090815260408083208151808301909252805460ff80821684529293919291840191610100909104166002811115611afc57611afc612bbc565b6002811115611b0d57611b0d612bbc565b9052509050600281602001516002811115611b2a57611b2a612bbc565b148015611b715750600a816000015160ff1681548110611b4c57611b4c612a6e565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1633145b611bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f756e617574686f72697a6564207472616e736d697474657200000000000000006044820152606401610776565b50505060008888604051611bec929190612fa8565b604051908190038120611c03918c90602001612fb8565b604051602081830303815290604052805190602001209050611c23612382565b604080518082019091526000808252602082015260005b88811015611ec0576000600185888460208110611c5957611c59612a6e565b611c6691901a601b6129c3565b8d8d86818110611c7857611c78612a6e565b905060200201358c8c87818110611c9157611c91612a6e565b9050602002013560405160008152602001604052604051611cce949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015611cf0573d6000803e3d6000fd5b5050604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081015173ffffffffffffffffffffffffffffffffffffffff811660009081526008602090815290849020838501909452835460ff80821685529296509294508401916101009004166002811115611d7057611d70612bbc565b6002811115611d8157611d81612bbc565b9052509250600183602001516002811115611d9e57611d9e612bbc565b14611e05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f61646472657373206e6f7420617574686f72697a656420746f207369676e00006044820152606401610776565b8251849060ff16601f8110611e1c57611e1c612a6e565b602002015115611e88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6e6f6e2d756e69717565207369676e61747572650000000000000000000000006044820152606401610776565b600184846000015160ff16601f8110611ea357611ea3612a6e565b911515602090920201525080611eb881612ad3565b915050611c3a565b50505050505050505050505050565b6000808a8a8a8a8a8a8a8a8a604051602001611ef399989796959493929190612fd4565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020909101207dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e01000000000000000000000000000000000000000000000000000000000000179150509998505050505050505050565b6000808351602014611fe8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f77726f6e67206c656e67746820666f72206f6e636861696e436f6e66696700006044820152606401610776565b60208401519150808203612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6661696c656420746f20636f7079206b657949440000000000000000000000006044820152606401610776565b604080518082019091526060808252602082015260008381526003602090815260408083208784529091529020815182919081906120969082612e76565b5060208281015180516120af9260018501920190612347565b50505060008381526002602090815260408083208054825181850281018501909352808352919290919083018282801561211f57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116120f4575b5050505050905060005b81518110156121be5781818151811061214457612144612a6e565b602002602001015173ffffffffffffffffffffffffffffffffffffffff166355e487496040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561219357600080fd5b505af11580156121a7573d6000803e3d6000fd5b5050505080806121b690612ad3565b915050612129565b5050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff821603612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610776565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b828054828255906000526020600020908101928215612337579160200282015b8281111561233757825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9091161782556020909201916001909101906122dd565b506123439291506123a1565b5090565b828054828255906000526020600020908101928215612337579160200282015b82811115612337578251825591602001919060010190612367565b604051806103e00160405280601f906020820280368337509192915050565b5b8082111561234357600081556001016123a2565b803560ff811681146102b357600080fd5b6000602082840312156123d957600080fd5b610463826123b6565b60005b838110156123fd5781810151838201526020016123e5565b8381111561240c576000848401525b50505050565b6000815180845261242a8160208601602086016123e2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006104636020830184612412565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156124e5576124e561246f565b604052919050565b600067ffffffffffffffff8211156125075761250761246f565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f83011261254457600080fd5b8135612557612552826124ed565b61249e565b81815284602083860101111561256c57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561259b57600080fd5b813567ffffffffffffffff8111156125b257600080fd5b6125be84828501612533565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146115ab57600080fd5b600080604083850312156125fb57600080fd5b82359150602083013561260d816125c6565b809150509250929050565b60006020828403121561262a57600080fd5b5035919050565b60008083601f84011261264357600080fd5b50813567ffffffffffffffff81111561265b57600080fd5b6020830191508360208260051b850101111561267657600080fd5b9250929050565b60008060008060008060008060e0898b03121561269957600080fd5b606089018a8111156126aa57600080fd5b8998503567ffffffffffffffff808211156126c457600080fd5b818b0191508b601f8301126126d857600080fd5b8135818111156126e757600080fd5b8c60208285010111156126f957600080fd5b6020830199508098505060808b013591508082111561271757600080fd5b6127238c838d01612631565b909750955060a08b013591508082111561273c57600080fd5b506127498b828c01612631565b999c989b50969995989497949560c00135949350505050565b6000806040838503121561277557600080fd5b50508035926020909101359150565b6000602080835283516040828501526127a06060850182612412565b858301518582037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0016040870152805180835290840192506000918401905b808310156127ff57835182529284019260019290920191908401906127df565b509695505050505050565b600067ffffffffffffffff8211156128245761282461246f565b5060051b60200190565b600082601f83011261283f57600080fd5b8135602061284f6125528361280a565b82815260059290921b8401810191818101908684111561286e57600080fd5b8286015b848110156127ff578035612885816125c6565b8352918301918301612872565b803567ffffffffffffffff811681146102b357600080fd5b60008060008060008060c087890312156128c357600080fd5b863567ffffffffffffffff808211156128db57600080fd5b6128e78a838b0161282e565b975060208901359150808211156128fd57600080fd5b6129098a838b0161282e565b965061291760408a016123b6565b9550606089013591508082111561292d57600080fd5b6129398a838b01612533565b945061294760808a01612892565b935060a089013591508082111561295d57600080fd5b5061296a89828a01612533565b9150509295509295509295565b60006020828403121561298957600080fd5b8135610463816125c6565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060ff821660ff84168060ff038211156129e0576129e0612994565b019392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a2057612a20612994565b500290565b600060ff831680612a5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b8060ff84160491505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff821660ff8103612ab357612ab3612994565b60010192915050565b600082821015612ace57612ace612994565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612b0457612b04612994565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600181811c90821680612b4e57607f821691505b602082108103612b87577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600063ffffffff808316818516808303821115612c0a57612c0a612994565b01949350505050565b600081518084526020808501945080840160005b83811015612c5957815173ffffffffffffffffffffffffffffffffffffffff1687529582019590820190600101612c27565b509495945050505050565b600061012063ffffffff808d1684528b6020850152808b16604085015250806060840152612c948184018a612c13565b90508281036080840152612ca88189612c13565b905060ff871660a084015282810360c0840152612cc58187612412565b905067ffffffffffffffff851660e0840152828103610100840152612cea8185612412565b9c9b505050505050505050505050565b600080600060608486031215612d0f57600080fd5b8351925060208085015167ffffffffffffffff80821115612d2f57600080fd5b818701915087601f830112612d4357600080fd5b8151612d51612552826124ed565b8181528985838601011115612d6557600080fd5b612d74828683018787016123e2565b604089015190965092505080821115612d8c57600080fd5b508501601f81018713612d9e57600080fd5b8051612dac6125528261280a565b81815260059190911b82018301908381019089831115612dcb57600080fd5b928401925b82841015612de957835182529284019290840190612dd0565b80955050505050509250925092565b73ffffffffffffffffffffffffffffffffffffffff831681526040602082015260006125be6040830184612412565b601f821115612e7157600081815260208120601f850160051c81016020861015612e4e5750805b601f850160051c820191505b81811015612e6d57828155600101612e5a565b5050505b505050565b815167ffffffffffffffff811115612e9057612e9061246f565b612ea481612e9e8454612b3a565b84612e27565b602080601f831160018114612ef75760008415612ec15750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612e6d565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015612f4457888601518255948401946001909101908401612f25565b5085821015612f8057878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008219821115612fa357612fa3612994565b500190565b8183823760009101908152919050565b8281526060826020830137600060809190910190815292915050565b60006101208b835273ffffffffffffffffffffffffffffffffffffffff8b16602084015267ffffffffffffffff808b16604085015281606085015261301b8285018b612c13565b9150838203608085015261302f828a612c13565b915060ff881660a085015283820360c085015261304c8288612412565b90861660e08501528381036101008501529050612cea818561241256fea164736f6c634300080f000a",
}

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

func (_DKG *DKGCaller) Bytes32ToString(opts *bind.CallOpts, s [32]byte) (string, error)

func (*DKGCaller) BytesToString

func (_DKG *DKGCaller) BytesToString(opts *bind.CallOpts, _bytes []byte) (string, 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) ToASCII

func (_DKG *DKGCaller) ToASCII(opts *bind.CallOpts, _uint8 uint8) (uint8, 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) 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) Owner

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

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 {
	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

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

func (_DKG *DKGSession) ToASCII(_uint8 uint8) (uint8, 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