Skip to content

PDP_OFFERING_KEYS

const PDP_OFFERING_KEYS: object

Defined in: packages/synapse-core/src/utils/constants.ts:190

Capability keys that are decoded into typed PDPOffering fields. (must match ServiceProviderRegistry.sol REQUIRED_PDP_KEYS)

readonly IPNI_IPFS: "ipniIpfs" = 'ipniIpfs'

readonly IPNI_PEER_ID: "ipniPeerId" = 'ipniPeerId'

readonly IPNI_PEER_ID_LEGACY: "IPNIPeerID" = 'IPNIPeerID'

readonly IPNI_PIECE: "ipniPiece" = 'ipniPiece'

readonly LOCATION: "location" = 'location'

readonly MAX_PIECE_SIZE: "maxPieceSizeInBytes" = 'maxPieceSizeInBytes'

readonly MIN_PIECE_SIZE: "minPieceSizeInBytes" = 'minPieceSizeInBytes'

readonly MIN_PROVING_PERIOD: "minProvingPeriodInEpochs" = 'minProvingPeriodInEpochs'

readonly PAYMENT_TOKEN: "paymentTokenAddress" = 'paymentTokenAddress'

readonly SERVICE_URL: "serviceURL" = 'serviceURL'

readonly STORAGE_PRICE: "storagePricePerTibPerDay" = 'storagePricePerTibPerDay'

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