@0xsquid/squid-types 0.1.47 → 0.1.48
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/README.md +16 -9
- package/dist/bridges/index.d.ts +2 -1
- package/dist/bridges/index.js +1 -0
- package/dist/bridges/index.js.map +1 -1
- package/dist/chains/index.d.ts +6 -3
- package/dist/chains/index.js +4 -1
- package/dist/chains/index.js.map +1 -1
- package/dist/path/index.d.ts +4 -0
- package/dist/routes/index.d.ts +10 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/squid/index.d.ts +80 -3
- package/dist/squid/index.js +9 -1
- package/dist/squid/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Squid Types
|
|
2
2
|
|
|
3
|
-
Squid types used on the
|
|
3
|
+
Squid types used on the data feed, pathfinder api and sdk.
|
|
4
4
|
|
|
5
5
|
### LINTER & PRETTIER
|
|
6
6
|
|
|
7
|
-
This project has
|
|
7
|
+
This project has [Prettier](https://prettier.io/docs/en/) and [ESLint](https://eslint.org/docs/latest/) linter rules installed. With [Husky](https://typicode.github.io/husky/) we ensure pre-commit and pre-push validation.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
yarn lint
|
|
@@ -18,9 +18,11 @@ yarn lint:fix
|
|
|
18
18
|
yarn format
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
### VSCODE
|
|
21
|
+
### VSCODE SETUP
|
|
22
22
|
|
|
23
|
-
Create `.vscode/
|
|
23
|
+
Create a file `.vscode/settings.json` for auto-saving linter and prettier formatting.
|
|
24
|
+
|
|
25
|
+
Add the following:
|
|
24
26
|
|
|
25
27
|
```json
|
|
26
28
|
{
|
|
@@ -34,12 +36,17 @@ Create `.vscode/setting.json` for auto-saving linter and prettier format
|
|
|
34
36
|
}
|
|
35
37
|
```
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
### RELEASE
|
|
40
|
+
|
|
41
|
+
NPM package publishing is automated with github actions. Follow these steps:
|
|
42
|
+
|
|
43
|
+
#### 1. Create a PR to the `develop` branch
|
|
38
44
|
|
|
39
|
-
|
|
45
|
+
- Update `version` inside `package.json`
|
|
46
|
+
- Review, approve and merge.
|
|
40
47
|
|
|
41
|
-
|
|
48
|
+
#### 2. Create a PR from `develop` to `main`
|
|
42
49
|
|
|
43
|
-
|
|
50
|
+
- Review, approve and merge
|
|
44
51
|
|
|
45
|
-
|
|
52
|
+
*As the PR from (2.) is merged, the commit to `main` will automatically trigger a release to NPM, please make sure you correctly update the version.*
|
package/dist/bridges/index.d.ts
CHANGED
package/dist/bridges/index.js
CHANGED
|
@@ -15,5 +15,6 @@ var BridgeProvider;
|
|
|
15
15
|
BridgeProvider["CCTP"] = "cctp";
|
|
16
16
|
BridgeProvider["NOBLE_CCTP"] = "noble-cctp";
|
|
17
17
|
BridgeProvider["IBC"] = "ibc";
|
|
18
|
+
BridgeProvider["PFM"] = "pfm";
|
|
18
19
|
})(BridgeProvider || (exports.BridgeProvider = BridgeProvider = {}));
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/bridges/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,gCAAkB,CAAA;IAClB,gCAAkB,CAAA;IAClB,2BAAa,CAAA;IACb,uCAAyB,CAAA;IACzB,yBAAW,CAAA;AACb,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/bridges/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,gCAAkB,CAAA;IAClB,gCAAkB,CAAA;IAClB,2BAAa,CAAA;IACb,uCAAyB,CAAA;IACzB,yBAAW,CAAA;AACb,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;IACb,2CAAyB,CAAA;IACzB,6BAAW,CAAA;IACX,6BAAW,CAAA;AACb,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB"}
|
package/dist/chains/index.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ export declare enum ChainName {
|
|
|
126
126
|
KUJIRA = "kujira",
|
|
127
127
|
NOBLE = "noble",
|
|
128
128
|
OSMOSIS = "osmosis",
|
|
129
|
-
|
|
129
|
+
OSMOSIS7 = "osmosis-7",//testnet
|
|
130
130
|
REGEN = "regen",
|
|
131
131
|
SEI = "sei",
|
|
132
132
|
SECRET = "secret",//deprecated
|
|
@@ -134,7 +134,8 @@ export declare enum ChainName {
|
|
|
134
134
|
STARGAZE = "stargaze",
|
|
135
135
|
STRIDE = "stride",
|
|
136
136
|
TERRA2 = "terra-2",
|
|
137
|
-
UMEE = "umee"
|
|
137
|
+
UMEE = "umee",
|
|
138
|
+
DYDX = "dydx"
|
|
138
139
|
}
|
|
139
140
|
export declare enum NetworkIdentifier {
|
|
140
141
|
ETHEREUM = "Ethereum",
|
|
@@ -178,7 +179,8 @@ export declare enum NetworkIdentifier {
|
|
|
178
179
|
STARGAZE = "Stargaze",
|
|
179
180
|
STRIDE = "Stride",
|
|
180
181
|
TERRA2 = "Terra-2",
|
|
181
|
-
UMEE = "Umee"
|
|
182
|
+
UMEE = "Umee",
|
|
183
|
+
DYDX = "Dydx"
|
|
182
184
|
}
|
|
183
185
|
export type ChainIBCInfo = {
|
|
184
186
|
chain_id: string;
|
|
@@ -209,5 +211,6 @@ export type IbcData = {
|
|
|
209
211
|
};
|
|
210
212
|
export declare enum CosmosChainFeatures {
|
|
211
213
|
PACKET_FORWARD_MIDDLEWARE = "packet-forward-middleware",
|
|
214
|
+
LEGACY_IBC = "legacy-ibc",
|
|
212
215
|
COSMWASM = "cosmwasm"
|
|
213
216
|
}
|
package/dist/chains/index.js
CHANGED
|
@@ -47,7 +47,7 @@ var ChainName;
|
|
|
47
47
|
ChainName["KUJIRA"] = "kujira";
|
|
48
48
|
ChainName["NOBLE"] = "noble";
|
|
49
49
|
ChainName["OSMOSIS"] = "osmosis";
|
|
50
|
-
ChainName["
|
|
50
|
+
ChainName["OSMOSIS7"] = "osmosis-7";
|
|
51
51
|
ChainName["REGEN"] = "regen";
|
|
52
52
|
ChainName["SEI"] = "sei";
|
|
53
53
|
ChainName["SECRET"] = "secret";
|
|
@@ -56,6 +56,7 @@ var ChainName;
|
|
|
56
56
|
ChainName["STRIDE"] = "stride";
|
|
57
57
|
ChainName["TERRA2"] = "terra-2";
|
|
58
58
|
ChainName["UMEE"] = "umee";
|
|
59
|
+
ChainName["DYDX"] = "dydx";
|
|
59
60
|
})(ChainName || (exports.ChainName = ChainName = {}));
|
|
60
61
|
var NetworkIdentifier;
|
|
61
62
|
(function (NetworkIdentifier) {
|
|
@@ -103,10 +104,12 @@ var NetworkIdentifier;
|
|
|
103
104
|
NetworkIdentifier["STRIDE"] = "Stride";
|
|
104
105
|
NetworkIdentifier["TERRA2"] = "Terra-2";
|
|
105
106
|
NetworkIdentifier["UMEE"] = "Umee";
|
|
107
|
+
NetworkIdentifier["DYDX"] = "Dydx";
|
|
106
108
|
})(NetworkIdentifier || (exports.NetworkIdentifier = NetworkIdentifier = {}));
|
|
107
109
|
var CosmosChainFeatures;
|
|
108
110
|
(function (CosmosChainFeatures) {
|
|
109
111
|
CosmosChainFeatures["PACKET_FORWARD_MIDDLEWARE"] = "packet-forward-middleware";
|
|
112
|
+
CosmosChainFeatures["LEGACY_IBC"] = "legacy-ibc";
|
|
110
113
|
CosmosChainFeatures["COSMWASM"] = "cosmwasm";
|
|
111
114
|
})(CosmosChainFeatures || (exports.CosmosChainFeatures = CosmosChainFeatures = {}));
|
|
112
115
|
//# sourceMappingURL=index.js.map
|
package/dist/chains/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,8BAAiB,CAAA;AACnB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA8FD,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":"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"}
|
package/dist/path/index.d.ts
CHANGED
package/dist/routes/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export interface RouteRequest {
|
|
|
31
31
|
postHook?: Hook;
|
|
32
32
|
prefer?: DexName[];
|
|
33
33
|
receiveGasOnDestination?: boolean;
|
|
34
|
+
fallbackAddresses?: FallbackAddress[];
|
|
34
35
|
}
|
|
35
36
|
export interface RouteRequestPopulated {
|
|
36
37
|
fromChain: ChainData;
|
|
@@ -50,6 +51,7 @@ export interface RouteRequestPopulated {
|
|
|
50
51
|
postHook?: Hook;
|
|
51
52
|
prefer?: DexName[];
|
|
52
53
|
receiveGasOnDestination?: boolean;
|
|
54
|
+
fallbackAddresses?: FallbackAddress[];
|
|
53
55
|
}
|
|
54
56
|
export interface Estimate extends Omit<Route, "actions"> {
|
|
55
57
|
actions: RouteActionResponse[];
|
|
@@ -110,6 +112,10 @@ export interface SwapDetails {
|
|
|
110
112
|
calls: ChainCall[];
|
|
111
113
|
poolId: string;
|
|
112
114
|
poolFee: string;
|
|
115
|
+
osmosisPools: {
|
|
116
|
+
poolId: string;
|
|
117
|
+
tokenOutDenom: string;
|
|
118
|
+
}[];
|
|
113
119
|
coinAddresses: string[];
|
|
114
120
|
isStable?: boolean;
|
|
115
121
|
exchangeId?: string;
|
|
@@ -135,6 +141,10 @@ export interface Hook {
|
|
|
135
141
|
description: string;
|
|
136
142
|
hookUri?: string;
|
|
137
143
|
}
|
|
144
|
+
export interface FallbackAddress {
|
|
145
|
+
coinType: number;
|
|
146
|
+
address: string;
|
|
147
|
+
}
|
|
138
148
|
export declare enum ActionStage {
|
|
139
149
|
EVM_SOURCE = 0,
|
|
140
150
|
EVM_DESTINATION = 1,
|
package/dist/routes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;AA8FA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,2CAA6B,CAAA;IAC7B,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AA+DD,IAAY,WASX;AATD,WAAY,WAAW;IACrB,yDAAU,CAAA;IACV,mEAAe,CAAA;IACf,+DAAa,CAAA;IACb,qDAAQ,CAAA;IACR,+DAAa,CAAA;IACb,yEAAkB,CAAA;IAClB,qEAAgB,CAAA;IAChB,2DAAW,CAAA;AACb,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB"}
|
package/dist/squid/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="long" />
|
|
1
2
|
import { ChainType } from "../chains";
|
|
2
3
|
export declare enum SquidRouteType {
|
|
3
4
|
CALL_BRIDGE_CALL = "CALL_BRIDGE_CALL",
|
|
@@ -17,7 +18,7 @@ export interface SquidData {
|
|
|
17
18
|
maxFeePerGas?: string;
|
|
18
19
|
maxPriorityFeePerGas?: string;
|
|
19
20
|
}
|
|
20
|
-
export type ChainCall = EvmContractCall |
|
|
21
|
+
export type ChainCall = EvmContractCall | CosmosCall;
|
|
21
22
|
export interface EvmContractCall {
|
|
22
23
|
chainType: ChainType.EVM;
|
|
23
24
|
callType: SquidCallType;
|
|
@@ -43,9 +44,85 @@ export type SquidCallData = {
|
|
|
43
44
|
callData: string;
|
|
44
45
|
payload: string;
|
|
45
46
|
};
|
|
46
|
-
export interface
|
|
47
|
+
export interface CosmosCall {
|
|
47
48
|
chainType: ChainType.COSMOS;
|
|
48
|
-
|
|
49
|
+
callType: CosmosCallType;
|
|
50
|
+
call: CosmosMulticallContractCall | CosmosIbcTransferCall | CosmosPfmCall | CosmosGmpCall | CosmosBankSendCall | CosmosCctpCall;
|
|
51
|
+
}
|
|
52
|
+
export declare enum CosmosCallType {
|
|
53
|
+
MULTICALL = 0,
|
|
54
|
+
IBC_TRANSFER = 1,
|
|
55
|
+
PFM = 2,
|
|
56
|
+
GMP = 3,
|
|
57
|
+
CCTP = 4
|
|
58
|
+
}
|
|
59
|
+
export interface CosmosMulticallContractCall {
|
|
60
|
+
msg: object;
|
|
61
|
+
actions: (NativeBalanceFetchAction | IbcTrackingAction | FieldToProtoBinaryAction)[];
|
|
62
|
+
}
|
|
63
|
+
export interface NativeBalanceFetchAction {
|
|
64
|
+
native_balance_fetch: {
|
|
65
|
+
denom: string;
|
|
66
|
+
replacer: string;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
export interface IbcTrackingAction {
|
|
70
|
+
ibc_tracking: {
|
|
71
|
+
channel: string;
|
|
72
|
+
denom: string;
|
|
73
|
+
amount?: string;
|
|
74
|
+
amount_pointer?: string;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
export interface FieldToProtoBinaryAction {
|
|
78
|
+
field_to_binary: {
|
|
79
|
+
replacer: string;
|
|
80
|
+
proto_msg_type: "ibc_transfer" | "osmosis_swap_exact_amt_in";
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export interface CosmosIbcTransferCall {
|
|
84
|
+
typeUrl: "/ibc.applications.transfer.v1.MsgTransfer";
|
|
85
|
+
value: {
|
|
86
|
+
sourcePort: "transfer";
|
|
87
|
+
sourceChannel: string;
|
|
88
|
+
token: {
|
|
89
|
+
denom: string;
|
|
90
|
+
amount: string;
|
|
91
|
+
};
|
|
92
|
+
sender: string;
|
|
93
|
+
receiver: string;
|
|
94
|
+
timeoutTimestamp: Long;
|
|
95
|
+
memo: string;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
export interface CosmosPfmCall {
|
|
99
|
+
forward: {
|
|
100
|
+
receiver: string;
|
|
101
|
+
port: "transfer";
|
|
102
|
+
channel: string;
|
|
103
|
+
next?: object;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export interface CosmosGmpCall {
|
|
107
|
+
destination_chain: string;
|
|
108
|
+
destination_address: string;
|
|
109
|
+
payload?: number[];
|
|
110
|
+
type: number;
|
|
111
|
+
fee?: {
|
|
112
|
+
amount: string;
|
|
113
|
+
recipient: string;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export interface CosmosBankSendCall {
|
|
117
|
+
bank: {
|
|
118
|
+
send: {
|
|
119
|
+
to_address: string;
|
|
120
|
+
amount: {
|
|
121
|
+
denom: string;
|
|
122
|
+
amount: string;
|
|
123
|
+
}[];
|
|
124
|
+
};
|
|
125
|
+
};
|
|
49
126
|
}
|
|
50
127
|
export interface CosmosCctpCall {
|
|
51
128
|
typeUrl: "/circle.cctp.v1.MsgDepositForBurn";
|
package/dist/squid/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SlippageMode = exports.SquidCallType = exports.SquidRouteType = void 0;
|
|
3
|
+
exports.SlippageMode = exports.CosmosCallType = exports.SquidCallType = exports.SquidRouteType = void 0;
|
|
4
4
|
var SquidRouteType;
|
|
5
5
|
(function (SquidRouteType) {
|
|
6
6
|
SquidRouteType["CALL_BRIDGE_CALL"] = "CALL_BRIDGE_CALL";
|
|
@@ -17,6 +17,14 @@ var SquidCallType;
|
|
|
17
17
|
SquidCallType[SquidCallType["FULL_NATIVE_BALANCE"] = 2] = "FULL_NATIVE_BALANCE";
|
|
18
18
|
SquidCallType[SquidCallType["COLLECT_TOKEN_BALANCE"] = 3] = "COLLECT_TOKEN_BALANCE";
|
|
19
19
|
})(SquidCallType || (exports.SquidCallType = SquidCallType = {}));
|
|
20
|
+
var CosmosCallType;
|
|
21
|
+
(function (CosmosCallType) {
|
|
22
|
+
CosmosCallType[CosmosCallType["MULTICALL"] = 0] = "MULTICALL";
|
|
23
|
+
CosmosCallType[CosmosCallType["IBC_TRANSFER"] = 1] = "IBC_TRANSFER";
|
|
24
|
+
CosmosCallType[CosmosCallType["PFM"] = 2] = "PFM";
|
|
25
|
+
CosmosCallType[CosmosCallType["GMP"] = 3] = "GMP";
|
|
26
|
+
CosmosCallType[CosmosCallType["CCTP"] = 4] = "CCTP";
|
|
27
|
+
})(CosmosCallType || (exports.CosmosCallType = CosmosCallType = {}));
|
|
20
28
|
var SlippageMode;
|
|
21
29
|
(function (SlippageMode) {
|
|
22
30
|
SlippageMode[SlippageMode["AGGRESSIVE"] = 0] = "AGGRESSIVE";
|
package/dist/squid/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/squid/index.ts"],"names":[],"mappings":";;;AAEA,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,uDAAqC,CAAA;IACrC,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;IAC3B,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;AAC7B,CAAC,EAPW,cAAc,8BAAd,cAAc,QAOzB;AA4BD,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uDAAW,CAAA;IACX,6EAAsB,CAAA;IACtB,+EAAuB,CAAA;IACvB,mFAAyB,CAAA;AAC3B,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/squid/index.ts"],"names":[],"mappings":";;;AAEA,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,uDAAqC,CAAA;IACrC,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;IAC3B,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;AAC7B,CAAC,EAPW,cAAc,8BAAd,cAAc,QAOzB;AA4BD,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uDAAW,CAAA;IACX,6EAAsB,CAAA;IACtB,+EAAuB,CAAA;IACvB,mFAAyB,CAAA;AAC3B,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAsBD,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,6DAAS,CAAA;IACT,mEAAY,CAAA;IACZ,iDAAG,CAAA;IACH,iDAAG,CAAA;IACH,mDAAI,CAAA;AACN,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAyFD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,2DAAU,CAAA;IACV,mDAAM,CAAA;IACN,uDAAQ,CAAA;AACV,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
|