@m0-foundation/ntt-sdk-route 0.0.21 → 0.0.22

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/index.d.mts CHANGED
@@ -20,6 +20,7 @@ type Contracts = Ntt.Contracts & {
20
20
  };
21
21
  declare class M0AutomaticRoute<N extends Network> extends routes.AutomaticRoute<N, Op, Vp, R> implements routes.StaticRouteMethods<typeof M0AutomaticRoute> {
22
22
  static NATIVE_GAS_DROPOFF_SUPPORTED: boolean;
23
+ static EVM_USDZ_TOKEN: string;
23
24
  static EVM_WRAPPED_M_TOKEN: string;
24
25
  static EXECUTOR_ENTRYPOINT: string;
25
26
  static EVM_CONTRACTS: Contracts;
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ type Contracts = Ntt.Contracts & {
20
20
  };
21
21
  declare class M0AutomaticRoute<N extends Network> extends routes.AutomaticRoute<N, Op, Vp, R> implements routes.StaticRouteMethods<typeof M0AutomaticRoute> {
22
22
  static NATIVE_GAS_DROPOFF_SUPPORTED: boolean;
23
+ static EVM_USDZ_TOKEN: string;
23
24
  static EVM_WRAPPED_M_TOKEN: string;
24
25
  static EXECUTOR_ENTRYPOINT: string;
25
26
  static EVM_CONTRACTS: Contracts;
package/dist/index.js CHANGED
@@ -1165,6 +1165,8 @@ var _M0AutomaticRoute = class _M0AutomaticRoute extends sdkConnect.routes.Automa
1165
1165
  };
1166
1166
  // ntt does not support gas drop-off currently
1167
1167
  _M0AutomaticRoute.NATIVE_GAS_DROPOFF_SUPPORTED = false;
1168
+ // USDZ token address is the same across Ethereum and Arbitrum
1169
+ _M0AutomaticRoute.EVM_USDZ_TOKEN = "0xA4B6DF229AEe22b4252dc578FEB2720E8A2C4A56";
1168
1170
  // Wrapped M token address is the same on EVM chains
1169
1171
  _M0AutomaticRoute.EVM_WRAPPED_M_TOKEN = "0x437cc33344a0B27A429f795ff6B469C72698B291";
1170
1172
  _M0AutomaticRoute.EXECUTOR_ENTRYPOINT = "0x22f04a6cd935bfa3b4d000a4e3d4079adb148198";
@@ -1173,7 +1175,7 @@ _M0AutomaticRoute.EVM_CONTRACTS = {
1173
1175
  // M token address is the same on EVM chains
1174
1176
  token: "0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b",
1175
1177
  // Wrapped $M and Extension Tokens that can bridged by unwrapping to $M
1176
- mLikeTokens: [_M0AutomaticRoute.EVM_WRAPPED_M_TOKEN],
1178
+ mLikeTokens: [_M0AutomaticRoute.EVM_WRAPPED_M_TOKEN, _M0AutomaticRoute.EVM_USDZ_TOKEN],
1177
1179
  // M0 Portal address is the same on EVM chains
1178
1180
  manager: "0xD925C84b55E4e44a53749fF5F2a5A13F63D128fd",
1179
1181
  // Wormhole transceiver address is the same on EVM chains
package/dist/index.mjs CHANGED
@@ -1159,6 +1159,8 @@ var _M0AutomaticRoute = class _M0AutomaticRoute extends routes.AutomaticRoute {
1159
1159
  };
1160
1160
  // ntt does not support gas drop-off currently
1161
1161
  _M0AutomaticRoute.NATIVE_GAS_DROPOFF_SUPPORTED = false;
1162
+ // USDZ token address is the same across Ethereum and Arbitrum
1163
+ _M0AutomaticRoute.EVM_USDZ_TOKEN = "0xA4B6DF229AEe22b4252dc578FEB2720E8A2C4A56";
1162
1164
  // Wrapped M token address is the same on EVM chains
1163
1165
  _M0AutomaticRoute.EVM_WRAPPED_M_TOKEN = "0x437cc33344a0B27A429f795ff6B469C72698B291";
1164
1166
  _M0AutomaticRoute.EXECUTOR_ENTRYPOINT = "0x22f04a6cd935bfa3b4d000a4e3d4079adb148198";
@@ -1167,7 +1169,7 @@ _M0AutomaticRoute.EVM_CONTRACTS = {
1167
1169
  // M token address is the same on EVM chains
1168
1170
  token: "0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b",
1169
1171
  // Wrapped $M and Extension Tokens that can bridged by unwrapping to $M
1170
- mLikeTokens: [_M0AutomaticRoute.EVM_WRAPPED_M_TOKEN],
1172
+ mLikeTokens: [_M0AutomaticRoute.EVM_WRAPPED_M_TOKEN, _M0AutomaticRoute.EVM_USDZ_TOKEN],
1171
1173
  // M0 Portal address is the same on EVM chains
1172
1174
  manager: "0xD925C84b55E4e44a53749fF5F2a5A13F63D128fd",
1173
1175
  // Wormhole transceiver address is the same on EVM chains
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m0-foundation/ntt-sdk-route",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",
@@ -20,6 +20,11 @@
20
20
  "files": [
21
21
  "dist"
22
22
  ],
23
+ "scripts": {
24
+ "build": "$npm_execpath tsup --clean",
25
+ "clean": "rm -rf dist",
26
+ "test-bridge": "node --env-file=.env -r ts-node/register scripts/bridge.ts"
27
+ },
23
28
  "devDependencies": {
24
29
  "@changesets/cli": "^2.28.1",
25
30
  "@types/bn.js": "^5.2.0",
@@ -31,6 +36,7 @@
31
36
  "publishConfig": {
32
37
  "access": "public"
33
38
  },
39
+ "packageManager": "pnpm@10.18.3",
34
40
  "dependencies": {
35
41
  "@noble/hashes": "^1.8.0",
36
42
  "@solana/spl-token": "^0.4.13",
@@ -46,9 +52,11 @@
46
52
  "bn.js": "^5.2.2",
47
53
  "ethers": "^6.5.1"
48
54
  },
49
- "scripts": {
50
- "build": "$npm_execpath tsup --clean",
51
- "clean": "rm -rf dist",
52
- "test-bridge": "node --env-file=.env -r ts-node/register scripts/bridge.ts"
55
+ "pnpm": {
56
+ "overrides": {
57
+ "@wormhole-foundation/sdk": "3.4.7",
58
+ "@wormhole-foundation/sdk-base": "3.4.7",
59
+ "@wormhole-foundation/sdk-definitions": "3.4.7"
60
+ }
53
61
  }
54
- }
62
+ }