ECDSAFactory

Methods

deploy

function deploy(address nodeMgmtAddress, address owner, address[] members, uint256 honestThreshold) external nonpayable returns (address)

Deploys a new node

Parameters

Returns

getMembers

function getMembers() external view returns (address[])

Returns members of the keep.

Returns

latestNodeGroup

function latestNodeGroup() external view returns (address keepAddress, address owner, uint256 honestThreshold)

Returns

owner

function owner() external view returns (address)

Returns the address of the current owner.

Returns

renounceOwnership

function renounceOwnership() external nonpayable

Leaves the contract without owner. It will not be possible to call onlyOwner functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.

transferOwnership

function transferOwnership(address newOwner) external nonpayable

Transfers ownership of the contract to a new account (newOwner). Can only be called by the current owner.

Parameters

Events

ECDSANodeGroupCreated

event ECDSANodeGroupCreated(address indexed keepAddress, address[] members, address indexed owner, uint256 honestThreshold)

Parameters

OwnershipTransferred

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

Parameters

Last updated