Skip to content

WarmStorageViewOptions

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:25

optional clientDataSets?: (args) => AbiToType<readonly [{ internalType: "uint256[]"; name: "dataSetIds"; type: "uint256[]"; }] | readonly [{ internalType: "uint256[]"; name: "dataSetIds"; type: "uint256[]"; }]>

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:28

ParameterType
argsAbiToType<readonly [{ internalType: "address"; name: "payer"; type: "address"; }, { internalType: "uint256"; name: "offset"; type: "uint256"; }, { internalType: "uint256"; name: "limit"; type: "uint256"; }] | readonly [{ internalType: "address"; name: "payer"; type: "address"; }]>

AbiToType<readonly [{ internalType: "uint256[]"; name: "dataSetIds"; type: "uint256[]"; }] | readonly [{ internalType: "uint256[]"; name: "dataSetIds"; type: "uint256[]"; }]>


optional clientNonces?: (args) => readonly [bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:38

ParameterType
argsreadonly [`0x${string}`, bigint]

readonly [bigint]


optional getAllDataSetMetadata?: (args) => readonly [readonly string[], readonly string[]]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:32

ParameterType
argsreadonly [bigint]

readonly [readonly string[], readonly string[]]


optional getAllPieceMetadata?: (args) => readonly [readonly string[], readonly string[]]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:36

ParameterType
argsreadonly [bigint, bigint]

readonly [readonly string[], readonly string[]]


optional getApprovedProviders?: (args) => readonly [readonly bigint[]]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:31

ParameterType
argsreadonly [bigint, bigint]

readonly [readonly bigint[]]


optional getClientDataSets?: (args) => AbiToType<readonly [{ components: readonly [{ internalType: "uint256"; name: "pdpRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cacheMissRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cdnRailId"; type: "uint256"; }, { internalType: "address"; name: "payer"; type: "address"; }, { internalType: "address"; name: "payee"; type: "address"; }, { internalType: "address"; name: "serviceProvider"; type: "address"; }, { internalType: "uint256"; name: "commissionBps"; type: "uint256"; }, { internalType: "uint256"; name: "clientDataSetId"; type: "uint256"; }, { internalType: "uint256"; name: "pdpEndEpoch"; type: "uint256"; }, { internalType: "uint256"; name: "providerId"; type: "uint256"; }, { internalType: "uint256"; name: "dataSetId"; type: "uint256"; }]; internalType: "struct FilecoinWarmStorageService.DataSetInfoView[]"; name: "infos"; type: "tuple[]"; }] | readonly [{ components: readonly [{ internalType: "uint256"; name: "pdpRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cacheMissRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cdnRailId"; type: "uint256"; }, { internalType: "address"; name: "payer"; type: "address"; }, { internalType: "address"; name: "payee"; type: "address"; }, { internalType: "address"; name: "serviceProvider"; type: "address"; }, { internalType: "uint256"; name: "commissionBps"; type: "uint256"; }, { internalType: "uint256"; name: "clientDataSetId"; type: "uint256"; }, { internalType: "uint256"; name: "pdpEndEpoch"; type: "uint256"; }, { internalType: "uint256"; name: "providerId"; type: "uint256"; }, { internalType: "uint256"; name: "dataSetId"; type: "uint256"; }]; internalType: "struct FilecoinWarmStorageService.DataSetInfoView[]"; name: "infos"; type: "tuple[]"; }]>

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:27

ParameterType
argsAbiToType<readonly [{ internalType: "address"; name: "client"; type: "address"; }, { internalType: "uint256"; name: "offset"; type: "uint256"; }, { internalType: "uint256"; name: "limit"; type: "uint256"; }] | readonly [{ internalType: "address"; name: "client"; type: "address"; }]>

AbiToType<readonly [{ components: readonly [{ internalType: "uint256"; name: "pdpRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cacheMissRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cdnRailId"; type: "uint256"; }, { internalType: "address"; name: "payer"; type: "address"; }, { internalType: "address"; name: "payee"; type: "address"; }, { internalType: "address"; name: "serviceProvider"; type: "address"; }, { internalType: "uint256"; name: "commissionBps"; type: "uint256"; }, { internalType: "uint256"; name: "clientDataSetId"; type: "uint256"; }, { internalType: "uint256"; name: "pdpEndEpoch"; type: "uint256"; }, { internalType: "uint256"; name: "providerId"; type: "uint256"; }, { internalType: "uint256"; name: "dataSetId"; type: "uint256"; }]; internalType: "struct FilecoinWarmStorageService.DataSetInfoView[]"; name: "infos"; type: "tuple[]"; }] | readonly [{ components: readonly [{ internalType: "uint256"; name: "pdpRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cacheMissRailId"; type: "uint256"; }, { internalType: "uint256"; name: "cdnRailId"; type: "uint256"; }, { internalType: "address"; name: "payer"; type: "address"; }, { internalType: "address"; name: "payee"; type: "address"; }, { internalType: "address"; name: "serviceProvider"; type: "address"; }, { internalType: "uint256"; name: "commissionBps"; type: "uint256"; }, { internalType: "uint256"; name: "clientDataSetId"; type: "uint256"; }, { internalType: "uint256"; name: "pdpEndEpoch"; type: "uint256"; }, { internalType: "uint256"; name: "providerId"; type: "uint256"; }, { internalType: "uint256"; name: "dataSetId"; type: "uint256"; }]; internalType: "struct FilecoinWarmStorageService.DataSetInfoView[]"; name: "infos"; type: "tuple[]"; }]>


optional getClientDataSetsLength?: (args) => readonly [bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:40

ParameterType
argsreadonly [`0x${string}`]

readonly [bigint]


optional getDataSet?: (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:29

ParameterType
argsreadonly [bigint]

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}`; }]


optional getDataSetMetadata?: (args) => readonly [boolean, string]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:35

ParameterType
argsreadonly [bigint, string]

readonly [boolean, string]


optional getPDPConfig?: (args) => readonly [bigint, bigint, bigint, bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:39

ParameterType
argsreadonly []

readonly [bigint, bigint, bigint, bigint]


optional getPieceMetadata?: (args) => readonly [boolean, string]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:37

ParameterType
argsreadonly [bigint, bigint, string]

readonly [boolean, string]


optional isProviderApproved?: (args) => readonly [boolean]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:26

ParameterType
argsreadonly [bigint]

readonly [boolean]


optional railToDataSet?: (args) => readonly [bigint]

Defined in: packages/synapse-core/src/mocks/jsonrpc/warm-storage.ts:30

ParameterType
argsreadonly [bigint]

readonly [bigint]