mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
grantServiceExecution -> grantCompute
This commit is contained in:
parent
e37420dabf
commit
1f552812f1
@ -276,7 +276,7 @@ describe('Register Escrow Compute Execution Template', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('should fulfill the conditions from computing side', async () => {
|
it('should fulfill the conditions from computing side', async () => {
|
||||||
await ocean.agreements.conditions.grantServiceExecution(
|
await ocean.agreements.conditions.grantCompute(
|
||||||
agreementId,
|
agreementId,
|
||||||
did,
|
did,
|
||||||
consumer.getId(),
|
consumer.getId(),
|
||||||
|
@ -81,13 +81,13 @@ export class OceanAgreementsConditions extends Instantiable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Authorize the consumer defined in the agreement to execute a remote service associated with this asset.
|
* Authorize the consumer defined in the agreement to compute on this asset.
|
||||||
* @param {string} agreementId Agreement ID.
|
* @param {string} agreementId Agreement ID.
|
||||||
* @param {string} did Asset ID.
|
* @param {string} did Asset ID.
|
||||||
* @param {string} grantee Consumer address.
|
* @param {string} grantee Consumer address.
|
||||||
* @param {Account} from Account of sender.
|
* @param {Account} from Account of sender.
|
||||||
*/
|
*/
|
||||||
public async grantServiceExecution(
|
public async grantCompute(
|
||||||
agreementId: string,
|
agreementId: string,
|
||||||
did: string,
|
did: string,
|
||||||
grantee: string,
|
grantee: string,
|
||||||
|
Loading…
Reference in New Issue
Block a user