Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ NEXT_PUBLIC_CHAIN_ID=84532
# -----------------------------------------------------------------------------
# StoryFactory address
# Testnet: 0xfa5489b6710Ba2f8406b37fA8f8c3018e51FA229
# Mainnet: 0x66087c0032c304Eb724544ef8Fc7C7f3E6C8CdF5
# Mainnet: 0xc278F4099298118efA8dF30DF0F4876632571948
NEXT_PUBLIC_CONTRACT_ADDRESS=

# -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion lib/contracts/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const EXPLORER_URL = IS_TESTNET
export const STORY_FACTORY = (process.env.NEXT_PUBLIC_CONTRACT_ADDRESS ??
(IS_TESTNET
? "0xfa5489b6710Ba2f8406b37fA8f8c3018e51FA229"
: "0x66087c0032c304Eb724544ef8Fc7C7f3E6C8CdF5")) as `0x${string}`;
: "0xc278F4099298118efA8dF30DF0F4876632571948")) as `0x${string}`;

/** ZapPlotLinkMCV2 — one-click buy (ETH/USDC/HUNT -> storyline token) */
export const ZAP_PLOTLINK = "0x0000000000000000000000000000000000000000" as const;
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const DEPLOYMENT_BLOCK = BigInt(20_000_000);
* Deployment block for PlotLink contracts on Base mainnet.
* Used as the default fromBlock for mainnet event log queries.
*/
export const DEPLOYMENT_BLOCK_MAINNET = BigInt(43_559_145);
export const DEPLOYMENT_BLOCK_MAINNET = BigInt(43_561_137);

/** Supported chain IDs for the PlotLink SDK. */
export const SUPPORTED_CHAIN_IDS = new Set([BASE_SEPOLIA_CHAIN_ID, BASE_MAINNET_CHAIN_ID]);
Expand All @@ -41,7 +41,7 @@ export const STORY_FACTORY_ADDRESS =

/** StoryFactory — storyline + plot management (Base mainnet). */
export const STORY_FACTORY_MAINNET_ADDRESS =
"0x66087c0032c304Eb724544ef8Fc7C7f3E6C8CdF5" as const;
"0xc278F4099298118efA8dF30DF0F4876632571948" as const;

/** MCV2_Bond — bonding curve trading (Base Sepolia). */
export const MCV2_BOND_ADDRESS =
Expand Down
Loading