The Coop Factory is a factory contract for creating Coop contracts.
- Coop Implementation:
0xe5399ccb7c599210e7c46de1b01d6f06bf350f20
- CoopFactoryImpl:
0x20be2931f6ca9115d2ccc4592eb58f9c8c1c559c
- CoopFactory Proxy:
0xd16653637e739480c9b387c5cdd8d5ff6935c97c
Deploy the Coop implementation contract using the following command:
forge script script/DeployCoopFactory.s.sol:DeployCoopFactory --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY -vvvv
Replace RPC_URL
, PRIVATE_KEY
, and ETHERSCAN_API_KEY
with your actual values.
deploy()
: Set up a new memecoin.buy()
: Allow users to buy tokens during the sale.sell()
: Allow users to sell tokens during the sale.
For detailed information on function parameters and usage, please refer to the contract documentation.
CoopFactory.sol
: The main implementation contract containing all the logic for the Coop factory.Coop.sol
: The main implementation contract containing all the logic for the Coop token implementation.
For more details on implementation, please refer to the contract source code and comments.