Skip to content

Commit

Permalink
Update meme token data (#613)
Browse files Browse the repository at this point in the history
* feat: update rule and meme config

* feat: update meme token data

* feat: add BENDOG token

---------

Co-authored-by: naturexie <[email protected]>
  • Loading branch information
xieqiancaosissi and naturexie authored Oct 1, 2024
1 parent 3dfbb2d commit 8b3bb57
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 55 deletions.
1 change: 0 additions & 1 deletion src/components/meme/MarketSeedsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const MarketSeedsBox = ({
origin == 'intro'
? [memeDataConfig.meme_winner_tokens[0]]
: memeDataConfig.meme_winner_tokens;
const { MEME_TOKEN_XREF_MAP } = getMemeContractConfig();
const { coming_offline_soon_token } = getMemeDataConfig();
const displaySeeds = useMemo(() => {
if (emptyObject(seeds)) return {};
Expand Down
64 changes: 25 additions & 39 deletions src/components/meme/RuleModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,36 +39,24 @@ function RuleModal(props: any) {
height: cardHeight,
}}
>
{/* <p className="mt-4">New campaign start on 1st of May</p> */}
{/* <p className="mt-5">
A new selection of top 5 reward Meme tokens is voted by holders of
xREF, with 25% boosted reward for the overall campaign (NEAR + Ref
reward).
</p> */}
{/* <p className="mt-5">Selection criteria:</p> */}
<ul className="text-sm list-disc pl-3 mt-5">
<li>
The Meme Token project requires xREF holders to deposit tokens
into their vaults from the beginning of the month for selection.
</li>
<li>
During the voting process, Memetoken communities can participate
in donating in the 'Show love for voters' section and allocate
rewards to users to incentivize them to stake xREF and vote for
the Memetoken.
in donating in the 'Donate' section and allocate rewards to users
to incentivize them to stake xREF and vote for the Memetoken.
</li>
<li>
The first voting period is a 72h window, to vote in xREF for your
preferred Memetoken.
The first voting period is a 4-day window, to vote in xREF for
your preferred Memetoken.
</li>
<li>
After the 72h, we have the top three Memecoins selected through
xREF staking.
After the xREF Voting, we have the top five Memecoins selected
through xREF staking and Meme Staking start.
</li>
{/* <li>
The following 24h, after the 48h, is for users to now stake their
Memecoin token to compete as before
</li> */}
<li>
Note:
<p>
Expand All @@ -80,38 +68,36 @@ function RuleModal(props: any) {
MemeToken staking will only determine the NEAR allocation ratio.
</p>
</li>
<li>
The top 2 out of 5 will be maintained from the current campaign as
an ongoing mechanism for the following months. The other 3 seats
will rotate based on the results of their xREF staking within a
voting period.
</li>
</ul>
<p className="mt-5">Some rules:</p>
<p className="mt-5 mb-2">
Criteria for Existing Tokens Listed on REF MEME Season to be
Eligible for the Next Season**
</p>
<ul className="text-sm list-disc pl-3">
<li>The community coin must have at least 2.5K holders.</li>
<li>
Users who unstake their xREF after the voting period ends will not
affect the rewards pool or the meme's position during that season.
</li>
<li>
Users who keep their xREF staked will be able for extra incentive
in the next season.
The project should maintain a daily trading volume of at least 2K
USD on average.
</li>
<li>The project must have at least 10K followers on Twitter/X.</li>
<li>
Unstaking xREF will have a one-day cooldown before withdrawal is
possible.
The project should have an active meme community within the NEAR
Ecosystem.
</li>
</ul>
<p className="mt-5 mb-2">
Criteria for New Tokens Launched During August - September**
</p>
<ul className="text-sm list-disc pl-3">
<li>
Five selected MEME will have their staking pools active for one
month.
The project must have been in existence for at least one week.
</li>
<li>
The top 2 MEME tokens based on staking volume at the end of the
season will automatically qualify for the next season.
The project must have its liquidity pool (LP) locked or burned.
</li>
<li>The project must be whitelisted on Ref Finance.</li>
<li>
The remaining 3 seats will be reshuffled based on the new season's
voting session.
The project must have at least 8,000 USD worth of liquidity.
</li>
</ul>
</div>
Expand Down
2 changes: 0 additions & 2 deletions src/components/meme/StakingChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ const StakingChart = ({ chartType }) => {
const { seeds, xrefSeeds, allTokenMetadatas } = useContext(MemeContext) || {};
const { MEME_TOKEN_XREF_MAP } = getMemeContractConfig();
const { coming_offline_soon_token } = getMemeDataConfig();
const memeDataConfig = getMemeDataConfig();
const meme_winner_tokens = memeDataConfig.meme_winner_tokens;
const displaySeeds = useMemo(() => {
if (emptyObject(seeds)) return {};
return Object.entries(MEME_TOKEN_XREF_MAP).reduce((acc, [memeTokenId]) => {
Expand Down
36 changes: 23 additions & 13 deletions src/components/meme/memeConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ export function getMemeContractConfig(
'memefarm-xref-corgi.ref-labs.near',
'memefarm-xref-gp.ref-labs.near',
'memefarm-xref-kat.ref-labs.near',
'memefarm-xref-chill.ref-labs.near',
'memefarm-xref-bd.ref-labs.near',
],
MEME_TOKEN_XREF_MAP: {
'blackdragon.tkn.near': 'memefarm-xref-blackdragon.ref-labs.near',
Expand All @@ -308,6 +310,8 @@ export function getMemeContractConfig(
'corgi.token0.near': 'memefarm-xref-corgi.ref-labs.near',
'gp.token0.near': 'memefarm-xref-gp.ref-labs.near',
'kat.token0.near': 'memefarm-xref-kat.ref-labs.near',
'chill-129.meme-cooking.near': 'memefarm-xref-chill.ref-labs.near',
'benthedog.near': 'memefarm-xref-bd.ref-labs.near',
},
};
}
Expand Down Expand Up @@ -442,21 +446,11 @@ export function getMemeDataConfig(): any {
'token.0xshitzu.near',
],
meme_nonListed_tokens: [
'usmeme.tg',
'nkok.tkn.near',
'438e48ed4ce6beecf503d43b9dbd3c30d516e7fd.factory.bridge.near',
'nearnvidia.near',
'bean.tkn.near',
'ftv2.nekotoken.near',
'marmaj.tkn.near',
'babyblackdragon.tkn.near',
'hat.tkn.near',
'intel.tkn.near',
'dd.tg',
'neiro.token0.near',
'corgi.token0.near',
'gp.token0.near',
'kat.token0.near',
'chill-129.meme-cooking.near',
'benthedog.near',
],
pie_color: {
'blackdragon.tkn.near': '#413B41',
Expand All @@ -480,6 +474,8 @@ export function getMemeDataConfig(): any {
'corgi.token0.near': '#A96538',
'gp.token0.near': '#D1D2C3',
'kat.token0.near': '#FF795D',
'chill-129.meme-cooking.near': '#5ac8ec',
'benthedog.near': '#6124d9',
},
meme_cap_tokens: [
'token.lonkingnearbackto2024.near',
Expand All @@ -488,7 +484,21 @@ export function getMemeDataConfig(): any {
'touched.tkn.near',
'token.0xshitzu.near',
],
coming_offline_soon_token: ['touched.tkn.near'],
coming_offline_soon_token: [
'touched.tkn.near',
'usmeme.tg',
'nkok.tkn.near',
'bean.tkn.near',
'ftv2.nekotoken.near',
'marmaj.tkn.near',
'babyblackdragon.tkn.near',
'hat.tkn.near',
'intel.tkn.near',
'dd.tg',
'neiro.token0.near',
'corgi.token0.near',
'nearnvidia.near',
],
};
}
}
Expand Down

0 comments on commit 8b3bb57

Please sign in to comment.