@0xsquid/squid-types
Advanced tools
Comparing version 0.1.41 to 0.1.42
@@ -11,3 +11,3 @@ "use strict"; | ||
BridgeType["IBC"] = "ibc"; | ||
})(BridgeType = exports.BridgeType || (exports.BridgeType = {})); | ||
})(BridgeType || (exports.BridgeType = BridgeType = {})); | ||
var BridgeProvider; | ||
@@ -19,3 +19,3 @@ (function (BridgeProvider) { | ||
BridgeProvider["IBC"] = "ibc"; | ||
})(BridgeProvider = exports.BridgeProvider || (exports.BridgeProvider = {})); | ||
})(BridgeProvider || (exports.BridgeProvider = BridgeProvider = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -92,3 +92,3 @@ import { BridgeConfig } from "bridges"; | ||
ARBITRUM = "Arbitrum", | ||
ARBITRUM2 = "arbitrum", | ||
ARBITRUM2 = "arbitrum",//testnet | ||
AURORA = "aurora", | ||
@@ -101,6 +101,6 @@ AVALANCHE = "Avalanche", | ||
ETHEREUM = "Ethereum", | ||
ETHEREUM2 = "Ethereum-2", | ||
ETHEREUM2 = "Ethereum-2",//testnet | ||
FANTOM = "Fantom", | ||
FILECOIN = "filecoin", | ||
FILECOIN2 = "filecoin-2", | ||
FILECOIN2 = "filecoin-2",//testnet | ||
KAVA = "kava", | ||
@@ -131,6 +131,6 @@ MANTLE = "mantle", | ||
OSMOSIS = "osmosis", | ||
OSMOSIS5 = "osmosis-5", | ||
OSMOSIS5 = "osmosis-5",//testnet | ||
REGEN = "regen", | ||
SEI = "sei", | ||
SECRET = "secret", | ||
SECRET = "secret",//deprecated | ||
SECRETSNIP = "secret-snip", | ||
@@ -179,3 +179,3 @@ STARGAZE = "stargaze", | ||
SEI = "Sei", | ||
SECRET = "Secret", | ||
SECRET = "Secret",//deprecated | ||
SECRETSNIP = "Secret-snip", | ||
@@ -182,0 +182,0 @@ STARGAZE = "Stargaze", |
@@ -8,3 +8,3 @@ "use strict"; | ||
ChainType["COSMOS"] = "cosmos"; | ||
})(ChainType = exports.ChainType || (exports.ChainType = {})); | ||
})(ChainType || (exports.ChainType = ChainType = {})); | ||
var ChainName; | ||
@@ -60,3 +60,3 @@ (function (ChainName) { | ||
ChainName["UMEE"] = "umee"; | ||
})(ChainName = exports.ChainName || (exports.ChainName = {})); | ||
})(ChainName || (exports.ChainName = ChainName = {})); | ||
var NetworkIdentifier; | ||
@@ -108,3 +108,3 @@ (function (NetworkIdentifier) { | ||
NetworkIdentifier["UMEE"] = "Umee"; | ||
})(NetworkIdentifier = exports.NetworkIdentifier || (exports.NetworkIdentifier = {})); | ||
})(NetworkIdentifier || (exports.NetworkIdentifier = NetworkIdentifier = {})); | ||
var CosmosChainFeatures; | ||
@@ -114,3 +114,3 @@ (function (CosmosChainFeatures) { | ||
CosmosChainFeatures["COSMWASM"] = "cosmwasm"; | ||
})(CosmosChainFeatures = exports.CosmosChainFeatures || (exports.CosmosChainFeatures = {})); | ||
})(CosmosChainFeatures || (exports.CosmosChainFeatures = CosmosChainFeatures = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -63,3 +63,3 @@ "use strict"; | ||
DexName["CAMELOT"] = "Camelot"; | ||
})(DexName = exports.DexName || (exports.DexName = {})); | ||
})(DexName || (exports.DexName = DexName = {})); | ||
// identifiers dex adapters | ||
@@ -89,3 +89,3 @@ var DexType; | ||
*/ | ||
})(DexType = exports.DexType || (exports.DexType = {})); | ||
})(DexType || (exports.DexType = DexType = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -9,7 +9,7 @@ "use strict"; | ||
FeeType["EXPRESS_FEE"] = "Express Fee"; | ||
})(FeeType = exports.FeeType || (exports.FeeType = {})); | ||
})(FeeType || (exports.FeeType = FeeType = {})); | ||
var GasCostType; | ||
(function (GasCostType) { | ||
GasCostType["EXECUTE_CALL"] = "executeCall"; | ||
})(GasCostType = exports.GasCostType || (exports.GasCostType = {})); | ||
})(GasCostType || (exports.GasCostType = GasCostType = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -153,2 +153,3 @@ import { ChainData, ChainType } from "../chains"; | ||
receiver: string; | ||
fromAddress?: string; | ||
isFirstAction?: boolean; | ||
@@ -155,0 +156,0 @@ isLastAction?: boolean; |
@@ -11,3 +11,3 @@ "use strict"; | ||
ActionType["CUSTOM"] = "custom"; | ||
})(ActionType = exports.ActionType || (exports.ActionType = {})); | ||
})(ActionType || (exports.ActionType = ActionType = {})); | ||
var ActionStage; | ||
@@ -23,3 +23,3 @@ (function (ActionStage) { | ||
ActionStage[ActionStage["COSMOS_ONLY"] = 7] = "COSMOS_ONLY"; | ||
})(ActionStage = exports.ActionStage || (exports.ActionStage = {})); | ||
})(ActionStage || (exports.ActionStage = ActionStage = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -48,3 +48,14 @@ import { ChainType } from "../chains"; | ||
chainType: ChainType.COSMOS; | ||
call: CosmosCctpCall; | ||
} | ||
export interface CosmosCctpCall { | ||
typeUrl: "/circle.cctp.v1.MsgDepositForBurn"; | ||
value: { | ||
from: string; | ||
amount: string; | ||
destinationDomain: number; | ||
mintRecipient: string; | ||
burnToken: string; | ||
}; | ||
} | ||
export declare enum SlippageMode { | ||
@@ -51,0 +62,0 @@ AGGRESSIVE = 0, |
@@ -12,3 +12,3 @@ "use strict"; | ||
SquidRouteType["COSMOS_ONLY"] = "COSMOS_ONLY"; | ||
})(SquidRouteType = exports.SquidRouteType || (exports.SquidRouteType = {})); | ||
})(SquidRouteType || (exports.SquidRouteType = SquidRouteType = {})); | ||
var SquidCallType; | ||
@@ -20,3 +20,3 @@ (function (SquidCallType) { | ||
SquidCallType[SquidCallType["COLLECT_TOKEN_BALANCE"] = 3] = "COLLECT_TOKEN_BALANCE"; | ||
})(SquidCallType = exports.SquidCallType || (exports.SquidCallType = {})); | ||
})(SquidCallType || (exports.SquidCallType = SquidCallType = {})); | ||
var SlippageMode; | ||
@@ -27,3 +27,3 @@ (function (SlippageMode) { | ||
SlippageMode[SlippageMode["FLEXIBLE"] = 2] = "FLEXIBLE"; | ||
})(SlippageMode = exports.SlippageMode || (exports.SlippageMode = {})); | ||
})(SlippageMode || (exports.SlippageMode = SlippageMode = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -12,3 +12,3 @@ "use strict"; | ||
SquidTransactionStatus["FAILED_DESTINATION"] = "failed_on_destination"; | ||
})(SquidTransactionStatus = exports.SquidTransactionStatus || (exports.SquidTransactionStatus = {})); | ||
})(SquidTransactionStatus || (exports.SquidTransactionStatus = SquidTransactionStatus = {})); | ||
var AxelarRouteAction; | ||
@@ -24,3 +24,3 @@ (function (AxelarRouteAction) { | ||
AxelarRouteAction["APPROVED"] = "approved"; | ||
})(AxelarRouteAction = exports.AxelarRouteAction || (exports.AxelarRouteAction = {})); | ||
})(AxelarRouteAction || (exports.AxelarRouteAction = AxelarRouteAction = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -10,3 +10,3 @@ "use strict"; | ||
Volatility[Volatility["VOLATILE"] = 3] = "VOLATILE"; | ||
})(Volatility = exports.Volatility || (exports.Volatility = {})); | ||
})(Volatility || (exports.Volatility = Volatility = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -12,3 +12,3 @@ "use strict"; | ||
WrapperType["WRAPPED_USDY"] = "WrappedUSDY"; | ||
})(WrapperType = exports.WrapperType || (exports.WrapperType = {})); | ||
})(WrapperType || (exports.WrapperType = WrapperType = {})); | ||
var WrapDirection; | ||
@@ -18,3 +18,3 @@ (function (WrapDirection) { | ||
WrapDirection["UNWRAP"] = "unwrap"; | ||
})(WrapDirection = exports.WrapDirection || (exports.WrapDirection = {})); | ||
})(WrapDirection || (exports.WrapDirection = WrapDirection = {})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@0xsquid/squid-types", | ||
"version": "0.1.41", | ||
"version": "0.1.42", | ||
"description": "JS and TS types relating to 0xsquid related projects.", | ||
@@ -40,3 +40,3 @@ "main": "dist/index.js", | ||
"directories": { | ||
"typescript": "^4.9.5" | ||
"typescript": "^5.0.4" | ||
}, | ||
@@ -49,3 +49,3 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"typescript": "^4.9.5" | ||
"typescript": "^5.0.4" | ||
}, | ||
@@ -52,0 +52,0 @@ "release-it": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1147
44575