Skip to content

Commit 38e3ec4

Browse files
committed
upgrade testnet proxy with new coins methods
1 parent 49b6a80 commit 38e3ec4

3 files changed

Lines changed: 111 additions & 165 deletions

File tree

.env.example

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
# Base Sepolia RPC URL
2-
RPC_URL=https://sepolia.base.org
3-
41
# Your deployment wallet's private key (generate with `npm run generate-wallet`)
52
# Example format: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
63
PRIVATE_KEY=
74

5+
# Basescan API Key for contract verification
6+
# Get one from https://basescan.org/apis
7+
BASESCAN_API_KEY=
8+
9+
# RPC URL
10+
# Base Sepolia: https://sepolia.base.org
11+
# Base Mainnet: https://mainnet.base.org
12+
RPC_URL=https://sepolia.base.org
13+
814
# Fixed Price Sale Strategy address for initialization
915
# Base Sepolia: 0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE
1016
# Base Mainnet: 0x04E2516A2c207E84a1839755675dfd8eF6302F0a
@@ -14,19 +20,17 @@ FIXED_PRICE_SALE_STRATEGY=
1420
# Example format: ipfs://Qm...
1521
TOKEN_URI=ar://o3ni6dHT2v1fda8610XgjXx-3jGuBb4b--0pfbOxrmw
1622

17-
# Basescan API Key for contract verification
18-
# Get one from https://basescan.org/apis
19-
BASESCAN_API_KEY=
20-
2123
# Doppler Coins ENV variables
2224
# Base Sepolia: 0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE
2325
# Base Mainnet: 0x6ff5693b99212da76ad316178a184ab56d299b43
2426
DOPPLER_UNIVERSAL_ROUTER=
2527

2628
# Upgrade Script ENV variables
29+
2730
# Base Sepolia: 0x1660939de5E468514859E04fBfDC8a98d8e0Cf1E
2831
# Base Mainnet: ???
2932
CREDITS_PROXY_ADDRESS=
33+
3034
# Base Sepolia: 0x2c62591c601e467cb58e3fa5483f2b0c1483fca4
3135
# Base Mainnet: ???
3236
CREDITS_PROXY_ADMIN=

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ The COOP Credits Protocol implements a flexible and upgradeable ERC1155 token sy
2323

2424
| Contract | Address | Transaction |
2525
| -------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
26-
| Implementation | `0x019d5E4BcF1804265AFD084777a700B1aEdf47c9` | [View](https://sepolia.basescan.org/tx/0xac8a612f38c4793e560c497389d95bd21d112158fbbd3640454c51d3d7757eb9) |
27-
| Proxy Admin | `0x0Eb9984B125D7e8fe10C7F8E64A0594009ae449a` | [View](https://sepolia.basescan.org/tx/0x297b6626141b18bacac6e7ea338372ad881ca071d79cd36b45c18dc92d79c2f3) |
28-
| Proxy | `0x2d8CF3A448b75Bbc25cEC322be1224A9f8584115` | [View](https://sepolia.basescan.org/tx/0xb0f75db8cfcf2c490e6d82103f5baa4455e454a43eb45577a627d66813cce656) |
26+
| Implementation | `0x29c6F2022b97bf8503A64025Dd4fafEa5251756C` | [View](https://sepolia.basescan.org/tx/0x396b891ad4ba8a3095f6e278a47dd5ed97d8aa277f676fe9bc27dd71a0182ef7) |
27+
| Proxy Admin | `0x57c2cd477300e7ec80974b28fa55e34589627cb5` | [View](https://sepolia.basescan.org/tx/0x0af45e99179008d5efe33378867b2daa76cc2345b4e0d9011d12b305b165b3f2) |
28+
| Proxy | `0xB3dd782FCe60BCFBBEF1eaD56eF3a24a9c330A38` | [View](https://sepolia.basescan.org/tx/0x0af45e99179008d5efe33378867b2daa76cc2345b4e0d9011d12b305b165b3f2) |
2929

30-
> **Latest Update (2025-04-23)**: The contract implementation has been improved to fix an issue with global state handling in the `mintWithCredits` function. The function now maintains isolation between different calls, ensuring consistent behavior when interacting with multiple collectibles contracts.
30+
> **Latest Update (Aug-18-2025)**: The contract implementation has been improved to add methods for purchasing coins with credits. It also fixes a bug in our Proxy upgrades allowing the Proxy to be upgraded via the `upgradeAndCall` method on the `ProxyAdmin` contract.
3131
3232
### Key Features
3333

0 commit comments

Comments
 (0)