mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
* forge install: eigenlayer-contracts v1.1.1 * fix: 🗑️ Cleanup dependencies from init * forge install: forge-std v1.9.6 * forge install: openzeppelin-contracts v5.2.0 * forge install: openzeppelin-contracts-upgradeable v5.2.0 * chore: 🙈 Ignore IDE directories * chore: 🏗️ Modify config in `foundry.toml` based on EigenLayer's example * feat: 🚧 Add `ServiceManagerBase` contract and dependencies based on eigenlayer-middleware * feat: 🚧 Naive implementation of missing functions replacing AVSDirectory for AllocationManager * docs: 📝 Add first draft of contracts diagram * refactor: 🔥 Remove unnecessary functions and refactor most important ones to the top * docs: 📝 Update contracts diagram * docs: 📝 Update contracts diagram * feat: ✨ Implement basic mocked Service Manager * test: 🚧 Cleanup and start testing setup for mock ServiceManagerBase * test: 🤡 Add mocks to setup tests * test: 🤡 Add deployment of RewardsCoordinator * test: ✅ Deploy EigenLayer mocked contracts in test * revert: ➖ Remove proglematic submodules * revert: ➖ Remove forge-std dependency * forge install: forge-std v1.9.6 * forge install: openzeppelin-contracts v5.2.0 * forge install: openzeppelin-contracts-upgradeable v5.2.0 * forge install: eigenlayer-contracts v1.3.0 * revert: ➖ Remove faulty dependency * forge install: eigenlayer-contracts v1.3.0 * revert: ➖ remove added dependency * forge install: eigenlayer-contracts v1.3.0 * revert: ➖ Remove openzeppelin dependencies from root project * test: 🚧 Make test run after dependency mayhem * test: ✅ Add passing createOperatorSets test with empty params * style: 🎨 Apply forge fmt
17 lines
510 B
Solidity
17 lines
510 B
Solidity
// SPDX-License-Identifier: MIT
|
|
// Compatible with OpenZeppelin Contracts ^5.0.0
|
|
pragma solidity ^0.8.22;
|
|
|
|
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
|
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
|
|
|
|
contract ERC20FixedSupply is ERC20, Ownable {
|
|
constructor(
|
|
string memory name,
|
|
string memory symbol,
|
|
uint256 initialSupply,
|
|
address recipient
|
|
) ERC20(name, symbol) Ownable() {
|
|
_mint(recipient, initialSupply);
|
|
}
|
|
}
|