WarmStorageViewOptions
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:24
Properties
Section titled “Properties”clientDataSets?
Section titled “clientDataSets?”
optionalclientDataSets?: (args) => readonly [readonlybigint[]]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:27
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`] |
Returns
Section titled “Returns”readonly [readonly bigint[]]
clientNonces?
Section titled “clientNonces?”
optionalclientNonces?: (args) => readonly [bigint]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:37
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`, bigint] |
Returns
Section titled “Returns”readonly [bigint]
getAllDataSetMetadata?
Section titled “getAllDataSetMetadata?”
optionalgetAllDataSetMetadata?: (args) => readonly [readonlystring[], readonlystring[]]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:31
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint] |
Returns
Section titled “Returns”readonly [readonly string[], readonly string[]]
getAllPieceMetadata?
Section titled “getAllPieceMetadata?”
optionalgetAllPieceMetadata?: (args) => readonly [readonlystring[], readonlystring[]]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:35
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint, bigint] |
Returns
Section titled “Returns”readonly [readonly string[], readonly string[]]
getApprovedProviders?
Section titled “getApprovedProviders?”
optionalgetApprovedProviders?: (args) => readonly [readonlybigint[]]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:30
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint, bigint] |
Returns
Section titled “Returns”readonly [readonly bigint[]]
getClientDataSets?
Section titled “getClientDataSets?”
optionalgetClientDataSets?: (args) => readonly [readonlyobject[]]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:26
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [`0x${string}`] |
Returns
Section titled “Returns”readonly [readonly object[]]
getDataSet?
Section titled “getDataSet?”
optionalgetDataSet?: (args) => readonly [{cacheMissRailId:bigint;cdnRailId:bigint;clientDataSetId:bigint;commissionBps:bigint;dataSetId:bigint;payee:`0x${string}`;payer:`0x${string}`;pdpEndEpoch:bigint;pdpRailId:bigint;providerId:bigint;serviceProvider:`0x${string}`; }]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:28
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint] |
Returns
Section titled “Returns”readonly [{ cacheMissRailId: bigint; cdnRailId: bigint; clientDataSetId: bigint; commissionBps: bigint; dataSetId: bigint; payee: `0x${string}`; payer: `0x${string}`; pdpEndEpoch: bigint; pdpRailId: bigint; providerId: bigint; serviceProvider: `0x${string}`; }]
getDataSetMetadata?
Section titled “getDataSetMetadata?”
optionalgetDataSetMetadata?: (args) => readonly [boolean,string]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:34
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint, string] |
Returns
Section titled “Returns”readonly [boolean, string]
getPDPConfig?
Section titled “getPDPConfig?”
optionalgetPDPConfig?: (args) => readonly [bigint,bigint,bigint,bigint]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:38
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [] |
Returns
Section titled “Returns”readonly [bigint, bigint, bigint, bigint]
getPieceMetadata?
Section titled “getPieceMetadata?”
optionalgetPieceMetadata?: (args) => readonly [boolean,string]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:36
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint, bigint, string] |
Returns
Section titled “Returns”readonly [boolean, string]
isProviderApproved?
Section titled “isProviderApproved?”
optionalisProviderApproved?: (args) => readonly [boolean]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:25
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint] |
Returns
Section titled “Returns”readonly [boolean]
railToDataSet?
Section titled “railToDataSet?”
optionalrailToDataSet?: (args) => readonly [bigint]
Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:29
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
args | readonly [bigint] |
Returns
Section titled “Returns”readonly [bigint]