@hypercerts-org/marketplace-sdk 0.3.27 → 0.3.28

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -1146,31 +1146,37 @@ const currencyAddressesPerChain = {
1146
1146
  ETH: ethers.ZeroAddress,
1147
1147
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1148
1148
  DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1149
+ USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1149
1150
  },
1150
1151
  [exports.ChainId.HARDHAT]: {
1151
1152
  ETH: ethers.ZeroAddress,
1152
1153
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1153
1154
  DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1155
+ USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1154
1156
  },
1155
1157
  [exports.ChainId.BASE_SEPOLIA]: {
1156
1158
  ETH: ethers.ZeroAddress,
1157
1159
  WETH: "0x1BDD24840e119DC2602dCC587Dd182812427A5Cc",
1158
1160
  DAI: "0xbEC8ab89b34835F6b99fFc29c088426E8e708ceA",
1161
+ USDC: "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
1159
1162
  },
1160
1163
  [exports.ChainId.OPTIMISM]: {
1161
1164
  ETH: ethers.ZeroAddress,
1162
1165
  WETH: "0x4200000000000000000000000000000000000006",
1163
1166
  DAI: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",
1167
+ USDC: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
1164
1168
  },
1165
1169
  [exports.ChainId.CELO]: {
1166
1170
  ETH: ethers.ZeroAddress,
1167
1171
  WETH: "0x66803fb87abd4aac3cbb3fad7c3aa01f6f3fb207",
1168
1172
  DAI: "0xE4fE50cdD716522A56204352f00AA110F731932d",
1173
+ USDC: "0xef4229c8c3250C675F21BCefa42f58EfbfF6002a",
1169
1174
  },
1170
1175
  [exports.ChainId.BASE]: {
1171
1176
  ETH: ethers.ZeroAddress,
1172
1177
  WETH: "0x4200000000000000000000000000000000000006",
1173
1178
  DAI: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
1179
+ USDC: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
1174
1180
  },
1175
1181
  };
1176
1182
  const getCurrencies = (chainId) => {
@@ -1191,6 +1197,11 @@ const getCurrencies = (chainId) => {
1191
1197
  address: currenciesForChain.DAI,
1192
1198
  decimals: 18,
1193
1199
  },
1200
+ USDC: {
1201
+ symbol: "USDC",
1202
+ address: currenciesForChain.USDC,
1203
+ decimals: 6,
1204
+ },
1194
1205
  };
1195
1206
  };
1196
1207
  const currenciesByNetwork = {
package/dist/index.esm.js CHANGED
@@ -1144,31 +1144,37 @@ const currencyAddressesPerChain = {
1144
1144
  ETH: ZeroAddress,
1145
1145
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1146
1146
  DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1147
+ USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1147
1148
  },
1148
1149
  [ChainId.HARDHAT]: {
1149
1150
  ETH: ZeroAddress,
1150
1151
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
1151
1152
  DAI: "0x68194a729C2450ad26072b3D33ADaCbcef39D574",
1153
+ USDC: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
1152
1154
  },
1153
1155
  [ChainId.BASE_SEPOLIA]: {
1154
1156
  ETH: ZeroAddress,
1155
1157
  WETH: "0x1BDD24840e119DC2602dCC587Dd182812427A5Cc",
1156
1158
  DAI: "0xbEC8ab89b34835F6b99fFc29c088426E8e708ceA",
1159
+ USDC: "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
1157
1160
  },
1158
1161
  [ChainId.OPTIMISM]: {
1159
1162
  ETH: ZeroAddress,
1160
1163
  WETH: "0x4200000000000000000000000000000000000006",
1161
1164
  DAI: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",
1165
+ USDC: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
1162
1166
  },
1163
1167
  [ChainId.CELO]: {
1164
1168
  ETH: ZeroAddress,
1165
1169
  WETH: "0x66803fb87abd4aac3cbb3fad7c3aa01f6f3fb207",
1166
1170
  DAI: "0xE4fE50cdD716522A56204352f00AA110F731932d",
1171
+ USDC: "0xef4229c8c3250C675F21BCefa42f58EfbfF6002a",
1167
1172
  },
1168
1173
  [ChainId.BASE]: {
1169
1174
  ETH: ZeroAddress,
1170
1175
  WETH: "0x4200000000000000000000000000000000000006",
1171
1176
  DAI: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
1177
+ USDC: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
1172
1178
  },
1173
1179
  };
1174
1180
  const getCurrencies = (chainId) => {
@@ -1189,6 +1195,11 @@ const getCurrencies = (chainId) => {
1189
1195
  address: currenciesForChain.DAI,
1190
1196
  decimals: 18,
1191
1197
  },
1198
+ USDC: {
1199
+ symbol: "USDC",
1200
+ address: currenciesForChain.USDC,
1201
+ decimals: 6,
1202
+ },
1192
1203
  };
1193
1204
  };
1194
1205
  const currenciesByNetwork = {
package/dist/types.d.ts CHANGED
@@ -11,6 +11,7 @@ export interface Addresses {
11
11
  export interface Currencies {
12
12
  ETH: Currency;
13
13
  WETH: Currency;
14
+ USDC: Currency;
14
15
  DAI: Currency;
15
16
  }
16
17
  /** Available information about a currency */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/marketplace-sdk",
3
- "version": "0.3.27",
3
+ "version": "0.3.28",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",