UNPKG

opensea-js

Version:

TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data

58 lines (41 loc) 2.04 kB
import { FixedNumber } from "ethers"; export const FIXED_NUMBER_100 = FixedNumber.fromValue(100); export const INVERSE_BASIS_POINT = 10_000n; // 100 basis points per 1% export const MAX_EXPIRATION_MONTHS = 6; export const API_BASE_MAINNET = "https://api.opensea.io"; export const SIGNED_ZONE = "0x000056f7000000ece9003ca63978907a00ffd100"; export const ENGLISH_AUCTION_ZONE_MAINNETS = "0x110b2b128a9ed1be5ef3232d8e4e41640df5c2cd"; const SHARED_STOREFRONT_ADDRESS_MAINNET = "0x495f947276749ce646f68ac8c248420045cb7b5e"; const SHARED_STOREFRONT_ADDRESS_POLYGON = "0x2953399124f0cbb46d2cbacd8a89cf0599974963"; export const SHARED_STOREFRONT_ADDRESSES = [ SHARED_STOREFRONT_ADDRESS_MAINNET, SHARED_STOREFRONT_ADDRESS_POLYGON, ].map((address) => address.toLowerCase()); export const SHARED_STOREFRONT_LAZY_MINT_ADAPTER_CROSS_CHAIN_ADDRESS = "0xa604060890923ff400e8c6f5290461a83aedacec"; export const OPENSEA_FEE_RECIPIENT = "0x0000a26b00c1f0df003000390027140000faa719"; export const OPENSEA_CONDUIT_KEY = "0x0000007b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f0000"; // eslint-disable-next-line import/no-unused-modules export const OPENSEA_CONDUIT_ADDRESS = "0x1e0049783f008a0085193e00003d00cd54003c71"; export const OPENSEA_CONDUIT_KEY_2 = "0x61159fefdfada89302ed55f8b9e89e2d67d8258712b3a3f89aa88525877f1d5e"; export const OPENSEA_CONDUIT_ADDRESS_2 = "0x963f00d3ff000064ffcba824b800c0000000c300"; export const WPOL_ADDRESS = "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"; export const GUNZILLA_FEE_RECIPIENT = "0xd9f68d28e451a83affdb7c71cc2c20552555b07f"; // eslint-disable-next-line import/no-unused-modules export const GUNZILLA_CONDUIT_ADDRESS = "0x00000000001566479594a2e05532d81afa09bc52"; export const GUNZILLA_CONDUIT_KEY = "0x86d26897267711ea4b173c8c124a0a73612001da35562f1ee3b26929b6575e89"; export const GUNZILLA_SEAPORT_1_6_ADDRESS = "0x00000000006687982678b03100B9bDC8be440814"; export const GUNZILLA_SIGNED_ZONE_V2_ADDRESS = "0xdfe0000000005ce3008800300037e4c803ed08c7";