This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
// Importa las interfaces de Uniswap Router y Factory | |
//import './UniswapRouterV2ABI.sol'; // Reemplaza con el ABI del Router | |
//import './UniswapFactoryV2ABI.sol'; // Reemplaza con el ABI de la Factory | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
contract PoolCreator { | |
// Dirección del Uniswap V2 Router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.19; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; | |
contract TestCoin is ERC20, ERC20Burnable { | |
constructor(string memory tokenName, string memory tokenSymbol) ERC20(tokenName, tokenSymbol) { | |
_mint(msg.sender, 180000000000000 * 10 ** decimals()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: UNLICENSE | |
pragma solidity 0.8.19; | |
contract RebirthProtocolCore{ | |
//Variable Declarations | |
address public RBH_SuperAdmin; | |
ERC20 RBH; | |
IUniswapV2Factory UniswapFactory = IUniswapV2Factory(0x7E0987E5b3a30e3f2828572Bb659A548460a3003); // to do add this in prod IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); | |
IUniswapV2Router02 UniswapRouter = IUniswapV2Router02(0xC532a74256D3Db42D0Bf7a0400fEFDbad7694008);// to do add this in prod IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); |