@merkl/api 0.10.123 → 0.10.124
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,32 @@
|
|
1
|
+
import type { Pricer } from "../../../../../utils/pricer";
|
2
|
+
import { type Campaign, type CampaignParameters } from "@sdk";
|
3
|
+
import type { tokenType } from "../helpers/tokenType";
|
4
|
+
import { GenericProcessor, type dataType, type mandatoryCallKeys } from "./GenericProcessor";
|
5
|
+
type callType = {
|
6
|
+
key: keyof dataRawBeefy;
|
7
|
+
call: string;
|
8
|
+
target: keyof callKeysBeefy;
|
9
|
+
metaData?: keyof callKeysBeefy;
|
10
|
+
};
|
11
|
+
type callKeysBeefy = mandatoryCallKeys & {
|
12
|
+
decimalsToken: string;
|
13
|
+
underlying: string;
|
14
|
+
pricePerShare: string;
|
15
|
+
totalSupplyUnderlying: string;
|
16
|
+
symbolUnderlying: string;
|
17
|
+
};
|
18
|
+
type dataRawBeefy = callKeysBeefy & {};
|
19
|
+
type dataTypeBeefy = dataType & {
|
20
|
+
underlying: string;
|
21
|
+
pricePerShare: number;
|
22
|
+
};
|
23
|
+
export declare class WoofiProcessor extends GenericProcessor<callKeysBeefy, dataRawBeefy, dataTypeBeefy> {
|
24
|
+
rounds: {
|
25
|
+
round1: callType[];
|
26
|
+
round2: callType[];
|
27
|
+
round3: callType[];
|
28
|
+
round4: callType[];
|
29
|
+
};
|
30
|
+
processingRound5(index: number, type: tokenType, typeInfo: dataRawBeefy, calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeBeefy>;
|
31
|
+
}
|
32
|
+
export {};
|