@chipi-stack/types 11.2.0 → 11.4.0

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
@@ -9,8 +9,8 @@ interface ChipiSDKConfig {
9
9
  nodeUrl?: string;
10
10
  }
11
11
  type Environment = "development" | "production";
12
- type Chain = "STARKNET" | "STARKNET_SEPOLIA";
13
- type ChainToken = "USDC" | "USDT" | "ETH" | "STRK" | "DAI" | "OTHER";
12
+ type Chain = "STARKNET";
13
+ type ChainToken = "USDC" | "USDT" | "ETH" | "STRK" | "DAI" | "WBTC" | "OTHER";
14
14
  interface PaginationQuery {
15
15
  page?: number;
16
16
  limit?: number;
@@ -41,11 +41,25 @@ interface CreateWalletParams {
41
41
  interface CreateWalletResponse {
42
42
  txHash: string;
43
43
  walletPublicKey: string;
44
- wallet: WalletData;
44
+ wallet: WalletData & {
45
+ normalizedPublicKey: string;
46
+ };
45
47
  }
46
48
  interface GetWalletParams {
47
49
  externalUserId: string;
48
- bearerToken: string;
50
+ }
51
+ interface GetTokenBalanceParams {
52
+ externalUserId?: string;
53
+ walletPublicKey?: string;
54
+ chainToken: ChainToken;
55
+ chain: Chain;
56
+ }
57
+ interface GetTokenBalanceResponse {
58
+ chain: Chain;
59
+ chainToken: ChainToken;
60
+ chainTokenAddress: string;
61
+ decimals: number;
62
+ balance: string;
49
63
  }
50
64
  interface GetWalletResponse {
51
65
  id: string;
@@ -53,6 +67,7 @@ interface GetWalletResponse {
53
67
  orgId?: string;
54
68
  publicKey: string;
55
69
  encryptedPrivateKey: string;
70
+ normalizedPublicKey: string;
56
71
  externalUserId?: string;
57
72
  createdAt?: string;
58
73
  updatedAt?: string;
@@ -275,4 +290,4 @@ type AsyncReturnType<T extends (...args: any) => Promise<any>> = T extends (...a
275
290
  type ValueOrFunction<T> = T | (() => T);
276
291
  type MaybePromise<T> = T | Promise<T>;
277
292
 
278
- export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcParams };
293
+ export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcParams };
package/dist/index.d.ts CHANGED
@@ -9,8 +9,8 @@ interface ChipiSDKConfig {
9
9
  nodeUrl?: string;
10
10
  }
11
11
  type Environment = "development" | "production";
12
- type Chain = "STARKNET" | "STARKNET_SEPOLIA";
13
- type ChainToken = "USDC" | "USDT" | "ETH" | "STRK" | "DAI" | "OTHER";
12
+ type Chain = "STARKNET";
13
+ type ChainToken = "USDC" | "USDT" | "ETH" | "STRK" | "DAI" | "WBTC" | "OTHER";
14
14
  interface PaginationQuery {
15
15
  page?: number;
16
16
  limit?: number;
@@ -41,11 +41,25 @@ interface CreateWalletParams {
41
41
  interface CreateWalletResponse {
42
42
  txHash: string;
43
43
  walletPublicKey: string;
44
- wallet: WalletData;
44
+ wallet: WalletData & {
45
+ normalizedPublicKey: string;
46
+ };
45
47
  }
46
48
  interface GetWalletParams {
47
49
  externalUserId: string;
48
- bearerToken: string;
50
+ }
51
+ interface GetTokenBalanceParams {
52
+ externalUserId?: string;
53
+ walletPublicKey?: string;
54
+ chainToken: ChainToken;
55
+ chain: Chain;
56
+ }
57
+ interface GetTokenBalanceResponse {
58
+ chain: Chain;
59
+ chainToken: ChainToken;
60
+ chainTokenAddress: string;
61
+ decimals: number;
62
+ balance: string;
49
63
  }
50
64
  interface GetWalletResponse {
51
65
  id: string;
@@ -53,6 +67,7 @@ interface GetWalletResponse {
53
67
  orgId?: string;
54
68
  publicKey: string;
55
69
  encryptedPrivateKey: string;
70
+ normalizedPublicKey: string;
56
71
  externalUserId?: string;
57
72
  createdAt?: string;
58
73
  updatedAt?: string;
@@ -275,4 +290,4 @@ type AsyncReturnType<T extends (...args: any) => Promise<any>> = T extends (...a
275
290
  type ValueOrFunction<T> = T | (() => T);
276
291
  type MaybePromise<T> = T | Promise<T>;
277
292
 
278
- export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcParams };
293
+ export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcParams };
package/dist/index.js CHANGED
@@ -7,21 +7,25 @@ var STARKNET_CONTRACTS = {
7
7
  decimals: 6
8
8
  },
9
9
  USDT: {
10
- contractAddress: "0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8",
10
+ contractAddress: "0x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8",
11
11
  decimals: 6
12
12
  },
13
13
  DAI: {
14
- contractAddress: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
14
+ contractAddress: "0x05574eb6b8789a91466f902c380d978e472db68170ff82a5b650b95a58ddf4ad",
15
15
  decimals: 18
16
16
  },
17
17
  STRK: {
18
- contractAddress: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
18
+ contractAddress: "0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d",
19
19
  decimals: 18
20
20
  },
21
21
  ETH: {
22
22
  contractAddress: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
23
23
  decimals: 18
24
24
  },
25
+ WBTC: {
26
+ contractAddress: "0x03fe2b97c1fd336e750087d68b9b867997fd64a2661ff3ca5a7c771641e8e7ac",
27
+ decimals: 8
28
+ },
25
29
  OTHER: {
26
30
  contractAddress: "",
27
31
  decimals: 18
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/core.ts"],"names":[],"mappings":";;;AA6BO,IAAM,kBAAA,GAAwF;AAAA,EACnG,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,KAAA,EAAO;AAAA,IACL,eAAA,EAAiB,EAAA;AAAA,IACjB,QAAA,EAAU;AAAA;AAEd","file":"index.js","sourcesContent":["/**\n * Core configuration and environment types\n */\n\nexport interface ChipiSDKConfig {\n apiPublicKey: string;\n environment?: \"development\" | \"production\";\n nodeUrl?: string;\n}\n\nexport type Environment = \"development\" | \"production\";\n\nexport type Chain = \"STARKNET\" | \"STARKNET_SEPOLIA\";\n\nexport type ChainToken = \"USDC\" | \"USDT\" | \"ETH\" | \"STRK\" | \"DAI\" | \"OTHER\";\n\nexport interface PaginationQuery {\n page?: number;\n limit?: number;\n}\n\nexport interface PaginatedResponse<T> {\n data: T[];\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\nexport const STARKNET_CONTRACTS: Record<ChainToken, { contractAddress: string; decimals: number }> = {\n USDC: {\n contractAddress:\n \"0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8\",\n decimals: 6,\n },\n USDT: {\n contractAddress:\n \"0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8\",\n decimals: 6,\n },\n DAI: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n STRK: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n ETH: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n OTHER: {\n contractAddress: \"\",\n decimals: 18,\n },\n};\n"]}
1
+ {"version":3,"sources":["../src/core.ts"],"names":[],"mappings":";;;AA6BO,IAAM,kBAAA,GAAwF;AAAA,EACnG,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,KAAA,EAAO;AAAA,IACL,eAAA,EAAiB,EAAA;AAAA,IACjB,QAAA,EAAU;AAAA;AAEd","file":"index.js","sourcesContent":["/**\n * Core configuration and environment types\n */\n\nexport interface ChipiSDKConfig {\n apiPublicKey: string;\n environment?: \"development\" | \"production\";\n nodeUrl?: string;\n}\n\nexport type Environment = \"development\" | \"production\";\n\nexport type Chain = \"STARKNET\";\n\nexport type ChainToken = \"USDC\" | \"USDT\" | \"ETH\" | \"STRK\" | \"DAI\" | \"WBTC\" | \"OTHER\";\n\nexport interface PaginationQuery {\n page?: number;\n limit?: number;\n}\n\nexport interface PaginatedResponse<T> {\n data: T[];\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\nexport const STARKNET_CONTRACTS: Record<ChainToken, { contractAddress: string; decimals: number }> = {\n USDC: {\n contractAddress:\n \"0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8\",\n decimals: 6,\n },\n USDT: {\n contractAddress:\n \"0x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8\",\n decimals: 6,\n },\n DAI: {\n contractAddress:\n \"0x05574eb6b8789a91466f902c380d978e472db68170ff82a5b650b95a58ddf4ad\",\n decimals: 18,\n },\n STRK: {\n contractAddress:\n \"0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d\",\n decimals: 18,\n },\n ETH: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n WBTC: {\n contractAddress:\n \"0x03fe2b97c1fd336e750087d68b9b867997fd64a2661ff3ca5a7c771641e8e7ac\",\n decimals: 8,\n },\n OTHER: {\n contractAddress: \"\",\n decimals: 18,\n },\n};\n"]}
package/dist/index.mjs CHANGED
@@ -5,21 +5,25 @@ var STARKNET_CONTRACTS = {
5
5
  decimals: 6
6
6
  },
7
7
  USDT: {
8
- contractAddress: "0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8",
8
+ contractAddress: "0x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8",
9
9
  decimals: 6
10
10
  },
11
11
  DAI: {
12
- contractAddress: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
12
+ contractAddress: "0x05574eb6b8789a91466f902c380d978e472db68170ff82a5b650b95a58ddf4ad",
13
13
  decimals: 18
14
14
  },
15
15
  STRK: {
16
- contractAddress: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
16
+ contractAddress: "0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d",
17
17
  decimals: 18
18
18
  },
19
19
  ETH: {
20
20
  contractAddress: "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
21
21
  decimals: 18
22
22
  },
23
+ WBTC: {
24
+ contractAddress: "0x03fe2b97c1fd336e750087d68b9b867997fd64a2661ff3ca5a7c771641e8e7ac",
25
+ decimals: 8
26
+ },
23
27
  OTHER: {
24
28
  contractAddress: "",
25
29
  decimals: 18
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/core.ts"],"names":[],"mappings":";AA6BO,IAAM,kBAAA,GAAwF;AAAA,EACnG,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,KAAA,EAAO;AAAA,IACL,eAAA,EAAiB,EAAA;AAAA,IACjB,QAAA,EAAU;AAAA;AAEd","file":"index.mjs","sourcesContent":["/**\n * Core configuration and environment types\n */\n\nexport interface ChipiSDKConfig {\n apiPublicKey: string;\n environment?: \"development\" | \"production\";\n nodeUrl?: string;\n}\n\nexport type Environment = \"development\" | \"production\";\n\nexport type Chain = \"STARKNET\" | \"STARKNET_SEPOLIA\";\n\nexport type ChainToken = \"USDC\" | \"USDT\" | \"ETH\" | \"STRK\" | \"DAI\" | \"OTHER\";\n\nexport interface PaginationQuery {\n page?: number;\n limit?: number;\n}\n\nexport interface PaginatedResponse<T> {\n data: T[];\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\nexport const STARKNET_CONTRACTS: Record<ChainToken, { contractAddress: string; decimals: number }> = {\n USDC: {\n contractAddress:\n \"0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8\",\n decimals: 6,\n },\n USDT: {\n contractAddress:\n \"0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8\",\n decimals: 6,\n },\n DAI: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n STRK: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n ETH: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n OTHER: {\n contractAddress: \"\",\n decimals: 18,\n },\n};\n"]}
1
+ {"version":3,"sources":["../src/core.ts"],"names":[],"mappings":";AA6BO,IAAM,kBAAA,GAAwF;AAAA,EACnG,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,GAAA,EAAK;AAAA,IACH,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,eAAA,EACE,oEAAA;AAAA,IACF,QAAA,EAAU;AAAA,GACZ;AAAA,EACA,KAAA,EAAO;AAAA,IACL,eAAA,EAAiB,EAAA;AAAA,IACjB,QAAA,EAAU;AAAA;AAEd","file":"index.mjs","sourcesContent":["/**\n * Core configuration and environment types\n */\n\nexport interface ChipiSDKConfig {\n apiPublicKey: string;\n environment?: \"development\" | \"production\";\n nodeUrl?: string;\n}\n\nexport type Environment = \"development\" | \"production\";\n\nexport type Chain = \"STARKNET\";\n\nexport type ChainToken = \"USDC\" | \"USDT\" | \"ETH\" | \"STRK\" | \"DAI\" | \"WBTC\" | \"OTHER\";\n\nexport interface PaginationQuery {\n page?: number;\n limit?: number;\n}\n\nexport interface PaginatedResponse<T> {\n data: T[];\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\nexport const STARKNET_CONTRACTS: Record<ChainToken, { contractAddress: string; decimals: number }> = {\n USDC: {\n contractAddress:\n \"0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8\",\n decimals: 6,\n },\n USDT: {\n contractAddress:\n \"0x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8\",\n decimals: 6,\n },\n DAI: {\n contractAddress:\n \"0x05574eb6b8789a91466f902c380d978e472db68170ff82a5b650b95a58ddf4ad\",\n decimals: 18,\n },\n STRK: {\n contractAddress:\n \"0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d\",\n decimals: 18,\n },\n ETH: {\n contractAddress:\n \"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7\",\n decimals: 18,\n },\n WBTC: {\n contractAddress:\n \"0x03fe2b97c1fd336e750087d68b9b867997fd64a2661ff3ca5a7c771641e8e7ac\",\n decimals: 8,\n },\n OTHER: {\n contractAddress: \"\",\n decimals: 18,\n },\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chipi-stack/types",
3
- "version": "11.2.0",
3
+ "version": "11.4.0",
4
4
  "description": "Type definitions for Chipi SDK packages",
5
5
  "keywords": [
6
6
  "chipi",