@merkl/api 0.21.36 → 0.21.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/eden/index.d.ts +1758 -1351
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.js +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/detect.js +108 -97
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js +8 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.js +38 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.js +83 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.js +65 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.js +94 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/engine/implementations/Erc20/subTypes/index.js +1 -0
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -2
- package/dist/src/index.d.ts +545 -396
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +5 -1
- package/dist/src/modules/v4/campaign/campaign.service.js +41 -2
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +385 -240
- package/dist/src/modules/v4/campaign/campaign.test.controller.js +41 -15
- package/dist/src/modules/v4/creator/creator.controller.d.ts +157 -153
- package/dist/src/modules/v4/creator/creator.controller.js +11 -11
- package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.model.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -1
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +1 -0
- package/dist/src/modules/v4/reward/reward.repository.js +1 -1
- package/dist/src/modules/v4/router.d.ts +545 -396
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -453,7 +453,7 @@ declare const eden: {
|
|
453
453
|
} & {
|
454
454
|
price?: number | null | undefined;
|
455
455
|
})[];
|
456
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
456
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
457
457
|
description: string;
|
458
458
|
howToSteps: string[];
|
459
459
|
depositUrl: string | undefined;
|
@@ -602,7 +602,7 @@ declare const eden: {
|
|
602
602
|
} & {
|
603
603
|
price?: number | null | undefined;
|
604
604
|
})[];
|
605
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
605
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
606
606
|
description: string;
|
607
607
|
howToSteps: string[];
|
608
608
|
depositUrl: string | undefined;
|
@@ -1522,7 +1522,7 @@ declare const eden: {
|
|
1522
1522
|
} & {
|
1523
1523
|
price?: number | null | undefined;
|
1524
1524
|
})[];
|
1525
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1525
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1526
1526
|
description: string;
|
1527
1527
|
howToSteps: string[];
|
1528
1528
|
depositUrl: string | undefined;
|
@@ -1912,55 +1912,47 @@ declare const eden: {
|
|
1912
1912
|
};
|
1913
1913
|
};
|
1914
1914
|
"dry-run": {
|
1915
|
-
tvl:
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
1941
|
-
}
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1945
|
-
|
1946
|
-
|
1947
|
-
|
1948
|
-
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1956
|
-
authorization: string;
|
1957
|
-
};
|
1958
|
-
query?: Record<string, unknown> | undefined;
|
1959
|
-
fetch?: RequestInit | undefined;
|
1960
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1961
|
-
200: unknown[];
|
1962
|
-
}>>;
|
1963
|
-
}) & {
|
1915
|
+
tvl: {
|
1916
|
+
campaign: ((params: {
|
1917
|
+
campaignId: string | number;
|
1918
|
+
}) => {
|
1919
|
+
get: (options: {
|
1920
|
+
headers: {
|
1921
|
+
authorization: string;
|
1922
|
+
};
|
1923
|
+
query?: Record<string, unknown> | undefined;
|
1924
|
+
fetch?: RequestInit | undefined;
|
1925
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1926
|
+
200: unknown[];
|
1927
|
+
}>>;
|
1928
|
+
}) & {};
|
1929
|
+
opportunity: ((params: {
|
1930
|
+
opportunityId: string | number;
|
1931
|
+
}) => {
|
1932
|
+
get: (options: {
|
1933
|
+
headers: {
|
1934
|
+
authorization: string;
|
1935
|
+
};
|
1936
|
+
query?: Record<string, unknown> | undefined;
|
1937
|
+
fetch?: RequestInit | undefined;
|
1938
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1939
|
+
200: unknown[];
|
1940
|
+
}>>;
|
1941
|
+
}) & {};
|
1942
|
+
erc20: {
|
1943
|
+
get: (options: {
|
1944
|
+
headers: {
|
1945
|
+
authorization: string;
|
1946
|
+
};
|
1947
|
+
query: {
|
1948
|
+
address: string;
|
1949
|
+
chainId: number;
|
1950
|
+
};
|
1951
|
+
fetch?: RequestInit | undefined;
|
1952
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1953
|
+
200: unknown[];
|
1954
|
+
}>>;
|
1955
|
+
};
|
1964
1956
|
list: {
|
1965
1957
|
post: (body: string[], options: {
|
1966
1958
|
headers: {
|
@@ -1972,228 +1964,361 @@ declare const eden: {
|
|
1972
1964
|
200: unknown[];
|
1973
1965
|
}>>;
|
1974
1966
|
};
|
1967
|
+
index: {
|
1968
|
+
post: (body: {
|
1969
|
+
id?: string | undefined;
|
1970
|
+
subType?: number | undefined;
|
1971
|
+
campaignId?: string | undefined;
|
1972
|
+
amount?: string | undefined;
|
1973
|
+
creatorAddress?: string | undefined;
|
1974
|
+
type: string;
|
1975
|
+
params: any;
|
1976
|
+
computeChainId: number;
|
1977
|
+
distributionChainId: number;
|
1978
|
+
startTimestamp: number;
|
1979
|
+
endTimestamp: number;
|
1980
|
+
rewardToken: string;
|
1981
|
+
}, options: {
|
1982
|
+
headers: {
|
1983
|
+
authorization: string;
|
1984
|
+
};
|
1985
|
+
query?: Record<string, unknown> | undefined;
|
1986
|
+
fetch?: RequestInit | undefined;
|
1987
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1988
|
+
200: unknown[];
|
1989
|
+
}>>;
|
1990
|
+
};
|
1975
1991
|
};
|
1976
1992
|
metadata: {
|
1977
|
-
|
1978
|
-
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
params: any;
|
1985
|
-
computeChainId: number;
|
1986
|
-
distributionChainId: number;
|
1987
|
-
startTimestamp: number;
|
1988
|
-
endTimestamp: number;
|
1989
|
-
rewardToken: string;
|
1990
|
-
}, options: {
|
1991
|
-
headers: {
|
1992
|
-
authorization: string;
|
1993
|
-
};
|
1994
|
-
query?: Record<string, unknown> | undefined;
|
1995
|
-
fetch?: RequestInit | undefined;
|
1996
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1997
|
-
200: {
|
1993
|
+
index: {
|
1994
|
+
post: (body: {
|
1995
|
+
id?: string | undefined;
|
1996
|
+
subType?: number | undefined;
|
1997
|
+
campaignId?: string | undefined;
|
1998
|
+
amount?: string | undefined;
|
1999
|
+
creatorAddress?: string | undefined;
|
1998
2000
|
type: string;
|
1999
|
-
|
2000
|
-
id: string;
|
2001
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
2002
|
-
subType: number | null;
|
2001
|
+
params: any;
|
2003
2002
|
computeChainId: number;
|
2004
2003
|
distributionChainId: number;
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2018
|
-
Tokens: {
|
2019
|
-
symbol: string;
|
2020
|
-
name: string | null;
|
2004
|
+
startTimestamp: number;
|
2005
|
+
endTimestamp: number;
|
2006
|
+
rewardToken: string;
|
2007
|
+
}, options: {
|
2008
|
+
headers: {
|
2009
|
+
authorization: string;
|
2010
|
+
};
|
2011
|
+
query?: Record<string, unknown> | undefined;
|
2012
|
+
fetch?: RequestInit | undefined;
|
2013
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2014
|
+
200: {
|
2015
|
+
type: string;
|
2016
|
+
description: string | null;
|
2021
2017
|
id: string;
|
2022
|
-
|
2023
|
-
|
2024
|
-
|
2025
|
-
|
2026
|
-
|
2027
|
-
|
2028
|
-
|
2029
|
-
|
2030
|
-
|
2031
|
-
|
2032
|
-
|
2033
|
-
|
2034
|
-
|
2035
|
-
|
2018
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2019
|
+
subType: number | null;
|
2020
|
+
computeChainId: number;
|
2021
|
+
distributionChainId: number;
|
2022
|
+
campaignId: string;
|
2023
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
2024
|
+
rewardTokenId: string;
|
2025
|
+
amount: string;
|
2026
|
+
opportunityId: string;
|
2027
|
+
startTimestamp: bigint;
|
2028
|
+
endTimestamp: bigint;
|
2029
|
+
creatorAddress: string;
|
2030
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2031
|
+
createdAt: Date;
|
2032
|
+
rootCampaignId: string | null;
|
2033
|
+
parentCampaignId: string | null;
|
2034
|
+
} | {
|
2035
|
+
Tokens: {
|
2036
|
+
symbol: string;
|
2037
|
+
name: string | null;
|
2038
|
+
id: string;
|
2039
|
+
icon: string;
|
2040
|
+
address: string;
|
2041
|
+
chainId: number;
|
2042
|
+
decimals: number;
|
2043
|
+
displaySymbol: string;
|
2044
|
+
verified: boolean;
|
2045
|
+
isTest: boolean;
|
2046
|
+
isPoint: boolean;
|
2047
|
+
isPreTGE: boolean;
|
2048
|
+
isNative: boolean;
|
2049
|
+
price: number | null;
|
2050
|
+
}[];
|
2051
|
+
Protocols: {
|
2052
|
+
url: string;
|
2053
|
+
name: string;
|
2054
|
+
description: string;
|
2055
|
+
id: string;
|
2056
|
+
tags: string[];
|
2057
|
+
icon: string;
|
2058
|
+
}[];
|
2059
|
+
status: import("@db/api").$Enums.Status;
|
2060
|
+
type: string;
|
2036
2061
|
name: string;
|
2037
2062
|
description: string;
|
2038
2063
|
id: string;
|
2039
2064
|
tags: string[];
|
2040
|
-
|
2041
|
-
|
2042
|
-
|
2043
|
-
type: string;
|
2044
|
-
name: string;
|
2045
|
-
description: string;
|
2046
|
-
id: string;
|
2047
|
-
tags: string[];
|
2048
|
-
identifier: string;
|
2049
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
2050
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
2051
|
-
chainId: number;
|
2052
|
-
howToSteps: string[];
|
2053
|
-
depositUrl: string | null;
|
2054
|
-
explorerAddress: string | null;
|
2055
|
-
mainProtocolId: string | null;
|
2056
|
-
tvl: number;
|
2057
|
-
apr: number;
|
2058
|
-
dailyRewards: number;
|
2059
|
-
lastCampaignCreatedAt: Date;
|
2060
|
-
} | {
|
2061
|
-
id: string;
|
2062
|
-
chainId: number;
|
2063
|
-
type: string;
|
2064
|
-
identifier: string;
|
2065
|
-
name: string;
|
2066
|
-
status: "PAST" | "LIVE" | "SOON";
|
2067
|
-
action: any;
|
2068
|
-
tokens: ({
|
2069
|
-
symbol: string;
|
2070
|
-
name: string | null;
|
2071
|
-
id: string;
|
2072
|
-
icon: string;
|
2073
|
-
address: string;
|
2065
|
+
identifier: string;
|
2066
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
2067
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
2074
2068
|
chainId: number;
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
}
|
2084
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2085
|
-
description: string;
|
2086
|
-
howToSteps: string[];
|
2087
|
-
depositUrl: string | undefined;
|
2088
|
-
explorerAddress: string | undefined;
|
2089
|
-
tags: string[];
|
2090
|
-
} | undefined;
|
2091
|
-
}>>;
|
2092
|
-
get: (options: {
|
2093
|
-
headers: {
|
2094
|
-
authorization: string;
|
2095
|
-
};
|
2096
|
-
query: {
|
2097
|
-
distributionChain?: number | undefined;
|
2098
|
-
campaignId: string;
|
2099
|
-
};
|
2100
|
-
fetch?: RequestInit | undefined;
|
2101
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2102
|
-
200: {
|
2103
|
-
type: string;
|
2104
|
-
description: string | null;
|
2105
|
-
id: string;
|
2106
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
2107
|
-
subType: number | null;
|
2108
|
-
computeChainId: number;
|
2109
|
-
distributionChainId: number;
|
2110
|
-
campaignId: string;
|
2111
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
2112
|
-
rewardTokenId: string;
|
2113
|
-
amount: string;
|
2114
|
-
opportunityId: string;
|
2115
|
-
startTimestamp: bigint;
|
2116
|
-
endTimestamp: bigint;
|
2117
|
-
creatorAddress: string;
|
2118
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2119
|
-
createdAt: Date;
|
2120
|
-
rootCampaignId: string | null;
|
2121
|
-
parentCampaignId: string | null;
|
2122
|
-
} | {
|
2123
|
-
Tokens: {
|
2124
|
-
symbol: string;
|
2125
|
-
name: string | null;
|
2069
|
+
howToSteps: string[];
|
2070
|
+
depositUrl: string | null;
|
2071
|
+
explorerAddress: string | null;
|
2072
|
+
mainProtocolId: string | null;
|
2073
|
+
tvl: number;
|
2074
|
+
apr: number;
|
2075
|
+
dailyRewards: number;
|
2076
|
+
lastCampaignCreatedAt: Date;
|
2077
|
+
} | {
|
2126
2078
|
id: string;
|
2127
|
-
icon: string;
|
2128
|
-
address: string;
|
2129
2079
|
chainId: number;
|
2130
|
-
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2135
|
-
|
2136
|
-
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2080
|
+
type: string;
|
2081
|
+
identifier: string;
|
2082
|
+
name: string;
|
2083
|
+
status: "PAST" | "LIVE" | "SOON";
|
2084
|
+
action: any;
|
2085
|
+
tokens: ({
|
2086
|
+
symbol: string;
|
2087
|
+
name: string | null;
|
2088
|
+
id: string;
|
2089
|
+
icon: string;
|
2090
|
+
address: string;
|
2091
|
+
chainId: number;
|
2092
|
+
decimals: number;
|
2093
|
+
verified: boolean;
|
2094
|
+
isTest: boolean;
|
2095
|
+
isPoint: boolean;
|
2096
|
+
isPreTGE: boolean;
|
2097
|
+
isNative: boolean;
|
2098
|
+
} & {
|
2099
|
+
price?: number | null | undefined;
|
2100
|
+
})[];
|
2101
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2102
|
+
description: string;
|
2103
|
+
howToSteps: string[];
|
2104
|
+
depositUrl: string | undefined;
|
2105
|
+
explorerAddress: string | undefined;
|
2106
|
+
tags: string[];
|
2107
|
+
} | undefined;
|
2108
|
+
}>>;
|
2109
|
+
get: (options: {
|
2110
|
+
headers: {
|
2111
|
+
authorization: string;
|
2112
|
+
};
|
2113
|
+
query: {
|
2114
|
+
distributionChain?: number | undefined;
|
2115
|
+
campaignId: string;
|
2116
|
+
};
|
2117
|
+
fetch?: RequestInit | undefined;
|
2118
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2119
|
+
200: {
|
2120
|
+
type: string;
|
2121
|
+
description: string | null;
|
2122
|
+
id: string;
|
2123
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2124
|
+
subType: number | null;
|
2125
|
+
computeChainId: number;
|
2126
|
+
distributionChainId: number;
|
2127
|
+
campaignId: string;
|
2128
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
2129
|
+
rewardTokenId: string;
|
2130
|
+
amount: string;
|
2131
|
+
opportunityId: string;
|
2132
|
+
startTimestamp: bigint;
|
2133
|
+
endTimestamp: bigint;
|
2134
|
+
creatorAddress: string;
|
2135
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2136
|
+
createdAt: Date;
|
2137
|
+
rootCampaignId: string | null;
|
2138
|
+
parentCampaignId: string | null;
|
2139
|
+
} | {
|
2140
|
+
Tokens: {
|
2141
|
+
symbol: string;
|
2142
|
+
name: string | null;
|
2143
|
+
id: string;
|
2144
|
+
icon: string;
|
2145
|
+
address: string;
|
2146
|
+
chainId: number;
|
2147
|
+
decimals: number;
|
2148
|
+
displaySymbol: string;
|
2149
|
+
verified: boolean;
|
2150
|
+
isTest: boolean;
|
2151
|
+
isPoint: boolean;
|
2152
|
+
isPreTGE: boolean;
|
2153
|
+
isNative: boolean;
|
2154
|
+
price: number | null;
|
2155
|
+
}[];
|
2156
|
+
Protocols: {
|
2157
|
+
url: string;
|
2158
|
+
name: string;
|
2159
|
+
description: string;
|
2160
|
+
id: string;
|
2161
|
+
tags: string[];
|
2162
|
+
icon: string;
|
2163
|
+
}[];
|
2164
|
+
status: import("@db/api").$Enums.Status;
|
2165
|
+
type: string;
|
2141
2166
|
name: string;
|
2142
2167
|
description: string;
|
2143
2168
|
id: string;
|
2144
2169
|
tags: string[];
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
depositUrl: string | null;
|
2159
|
-
explorerAddress: string | null;
|
2160
|
-
mainProtocolId: string | null;
|
2161
|
-
tvl: number;
|
2162
|
-
apr: number;
|
2163
|
-
dailyRewards: number;
|
2164
|
-
lastCampaignCreatedAt: Date;
|
2165
|
-
} | {
|
2166
|
-
id: string;
|
2167
|
-
chainId: number;
|
2168
|
-
type: string;
|
2169
|
-
identifier: string;
|
2170
|
-
name: string;
|
2171
|
-
status: "PAST" | "LIVE" | "SOON";
|
2172
|
-
action: any;
|
2173
|
-
tokens: ({
|
2174
|
-
symbol: string;
|
2175
|
-
name: string | null;
|
2170
|
+
identifier: string;
|
2171
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
2172
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
2173
|
+
chainId: number;
|
2174
|
+
howToSteps: string[];
|
2175
|
+
depositUrl: string | null;
|
2176
|
+
explorerAddress: string | null;
|
2177
|
+
mainProtocolId: string | null;
|
2178
|
+
tvl: number;
|
2179
|
+
apr: number;
|
2180
|
+
dailyRewards: number;
|
2181
|
+
lastCampaignCreatedAt: Date;
|
2182
|
+
} | {
|
2176
2183
|
id: string;
|
2177
|
-
|
2184
|
+
chainId: number;
|
2185
|
+
type: string;
|
2186
|
+
identifier: string;
|
2187
|
+
name: string;
|
2188
|
+
status: "PAST" | "LIVE" | "SOON";
|
2189
|
+
action: any;
|
2190
|
+
tokens: ({
|
2191
|
+
symbol: string;
|
2192
|
+
name: string | null;
|
2193
|
+
id: string;
|
2194
|
+
icon: string;
|
2195
|
+
address: string;
|
2196
|
+
chainId: number;
|
2197
|
+
decimals: number;
|
2198
|
+
verified: boolean;
|
2199
|
+
isTest: boolean;
|
2200
|
+
isPoint: boolean;
|
2201
|
+
isPreTGE: boolean;
|
2202
|
+
isNative: boolean;
|
2203
|
+
} & {
|
2204
|
+
price?: number | null | undefined;
|
2205
|
+
})[];
|
2206
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2207
|
+
description: string;
|
2208
|
+
howToSteps: string[];
|
2209
|
+
depositUrl: string | undefined;
|
2210
|
+
explorerAddress: string | undefined;
|
2211
|
+
tags: string[];
|
2212
|
+
} | undefined;
|
2213
|
+
}>>;
|
2214
|
+
};
|
2215
|
+
erc20: {
|
2216
|
+
get: (options: {
|
2217
|
+
headers: {
|
2218
|
+
authorization: string;
|
2219
|
+
};
|
2220
|
+
query: {
|
2178
2221
|
address: string;
|
2179
2222
|
chainId: number;
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2223
|
+
};
|
2224
|
+
fetch?: RequestInit | undefined;
|
2225
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2226
|
+
200: {
|
2227
|
+
type: string;
|
2228
|
+
description: string | null;
|
2229
|
+
id: string;
|
2230
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2231
|
+
subType: number | null;
|
2232
|
+
computeChainId: number;
|
2233
|
+
distributionChainId: number;
|
2234
|
+
campaignId: string;
|
2235
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
2236
|
+
rewardTokenId: string;
|
2237
|
+
amount: string;
|
2238
|
+
opportunityId: string;
|
2239
|
+
startTimestamp: bigint;
|
2240
|
+
endTimestamp: bigint;
|
2241
|
+
creatorAddress: string;
|
2242
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
2243
|
+
createdAt: Date;
|
2244
|
+
rootCampaignId: string | null;
|
2245
|
+
parentCampaignId: string | null;
|
2246
|
+
} | {
|
2247
|
+
Tokens: {
|
2248
|
+
symbol: string;
|
2249
|
+
name: string | null;
|
2250
|
+
id: string;
|
2251
|
+
icon: string;
|
2252
|
+
address: string;
|
2253
|
+
chainId: number;
|
2254
|
+
decimals: number;
|
2255
|
+
displaySymbol: string;
|
2256
|
+
verified: boolean;
|
2257
|
+
isTest: boolean;
|
2258
|
+
isPoint: boolean;
|
2259
|
+
isPreTGE: boolean;
|
2260
|
+
isNative: boolean;
|
2261
|
+
price: number | null;
|
2262
|
+
}[];
|
2263
|
+
Protocols: {
|
2264
|
+
url: string;
|
2265
|
+
name: string;
|
2266
|
+
description: string;
|
2267
|
+
id: string;
|
2268
|
+
tags: string[];
|
2269
|
+
icon: string;
|
2270
|
+
}[];
|
2271
|
+
status: import("@db/api").$Enums.Status;
|
2272
|
+
type: string;
|
2273
|
+
name: string;
|
2274
|
+
description: string;
|
2275
|
+
id: string;
|
2276
|
+
tags: string[];
|
2277
|
+
identifier: string;
|
2278
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
2279
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
2280
|
+
chainId: number;
|
2281
|
+
howToSteps: string[];
|
2282
|
+
depositUrl: string | null;
|
2283
|
+
explorerAddress: string | null;
|
2284
|
+
mainProtocolId: string | null;
|
2285
|
+
tvl: number;
|
2286
|
+
apr: number;
|
2287
|
+
dailyRewards: number;
|
2288
|
+
lastCampaignCreatedAt: Date;
|
2289
|
+
} | {
|
2290
|
+
id: string;
|
2291
|
+
chainId: number;
|
2292
|
+
type: string;
|
2293
|
+
identifier: string;
|
2294
|
+
name: string;
|
2295
|
+
status: "PAST" | "LIVE" | "SOON";
|
2296
|
+
action: any;
|
2297
|
+
tokens: ({
|
2298
|
+
symbol: string;
|
2299
|
+
name: string | null;
|
2300
|
+
id: string;
|
2301
|
+
icon: string;
|
2302
|
+
address: string;
|
2303
|
+
chainId: number;
|
2304
|
+
decimals: number;
|
2305
|
+
verified: boolean;
|
2306
|
+
isTest: boolean;
|
2307
|
+
isPoint: boolean;
|
2308
|
+
isPreTGE: boolean;
|
2309
|
+
isNative: boolean;
|
2310
|
+
} & {
|
2311
|
+
price?: number | null | undefined;
|
2312
|
+
})[];
|
2313
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2314
|
+
description: string;
|
2315
|
+
howToSteps: string[];
|
2316
|
+
depositUrl: string | undefined;
|
2317
|
+
explorerAddress: string | undefined;
|
2318
|
+
tags: string[];
|
2319
|
+
} | undefined;
|
2320
|
+
}>>;
|
2321
|
+
};
|
2197
2322
|
};
|
2198
2323
|
};
|
2199
2324
|
};
|
@@ -4511,7 +4636,7 @@ declare const eden: {
|
|
4511
4636
|
};
|
4512
4637
|
};
|
4513
4638
|
creators: ((params: {
|
4514
|
-
|
4639
|
+
creatorId: string | number;
|
4515
4640
|
}) => {
|
4516
4641
|
get: (options?: {
|
4517
4642
|
headers?: Record<string, unknown> | undefined;
|
@@ -4562,198 +4687,202 @@ declare const eden: {
|
|
4562
4687
|
rebateFee: number;
|
4563
4688
|
};
|
4564
4689
|
}>>;
|
4565
|
-
|
4566
|
-
|
4567
|
-
|
4690
|
+
}) & {
|
4691
|
+
index: {
|
4692
|
+
post: (body: {
|
4693
|
+
icon?: string | undefined;
|
4694
|
+
name: string;
|
4695
|
+
id: string;
|
4696
|
+
addresses: string[];
|
4697
|
+
}, options: {
|
4698
|
+
headers: {
|
4699
|
+
authorization: string;
|
4700
|
+
};
|
4568
4701
|
query?: Record<string, unknown> | undefined;
|
4569
4702
|
fetch?: RequestInit | undefined;
|
4570
|
-
}
|
4703
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4571
4704
|
200: {
|
4572
|
-
|
4573
|
-
|
4574
|
-
|
4575
|
-
|
4576
|
-
totalWallets: number;
|
4577
|
-
totalCampaigns: number;
|
4578
|
-
creatorId: string | null;
|
4705
|
+
name: string;
|
4706
|
+
id: string;
|
4707
|
+
icon: string | null;
|
4708
|
+
rebateFee: number;
|
4579
4709
|
};
|
4580
4710
|
}>>;
|
4581
|
-
};
|
4582
|
-
campaigns: {
|
4583
4711
|
get: (options: {
|
4584
4712
|
headers?: Record<string, unknown> | undefined;
|
4585
4713
|
query: {
|
4586
|
-
|
4714
|
+
id?: string | undefined;
|
4715
|
+
items?: number | undefined;
|
4716
|
+
page?: number | undefined;
|
4717
|
+
address?: string | undefined;
|
4587
4718
|
};
|
4588
4719
|
fetch?: RequestInit | undefined;
|
4589
4720
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4590
4721
|
200: ({
|
4591
|
-
|
4592
|
-
|
4593
|
-
|
4594
|
-
name: string;
|
4595
|
-
description: string;
|
4596
|
-
id: string;
|
4597
|
-
tags: string[];
|
4598
|
-
identifier: string;
|
4599
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
4600
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
4601
|
-
chainId: number;
|
4602
|
-
howToSteps: string[];
|
4603
|
-
depositUrl: string | null;
|
4604
|
-
explorerAddress: string | null;
|
4605
|
-
mainProtocolId: string | null;
|
4606
|
-
tvl: number;
|
4607
|
-
apr: number;
|
4608
|
-
dailyRewards: number;
|
4609
|
-
lastCampaignCreatedAt: Date;
|
4610
|
-
};
|
4722
|
+
Users: {
|
4723
|
+
address: string;
|
4724
|
+
}[];
|
4611
4725
|
} & {
|
4612
|
-
|
4613
|
-
description: string | null;
|
4726
|
+
name: string;
|
4614
4727
|
id: string;
|
4615
|
-
|
4616
|
-
|
4617
|
-
|
4618
|
-
|
4619
|
-
|
4620
|
-
|
4621
|
-
|
4622
|
-
|
4623
|
-
|
4624
|
-
|
4625
|
-
|
4626
|
-
|
4627
|
-
|
4628
|
-
|
4629
|
-
|
4630
|
-
|
4631
|
-
|
4632
|
-
|
4633
|
-
|
4634
|
-
|
4635
|
-
|
4636
|
-
|
4728
|
+
icon: string | null;
|
4729
|
+
rebateFee: number;
|
4730
|
+
})[];
|
4731
|
+
}>>;
|
4732
|
+
};
|
4733
|
+
user: ((params: {
|
4734
|
+
address: string | number;
|
4735
|
+
}) => {
|
4736
|
+
dashboard: {
|
4737
|
+
get: (options?: {
|
4738
|
+
headers?: Record<string, unknown> | undefined;
|
4739
|
+
query?: Record<string, unknown> | undefined;
|
4740
|
+
fetch?: RequestInit | undefined;
|
4741
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4742
|
+
200: {
|
4743
|
+
pastCampaigns: number;
|
4744
|
+
liveCampaigns: number;
|
4745
|
+
futureCampaigns: number;
|
4746
|
+
totalTvl: number;
|
4747
|
+
totalWallets: number;
|
4748
|
+
totalCampaigns: number;
|
4749
|
+
creatorId: string | null;
|
4637
4750
|
};
|
4638
|
-
|
4639
|
-
|
4640
|
-
|
4641
|
-
|
4642
|
-
|
4643
|
-
|
4644
|
-
|
4645
|
-
address: string;
|
4646
|
-
chainId: number;
|
4647
|
-
decimals: number;
|
4648
|
-
verified: boolean;
|
4649
|
-
isTest: boolean;
|
4650
|
-
isPoint: boolean;
|
4651
|
-
isPreTGE: boolean;
|
4652
|
-
isNative: boolean;
|
4653
|
-
} & {
|
4654
|
-
price?: number | null | undefined;
|
4751
|
+
}>>;
|
4752
|
+
};
|
4753
|
+
campaigns: {
|
4754
|
+
get: (options: {
|
4755
|
+
headers?: Record<string, unknown> | undefined;
|
4756
|
+
query: {
|
4757
|
+
status?: "PAST" | "LIVE" | "FUTURE" | undefined;
|
4655
4758
|
};
|
4656
|
-
|
4657
|
-
|
4658
|
-
|
4659
|
-
|
4660
|
-
|
4661
|
-
|
4662
|
-
|
4663
|
-
|
4664
|
-
|
4665
|
-
|
4666
|
-
|
4759
|
+
fetch?: RequestInit | undefined;
|
4760
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4761
|
+
200: ({
|
4762
|
+
Opportunity: {
|
4763
|
+
status: import("@db/api").$Enums.Status;
|
4764
|
+
type: string;
|
4765
|
+
name: string;
|
4766
|
+
description: string;
|
4767
|
+
id: string;
|
4768
|
+
tags: string[];
|
4769
|
+
identifier: string;
|
4770
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
4771
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
4772
|
+
chainId: number;
|
4773
|
+
howToSteps: string[];
|
4774
|
+
depositUrl: string | null;
|
4775
|
+
explorerAddress: string | null;
|
4776
|
+
mainProtocolId: string | null;
|
4777
|
+
tvl: number;
|
4778
|
+
apr: number;
|
4779
|
+
dailyRewards: number;
|
4780
|
+
lastCampaignCreatedAt: Date;
|
4781
|
+
};
|
4782
|
+
} & {
|
4783
|
+
type: string;
|
4784
|
+
description: string | null;
|
4785
|
+
id: string;
|
4786
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
4787
|
+
subType: number | null;
|
4788
|
+
computeChainId: number;
|
4789
|
+
distributionChainId: number;
|
4667
4790
|
campaignId: string;
|
4668
|
-
|
4669
|
-
|
4670
|
-
|
4671
|
-
|
4672
|
-
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4676
|
-
|
4677
|
-
|
4678
|
-
|
4679
|
-
|
4680
|
-
|
4791
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4792
|
+
rewardTokenId: string;
|
4793
|
+
amount: string;
|
4794
|
+
opportunityId: string;
|
4795
|
+
startTimestamp: bigint;
|
4796
|
+
endTimestamp: bigint;
|
4797
|
+
creatorAddress: string;
|
4798
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
4799
|
+
createdAt: Date;
|
4800
|
+
rootCampaignId: string | null;
|
4801
|
+
parentCampaignId: string | null;
|
4802
|
+
})[] | {
|
4803
|
+
params: any;
|
4804
|
+
chain: {
|
4805
|
+
name: string;
|
4806
|
+
id: number;
|
4807
|
+
icon: string;
|
4808
|
+
};
|
4809
|
+
endTimestamp: number;
|
4810
|
+
startTimestamp: number;
|
4811
|
+
rewardToken: {
|
4812
|
+
symbol: string;
|
4813
|
+
name: string | null;
|
4814
|
+
id: string;
|
4815
|
+
icon: string;
|
4816
|
+
address: string;
|
4817
|
+
chainId: number;
|
4818
|
+
decimals: number;
|
4819
|
+
verified: boolean;
|
4820
|
+
isTest: boolean;
|
4821
|
+
isPoint: boolean;
|
4822
|
+
isPreTGE: boolean;
|
4823
|
+
isNative: boolean;
|
4824
|
+
} & {
|
4825
|
+
price?: number | null | undefined;
|
4826
|
+
};
|
4827
|
+
distributionChain: {
|
4828
|
+
name: string;
|
4829
|
+
id: number;
|
4830
|
+
icon: string;
|
4831
|
+
} | undefined;
|
4832
|
+
campaignStatus: {
|
4833
|
+
computedUntil: number;
|
4834
|
+
processingStarted: number;
|
4835
|
+
status: import("@db/api").$Enums.RunStatus;
|
4836
|
+
error: string;
|
4837
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
4838
|
+
campaignId: string;
|
4839
|
+
} | undefined;
|
4840
|
+
creatorAddress: string;
|
4841
|
+
creator: {
|
4842
|
+
tags: string[];
|
4843
|
+
address: string;
|
4844
|
+
creatorId: string | null;
|
4845
|
+
};
|
4846
|
+
createdAt: string;
|
4847
|
+
description: string | undefined;
|
4848
|
+
parentCampaignId: string | undefined;
|
4849
|
+
rootCampaignId: string | undefined;
|
4850
|
+
Opportunity: {
|
4851
|
+
status: import("@db/api").$Enums.Status;
|
4852
|
+
type: string;
|
4853
|
+
name: string;
|
4854
|
+
description: string;
|
4855
|
+
id: string;
|
4856
|
+
tags: string[];
|
4857
|
+
identifier: string;
|
4858
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
4859
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
4860
|
+
chainId: number;
|
4861
|
+
howToSteps: string[];
|
4862
|
+
depositUrl: string | null;
|
4863
|
+
explorerAddress: string | null;
|
4864
|
+
mainProtocolId: string | null;
|
4865
|
+
tvl: number;
|
4866
|
+
apr: number;
|
4867
|
+
dailyRewards: number;
|
4868
|
+
lastCampaignCreatedAt: Date;
|
4869
|
+
};
|
4681
4870
|
type: string;
|
4682
|
-
name: string;
|
4683
|
-
description: string;
|
4684
4871
|
id: string;
|
4685
|
-
|
4686
|
-
|
4687
|
-
|
4688
|
-
|
4689
|
-
|
4690
|
-
|
4691
|
-
|
4692
|
-
|
4693
|
-
mainProtocolId: string | null;
|
4694
|
-
tvl: number;
|
4695
|
-
apr: number;
|
4696
|
-
dailyRewards: number;
|
4697
|
-
lastCampaignCreatedAt: Date;
|
4698
|
-
};
|
4699
|
-
type: string;
|
4700
|
-
id: string;
|
4701
|
-
subType: number | null;
|
4702
|
-
computeChainId: number;
|
4703
|
-
distributionChainId: number;
|
4704
|
-
campaignId: string;
|
4705
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
4706
|
-
rewardTokenId: string;
|
4707
|
-
amount: string;
|
4708
|
-
opportunityId: string;
|
4709
|
-
}[];
|
4710
|
-
}>>;
|
4711
|
-
};
|
4712
|
-
}) & {
|
4713
|
-
index: {
|
4714
|
-
post: (body: {
|
4715
|
-
icon?: string | undefined;
|
4716
|
-
name: string;
|
4717
|
-
id: string;
|
4718
|
-
addresses: string[];
|
4719
|
-
}, options: {
|
4720
|
-
headers: {
|
4721
|
-
authorization: string;
|
4722
|
-
};
|
4723
|
-
query?: Record<string, unknown> | undefined;
|
4724
|
-
fetch?: RequestInit | undefined;
|
4725
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4726
|
-
200: {
|
4727
|
-
name: string;
|
4728
|
-
id: string;
|
4729
|
-
icon: string | null;
|
4730
|
-
rebateFee: number;
|
4731
|
-
};
|
4732
|
-
}>>;
|
4733
|
-
get: (options: {
|
4734
|
-
headers?: Record<string, unknown> | undefined;
|
4735
|
-
query: {
|
4736
|
-
id?: string | undefined;
|
4737
|
-
items?: number | undefined;
|
4738
|
-
page?: number | undefined;
|
4739
|
-
address?: string | undefined;
|
4740
|
-
};
|
4741
|
-
fetch?: RequestInit | undefined;
|
4742
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4743
|
-
200: ({
|
4744
|
-
Users: {
|
4745
|
-
address: string;
|
4872
|
+
subType: number | null;
|
4873
|
+
computeChainId: number;
|
4874
|
+
distributionChainId: number;
|
4875
|
+
campaignId: string;
|
4876
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4877
|
+
rewardTokenId: string;
|
4878
|
+
amount: string;
|
4879
|
+
opportunityId: string;
|
4746
4880
|
}[];
|
4747
|
-
}
|
4748
|
-
|
4749
|
-
|
4750
|
-
icon: string | null;
|
4751
|
-
rebateFee: number;
|
4752
|
-
})[];
|
4753
|
-
}>>;
|
4754
|
-
};
|
4881
|
+
}>>;
|
4882
|
+
};
|
4883
|
+
}) & {};
|
4755
4884
|
campaigns: ((params: {
|
4756
|
-
|
4885
|
+
campaignId: string | number;
|
4757
4886
|
}) => {
|
4758
4887
|
get: (options?: {
|
4759
4888
|
headers?: Record<string, unknown> | undefined;
|
@@ -6901,7 +7030,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6901
7030
|
} & {
|
6902
7031
|
price?: number | null | undefined;
|
6903
7032
|
})[];
|
6904
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
7033
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
6905
7034
|
description: string;
|
6906
7035
|
howToSteps: string[];
|
6907
7036
|
depositUrl: string | undefined;
|
@@ -7079,7 +7208,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7079
7208
|
} & {
|
7080
7209
|
price?: number | null | undefined;
|
7081
7210
|
})[];
|
7082
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
7211
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
7083
7212
|
description: string;
|
7084
7213
|
howToSteps: string[];
|
7085
7214
|
depositUrl: string | undefined;
|
@@ -7209,7 +7338,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7209
7338
|
} & {
|
7210
7339
|
price?: number | null | undefined;
|
7211
7340
|
})[];
|
7212
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
7341
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
7213
7342
|
description: string;
|
7214
7343
|
howToSteps: string[];
|
7215
7344
|
depositUrl: string | undefined;
|
@@ -7951,12 +8080,75 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7951
8080
|
campaigns: {
|
7952
8081
|
"dry-run": {
|
7953
8082
|
tvl: {
|
7954
|
-
|
8083
|
+
campaign: {
|
8084
|
+
":campaignId": {
|
8085
|
+
get: {
|
8086
|
+
body: unknown;
|
8087
|
+
params: {
|
8088
|
+
campaignId: string;
|
8089
|
+
};
|
8090
|
+
query: unknown;
|
8091
|
+
headers: {
|
8092
|
+
authorization: string;
|
8093
|
+
};
|
8094
|
+
response: {
|
8095
|
+
200: unknown[];
|
8096
|
+
};
|
8097
|
+
};
|
8098
|
+
};
|
8099
|
+
};
|
8100
|
+
};
|
8101
|
+
};
|
8102
|
+
} & {
|
8103
|
+
"dry-run": {
|
8104
|
+
tvl: {
|
8105
|
+
opportunity: {
|
8106
|
+
":opportunityId": {
|
8107
|
+
get: {
|
8108
|
+
body: unknown;
|
8109
|
+
params: {
|
8110
|
+
opportunityId: string;
|
8111
|
+
};
|
8112
|
+
query: unknown;
|
8113
|
+
headers: {
|
8114
|
+
authorization: string;
|
8115
|
+
};
|
8116
|
+
response: {
|
8117
|
+
200: unknown[];
|
8118
|
+
};
|
8119
|
+
};
|
8120
|
+
};
|
8121
|
+
};
|
8122
|
+
};
|
8123
|
+
};
|
8124
|
+
} & {
|
8125
|
+
"dry-run": {
|
8126
|
+
tvl: {
|
8127
|
+
erc20: {
|
7955
8128
|
get: {
|
7956
8129
|
body: unknown;
|
7957
|
-
params: {
|
7958
|
-
|
8130
|
+
params: {};
|
8131
|
+
query: {
|
8132
|
+
address: string;
|
8133
|
+
chainId: number;
|
8134
|
+
};
|
8135
|
+
headers: {
|
8136
|
+
authorization: string;
|
7959
8137
|
};
|
8138
|
+
response: {
|
8139
|
+
200: unknown[];
|
8140
|
+
};
|
8141
|
+
};
|
8142
|
+
};
|
8143
|
+
};
|
8144
|
+
};
|
8145
|
+
} & {
|
8146
|
+
"dry-run": {
|
8147
|
+
tvl: {
|
8148
|
+
list: {
|
8149
|
+
post: {
|
8150
|
+
body: string[];
|
8151
|
+
params: {};
|
7960
8152
|
query: unknown;
|
7961
8153
|
headers: {
|
7962
8154
|
authorization: string;
|
@@ -7970,13 +8162,24 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7970
8162
|
};
|
7971
8163
|
} & {
|
7972
8164
|
"dry-run": {
|
7973
|
-
|
7974
|
-
|
7975
|
-
|
7976
|
-
body:
|
7977
|
-
|
7978
|
-
|
8165
|
+
tvl: {
|
8166
|
+
index: {
|
8167
|
+
post: {
|
8168
|
+
body: {
|
8169
|
+
id?: string | undefined;
|
8170
|
+
subType?: number | undefined;
|
8171
|
+
campaignId?: string | undefined;
|
8172
|
+
amount?: string | undefined;
|
8173
|
+
creatorAddress?: string | undefined;
|
8174
|
+
type: string;
|
8175
|
+
params: any;
|
8176
|
+
computeChainId: number;
|
8177
|
+
distributionChainId: number;
|
8178
|
+
startTimestamp: number;
|
8179
|
+
endTimestamp: number;
|
8180
|
+
rewardToken: string;
|
7979
8181
|
};
|
8182
|
+
params: {};
|
7980
8183
|
query: unknown;
|
7981
8184
|
headers: {
|
7982
8185
|
authorization: string;
|
@@ -7990,281 +8193,352 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7990
8193
|
};
|
7991
8194
|
} & {
|
7992
8195
|
"dry-run": {
|
7993
|
-
|
7994
|
-
|
8196
|
+
metadata: {
|
8197
|
+
index: {
|
7995
8198
|
post: {
|
7996
|
-
body:
|
8199
|
+
body: {
|
8200
|
+
id?: string | undefined;
|
8201
|
+
subType?: number | undefined;
|
8202
|
+
campaignId?: string | undefined;
|
8203
|
+
amount?: string | undefined;
|
8204
|
+
creatorAddress?: string | undefined;
|
8205
|
+
type: string;
|
8206
|
+
params: any;
|
8207
|
+
computeChainId: number;
|
8208
|
+
distributionChainId: number;
|
8209
|
+
startTimestamp: number;
|
8210
|
+
endTimestamp: number;
|
8211
|
+
rewardToken: string;
|
8212
|
+
};
|
7997
8213
|
params: {};
|
7998
8214
|
query: unknown;
|
7999
8215
|
headers: {
|
8000
8216
|
authorization: string;
|
8001
8217
|
};
|
8002
8218
|
response: {
|
8003
|
-
200:
|
8219
|
+
200: {
|
8220
|
+
type: string;
|
8221
|
+
description: string | null;
|
8222
|
+
id: string;
|
8223
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
8224
|
+
subType: number | null;
|
8225
|
+
computeChainId: number;
|
8226
|
+
distributionChainId: number;
|
8227
|
+
campaignId: string;
|
8228
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8229
|
+
rewardTokenId: string;
|
8230
|
+
amount: string;
|
8231
|
+
opportunityId: string;
|
8232
|
+
startTimestamp: bigint;
|
8233
|
+
endTimestamp: bigint;
|
8234
|
+
creatorAddress: string;
|
8235
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8236
|
+
createdAt: Date;
|
8237
|
+
rootCampaignId: string | null;
|
8238
|
+
parentCampaignId: string | null;
|
8239
|
+
} | {
|
8240
|
+
Tokens: {
|
8241
|
+
symbol: string;
|
8242
|
+
name: string | null;
|
8243
|
+
id: string;
|
8244
|
+
icon: string;
|
8245
|
+
address: string;
|
8246
|
+
chainId: number;
|
8247
|
+
decimals: number;
|
8248
|
+
displaySymbol: string;
|
8249
|
+
verified: boolean;
|
8250
|
+
isTest: boolean;
|
8251
|
+
isPoint: boolean;
|
8252
|
+
isPreTGE: boolean;
|
8253
|
+
isNative: boolean;
|
8254
|
+
price: number | null;
|
8255
|
+
}[];
|
8256
|
+
Protocols: {
|
8257
|
+
url: string;
|
8258
|
+
name: string;
|
8259
|
+
description: string;
|
8260
|
+
id: string;
|
8261
|
+
tags: string[];
|
8262
|
+
icon: string;
|
8263
|
+
}[];
|
8264
|
+
status: import("@db/api").$Enums.Status;
|
8265
|
+
type: string;
|
8266
|
+
name: string;
|
8267
|
+
description: string;
|
8268
|
+
id: string;
|
8269
|
+
tags: string[];
|
8270
|
+
identifier: string;
|
8271
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
8272
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
8273
|
+
chainId: number;
|
8274
|
+
howToSteps: string[];
|
8275
|
+
depositUrl: string | null;
|
8276
|
+
explorerAddress: string | null;
|
8277
|
+
mainProtocolId: string | null;
|
8278
|
+
tvl: number;
|
8279
|
+
apr: number;
|
8280
|
+
dailyRewards: number;
|
8281
|
+
lastCampaignCreatedAt: Date;
|
8282
|
+
} | {
|
8283
|
+
id: string;
|
8284
|
+
chainId: number;
|
8285
|
+
type: string;
|
8286
|
+
identifier: string;
|
8287
|
+
name: string;
|
8288
|
+
status: "PAST" | "LIVE" | "SOON";
|
8289
|
+
action: any;
|
8290
|
+
tokens: ({
|
8291
|
+
symbol: string;
|
8292
|
+
name: string | null;
|
8293
|
+
id: string;
|
8294
|
+
icon: string;
|
8295
|
+
address: string;
|
8296
|
+
chainId: number;
|
8297
|
+
decimals: number;
|
8298
|
+
verified: boolean;
|
8299
|
+
isTest: boolean;
|
8300
|
+
isPoint: boolean;
|
8301
|
+
isPreTGE: boolean;
|
8302
|
+
isNative: boolean;
|
8303
|
+
} & {
|
8304
|
+
price?: number | null | undefined;
|
8305
|
+
})[];
|
8306
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
8307
|
+
description: string;
|
8308
|
+
howToSteps: string[];
|
8309
|
+
depositUrl: string | undefined;
|
8310
|
+
explorerAddress: string | undefined;
|
8311
|
+
tags: string[];
|
8312
|
+
} | undefined;
|
8004
8313
|
};
|
8005
8314
|
};
|
8006
8315
|
};
|
8007
8316
|
};
|
8008
8317
|
};
|
8009
|
-
} & {
|
8010
|
-
"dry-run": {
|
8011
|
-
tvl: {
|
8012
|
-
post: {
|
8013
|
-
body: {
|
8014
|
-
id?: string | undefined;
|
8015
|
-
subType?: number | undefined;
|
8016
|
-
campaignId?: string | undefined;
|
8017
|
-
amount?: string | undefined;
|
8018
|
-
creatorAddress?: string | undefined;
|
8019
|
-
type: string;
|
8020
|
-
params: any;
|
8021
|
-
computeChainId: number;
|
8022
|
-
distributionChainId: number;
|
8023
|
-
startTimestamp: number;
|
8024
|
-
endTimestamp: number;
|
8025
|
-
rewardToken: string;
|
8026
|
-
};
|
8027
|
-
params: {};
|
8028
|
-
query: unknown;
|
8029
|
-
headers: {
|
8030
|
-
authorization: string;
|
8031
|
-
};
|
8032
|
-
response: {
|
8033
|
-
200: unknown[];
|
8034
|
-
};
|
8035
|
-
};
|
8036
|
-
};
|
8037
|
-
};
|
8038
8318
|
} & {
|
8039
8319
|
"dry-run": {
|
8040
8320
|
metadata: {
|
8041
|
-
|
8042
|
-
|
8043
|
-
|
8044
|
-
|
8045
|
-
|
8046
|
-
|
8047
|
-
creatorAddress?: string | undefined;
|
8048
|
-
type: string;
|
8049
|
-
params: any;
|
8050
|
-
computeChainId: number;
|
8051
|
-
distributionChainId: number;
|
8052
|
-
startTimestamp: number;
|
8053
|
-
endTimestamp: number;
|
8054
|
-
rewardToken: string;
|
8055
|
-
};
|
8056
|
-
params: {};
|
8057
|
-
query: unknown;
|
8058
|
-
headers: {
|
8059
|
-
authorization: string;
|
8060
|
-
};
|
8061
|
-
response: {
|
8062
|
-
200: {
|
8063
|
-
type: string;
|
8064
|
-
description: string | null;
|
8065
|
-
id: string;
|
8066
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
8067
|
-
subType: number | null;
|
8068
|
-
computeChainId: number;
|
8069
|
-
distributionChainId: number;
|
8321
|
+
index: {
|
8322
|
+
get: {
|
8323
|
+
body: unknown;
|
8324
|
+
params: {};
|
8325
|
+
query: {
|
8326
|
+
distributionChain?: number | undefined;
|
8070
8327
|
campaignId: string;
|
8071
|
-
|
8072
|
-
|
8073
|
-
|
8074
|
-
|
8075
|
-
|
8076
|
-
|
8077
|
-
|
8078
|
-
|
8079
|
-
createdAt: Date;
|
8080
|
-
rootCampaignId: string | null;
|
8081
|
-
parentCampaignId: string | null;
|
8082
|
-
} | {
|
8083
|
-
Tokens: {
|
8084
|
-
symbol: string;
|
8085
|
-
name: string | null;
|
8328
|
+
};
|
8329
|
+
headers: {
|
8330
|
+
authorization: string;
|
8331
|
+
};
|
8332
|
+
response: {
|
8333
|
+
200: {
|
8334
|
+
type: string;
|
8335
|
+
description: string | null;
|
8086
8336
|
id: string;
|
8087
|
-
|
8088
|
-
|
8089
|
-
|
8090
|
-
|
8091
|
-
|
8092
|
-
|
8093
|
-
|
8094
|
-
|
8095
|
-
|
8096
|
-
|
8097
|
-
|
8098
|
-
|
8099
|
-
|
8100
|
-
|
8337
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
8338
|
+
subType: number | null;
|
8339
|
+
computeChainId: number;
|
8340
|
+
distributionChainId: number;
|
8341
|
+
campaignId: string;
|
8342
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8343
|
+
rewardTokenId: string;
|
8344
|
+
amount: string;
|
8345
|
+
opportunityId: string;
|
8346
|
+
startTimestamp: bigint;
|
8347
|
+
endTimestamp: bigint;
|
8348
|
+
creatorAddress: string;
|
8349
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8350
|
+
createdAt: Date;
|
8351
|
+
rootCampaignId: string | null;
|
8352
|
+
parentCampaignId: string | null;
|
8353
|
+
} | {
|
8354
|
+
Tokens: {
|
8355
|
+
symbol: string;
|
8356
|
+
name: string | null;
|
8357
|
+
id: string;
|
8358
|
+
icon: string;
|
8359
|
+
address: string;
|
8360
|
+
chainId: number;
|
8361
|
+
decimals: number;
|
8362
|
+
displaySymbol: string;
|
8363
|
+
verified: boolean;
|
8364
|
+
isTest: boolean;
|
8365
|
+
isPoint: boolean;
|
8366
|
+
isPreTGE: boolean;
|
8367
|
+
isNative: boolean;
|
8368
|
+
price: number | null;
|
8369
|
+
}[];
|
8370
|
+
Protocols: {
|
8371
|
+
url: string;
|
8372
|
+
name: string;
|
8373
|
+
description: string;
|
8374
|
+
id: string;
|
8375
|
+
tags: string[];
|
8376
|
+
icon: string;
|
8377
|
+
}[];
|
8378
|
+
status: import("@db/api").$Enums.Status;
|
8379
|
+
type: string;
|
8101
8380
|
name: string;
|
8102
8381
|
description: string;
|
8103
8382
|
id: string;
|
8104
8383
|
tags: string[];
|
8105
|
-
|
8106
|
-
|
8107
|
-
|
8108
|
-
|
8109
|
-
|
8110
|
-
|
8111
|
-
|
8112
|
-
|
8113
|
-
|
8114
|
-
|
8115
|
-
|
8116
|
-
|
8117
|
-
|
8118
|
-
depositUrl: string | null;
|
8119
|
-
explorerAddress: string | null;
|
8120
|
-
mainProtocolId: string | null;
|
8121
|
-
tvl: number;
|
8122
|
-
apr: number;
|
8123
|
-
dailyRewards: number;
|
8124
|
-
lastCampaignCreatedAt: Date;
|
8125
|
-
} | {
|
8126
|
-
id: string;
|
8127
|
-
chainId: number;
|
8128
|
-
type: string;
|
8129
|
-
identifier: string;
|
8130
|
-
name: string;
|
8131
|
-
status: "PAST" | "LIVE" | "SOON";
|
8132
|
-
action: any;
|
8133
|
-
tokens: ({
|
8134
|
-
symbol: string;
|
8135
|
-
name: string | null;
|
8384
|
+
identifier: string;
|
8385
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
8386
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
8387
|
+
chainId: number;
|
8388
|
+
howToSteps: string[];
|
8389
|
+
depositUrl: string | null;
|
8390
|
+
explorerAddress: string | null;
|
8391
|
+
mainProtocolId: string | null;
|
8392
|
+
tvl: number;
|
8393
|
+
apr: number;
|
8394
|
+
dailyRewards: number;
|
8395
|
+
lastCampaignCreatedAt: Date;
|
8396
|
+
} | {
|
8136
8397
|
id: string;
|
8137
|
-
icon: string;
|
8138
|
-
address: string;
|
8139
8398
|
chainId: number;
|
8140
|
-
|
8141
|
-
|
8142
|
-
|
8143
|
-
|
8144
|
-
|
8145
|
-
|
8146
|
-
|
8147
|
-
|
8148
|
-
|
8149
|
-
|
8150
|
-
|
8151
|
-
|
8152
|
-
|
8153
|
-
|
8154
|
-
|
8155
|
-
|
8156
|
-
|
8157
|
-
|
8158
|
-
|
8159
|
-
|
8160
|
-
|
8161
|
-
|
8162
|
-
|
8163
|
-
|
8164
|
-
|
8165
|
-
|
8166
|
-
|
8167
|
-
|
8168
|
-
|
8169
|
-
};
|
8170
|
-
|
8171
|
-
|
8172
|
-
|
8173
|
-
|
8174
|
-
|
8175
|
-
|
8176
|
-
|
8177
|
-
|
8178
|
-
|
8179
|
-
|
8180
|
-
|
8181
|
-
|
8182
|
-
|
8183
|
-
|
8184
|
-
|
8185
|
-
|
8186
|
-
|
8187
|
-
|
8188
|
-
|
8189
|
-
|
8190
|
-
|
8191
|
-
createdAt: Date;
|
8192
|
-
rootCampaignId: string | null;
|
8193
|
-
parentCampaignId: string | null;
|
8194
|
-
} | {
|
8195
|
-
Tokens: {
|
8196
|
-
symbol: string;
|
8197
|
-
name: string | null;
|
8399
|
+
type: string;
|
8400
|
+
identifier: string;
|
8401
|
+
name: string;
|
8402
|
+
status: "PAST" | "LIVE" | "SOON";
|
8403
|
+
action: any;
|
8404
|
+
tokens: ({
|
8405
|
+
symbol: string;
|
8406
|
+
name: string | null;
|
8407
|
+
id: string;
|
8408
|
+
icon: string;
|
8409
|
+
address: string;
|
8410
|
+
chainId: number;
|
8411
|
+
decimals: number;
|
8412
|
+
verified: boolean;
|
8413
|
+
isTest: boolean;
|
8414
|
+
isPoint: boolean;
|
8415
|
+
isPreTGE: boolean;
|
8416
|
+
isNative: boolean;
|
8417
|
+
} & {
|
8418
|
+
price?: number | null | undefined;
|
8419
|
+
})[];
|
8420
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
8421
|
+
description: string;
|
8422
|
+
howToSteps: string[];
|
8423
|
+
depositUrl: string | undefined;
|
8424
|
+
explorerAddress: string | undefined;
|
8425
|
+
tags: string[];
|
8426
|
+
} | undefined;
|
8427
|
+
};
|
8428
|
+
};
|
8429
|
+
};
|
8430
|
+
};
|
8431
|
+
};
|
8432
|
+
} & {
|
8433
|
+
"dry-run": {
|
8434
|
+
metadata: {
|
8435
|
+
erc20: {
|
8436
|
+
get: {
|
8437
|
+
body: unknown;
|
8438
|
+
params: {};
|
8439
|
+
query: {
|
8440
|
+
address: string;
|
8441
|
+
chainId: number;
|
8442
|
+
};
|
8443
|
+
headers: {
|
8444
|
+
authorization: string;
|
8445
|
+
};
|
8446
|
+
response: {
|
8447
|
+
200: {
|
8448
|
+
type: string;
|
8449
|
+
description: string | null;
|
8198
8450
|
id: string;
|
8199
|
-
|
8200
|
-
|
8201
|
-
|
8202
|
-
|
8203
|
-
|
8204
|
-
|
8205
|
-
|
8206
|
-
|
8207
|
-
|
8208
|
-
|
8209
|
-
|
8210
|
-
|
8211
|
-
|
8212
|
-
|
8451
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
8452
|
+
subType: number | null;
|
8453
|
+
computeChainId: number;
|
8454
|
+
distributionChainId: number;
|
8455
|
+
campaignId: string;
|
8456
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8457
|
+
rewardTokenId: string;
|
8458
|
+
amount: string;
|
8459
|
+
opportunityId: string;
|
8460
|
+
startTimestamp: bigint;
|
8461
|
+
endTimestamp: bigint;
|
8462
|
+
creatorAddress: string;
|
8463
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8464
|
+
createdAt: Date;
|
8465
|
+
rootCampaignId: string | null;
|
8466
|
+
parentCampaignId: string | null;
|
8467
|
+
} | {
|
8468
|
+
Tokens: {
|
8469
|
+
symbol: string;
|
8470
|
+
name: string | null;
|
8471
|
+
id: string;
|
8472
|
+
icon: string;
|
8473
|
+
address: string;
|
8474
|
+
chainId: number;
|
8475
|
+
decimals: number;
|
8476
|
+
displaySymbol: string;
|
8477
|
+
verified: boolean;
|
8478
|
+
isTest: boolean;
|
8479
|
+
isPoint: boolean;
|
8480
|
+
isPreTGE: boolean;
|
8481
|
+
isNative: boolean;
|
8482
|
+
price: number | null;
|
8483
|
+
}[];
|
8484
|
+
Protocols: {
|
8485
|
+
url: string;
|
8486
|
+
name: string;
|
8487
|
+
description: string;
|
8488
|
+
id: string;
|
8489
|
+
tags: string[];
|
8490
|
+
icon: string;
|
8491
|
+
}[];
|
8492
|
+
status: import("@db/api").$Enums.Status;
|
8493
|
+
type: string;
|
8213
8494
|
name: string;
|
8214
8495
|
description: string;
|
8215
8496
|
id: string;
|
8216
8497
|
tags: string[];
|
8217
|
-
|
8218
|
-
|
8219
|
-
|
8220
|
-
|
8221
|
-
|
8222
|
-
|
8223
|
-
|
8224
|
-
|
8225
|
-
|
8226
|
-
|
8227
|
-
|
8228
|
-
|
8229
|
-
|
8230
|
-
depositUrl: string | null;
|
8231
|
-
explorerAddress: string | null;
|
8232
|
-
mainProtocolId: string | null;
|
8233
|
-
tvl: number;
|
8234
|
-
apr: number;
|
8235
|
-
dailyRewards: number;
|
8236
|
-
lastCampaignCreatedAt: Date;
|
8237
|
-
} | {
|
8238
|
-
id: string;
|
8239
|
-
chainId: number;
|
8240
|
-
type: string;
|
8241
|
-
identifier: string;
|
8242
|
-
name: string;
|
8243
|
-
status: "PAST" | "LIVE" | "SOON";
|
8244
|
-
action: any;
|
8245
|
-
tokens: ({
|
8246
|
-
symbol: string;
|
8247
|
-
name: string | null;
|
8498
|
+
identifier: string;
|
8499
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
8500
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
8501
|
+
chainId: number;
|
8502
|
+
howToSteps: string[];
|
8503
|
+
depositUrl: string | null;
|
8504
|
+
explorerAddress: string | null;
|
8505
|
+
mainProtocolId: string | null;
|
8506
|
+
tvl: number;
|
8507
|
+
apr: number;
|
8508
|
+
dailyRewards: number;
|
8509
|
+
lastCampaignCreatedAt: Date;
|
8510
|
+
} | {
|
8248
8511
|
id: string;
|
8249
|
-
icon: string;
|
8250
|
-
address: string;
|
8251
8512
|
chainId: number;
|
8252
|
-
|
8253
|
-
|
8254
|
-
|
8255
|
-
|
8256
|
-
|
8257
|
-
|
8258
|
-
|
8259
|
-
|
8260
|
-
|
8261
|
-
|
8262
|
-
|
8263
|
-
|
8264
|
-
|
8265
|
-
|
8266
|
-
|
8267
|
-
|
8513
|
+
type: string;
|
8514
|
+
identifier: string;
|
8515
|
+
name: string;
|
8516
|
+
status: "PAST" | "LIVE" | "SOON";
|
8517
|
+
action: any;
|
8518
|
+
tokens: ({
|
8519
|
+
symbol: string;
|
8520
|
+
name: string | null;
|
8521
|
+
id: string;
|
8522
|
+
icon: string;
|
8523
|
+
address: string;
|
8524
|
+
chainId: number;
|
8525
|
+
decimals: number;
|
8526
|
+
verified: boolean;
|
8527
|
+
isTest: boolean;
|
8528
|
+
isPoint: boolean;
|
8529
|
+
isPreTGE: boolean;
|
8530
|
+
isNative: boolean;
|
8531
|
+
} & {
|
8532
|
+
price?: number | null | undefined;
|
8533
|
+
})[];
|
8534
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
8535
|
+
description: string;
|
8536
|
+
howToSteps: string[];
|
8537
|
+
depositUrl: string | undefined;
|
8538
|
+
explorerAddress: string | undefined;
|
8539
|
+
tags: string[];
|
8540
|
+
} | undefined;
|
8541
|
+
};
|
8268
8542
|
};
|
8269
8543
|
};
|
8270
8544
|
};
|
@@ -11182,11 +11456,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11182
11456
|
};
|
11183
11457
|
} & {
|
11184
11458
|
creators: {
|
11185
|
-
":
|
11459
|
+
":creatorId": {
|
11186
11460
|
get: {
|
11187
11461
|
body: unknown;
|
11188
11462
|
params: {
|
11189
|
-
|
11463
|
+
creatorId: string;
|
11190
11464
|
};
|
11191
11465
|
query: unknown;
|
11192
11466
|
headers: unknown;
|
@@ -11208,7 +11482,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11208
11482
|
};
|
11209
11483
|
} & {
|
11210
11484
|
creators: {
|
11211
|
-
":
|
11485
|
+
":creatorId": {
|
11212
11486
|
patch: {
|
11213
11487
|
body: {
|
11214
11488
|
icon?: string | undefined;
|
@@ -11216,7 +11490,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11216
11490
|
addresses: string[];
|
11217
11491
|
};
|
11218
11492
|
params: {
|
11219
|
-
|
11493
|
+
creatorId: string;
|
11220
11494
|
};
|
11221
11495
|
query: unknown;
|
11222
11496
|
headers: {
|
@@ -11235,11 +11509,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11235
11509
|
};
|
11236
11510
|
} & {
|
11237
11511
|
creators: {
|
11238
|
-
":
|
11512
|
+
":creatorId": {
|
11239
11513
|
delete: {
|
11240
11514
|
body: unknown;
|
11241
11515
|
params: {
|
11242
|
-
|
11516
|
+
creatorId: string;
|
11243
11517
|
};
|
11244
11518
|
query: unknown;
|
11245
11519
|
headers: {
|
@@ -11258,164 +11532,168 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11258
11532
|
};
|
11259
11533
|
} & {
|
11260
11534
|
creators: {
|
11261
|
-
|
11262
|
-
|
11263
|
-
|
11264
|
-
|
11265
|
-
|
11266
|
-
|
11267
|
-
|
11268
|
-
query: unknown;
|
11269
|
-
headers: unknown;
|
11270
|
-
response: {
|
11271
|
-
200: {
|
11272
|
-
pastCampaigns: number;
|
11273
|
-
liveCampaigns: number;
|
11274
|
-
futureCampaigns: number;
|
11275
|
-
totalTvl: number;
|
11276
|
-
totalWallets: number;
|
11277
|
-
totalCampaigns: number;
|
11278
|
-
creatorId: string | null;
|
11535
|
+
user: {
|
11536
|
+
":address": {
|
11537
|
+
dashboard: {
|
11538
|
+
get: {
|
11539
|
+
body: unknown;
|
11540
|
+
params: {
|
11541
|
+
address: string;
|
11279
11542
|
};
|
11280
|
-
|
11281
|
-
|
11282
|
-
|
11283
|
-
|
11284
|
-
|
11285
|
-
|
11286
|
-
|
11287
|
-
|
11288
|
-
|
11289
|
-
|
11290
|
-
|
11291
|
-
params: {
|
11292
|
-
address: string;
|
11293
|
-
};
|
11294
|
-
query: {
|
11295
|
-
status?: "PAST" | "LIVE" | "FUTURE" | undefined;
|
11296
|
-
};
|
11297
|
-
headers: unknown;
|
11298
|
-
response: {
|
11299
|
-
200: ({
|
11300
|
-
Opportunity: {
|
11301
|
-
status: import("@db/api").$Enums.Status;
|
11302
|
-
type: string;
|
11303
|
-
name: string;
|
11304
|
-
description: string;
|
11305
|
-
id: string;
|
11306
|
-
tags: string[];
|
11307
|
-
identifier: string;
|
11308
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
11309
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
11310
|
-
chainId: number;
|
11311
|
-
howToSteps: string[];
|
11312
|
-
depositUrl: string | null;
|
11313
|
-
explorerAddress: string | null;
|
11314
|
-
mainProtocolId: string | null;
|
11315
|
-
tvl: number;
|
11316
|
-
apr: number;
|
11317
|
-
dailyRewards: number;
|
11318
|
-
lastCampaignCreatedAt: Date;
|
11319
|
-
};
|
11320
|
-
} & {
|
11321
|
-
type: string;
|
11322
|
-
description: string | null;
|
11323
|
-
id: string;
|
11324
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
11325
|
-
subType: number | null;
|
11326
|
-
computeChainId: number;
|
11327
|
-
distributionChainId: number;
|
11328
|
-
campaignId: string;
|
11329
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
11330
|
-
rewardTokenId: string;
|
11331
|
-
amount: string;
|
11332
|
-
opportunityId: string;
|
11333
|
-
startTimestamp: bigint;
|
11334
|
-
endTimestamp: bigint;
|
11335
|
-
creatorAddress: string;
|
11336
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
11337
|
-
createdAt: Date;
|
11338
|
-
rootCampaignId: string | null;
|
11339
|
-
parentCampaignId: string | null;
|
11340
|
-
})[] | {
|
11341
|
-
params: any;
|
11342
|
-
chain: {
|
11343
|
-
name: string;
|
11344
|
-
id: number;
|
11345
|
-
icon: string;
|
11543
|
+
query: unknown;
|
11544
|
+
headers: unknown;
|
11545
|
+
response: {
|
11546
|
+
200: {
|
11547
|
+
pastCampaigns: number;
|
11548
|
+
liveCampaigns: number;
|
11549
|
+
futureCampaigns: number;
|
11550
|
+
totalTvl: number;
|
11551
|
+
totalWallets: number;
|
11552
|
+
totalCampaigns: number;
|
11553
|
+
creatorId: string | null;
|
11346
11554
|
};
|
11347
|
-
|
11348
|
-
|
11349
|
-
|
11350
|
-
|
11351
|
-
|
11352
|
-
|
11353
|
-
|
11354
|
-
|
11355
|
-
|
11356
|
-
|
11357
|
-
|
11358
|
-
|
11359
|
-
|
11360
|
-
|
11361
|
-
|
11555
|
+
};
|
11556
|
+
};
|
11557
|
+
};
|
11558
|
+
};
|
11559
|
+
};
|
11560
|
+
};
|
11561
|
+
} & {
|
11562
|
+
creators: {
|
11563
|
+
user: {
|
11564
|
+
":address": {
|
11565
|
+
campaigns: {
|
11566
|
+
get: {
|
11567
|
+
body: unknown;
|
11568
|
+
params: {
|
11569
|
+
address: string;
|
11570
|
+
};
|
11571
|
+
query: {
|
11572
|
+
status?: "PAST" | "LIVE" | "FUTURE" | undefined;
|
11573
|
+
};
|
11574
|
+
headers: unknown;
|
11575
|
+
response: {
|
11576
|
+
200: ({
|
11577
|
+
Opportunity: {
|
11578
|
+
status: import("@db/api").$Enums.Status;
|
11579
|
+
type: string;
|
11580
|
+
name: string;
|
11581
|
+
description: string;
|
11582
|
+
id: string;
|
11583
|
+
tags: string[];
|
11584
|
+
identifier: string;
|
11585
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
11586
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
11587
|
+
chainId: number;
|
11588
|
+
howToSteps: string[];
|
11589
|
+
depositUrl: string | null;
|
11590
|
+
explorerAddress: string | null;
|
11591
|
+
mainProtocolId: string | null;
|
11592
|
+
tvl: number;
|
11593
|
+
apr: number;
|
11594
|
+
dailyRewards: number;
|
11595
|
+
lastCampaignCreatedAt: Date;
|
11596
|
+
};
|
11362
11597
|
} & {
|
11363
|
-
|
11364
|
-
|
11365
|
-
|
11366
|
-
|
11367
|
-
|
11368
|
-
|
11369
|
-
|
11370
|
-
campaignStatus: {
|
11371
|
-
computedUntil: number;
|
11372
|
-
processingStarted: number;
|
11373
|
-
status: import("@db/api").$Enums.RunStatus;
|
11374
|
-
error: string;
|
11375
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
11598
|
+
type: string;
|
11599
|
+
description: string | null;
|
11600
|
+
id: string;
|
11601
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
11602
|
+
subType: number | null;
|
11603
|
+
computeChainId: number;
|
11604
|
+
distributionChainId: number;
|
11376
11605
|
campaignId: string;
|
11377
|
-
|
11378
|
-
|
11379
|
-
|
11380
|
-
|
11381
|
-
|
11382
|
-
|
11383
|
-
|
11384
|
-
|
11385
|
-
|
11386
|
-
|
11387
|
-
|
11388
|
-
|
11389
|
-
|
11606
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
11607
|
+
rewardTokenId: string;
|
11608
|
+
amount: string;
|
11609
|
+
opportunityId: string;
|
11610
|
+
startTimestamp: bigint;
|
11611
|
+
endTimestamp: bigint;
|
11612
|
+
creatorAddress: string;
|
11613
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
11614
|
+
createdAt: Date;
|
11615
|
+
rootCampaignId: string | null;
|
11616
|
+
parentCampaignId: string | null;
|
11617
|
+
})[] | {
|
11618
|
+
params: any;
|
11619
|
+
chain: {
|
11620
|
+
name: string;
|
11621
|
+
id: number;
|
11622
|
+
icon: string;
|
11623
|
+
};
|
11624
|
+
endTimestamp: number;
|
11625
|
+
startTimestamp: number;
|
11626
|
+
rewardToken: {
|
11627
|
+
symbol: string;
|
11628
|
+
name: string | null;
|
11629
|
+
id: string;
|
11630
|
+
icon: string;
|
11631
|
+
address: string;
|
11632
|
+
chainId: number;
|
11633
|
+
decimals: number;
|
11634
|
+
verified: boolean;
|
11635
|
+
isTest: boolean;
|
11636
|
+
isPoint: boolean;
|
11637
|
+
isPreTGE: boolean;
|
11638
|
+
isNative: boolean;
|
11639
|
+
} & {
|
11640
|
+
price?: number | null | undefined;
|
11641
|
+
};
|
11642
|
+
distributionChain: {
|
11643
|
+
name: string;
|
11644
|
+
id: number;
|
11645
|
+
icon: string;
|
11646
|
+
} | undefined;
|
11647
|
+
campaignStatus: {
|
11648
|
+
computedUntil: number;
|
11649
|
+
processingStarted: number;
|
11650
|
+
status: import("@db/api").$Enums.RunStatus;
|
11651
|
+
error: string;
|
11652
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
11653
|
+
campaignId: string;
|
11654
|
+
} | undefined;
|
11655
|
+
creatorAddress: string;
|
11656
|
+
creator: {
|
11657
|
+
tags: string[];
|
11658
|
+
address: string;
|
11659
|
+
creatorId: string | null;
|
11660
|
+
};
|
11661
|
+
createdAt: string;
|
11662
|
+
description: string | undefined;
|
11663
|
+
parentCampaignId: string | undefined;
|
11664
|
+
rootCampaignId: string | undefined;
|
11665
|
+
Opportunity: {
|
11666
|
+
status: import("@db/api").$Enums.Status;
|
11667
|
+
type: string;
|
11668
|
+
name: string;
|
11669
|
+
description: string;
|
11670
|
+
id: string;
|
11671
|
+
tags: string[];
|
11672
|
+
identifier: string;
|
11673
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
11674
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
11675
|
+
chainId: number;
|
11676
|
+
howToSteps: string[];
|
11677
|
+
depositUrl: string | null;
|
11678
|
+
explorerAddress: string | null;
|
11679
|
+
mainProtocolId: string | null;
|
11680
|
+
tvl: number;
|
11681
|
+
apr: number;
|
11682
|
+
dailyRewards: number;
|
11683
|
+
lastCampaignCreatedAt: Date;
|
11684
|
+
};
|
11390
11685
|
type: string;
|
11391
|
-
name: string;
|
11392
|
-
description: string;
|
11393
11686
|
id: string;
|
11394
|
-
|
11395
|
-
|
11396
|
-
|
11397
|
-
|
11398
|
-
|
11399
|
-
|
11400
|
-
|
11401
|
-
|
11402
|
-
|
11403
|
-
|
11404
|
-
apr: number;
|
11405
|
-
dailyRewards: number;
|
11406
|
-
lastCampaignCreatedAt: Date;
|
11407
|
-
};
|
11408
|
-
type: string;
|
11409
|
-
id: string;
|
11410
|
-
subType: number | null;
|
11411
|
-
computeChainId: number;
|
11412
|
-
distributionChainId: number;
|
11413
|
-
campaignId: string;
|
11414
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
11415
|
-
rewardTokenId: string;
|
11416
|
-
amount: string;
|
11417
|
-
opportunityId: string;
|
11418
|
-
}[];
|
11687
|
+
subType: number | null;
|
11688
|
+
computeChainId: number;
|
11689
|
+
distributionChainId: number;
|
11690
|
+
campaignId: string;
|
11691
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
11692
|
+
rewardTokenId: string;
|
11693
|
+
amount: string;
|
11694
|
+
opportunityId: string;
|
11695
|
+
}[];
|
11696
|
+
};
|
11419
11697
|
};
|
11420
11698
|
};
|
11421
11699
|
};
|
@@ -11424,11 +11702,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11424
11702
|
} & {
|
11425
11703
|
creators: {
|
11426
11704
|
campaigns: {
|
11427
|
-
":
|
11705
|
+
":campaignId": {
|
11428
11706
|
get: {
|
11429
11707
|
body: unknown;
|
11430
11708
|
params: {
|
11431
|
-
|
11709
|
+
campaignId: string;
|
11432
11710
|
};
|
11433
11711
|
query: unknown;
|
11434
11712
|
headers: unknown;
|
@@ -13016,7 +13294,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13016
13294
|
} & {
|
13017
13295
|
price?: number | null | undefined;
|
13018
13296
|
})[];
|
13019
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
13297
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
13020
13298
|
description: string;
|
13021
13299
|
howToSteps: string[];
|
13022
13300
|
depositUrl: string | undefined;
|
@@ -13165,7 +13443,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13165
13443
|
} & {
|
13166
13444
|
price?: number | null | undefined;
|
13167
13445
|
})[];
|
13168
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
13446
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
13169
13447
|
description: string;
|
13170
13448
|
howToSteps: string[];
|
13171
13449
|
depositUrl: string | undefined;
|
@@ -14085,7 +14363,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14085
14363
|
} & {
|
14086
14364
|
price?: number | null | undefined;
|
14087
14365
|
})[];
|
14088
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
14366
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
14089
14367
|
description: string;
|
14090
14368
|
howToSteps: string[];
|
14091
14369
|
depositUrl: string | undefined;
|
@@ -14475,55 +14753,47 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14475
14753
|
};
|
14476
14754
|
};
|
14477
14755
|
"dry-run": {
|
14478
|
-
tvl:
|
14479
|
-
|
14480
|
-
|
14481
|
-
|
14482
|
-
|
14483
|
-
|
14484
|
-
|
14485
|
-
|
14486
|
-
|
14487
|
-
|
14488
|
-
|
14489
|
-
|
14490
|
-
|
14491
|
-
|
14492
|
-
|
14493
|
-
|
14494
|
-
|
14495
|
-
|
14496
|
-
|
14497
|
-
|
14498
|
-
|
14499
|
-
|
14500
|
-
|
14501
|
-
|
14502
|
-
|
14503
|
-
|
14504
|
-
}
|
14505
|
-
|
14506
|
-
|
14507
|
-
|
14508
|
-
|
14509
|
-
|
14510
|
-
|
14511
|
-
|
14512
|
-
|
14513
|
-
|
14514
|
-
|
14515
|
-
|
14516
|
-
|
14517
|
-
|
14518
|
-
|
14519
|
-
authorization: string;
|
14520
|
-
};
|
14521
|
-
query?: Record<string, unknown> | undefined;
|
14522
|
-
fetch?: RequestInit | undefined;
|
14523
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14524
|
-
200: unknown[];
|
14525
|
-
}>>;
|
14526
|
-
}) & {
|
14756
|
+
tvl: {
|
14757
|
+
campaign: ((params: {
|
14758
|
+
campaignId: string | number;
|
14759
|
+
}) => {
|
14760
|
+
get: (options: {
|
14761
|
+
headers: {
|
14762
|
+
authorization: string;
|
14763
|
+
};
|
14764
|
+
query?: Record<string, unknown> | undefined;
|
14765
|
+
fetch?: RequestInit | undefined;
|
14766
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14767
|
+
200: unknown[];
|
14768
|
+
}>>;
|
14769
|
+
}) & {};
|
14770
|
+
opportunity: ((params: {
|
14771
|
+
opportunityId: string | number;
|
14772
|
+
}) => {
|
14773
|
+
get: (options: {
|
14774
|
+
headers: {
|
14775
|
+
authorization: string;
|
14776
|
+
};
|
14777
|
+
query?: Record<string, unknown> | undefined;
|
14778
|
+
fetch?: RequestInit | undefined;
|
14779
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14780
|
+
200: unknown[];
|
14781
|
+
}>>;
|
14782
|
+
}) & {};
|
14783
|
+
erc20: {
|
14784
|
+
get: (options: {
|
14785
|
+
headers: {
|
14786
|
+
authorization: string;
|
14787
|
+
};
|
14788
|
+
query: {
|
14789
|
+
address: string;
|
14790
|
+
chainId: number;
|
14791
|
+
};
|
14792
|
+
fetch?: RequestInit | undefined;
|
14793
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14794
|
+
200: unknown[];
|
14795
|
+
}>>;
|
14796
|
+
};
|
14527
14797
|
list: {
|
14528
14798
|
post: (body: string[], options: {
|
14529
14799
|
headers: {
|
@@ -14535,228 +14805,361 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14535
14805
|
200: unknown[];
|
14536
14806
|
}>>;
|
14537
14807
|
};
|
14808
|
+
index: {
|
14809
|
+
post: (body: {
|
14810
|
+
id?: string | undefined;
|
14811
|
+
subType?: number | undefined;
|
14812
|
+
campaignId?: string | undefined;
|
14813
|
+
amount?: string | undefined;
|
14814
|
+
creatorAddress?: string | undefined;
|
14815
|
+
type: string;
|
14816
|
+
params: any;
|
14817
|
+
computeChainId: number;
|
14818
|
+
distributionChainId: number;
|
14819
|
+
startTimestamp: number;
|
14820
|
+
endTimestamp: number;
|
14821
|
+
rewardToken: string;
|
14822
|
+
}, options: {
|
14823
|
+
headers: {
|
14824
|
+
authorization: string;
|
14825
|
+
};
|
14826
|
+
query?: Record<string, unknown> | undefined;
|
14827
|
+
fetch?: RequestInit | undefined;
|
14828
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14829
|
+
200: unknown[];
|
14830
|
+
}>>;
|
14831
|
+
};
|
14538
14832
|
};
|
14539
14833
|
metadata: {
|
14540
|
-
|
14541
|
-
|
14542
|
-
|
14543
|
-
|
14544
|
-
|
14545
|
-
|
14546
|
-
|
14547
|
-
params: any;
|
14548
|
-
computeChainId: number;
|
14549
|
-
distributionChainId: number;
|
14550
|
-
startTimestamp: number;
|
14551
|
-
endTimestamp: number;
|
14552
|
-
rewardToken: string;
|
14553
|
-
}, options: {
|
14554
|
-
headers: {
|
14555
|
-
authorization: string;
|
14556
|
-
};
|
14557
|
-
query?: Record<string, unknown> | undefined;
|
14558
|
-
fetch?: RequestInit | undefined;
|
14559
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14560
|
-
200: {
|
14834
|
+
index: {
|
14835
|
+
post: (body: {
|
14836
|
+
id?: string | undefined;
|
14837
|
+
subType?: number | undefined;
|
14838
|
+
campaignId?: string | undefined;
|
14839
|
+
amount?: string | undefined;
|
14840
|
+
creatorAddress?: string | undefined;
|
14561
14841
|
type: string;
|
14562
|
-
|
14563
|
-
id: string;
|
14564
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
14565
|
-
subType: number | null;
|
14842
|
+
params: any;
|
14566
14843
|
computeChainId: number;
|
14567
14844
|
distributionChainId: number;
|
14568
|
-
|
14569
|
-
|
14570
|
-
|
14571
|
-
|
14572
|
-
|
14573
|
-
|
14574
|
-
|
14575
|
-
|
14576
|
-
|
14577
|
-
|
14578
|
-
|
14579
|
-
|
14580
|
-
|
14581
|
-
Tokens: {
|
14582
|
-
symbol: string;
|
14583
|
-
name: string | null;
|
14845
|
+
startTimestamp: number;
|
14846
|
+
endTimestamp: number;
|
14847
|
+
rewardToken: string;
|
14848
|
+
}, options: {
|
14849
|
+
headers: {
|
14850
|
+
authorization: string;
|
14851
|
+
};
|
14852
|
+
query?: Record<string, unknown> | undefined;
|
14853
|
+
fetch?: RequestInit | undefined;
|
14854
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14855
|
+
200: {
|
14856
|
+
type: string;
|
14857
|
+
description: string | null;
|
14584
14858
|
id: string;
|
14585
|
-
|
14586
|
-
|
14859
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
14860
|
+
subType: number | null;
|
14861
|
+
computeChainId: number;
|
14862
|
+
distributionChainId: number;
|
14863
|
+
campaignId: string;
|
14864
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14865
|
+
rewardTokenId: string;
|
14866
|
+
amount: string;
|
14867
|
+
opportunityId: string;
|
14868
|
+
startTimestamp: bigint;
|
14869
|
+
endTimestamp: bigint;
|
14870
|
+
creatorAddress: string;
|
14871
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14872
|
+
createdAt: Date;
|
14873
|
+
rootCampaignId: string | null;
|
14874
|
+
parentCampaignId: string | null;
|
14875
|
+
} | {
|
14876
|
+
Tokens: {
|
14877
|
+
symbol: string;
|
14878
|
+
name: string | null;
|
14879
|
+
id: string;
|
14880
|
+
icon: string;
|
14881
|
+
address: string;
|
14882
|
+
chainId: number;
|
14883
|
+
decimals: number;
|
14884
|
+
displaySymbol: string;
|
14885
|
+
verified: boolean;
|
14886
|
+
isTest: boolean;
|
14887
|
+
isPoint: boolean;
|
14888
|
+
isPreTGE: boolean;
|
14889
|
+
isNative: boolean;
|
14890
|
+
price: number | null;
|
14891
|
+
}[];
|
14892
|
+
Protocols: {
|
14893
|
+
url: string;
|
14894
|
+
name: string;
|
14895
|
+
description: string;
|
14896
|
+
id: string;
|
14897
|
+
tags: string[];
|
14898
|
+
icon: string;
|
14899
|
+
}[];
|
14900
|
+
status: import("@db/api").$Enums.Status;
|
14901
|
+
type: string;
|
14902
|
+
name: string;
|
14903
|
+
description: string;
|
14904
|
+
id: string;
|
14905
|
+
tags: string[];
|
14906
|
+
identifier: string;
|
14907
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
14908
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
14587
14909
|
chainId: number;
|
14588
|
-
|
14589
|
-
|
14590
|
-
|
14591
|
-
|
14592
|
-
|
14593
|
-
|
14594
|
-
|
14595
|
-
|
14596
|
-
}
|
14597
|
-
|
14598
|
-
|
14910
|
+
howToSteps: string[];
|
14911
|
+
depositUrl: string | null;
|
14912
|
+
explorerAddress: string | null;
|
14913
|
+
mainProtocolId: string | null;
|
14914
|
+
tvl: number;
|
14915
|
+
apr: number;
|
14916
|
+
dailyRewards: number;
|
14917
|
+
lastCampaignCreatedAt: Date;
|
14918
|
+
} | {
|
14919
|
+
id: string;
|
14920
|
+
chainId: number;
|
14921
|
+
type: string;
|
14922
|
+
identifier: string;
|
14923
|
+
name: string;
|
14924
|
+
status: "PAST" | "LIVE" | "SOON";
|
14925
|
+
action: any;
|
14926
|
+
tokens: ({
|
14927
|
+
symbol: string;
|
14928
|
+
name: string | null;
|
14929
|
+
id: string;
|
14930
|
+
icon: string;
|
14931
|
+
address: string;
|
14932
|
+
chainId: number;
|
14933
|
+
decimals: number;
|
14934
|
+
verified: boolean;
|
14935
|
+
isTest: boolean;
|
14936
|
+
isPoint: boolean;
|
14937
|
+
isPreTGE: boolean;
|
14938
|
+
isNative: boolean;
|
14939
|
+
} & {
|
14940
|
+
price?: number | null | undefined;
|
14941
|
+
})[];
|
14942
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
14943
|
+
description: string;
|
14944
|
+
howToSteps: string[];
|
14945
|
+
depositUrl: string | undefined;
|
14946
|
+
explorerAddress: string | undefined;
|
14947
|
+
tags: string[];
|
14948
|
+
} | undefined;
|
14949
|
+
}>>;
|
14950
|
+
get: (options: {
|
14951
|
+
headers: {
|
14952
|
+
authorization: string;
|
14953
|
+
};
|
14954
|
+
query: {
|
14955
|
+
distributionChain?: number | undefined;
|
14956
|
+
campaignId: string;
|
14957
|
+
};
|
14958
|
+
fetch?: RequestInit | undefined;
|
14959
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14960
|
+
200: {
|
14961
|
+
type: string;
|
14962
|
+
description: string | null;
|
14963
|
+
id: string;
|
14964
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
14965
|
+
subType: number | null;
|
14966
|
+
computeChainId: number;
|
14967
|
+
distributionChainId: number;
|
14968
|
+
campaignId: string;
|
14969
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14970
|
+
rewardTokenId: string;
|
14971
|
+
amount: string;
|
14972
|
+
opportunityId: string;
|
14973
|
+
startTimestamp: bigint;
|
14974
|
+
endTimestamp: bigint;
|
14975
|
+
creatorAddress: string;
|
14976
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14977
|
+
createdAt: Date;
|
14978
|
+
rootCampaignId: string | null;
|
14979
|
+
parentCampaignId: string | null;
|
14980
|
+
} | {
|
14981
|
+
Tokens: {
|
14982
|
+
symbol: string;
|
14983
|
+
name: string | null;
|
14984
|
+
id: string;
|
14985
|
+
icon: string;
|
14986
|
+
address: string;
|
14987
|
+
chainId: number;
|
14988
|
+
decimals: number;
|
14989
|
+
displaySymbol: string;
|
14990
|
+
verified: boolean;
|
14991
|
+
isTest: boolean;
|
14992
|
+
isPoint: boolean;
|
14993
|
+
isPreTGE: boolean;
|
14994
|
+
isNative: boolean;
|
14995
|
+
price: number | null;
|
14996
|
+
}[];
|
14997
|
+
Protocols: {
|
14998
|
+
url: string;
|
14999
|
+
name: string;
|
15000
|
+
description: string;
|
15001
|
+
id: string;
|
15002
|
+
tags: string[];
|
15003
|
+
icon: string;
|
15004
|
+
}[];
|
15005
|
+
status: import("@db/api").$Enums.Status;
|
15006
|
+
type: string;
|
15007
|
+
name: string;
|
15008
|
+
description: string;
|
15009
|
+
id: string;
|
15010
|
+
tags: string[];
|
15011
|
+
identifier: string;
|
15012
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
15013
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
15014
|
+
chainId: number;
|
15015
|
+
howToSteps: string[];
|
15016
|
+
depositUrl: string | null;
|
15017
|
+
explorerAddress: string | null;
|
15018
|
+
mainProtocolId: string | null;
|
15019
|
+
tvl: number;
|
15020
|
+
apr: number;
|
15021
|
+
dailyRewards: number;
|
15022
|
+
lastCampaignCreatedAt: Date;
|
15023
|
+
} | {
|
15024
|
+
id: string;
|
15025
|
+
chainId: number;
|
15026
|
+
type: string;
|
15027
|
+
identifier: string;
|
14599
15028
|
name: string;
|
15029
|
+
status: "PAST" | "LIVE" | "SOON";
|
15030
|
+
action: any;
|
15031
|
+
tokens: ({
|
15032
|
+
symbol: string;
|
15033
|
+
name: string | null;
|
15034
|
+
id: string;
|
15035
|
+
icon: string;
|
15036
|
+
address: string;
|
15037
|
+
chainId: number;
|
15038
|
+
decimals: number;
|
15039
|
+
verified: boolean;
|
15040
|
+
isTest: boolean;
|
15041
|
+
isPoint: boolean;
|
15042
|
+
isPreTGE: boolean;
|
15043
|
+
isNative: boolean;
|
15044
|
+
} & {
|
15045
|
+
price?: number | null | undefined;
|
15046
|
+
})[];
|
15047
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
14600
15048
|
description: string;
|
14601
|
-
|
15049
|
+
howToSteps: string[];
|
15050
|
+
depositUrl: string | undefined;
|
15051
|
+
explorerAddress: string | undefined;
|
14602
15052
|
tags: string[];
|
14603
|
-
|
14604
|
-
|
14605
|
-
|
14606
|
-
|
14607
|
-
|
14608
|
-
|
14609
|
-
|
14610
|
-
|
14611
|
-
|
14612
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
14613
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
14614
|
-
chainId: number;
|
14615
|
-
howToSteps: string[];
|
14616
|
-
depositUrl: string | null;
|
14617
|
-
explorerAddress: string | null;
|
14618
|
-
mainProtocolId: string | null;
|
14619
|
-
tvl: number;
|
14620
|
-
apr: number;
|
14621
|
-
dailyRewards: number;
|
14622
|
-
lastCampaignCreatedAt: Date;
|
14623
|
-
} | {
|
14624
|
-
id: string;
|
14625
|
-
chainId: number;
|
14626
|
-
type: string;
|
14627
|
-
identifier: string;
|
14628
|
-
name: string;
|
14629
|
-
status: "PAST" | "LIVE" | "SOON";
|
14630
|
-
action: any;
|
14631
|
-
tokens: ({
|
14632
|
-
symbol: string;
|
14633
|
-
name: string | null;
|
14634
|
-
id: string;
|
14635
|
-
icon: string;
|
15053
|
+
} | undefined;
|
15054
|
+
}>>;
|
15055
|
+
};
|
15056
|
+
erc20: {
|
15057
|
+
get: (options: {
|
15058
|
+
headers: {
|
15059
|
+
authorization: string;
|
15060
|
+
};
|
15061
|
+
query: {
|
14636
15062
|
address: string;
|
14637
15063
|
chainId: number;
|
14638
|
-
|
14639
|
-
|
14640
|
-
|
14641
|
-
|
14642
|
-
|
14643
|
-
|
14644
|
-
} & {
|
14645
|
-
price?: number | null | undefined;
|
14646
|
-
})[];
|
14647
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
14648
|
-
description: string;
|
14649
|
-
howToSteps: string[];
|
14650
|
-
depositUrl: string | undefined;
|
14651
|
-
explorerAddress: string | undefined;
|
14652
|
-
tags: string[];
|
14653
|
-
} | undefined;
|
14654
|
-
}>>;
|
14655
|
-
get: (options: {
|
14656
|
-
headers: {
|
14657
|
-
authorization: string;
|
14658
|
-
};
|
14659
|
-
query: {
|
14660
|
-
distributionChain?: number | undefined;
|
14661
|
-
campaignId: string;
|
14662
|
-
};
|
14663
|
-
fetch?: RequestInit | undefined;
|
14664
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14665
|
-
200: {
|
14666
|
-
type: string;
|
14667
|
-
description: string | null;
|
14668
|
-
id: string;
|
14669
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
14670
|
-
subType: number | null;
|
14671
|
-
computeChainId: number;
|
14672
|
-
distributionChainId: number;
|
14673
|
-
campaignId: string;
|
14674
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
14675
|
-
rewardTokenId: string;
|
14676
|
-
amount: string;
|
14677
|
-
opportunityId: string;
|
14678
|
-
startTimestamp: bigint;
|
14679
|
-
endTimestamp: bigint;
|
14680
|
-
creatorAddress: string;
|
14681
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14682
|
-
createdAt: Date;
|
14683
|
-
rootCampaignId: string | null;
|
14684
|
-
parentCampaignId: string | null;
|
14685
|
-
} | {
|
14686
|
-
Tokens: {
|
14687
|
-
symbol: string;
|
14688
|
-
name: string | null;
|
15064
|
+
};
|
15065
|
+
fetch?: RequestInit | undefined;
|
15066
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15067
|
+
200: {
|
15068
|
+
type: string;
|
15069
|
+
description: string | null;
|
14689
15070
|
id: string;
|
14690
|
-
|
14691
|
-
|
14692
|
-
|
14693
|
-
|
14694
|
-
|
14695
|
-
|
14696
|
-
|
14697
|
-
|
14698
|
-
|
14699
|
-
|
14700
|
-
|
14701
|
-
|
14702
|
-
|
14703
|
-
|
15071
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
15072
|
+
subType: number | null;
|
15073
|
+
computeChainId: number;
|
15074
|
+
distributionChainId: number;
|
15075
|
+
campaignId: string;
|
15076
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15077
|
+
rewardTokenId: string;
|
15078
|
+
amount: string;
|
15079
|
+
opportunityId: string;
|
15080
|
+
startTimestamp: bigint;
|
15081
|
+
endTimestamp: bigint;
|
15082
|
+
creatorAddress: string;
|
15083
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
15084
|
+
createdAt: Date;
|
15085
|
+
rootCampaignId: string | null;
|
15086
|
+
parentCampaignId: string | null;
|
15087
|
+
} | {
|
15088
|
+
Tokens: {
|
15089
|
+
symbol: string;
|
15090
|
+
name: string | null;
|
15091
|
+
id: string;
|
15092
|
+
icon: string;
|
15093
|
+
address: string;
|
15094
|
+
chainId: number;
|
15095
|
+
decimals: number;
|
15096
|
+
displaySymbol: string;
|
15097
|
+
verified: boolean;
|
15098
|
+
isTest: boolean;
|
15099
|
+
isPoint: boolean;
|
15100
|
+
isPreTGE: boolean;
|
15101
|
+
isNative: boolean;
|
15102
|
+
price: number | null;
|
15103
|
+
}[];
|
15104
|
+
Protocols: {
|
15105
|
+
url: string;
|
15106
|
+
name: string;
|
15107
|
+
description: string;
|
15108
|
+
id: string;
|
15109
|
+
tags: string[];
|
15110
|
+
icon: string;
|
15111
|
+
}[];
|
15112
|
+
status: import("@db/api").$Enums.Status;
|
15113
|
+
type: string;
|
14704
15114
|
name: string;
|
14705
15115
|
description: string;
|
14706
15116
|
id: string;
|
14707
15117
|
tags: string[];
|
14708
|
-
|
14709
|
-
|
14710
|
-
|
14711
|
-
|
14712
|
-
|
14713
|
-
|
14714
|
-
|
14715
|
-
|
14716
|
-
|
14717
|
-
|
14718
|
-
|
14719
|
-
|
14720
|
-
|
14721
|
-
depositUrl: string | null;
|
14722
|
-
explorerAddress: string | null;
|
14723
|
-
mainProtocolId: string | null;
|
14724
|
-
tvl: number;
|
14725
|
-
apr: number;
|
14726
|
-
dailyRewards: number;
|
14727
|
-
lastCampaignCreatedAt: Date;
|
14728
|
-
} | {
|
14729
|
-
id: string;
|
14730
|
-
chainId: number;
|
14731
|
-
type: string;
|
14732
|
-
identifier: string;
|
14733
|
-
name: string;
|
14734
|
-
status: "PAST" | "LIVE" | "SOON";
|
14735
|
-
action: any;
|
14736
|
-
tokens: ({
|
14737
|
-
symbol: string;
|
14738
|
-
name: string | null;
|
15118
|
+
identifier: string;
|
15119
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
15120
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
15121
|
+
chainId: number;
|
15122
|
+
howToSteps: string[];
|
15123
|
+
depositUrl: string | null;
|
15124
|
+
explorerAddress: string | null;
|
15125
|
+
mainProtocolId: string | null;
|
15126
|
+
tvl: number;
|
15127
|
+
apr: number;
|
15128
|
+
dailyRewards: number;
|
15129
|
+
lastCampaignCreatedAt: Date;
|
15130
|
+
} | {
|
14739
15131
|
id: string;
|
14740
|
-
icon: string;
|
14741
|
-
address: string;
|
14742
15132
|
chainId: number;
|
14743
|
-
|
14744
|
-
|
14745
|
-
|
14746
|
-
|
14747
|
-
|
14748
|
-
|
14749
|
-
|
14750
|
-
|
14751
|
-
|
14752
|
-
|
14753
|
-
|
14754
|
-
|
14755
|
-
|
14756
|
-
|
14757
|
-
|
14758
|
-
|
14759
|
-
|
15133
|
+
type: string;
|
15134
|
+
identifier: string;
|
15135
|
+
name: string;
|
15136
|
+
status: "PAST" | "LIVE" | "SOON";
|
15137
|
+
action: any;
|
15138
|
+
tokens: ({
|
15139
|
+
symbol: string;
|
15140
|
+
name: string | null;
|
15141
|
+
id: string;
|
15142
|
+
icon: string;
|
15143
|
+
address: string;
|
15144
|
+
chainId: number;
|
15145
|
+
decimals: number;
|
15146
|
+
verified: boolean;
|
15147
|
+
isTest: boolean;
|
15148
|
+
isPoint: boolean;
|
15149
|
+
isPreTGE: boolean;
|
15150
|
+
isNative: boolean;
|
15151
|
+
} & {
|
15152
|
+
price?: number | null | undefined;
|
15153
|
+
})[];
|
15154
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
15155
|
+
description: string;
|
15156
|
+
howToSteps: string[];
|
15157
|
+
depositUrl: string | undefined;
|
15158
|
+
explorerAddress: string | undefined;
|
15159
|
+
tags: string[];
|
15160
|
+
} | undefined;
|
15161
|
+
}>>;
|
15162
|
+
};
|
14760
15163
|
};
|
14761
15164
|
};
|
14762
15165
|
};
|
@@ -17015,263 +17418,116 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17015
17418
|
totalDistributedInUSD: number | null;
|
17016
17419
|
forfeitingBoost: number | null;
|
17017
17420
|
averageAPIBoost: number | null;
|
17018
|
-
computeMethodBoost: number | null;
|
17019
|
-
lastRecordedNumberOfRecipients: number | null;
|
17020
|
-
} | null;
|
17021
|
-
}>>;
|
17022
|
-
})) & {};
|
17023
|
-
user: ((params: {
|
17024
|
-
address: string | number;
|
17025
|
-
}) => {} & ((params: {
|
17026
|
-
field: string | number;
|
17027
|
-
}) => {
|
17028
|
-
get: (options?: {
|
17029
|
-
headers?: Record<string, unknown> | undefined;
|
17030
|
-
query?: Record<string, unknown> | undefined;
|
17031
|
-
fetch?: RequestInit | undefined;
|
17032
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17033
|
-
200: {
|
17034
|
-
reason: string;
|
17035
|
-
id: string;
|
17036
|
-
campaignId: string;
|
17037
|
-
boost: number | null;
|
17038
|
-
}[];
|
17039
|
-
}>>;
|
17040
|
-
})) & {};
|
17041
|
-
engine: {
|
17042
|
-
campaign: {
|
17043
|
-
post: (body: {
|
17044
|
-
value: number;
|
17045
|
-
campaignId: string;
|
17046
|
-
field: string;
|
17047
|
-
}, options: {
|
17048
|
-
headers: {
|
17049
|
-
authorization: string;
|
17050
|
-
};
|
17051
|
-
query?: Record<string, unknown> | undefined;
|
17052
|
-
fetch?: RequestInit | undefined;
|
17053
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17054
|
-
200: void;
|
17055
|
-
}>>;
|
17056
|
-
};
|
17057
|
-
user: {
|
17058
|
-
post: (body: {
|
17059
|
-
reason: string;
|
17060
|
-
value: number;
|
17061
|
-
campaignId: string;
|
17062
|
-
address: string;
|
17063
|
-
field: string;
|
17064
|
-
}[], options: {
|
17065
|
-
headers: {
|
17066
|
-
authorization: string;
|
17067
|
-
};
|
17068
|
-
query?: Record<string, unknown> | undefined;
|
17069
|
-
fetch?: RequestInit | undefined;
|
17070
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17071
|
-
200: void;
|
17072
|
-
}>>;
|
17073
|
-
};
|
17074
|
-
};
|
17075
|
-
};
|
17076
|
-
creators: ((params: {
|
17077
|
-
address: string | number;
|
17078
|
-
}) => {
|
17079
|
-
get: (options?: {
|
17080
|
-
headers?: Record<string, unknown> | undefined;
|
17081
|
-
query?: Record<string, unknown> | undefined;
|
17082
|
-
fetch?: RequestInit | undefined;
|
17083
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17084
|
-
200: {
|
17085
|
-
Users: {
|
17086
|
-
tags: string[];
|
17087
|
-
address: string;
|
17088
|
-
creatorId: string | null;
|
17089
|
-
}[];
|
17090
|
-
name: string;
|
17091
|
-
id: string;
|
17092
|
-
icon: string | null;
|
17093
|
-
rebateFee: number;
|
17094
|
-
};
|
17095
|
-
}>>;
|
17096
|
-
patch: (body: {
|
17097
|
-
icon?: string | undefined;
|
17098
|
-
name: string;
|
17099
|
-
addresses: string[];
|
17100
|
-
}, options: {
|
17101
|
-
headers: {
|
17102
|
-
authorization: string;
|
17103
|
-
};
|
17104
|
-
query?: Record<string, unknown> | undefined;
|
17105
|
-
fetch?: RequestInit | undefined;
|
17106
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17107
|
-
200: {
|
17108
|
-
name: string;
|
17109
|
-
id: string;
|
17110
|
-
icon: string | null;
|
17111
|
-
rebateFee: number;
|
17112
|
-
};
|
17113
|
-
}>>;
|
17114
|
-
delete: (body: unknown, options: {
|
17115
|
-
headers: {
|
17116
|
-
authorization: string;
|
17117
|
-
};
|
17118
|
-
query?: Record<string, unknown> | undefined;
|
17119
|
-
fetch?: RequestInit | undefined;
|
17120
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17121
|
-
200: {
|
17122
|
-
name: string;
|
17123
|
-
id: string;
|
17124
|
-
icon: string | null;
|
17125
|
-
rebateFee: number;
|
17126
|
-
};
|
17127
|
-
}>>;
|
17128
|
-
dashboard: {
|
17129
|
-
get: (options?: {
|
17130
|
-
headers?: Record<string, unknown> | undefined;
|
17131
|
-
query?: Record<string, unknown> | undefined;
|
17132
|
-
fetch?: RequestInit | undefined;
|
17133
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17134
|
-
200: {
|
17135
|
-
pastCampaigns: number;
|
17136
|
-
liveCampaigns: number;
|
17137
|
-
futureCampaigns: number;
|
17138
|
-
totalTvl: number;
|
17139
|
-
totalWallets: number;
|
17140
|
-
totalCampaigns: number;
|
17141
|
-
creatorId: string | null;
|
17142
|
-
};
|
17143
|
-
}>>;
|
17144
|
-
};
|
17145
|
-
campaigns: {
|
17146
|
-
get: (options: {
|
17147
|
-
headers?: Record<string, unknown> | undefined;
|
17148
|
-
query: {
|
17149
|
-
status?: "PAST" | "LIVE" | "FUTURE" | undefined;
|
17150
|
-
};
|
17151
|
-
fetch?: RequestInit | undefined;
|
17152
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17153
|
-
200: ({
|
17154
|
-
Opportunity: {
|
17155
|
-
status: import("@db/api").$Enums.Status;
|
17156
|
-
type: string;
|
17157
|
-
name: string;
|
17158
|
-
description: string;
|
17159
|
-
id: string;
|
17160
|
-
tags: string[];
|
17161
|
-
identifier: string;
|
17162
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
17163
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
17164
|
-
chainId: number;
|
17165
|
-
howToSteps: string[];
|
17166
|
-
depositUrl: string | null;
|
17167
|
-
explorerAddress: string | null;
|
17168
|
-
mainProtocolId: string | null;
|
17169
|
-
tvl: number;
|
17170
|
-
apr: number;
|
17171
|
-
dailyRewards: number;
|
17172
|
-
lastCampaignCreatedAt: Date;
|
17173
|
-
};
|
17174
|
-
} & {
|
17175
|
-
type: string;
|
17176
|
-
description: string | null;
|
17177
|
-
id: string;
|
17178
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
17179
|
-
subType: number | null;
|
17180
|
-
computeChainId: number;
|
17181
|
-
distributionChainId: number;
|
17182
|
-
campaignId: string;
|
17183
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
17184
|
-
rewardTokenId: string;
|
17185
|
-
amount: string;
|
17186
|
-
opportunityId: string;
|
17187
|
-
startTimestamp: bigint;
|
17188
|
-
endTimestamp: bigint;
|
17189
|
-
creatorAddress: string;
|
17190
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
17191
|
-
createdAt: Date;
|
17192
|
-
rootCampaignId: string | null;
|
17193
|
-
parentCampaignId: string | null;
|
17194
|
-
})[] | {
|
17195
|
-
params: any;
|
17196
|
-
chain: {
|
17197
|
-
name: string;
|
17198
|
-
id: number;
|
17199
|
-
icon: string;
|
17200
|
-
};
|
17201
|
-
endTimestamp: number;
|
17202
|
-
startTimestamp: number;
|
17203
|
-
rewardToken: {
|
17204
|
-
symbol: string;
|
17205
|
-
name: string | null;
|
17206
|
-
id: string;
|
17207
|
-
icon: string;
|
17208
|
-
address: string;
|
17209
|
-
chainId: number;
|
17210
|
-
decimals: number;
|
17211
|
-
verified: boolean;
|
17212
|
-
isTest: boolean;
|
17213
|
-
isPoint: boolean;
|
17214
|
-
isPreTGE: boolean;
|
17215
|
-
isNative: boolean;
|
17216
|
-
} & {
|
17217
|
-
price?: number | null | undefined;
|
17218
|
-
};
|
17219
|
-
distributionChain: {
|
17220
|
-
name: string;
|
17221
|
-
id: number;
|
17222
|
-
icon: string;
|
17223
|
-
} | undefined;
|
17224
|
-
campaignStatus: {
|
17225
|
-
computedUntil: number;
|
17226
|
-
processingStarted: number;
|
17227
|
-
status: import("@db/api").$Enums.RunStatus;
|
17228
|
-
error: string;
|
17229
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
17230
|
-
campaignId: string;
|
17231
|
-
} | undefined;
|
17232
|
-
creatorAddress: string;
|
17233
|
-
creator: {
|
17234
|
-
tags: string[];
|
17235
|
-
address: string;
|
17236
|
-
creatorId: string | null;
|
17237
|
-
};
|
17238
|
-
createdAt: string;
|
17239
|
-
description: string | undefined;
|
17240
|
-
parentCampaignId: string | undefined;
|
17241
|
-
rootCampaignId: string | undefined;
|
17242
|
-
Opportunity: {
|
17243
|
-
status: import("@db/api").$Enums.Status;
|
17244
|
-
type: string;
|
17245
|
-
name: string;
|
17246
|
-
description: string;
|
17247
|
-
id: string;
|
17248
|
-
tags: string[];
|
17249
|
-
identifier: string;
|
17250
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
17251
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
17252
|
-
chainId: number;
|
17253
|
-
howToSteps: string[];
|
17254
|
-
depositUrl: string | null;
|
17255
|
-
explorerAddress: string | null;
|
17256
|
-
mainProtocolId: string | null;
|
17257
|
-
tvl: number;
|
17258
|
-
apr: number;
|
17259
|
-
dailyRewards: number;
|
17260
|
-
lastCampaignCreatedAt: Date;
|
17261
|
-
};
|
17262
|
-
type: string;
|
17421
|
+
computeMethodBoost: number | null;
|
17422
|
+
lastRecordedNumberOfRecipients: number | null;
|
17423
|
+
} | null;
|
17424
|
+
}>>;
|
17425
|
+
})) & {};
|
17426
|
+
user: ((params: {
|
17427
|
+
address: string | number;
|
17428
|
+
}) => {} & ((params: {
|
17429
|
+
field: string | number;
|
17430
|
+
}) => {
|
17431
|
+
get: (options?: {
|
17432
|
+
headers?: Record<string, unknown> | undefined;
|
17433
|
+
query?: Record<string, unknown> | undefined;
|
17434
|
+
fetch?: RequestInit | undefined;
|
17435
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17436
|
+
200: {
|
17437
|
+
reason: string;
|
17263
17438
|
id: string;
|
17264
|
-
subType: number | null;
|
17265
|
-
computeChainId: number;
|
17266
|
-
distributionChainId: number;
|
17267
17439
|
campaignId: string;
|
17268
|
-
|
17269
|
-
rewardTokenId: string;
|
17270
|
-
amount: string;
|
17271
|
-
opportunityId: string;
|
17440
|
+
boost: number | null;
|
17272
17441
|
}[];
|
17273
17442
|
}>>;
|
17443
|
+
})) & {};
|
17444
|
+
engine: {
|
17445
|
+
campaign: {
|
17446
|
+
post: (body: {
|
17447
|
+
value: number;
|
17448
|
+
campaignId: string;
|
17449
|
+
field: string;
|
17450
|
+
}, options: {
|
17451
|
+
headers: {
|
17452
|
+
authorization: string;
|
17453
|
+
};
|
17454
|
+
query?: Record<string, unknown> | undefined;
|
17455
|
+
fetch?: RequestInit | undefined;
|
17456
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17457
|
+
200: void;
|
17458
|
+
}>>;
|
17459
|
+
};
|
17460
|
+
user: {
|
17461
|
+
post: (body: {
|
17462
|
+
reason: string;
|
17463
|
+
value: number;
|
17464
|
+
campaignId: string;
|
17465
|
+
address: string;
|
17466
|
+
field: string;
|
17467
|
+
}[], options: {
|
17468
|
+
headers: {
|
17469
|
+
authorization: string;
|
17470
|
+
};
|
17471
|
+
query?: Record<string, unknown> | undefined;
|
17472
|
+
fetch?: RequestInit | undefined;
|
17473
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17474
|
+
200: void;
|
17475
|
+
}>>;
|
17476
|
+
};
|
17274
17477
|
};
|
17478
|
+
};
|
17479
|
+
creators: ((params: {
|
17480
|
+
creatorId: string | number;
|
17481
|
+
}) => {
|
17482
|
+
get: (options?: {
|
17483
|
+
headers?: Record<string, unknown> | undefined;
|
17484
|
+
query?: Record<string, unknown> | undefined;
|
17485
|
+
fetch?: RequestInit | undefined;
|
17486
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17487
|
+
200: {
|
17488
|
+
Users: {
|
17489
|
+
tags: string[];
|
17490
|
+
address: string;
|
17491
|
+
creatorId: string | null;
|
17492
|
+
}[];
|
17493
|
+
name: string;
|
17494
|
+
id: string;
|
17495
|
+
icon: string | null;
|
17496
|
+
rebateFee: number;
|
17497
|
+
};
|
17498
|
+
}>>;
|
17499
|
+
patch: (body: {
|
17500
|
+
icon?: string | undefined;
|
17501
|
+
name: string;
|
17502
|
+
addresses: string[];
|
17503
|
+
}, options: {
|
17504
|
+
headers: {
|
17505
|
+
authorization: string;
|
17506
|
+
};
|
17507
|
+
query?: Record<string, unknown> | undefined;
|
17508
|
+
fetch?: RequestInit | undefined;
|
17509
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17510
|
+
200: {
|
17511
|
+
name: string;
|
17512
|
+
id: string;
|
17513
|
+
icon: string | null;
|
17514
|
+
rebateFee: number;
|
17515
|
+
};
|
17516
|
+
}>>;
|
17517
|
+
delete: (body: unknown, options: {
|
17518
|
+
headers: {
|
17519
|
+
authorization: string;
|
17520
|
+
};
|
17521
|
+
query?: Record<string, unknown> | undefined;
|
17522
|
+
fetch?: RequestInit | undefined;
|
17523
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17524
|
+
200: {
|
17525
|
+
name: string;
|
17526
|
+
id: string;
|
17527
|
+
icon: string | null;
|
17528
|
+
rebateFee: number;
|
17529
|
+
};
|
17530
|
+
}>>;
|
17275
17531
|
}) & {
|
17276
17532
|
index: {
|
17277
17533
|
post: (body: {
|
@@ -17315,8 +17571,159 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17315
17571
|
})[];
|
17316
17572
|
}>>;
|
17317
17573
|
};
|
17574
|
+
user: ((params: {
|
17575
|
+
address: string | number;
|
17576
|
+
}) => {
|
17577
|
+
dashboard: {
|
17578
|
+
get: (options?: {
|
17579
|
+
headers?: Record<string, unknown> | undefined;
|
17580
|
+
query?: Record<string, unknown> | undefined;
|
17581
|
+
fetch?: RequestInit | undefined;
|
17582
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17583
|
+
200: {
|
17584
|
+
pastCampaigns: number;
|
17585
|
+
liveCampaigns: number;
|
17586
|
+
futureCampaigns: number;
|
17587
|
+
totalTvl: number;
|
17588
|
+
totalWallets: number;
|
17589
|
+
totalCampaigns: number;
|
17590
|
+
creatorId: string | null;
|
17591
|
+
};
|
17592
|
+
}>>;
|
17593
|
+
};
|
17594
|
+
campaigns: {
|
17595
|
+
get: (options: {
|
17596
|
+
headers?: Record<string, unknown> | undefined;
|
17597
|
+
query: {
|
17598
|
+
status?: "PAST" | "LIVE" | "FUTURE" | undefined;
|
17599
|
+
};
|
17600
|
+
fetch?: RequestInit | undefined;
|
17601
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17602
|
+
200: ({
|
17603
|
+
Opportunity: {
|
17604
|
+
status: import("@db/api").$Enums.Status;
|
17605
|
+
type: string;
|
17606
|
+
name: string;
|
17607
|
+
description: string;
|
17608
|
+
id: string;
|
17609
|
+
tags: string[];
|
17610
|
+
identifier: string;
|
17611
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
17612
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
17613
|
+
chainId: number;
|
17614
|
+
howToSteps: string[];
|
17615
|
+
depositUrl: string | null;
|
17616
|
+
explorerAddress: string | null;
|
17617
|
+
mainProtocolId: string | null;
|
17618
|
+
tvl: number;
|
17619
|
+
apr: number;
|
17620
|
+
dailyRewards: number;
|
17621
|
+
lastCampaignCreatedAt: Date;
|
17622
|
+
};
|
17623
|
+
} & {
|
17624
|
+
type: string;
|
17625
|
+
description: string | null;
|
17626
|
+
id: string;
|
17627
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
17628
|
+
subType: number | null;
|
17629
|
+
computeChainId: number;
|
17630
|
+
distributionChainId: number;
|
17631
|
+
campaignId: string;
|
17632
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
17633
|
+
rewardTokenId: string;
|
17634
|
+
amount: string;
|
17635
|
+
opportunityId: string;
|
17636
|
+
startTimestamp: bigint;
|
17637
|
+
endTimestamp: bigint;
|
17638
|
+
creatorAddress: string;
|
17639
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
17640
|
+
createdAt: Date;
|
17641
|
+
rootCampaignId: string | null;
|
17642
|
+
parentCampaignId: string | null;
|
17643
|
+
})[] | {
|
17644
|
+
params: any;
|
17645
|
+
chain: {
|
17646
|
+
name: string;
|
17647
|
+
id: number;
|
17648
|
+
icon: string;
|
17649
|
+
};
|
17650
|
+
endTimestamp: number;
|
17651
|
+
startTimestamp: number;
|
17652
|
+
rewardToken: {
|
17653
|
+
symbol: string;
|
17654
|
+
name: string | null;
|
17655
|
+
id: string;
|
17656
|
+
icon: string;
|
17657
|
+
address: string;
|
17658
|
+
chainId: number;
|
17659
|
+
decimals: number;
|
17660
|
+
verified: boolean;
|
17661
|
+
isTest: boolean;
|
17662
|
+
isPoint: boolean;
|
17663
|
+
isPreTGE: boolean;
|
17664
|
+
isNative: boolean;
|
17665
|
+
} & {
|
17666
|
+
price?: number | null | undefined;
|
17667
|
+
};
|
17668
|
+
distributionChain: {
|
17669
|
+
name: string;
|
17670
|
+
id: number;
|
17671
|
+
icon: string;
|
17672
|
+
} | undefined;
|
17673
|
+
campaignStatus: {
|
17674
|
+
computedUntil: number;
|
17675
|
+
processingStarted: number;
|
17676
|
+
status: import("@db/api").$Enums.RunStatus;
|
17677
|
+
error: string;
|
17678
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
17679
|
+
campaignId: string;
|
17680
|
+
} | undefined;
|
17681
|
+
creatorAddress: string;
|
17682
|
+
creator: {
|
17683
|
+
tags: string[];
|
17684
|
+
address: string;
|
17685
|
+
creatorId: string | null;
|
17686
|
+
};
|
17687
|
+
createdAt: string;
|
17688
|
+
description: string | undefined;
|
17689
|
+
parentCampaignId: string | undefined;
|
17690
|
+
rootCampaignId: string | undefined;
|
17691
|
+
Opportunity: {
|
17692
|
+
status: import("@db/api").$Enums.Status;
|
17693
|
+
type: string;
|
17694
|
+
name: string;
|
17695
|
+
description: string;
|
17696
|
+
id: string;
|
17697
|
+
tags: string[];
|
17698
|
+
identifier: string;
|
17699
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
17700
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
17701
|
+
chainId: number;
|
17702
|
+
howToSteps: string[];
|
17703
|
+
depositUrl: string | null;
|
17704
|
+
explorerAddress: string | null;
|
17705
|
+
mainProtocolId: string | null;
|
17706
|
+
tvl: number;
|
17707
|
+
apr: number;
|
17708
|
+
dailyRewards: number;
|
17709
|
+
lastCampaignCreatedAt: Date;
|
17710
|
+
};
|
17711
|
+
type: string;
|
17712
|
+
id: string;
|
17713
|
+
subType: number | null;
|
17714
|
+
computeChainId: number;
|
17715
|
+
distributionChainId: number;
|
17716
|
+
campaignId: string;
|
17717
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
17718
|
+
rewardTokenId: string;
|
17719
|
+
amount: string;
|
17720
|
+
opportunityId: string;
|
17721
|
+
}[];
|
17722
|
+
}>>;
|
17723
|
+
};
|
17724
|
+
}) & {};
|
17318
17725
|
campaigns: ((params: {
|
17319
|
-
|
17726
|
+
campaignId: string | number;
|
17320
17727
|
}) => {
|
17321
17728
|
get: (options?: {
|
17322
17729
|
headers?: Record<string, unknown> | undefined;
|