Summary
Redeploy StoryFactory to Base mainnet with:
- Real PLOT token:
0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4
- Correct J-curve bonding curve from
story-token-curve.txt
Root Cause of Curve Bug
The current deploy script (DeployBase.s.sol) generates a pure exponential curve using a constant multiplier, but the intended curve is a MintPad Medium J-Curve (steepness 0.85, exponent 4). The pure exponential distributes growth evenly (looks linear), while the J-curve stays flat for ~70% of supply then rises steeply.
Implementation
- Update
DeployBase.s.sol to hardcode exact step prices from story-token-curve.txt instead of computing with a constant multiplier
- The curve file has 499 data points (supply 2,000 → 998,000, tab-separated) with an implied final point at 1,000,000 → 1.8882421
- stepRanges remain cumulative: [2000e18, 4000e18, ..., 1000000e18]
- stepPrices: use exact values from the curve file (convert decimal to 18-decimal wei)
- Set PLOT token to
0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4
- Set
initialStorylineCount to skip past existing MCV2_Bond symbols
Curve File Location
~/Library/CloudStorage/Dropbox/Mac/Downloads/plotlink/story-token-curve.txt
Curve Parameters
- 500 steps, 2,000 tokens per step
- Max supply: 1,000,000
- Initial price: 0.001 PLOT
- Final price: 1.8882421 PLOT
- Curve shape: J-curve (flat early, steep late)
Deployment
DEPLOYER_PRIVATE_KEY and BASESCAN_API_KEY are set in plotlink-contracts/.env
- Deploy to Base mainnet
- Record new StoryFactory address
Acceptance Criteria
Summary
Redeploy StoryFactory to Base mainnet with:
0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4story-token-curve.txtRoot Cause of Curve Bug
The current deploy script (
DeployBase.s.sol) generates a pure exponential curve using a constant multiplier, but the intended curve is a MintPad Medium J-Curve (steepness 0.85, exponent 4). The pure exponential distributes growth evenly (looks linear), while the J-curve stays flat for ~70% of supply then rises steeply.Implementation
DeployBase.s.solto hardcode exact step prices fromstory-token-curve.txtinstead of computing with a constant multiplier0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4initialStorylineCountto skip past existing MCV2_Bond symbolsCurve File Location
~/Library/CloudStorage/Dropbox/Mac/Downloads/plotlink/story-token-curve.txtCurve Parameters
Deployment
DEPLOYER_PRIVATE_KEYandBASESCAN_API_KEYare set inplotlink-contracts/.envAcceptance Criteria
0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4