Skip to content

PDPOffering

Defined in: packages/synapse-core/src/sp-registry/types.ts:33

PDP offering details (decoded from capability k/v pairs)

https://github.com/FilOzone/filecoin-services/blob/a86e4a5018133f17a25b4bb6b5b99da4d34fe664/service_contracts/src/ServiceProviderRegistry.sol#L14

ipniIpfs: boolean

Defined in: packages/synapse-core/src/sp-registry/types.ts:69

Whether the service supports IPNI IPFS.


optional ipniPeerId: string

Defined in: packages/synapse-core/src/sp-registry/types.ts:73

The IPNI peer ID.


ipniPiece: boolean

Defined in: packages/synapse-core/src/sp-registry/types.ts:65

Whether the service supports IPNI piece.


location: string

Defined in: packages/synapse-core/src/sp-registry/types.ts:57

Geographic location of the service provider


maxPieceSizeInBytes: bigint

Defined in: packages/synapse-core/src/sp-registry/types.ts:45

The maximum piece size in bytes.


minPieceSizeInBytes: bigint

Defined in: packages/synapse-core/src/sp-registry/types.ts:41

The minimum piece size in bytes.


minProvingPeriodInEpochs: bigint

Defined in: packages/synapse-core/src/sp-registry/types.ts:53

The minimum proving period in epochs.


paymentTokenAddress: `0x${string}`

Defined in: packages/synapse-core/src/sp-registry/types.ts:61

Token contract for payment (IERC20(address(0)) for FIL)


serviceURL: string

Defined in: packages/synapse-core/src/sp-registry/types.ts:37

The URL of the service.


storagePricePerTibPerDay: bigint

Defined in: packages/synapse-core/src/sp-registry/types.ts:49

Storage price per TiB per day (in token’s smallest unit).