ethdkg

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const EthdkgABI = "" /* 11861-byte string literal not displayed */

EthdkgABI is the input ABI used to generate the binding from.

Variables

View Source
var EthdkgBin = "" /* 40134-byte string literal not displayed */

EthdkgBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Ethdkg

type Ethdkg struct {
	EthdkgCaller     // Read-only binding to the contract
	EthdkgTransactor // Write-only binding to the contract
	EthdkgFilterer   // Log filterer for contract events
}

Ethdkg is an auto generated Go binding around an Ethereum contract.

func DeployEthdkg

func DeployEthdkg(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ethdkg, error)

DeployEthdkg deploys a new Ethereum contract, binding an instance of Ethdkg to it.

func NewEthdkg

func NewEthdkg(address common.Address, backend bind.ContractBackend) (*Ethdkg, error)

NewEthdkg creates a new instance of Ethdkg, bound to a specific deployed contract.

type EthdkgCaller

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

EthdkgCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewEthdkgCaller

func NewEthdkgCaller(address common.Address, caller bind.ContractCaller) (*EthdkgCaller, error)

NewEthdkgCaller creates a new read-only instance of Ethdkg, bound to a specific deployed contract.

func (*EthdkgCaller) Addresses

func (_Ethdkg *EthdkgCaller) Addresses(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Addresses is a free data retrieval call binding the contract method 0xedf26d9b.

Solidity: function addresses(uint256 ) view returns(address)

func (*EthdkgCaller) AggregateSignatures

func (_Ethdkg *EthdkgCaller) AggregateSignatures(opts *bind.CallOpts, sigs [][2]*big.Int, indices []*big.Int, threshold *big.Int, invArray []*big.Int) ([2]*big.Int, error)

AggregateSignatures is a free data retrieval call binding the contract method 0xf022e061.

Solidity: function AggregateSignatures(uint256[2][] sigs, uint256[] indices, uint256 threshold, uint256[] invArray) view returns(uint256[2])

func (*EthdkgCaller) CheckIndices

func (_Ethdkg *EthdkgCaller) CheckIndices(opts *bind.CallOpts, honestIndices []*big.Int, dishonestIndices []*big.Int, n *big.Int) (bool, error)

CheckIndices is a free data retrieval call binding the contract method 0x80f4a922.

Solidity: function checkIndices(uint256[] honestIndices, uint256[] dishonestIndices, uint256 n) pure returns(bool validIndices)

func (*EthdkgCaller) CheckInverses

func (_Ethdkg *EthdkgCaller) CheckInverses(opts *bind.CallOpts, invArray []*big.Int, maxIndex *big.Int) (bool, error)

CheckInverses is a free data retrieval call binding the contract method 0xe480a92e.

Solidity: function checkInverses(uint256[] invArray, uint256 maxIndex) pure returns(bool)

func (*EthdkgCaller) Commitments1stCoefficient

func (_Ethdkg *EthdkgCaller) Commitments1stCoefficient(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Commitments1stCoefficient is a free data retrieval call binding the contract method 0x2cf4050b.

Solidity: function commitments_1st_coefficient(address , uint256 ) view returns(uint256)

func (*EthdkgCaller) DELTACONFIRM

func (_Ethdkg *EthdkgCaller) DELTACONFIRM(opts *bind.CallOpts) (*big.Int, error)

DELTACONFIRM is a free data retrieval call binding the contract method 0x7543b80f.

Solidity: function DELTA_CONFIRM() view returns(uint256)

func (*EthdkgCaller) DELTAINCLUDE

func (_Ethdkg *EthdkgCaller) DELTAINCLUDE(opts *bind.CallOpts) (*big.Int, error)

DELTAINCLUDE is a free data retrieval call binding the contract method 0x0f21e5d8.

Solidity: function DELTA_INCLUDE() view returns(uint256)

func (*EthdkgCaller) GpkjDisputeCheck

func (_Ethdkg *EthdkgCaller) GpkjDisputeCheck(opts *bind.CallOpts) (bool, error)

GpkjDisputeCheck is a free data retrieval call binding the contract method 0xd1be7cc5.

Solidity: function gpkj_dispute_check() view returns(bool)

func (*EthdkgCaller) GpkjSubmissionCheck

func (_Ethdkg *EthdkgCaller) GpkjSubmissionCheck(opts *bind.CallOpts) (bool, error)

GpkjSubmissionCheck is a free data retrieval call binding the contract method 0x59f3effc.

Solidity: function gpkj_submission_check() view returns(bool)

func (*EthdkgCaller) GpkjSubmissions

func (_Ethdkg *EthdkgCaller) GpkjSubmissions(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

GpkjSubmissions is a free data retrieval call binding the contract method 0xfef001a9.

Solidity: function gpkj_submissions(address , uint256 ) view returns(uint256)

func (*EthdkgCaller) HashToG1

func (_Ethdkg *EthdkgCaller) HashToG1(opts *bind.CallOpts, message []byte) ([2]*big.Int, error)

HashToG1 is a free data retrieval call binding the contract method 0x95add79c.

Solidity: function HashToG1(bytes message) view returns(uint256[2] h)

func (*EthdkgCaller) InitialMessage

func (_Ethdkg *EthdkgCaller) InitialMessage(opts *bind.CallOpts) ([]byte, error)

InitialMessage is a free data retrieval call binding the contract method 0xaa7bd338.

Solidity: function initial_message() view returns(bytes)

func (*EthdkgCaller) InitialSignatures

func (_Ethdkg *EthdkgCaller) InitialSignatures(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

InitialSignatures is a free data retrieval call binding the contract method 0x7328f826.

Solidity: function initial_signatures(address , uint256 ) view returns(uint256)

func (*EthdkgCaller) IsMalicious

func (_Ethdkg *EthdkgCaller) IsMalicious(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsMalicious is a free data retrieval call binding the contract method 0xeadfcadc.

Solidity: function is_malicious(address ) view returns(bool)

func (*EthdkgCaller) KeyShareSubmissionCheck

func (_Ethdkg *EthdkgCaller) KeyShareSubmissionCheck(opts *bind.CallOpts) (bool, error)

KeyShareSubmissionCheck is a free data retrieval call binding the contract method 0x836889dc.

Solidity: function key_share_submission_check() view returns(bool)

func (*EthdkgCaller) KeyShares

func (_Ethdkg *EthdkgCaller) KeyShares(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

KeyShares is a free data retrieval call binding the contract method 0xa88c9e1c.

Solidity: function key_shares(address , uint256 ) view returns(uint256)

func (*EthdkgCaller) MasterPublicKey

func (_Ethdkg *EthdkgCaller) MasterPublicKey(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

MasterPublicKey is a free data retrieval call binding the contract method 0xe6511378.

Solidity: function master_public_key(uint256 ) view returns(uint256)

func (*EthdkgCaller) MpkSubmissionCheck

func (_Ethdkg *EthdkgCaller) MpkSubmissionCheck(opts *bind.CallOpts) (bool, error)

MpkSubmissionCheck is a free data retrieval call binding the contract method 0x050a54f0.

Solidity: function mpk_submission_check() view returns(bool)

func (*EthdkgCaller) NumNodes

func (_Ethdkg *EthdkgCaller) NumNodes(opts *bind.CallOpts) (*big.Int, error)

NumNodes is a free data retrieval call binding the contract method 0x02cd0423.

Solidity: function num_nodes() view returns(uint256)

func (*EthdkgCaller) PublicKeys

func (_Ethdkg *EthdkgCaller) PublicKeys(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

PublicKeys is a free data retrieval call binding the contract method 0x92896b2d.

Solidity: function public_keys(address , uint256 ) view returns(uint256)

func (*EthdkgCaller) SafeSigningPoint

func (_Ethdkg *EthdkgCaller) SafeSigningPoint(opts *bind.CallOpts, input [2]*big.Int) (bool, error)

SafeSigningPoint is a free data retrieval call binding the contract method 0x96d95a6f.

Solidity: function safeSigningPoint(uint256[2] input) pure returns(bool)

func (*EthdkgCaller) ShareDisputeCheck

func (_Ethdkg *EthdkgCaller) ShareDisputeCheck(opts *bind.CallOpts) (bool, error)

ShareDisputeCheck is a free data retrieval call binding the contract method 0xb6e8c6e6.

Solidity: function share_dispute_check() view returns(bool)

func (*EthdkgCaller) ShareDistributionCheck

func (_Ethdkg *EthdkgCaller) ShareDistributionCheck(opts *bind.CallOpts) (bool, error)

ShareDistributionCheck is a free data retrieval call binding the contract method 0x2f11b985.

Solidity: function share_distribution_check() view returns(bool)

func (*EthdkgCaller) ShareDistributionHashes

func (_Ethdkg *EthdkgCaller) ShareDistributionHashes(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)

ShareDistributionHashes is a free data retrieval call binding the contract method 0xc21bee83.

Solidity: function share_distribution_hashes(address ) view returns(bytes32)

func (*EthdkgCaller) Sign

func (_Ethdkg *EthdkgCaller) Sign(opts *bind.CallOpts, message []byte, privK *big.Int) ([2]*big.Int, error)

Sign is a free data retrieval call binding the contract method 0x6bdf477c.

Solidity: function Sign(bytes message, uint256 privK) view returns(uint256[2] sig)

func (*EthdkgCaller) TDISPUTEEND

func (_Ethdkg *EthdkgCaller) TDISPUTEEND(opts *bind.CallOpts) (*big.Int, error)

TDISPUTEEND is a free data retrieval call binding the contract method 0xd3cf6186.

Solidity: function T_DISPUTE_END() view returns(uint256)

func (*EthdkgCaller) TGPKJDISPUTEEND

func (_Ethdkg *EthdkgCaller) TGPKJDISPUTEEND(opts *bind.CallOpts) (*big.Int, error)

TGPKJDISPUTEEND is a free data retrieval call binding the contract method 0xab63c722.

Solidity: function T_GPKJ_DISPUTE_END() view returns(uint256)

func (*EthdkgCaller) TGPKJSUBMISSIONEND

func (_Ethdkg *EthdkgCaller) TGPKJSUBMISSIONEND(opts *bind.CallOpts) (*big.Int, error)

TGPKJSUBMISSIONEND is a free data retrieval call binding the contract method 0x9c2aa838.

Solidity: function T_GPKJ_SUBMISSION_END() view returns(uint256)

func (*EthdkgCaller) TKEYSHARESUBMISSIONEND

func (_Ethdkg *EthdkgCaller) TKEYSHARESUBMISSIONEND(opts *bind.CallOpts) (*big.Int, error)

TKEYSHARESUBMISSIONEND is a free data retrieval call binding the contract method 0xe2291ec3.

Solidity: function T_KEY_SHARE_SUBMISSION_END() view returns(uint256)

func (*EthdkgCaller) TMPKSUBMISSIONEND

func (_Ethdkg *EthdkgCaller) TMPKSUBMISSIONEND(opts *bind.CallOpts) (*big.Int, error)

TMPKSUBMISSIONEND is a free data retrieval call binding the contract method 0x07f02c54.

Solidity: function T_MPK_SUBMISSION_END() view returns(uint256)

func (*EthdkgCaller) TREGISTRATIONEND

func (_Ethdkg *EthdkgCaller) TREGISTRATIONEND(opts *bind.CallOpts) (*big.Int, error)

TREGISTRATIONEND is a free data retrieval call binding the contract method 0x0de1553f.

Solidity: function T_REGISTRATION_END() view returns(uint256)

func (*EthdkgCaller) TSHAREDISTRIBUTIONEND

func (_Ethdkg *EthdkgCaller) TSHAREDISTRIBUTIONEND(opts *bind.CallOpts) (*big.Int, error)

TSHAREDISTRIBUTIONEND is a free data retrieval call binding the contract method 0xdc614e28.

Solidity: function T_SHARE_DISTRIBUTION_END() view returns(uint256)

func (*EthdkgCaller) Verify

func (_Ethdkg *EthdkgCaller) Verify(opts *bind.CallOpts, message []byte, sig [2]*big.Int, pubK [4]*big.Int) (bool, error)

Verify is a free data retrieval call binding the contract method 0x06367587.

Solidity: function Verify(bytes message, uint256[2] sig, uint256[4] pubK) view returns(bool v)

type EthdkgCallerRaw

type EthdkgCallerRaw struct {
	Contract *EthdkgCaller // Generic read-only contract binding to access the raw methods on
}

EthdkgCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*EthdkgCallerRaw) Call

func (_Ethdkg *EthdkgCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type EthdkgCallerSession

type EthdkgCallerSession struct {
	Contract *EthdkgCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

EthdkgCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*EthdkgCallerSession) Addresses

func (_Ethdkg *EthdkgCallerSession) Addresses(arg0 *big.Int) (common.Address, error)

Addresses is a free data retrieval call binding the contract method 0xedf26d9b.

Solidity: function addresses(uint256 ) view returns(address)

func (*EthdkgCallerSession) AggregateSignatures

func (_Ethdkg *EthdkgCallerSession) AggregateSignatures(sigs [][2]*big.Int, indices []*big.Int, threshold *big.Int, invArray []*big.Int) ([2]*big.Int, error)

AggregateSignatures is a free data retrieval call binding the contract method 0xf022e061.

Solidity: function AggregateSignatures(uint256[2][] sigs, uint256[] indices, uint256 threshold, uint256[] invArray) view returns(uint256[2])

func (*EthdkgCallerSession) CheckIndices

func (_Ethdkg *EthdkgCallerSession) CheckIndices(honestIndices []*big.Int, dishonestIndices []*big.Int, n *big.Int) (bool, error)

CheckIndices is a free data retrieval call binding the contract method 0x80f4a922.

Solidity: function checkIndices(uint256[] honestIndices, uint256[] dishonestIndices, uint256 n) pure returns(bool validIndices)

func (*EthdkgCallerSession) CheckInverses

func (_Ethdkg *EthdkgCallerSession) CheckInverses(invArray []*big.Int, maxIndex *big.Int) (bool, error)

CheckInverses is a free data retrieval call binding the contract method 0xe480a92e.

Solidity: function checkInverses(uint256[] invArray, uint256 maxIndex) pure returns(bool)

func (*EthdkgCallerSession) Commitments1stCoefficient

func (_Ethdkg *EthdkgCallerSession) Commitments1stCoefficient(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Commitments1stCoefficient is a free data retrieval call binding the contract method 0x2cf4050b.

Solidity: function commitments_1st_coefficient(address , uint256 ) view returns(uint256)

func (*EthdkgCallerSession) DELTACONFIRM

func (_Ethdkg *EthdkgCallerSession) DELTACONFIRM() (*big.Int, error)

DELTACONFIRM is a free data retrieval call binding the contract method 0x7543b80f.

Solidity: function DELTA_CONFIRM() view returns(uint256)

func (*EthdkgCallerSession) DELTAINCLUDE

func (_Ethdkg *EthdkgCallerSession) DELTAINCLUDE() (*big.Int, error)

DELTAINCLUDE is a free data retrieval call binding the contract method 0x0f21e5d8.

Solidity: function DELTA_INCLUDE() view returns(uint256)

func (*EthdkgCallerSession) GpkjDisputeCheck

func (_Ethdkg *EthdkgCallerSession) GpkjDisputeCheck() (bool, error)

GpkjDisputeCheck is a free data retrieval call binding the contract method 0xd1be7cc5.

Solidity: function gpkj_dispute_check() view returns(bool)

func (*EthdkgCallerSession) GpkjSubmissionCheck

func (_Ethdkg *EthdkgCallerSession) GpkjSubmissionCheck() (bool, error)

GpkjSubmissionCheck is a free data retrieval call binding the contract method 0x59f3effc.

Solidity: function gpkj_submission_check() view returns(bool)

func (*EthdkgCallerSession) GpkjSubmissions

func (_Ethdkg *EthdkgCallerSession) GpkjSubmissions(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

GpkjSubmissions is a free data retrieval call binding the contract method 0xfef001a9.

Solidity: function gpkj_submissions(address , uint256 ) view returns(uint256)

func (*EthdkgCallerSession) HashToG1

func (_Ethdkg *EthdkgCallerSession) HashToG1(message []byte) ([2]*big.Int, error)

HashToG1 is a free data retrieval call binding the contract method 0x95add79c.

Solidity: function HashToG1(bytes message) view returns(uint256[2] h)

func (*EthdkgCallerSession) InitialMessage

func (_Ethdkg *EthdkgCallerSession) InitialMessage() ([]byte, error)

InitialMessage is a free data retrieval call binding the contract method 0xaa7bd338.

Solidity: function initial_message() view returns(bytes)

func (*EthdkgCallerSession) InitialSignatures

func (_Ethdkg *EthdkgCallerSession) InitialSignatures(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

InitialSignatures is a free data retrieval call binding the contract method 0x7328f826.

Solidity: function initial_signatures(address , uint256 ) view returns(uint256)

func (*EthdkgCallerSession) IsMalicious

func (_Ethdkg *EthdkgCallerSession) IsMalicious(arg0 common.Address) (bool, error)

IsMalicious is a free data retrieval call binding the contract method 0xeadfcadc.

Solidity: function is_malicious(address ) view returns(bool)

func (*EthdkgCallerSession) KeyShareSubmissionCheck

func (_Ethdkg *EthdkgCallerSession) KeyShareSubmissionCheck() (bool, error)

KeyShareSubmissionCheck is a free data retrieval call binding the contract method 0x836889dc.

Solidity: function key_share_submission_check() view returns(bool)

func (*EthdkgCallerSession) KeyShares

func (_Ethdkg *EthdkgCallerSession) KeyShares(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

KeyShares is a free data retrieval call binding the contract method 0xa88c9e1c.

Solidity: function key_shares(address , uint256 ) view returns(uint256)

func (*EthdkgCallerSession) MasterPublicKey

func (_Ethdkg *EthdkgCallerSession) MasterPublicKey(arg0 *big.Int) (*big.Int, error)

MasterPublicKey is a free data retrieval call binding the contract method 0xe6511378.

Solidity: function master_public_key(uint256 ) view returns(uint256)

func (*EthdkgCallerSession) MpkSubmissionCheck

func (_Ethdkg *EthdkgCallerSession) MpkSubmissionCheck() (bool, error)

MpkSubmissionCheck is a free data retrieval call binding the contract method 0x050a54f0.

Solidity: function mpk_submission_check() view returns(bool)

func (*EthdkgCallerSession) NumNodes

func (_Ethdkg *EthdkgCallerSession) NumNodes() (*big.Int, error)

NumNodes is a free data retrieval call binding the contract method 0x02cd0423.

Solidity: function num_nodes() view returns(uint256)

func (*EthdkgCallerSession) PublicKeys

func (_Ethdkg *EthdkgCallerSession) PublicKeys(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

PublicKeys is a free data retrieval call binding the contract method 0x92896b2d.

Solidity: function public_keys(address , uint256 ) view returns(uint256)

func (*EthdkgCallerSession) SafeSigningPoint

func (_Ethdkg *EthdkgCallerSession) SafeSigningPoint(input [2]*big.Int) (bool, error)

SafeSigningPoint is a free data retrieval call binding the contract method 0x96d95a6f.

Solidity: function safeSigningPoint(uint256[2] input) pure returns(bool)

func (*EthdkgCallerSession) ShareDisputeCheck

func (_Ethdkg *EthdkgCallerSession) ShareDisputeCheck() (bool, error)

ShareDisputeCheck is a free data retrieval call binding the contract method 0xb6e8c6e6.

Solidity: function share_dispute_check() view returns(bool)

func (*EthdkgCallerSession) ShareDistributionCheck

func (_Ethdkg *EthdkgCallerSession) ShareDistributionCheck() (bool, error)

ShareDistributionCheck is a free data retrieval call binding the contract method 0x2f11b985.

Solidity: function share_distribution_check() view returns(bool)

func (*EthdkgCallerSession) ShareDistributionHashes

func (_Ethdkg *EthdkgCallerSession) ShareDistributionHashes(arg0 common.Address) ([32]byte, error)

ShareDistributionHashes is a free data retrieval call binding the contract method 0xc21bee83.

Solidity: function share_distribution_hashes(address ) view returns(bytes32)

func (*EthdkgCallerSession) Sign

func (_Ethdkg *EthdkgCallerSession) Sign(message []byte, privK *big.Int) ([2]*big.Int, error)

Sign is a free data retrieval call binding the contract method 0x6bdf477c.

Solidity: function Sign(bytes message, uint256 privK) view returns(uint256[2] sig)

func (*EthdkgCallerSession) TDISPUTEEND

func (_Ethdkg *EthdkgCallerSession) TDISPUTEEND() (*big.Int, error)

TDISPUTEEND is a free data retrieval call binding the contract method 0xd3cf6186.

Solidity: function T_DISPUTE_END() view returns(uint256)

func (*EthdkgCallerSession) TGPKJDISPUTEEND

func (_Ethdkg *EthdkgCallerSession) TGPKJDISPUTEEND() (*big.Int, error)

TGPKJDISPUTEEND is a free data retrieval call binding the contract method 0xab63c722.

Solidity: function T_GPKJ_DISPUTE_END() view returns(uint256)

func (*EthdkgCallerSession) TGPKJSUBMISSIONEND

func (_Ethdkg *EthdkgCallerSession) TGPKJSUBMISSIONEND() (*big.Int, error)

TGPKJSUBMISSIONEND is a free data retrieval call binding the contract method 0x9c2aa838.

Solidity: function T_GPKJ_SUBMISSION_END() view returns(uint256)

func (*EthdkgCallerSession) TKEYSHARESUBMISSIONEND

func (_Ethdkg *EthdkgCallerSession) TKEYSHARESUBMISSIONEND() (*big.Int, error)

TKEYSHARESUBMISSIONEND is a free data retrieval call binding the contract method 0xe2291ec3.

Solidity: function T_KEY_SHARE_SUBMISSION_END() view returns(uint256)

func (*EthdkgCallerSession) TMPKSUBMISSIONEND

func (_Ethdkg *EthdkgCallerSession) TMPKSUBMISSIONEND() (*big.Int, error)

TMPKSUBMISSIONEND is a free data retrieval call binding the contract method 0x07f02c54.

Solidity: function T_MPK_SUBMISSION_END() view returns(uint256)

func (*EthdkgCallerSession) TREGISTRATIONEND

func (_Ethdkg *EthdkgCallerSession) TREGISTRATIONEND() (*big.Int, error)

TREGISTRATIONEND is a free data retrieval call binding the contract method 0x0de1553f.

Solidity: function T_REGISTRATION_END() view returns(uint256)

func (*EthdkgCallerSession) TSHAREDISTRIBUTIONEND

func (_Ethdkg *EthdkgCallerSession) TSHAREDISTRIBUTIONEND() (*big.Int, error)

TSHAREDISTRIBUTIONEND is a free data retrieval call binding the contract method 0xdc614e28.

Solidity: function T_SHARE_DISTRIBUTION_END() view returns(uint256)

func (*EthdkgCallerSession) Verify

func (_Ethdkg *EthdkgCallerSession) Verify(message []byte, sig [2]*big.Int, pubK [4]*big.Int) (bool, error)

Verify is a free data retrieval call binding the contract method 0x06367587.

Solidity: function Verify(bytes message, uint256[2] sig, uint256[4] pubK) view returns(bool v)

type EthdkgDispute

type EthdkgDispute struct {
	Issuer                    common.Address
	Disputer                  common.Address
	SharedKey                 [2]*big.Int
	SharedKeyCorrectnessProof [2]*big.Int
	Raw                       types.Log // Blockchain specific contextual infos
}

EthdkgDispute represents a Dispute event raised by the Ethdkg contract.

type EthdkgDisputeIterator

type EthdkgDisputeIterator struct {
	Event *EthdkgDispute // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

EthdkgDisputeIterator is returned from FilterDispute and is used to iterate over the raw logs and unpacked data for Dispute events raised by the Ethdkg contract.

func (*EthdkgDisputeIterator) Close

func (it *EthdkgDisputeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*EthdkgDisputeIterator) Error

func (it *EthdkgDisputeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthdkgDisputeIterator) Next

func (it *EthdkgDisputeIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type EthdkgFilterer

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

EthdkgFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewEthdkgFilterer

func NewEthdkgFilterer(address common.Address, filterer bind.ContractFilterer) (*EthdkgFilterer, error)

NewEthdkgFilterer creates a new log filterer instance of Ethdkg, bound to a specific deployed contract.

func (*EthdkgFilterer) FilterDispute

func (_Ethdkg *EthdkgFilterer) FilterDispute(opts *bind.FilterOpts) (*EthdkgDisputeIterator, error)

FilterDispute is a free log retrieval operation binding the contract event 0xad88e924a254a8563c3f1c2ec3ba397eb38279116fed134720febaeb0d3f6021.

Solidity: event Dispute(address issuer, address disputer, uint256[2] shared_key, uint256[2] shared_key_correctness_proof)

func (*EthdkgFilterer) FilterKeyShareSubmission

func (_Ethdkg *EthdkgFilterer) FilterKeyShareSubmission(opts *bind.FilterOpts) (*EthdkgKeyShareSubmissionIterator, error)

FilterKeyShareSubmission is a free log retrieval operation binding the contract event 0xb0ee36c3780de716eb6c83687f433ae2558a6923e090fd238b657fb6c896badc.

Solidity: event KeyShareSubmission(address issuer, uint256[2] key_share_G1, uint256[2] key_share_G1_correctness_proof, uint256[4] key_share_G2)

func (*EthdkgFilterer) FilterShareDistribution

func (_Ethdkg *EthdkgFilterer) FilterShareDistribution(opts *bind.FilterOpts) (*EthdkgShareDistributionIterator, error)

FilterShareDistribution is a free log retrieval operation binding the contract event 0x92d8d3649e1b955ecb304c5fdd720088e7ec87cb18b50a75616b12600f455c6b.

Solidity: event ShareDistribution(address issuer, uint256[] encrypted_shares, uint256[2][] commitments)

func (*EthdkgFilterer) ParseDispute

func (_Ethdkg *EthdkgFilterer) ParseDispute(log types.Log) (*EthdkgDispute, error)

ParseDispute is a log parse operation binding the contract event 0xad88e924a254a8563c3f1c2ec3ba397eb38279116fed134720febaeb0d3f6021.

Solidity: event Dispute(address issuer, address disputer, uint256[2] shared_key, uint256[2] shared_key_correctness_proof)

func (*EthdkgFilterer) ParseKeyShareSubmission

func (_Ethdkg *EthdkgFilterer) ParseKeyShareSubmission(log types.Log) (*EthdkgKeyShareSubmission, error)

ParseKeyShareSubmission is a log parse operation binding the contract event 0xb0ee36c3780de716eb6c83687f433ae2558a6923e090fd238b657fb6c896badc.

Solidity: event KeyShareSubmission(address issuer, uint256[2] key_share_G1, uint256[2] key_share_G1_correctness_proof, uint256[4] key_share_G2)

func (*EthdkgFilterer) ParseShareDistribution

func (_Ethdkg *EthdkgFilterer) ParseShareDistribution(log types.Log) (*EthdkgShareDistribution, error)

ParseShareDistribution is a log parse operation binding the contract event 0x92d8d3649e1b955ecb304c5fdd720088e7ec87cb18b50a75616b12600f455c6b.

Solidity: event ShareDistribution(address issuer, uint256[] encrypted_shares, uint256[2][] commitments)

func (*EthdkgFilterer) WatchDispute

func (_Ethdkg *EthdkgFilterer) WatchDispute(opts *bind.WatchOpts, sink chan<- *EthdkgDispute) (event.Subscription, error)

WatchDispute is a free log subscription operation binding the contract event 0xad88e924a254a8563c3f1c2ec3ba397eb38279116fed134720febaeb0d3f6021.

Solidity: event Dispute(address issuer, address disputer, uint256[2] shared_key, uint256[2] shared_key_correctness_proof)

func (*EthdkgFilterer) WatchKeyShareSubmission

func (_Ethdkg *EthdkgFilterer) WatchKeyShareSubmission(opts *bind.WatchOpts, sink chan<- *EthdkgKeyShareSubmission) (event.Subscription, error)

WatchKeyShareSubmission is a free log subscription operation binding the contract event 0xb0ee36c3780de716eb6c83687f433ae2558a6923e090fd238b657fb6c896badc.

Solidity: event KeyShareSubmission(address issuer, uint256[2] key_share_G1, uint256[2] key_share_G1_correctness_proof, uint256[4] key_share_G2)

func (*EthdkgFilterer) WatchShareDistribution

func (_Ethdkg *EthdkgFilterer) WatchShareDistribution(opts *bind.WatchOpts, sink chan<- *EthdkgShareDistribution) (event.Subscription, error)

WatchShareDistribution is a free log subscription operation binding the contract event 0x92d8d3649e1b955ecb304c5fdd720088e7ec87cb18b50a75616b12600f455c6b.

Solidity: event ShareDistribution(address issuer, uint256[] encrypted_shares, uint256[2][] commitments)

type EthdkgKeyShareSubmission

type EthdkgKeyShareSubmission struct {
	Issuer                     common.Address
	KeyShareG1                 [2]*big.Int
	KeyShareG1CorrectnessProof [2]*big.Int
	KeyShareG2                 [4]*big.Int
	Raw                        types.Log // Blockchain specific contextual infos
}

EthdkgKeyShareSubmission represents a KeyShareSubmission event raised by the Ethdkg contract.

type EthdkgKeyShareSubmissionIterator

type EthdkgKeyShareSubmissionIterator struct {
	Event *EthdkgKeyShareSubmission // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

EthdkgKeyShareSubmissionIterator is returned from FilterKeyShareSubmission and is used to iterate over the raw logs and unpacked data for KeyShareSubmission events raised by the Ethdkg contract.

func (*EthdkgKeyShareSubmissionIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*EthdkgKeyShareSubmissionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthdkgKeyShareSubmissionIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type EthdkgRaw

type EthdkgRaw struct {
	Contract *Ethdkg // Generic contract binding to access the raw methods on
}

EthdkgRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*EthdkgRaw) Call

func (_Ethdkg *EthdkgRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*EthdkgRaw) Transact

func (_Ethdkg *EthdkgRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*EthdkgRaw) Transfer

func (_Ethdkg *EthdkgRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type EthdkgSession

type EthdkgSession struct {
	Contract     *Ethdkg           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

EthdkgSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*EthdkgSession) Addresses

func (_Ethdkg *EthdkgSession) Addresses(arg0 *big.Int) (common.Address, error)

Addresses is a free data retrieval call binding the contract method 0xedf26d9b.

Solidity: function addresses(uint256 ) view returns(address)

func (*EthdkgSession) AggregateSignatures

func (_Ethdkg *EthdkgSession) AggregateSignatures(sigs [][2]*big.Int, indices []*big.Int, threshold *big.Int, invArray []*big.Int) ([2]*big.Int, error)

AggregateSignatures is a free data retrieval call binding the contract method 0xf022e061.

Solidity: function AggregateSignatures(uint256[2][] sigs, uint256[] indices, uint256 threshold, uint256[] invArray) view returns(uint256[2])

func (*EthdkgSession) CheckIndices

func (_Ethdkg *EthdkgSession) CheckIndices(honestIndices []*big.Int, dishonestIndices []*big.Int, n *big.Int) (bool, error)

CheckIndices is a free data retrieval call binding the contract method 0x80f4a922.

Solidity: function checkIndices(uint256[] honestIndices, uint256[] dishonestIndices, uint256 n) pure returns(bool validIndices)

func (*EthdkgSession) CheckInverses

func (_Ethdkg *EthdkgSession) CheckInverses(invArray []*big.Int, maxIndex *big.Int) (bool, error)

CheckInverses is a free data retrieval call binding the contract method 0xe480a92e.

Solidity: function checkInverses(uint256[] invArray, uint256 maxIndex) pure returns(bool)

func (*EthdkgSession) Commitments1stCoefficient

func (_Ethdkg *EthdkgSession) Commitments1stCoefficient(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Commitments1stCoefficient is a free data retrieval call binding the contract method 0x2cf4050b.

Solidity: function commitments_1st_coefficient(address , uint256 ) view returns(uint256)

func (*EthdkgSession) DELTACONFIRM

func (_Ethdkg *EthdkgSession) DELTACONFIRM() (*big.Int, error)

DELTACONFIRM is a free data retrieval call binding the contract method 0x7543b80f.

Solidity: function DELTA_CONFIRM() view returns(uint256)

func (*EthdkgSession) DELTAINCLUDE

func (_Ethdkg *EthdkgSession) DELTAINCLUDE() (*big.Int, error)

DELTAINCLUDE is a free data retrieval call binding the contract method 0x0f21e5d8.

Solidity: function DELTA_INCLUDE() view returns(uint256)

func (*EthdkgSession) DistributeShares

func (_Ethdkg *EthdkgSession) DistributeShares(encrypted_shares []*big.Int, commitments [][2]*big.Int) (*types.Transaction, error)

DistributeShares is a paid mutator transaction binding the contract method 0xa080e5e0.

Solidity: function distribute_shares(uint256[] encrypted_shares, uint256[2][] commitments) returns()

func (*EthdkgSession) GpkjDisputeCheck

func (_Ethdkg *EthdkgSession) GpkjDisputeCheck() (bool, error)

GpkjDisputeCheck is a free data retrieval call binding the contract method 0xd1be7cc5.

Solidity: function gpkj_dispute_check() view returns(bool)

func (*EthdkgSession) GpkjSubmissionCheck

func (_Ethdkg *EthdkgSession) GpkjSubmissionCheck() (bool, error)

GpkjSubmissionCheck is a free data retrieval call binding the contract method 0x59f3effc.

Solidity: function gpkj_submission_check() view returns(bool)

func (*EthdkgSession) GpkjSubmissions

func (_Ethdkg *EthdkgSession) GpkjSubmissions(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

GpkjSubmissions is a free data retrieval call binding the contract method 0xfef001a9.

Solidity: function gpkj_submissions(address , uint256 ) view returns(uint256)

func (*EthdkgSession) GroupAccusationGPKj

func (_Ethdkg *EthdkgSession) GroupAccusationGPKj(invArray []*big.Int, honestIndices []*big.Int, dishonestIndices []*big.Int) (*types.Transaction, error)

GroupAccusationGPKj is a paid mutator transaction binding the contract method 0xa6872833.

Solidity: function Group_Accusation_GPKj(uint256[] invArray, uint256[] honestIndices, uint256[] dishonestIndices) returns()

func (*EthdkgSession) HashToG1

func (_Ethdkg *EthdkgSession) HashToG1(message []byte) ([2]*big.Int, error)

HashToG1 is a free data retrieval call binding the contract method 0x95add79c.

Solidity: function HashToG1(bytes message) view returns(uint256[2] h)

func (*EthdkgSession) InitialMessage

func (_Ethdkg *EthdkgSession) InitialMessage() ([]byte, error)

InitialMessage is a free data retrieval call binding the contract method 0xaa7bd338.

Solidity: function initial_message() view returns(bytes)

func (*EthdkgSession) InitialSignatures

func (_Ethdkg *EthdkgSession) InitialSignatures(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

InitialSignatures is a free data retrieval call binding the contract method 0x7328f826.

Solidity: function initial_signatures(address , uint256 ) view returns(uint256)

func (*EthdkgSession) IsMalicious

func (_Ethdkg *EthdkgSession) IsMalicious(arg0 common.Address) (bool, error)

IsMalicious is a free data retrieval call binding the contract method 0xeadfcadc.

Solidity: function is_malicious(address ) view returns(bool)

func (*EthdkgSession) KeyShareSubmissionCheck

func (_Ethdkg *EthdkgSession) KeyShareSubmissionCheck() (bool, error)

KeyShareSubmissionCheck is a free data retrieval call binding the contract method 0x836889dc.

Solidity: function key_share_submission_check() view returns(bool)

func (*EthdkgSession) KeyShares

func (_Ethdkg *EthdkgSession) KeyShares(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

KeyShares is a free data retrieval call binding the contract method 0xa88c9e1c.

Solidity: function key_shares(address , uint256 ) view returns(uint256)

func (*EthdkgSession) MasterPublicKey

func (_Ethdkg *EthdkgSession) MasterPublicKey(arg0 *big.Int) (*big.Int, error)

MasterPublicKey is a free data retrieval call binding the contract method 0xe6511378.

Solidity: function master_public_key(uint256 ) view returns(uint256)

func (*EthdkgSession) MpkSubmissionCheck

func (_Ethdkg *EthdkgSession) MpkSubmissionCheck() (bool, error)

MpkSubmissionCheck is a free data retrieval call binding the contract method 0x050a54f0.

Solidity: function mpk_submission_check() view returns(bool)

func (*EthdkgSession) NumNodes

func (_Ethdkg *EthdkgSession) NumNodes() (*big.Int, error)

NumNodes is a free data retrieval call binding the contract method 0x02cd0423.

Solidity: function num_nodes() view returns(uint256)

func (*EthdkgSession) PublicKeys

func (_Ethdkg *EthdkgSession) PublicKeys(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

PublicKeys is a free data retrieval call binding the contract method 0x92896b2d.

Solidity: function public_keys(address , uint256 ) view returns(uint256)

func (*EthdkgSession) Register

func (_Ethdkg *EthdkgSession) Register(public_key [2]*big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x3442af5c.

Solidity: function register(uint256[2] public_key) returns()

func (*EthdkgSession) SafeSigningPoint

func (_Ethdkg *EthdkgSession) SafeSigningPoint(input [2]*big.Int) (bool, error)

SafeSigningPoint is a free data retrieval call binding the contract method 0x96d95a6f.

Solidity: function safeSigningPoint(uint256[2] input) pure returns(bool)

func (*EthdkgSession) ShareDisputeCheck

func (_Ethdkg *EthdkgSession) ShareDisputeCheck() (bool, error)

ShareDisputeCheck is a free data retrieval call binding the contract method 0xb6e8c6e6.

Solidity: function share_dispute_check() view returns(bool)

func (*EthdkgSession) ShareDistributionCheck

func (_Ethdkg *EthdkgSession) ShareDistributionCheck() (bool, error)

ShareDistributionCheck is a free data retrieval call binding the contract method 0x2f11b985.

Solidity: function share_distribution_check() view returns(bool)

func (*EthdkgSession) ShareDistributionHashes

func (_Ethdkg *EthdkgSession) ShareDistributionHashes(arg0 common.Address) ([32]byte, error)

ShareDistributionHashes is a free data retrieval call binding the contract method 0xc21bee83.

Solidity: function share_distribution_hashes(address ) view returns(bytes32)

func (*EthdkgSession) Sign

func (_Ethdkg *EthdkgSession) Sign(message []byte, privK *big.Int) ([2]*big.Int, error)

Sign is a free data retrieval call binding the contract method 0x6bdf477c.

Solidity: function Sign(bytes message, uint256 privK) view returns(uint256[2] sig)

func (*EthdkgSession) SubmitDispute

func (_Ethdkg *EthdkgSession) SubmitDispute(issuer common.Address, issuer_list_idx *big.Int, disputer_list_idx *big.Int, encrypted_shares []*big.Int, commitments [][2]*big.Int, shared_key [2]*big.Int, shared_key_correctness_proof [2]*big.Int) (*types.Transaction, error)

SubmitDispute is a paid mutator transaction binding the contract method 0x2f123ffc.

Solidity: function submit_dispute(address issuer, uint256 issuer_list_idx, uint256 disputer_list_idx, uint256[] encrypted_shares, uint256[2][] commitments, uint256[2] shared_key, uint256[2] shared_key_correctness_proof) returns()

func (*EthdkgSession) SubmitGPKj

func (_Ethdkg *EthdkgSession) SubmitGPKj(gpkj [4]*big.Int, sig [2]*big.Int) (*types.Transaction, error)

SubmitGPKj is a paid mutator transaction binding the contract method 0xdc5e8a0a.

Solidity: function Submit_GPKj(uint256[4] gpkj, uint256[2] sig) returns()

func (*EthdkgSession) SubmitKeyShare

func (_Ethdkg *EthdkgSession) SubmitKeyShare(issuer common.Address, key_share_G1 [2]*big.Int, key_share_G1_correctness_proof [2]*big.Int, key_share_G2 [4]*big.Int) (*types.Transaction, error)

SubmitKeyShare is a paid mutator transaction binding the contract method 0x7163525e.

Solidity: function submit_key_share(address issuer, uint256[2] key_share_G1, uint256[2] key_share_G1_correctness_proof, uint256[4] key_share_G2) returns()

func (*EthdkgSession) SubmitMasterPublicKey

func (_Ethdkg *EthdkgSession) SubmitMasterPublicKey(_master_public_key [4]*big.Int) (*types.Transaction, error)

SubmitMasterPublicKey is a paid mutator transaction binding the contract method 0xf47ae6a9.

Solidity: function submit_master_public_key(uint256[4] _master_public_key) returns()

func (*EthdkgSession) TDISPUTEEND

func (_Ethdkg *EthdkgSession) TDISPUTEEND() (*big.Int, error)

TDISPUTEEND is a free data retrieval call binding the contract method 0xd3cf6186.

Solidity: function T_DISPUTE_END() view returns(uint256)

func (*EthdkgSession) TGPKJDISPUTEEND

func (_Ethdkg *EthdkgSession) TGPKJDISPUTEEND() (*big.Int, error)

TGPKJDISPUTEEND is a free data retrieval call binding the contract method 0xab63c722.

Solidity: function T_GPKJ_DISPUTE_END() view returns(uint256)

func (*EthdkgSession) TGPKJSUBMISSIONEND

func (_Ethdkg *EthdkgSession) TGPKJSUBMISSIONEND() (*big.Int, error)

TGPKJSUBMISSIONEND is a free data retrieval call binding the contract method 0x9c2aa838.

Solidity: function T_GPKJ_SUBMISSION_END() view returns(uint256)

func (*EthdkgSession) TKEYSHARESUBMISSIONEND

func (_Ethdkg *EthdkgSession) TKEYSHARESUBMISSIONEND() (*big.Int, error)

TKEYSHARESUBMISSIONEND is a free data retrieval call binding the contract method 0xe2291ec3.

Solidity: function T_KEY_SHARE_SUBMISSION_END() view returns(uint256)

func (*EthdkgSession) TMPKSUBMISSIONEND

func (_Ethdkg *EthdkgSession) TMPKSUBMISSIONEND() (*big.Int, error)

TMPKSUBMISSIONEND is a free data retrieval call binding the contract method 0x07f02c54.

Solidity: function T_MPK_SUBMISSION_END() view returns(uint256)

func (*EthdkgSession) TREGISTRATIONEND

func (_Ethdkg *EthdkgSession) TREGISTRATIONEND() (*big.Int, error)

TREGISTRATIONEND is a free data retrieval call binding the contract method 0x0de1553f.

Solidity: function T_REGISTRATION_END() view returns(uint256)

func (*EthdkgSession) TSHAREDISTRIBUTIONEND

func (_Ethdkg *EthdkgSession) TSHAREDISTRIBUTIONEND() (*big.Int, error)

TSHAREDISTRIBUTIONEND is a free data retrieval call binding the contract method 0xdc614e28.

Solidity: function T_SHARE_DISTRIBUTION_END() view returns(uint256)

func (*EthdkgSession) Verify

func (_Ethdkg *EthdkgSession) Verify(message []byte, sig [2]*big.Int, pubK [4]*big.Int) (bool, error)

Verify is a free data retrieval call binding the contract method 0x06367587.

Solidity: function Verify(bytes message, uint256[2] sig, uint256[4] pubK) view returns(bool v)

type EthdkgShareDistribution

type EthdkgShareDistribution struct {
	Issuer          common.Address
	EncryptedShares []*big.Int
	Commitments     [][2]*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

EthdkgShareDistribution represents a ShareDistribution event raised by the Ethdkg contract.

type EthdkgShareDistributionIterator

type EthdkgShareDistributionIterator struct {
	Event *EthdkgShareDistribution // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

EthdkgShareDistributionIterator is returned from FilterShareDistribution and is used to iterate over the raw logs and unpacked data for ShareDistribution events raised by the Ethdkg contract.

func (*EthdkgShareDistributionIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*EthdkgShareDistributionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthdkgShareDistributionIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type EthdkgTransactor

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

EthdkgTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewEthdkgTransactor

func NewEthdkgTransactor(address common.Address, transactor bind.ContractTransactor) (*EthdkgTransactor, error)

NewEthdkgTransactor creates a new write-only instance of Ethdkg, bound to a specific deployed contract.

func (*EthdkgTransactor) DistributeShares

func (_Ethdkg *EthdkgTransactor) DistributeShares(opts *bind.TransactOpts, encrypted_shares []*big.Int, commitments [][2]*big.Int) (*types.Transaction, error)

DistributeShares is a paid mutator transaction binding the contract method 0xa080e5e0.

Solidity: function distribute_shares(uint256[] encrypted_shares, uint256[2][] commitments) returns()

func (*EthdkgTransactor) GroupAccusationGPKj

func (_Ethdkg *EthdkgTransactor) GroupAccusationGPKj(opts *bind.TransactOpts, invArray []*big.Int, honestIndices []*big.Int, dishonestIndices []*big.Int) (*types.Transaction, error)

GroupAccusationGPKj is a paid mutator transaction binding the contract method 0xa6872833.

Solidity: function Group_Accusation_GPKj(uint256[] invArray, uint256[] honestIndices, uint256[] dishonestIndices) returns()

func (*EthdkgTransactor) Register

func (_Ethdkg *EthdkgTransactor) Register(opts *bind.TransactOpts, public_key [2]*big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x3442af5c.

Solidity: function register(uint256[2] public_key) returns()

func (*EthdkgTransactor) SubmitDispute

func (_Ethdkg *EthdkgTransactor) SubmitDispute(opts *bind.TransactOpts, issuer common.Address, issuer_list_idx *big.Int, disputer_list_idx *big.Int, encrypted_shares []*big.Int, commitments [][2]*big.Int, shared_key [2]*big.Int, shared_key_correctness_proof [2]*big.Int) (*types.Transaction, error)

SubmitDispute is a paid mutator transaction binding the contract method 0x2f123ffc.

Solidity: function submit_dispute(address issuer, uint256 issuer_list_idx, uint256 disputer_list_idx, uint256[] encrypted_shares, uint256[2][] commitments, uint256[2] shared_key, uint256[2] shared_key_correctness_proof) returns()

func (*EthdkgTransactor) SubmitGPKj

func (_Ethdkg *EthdkgTransactor) SubmitGPKj(opts *bind.TransactOpts, gpkj [4]*big.Int, sig [2]*big.Int) (*types.Transaction, error)

SubmitGPKj is a paid mutator transaction binding the contract method 0xdc5e8a0a.

Solidity: function Submit_GPKj(uint256[4] gpkj, uint256[2] sig) returns()

func (*EthdkgTransactor) SubmitKeyShare

func (_Ethdkg *EthdkgTransactor) SubmitKeyShare(opts *bind.TransactOpts, issuer common.Address, key_share_G1 [2]*big.Int, key_share_G1_correctness_proof [2]*big.Int, key_share_G2 [4]*big.Int) (*types.Transaction, error)

SubmitKeyShare is a paid mutator transaction binding the contract method 0x7163525e.

Solidity: function submit_key_share(address issuer, uint256[2] key_share_G1, uint256[2] key_share_G1_correctness_proof, uint256[4] key_share_G2) returns()

func (*EthdkgTransactor) SubmitMasterPublicKey

func (_Ethdkg *EthdkgTransactor) SubmitMasterPublicKey(opts *bind.TransactOpts, _master_public_key [4]*big.Int) (*types.Transaction, error)

SubmitMasterPublicKey is a paid mutator transaction binding the contract method 0xf47ae6a9.

Solidity: function submit_master_public_key(uint256[4] _master_public_key) returns()

type EthdkgTransactorRaw

type EthdkgTransactorRaw struct {
	Contract *EthdkgTransactor // Generic write-only contract binding to access the raw methods on
}

EthdkgTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*EthdkgTransactorRaw) Transact

func (_Ethdkg *EthdkgTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*EthdkgTransactorRaw) Transfer

func (_Ethdkg *EthdkgTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type EthdkgTransactorSession

type EthdkgTransactorSession struct {
	Contract     *EthdkgTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

EthdkgTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*EthdkgTransactorSession) DistributeShares

func (_Ethdkg *EthdkgTransactorSession) DistributeShares(encrypted_shares []*big.Int, commitments [][2]*big.Int) (*types.Transaction, error)

DistributeShares is a paid mutator transaction binding the contract method 0xa080e5e0.

Solidity: function distribute_shares(uint256[] encrypted_shares, uint256[2][] commitments) returns()

func (*EthdkgTransactorSession) GroupAccusationGPKj

func (_Ethdkg *EthdkgTransactorSession) GroupAccusationGPKj(invArray []*big.Int, honestIndices []*big.Int, dishonestIndices []*big.Int) (*types.Transaction, error)

GroupAccusationGPKj is a paid mutator transaction binding the contract method 0xa6872833.

Solidity: function Group_Accusation_GPKj(uint256[] invArray, uint256[] honestIndices, uint256[] dishonestIndices) returns()

func (*EthdkgTransactorSession) Register

func (_Ethdkg *EthdkgTransactorSession) Register(public_key [2]*big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x3442af5c.

Solidity: function register(uint256[2] public_key) returns()

func (*EthdkgTransactorSession) SubmitDispute

func (_Ethdkg *EthdkgTransactorSession) SubmitDispute(issuer common.Address, issuer_list_idx *big.Int, disputer_list_idx *big.Int, encrypted_shares []*big.Int, commitments [][2]*big.Int, shared_key [2]*big.Int, shared_key_correctness_proof [2]*big.Int) (*types.Transaction, error)

SubmitDispute is a paid mutator transaction binding the contract method 0x2f123ffc.

Solidity: function submit_dispute(address issuer, uint256 issuer_list_idx, uint256 disputer_list_idx, uint256[] encrypted_shares, uint256[2][] commitments, uint256[2] shared_key, uint256[2] shared_key_correctness_proof) returns()

func (*EthdkgTransactorSession) SubmitGPKj

func (_Ethdkg *EthdkgTransactorSession) SubmitGPKj(gpkj [4]*big.Int, sig [2]*big.Int) (*types.Transaction, error)

SubmitGPKj is a paid mutator transaction binding the contract method 0xdc5e8a0a.

Solidity: function Submit_GPKj(uint256[4] gpkj, uint256[2] sig) returns()

func (*EthdkgTransactorSession) SubmitKeyShare

func (_Ethdkg *EthdkgTransactorSession) SubmitKeyShare(issuer common.Address, key_share_G1 [2]*big.Int, key_share_G1_correctness_proof [2]*big.Int, key_share_G2 [4]*big.Int) (*types.Transaction, error)

SubmitKeyShare is a paid mutator transaction binding the contract method 0x7163525e.

Solidity: function submit_key_share(address issuer, uint256[2] key_share_G1, uint256[2] key_share_G1_correctness_proof, uint256[4] key_share_G2) returns()

func (*EthdkgTransactorSession) SubmitMasterPublicKey

func (_Ethdkg *EthdkgTransactorSession) SubmitMasterPublicKey(_master_public_key [4]*big.Int) (*types.Transaction, error)

SubmitMasterPublicKey is a paid mutator transaction binding the contract method 0xf47ae6a9.

Solidity: function submit_master_public_key(uint256[4] _master_public_key) returns()

Jump to

Keyboard shortcuts

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