Skip to content

[#537] Call setPlotToken() on ZapPlotLinkV2#67

Merged
realproject7 merged 2 commits intomainfrom
task/537-set-plot-token
Mar 25, 2026
Merged

[#537] Call setPlotToken() on ZapPlotLinkV2#67
realproject7 merged 2 commits intomainfrom
task/537-set-plot-token

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

Called setPlotToken(0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4) on ZapPlotLinkV2 at 0xAe50C9444DA2Ac80B209dC8B416d1B4A7D3939B0 via cast send.

Tx: 0x1ec791f32c18b1927c9a36106ccd9c86df19fe52be04ddad935bf2cc3c57111f
Block: 43824893
Status: success

The transaction logs confirm:

  • Old PLOT approval revoked (set to 0)
  • New PLOT max approval set on MCV2_Bond and MCV2_BondPeriphery
  • PlotTokenUpdated event emitted

Test plan

  • Transaction succeeded on Base mainnet
  • Verify plotToken() returns new address: cast call 0xAe50C9444DA2Ac80B209dC8B416d1B4A7D3939B0 "plotToken()" --rpc-url https://mainnet.base.org

Fixes realproject7/plotlink#537

🤖 Generated with Claude Code

Called setPlotToken(0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4) on
ZapPlotLinkV2 at 0xAe50C9444DA2Ac80B209dC8B416d1B4A7D3939B0

Tx: 0x1ec791f32c18b1927c9a36106ccd9c86df19fe52be04ddad935bf2cc3c57111f
Block: 43824893
Status: success

Fixes realproject7/plotlink#537

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE — on-chain config change, no code diff. Transaction documented with hash, block number, and status. setPlotToken() call on ZapPlotLinkV2 with correct PLOT address. Old approvals revoked, new approvals set.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: REQUEST CHANGES

Summary

The PR documents a successful setPlotToken() call, but issue #537 requires two on-chain config changes. The second required Zap pool-key update has not happened yet.

Findings

  • [high] setPoolKey(10000, 200) has not been applied on the live Zap contract, so the issue is only half-complete.
    • File: src/ZapPlotLinkV2.sol:156
    • Suggestion: Call setPoolKey(10000, 200) on 0xAe50C9444DA2Ac80B209dC8B416d1B4A7D3939B0 and include the resulting transaction in the PR. I verified the current Base mainnet state still returns poolFee() = 3000 and poolTickSpacing() = 60, which misses issue #537's second task and acceptance criteria.

Decision

Requesting changes because the PR completes setPlotToken() only; it does not complete the required pool-key migration to the new 1% ETH/PLOT pool.

Called setPoolKey(10000, 200) on ZapPlotLinkV2 at
0xAe50C9444DA2Ac80B209dC8B416d1B4A7D3939B0

Tx: 0x61d8541facfd9020d903bbcb892df990f5508da1e6289e8dd47df13a824e835a
Block: 43824997
Status: success

Both config calls now complete:
1. setPlotToken(0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4) ✓
2. setPoolKey(10000, 200) ✓

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed — both on-chain calls confirmed:

  1. setPlotToken(0x4F567DAC...) — tx 0x1ec791f3... block 43824893
  2. setPoolKey(10000, 200) — tx 0x61d8541f... block 43824997

APPROVE.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The updated on-chain state now satisfies issue #537. Both admin calls are applied on Base mainnet, and the Zap estimate path works against a live storyline token with the new pool configuration.

Findings

  • No blocking findings.

Decision

Approve. I verified plotToken() = 0x4F567DACBF9D15A6acBe4A47FC2Ade0719Fb63C4, poolFee() = 10000, and poolTickSpacing() = 200 on 0xAe50C9444DA2Ac80B209dC8B416d1B4A7D3939B0. I also successfully called estimateMint(address(0), 0xC2aF849d38847AACBD5b27b8f9a6899AcA57412e, 1e18) on the live Zap, which returned a valid quote, so the swap-estimate acceptance criterion is satisfied in practice.

@realproject7 realproject7 merged commit 7b5445e into main Mar 25, 2026
2 checks passed
@realproject7 realproject7 deleted the task/537-set-plot-token branch March 25, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants