Skip to content

Commit

Permalink
Renamed Test Token to Public Token
Browse files Browse the repository at this point in the history
  • Loading branch information
superlazycoder committed Dec 14, 2021
1 parent 7301e23 commit a65c7dc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions contracts/MRK.sol → contracts/LPY.sol
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ interface IPancakeRouter02 is IPancakeRouter01 {
2% fee auto distribute to all holders
1% fee to marketing
*/
contract MRK is Context, IERC20, Ownable {
contract LPY is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;

Expand All @@ -188,8 +188,8 @@ contract MRK is Context, IERC20, Ownable {
uint256 private _rTotal = (MAX - (MAX % _tTotal));
uint256 private _tFeeTotal;

string private _name = "MRK";
string private _symbol = "MRK";
string private _name = "Leisure Pay Token";
string private _symbol = "LPY";
uint8 private _decimals = 18;

uint256 public _liquidityFee = 300;
Expand Down Expand Up @@ -417,7 +417,7 @@ contract MRK is Context, IERC20, Ownable {
{
require(
pair != pancakePair02,
"MRK: The pair cannot be removed from automatedMarketMakerPairs"
"LPY: The pair cannot be removed from automatedMarketMakerPairs"
);

_setAutomatedMarketMakerPair(pair, value);
Expand Down Expand Up @@ -448,7 +448,7 @@ contract MRK is Context, IERC20, Ownable {
function _setAutomatedMarketMakerPair(address pair, bool value) private {
require(
automatedMarketMakerPairs[pair] != value,
"MRK: Automated market maker pair is already set to that value"
"LPY: Automated market maker pair is already set to that value"
);
automatedMarketMakerPairs[pair] = value;

Expand Down
8 changes: 4 additions & 4 deletions migrations/1_initial_migration.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const MRK = artifacts.require("MRK");
const LPY = artifacts.require("LPY");
module.exports = async function (deployer, network, accounts) {
const [admin] = accounts

await deployer.deploy(MRK);
await deployer.deploy(LPY);

// const mrk = await MRK.deployed();
// console.log(await mrk.address)
// const lpy = await LPY.deployed();
// console.log(await lpy.address)
};
6 changes: 3 additions & 3 deletions test/MyMRK.js → test/MyLPY.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const MRK = artifacts.require("MRK");
const LPY = artifacts.require("LPY");
const {
ether,
expectEvent,
Expand All @@ -8,11 +8,11 @@ const {

let instance;

contract("MRK", (accounts) => {
contract("LPY", (accounts) => {
const [admin, alice, bob] = accounts;

beforeEach(async () => {
instance = await MRK.new();
instance = await LPY.new();
});

it("creation: should create an initial balance of totalSupply for the creator", async () => {
Expand Down

0 comments on commit a65c7dc

Please sign in to comment.