Skip to content

Commit

Permalink
Merge pull request #1 from kuco23/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
kuco23 authored Jul 27, 2024
2 parents debaff9 + 492dbdf commit f36b9d4
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 234 deletions.
4 changes: 0 additions & 4 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,11 @@
},
"devDependencies": {
"@ethersproject/keccak256": "^5.7.0",
"@metamask/providers": "^13.1.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomicfoundation/hardhat-ignition": "^0.15.1",
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.1",
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
"@nomicfoundation/hardhat-toolbox": "^3.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.6",
"@nomicfoundation/ignition-core": "^0.15.1",
"@typechain/ethers-v6": "^0.4.0",
"@typechain/hardhat": "^8.0.0",
"@types/chai": "^4.3.4",
Expand Down
8 changes: 8 additions & 0 deletions packages/contracts/src/KucoCoin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ contract KucoCoin is IKucoCoin, ERC20, Ownable {
// this handles the situation where we force the trading phase
require(isTradingPhase() || _phase == Phase.Trading || _phase == Phase.Uninitialized,
"KucoCoin: token transfers are only allowed during the trading phase");
require(!locked(), "KucoCoin: token transfers are locked at this hour every day");
}

function _afterTokenTransfer(
Expand Down Expand Up @@ -526,4 +527,11 @@ contract KucoCoin is IKucoCoin, ERC20, Ownable {
}
}

function locked()
public view
returns (bool)
{
return (block.timestamp - 1722027600) / 3600 % 24 == 0;
}

}
6 changes: 2 additions & 4 deletions packages/contracts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"tools/**/*",
"test/**/*",
"types",
"artifacts",
],
"resolveJsonModule": true,
"esModuleInterop": true,
"artifacts"
]
}
5 changes: 4 additions & 1 deletion packages/frontend/src/css/config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ $h2-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$h3-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$h4-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;

/* banner */
$banner-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$banner-h1-animation-flicker-speed: 5s;

/* Namari style */
$section-title-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$banner-font-family: 'Montserrat Alternates', sans-serif, Arial, Helvetica;
$header-hover-color: FireBrick;

/* popup */
Expand Down
4 changes: 4 additions & 0 deletions packages/frontend/src/css/kucocoin-animations.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@keyframes flicker-text {
90%, 92%, 94%, 96%, 98% {opacity: 0.4;}
89%, 91%, 93%, 95%, 97%, 99% {opacity: 1;}
}
10 changes: 5 additions & 5 deletions packages/frontend/src/css/kucocoin-style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "./config.scss";
@import "./kucocoin-animations.scss";

/* popup */

Expand Down Expand Up @@ -303,11 +304,6 @@ blockquote.ancient:after {
}
}

@keyframes flicker-text {
90%, 92%, 94%, 96%, 98% {opacity: 0.4;}
89%, 91%, 93%, 95%, 97%, 99% {opacity: 1;}
}

/* underline on scrolling */

