@merkl/api 0.21.35 → 0.21.37
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 +1277 -878
- package/dist/src/engine/implementations/Erc20/subTypes/detect.js +105 -98
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -2
- package/dist/src/index.d.ts +399 -254
- 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 +39 -13
- package/dist/src/modules/v4/creator/creator.controller.d.ts +8 -8
- package/dist/src/modules/v4/creator/creator.controller.js +9 -9
- 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/programPayload/programPayload.repository.d.ts +100 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +44 -0
- 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 +399 -254
- 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
|
+
metadata: {
|
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
|
};
|
@@ -4512,56 +4637,8 @@ declare const eden: {
|
|
4512
4637
|
};
|
4513
4638
|
creators: ((params: {
|
4514
4639
|
address: string | number;
|
4640
|
+
creatorId: string | number;
|
4515
4641
|
}) => {
|
4516
|
-
get: (options?: {
|
4517
|
-
headers?: Record<string, unknown> | undefined;
|
4518
|
-
query?: Record<string, unknown> | undefined;
|
4519
|
-
fetch?: RequestInit | undefined;
|
4520
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4521
|
-
200: {
|
4522
|
-
Users: {
|
4523
|
-
tags: string[];
|
4524
|
-
address: string;
|
4525
|
-
creatorId: string | null;
|
4526
|
-
}[];
|
4527
|
-
name: string;
|
4528
|
-
id: string;
|
4529
|
-
icon: string | null;
|
4530
|
-
rebateFee: number;
|
4531
|
-
};
|
4532
|
-
}>>;
|
4533
|
-
patch: (body: {
|
4534
|
-
icon?: string | undefined;
|
4535
|
-
name: string;
|
4536
|
-
addresses: string[];
|
4537
|
-
}, options: {
|
4538
|
-
headers: {
|
4539
|
-
authorization: string;
|
4540
|
-
};
|
4541
|
-
query?: Record<string, unknown> | undefined;
|
4542
|
-
fetch?: RequestInit | undefined;
|
4543
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4544
|
-
200: {
|
4545
|
-
name: string;
|
4546
|
-
id: string;
|
4547
|
-
icon: string | null;
|
4548
|
-
rebateFee: number;
|
4549
|
-
};
|
4550
|
-
}>>;
|
4551
|
-
delete: (body: unknown, options: {
|
4552
|
-
headers: {
|
4553
|
-
authorization: string;
|
4554
|
-
};
|
4555
|
-
query?: Record<string, unknown> | undefined;
|
4556
|
-
fetch?: RequestInit | undefined;
|
4557
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4558
|
-
200: {
|
4559
|
-
name: string;
|
4560
|
-
id: string;
|
4561
|
-
icon: string | null;
|
4562
|
-
rebateFee: number;
|
4563
|
-
};
|
4564
|
-
}>>;
|
4565
4642
|
dashboard: {
|
4566
4643
|
get: (options?: {
|
4567
4644
|
headers?: Record<string, unknown> | undefined;
|
@@ -4709,6 +4786,56 @@ declare const eden: {
|
|
4709
4786
|
}[];
|
4710
4787
|
}>>;
|
4711
4788
|
};
|
4789
|
+
} | {
|
4790
|
+
get: (options?: {
|
4791
|
+
headers?: Record<string, unknown> | undefined;
|
4792
|
+
query?: Record<string, unknown> | undefined;
|
4793
|
+
fetch?: RequestInit | undefined;
|
4794
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4795
|
+
200: {
|
4796
|
+
Users: {
|
4797
|
+
tags: string[];
|
4798
|
+
address: string;
|
4799
|
+
creatorId: string | null;
|
4800
|
+
}[];
|
4801
|
+
name: string;
|
4802
|
+
id: string;
|
4803
|
+
icon: string | null;
|
4804
|
+
rebateFee: number;
|
4805
|
+
};
|
4806
|
+
}>>;
|
4807
|
+
patch: (body: {
|
4808
|
+
icon?: string | undefined;
|
4809
|
+
name: string;
|
4810
|
+
addresses: string[];
|
4811
|
+
}, options: {
|
4812
|
+
headers: {
|
4813
|
+
authorization: string;
|
4814
|
+
};
|
4815
|
+
query?: Record<string, unknown> | undefined;
|
4816
|
+
fetch?: RequestInit | undefined;
|
4817
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4818
|
+
200: {
|
4819
|
+
name: string;
|
4820
|
+
id: string;
|
4821
|
+
icon: string | null;
|
4822
|
+
rebateFee: number;
|
4823
|
+
};
|
4824
|
+
}>>;
|
4825
|
+
delete: (body: unknown, options: {
|
4826
|
+
headers: {
|
4827
|
+
authorization: string;
|
4828
|
+
};
|
4829
|
+
query?: Record<string, unknown> | undefined;
|
4830
|
+
fetch?: RequestInit | undefined;
|
4831
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4832
|
+
200: {
|
4833
|
+
name: string;
|
4834
|
+
id: string;
|
4835
|
+
icon: string | null;
|
4836
|
+
rebateFee: number;
|
4837
|
+
};
|
4838
|
+
}>>;
|
4712
4839
|
}) & {
|
4713
4840
|
index: {
|
4714
4841
|
post: (body: {
|
@@ -4753,7 +4880,7 @@ declare const eden: {
|
|
4753
4880
|
}>>;
|
4754
4881
|
};
|
4755
4882
|
campaigns: ((params: {
|
4756
|
-
|
4883
|
+
campaignId: string | number;
|
4757
4884
|
}) => {
|
4758
4885
|
get: (options?: {
|
4759
4886
|
headers?: Record<string, unknown> | undefined;
|
@@ -6901,7 +7028,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6901
7028
|
} & {
|
6902
7029
|
price?: number | null | undefined;
|
6903
7030
|
})[];
|
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;
|
7031
|
+
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
7032
|
description: string;
|
6906
7033
|
howToSteps: string[];
|
6907
7034
|
depositUrl: string | undefined;
|
@@ -7079,7 +7206,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7079
7206
|
} & {
|
7080
7207
|
price?: number | null | undefined;
|
7081
7208
|
})[];
|
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;
|
7209
|
+
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
7210
|
description: string;
|
7084
7211
|
howToSteps: string[];
|
7085
7212
|
depositUrl: string | undefined;
|
@@ -7209,7 +7336,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7209
7336
|
} & {
|
7210
7337
|
price?: number | null | undefined;
|
7211
7338
|
})[];
|
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;
|
7339
|
+
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
7340
|
description: string;
|
7214
7341
|
howToSteps: string[];
|
7215
7342
|
depositUrl: string | undefined;
|
@@ -7936,28 +8063,73 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7936
8063
|
headers: {
|
7937
8064
|
authorization: string;
|
7938
8065
|
};
|
7939
|
-
response: {
|
7940
|
-
200: {
|
7941
|
-
[x: string]: number;
|
8066
|
+
response: {
|
8067
|
+
200: {
|
8068
|
+
[x: string]: number;
|
8069
|
+
};
|
8070
|
+
};
|
8071
|
+
};
|
8072
|
+
};
|
8073
|
+
};
|
8074
|
+
};
|
8075
|
+
};
|
8076
|
+
} & {
|
8077
|
+
v4: {
|
8078
|
+
campaigns: {
|
8079
|
+
"dry-run": {
|
8080
|
+
tvl: {
|
8081
|
+
campaign: {
|
8082
|
+
":campaignId": {
|
8083
|
+
get: {
|
8084
|
+
body: unknown;
|
8085
|
+
params: {
|
8086
|
+
campaignId: string;
|
8087
|
+
};
|
8088
|
+
query: unknown;
|
8089
|
+
headers: {
|
8090
|
+
authorization: string;
|
8091
|
+
};
|
8092
|
+
response: {
|
8093
|
+
200: unknown[];
|
8094
|
+
};
|
8095
|
+
};
|
8096
|
+
};
|
8097
|
+
};
|
8098
|
+
};
|
8099
|
+
};
|
8100
|
+
} & {
|
8101
|
+
"dry-run": {
|
8102
|
+
tvl: {
|
8103
|
+
opportunity: {
|
8104
|
+
":opportunityId": {
|
8105
|
+
get: {
|
8106
|
+
body: unknown;
|
8107
|
+
params: {
|
8108
|
+
opportunityId: string;
|
8109
|
+
};
|
8110
|
+
query: unknown;
|
8111
|
+
headers: {
|
8112
|
+
authorization: string;
|
8113
|
+
};
|
8114
|
+
response: {
|
8115
|
+
200: unknown[];
|
8116
|
+
};
|
7942
8117
|
};
|
7943
8118
|
};
|
7944
8119
|
};
|
7945
8120
|
};
|
7946
8121
|
};
|
7947
|
-
}
|
7948
|
-
};
|
7949
|
-
} & {
|
7950
|
-
v4: {
|
7951
|
-
campaigns: {
|
8122
|
+
} & {
|
7952
8123
|
"dry-run": {
|
7953
8124
|
tvl: {
|
7954
|
-
|
8125
|
+
erc20: {
|
7955
8126
|
get: {
|
7956
8127
|
body: unknown;
|
7957
|
-
params: {
|
7958
|
-
|
8128
|
+
params: {};
|
8129
|
+
query: {
|
8130
|
+
address: string;
|
8131
|
+
chainId: number;
|
7959
8132
|
};
|
7960
|
-
query: unknown;
|
7961
8133
|
headers: {
|
7962
8134
|
authorization: string;
|
7963
8135
|
};
|
@@ -7970,13 +8142,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7970
8142
|
};
|
7971
8143
|
} & {
|
7972
8144
|
"dry-run": {
|
7973
|
-
|
7974
|
-
|
7975
|
-
|
7976
|
-
body:
|
7977
|
-
params: {
|
7978
|
-
opportunityId: string;
|
7979
|
-
};
|
8145
|
+
tvl: {
|
8146
|
+
list: {
|
8147
|
+
post: {
|
8148
|
+
body: string[];
|
8149
|
+
params: {};
|
7980
8150
|
query: unknown;
|
7981
8151
|
headers: {
|
7982
8152
|
authorization: string;
|
@@ -7990,10 +8160,23 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7990
8160
|
};
|
7991
8161
|
} & {
|
7992
8162
|
"dry-run": {
|
7993
|
-
|
7994
|
-
|
8163
|
+
tvl: {
|
8164
|
+
index: {
|
7995
8165
|
post: {
|
7996
|
-
body:
|
8166
|
+
body: {
|
8167
|
+
id?: string | undefined;
|
8168
|
+
subType?: number | undefined;
|
8169
|
+
campaignId?: string | undefined;
|
8170
|
+
amount?: string | undefined;
|
8171
|
+
creatorAddress?: string | undefined;
|
8172
|
+
type: string;
|
8173
|
+
params: any;
|
8174
|
+
computeChainId: number;
|
8175
|
+
distributionChainId: number;
|
8176
|
+
startTimestamp: number;
|
8177
|
+
endTimestamp: number;
|
8178
|
+
rewardToken: string;
|
8179
|
+
};
|
7997
8180
|
params: {};
|
7998
8181
|
query: unknown;
|
7999
8182
|
headers: {
|
@@ -8008,29 +8191,124 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8008
8191
|
};
|
8009
8192
|
} & {
|
8010
8193
|
"dry-run": {
|
8011
|
-
|
8012
|
-
|
8013
|
-
|
8014
|
-
|
8015
|
-
|
8016
|
-
|
8017
|
-
|
8018
|
-
|
8019
|
-
|
8020
|
-
|
8021
|
-
|
8022
|
-
|
8023
|
-
|
8024
|
-
|
8025
|
-
|
8026
|
-
|
8027
|
-
|
8028
|
-
|
8029
|
-
|
8030
|
-
|
8031
|
-
|
8032
|
-
|
8033
|
-
|
8194
|
+
metadata: {
|
8195
|
+
metadata: {
|
8196
|
+
post: {
|
8197
|
+
body: {
|
8198
|
+
id?: string | undefined;
|
8199
|
+
subType?: number | undefined;
|
8200
|
+
campaignId?: string | undefined;
|
8201
|
+
amount?: string | undefined;
|
8202
|
+
creatorAddress?: string | undefined;
|
8203
|
+
type: string;
|
8204
|
+
params: any;
|
8205
|
+
computeChainId: number;
|
8206
|
+
distributionChainId: number;
|
8207
|
+
startTimestamp: number;
|
8208
|
+
endTimestamp: number;
|
8209
|
+
rewardToken: string;
|
8210
|
+
};
|
8211
|
+
params: {};
|
8212
|
+
query: unknown;
|
8213
|
+
headers: {
|
8214
|
+
authorization: string;
|
8215
|
+
};
|
8216
|
+
response: {
|
8217
|
+
200: {
|
8218
|
+
type: string;
|
8219
|
+
description: string | null;
|
8220
|
+
id: string;
|
8221
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
8222
|
+
subType: number | null;
|
8223
|
+
computeChainId: number;
|
8224
|
+
distributionChainId: number;
|
8225
|
+
campaignId: string;
|
8226
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8227
|
+
rewardTokenId: string;
|
8228
|
+
amount: string;
|
8229
|
+
opportunityId: string;
|
8230
|
+
startTimestamp: bigint;
|
8231
|
+
endTimestamp: bigint;
|
8232
|
+
creatorAddress: string;
|
8233
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8234
|
+
createdAt: Date;
|
8235
|
+
rootCampaignId: string | null;
|
8236
|
+
parentCampaignId: string | null;
|
8237
|
+
} | {
|
8238
|
+
Tokens: {
|
8239
|
+
symbol: string;
|
8240
|
+
name: string | null;
|
8241
|
+
id: string;
|
8242
|
+
icon: string;
|
8243
|
+
address: string;
|
8244
|
+
chainId: number;
|
8245
|
+
decimals: number;
|
8246
|
+
displaySymbol: string;
|
8247
|
+
verified: boolean;
|
8248
|
+
isTest: boolean;
|
8249
|
+
isPoint: boolean;
|
8250
|
+
isPreTGE: boolean;
|
8251
|
+
isNative: boolean;
|
8252
|
+
price: number | null;
|
8253
|
+
}[];
|
8254
|
+
Protocols: {
|
8255
|
+
url: string;
|
8256
|
+
name: string;
|
8257
|
+
description: string;
|
8258
|
+
id: string;
|
8259
|
+
tags: string[];
|
8260
|
+
icon: string;
|
8261
|
+
}[];
|
8262
|
+
status: import("@db/api").$Enums.Status;
|
8263
|
+
type: string;
|
8264
|
+
name: string;
|
8265
|
+
description: string;
|
8266
|
+
id: string;
|
8267
|
+
tags: string[];
|
8268
|
+
identifier: string;
|
8269
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
8270
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
8271
|
+
chainId: number;
|
8272
|
+
howToSteps: string[];
|
8273
|
+
depositUrl: string | null;
|
8274
|
+
explorerAddress: string | null;
|
8275
|
+
mainProtocolId: string | null;
|
8276
|
+
tvl: number;
|
8277
|
+
apr: number;
|
8278
|
+
dailyRewards: number;
|
8279
|
+
lastCampaignCreatedAt: Date;
|
8280
|
+
} | {
|
8281
|
+
id: string;
|
8282
|
+
chainId: number;
|
8283
|
+
type: string;
|
8284
|
+
identifier: string;
|
8285
|
+
name: string;
|
8286
|
+
status: "PAST" | "LIVE" | "SOON";
|
8287
|
+
action: any;
|
8288
|
+
tokens: ({
|
8289
|
+
symbol: string;
|
8290
|
+
name: string | null;
|
8291
|
+
id: string;
|
8292
|
+
icon: string;
|
8293
|
+
address: string;
|
8294
|
+
chainId: number;
|
8295
|
+
decimals: number;
|
8296
|
+
verified: boolean;
|
8297
|
+
isTest: boolean;
|
8298
|
+
isPoint: boolean;
|
8299
|
+
isPreTGE: boolean;
|
8300
|
+
isNative: boolean;
|
8301
|
+
} & {
|
8302
|
+
price?: number | null | undefined;
|
8303
|
+
})[];
|
8304
|
+
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;
|
8305
|
+
description: string;
|
8306
|
+
howToSteps: string[];
|
8307
|
+
depositUrl: string | undefined;
|
8308
|
+
explorerAddress: string | undefined;
|
8309
|
+
tags: string[];
|
8310
|
+
} | undefined;
|
8311
|
+
};
|
8034
8312
|
};
|
8035
8313
|
};
|
8036
8314
|
};
|
@@ -8038,121 +8316,113 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8038
8316
|
} & {
|
8039
8317
|
"dry-run": {
|
8040
8318
|
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;
|
8319
|
+
metadata: {
|
8320
|
+
get: {
|
8321
|
+
body: unknown;
|
8322
|
+
params: {};
|
8323
|
+
query: {
|
8324
|
+
distributionChain?: number | undefined;
|
8070
8325
|
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;
|
8326
|
+
};
|
8327
|
+
headers: {
|
8328
|
+
authorization: string;
|
8329
|
+
};
|
8330
|
+
response: {
|
8331
|
+
200: {
|
8332
|
+
type: string;
|
8333
|
+
description: string | null;
|
8086
8334
|
id: string;
|
8087
|
-
|
8088
|
-
|
8089
|
-
|
8090
|
-
|
8091
|
-
|
8092
|
-
|
8093
|
-
|
8094
|
-
|
8095
|
-
|
8096
|
-
|
8097
|
-
|
8098
|
-
|
8099
|
-
|
8100
|
-
|
8335
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
8336
|
+
subType: number | null;
|
8337
|
+
computeChainId: number;
|
8338
|
+
distributionChainId: number;
|
8339
|
+
campaignId: string;
|
8340
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8341
|
+
rewardTokenId: string;
|
8342
|
+
amount: string;
|
8343
|
+
opportunityId: string;
|
8344
|
+
startTimestamp: bigint;
|
8345
|
+
endTimestamp: bigint;
|
8346
|
+
creatorAddress: string;
|
8347
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8348
|
+
createdAt: Date;
|
8349
|
+
rootCampaignId: string | null;
|
8350
|
+
parentCampaignId: string | null;
|
8351
|
+
} | {
|
8352
|
+
Tokens: {
|
8353
|
+
symbol: string;
|
8354
|
+
name: string | null;
|
8355
|
+
id: string;
|
8356
|
+
icon: string;
|
8357
|
+
address: string;
|
8358
|
+
chainId: number;
|
8359
|
+
decimals: number;
|
8360
|
+
displaySymbol: string;
|
8361
|
+
verified: boolean;
|
8362
|
+
isTest: boolean;
|
8363
|
+
isPoint: boolean;
|
8364
|
+
isPreTGE: boolean;
|
8365
|
+
isNative: boolean;
|
8366
|
+
price: number | null;
|
8367
|
+
}[];
|
8368
|
+
Protocols: {
|
8369
|
+
url: string;
|
8370
|
+
name: string;
|
8371
|
+
description: string;
|
8372
|
+
id: string;
|
8373
|
+
tags: string[];
|
8374
|
+
icon: string;
|
8375
|
+
}[];
|
8376
|
+
status: import("@db/api").$Enums.Status;
|
8377
|
+
type: string;
|
8101
8378
|
name: string;
|
8102
8379
|
description: string;
|
8103
8380
|
id: string;
|
8104
8381
|
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;
|
8382
|
+
identifier: string;
|
8383
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
8384
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
8385
|
+
chainId: number;
|
8386
|
+
howToSteps: string[];
|
8387
|
+
depositUrl: string | null;
|
8388
|
+
explorerAddress: string | null;
|
8389
|
+
mainProtocolId: string | null;
|
8390
|
+
tvl: number;
|
8391
|
+
apr: number;
|
8392
|
+
dailyRewards: number;
|
8393
|
+
lastCampaignCreatedAt: Date;
|
8394
|
+
} | {
|
8136
8395
|
id: string;
|
8137
|
-
icon: string;
|
8138
|
-
address: string;
|
8139
8396
|
chainId: number;
|
8140
|
-
|
8141
|
-
|
8142
|
-
|
8143
|
-
|
8144
|
-
|
8145
|
-
|
8146
|
-
|
8147
|
-
|
8148
|
-
|
8149
|
-
|
8150
|
-
|
8151
|
-
|
8152
|
-
|
8153
|
-
|
8154
|
-
|
8155
|
-
|
8397
|
+
type: string;
|
8398
|
+
identifier: string;
|
8399
|
+
name: string;
|
8400
|
+
status: "PAST" | "LIVE" | "SOON";
|
8401
|
+
action: any;
|
8402
|
+
tokens: ({
|
8403
|
+
symbol: string;
|
8404
|
+
name: string | null;
|
8405
|
+
id: string;
|
8406
|
+
icon: string;
|
8407
|
+
address: string;
|
8408
|
+
chainId: number;
|
8409
|
+
decimals: number;
|
8410
|
+
verified: boolean;
|
8411
|
+
isTest: boolean;
|
8412
|
+
isPoint: boolean;
|
8413
|
+
isPreTGE: boolean;
|
8414
|
+
isNative: boolean;
|
8415
|
+
} & {
|
8416
|
+
price?: number | null | undefined;
|
8417
|
+
})[];
|
8418
|
+
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;
|
8419
|
+
description: string;
|
8420
|
+
howToSteps: string[];
|
8421
|
+
depositUrl: string | undefined;
|
8422
|
+
explorerAddress: string | undefined;
|
8423
|
+
tags: string[];
|
8424
|
+
} | undefined;
|
8425
|
+
};
|
8156
8426
|
};
|
8157
8427
|
};
|
8158
8428
|
};
|
@@ -8160,111 +8430,113 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8160
8430
|
} & {
|
8161
8431
|
"dry-run": {
|
8162
8432
|
metadata: {
|
8163
|
-
|
8164
|
-
|
8165
|
-
|
8166
|
-
|
8167
|
-
|
8168
|
-
|
8169
|
-
|
8170
|
-
|
8171
|
-
|
8172
|
-
|
8173
|
-
|
8174
|
-
|
8175
|
-
|
8176
|
-
|
8177
|
-
|
8178
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
8179
|
-
subType: number | null;
|
8180
|
-
computeChainId: number;
|
8181
|
-
distributionChainId: number;
|
8182
|
-
campaignId: string;
|
8183
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
8184
|
-
rewardTokenId: string;
|
8185
|
-
amount: string;
|
8186
|
-
opportunityId: string;
|
8187
|
-
startTimestamp: bigint;
|
8188
|
-
endTimestamp: bigint;
|
8189
|
-
creatorAddress: string;
|
8190
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8191
|
-
createdAt: Date;
|
8192
|
-
rootCampaignId: string | null;
|
8193
|
-
parentCampaignId: string | null;
|
8194
|
-
} | {
|
8195
|
-
Tokens: {
|
8196
|
-
symbol: string;
|
8197
|
-
name: string | null;
|
8433
|
+
erc20: {
|
8434
|
+
get: {
|
8435
|
+
body: unknown;
|
8436
|
+
params: {};
|
8437
|
+
query: {
|
8438
|
+
address: string;
|
8439
|
+
chainId: number;
|
8440
|
+
};
|
8441
|
+
headers: {
|
8442
|
+
authorization: string;
|
8443
|
+
};
|
8444
|
+
response: {
|
8445
|
+
200: {
|
8446
|
+
type: string;
|
8447
|
+
description: string | null;
|
8198
8448
|
id: string;
|
8199
|
-
|
8200
|
-
|
8201
|
-
|
8202
|
-
|
8203
|
-
|
8204
|
-
|
8205
|
-
|
8206
|
-
|
8207
|
-
|
8208
|
-
|
8209
|
-
|
8210
|
-
|
8211
|
-
|
8212
|
-
|
8449
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
8450
|
+
subType: number | null;
|
8451
|
+
computeChainId: number;
|
8452
|
+
distributionChainId: number;
|
8453
|
+
campaignId: string;
|
8454
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8455
|
+
rewardTokenId: string;
|
8456
|
+
amount: string;
|
8457
|
+
opportunityId: string;
|
8458
|
+
startTimestamp: bigint;
|
8459
|
+
endTimestamp: bigint;
|
8460
|
+
creatorAddress: string;
|
8461
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8462
|
+
createdAt: Date;
|
8463
|
+
rootCampaignId: string | null;
|
8464
|
+
parentCampaignId: string | null;
|
8465
|
+
} | {
|
8466
|
+
Tokens: {
|
8467
|
+
symbol: string;
|
8468
|
+
name: string | null;
|
8469
|
+
id: string;
|
8470
|
+
icon: string;
|
8471
|
+
address: string;
|
8472
|
+
chainId: number;
|
8473
|
+
decimals: number;
|
8474
|
+
displaySymbol: string;
|
8475
|
+
verified: boolean;
|
8476
|
+
isTest: boolean;
|
8477
|
+
isPoint: boolean;
|
8478
|
+
isPreTGE: boolean;
|
8479
|
+
isNative: boolean;
|
8480
|
+
price: number | null;
|
8481
|
+
}[];
|
8482
|
+
Protocols: {
|
8483
|
+
url: string;
|
8484
|
+
name: string;
|
8485
|
+
description: string;
|
8486
|
+
id: string;
|
8487
|
+
tags: string[];
|
8488
|
+
icon: string;
|
8489
|
+
}[];
|
8490
|
+
status: import("@db/api").$Enums.Status;
|
8491
|
+
type: string;
|
8213
8492
|
name: string;
|
8214
8493
|
description: string;
|
8215
8494
|
id: string;
|
8216
8495
|
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;
|
8496
|
+
identifier: string;
|
8497
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
8498
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
8499
|
+
chainId: number;
|
8500
|
+
howToSteps: string[];
|
8501
|
+
depositUrl: string | null;
|
8502
|
+
explorerAddress: string | null;
|
8503
|
+
mainProtocolId: string | null;
|
8504
|
+
tvl: number;
|
8505
|
+
apr: number;
|
8506
|
+
dailyRewards: number;
|
8507
|
+
lastCampaignCreatedAt: Date;
|
8508
|
+
} | {
|
8248
8509
|
id: string;
|
8249
|
-
icon: string;
|
8250
|
-
address: string;
|
8251
8510
|
chainId: number;
|
8252
|
-
|
8253
|
-
|
8254
|
-
|
8255
|
-
|
8256
|
-
|
8257
|
-
|
8258
|
-
|
8259
|
-
|
8260
|
-
|
8261
|
-
|
8262
|
-
|
8263
|
-
|
8264
|
-
|
8265
|
-
|
8266
|
-
|
8267
|
-
|
8511
|
+
type: string;
|
8512
|
+
identifier: string;
|
8513
|
+
name: string;
|
8514
|
+
status: "PAST" | "LIVE" | "SOON";
|
8515
|
+
action: any;
|
8516
|
+
tokens: ({
|
8517
|
+
symbol: string;
|
8518
|
+
name: string | null;
|
8519
|
+
id: string;
|
8520
|
+
icon: string;
|
8521
|
+
address: string;
|
8522
|
+
chainId: number;
|
8523
|
+
decimals: number;
|
8524
|
+
verified: boolean;
|
8525
|
+
isTest: boolean;
|
8526
|
+
isPoint: boolean;
|
8527
|
+
isPreTGE: boolean;
|
8528
|
+
isNative: boolean;
|
8529
|
+
} & {
|
8530
|
+
price?: number | null | undefined;
|
8531
|
+
})[];
|
8532
|
+
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;
|
8533
|
+
description: string;
|
8534
|
+
howToSteps: string[];
|
8535
|
+
depositUrl: string | undefined;
|
8536
|
+
explorerAddress: string | undefined;
|
8537
|
+
tags: string[];
|
8538
|
+
} | undefined;
|
8539
|
+
};
|
8268
8540
|
};
|
8269
8541
|
};
|
8270
8542
|
};
|
@@ -11182,11 +11454,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11182
11454
|
};
|
11183
11455
|
} & {
|
11184
11456
|
creators: {
|
11185
|
-
":
|
11457
|
+
":creatorId": {
|
11186
11458
|
get: {
|
11187
11459
|
body: unknown;
|
11188
11460
|
params: {
|
11189
|
-
|
11461
|
+
creatorId: string;
|
11190
11462
|
};
|
11191
11463
|
query: unknown;
|
11192
11464
|
headers: unknown;
|
@@ -11208,7 +11480,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11208
11480
|
};
|
11209
11481
|
} & {
|
11210
11482
|
creators: {
|
11211
|
-
":
|
11483
|
+
":creatorId": {
|
11212
11484
|
patch: {
|
11213
11485
|
body: {
|
11214
11486
|
icon?: string | undefined;
|
@@ -11216,7 +11488,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11216
11488
|
addresses: string[];
|
11217
11489
|
};
|
11218
11490
|
params: {
|
11219
|
-
|
11491
|
+
creatorId: string;
|
11220
11492
|
};
|
11221
11493
|
query: unknown;
|
11222
11494
|
headers: {
|
@@ -11235,11 +11507,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11235
11507
|
};
|
11236
11508
|
} & {
|
11237
11509
|
creators: {
|
11238
|
-
":
|
11510
|
+
":creatorId": {
|
11239
11511
|
delete: {
|
11240
11512
|
body: unknown;
|
11241
11513
|
params: {
|
11242
|
-
|
11514
|
+
creatorId: string;
|
11243
11515
|
};
|
11244
11516
|
query: unknown;
|
11245
11517
|
headers: {
|
@@ -11424,11 +11696,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11424
11696
|
} & {
|
11425
11697
|
creators: {
|
11426
11698
|
campaigns: {
|
11427
|
-
":
|
11699
|
+
":campaignId": {
|
11428
11700
|
get: {
|
11429
11701
|
body: unknown;
|
11430
11702
|
params: {
|
11431
|
-
|
11703
|
+
campaignId: string;
|
11432
11704
|
};
|
11433
11705
|
query: unknown;
|
11434
11706
|
headers: unknown;
|
@@ -13016,7 +13288,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13016
13288
|
} & {
|
13017
13289
|
price?: number | null | undefined;
|
13018
13290
|
})[];
|
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;
|
13291
|
+
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
13292
|
description: string;
|
13021
13293
|
howToSteps: string[];
|
13022
13294
|
depositUrl: string | undefined;
|
@@ -13165,7 +13437,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13165
13437
|
} & {
|
13166
13438
|
price?: number | null | undefined;
|
13167
13439
|
})[];
|
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;
|
13440
|
+
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
13441
|
description: string;
|
13170
13442
|
howToSteps: string[];
|
13171
13443
|
depositUrl: string | undefined;
|
@@ -14085,7 +14357,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14085
14357
|
} & {
|
14086
14358
|
price?: number | null | undefined;
|
14087
14359
|
})[];
|
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;
|
14360
|
+
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
14361
|
description: string;
|
14090
14362
|
howToSteps: string[];
|
14091
14363
|
depositUrl: string | undefined;
|
@@ -14475,288 +14747,413 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14475
14747
|
};
|
14476
14748
|
};
|
14477
14749
|
"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
|
-
}) & {
|
14750
|
+
tvl: {
|
14751
|
+
campaign: ((params: {
|
14752
|
+
campaignId: string | number;
|
14753
|
+
}) => {
|
14754
|
+
get: (options: {
|
14755
|
+
headers: {
|
14756
|
+
authorization: string;
|
14757
|
+
};
|
14758
|
+
query?: Record<string, unknown> | undefined;
|
14759
|
+
fetch?: RequestInit | undefined;
|
14760
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14761
|
+
200: unknown[];
|
14762
|
+
}>>;
|
14763
|
+
}) & {};
|
14764
|
+
opportunity: ((params: {
|
14765
|
+
opportunityId: string | number;
|
14766
|
+
}) => {
|
14767
|
+
get: (options: {
|
14768
|
+
headers: {
|
14769
|
+
authorization: string;
|
14770
|
+
};
|
14771
|
+
query?: Record<string, unknown> | undefined;
|
14772
|
+
fetch?: RequestInit | undefined;
|
14773
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14774
|
+
200: unknown[];
|
14775
|
+
}>>;
|
14776
|
+
}) & {};
|
14777
|
+
erc20: {
|
14778
|
+
get: (options: {
|
14779
|
+
headers: {
|
14780
|
+
authorization: string;
|
14781
|
+
};
|
14782
|
+
query: {
|
14783
|
+
address: string;
|
14784
|
+
chainId: number;
|
14785
|
+
};
|
14786
|
+
fetch?: RequestInit | undefined;
|
14787
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14788
|
+
200: unknown[];
|
14789
|
+
}>>;
|
14790
|
+
};
|
14527
14791
|
list: {
|
14528
14792
|
post: (body: string[], options: {
|
14529
14793
|
headers: {
|
14530
14794
|
authorization: string;
|
14531
14795
|
};
|
14532
|
-
query?: Record<string, unknown> | undefined;
|
14796
|
+
query?: Record<string, unknown> | undefined;
|
14797
|
+
fetch?: RequestInit | undefined;
|
14798
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14799
|
+
200: unknown[];
|
14800
|
+
}>>;
|
14801
|
+
};
|
14802
|
+
index: {
|
14803
|
+
post: (body: {
|
14804
|
+
id?: string | undefined;
|
14805
|
+
subType?: number | undefined;
|
14806
|
+
campaignId?: string | undefined;
|
14807
|
+
amount?: string | undefined;
|
14808
|
+
creatorAddress?: string | undefined;
|
14809
|
+
type: string;
|
14810
|
+
params: any;
|
14811
|
+
computeChainId: number;
|
14812
|
+
distributionChainId: number;
|
14813
|
+
startTimestamp: number;
|
14814
|
+
endTimestamp: number;
|
14815
|
+
rewardToken: string;
|
14816
|
+
}, options: {
|
14817
|
+
headers: {
|
14818
|
+
authorization: string;
|
14819
|
+
};
|
14820
|
+
query?: Record<string, unknown> | undefined;
|
14821
|
+
fetch?: RequestInit | undefined;
|
14822
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14823
|
+
200: unknown[];
|
14824
|
+
}>>;
|
14825
|
+
};
|
14826
|
+
};
|
14827
|
+
metadata: {
|
14828
|
+
metadata: {
|
14829
|
+
post: (body: {
|
14830
|
+
id?: string | undefined;
|
14831
|
+
subType?: number | undefined;
|
14832
|
+
campaignId?: string | undefined;
|
14833
|
+
amount?: string | undefined;
|
14834
|
+
creatorAddress?: string | undefined;
|
14835
|
+
type: string;
|
14836
|
+
params: any;
|
14837
|
+
computeChainId: number;
|
14838
|
+
distributionChainId: number;
|
14839
|
+
startTimestamp: number;
|
14840
|
+
endTimestamp: number;
|
14841
|
+
rewardToken: string;
|
14842
|
+
}, options: {
|
14843
|
+
headers: {
|
14844
|
+
authorization: string;
|
14845
|
+
};
|
14846
|
+
query?: Record<string, unknown> | undefined;
|
14847
|
+
fetch?: RequestInit | undefined;
|
14848
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14849
|
+
200: {
|
14850
|
+
type: string;
|
14851
|
+
description: string | null;
|
14852
|
+
id: string;
|
14853
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
14854
|
+
subType: number | null;
|
14855
|
+
computeChainId: number;
|
14856
|
+
distributionChainId: number;
|
14857
|
+
campaignId: string;
|
14858
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14859
|
+
rewardTokenId: string;
|
14860
|
+
amount: string;
|
14861
|
+
opportunityId: string;
|
14862
|
+
startTimestamp: bigint;
|
14863
|
+
endTimestamp: bigint;
|
14864
|
+
creatorAddress: string;
|
14865
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14866
|
+
createdAt: Date;
|
14867
|
+
rootCampaignId: string | null;
|
14868
|
+
parentCampaignId: string | null;
|
14869
|
+
} | {
|
14870
|
+
Tokens: {
|
14871
|
+
symbol: string;
|
14872
|
+
name: string | null;
|
14873
|
+
id: string;
|
14874
|
+
icon: string;
|
14875
|
+
address: string;
|
14876
|
+
chainId: number;
|
14877
|
+
decimals: number;
|
14878
|
+
displaySymbol: string;
|
14879
|
+
verified: boolean;
|
14880
|
+
isTest: boolean;
|
14881
|
+
isPoint: boolean;
|
14882
|
+
isPreTGE: boolean;
|
14883
|
+
isNative: boolean;
|
14884
|
+
price: number | null;
|
14885
|
+
}[];
|
14886
|
+
Protocols: {
|
14887
|
+
url: string;
|
14888
|
+
name: string;
|
14889
|
+
description: string;
|
14890
|
+
id: string;
|
14891
|
+
tags: string[];
|
14892
|
+
icon: string;
|
14893
|
+
}[];
|
14894
|
+
status: import("@db/api").$Enums.Status;
|
14895
|
+
type: string;
|
14896
|
+
name: string;
|
14897
|
+
description: string;
|
14898
|
+
id: string;
|
14899
|
+
tags: string[];
|
14900
|
+
identifier: string;
|
14901
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
14902
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
14903
|
+
chainId: number;
|
14904
|
+
howToSteps: string[];
|
14905
|
+
depositUrl: string | null;
|
14906
|
+
explorerAddress: string | null;
|
14907
|
+
mainProtocolId: string | null;
|
14908
|
+
tvl: number;
|
14909
|
+
apr: number;
|
14910
|
+
dailyRewards: number;
|
14911
|
+
lastCampaignCreatedAt: Date;
|
14912
|
+
} | {
|
14913
|
+
id: string;
|
14914
|
+
chainId: number;
|
14915
|
+
type: string;
|
14916
|
+
identifier: string;
|
14917
|
+
name: string;
|
14918
|
+
status: "PAST" | "LIVE" | "SOON";
|
14919
|
+
action: any;
|
14920
|
+
tokens: ({
|
14921
|
+
symbol: string;
|
14922
|
+
name: string | null;
|
14923
|
+
id: string;
|
14924
|
+
icon: string;
|
14925
|
+
address: string;
|
14926
|
+
chainId: number;
|
14927
|
+
decimals: number;
|
14928
|
+
verified: boolean;
|
14929
|
+
isTest: boolean;
|
14930
|
+
isPoint: boolean;
|
14931
|
+
isPreTGE: boolean;
|
14932
|
+
isNative: boolean;
|
14933
|
+
} & {
|
14934
|
+
price?: number | null | undefined;
|
14935
|
+
})[];
|
14936
|
+
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;
|
14937
|
+
description: string;
|
14938
|
+
howToSteps: string[];
|
14939
|
+
depositUrl: string | undefined;
|
14940
|
+
explorerAddress: string | undefined;
|
14941
|
+
tags: string[];
|
14942
|
+
} | undefined;
|
14943
|
+
}>>;
|
14944
|
+
get: (options: {
|
14945
|
+
headers: {
|
14946
|
+
authorization: string;
|
14947
|
+
};
|
14948
|
+
query: {
|
14949
|
+
distributionChain?: number | undefined;
|
14950
|
+
campaignId: string;
|
14951
|
+
};
|
14533
14952
|
fetch?: RequestInit | undefined;
|
14534
14953
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14535
|
-
200:
|
14536
|
-
|
14537
|
-
|
14538
|
-
};
|
14539
|
-
metadata: {
|
14540
|
-
post: (body: {
|
14541
|
-
id?: string | undefined;
|
14542
|
-
subType?: number | undefined;
|
14543
|
-
campaignId?: string | undefined;
|
14544
|
-
amount?: string | undefined;
|
14545
|
-
creatorAddress?: string | undefined;
|
14546
|
-
type: string;
|
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: {
|
14561
|
-
type: string;
|
14562
|
-
description: string | null;
|
14563
|
-
id: string;
|
14564
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
14565
|
-
subType: number | null;
|
14566
|
-
computeChainId: number;
|
14567
|
-
distributionChainId: number;
|
14568
|
-
campaignId: string;
|
14569
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
14570
|
-
rewardTokenId: string;
|
14571
|
-
amount: string;
|
14572
|
-
opportunityId: string;
|
14573
|
-
startTimestamp: bigint;
|
14574
|
-
endTimestamp: bigint;
|
14575
|
-
creatorAddress: string;
|
14576
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14577
|
-
createdAt: Date;
|
14578
|
-
rootCampaignId: string | null;
|
14579
|
-
parentCampaignId: string | null;
|
14580
|
-
} | {
|
14581
|
-
Tokens: {
|
14582
|
-
symbol: string;
|
14583
|
-
name: string | null;
|
14954
|
+
200: {
|
14955
|
+
type: string;
|
14956
|
+
description: string | null;
|
14584
14957
|
id: string;
|
14585
|
-
|
14586
|
-
|
14587
|
-
|
14588
|
-
|
14589
|
-
|
14590
|
-
|
14591
|
-
|
14592
|
-
|
14593
|
-
|
14594
|
-
|
14595
|
-
|
14596
|
-
|
14597
|
-
|
14598
|
-
|
14958
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
14959
|
+
subType: number | null;
|
14960
|
+
computeChainId: number;
|
14961
|
+
distributionChainId: number;
|
14962
|
+
campaignId: string;
|
14963
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14964
|
+
rewardTokenId: string;
|
14965
|
+
amount: string;
|
14966
|
+
opportunityId: string;
|
14967
|
+
startTimestamp: bigint;
|
14968
|
+
endTimestamp: bigint;
|
14969
|
+
creatorAddress: string;
|
14970
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14971
|
+
createdAt: Date;
|
14972
|
+
rootCampaignId: string | null;
|
14973
|
+
parentCampaignId: string | null;
|
14974
|
+
} | {
|
14975
|
+
Tokens: {
|
14976
|
+
symbol: string;
|
14977
|
+
name: string | null;
|
14978
|
+
id: string;
|
14979
|
+
icon: string;
|
14980
|
+
address: string;
|
14981
|
+
chainId: number;
|
14982
|
+
decimals: number;
|
14983
|
+
displaySymbol: string;
|
14984
|
+
verified: boolean;
|
14985
|
+
isTest: boolean;
|
14986
|
+
isPoint: boolean;
|
14987
|
+
isPreTGE: boolean;
|
14988
|
+
isNative: boolean;
|
14989
|
+
price: number | null;
|
14990
|
+
}[];
|
14991
|
+
Protocols: {
|
14992
|
+
url: string;
|
14993
|
+
name: string;
|
14994
|
+
description: string;
|
14995
|
+
id: string;
|
14996
|
+
tags: string[];
|
14997
|
+
icon: string;
|
14998
|
+
}[];
|
14999
|
+
status: import("@db/api").$Enums.Status;
|
15000
|
+
type: string;
|
14599
15001
|
name: string;
|
14600
15002
|
description: string;
|
14601
15003
|
id: string;
|
14602
15004
|
tags: string[];
|
14603
|
-
|
14604
|
-
|
14605
|
-
|
14606
|
-
type: string;
|
14607
|
-
name: string;
|
14608
|
-
description: string;
|
14609
|
-
id: string;
|
14610
|
-
tags: string[];
|
14611
|
-
identifier: string;
|
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;
|
14636
|
-
address: string;
|
15005
|
+
identifier: string;
|
15006
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
15007
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
14637
15008
|
chainId: number;
|
14638
|
-
|
14639
|
-
|
14640
|
-
|
14641
|
-
|
14642
|
-
|
14643
|
-
|
14644
|
-
|
14645
|
-
|
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;
|
15009
|
+
howToSteps: string[];
|
15010
|
+
depositUrl: string | null;
|
15011
|
+
explorerAddress: string | null;
|
15012
|
+
mainProtocolId: string | null;
|
15013
|
+
tvl: number;
|
15014
|
+
apr: number;
|
15015
|
+
dailyRewards: number;
|
15016
|
+
lastCampaignCreatedAt: Date;
|
15017
|
+
} | {
|
14689
15018
|
id: string;
|
14690
|
-
|
15019
|
+
chainId: number;
|
15020
|
+
type: string;
|
15021
|
+
identifier: string;
|
15022
|
+
name: string;
|
15023
|
+
status: "PAST" | "LIVE" | "SOON";
|
15024
|
+
action: any;
|
15025
|
+
tokens: ({
|
15026
|
+
symbol: string;
|
15027
|
+
name: string | null;
|
15028
|
+
id: string;
|
15029
|
+
icon: string;
|
15030
|
+
address: string;
|
15031
|
+
chainId: number;
|
15032
|
+
decimals: number;
|
15033
|
+
verified: boolean;
|
15034
|
+
isTest: boolean;
|
15035
|
+
isPoint: boolean;
|
15036
|
+
isPreTGE: boolean;
|
15037
|
+
isNative: boolean;
|
15038
|
+
} & {
|
15039
|
+
price?: number | null | undefined;
|
15040
|
+
})[];
|
15041
|
+
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;
|
15042
|
+
description: string;
|
15043
|
+
howToSteps: string[];
|
15044
|
+
depositUrl: string | undefined;
|
15045
|
+
explorerAddress: string | undefined;
|
15046
|
+
tags: string[];
|
15047
|
+
} | undefined;
|
15048
|
+
}>>;
|
15049
|
+
};
|
15050
|
+
erc20: {
|
15051
|
+
get: (options: {
|
15052
|
+
headers: {
|
15053
|
+
authorization: string;
|
15054
|
+
};
|
15055
|
+
query: {
|
14691
15056
|
address: string;
|
14692
15057
|
chainId: number;
|
14693
|
-
|
14694
|
-
|
14695
|
-
|
14696
|
-
|
14697
|
-
|
14698
|
-
|
14699
|
-
|
14700
|
-
|
14701
|
-
|
14702
|
-
|
14703
|
-
|
15058
|
+
};
|
15059
|
+
fetch?: RequestInit | undefined;
|
15060
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15061
|
+
200: {
|
15062
|
+
type: string;
|
15063
|
+
description: string | null;
|
15064
|
+
id: string;
|
15065
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
15066
|
+
subType: number | null;
|
15067
|
+
computeChainId: number;
|
15068
|
+
distributionChainId: number;
|
15069
|
+
campaignId: string;
|
15070
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15071
|
+
rewardTokenId: string;
|
15072
|
+
amount: string;
|
15073
|
+
opportunityId: string;
|
15074
|
+
startTimestamp: bigint;
|
15075
|
+
endTimestamp: bigint;
|
15076
|
+
creatorAddress: string;
|
15077
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
15078
|
+
createdAt: Date;
|
15079
|
+
rootCampaignId: string | null;
|
15080
|
+
parentCampaignId: string | null;
|
15081
|
+
} | {
|
15082
|
+
Tokens: {
|
15083
|
+
symbol: string;
|
15084
|
+
name: string | null;
|
15085
|
+
id: string;
|
15086
|
+
icon: string;
|
15087
|
+
address: string;
|
15088
|
+
chainId: number;
|
15089
|
+
decimals: number;
|
15090
|
+
displaySymbol: string;
|
15091
|
+
verified: boolean;
|
15092
|
+
isTest: boolean;
|
15093
|
+
isPoint: boolean;
|
15094
|
+
isPreTGE: boolean;
|
15095
|
+
isNative: boolean;
|
15096
|
+
price: number | null;
|
15097
|
+
}[];
|
15098
|
+
Protocols: {
|
15099
|
+
url: string;
|
15100
|
+
name: string;
|
15101
|
+
description: string;
|
15102
|
+
id: string;
|
15103
|
+
tags: string[];
|
15104
|
+
icon: string;
|
15105
|
+
}[];
|
15106
|
+
status: import("@db/api").$Enums.Status;
|
15107
|
+
type: string;
|
14704
15108
|
name: string;
|
14705
15109
|
description: string;
|
14706
15110
|
id: string;
|
14707
15111
|
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;
|
15112
|
+
identifier: string;
|
15113
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
15114
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
15115
|
+
chainId: number;
|
15116
|
+
howToSteps: string[];
|
15117
|
+
depositUrl: string | null;
|
15118
|
+
explorerAddress: string | null;
|
15119
|
+
mainProtocolId: string | null;
|
15120
|
+
tvl: number;
|
15121
|
+
apr: number;
|
15122
|
+
dailyRewards: number;
|
15123
|
+
lastCampaignCreatedAt: Date;
|
15124
|
+
} | {
|
14739
15125
|
id: string;
|
14740
|
-
icon: string;
|
14741
|
-
address: string;
|
14742
15126
|
chainId: number;
|
14743
|
-
|
14744
|
-
|
14745
|
-
|
14746
|
-
|
14747
|
-
|
14748
|
-
|
14749
|
-
|
14750
|
-
|
14751
|
-
|
14752
|
-
|
14753
|
-
|
14754
|
-
|
14755
|
-
|
14756
|
-
|
14757
|
-
|
14758
|
-
|
14759
|
-
|
15127
|
+
type: string;
|
15128
|
+
identifier: string;
|
15129
|
+
name: string;
|
15130
|
+
status: "PAST" | "LIVE" | "SOON";
|
15131
|
+
action: any;
|
15132
|
+
tokens: ({
|
15133
|
+
symbol: string;
|
15134
|
+
name: string | null;
|
15135
|
+
id: string;
|
15136
|
+
icon: string;
|
15137
|
+
address: string;
|
15138
|
+
chainId: number;
|
15139
|
+
decimals: number;
|
15140
|
+
verified: boolean;
|
15141
|
+
isTest: boolean;
|
15142
|
+
isPoint: boolean;
|
15143
|
+
isPreTGE: boolean;
|
15144
|
+
isNative: boolean;
|
15145
|
+
} & {
|
15146
|
+
price?: number | null | undefined;
|
15147
|
+
})[];
|
15148
|
+
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;
|
15149
|
+
description: string;
|
15150
|
+
howToSteps: string[];
|
15151
|
+
depositUrl: string | undefined;
|
15152
|
+
explorerAddress: string | undefined;
|
15153
|
+
tags: string[];
|
15154
|
+
} | undefined;
|
15155
|
+
}>>;
|
15156
|
+
};
|
14760
15157
|
};
|
14761
15158
|
};
|
14762
15159
|
};
|
@@ -17075,56 +17472,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17075
17472
|
};
|
17076
17473
|
creators: ((params: {
|
17077
17474
|
address: string | number;
|
17475
|
+
creatorId: string | number;
|
17078
17476
|
}) => {
|
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
17477
|
dashboard: {
|
17129
17478
|
get: (options?: {
|
17130
17479
|
headers?: Record<string, unknown> | undefined;
|
@@ -17272,6 +17621,56 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17272
17621
|
}[];
|
17273
17622
|
}>>;
|
17274
17623
|
};
|
17624
|
+
} | {
|
17625
|
+
get: (options?: {
|
17626
|
+
headers?: Record<string, unknown> | undefined;
|
17627
|
+
query?: Record<string, unknown> | undefined;
|
17628
|
+
fetch?: RequestInit | undefined;
|
17629
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17630
|
+
200: {
|
17631
|
+
Users: {
|
17632
|
+
tags: string[];
|
17633
|
+
address: string;
|
17634
|
+
creatorId: string | null;
|
17635
|
+
}[];
|
17636
|
+
name: string;
|
17637
|
+
id: string;
|
17638
|
+
icon: string | null;
|
17639
|
+
rebateFee: number;
|
17640
|
+
};
|
17641
|
+
}>>;
|
17642
|
+
patch: (body: {
|
17643
|
+
icon?: string | undefined;
|
17644
|
+
name: string;
|
17645
|
+
addresses: string[];
|
17646
|
+
}, options: {
|
17647
|
+
headers: {
|
17648
|
+
authorization: string;
|
17649
|
+
};
|
17650
|
+
query?: Record<string, unknown> | undefined;
|
17651
|
+
fetch?: RequestInit | undefined;
|
17652
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17653
|
+
200: {
|
17654
|
+
name: string;
|
17655
|
+
id: string;
|
17656
|
+
icon: string | null;
|
17657
|
+
rebateFee: number;
|
17658
|
+
};
|
17659
|
+
}>>;
|
17660
|
+
delete: (body: unknown, options: {
|
17661
|
+
headers: {
|
17662
|
+
authorization: string;
|
17663
|
+
};
|
17664
|
+
query?: Record<string, unknown> | undefined;
|
17665
|
+
fetch?: RequestInit | undefined;
|
17666
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17667
|
+
200: {
|
17668
|
+
name: string;
|
17669
|
+
id: string;
|
17670
|
+
icon: string | null;
|
17671
|
+
rebateFee: number;
|
17672
|
+
};
|
17673
|
+
}>>;
|
17275
17674
|
}) & {
|
17276
17675
|
index: {
|
17277
17676
|
post: (body: {
|
@@ -17316,7 +17715,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17316
17715
|
}>>;
|
17317
17716
|
};
|
17318
17717
|
campaigns: ((params: {
|
17319
|
-
|
17718
|
+
campaignId: string | number;
|
17320
17719
|
}) => {
|
17321
17720
|
get: (options?: {
|
17322
17721
|
headers?: Record<string, unknown> | undefined;
|