diff --git a/api/reference/metis.v1.yaml b/api/reference/metis.v1.yaml index 52b28b0..3180d33 100644 --- a/api/reference/metis.v1.yaml +++ b/api/reference/metis.v1.yaml @@ -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: @@ -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: @@ -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': diff --git a/contracts/IMetis.sol b/contracts/IMetis.sol index 67ce4ae..e27753c 100644 --- a/contracts/IMetis.sol +++ b/contracts/IMetis.sol @@ -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); diff --git a/contracts/MSCMulti.sol b/contracts/MSCMulti.sol index f14487f..835c653 100644 --- a/contracts/MSCMulti.sol +++ b/contracts/MSCMulti.sol @@ -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 @@ -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 */