Skip to content

PDPOfferingSchema

const PDPOfferingSchema: ZodObject<{ ipniIpfs: ZodOptional<ZodCustom<`0x${string}`, `0x${string}`>>; ipniPeerId: ZodOptional<ZodCustom<`0x${string}`, `0x${string}`>>; ipniPiece: ZodOptional<ZodCustom<`0x${string}`, `0x${string}`>>; location: ZodCustom<`0x${string}`, `0x${string}`>; maxPieceSizeInBytes: ZodCustom<`0x${string}`, `0x${string}`>; minPieceSizeInBytes: ZodCustom<`0x${string}`, `0x${string}`>; minProvingPeriodInEpochs: ZodCustom<`0x${string}`, `0x${string}`>; paymentTokenAddress: ZodCustom<`0x${string}`, `0x${string}`>; serviceURL: ZodCustom<`0x${string}`, `0x${string}`>; storagePricePerTibPerDay: ZodCustom<`0x${string}`, `0x${string}`>; }, $strip>

Defined in: packages/synapse-core/src/utils/pdp-capabilities.ts:18

Zod schema for PDP offering

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