@mento-protocol/mento-sdk 1.15.0 → 1.15.1

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // This file is auto-generated. Do not edit manually.
3
- // Generated on 2025-10-02T13:54:45.876Z
3
+ // Generated on 2025-10-06T11:40:10.815Z
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.tokens11142220 = void 0;
6
6
  exports.tokens11142220 = [
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // This file is auto-generated. Do not edit manually.
3
- // Generated on 2025-10-02T13:54:27.948Z
3
+ // Generated on 2025-10-06T11:39:47.674Z
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.tokens42220 = void 0;
6
6
  exports.tokens42220 = [
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // This file is auto-generated. Do not edit manually.
3
- // Generated on 2025-10-02T13:54:36.998Z
3
+ // Generated on 2025-10-06T11:40:01.073Z
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.tokens44787 = void 0;
6
6
  exports.tokens44787 = [
@@ -20,6 +20,35 @@ export declare function getCachedTokensSync(chainId: number): readonly Token[];
20
20
  * Note: Not all tokens are available on all chains - check TOKEN_ADDRESSES_BY_CHAIN
21
21
  */
22
22
  export type TokenSymbol = 'BridgedEUROC' | 'BridgedUSDC' | 'CELO' | 'PUSO' | 'USDC' | 'USDT' | 'USD₮' | 'axlEUROC' | 'axlUSDC' | 'cAUD' | 'cCAD' | 'cCHF' | 'cCOP' | 'cEUR' | 'cGBP' | 'cGHS' | 'cJPY' | 'cKES' | 'cNGN' | 'cREAL' | 'cUSD' | 'cZAR' | 'eXOF';
23
+ /**
24
+ * Enum-like object for accessing token symbols
25
+ * Use this in consuming packages: TokenSymbol.CELO, TokenSymbol.cUSD, etc.
26
+ */
27
+ export declare const TokenSymbol: {
28
+ readonly BridgedEUROC: "BridgedEUROC";
29
+ readonly BridgedUSDC: "BridgedUSDC";
30
+ readonly CELO: "CELO";
31
+ readonly PUSO: "PUSO";
32
+ readonly USDC: "USDC";
33
+ readonly USDT: "USDT";
34
+ readonly USD_: "USD₮";
35
+ readonly axlEUROC: "axlEUROC";
36
+ readonly axlUSDC: "axlUSDC";
37
+ readonly cAUD: "cAUD";
38
+ readonly cCAD: "cCAD";
39
+ readonly cCHF: "cCHF";
40
+ readonly cCOP: "cCOP";
41
+ readonly cEUR: "cEUR";
42
+ readonly cGBP: "cGBP";
43
+ readonly cGHS: "cGHS";
44
+ readonly cJPY: "cJPY";
45
+ readonly cKES: "cKES";
46
+ readonly cNGN: "cNGN";
47
+ readonly cREAL: "cREAL";
48
+ readonly cUSD: "cUSD";
49
+ readonly cZAR: "cZAR";
50
+ readonly eXOF: "eXOF";
51
+ };
23
52
  /**
24
53
  * Token addresses mapped by chain ID and symbol
25
54
  * Use this for type-safe token address lookups
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // This file is auto-generated. Do not edit manually.
3
- // Generated on 2025-10-02T13:54:45.878Z
3
+ // Generated on 2025-10-06T11:40:10.818Z
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
6
6
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -34,7 +34,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34
34
  });
35
35
  };
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.findTokenBySymbol = exports.getTokenAddress = exports.TOKEN_ADDRESSES_BY_CHAIN = exports.getCachedTokensSync = exports.getCachedTokens = void 0;
37
+ exports.findTokenBySymbol = exports.getTokenAddress = exports.TOKEN_ADDRESSES_BY_CHAIN = exports.TokenSymbol = exports.getCachedTokensSync = exports.getCachedTokens = void 0;
38
38
  /**
39
39
  * Gets cached tokens for a specific chain ID
40
40
  * @param chainId - The chain ID to get cached tokens for
@@ -81,6 +81,35 @@ function getCachedTokensSync(chainId) {
81
81
  }
82
82
  }
83
83
  exports.getCachedTokensSync = getCachedTokensSync;
84
+ /**
85
+ * Enum-like object for accessing token symbols
86
+ * Use this in consuming packages: TokenSymbol.CELO, TokenSymbol.cUSD, etc.
87
+ */
88
+ exports.TokenSymbol = {
89
+ BridgedEUROC: 'BridgedEUROC',
90
+ BridgedUSDC: 'BridgedUSDC',
91
+ CELO: 'CELO',
92
+ PUSO: 'PUSO',
93
+ USDC: 'USDC',
94
+ USDT: 'USDT',
95
+ USD_: 'USD₮',
96
+ axlEUROC: 'axlEUROC',
97
+ axlUSDC: 'axlUSDC',
98
+ cAUD: 'cAUD',
99
+ cCAD: 'cCAD',
100
+ cCHF: 'cCHF',
101
+ cCOP: 'cCOP',
102
+ cEUR: 'cEUR',
103
+ cGBP: 'cGBP',
104
+ cGHS: 'cGHS',
105
+ cJPY: 'cJPY',
106
+ cKES: 'cKES',
107
+ cNGN: 'cNGN',
108
+ cREAL: 'cREAL',
109
+ cUSD: 'cUSD',
110
+ cZAR: 'cZAR',
111
+ eXOF: 'eXOF',
112
+ };
84
113
  /**
85
114
  * Token addresses mapped by chain ID and symbol
86
115
  * Use this for type-safe token address lookups
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- // Generated on 2025-10-02T13:54:45.876Z
2
+ // Generated on 2025-10-06T11:40:10.815Z
3
3
  export const tokens11142220 = [
4
4
  {
5
5
  "address": "0x9883d788d40F1C7595a780ed881Ea833C7743B4B",
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- // Generated on 2025-10-02T13:54:27.948Z
2
+ // Generated on 2025-10-06T11:39:47.674Z
3
3
  export const tokens42220 = [
4
4
  {
5
5
  "address": "0x061cc5a2C863E0C1Cb404006D559dB18A34C762d",
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- // Generated on 2025-10-02T13:54:36.998Z
2
+ // Generated on 2025-10-06T11:40:01.073Z
3
3
  export const tokens44787 = [
4
4
  {
5
5
  "address": "0x6e673502c5b55F3169657C004e5797fFE5be6653",
@@ -20,6 +20,35 @@ export declare function getCachedTokensSync(chainId: number): readonly Token[];
20
20
  * Note: Not all tokens are available on all chains - check TOKEN_ADDRESSES_BY_CHAIN
21
21
  */
22
22
  export type TokenSymbol = 'BridgedEUROC' | 'BridgedUSDC' | 'CELO' | 'PUSO' | 'USDC' | 'USDT' | 'USD₮' | 'axlEUROC' | 'axlUSDC' | 'cAUD' | 'cCAD' | 'cCHF' | 'cCOP' | 'cEUR' | 'cGBP' | 'cGHS' | 'cJPY' | 'cKES' | 'cNGN' | 'cREAL' | 'cUSD' | 'cZAR' | 'eXOF';
23
+ /**
24
+ * Enum-like object for accessing token symbols
25
+ * Use this in consuming packages: TokenSymbol.CELO, TokenSymbol.cUSD, etc.
26
+ */
27
+ export declare const TokenSymbol: {
28
+ readonly BridgedEUROC: "BridgedEUROC";
29
+ readonly BridgedUSDC: "BridgedUSDC";
30
+ readonly CELO: "CELO";
31
+ readonly PUSO: "PUSO";
32
+ readonly USDC: "USDC";
33
+ readonly USDT: "USDT";
34
+ readonly USD_: "USD₮";
35
+ readonly axlEUROC: "axlEUROC";
36
+ readonly axlUSDC: "axlUSDC";
37
+ readonly cAUD: "cAUD";
38
+ readonly cCAD: "cCAD";
39
+ readonly cCHF: "cCHF";
40
+ readonly cCOP: "cCOP";
41
+ readonly cEUR: "cEUR";
42
+ readonly cGBP: "cGBP";
43
+ readonly cGHS: "cGHS";
44
+ readonly cJPY: "cJPY";
45
+ readonly cKES: "cKES";
46
+ readonly cNGN: "cNGN";
47
+ readonly cREAL: "cREAL";
48
+ readonly cUSD: "cUSD";
49
+ readonly cZAR: "cZAR";
50
+ readonly eXOF: "eXOF";
51
+ };
23
52
  /**
24
53
  * Token addresses mapped by chain ID and symbol
25
54
  * Use this for type-safe token address lookups
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- // Generated on 2025-10-02T13:54:45.878Z
2
+ // Generated on 2025-10-06T11:40:10.818Z
3
3
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
4
4
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
5
5
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -53,6 +53,35 @@ export function getCachedTokensSync(chainId) {
53
53
  `Supported chains: 42220 (Celo), 44787 (Alfajores), 11142220 (Celo Sepolia)`);
54
54
  }
55
55
  }
56
+ /**
57
+ * Enum-like object for accessing token symbols
58
+ * Use this in consuming packages: TokenSymbol.CELO, TokenSymbol.cUSD, etc.
59
+ */
60
+ export const TokenSymbol = {
61
+ BridgedEUROC: 'BridgedEUROC',
62
+ BridgedUSDC: 'BridgedUSDC',
63
+ CELO: 'CELO',
64
+ PUSO: 'PUSO',
65
+ USDC: 'USDC',
66
+ USDT: 'USDT',
67
+ USD_: 'USD₮',
68
+ axlEUROC: 'axlEUROC',
69
+ axlUSDC: 'axlUSDC',
70
+ cAUD: 'cAUD',
71
+ cCAD: 'cCAD',
72
+ cCHF: 'cCHF',
73
+ cCOP: 'cCOP',
74
+ cEUR: 'cEUR',
75
+ cGBP: 'cGBP',
76
+ cGHS: 'cGHS',
77
+ cJPY: 'cJPY',
78
+ cKES: 'cKES',
79
+ cNGN: 'cNGN',
80
+ cREAL: 'cREAL',
81
+ cUSD: 'cUSD',
82
+ cZAR: 'cZAR',
83
+ eXOF: 'eXOF',
84
+ };
56
85
  /**
57
86
  * Token addresses mapped by chain ID and symbol
58
87
  * Use this for type-safe token address lookups
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mento-protocol/mento-sdk",
3
3
  "description": "Official SDK for interacting with the Mento Protocol",
4
- "version": "1.15.0",
4
+ "version": "1.15.1",
5
5
  "license": "MIT",
6
6
  "author": "Mento Labs",
7
7
  "keywords": [