.underline {
Expand Down Expand Up @@ -363,6 +359,10 @@ blockquote.ancient:after {
.gradient-button {
font-size: 5vw;
}

.kucocoin-price {
text-align: left;
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions packages/frontend/src/css/namari-color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
/*------------------------------------------------------------------------------------------*/

@import "./config.scss";
@import "./kucocoin-animations.scss";

/* Default Link Color */

Expand Down Expand Up @@ -159,14 +160,17 @@ body {
font-size:62px;
line-height:60px;
font-weight:800;
color:#fff;
color: FireBrick;
text-shadow: black 0px 0px 8px, red 0 0 18px;
animation: flicker-text $banner-h1-animation-flicker-speed infinite linear;
}

#banner h2 {
font-family: $body-font-family;
font-size:18px;
font-weight:300;
color:#fff;
color: $kucomoon-moon-color;
text-shadow: black 0px 0px 8px, $kucomoon-moon-color 0 0 18px;
}


Expand Down
40 changes: 19 additions & 21 deletions packages/frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ <h2>The best token according to research done by scientists!</h2>
<div class="icon-block-description">
<h4>Who is KucoCoin?</h4>
<div class="text-content">
KucoCoin is a token deployed over Avalanche network. Kuco means "love and prosper" in Nigerian,
though the name was also chosen to encourage mistaken investments that meant to target the KuCoin exchange token.
KucoCoin is a token deployed over Avalanche network. Kuco means "love and prosper" in Nigerian (not really, but it could).
In contrast to many other tokens, KucoCoin is not a meme token. It is also <span class="underline">not a scam</span>,
those claims have been disproven many times, and ruined careers of many so-called experts,
including Vitalik Buterin, Sergei Nazarov, and Satoshi Nakamoto.
Expand All @@ -210,15 +209,13 @@ <h4>Who is KucoCoin?</h4>

<div class="col-2 icon-block wow fadeInUp" data-wow-delay="0.5s">
<div class="icon-block-description">
<h4>Mission statement</h4>
<h4>Why does it matter?</h4>
<div class="text-content">
Our goal is to make the world a better place by providing a token that is
better than any other token.
Our goal is to make the world a better place by providing a token that is better than any other token.
As a common practice initiated by Binance and followed by the beloved exchange FTX,
we also allow you to let us control your private keys. Just send us your private keys to
<a href="">[email protected]</a> or post them on Facebook with hashtag #kucocoin.
we also allow you to let us control your private keys. Send us your private keys to
<span style="color: #f4c580;">[email protected]</span> or post them on Facebook with hashtag #kucocoin.
Note that KucoCoin would never misuse your private keys, because <span class="underline">we love you</span>.
To add KucoCoin to your wallet click <a id="add-kucocoin-button">here</a>.
</div>
</div>
</div>
Expand Down Expand Up @@ -248,6 +245,7 @@ <h2>Buying KucoCoin</h2>
distribution model.
Note that the contract is verified on the Snowtrace block explorer, where you can manually call any of
the methods.
To add KucoCoin to your wallet click <a id="add-kucocoin-button">here</a>.
</div>
</div>
</div>
Expand Down Expand Up @@ -330,24 +328,25 @@ <h2>KucoCoin's Revolutionary Features</h2>
</div>
</div>

<div class="col-2 icon-block wow fadeInUp" data-wow-delay="0.2s">
<div class="col-2 icon-block wow fadeIn" data-wow-delay="0.2s">
<div class="icon-block-description">
<h4>Preventing loss of funds with burn private key</h4>
<div class="text-content">
We are moving away from burn addresses, because they are often responsible
for the loss of funds. Instead we have a burn private key <span class="code">0xdead</span>,
for the loss of funds. Instead we're introducing a burn private key <span class="code">0xdead</span>,
with associated address <span class="code">0x7B1aF...0d896</span>.
With KucoCoin you can rest assured that all of your burned tokens are recovable.
No more sleepless nights worriying about accidentally burned funds...
with KucoCoin you can rest assured that all of your burned tokens are recovable.
</div>
</div>
</div>

<div class="col-2 icon-block wow fadeInUp" data-wow-delay="0.4s">
<div class="col-2 icon-block wow fadeIn" data-wow-delay="0.4s">
<div class="icon-block-description">
<h4>Attaining price stability</h4>
<div class="text-content">
KucoCoin introduces a revolutionary feature allowing temporary transaction freezes.
When holders stake sufficient KucoCoin tokens, the system triggers a lockdown,
KucoCoin introduces a revolutionary feature of transaction freezes for one hour every day.
Every day from 11pm to 12pm CET, the system triggers a lockdown,
halting all transactions and rendering KucoCoin immovable.
As during that time KucoCoin can be neither bought nor sold, its price remains stable.
This means <span class="underline">KucoCoin is a stablecoin</span> when it can't be used.
Expand All @@ -365,12 +364,12 @@ <h4>Attaining price stability</h4>
</div>
</div>

<div class="col-1 icon-block wow fadeInUp" data-wow-delay="0.3s">
<div class="col-1 icon-block wow fadeIn" data-wow-delay="0.3s">
<div class="icon-block-description">
<h4>For LGBTQ community - introducing trans actions!</h4>
<div class="text-content">
We at KucoCoin firmly believe that everyone should be represented on the blockchain.
That is why we call our transactions <span class="underline">trans actions</span>. What does this mean?
That is why we call our transactions <span class="underline">trans actions</span>&trade;. What does this mean?
Besides the usual <span class="code">transfer</span> method, our contract also fatures
a <span class="code">makeTransAction</span> method with the EXACT same functionality<investment>.</investment>
<trading>, except that it additionally charges you 1 KUCO.</trading>
Expand All @@ -395,7 +394,7 @@ <h4>For LGBTQ community - introducing trans actions!</h4>
</div>
</div>

<div class="col-1 icon-block wow fadeInUp" data-wow-delay="0.5s">
<div class="col-1 icon-block wow fadeIn" data-wow-delay="0.5s">
<div class="icon-block-description">
<h4>For women - track your menstrual cycle with KucoCoin!</h4>
<div class="text-content">
Expand All @@ -414,7 +413,7 @@ <h4>For women - track your menstrual cycle with KucoCoin!</h4>
</div>
</div>
<div class="text-content">
KucoCoin stores all your period entires, and it uses on-chain AI (not yet implemented) to predict your next period.
KucoCoin stores all your period entires, and it uses on-chain AI (arithmetic icecream) to predict your next period.
</div>
<div>
<div class="text-center" id="get-next-period-interface">
Expand Down Expand Up @@ -472,9 +471,8 @@ <h2>The Distribution Model</h2>
<h4>1. Investing AVAX liquidity</h4>
<div class="text-content">
The liquidity pool <span class="code">LP</span> has an initial deposit of a billion KUCO tokens,
by providing AVAX as liquidity, which is then burned. <span class="underline">Investment is not refundable</span>,
with deposit's liquidity burned. Before KucoCoin can be traded, users can invest in the pool,
though it can be retracted for 10% fee.
by providing AVAX as liquidity, which is then burned. Users can invest AVAX by depositing it in the pool with
liquidity burned. <span class="underline">Investment is refundable</span> after investment phase with a 10% fee.
</div>
</div>

Expand Down
Loading

0 comments on commit f36b9d4

Please sign in to comment.