GenericAccess
@nevermined-io/sdk - v3.0.32 / GenericAccess
Interface: GenericAccess
Table of contents
Properties
Methods
Properties
contractName
• contractName: string
Defined in
src/keeper/contracts/templates/GenericAccess.ts:22
Methods
createAgreementWithPaymentFromDDO
▸ createAgreementWithPaymentFromDDO(agreementIdSeed
, ddo
, serviceReference
, parameters
, consumer
, from
, txParams?
, observer?
): Promise
\<string
>
Parameters
Name | Type |
---|---|
agreementIdSeed | string |
ddo | DDO |
serviceReference | number | ServiceType |
parameters | any |
consumer | NvmAccount |
from | NvmAccount |
txParams? | TxParameters |
observer? | (orderProgressStep : OrderProgressStep ) => void |
Returns
Promise
\<string
>
Defined in
src/keeper/contracts/templates/GenericAccess.ts:8
getAgreementData
▸ getAgreementData(agreementId
): Promise
\<{ accessConsumer
: string
; accessProvider
: string
}>
Parameters
Name | Type |
---|---|
agreementId | string |
Returns
Promise
\<{ accessConsumer
: string
; accessProvider
: string
}>
Defined in
src/keeper/contracts/templates/GenericAccess.ts:19
params
▸ params(consumer
, ...args
): any
Parameters
Name | Type |
---|---|
consumer | any |
...args | any [] |
Returns
any