Dynamic contract schema for aligned stream data Used for API responses with price-based streams

interface DynamicContractSchema {
    address: string;
    chain: Chain;
    contractAddress: string;
    expiryDt: string;
    expiryPercentage: string;
    floorPrice: string;
    initialAmount: string;
    initialAmountPerPeriod: string;
    initialPrice: string;
    lastPrice: string;
    lastUpdateSlot: number;
    maxPercentage: string;
    maxPrice: string;
    minPercentage: string;
    minPrice: string;
    priceOracleAddress: string;
    priceOracleType: PriceOracleType;
    programId: string;
    sender: string;
    streamCanceledTime: string | number;
    tickSize: string;
}

Properties

address: string
chain: Chain
contractAddress: string
expiryDt: string
expiryPercentage: string
floorPrice: string
initialAmount: string
initialAmountPerPeriod: string
initialPrice: string
lastPrice: string
lastUpdateSlot: number
maxPercentage: string
maxPrice: string
minPercentage: string
minPrice: string
priceOracleAddress: string
priceOracleType: PriceOracleType
programId: string
sender: string
streamCanceledTime: string | number
tickSize: string