Skip to content

fix: update LISTA token address to correct ETH mainnet address in deploy scripts - #113

Merged
razww merged 1 commit into
masterfrom
fix/lista-eth-address
Jul 14, 2026
Merged

fix: update LISTA token address to correct ETH mainnet address in deploy scripts#113
razww merged 1 commit into
masterfrom
fix/lista-eth-address

Conversation

@LuckyTian1725

Copy link
Copy Markdown
Contributor

Summary

Update LISTA token address in ETH mainnet deployment scripts from placeholder to the correct mainnet address (0x11632069f202b06d5ff56aeb4aabd0662dd1933b).

This was missed in PR #111 merge — the placeholder address 0xFceB31A79F71AC9CBDCF853519c1b12D379EdC46 was left in both Foundry and Hardhat deploy scripts.

Change Type

  • Configuration change (existing contract)
  • Deploy script (new)
  • New contract
  • Test (new)
  • Upgrade (existing proxy)
  • Bug fix (audit response)

Contracts Changed

Contract File Type Description
Deploy script (Foundry) scripts/foundry/eth/deploy_listaRevenueDistributor.sol modified Fix LISTA token address
Deploy script (Hardhat) scripts/eth/deploy_listaRevenueDistributor.ts modified Fix LISTA token address

Key Changes

LISTA Token Address Fix

File Before After
scripts/foundry/eth/deploy_listaRevenueDistributor.sol 0xFceB31A79F71AC9CBDCF853519c1b12D379EdC46 (placeholder) 0x11632069f202b06d5ff56aeb4aabd0662dd1933b (correct ETH mainnet)
scripts/eth/deploy_listaRevenueDistributor.ts 0xFceB31A79F71AC9CBDCF853519c1b12D379EdC46 (placeholder) 0x11632069f202b06d5ff56aeb4aabd0662dd1933b (correct ETH mainnet)

Context

The LISTA token on ETH mainnet address: 0x11632069f202b06d5ff56aeb4aabd0662dd1933b

This address is required by ListaRevenueDistributor.initialize() — the contract stores it as listaTokenAddress for whitelist management via addTokensToWhitelist.

Risk Assessment

Area Risk Note
Deploy correctness None after fix Correct LISTA address ensures proper initialization
Runtime impact None Address only used during initialize() call
BSC impact None BSC deploy scripts are unchanged

Deploy Order

Unchanged from PR #111:

1. Deploy ListaRevenueDistributor (using corrected LISTA address)
2. Grant EMERGENCY_WITHDRAWER role to Manager Safe (done in deploy script)
3. Record proxy address
4. Fill into moolah MarketFactory deploy script (PR #206)
5. (Multisig) LendingFeeRecipient(0xd10a...e30).setMarketFeeRecipient(new proxy address)

@hashdit-bot

hashdit-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

Pull Request Review

This PR updates deployment configuration for ListaRevenueDistributor on Ethereum mainnet by replacing a placeholder LISTA token address with the intended mainnet token address in both Hardhat and Foundry deploy scripts. The change is narrowly scoped to constants used during initialization and does not alter contract logic. It improves deployment correctness by ensuring initialize() receives the expected token address.

Sensitive Content

Blockchain Address:

  • 0x11632069f202b06d5ff56aeb4aabd0662dd1933b (Ethereum address) in scripts/eth/deploy_listaRevenueDistributor.ts — updated LISTA token mainnet address
  • 0x11632069f202b06d5ff56aeb4aabd0662dd1933b (Ethereum address) in scripts/foundry/eth/deploy_listaRevenueDistributor.sol — updated LISTA token mainnet address

Security Issues

No serious security issues detected.


Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits.

@razww razww left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@razww
razww merged commit 713fdbc into master Jul 14, 2026
1 check passed
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