@continuumdao/ctm-mpc-defi 0.2.50 → 0.2.52
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/agent/catalog.cjs +829 -55
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +93 -22
- package/dist/agent/catalog.js +829 -55
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/continuum-dao/SKILL.md +9 -6
- package/dist/agent/skills/continuum-dao-marketplace/SKILL.md +58 -0
- package/dist/agent/skills/hyperliquidOutcome/SKILL.md +47 -0
- package/dist/core/index.cjs +2 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +2 -1
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/protocols/evm/aerodrome/index.cjs.map +1 -1
- package/dist/protocols/evm/aerodrome/index.js.map +1 -1
- package/dist/protocols/evm/continuum-dao/index.cjs +2311 -62
- package/dist/protocols/evm/continuum-dao/index.cjs.map +1 -1
- package/dist/protocols/evm/continuum-dao/index.d.ts +697 -2
- package/dist/protocols/evm/continuum-dao/index.js +2255 -64
- package/dist/protocols/evm/continuum-dao/index.js.map +1 -1
- package/dist/protocols/evm/hyperliquidOutcome/index.cjs +1294 -0
- package/dist/protocols/evm/hyperliquidOutcome/index.cjs.map +1 -0
- package/dist/protocols/evm/hyperliquidOutcome/index.d.ts +465 -0
- package/dist/protocols/evm/hyperliquidOutcome/index.js +1247 -0
- package/dist/protocols/evm/hyperliquidOutcome/index.js.map +1 -0
- package/dist/protocols/evm/pendle/index.cjs +2 -1
- package/dist/protocols/evm/pendle/index.cjs.map +1 -1
- package/dist/protocols/evm/pendle/index.js +2 -1
- package/dist/protocols/evm/pendle/index.js.map +1 -1
- package/dist/protocols/evm/trueo/index.cjs +569 -9
- package/dist/protocols/evm/trueo/index.cjs.map +1 -1
- package/dist/protocols/evm/trueo/index.d.ts +42 -1
- package/dist/protocols/evm/trueo/index.js +569 -9
- package/dist/protocols/evm/trueo/index.js.map +1 -1
- package/package.json +6 -1
|
@@ -976,8 +976,20 @@ declare function trueoFetchOrderbookSummary(input: {
|
|
|
976
976
|
}): Promise<TrueoOrderbook>;
|
|
977
977
|
declare function outcomeTokensFromMarkets(markets: TrueoMarketRow[]): string[];
|
|
978
978
|
|
|
979
|
+
type OutcomeBookLevel = {
|
|
980
|
+
px: string;
|
|
981
|
+
sz: string;
|
|
982
|
+
n: number;
|
|
983
|
+
};
|
|
984
|
+
type OutcomeBook = {
|
|
985
|
+
coin: string;
|
|
986
|
+
time: number | null;
|
|
987
|
+
bids: OutcomeBookLevel[];
|
|
988
|
+
asks: OutcomeBookLevel[];
|
|
989
|
+
};
|
|
990
|
+
|
|
979
991
|
declare const PREDICTION_MARKET_V1_KIND: "continuum/prediction-market/v1";
|
|
980
|
-
type PredictionMarketVenue = 'trueo';
|
|
992
|
+
type PredictionMarketVenue = 'trueo' | 'hyperliquid';
|
|
981
993
|
type PredictionMarketRow = {
|
|
982
994
|
venue: PredictionMarketVenue;
|
|
983
995
|
venueMarketId: string;
|
|
@@ -1087,6 +1099,35 @@ declare function getPredictionMarketSummary(input: {
|
|
|
1087
1099
|
venue?: string;
|
|
1088
1100
|
venueMarketId: string;
|
|
1089
1101
|
}): Promise<{
|
|
1102
|
+
envelope: PredictionMarketEnvelope;
|
|
1103
|
+
yesBook: OutcomeBook;
|
|
1104
|
+
noBook: OutcomeBook;
|
|
1105
|
+
ohlc: TrueoOhlcBar[];
|
|
1106
|
+
venue: "hyperliquid";
|
|
1107
|
+
venueMarketId: string;
|
|
1108
|
+
question: string;
|
|
1109
|
+
categories: string[];
|
|
1110
|
+
yesPrice: number | null;
|
|
1111
|
+
noPrice: number | null;
|
|
1112
|
+
yesPriceLabel: string | null;
|
|
1113
|
+
noPriceLabel: string | null;
|
|
1114
|
+
volume: string;
|
|
1115
|
+
tvl: null;
|
|
1116
|
+
expiresAt: string | null;
|
|
1117
|
+
expiresAtLabel: string | null;
|
|
1118
|
+
tradingEndsLabel: string;
|
|
1119
|
+
endOfTrading: number;
|
|
1120
|
+
status: "live" | "closed";
|
|
1121
|
+
outcome: number;
|
|
1122
|
+
statusUpdatedAt: null;
|
|
1123
|
+
resolutionLabel: null;
|
|
1124
|
+
chainId: number;
|
|
1125
|
+
paymentSymbol: string;
|
|
1126
|
+
tradable: boolean;
|
|
1127
|
+
rules: string;
|
|
1128
|
+
source: string;
|
|
1129
|
+
kind: "continuum/prediction-market/v1";
|
|
1130
|
+
} | {
|
|
1090
1131
|
envelope: PredictionMarketEnvelope;
|
|
1091
1132
|
rules: string;
|
|
1092
1133
|
source: string;
|