Skip to content

Commit 7b59215

Browse files
feat: add conduit constants for Abstract and Gunzilla chains
- Add OPENSEA_CONDUIT_ADDRESS_2 and OPENSEA_CONDUIT_KEY_2 for Abstract chain - Add GUNZILLA_CONDUIT_ADDRESS and GUNZILLA_CONDUIT_KEY for Gunzilla chain - Add Gunzilla chain to Chain enum and utility functions - Add eslint disable comments for unused module warnings Fixes #1684 Co-Authored-By: Ryan Ghods <ralxzryan@gmail.com>
1 parent 49e71fa commit 7b59215

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

src/constants.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,17 @@ export const SHARED_STOREFRONT_LAZY_MINT_ADAPTER_CROSS_CHAIN_ADDRESS =
3131

3232
export const OPENSEA_FEE_RECIPIENT =
3333
"0x0000a26b00c1f0df003000390027140000faa719";
34+
35+
// eslint-disable-next-line import/no-unused-modules
36+
export const OPENSEA_CONDUIT_ADDRESS_2 =
37+
"0x963f00d3ff000064ffcba824b800c0000000c300";
38+
// eslint-disable-next-line import/no-unused-modules
39+
export const OPENSEA_CONDUIT_KEY_2 =
40+
"0x61159fefdfada89302ed55f8b9e89e2d67d8258712b3a3f89aa88525877f1d5e";
41+
42+
// eslint-disable-next-line import/no-unused-modules
43+
export const GUNZILLA_CONDUIT_ADDRESS =
44+
"0x00000000001566479594a2e05532d81afa09bc52";
45+
// eslint-disable-next-line import/no-unused-modules
46+
export const GUNZILLA_CONDUIT_KEY =
47+
"0x86d26897267711ea4b173c8c124a0a73612001da35562f1ee3b26929b6575e89";

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ export enum Chain {
135135
Ronin = "ronin",
136136
/** Abstract */
137137
Abstract = "abstract",
138+
/** Gunzilla */
139+
Gunzilla = "gunzilla",
138140
/** Shape */
139141
Shape = "shape",
140142
// Testnet Chains

src/utils/utils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ export const getChainId = (chain: Chain) => {
233233
return "11124";
234234
case Chain.Shape:
235235
return "360";
236+
case Chain.Gunzilla:
237+
return "42069";
236238
default:
237239
throw new Error(`Unknown chainId for ${chain}`);
238240
}
@@ -299,6 +301,8 @@ export const getWETHAddress = (chain: Chain) => {
299301
return "0x9edcde0257f2386ce177c3a7fcdd97787f0d841d";
300302
case Chain.Shape:
301303
return "0x4200000000000000000000000000000000000006";
304+
case Chain.Gunzilla:
305+
return "0x4200000000000000000000000000000000000006";
302306
default:
303307
throw new Error(`Unknown WETH address for ${chain}`);
304308
}

0 commit comments

Comments
 (0)