DistributorUpdateInput
Type Alias: DistributorUpdateInput
type DistributorUpdateInput = {
crankGuard: {
activation: | {
type: "OFFER_START";
}
| {
type: "OFFER_CONCLUSION";
}
| {
type: "CONVERSION_COUNT";
}
| {
amount: number;
oracle: | "TORQUE"
| "SOLANA_TX"
| "CUSTOM_EVENT_PROVIDER"
| "PYTH_MKT_CAP"
| "PYTH_MKT_VOLUME"
| "MESSAGE_SIGNATURE"
| "SOCIAL_MEDIA";
type: "EVENT";
}
| {
date: Date;
type: "DATE";
} & {
requiredConversionCount: number;
};
availability: | {
maxConversionsPerRecipient: number | null;
maxTotalConversions: number | null;
recipientConversionPeriod: ... | ... | ... | ... | null;
}
| null;
distributionFunctionInput: | {
type: "CONVERSION_INDEX";
}
| {
max: number | null;
min: number | null;
type: "CONVERSION_DATA";
}
| {
aggregationType: "BUY_VOLUME" | "BUY_AVERAGE";
type: "AGGREGATION";
};
recipient: "USER" | "PUBLISHER" | "BOTH" | "NONE";
};
distributionFunction: | {
type: "CONSTANT";
yIntercept: number;
}
| {
slope: number;
trend: "NEGATIVE" | "POSITIVE";
type: "LINEAR";
yIntercept: number;
}
| {
tiers: {
input: number;
output: number;
}[];
type: "STEP";
}
| {
curveDepth: number;
curveWidth: number;
type: "EXPONENTIAL";
yIntercept: number;
};
emissionType: "SOL" | "TOKENS" | "NFT" | "POINTS";
pointId: string | null;
tokenAddress: string | null;
tokenDecimals: number;
totalFundAmount: number;
type: "CONVERSION" | "ASYMMETRIC";
};Properties
crankGuard
Name
Type
distributionFunction
emissionType
pointId?
tokenAddress?
tokenDecimals?
totalFundAmount
type
Last updated