dkg

package
v1.11.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 11 Imported by: 2

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\":\"address\",\"name\":\"a\",\"type\":\"address\"}],\"name\":\"addressToString\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"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: "0x60806040523480156200001157600080fd5b503380600081620000695760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b03848116919091179091558116156200009c576200009c81620000a5565b50505062000150565b336001600160a01b03821603620000ff5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000060565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b612a4580620001606000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806381ff704811610097578063b1dc65a411610066578063b1dc65a414610241578063c3105a6b14610254578063e3d0e71214610274578063f2fde38b1461028757600080fd5b806381ff7048146101bc5780638da5cb5b146101e95780639201de5514610204578063afcb95d71461021757600080fd5b80635429a79e116100d35780635429a79e146101795780635e57966d1461018e57806379ba5097146101a15780637bf1ffc5146101a957600080fd5b80630bc643e8146100fa578063181f5a771461012457806339614e4f14610166575b600080fd5b61010d610108366004611f6d565b61029a565b60405160ff90911681526020015b60405180910390f35b60408051808201909152600981527f444b4720302e302e31000000000000000000000000000000000000000000000060208201525b60405161011b9190611fe4565b6101596101743660046120bc565b6102c9565b61018c610187366004612106565b61044b565b005b61015961019c366004612136565b61068c565b61018c610753565b61018c6101b7366004612106565b610809565b600754600554604080516000815264010000000090930463ffffffff16602084015282015260600161011b565b6000546040516001600160a01b03909116815260200161011b565b610159610212366004612153565b610850565b6005546004546040805160008152602081019390935263ffffffff9091169082015260600161011b565b61018c61024f3660046121b8565b6108dc565b61026761026236600461229d565b610a28565b60405161011b91906122bf565b61018c6102823660046123c7565b610b50565b61018c610295366004612136565b6112db565b6000600a8260ff1610156102b9576102b38260306124aa565b92915050565b6102b38260576124aa565b919050565b6060600080835160026102dc91906124cf565b67ffffffffffffffff8111156102f4576102f4611ff7565b6040519080825280601f01601f19166020018201604052801561031e576020820181803683370190505b509050600091505b80518260ff161015610444576000846103406002856124ee565b60ff16815181106103535761035361251e565b60209101015160f81c600f16905060006004866103716002876124ee565b60ff16815181106103845761038461251e565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c90506103bb8161029a565b60f81b838560ff16815181106103d3576103d361251e565b60200101906001600160f81b031916908160001a9053506103f58460016124aa565b93506104008261029a565b60f81b838560ff16815181106104185761041861251e565b60200101906001600160f81b031916908160001a9053505050818061043c90612534565b925050610326565b9392505050565b6104536112ef565b6000828152600260209081526040808320805482518185028101850190935280835291929091908301828280156104b357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610495575b505050505090506000815167ffffffffffffffff8111156104d6576104d6611ff7565b6040519080825280602002602001820160405280156104ff578160200160208202803683370190505b5090506000805b83518110156105a257846001600160a01b031684828151811061052b5761052b61251e565b60200260200101516001600160a01b03161461058257848361054d8484612553565b8151811061055d5761055d61251e565b60200260200101906001600160a01b031690816001600160a01b031681525050610590565b8161058c8161256a565b9250505b8061059a8161256a565b915050610506565b5060008184516105b29190612553565b67ffffffffffffffff8111156105ca576105ca611ff7565b6040519080825280602002602001820160405280156105f3578160200160208202803683370190505b50905060005b8285516106069190612553565b8110156106635783818151811061061f5761061f61251e565b60200260200101518282815181106106395761063961251e565b6001600160a01b03909216602092830291909101909101528061065b8161256a565b9150506105f9565b506000868152600260209081526040909120825161068392840190611e88565b50505050505050565b604080516014808252818301909252606091600091906020820181803683370190505090508260005b60148160ff161015610741577fff0000000000000000000000000000000000000000000000000000000000000060f883901b16836106f4836013612583565b60ff16815181106107075761070761251e565b60200101906001600160f81b031916908160001a9053506008826001600160a01b0316901c9150808061073990612534565b9150506106b5565b5061074b826102c9565b949350505050565b6001546001600160a01b031633146107b25760405162461bcd60e51b815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b60008054336001600160a01b0319808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6108116112ef565b600091825260026020908152604083208054600181018255908452922090910180546001600160a01b0319166001600160a01b03909216919091179055565b6040805160208082528183019092526060916000919060208201818036833701905050905060005b60208110156108d2578381602081106108935761089361251e565b1a60f81b8282815181106108a9576108a961251e565b60200101906001600160f81b031916908160001a905350806108ca8161256a565b915050610878565b50610444816102c9565b60005a604080516020601f8b018190048102820181019092528981529192508a3591818c01359161092c9184918491908e908e908190840183828082843760009201919091525061134b92505050565b6040805183815263ffffffff600884901c1660208201527fb04e63db38c49950639fa09d29872f21f5d49d614f3a969d8adf3d4b52e41a62910160405180910390a16040805160608101825260055480825260065460ff808216602085015261010090910416928201929092529083146109e85760405162461bcd60e51b815260206004820152601560248201527f636f6e666967446967657374206d69736d61746368000000000000000000000060448201526064016107a9565b6109f68b8b8b8b8b8b6115a5565b610a078c8c8c8c8c8c8c8c89611639565b50505063ffffffff8110610a1d57610a1d6125a6565b505050505050505050565b60408051808201909152606080825260208201526000838152600360209081526040808320858452909152908190208151808301909252805482908290610a6e906125bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a906125bc565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015610b3f57602002820191906000526020600020905b815481526020019060010190808311610b2b575b505050505081525050905092915050565b855185518560ff16601f831115610ba95760405162461bcd60e51b815260206004820152601060248201527f746f6f206d616e79207369676e6572730000000000000000000000000000000060448201526064016107a9565b60008111610bf95760405162461bcd60e51b815260206004820152601260248201527f66206d75737420626520706f736974697665000000000000000000000000000060448201526064016107a9565b818314610c6d5760405162461bcd60e51b8152602060048201526024808201527f6f7261636c6520616464726573736573206f7574206f6620726567697374726160448201527f74696f6e0000000000000000000000000000000000000000000000000000000060648201526084016107a9565b610c788160036124cf565b8311610cc65760405162461bcd60e51b815260206004820152601860248201527f6661756c74792d6f7261636c65206620746f6f2068696768000000000000000060448201526064016107a9565b610cce6112ef565b6040805160c0810182528a8152602081018a905260ff8916918101919091526060810187905267ffffffffffffffff8616608082015260a081018590525b60095415610e1e57600954600090610d2690600190612553565b9050600060098281548110610d3d57610d3d61251e565b6000918252602082200154600a80546001600160a01b0390921693509084908110610d6a57610d6a61251e565b60009182526020808320909101546001600160a01b03858116845260089092526040808420805461ffff1990811690915592909116808452922080549091169055600980549192509080610dc057610dc06125f6565b600082815260209020810160001990810180546001600160a01b0319169055019055600a805480610df357610df36125f6565b600082815260209020810160001990810180546001600160a01b031916905501905550610d0c915050565b60005b81515181101561115d5760006008600084600001518481518110610e4757610e4761251e565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610e8457610e8461260c565b14610ed15760405162461bcd60e51b815260206004820152601760248201527f7265706561746564207369676e6572206164647265737300000000000000000060448201526064016107a9565b6040805180820190915260ff82168152600160208201528251805160089160009185908110610f0257610f0261251e565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff191617610100836002811115610f5b57610f5b61260c565b021790555060009150610f6b9050565b6008600084602001518481518110610f8557610f8561251e565b6020908102919091018101516001600160a01b0316825281019190915260400160002054610100900460ff166002811115610fc257610fc261260c565b1461100f5760405162461bcd60e51b815260206004820152601c60248201527f7265706561746564207472616e736d697474657220616464726573730000000060448201526064016107a9565b6040805180820190915260ff8216815260208101600281525060086000846020015184815181106110425761104261251e565b6020908102919091018101516001600160a01b03168252818101929092526040016000208251815460ff90911660ff19821681178355928401519192839161ffff19161761010083600281111561109b5761109b61260c565b0217905550508251805160099250839081106110b9576110b961251e565b602090810291909101810151825460018101845560009384529282902090920180546001600160a01b0319166001600160a01b03909316929092179091558201518051600a9190839081106111105761111061251e565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b03909216919091179055806111558161256a565b915050610e21565b5060408101516006805460ff191660ff909216919091179055600754640100000000900463ffffffff1661118f611ac8565b6007805463ffffffff9283166401000000000267ffffffff00000000198216811783556001936000926111c9928692908116911617612622565b92506101000a81548163ffffffff021916908363ffffffff160217905550600061122a4630600760009054906101000a900463ffffffff1663ffffffff1686600001518760200151886040015189606001518a608001518b60a00151611b52565b6005819055835180516006805460ff9092166101000261ff00199092169190911790556007546020860151604080880151606089015160808a015160a08b015193519798507f1591690b8638f5fb2dbec82ac741805ac5da8b45dc5263f4875b0496fdce4e05976112b2978b978b9763ffffffff90911696919590949093909290919061268e565b60405180910390a16112cd8360400151846060015183611bdf565b505050505050505050505050565b6112e36112ef565b6112ec81611ddf565b50565b6000546001600160a01b031633146113495760405162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e65720000000000000000000060448201526064016107a9565b565b6000606080838060200190518101906113649190612724565b60408051808201825283815260208082018490526000868152600282528381208054855181850281018501909652808652979a50959850939650909492939192908301828280156113de57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116113c0575b5050505050905060005b81518110156114fb578181815181106114035761140361251e565b60200260200101516001600160a01b031663bf2732c7846040518263ffffffff1660e01b815260040161143691906122bf565b600060405180830381600087803b15801561145057600080fd5b505af1925050508015611461575060015b6114e9573d80801561148f576040519150601f19603f3d011682016040523d82523d6000602084013e611494565b606091505b507f116391732f5df106193bda7cedf1728f3b07b62f6cdcdd611c9eeec44efcae548383815181106114c8576114c861251e565b6020026020010151826040516114df929190612822565b60405180910390a1505b806114f38161256a565b9150506113e8565b5060008581526003602090815260408083208b84529091529020825183919081906115269082612893565b50602082810151805161153f9260018501920190611eed565b5090505084887fc8db841f5b2231ccf7190311f440aa197b161e369f3b40b023508160cc5556568460405161157491906122bf565b60405180910390a350506004805460089690961c63ffffffff1663ffffffff19909616959095179094555050505050565b60006115b28260206124cf565b6115bd8560206124cf565b6115c988610144612953565b6115d39190612953565b6115dd9190612953565b6115e8906000612953565b90503681146106835760405162461bcd60e51b815260206004820152601860248201527f63616c6c64617461206c656e677468206d69736d61746368000000000000000060448201526064016107a9565b600060028260200151836040015161165191906124aa565b61165b91906124ee565b6116669060016124aa565b60408051600180825281830190925260ff929092169250600091906020820181803683370190505090508160f81b816000815181106116a7576116a761251e565b60200101906001600160f81b031916908160001a9053508682146116ca826102c9565b906116e85760405162461bcd60e51b81526004016107a99190611fe4565b508685146117385760405162461bcd60e51b815260206004820152601e60248201527f7369676e617475726573206f7574206f6620726567697374726174696f6e000060448201526064016107a9565b3360009081526008602090815260408083208151808301909252805460ff8082168452929391929184019161010090910416600281111561177b5761177b61260c565b600281111561178c5761178c61260c565b90525090506002816020015160028111156117a9576117a961260c565b1480156117e35750600a816000015160ff16815481106117cb576117cb61251e565b6000918252602090912001546001600160a01b031633145b61182f5760405162461bcd60e51b815260206004820152601860248201527f756e617574686f72697a6564207472616e736d6974746572000000000000000060448201526064016107a9565b5050506000888860405161184492919061296b565b60405190819003812061185b918c9060200161297b565b60405160208183030381529060405280519060200120905061187b611f28565b604080518082019091526000808252602082015260005b88811015611ab95760006001858884602081106118b1576118b161251e565b6118be91901a601b6124aa565b8d8d868181106118d0576118d061251e565b905060200201358c8c878181106118e9576118e961251e565b9050602002013560405160008152602001604052604051611926949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015611948573d6000803e3d6000fd5b505060408051601f198101516001600160a01b03811660009081526008602090815290849020838501909452835460ff8082168552929650929450840191610100900416600281111561199d5761199d61260c565b60028111156119ae576119ae61260c565b90525092506001836020015160028111156119cb576119cb61260c565b14611a185760405162461bcd60e51b815260206004820152601e60248201527f61646472657373206e6f7420617574686f72697a656420746f207369676e000060448201526064016107a9565b8251849060ff16601f8110611a2f57611a2f61251e565b602002015115611a815760405162461bcd60e51b815260206004820152601460248201527f6e6f6e2d756e69717565207369676e617475726500000000000000000000000060448201526064016107a9565b600184846000015160ff16601f8110611a9c57611a9c61251e565b911515602090920201525080611ab18161256a565b915050611892565b50505050505050505050505050565b60004661a4b1811480611add575062066eed81145b15611b4b5760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b459190612997565b91505090565b4391505090565b6000808a8a8a8a8a8a8a8a8a604051602001611b76999897969594939291906129b0565b60408051601f1981840301815291905280516020909101207dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167e01000000000000000000000000000000000000000000000000000000000000179150509998505050505050505050565b6000808351602014611c335760405162461bcd60e51b815260206004820152601e60248201527f77726f6e67206c656e67746820666f72206f6e636861696e436f6e666967000060448201526064016107a9565b60208401519150808203611c895760405162461bcd60e51b815260206004820152601460248201527f6661696c656420746f20636f7079206b6579494400000000000000000000000060448201526064016107a9565b60408051808201909152606080825260208201526000838152600360209081526040808320878452909152902081518291908190611cc79082612893565b506020828101518051611ce09260018501920190611eed565b505050600083815260026020908152604080832080548251818502810185019093528083529192909190830182828015611d4357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d25575b5050505050905060005b8151811015611dd557818181518110611d6857611d6861251e565b60200260200101516001600160a01b03166355e487496040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611daa57600080fd5b505af1158015611dbe573d6000803e3d6000fd5b505050508080611dcd9061256a565b915050611d4d565b5050505050505050565b336001600160a01b03821603611e375760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c6600000000000000000060448201526064016107a9565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b828054828255906000526020600020908101928215611edd579160200282015b82811115611edd57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611ea8565b50611ee9929150611f47565b5090565b828054828255906000526020600020908101928215611edd579160200282015b82811115611edd578251825591602001919060010190611f0d565b604051806103e00160405280601f906020820280368337509192915050565b5b80821115611ee95760008155600101611f48565b803560ff811681146102c457600080fd5b600060208284031215611f7f57600080fd5b61044482611f5c565b60005b83811015611fa3578181015183820152602001611f8b565b83811115611fb2576000848401525b50505050565b60008151808452611fd0816020860160208601611f88565b601f01601f19169290920160200192915050565b6020815260006104446020830184611fb8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561203657612036611ff7565b604052919050565b600067ffffffffffffffff82111561205857612058611ff7565b50601f01601f191660200190565b600082601f83011261207757600080fd5b813561208a6120858261203e565b61200d565b81815284602083860101111561209f57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156120ce57600080fd5b813567ffffffffffffffff8111156120e557600080fd5b61074b84828501612066565b6001600160a01b03811681146112ec57600080fd5b6000806040838503121561211957600080fd5b82359150602083013561212b816120f1565b809150509250929050565b60006020828403121561214857600080fd5b8135610444816120f1565b60006020828403121561216557600080fd5b5035919050565b60008083601f84011261217e57600080fd5b50813567ffffffffffffffff81111561219657600080fd5b6020830191508360208260051b85010111156121b157600080fd5b9250929050565b60008060008060008060008060e0898b0312156121d457600080fd5b606089018a8111156121e557600080fd5b8998503567ffffffffffffffff808211156121ff57600080fd5b818b0191508b601f83011261221357600080fd5b81358181111561222257600080fd5b8c602082850101111561223457600080fd5b6020830199508098505060808b013591508082111561225257600080fd5b61225e8c838d0161216c565b909750955060a08b013591508082111561227757600080fd5b506122848b828c0161216c565b999c989b50969995989497949560c00135949350505050565b600080604083850312156122b057600080fd5b50508035926020909101359150565b6000602080835283516040828501526122db6060850182611fb8565b85830151858203601f19016040870152805180835290840192506000918401905b8083101561231c57835182529284019260019290920191908401906122fc565b509695505050505050565b600067ffffffffffffffff82111561234157612341611ff7565b5060051b60200190565b600082601f83011261235c57600080fd5b8135602061236c61208583612327565b82815260059290921b8401810191818101908684111561238b57600080fd5b8286015b8481101561231c5780356123a2816120f1565b835291830191830161238f565b803567ffffffffffffffff811681146102c457600080fd5b60008060008060008060c087890312156123e057600080fd5b863567ffffffffffffffff808211156123f857600080fd5b6124048a838b0161234b565b9750602089013591508082111561241a57600080fd5b6124268a838b0161234b565b965061243460408a01611f5c565b9550606089013591508082111561244a57600080fd5b6124568a838b01612066565b945061246460808a016123af565b935060a089013591508082111561247a57600080fd5b5061248789828a01612066565b9150509295509295509295565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff84168060ff038211156124c7576124c7612494565b019392505050565b60008160001904831182151516156124e9576124e9612494565b500290565b600060ff83168061250f57634e487b7160e01b600052601260045260246000fd5b8060ff84160491505092915050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff810361254a5761254a612494565b60010192915050565b60008282101561256557612565612494565b500390565b60006001820161257c5761257c612494565b5060010190565b600060ff821660ff84168082101561259d5761259d612494565b90039392505050565b634e487b7160e01b600052600160045260246000fd5b600181811c908216806125d057607f821691505b6020821081036125f057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b600063ffffffff80831681851680830382111561264157612641612494565b01949350505050565b600081518084526020808501945080840160005b838110156126835781516001600160a01b03168752958201959082019060010161265e565b509495945050505050565b600061012063ffffffff808d1684528b6020850152808b166040850152508060608401526126be8184018a61264a565b905082810360808401526126d2818961264a565b905060ff871660a084015282810360c08401526126ef8187611fb8565b905067ffffffffffffffff851660e08401528281036101008401526127148185611fb8565b9c9b505050505050505050505050565b60008060006060848603121561273957600080fd5b8351925060208085015167ffffffffffffffff8082111561275957600080fd5b818701915087601f83011261276d57600080fd5b815161277b6120858261203e565b818152898583860101111561278f57600080fd5b61279e82868301878701611f88565b6040890151909650925050808211156127b657600080fd5b508501601f810187136127c857600080fd5b80516127d661208582612327565b81815260059190911b820183019083810190898311156127f557600080fd5b928401925b82841015612813578351825292840192908401906127fa565b80955050505050509250925092565b6001600160a01b038316815260406020820152600061074b6040830184611fb8565b601f82111561288e57600081815260208120601f850160051c8101602086101561286b5750805b601f850160051c820191505b8181101561288a57828155600101612877565b5050505b505050565b815167ffffffffffffffff8111156128ad576128ad611ff7565b6128c1816128bb84546125bc565b84612844565b602080601f8311600181146128f657600084156128de5750858301515b600019600386901b1c1916600185901b17855561288a565b600085815260208120601f198616915b8281101561292557888601518255948401946001909101908401612906565b50858210156129435787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000821982111561296657612966612494565b500190565b8183823760009101908152919050565b8281526060826020830137600060809190910190815292915050565b6000602082840312156129a957600080fd5b5051919050565b60006101208b83526001600160a01b038b16602084015267ffffffffffffffff808b1660408501528160608501526129ea8285018b61264a565b915083820360808501526129fe828a61264a565b915060ff881660a085015283820360c0850152612a1b8288611fb8565b90861660e085015283810361010085015290506127148185611fb856fea164736f6c634300080f000a",
}

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) AddressToString added in v1.10.0

func (_DKG *DKGCaller) AddressToString(opts *bind.CallOpts, a common.Address) (string, 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) AddressToString added in v1.10.0

func (_DKG *DKGCallerSession) AddressToString(a common.Address) (string, error)

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 {
	AddressToString(opts *bind.CallOpts, a common.Address) (string, error)

	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) AddressToString added in v1.10.0

func (_DKG *DKGSession) AddressToString(a common.Address) (string, 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