Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/CDKDataCommittee.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ ICDKDataCommitteeErrors, OwnableUpgradeable {
/**
* @notice Allows the admin to setup the members of the committee. Note that:
* The system will require N / M signatures where N => _requiredAmountOfSignatures and M => urls.length
* There must be the same amount of urls than addressess encoded in the addrsBytes
* There must be the same amount of urls than addresses encoded in the addrsBytes
* A member is represented by the url and the address contained in urls[i] and addrsBytes[i*_ADDR_SIZE : i*_ADDR_SIZE + _ADDR_SIZE]
* @param _requiredAmountOfSignatures Required amount of signatures
* @param urls List of urls of the members of the committee
* @param addrsBytes Byte array that contains the addressess of the members of the committee
* @param addrsBytes Byte array that contains the addresses of the members of the committee
*/
function setupCommittee(
uint _requiredAmountOfSignatures,
Expand Down
4 changes: 2 additions & 2 deletions docs/CDKDataCommittee.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
```
Allows the admin to setup the members of the committee. Note that:
The system will require N / M signatures where N => _requiredAmountOfSignatures and M => urls.length
There must be the same amount of urls than addressess encoded in the addrsBytes
There must be the same amount of urls than addresses encoded in the addrsBytes
A member is represented by the url and the address contained in urls[i] and addrsBytes[i*_ADDR_SIZE : i*_ADDR_SIZE + _ADDR_SIZE]


Expand All @@ -30,7 +30,7 @@ A member is represented by the url and the address contained in urls[i] and addr
| :--- | :--- | :------------------------------------------------------------------- |
|`_requiredAmountOfSignatures` | uint256 | Required amount of signatures
|`urls` | string[] | List of urls of the members of the committee
|`addrsBytes` | bytes | Byte array that contains the addressess of the members of the committee
|`addrsBytes` | bytes | Byte array that contains the addresses of the members of the committee

### getAmountOfMembers
```solidity
Expand Down