Skip to content
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
6 changes: 3 additions & 3 deletions api/reference/metis.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ paths:
properties:
amount:
type: string
description: 'Commit the user as a provider of an engagment contract. This operation will trigger a token payment through the metis framework. The specified amount of token will be deposited to the engagement contract as a stake. '
description: 'Commit the user as a provider of an engagement contract. This operation will trigger a token payment through the metis framework. The specified amount of token will be deposited to the engagement contract as a stake. '
'/engagement/{id}/finish':
parameters:
- schema:
Expand All @@ -91,7 +91,7 @@ paths:
result:
type: string
maxLength: 254
description: Notify the engagment client that the work has finished. The result should contain either the content of the work or the desciption to find the content of the work. The result will be written into the contract and ecnrypted by the serivce public key and engagement public key.
description: Notify the engagement client that the work has finished. The result should contain either the content of the work or the description to find the content of the work. The result will be written into the contract and ecnrypted by the service public key and engagement public key.
'/engagement/{id}/review':
parameters:
- schema:
Expand Down Expand Up @@ -248,7 +248,7 @@ paths:
in: path
required: true
post:
summary: commit a stake arragement
summary: commit a stake arrangement
operationId: post-stake-id-commit
responses:
'200':
Expand Down
2 changes: 1 addition & 1 deletion contracts/IMetis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface IMetis {
}

/**
* @dev commit funds to the contract. participants can keep committing after the pledge ammount is reached
* @dev commit funds to the contract. participants can keep committing after the pledge amount is reached
* The sender must authorized this contract to be the operator of senders account before committing
*/
function stake(address sender) external payable returns(uint256);
Expand Down
4 changes: 2 additions & 2 deletions contracts/MSCMulti.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ contract MSCMulti is Ownable {
}

/**
* @dev commit funds to the contract. participants can keep committing after the pledge ammount is reached
* @dev commit funds to the contract. participants can keep committing after the pledge amount is reached
* @param amount amount of fund to commit
* @param from the address of sender
* The sender must authorized this contract to be the operator of senders account before committing
Expand All @@ -122,7 +122,7 @@ contract MSCMulti is Ownable {
}

/**
* @dev commit funds to the contract. participants can keep committing after the pledge ammount is reached
* @dev commit funds to the contract. participants can keep committing after the pledge amount is reached
* @param amount amount of fund to commit
* The sender must authorized this contract to be the operator of senders account before committing
*/
Expand Down