Skip to content

Commit

Permalink
Merge pull request #579 from ApeSwapFinance/staging
Browse files Browse the repository at this point in the history
chore: add MAG bond
  • Loading branch information
efeDaniels authored Dec 2, 2024
2 parents 8f97292 + fb6d935 commit 54c9787
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 5 deletions.
55 changes: 55 additions & 0 deletions config/bills.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,61 @@
"shortDescription": "FOMOFox is the first market-driven storytelling meme coin on IOTA EVM. Follow FOMOFox on TwitterX and help him conquer FOMO by influencing the $FOMO Token’s market performance. Holders can grow their $FOMO bags through raffles, solving riddles, or holding. FOMOFox faces challenges and meets intriguing characters, with market influence guiding his choices!",
"fullDescription": "FOMOFox is the first market-driven storytelling meme coin on IOTA EVM. Follow the thrilling journey of FOMOFox on TwitterX and help him conquer his FOMO by influencing the $FOMO Token’s market performance. Loyal holders will find countless opportunities to grow their $FOMO bags through raffles, solving riddles, or simply holding and supporting the fox. Along the way, FOMOFox faces diverse challenges and meets intriguing characters. Your influence on the market helps him make the right choices. This project offers pure entertainment and rewards those who stick with it! Join the adventure now and visit their website for more details!"
},
{
"index": 8015,
"chainId": 8453,
"contractAddress": {
"8453": "0x2796EB8B3794C51f6557d55472558bB05A6815CB"
},
"billType": "liquidity",
"billVersion": "V2",
"lpToken": {
"symbol": "ETH-MAG",
"address": {
"8453": "0xDd5f5484FdaBe2223d66Ef417A98ef82aE9c76e3"
},
"decimals": {
"8453": 18
},
"liquidityDex": {
"8453": "UniswapV2"
},
"active": true,
"lpToken": true,
"getLpUrl": {
"8453": "https://app.uniswap.org/add/v2/0x4200000000000000000000000000000000000006/0x59f680f431f5280e7662b96f2dfa195d1693852d"
}
},
"earnToken": {
"symbol": "MAG",
"address": {
"8453": "0x59F680F431f5280e7662b96F2DFA195D1693852d"
},
"decimals": {
"8453": 18
},
"liquidityDex": {
"8453": "UniswapV2"
},
"active": true
},
"billNnftAddress": {
"8453": "0xD8C7fe06E24A2862d78D0F1BF040bA79463d9351"
},
"inactive": false,
"projectLink": "https://www.magnify.cash/",
"twitter": "https://twitter.com/MagnifyCash",
"initTime": {
"8453": 1733147427
},
"soldOut": false,
"billArt": {
"collection": "ApeBond_Collection1"
},
"shortDescription": "Magnify Cash is a decentralized, non-custodial credit market where users can lend ERC-20 tokens and borrow against NFTs with flexibility and transparency. It uses an automated risk-pricing framework that adapts to tenor and principal. With support for ERC-20 tokens and ERC-1155/ERC-721 assets, lenders can adjust LTV ratios, interest rates, and durations. Borrowers enjoy fixed-term loans free from unexpected liquidations.",
"fullDescription": "Magnify Cash is a non-custodial and permissionless decentralized credit market that allows users to lend ERC-20 tokens and borrow against non-fungible tokens (NFTs) with unmatched flexibility and transparency. At its core is an automated framework that prices risk through linear interpolation, adapting to tenor and principal. Magnify Cash supports ERC-20 tokens for lending and ERC-1155/ERC-721 assets as collateral. Lenders can create custom lending desks by adjusting loan-to-value (LTV) ratios, interest rates, and durations. Borrowers benefit from fixed-term loans, free from unexpected liquidations or mid-term changes.",
"tags": ["DeFi"]
},
{
"index": 8014,
"chainId": 8453,
Expand Down
26 changes: 23 additions & 3 deletions config/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -3521,13 +3521,16 @@
"mag": {
"symbol": "MAG",
"address": {
"1": "0x71DA932ccdA723BA3ab730C976bC66DaAF9C598c"
"1": "0x71DA932ccdA723BA3ab730C976bC66DaAF9C598c",
"8453": "0x59F680F431f5280e7662b96F2DFA195D1693852d"
},
"decimals": {
"1": 18
"1": 18,
"8453": 18
},
"liquidityDex": {
"1": "UniswapV2"
"1": "UniswapV2",
"8453": "UniswapV2"
},
"active": true
},
Expand Down Expand Up @@ -6175,5 +6178,22 @@
"getLpUrl": {
"8453": "https://app.uniswap.org/add/v2/0x4200000000000000000000000000000000000006/0x18e692c03de43972fe81058f322fa542ae1a5e2c"
}
},
"magWeth_UNI": {
"symbol": "ETH-MAG",
"address": {
"8453": "0xDd5f5484FdaBe2223d66Ef417A98ef82aE9c76e3"
},
"decimals": {
"8453": 18
},
"liquidityDex": {
"8453": "UniswapV2"
},
"active": true,
"lpToken": true,
"getLpUrl": {
"8453": "https://app.uniswap.org/add/v2/0x4200000000000000000000000000000000000006/0x59f680f431f5280e7662b96f2dfa195d1693852d"
}
}
}
29 changes: 28 additions & 1 deletion src/constants/bills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BillArtCollection, BillsConfig, BillVersion, ChainId, MigrationVestingT
// Arbitrum Largest ID: 2011
// ETH Largest ID: 3031
// Linea Largest ID: 6010
// Base Largest ID: 8014
// Base Largest ID: 8015
// Lightlink Largest ID: 7000
// IOTA largest ID: 9003
// Migration Bonds ID: 5007
Expand Down Expand Up @@ -180,6 +180,33 @@ const bills: BillsConfig[] = [
//
// BASE
//
{
index: 8015,
chainId: ChainId.BASE,
contractAddress: {
[ChainId.BASE]: '0x2796EB8B3794C51f6557d55472558bB05A6815CB',
},
billType: 'liquidity',
billVersion: BillVersion.V2,
lpToken: tokens.magWeth_UNI,
earnToken: tokens.mag,
billNnftAddress: {
[ChainId.BASE]: '0xD8C7fe06E24A2862d78D0F1BF040bA79463d9351',
},
inactive: false,
projectLink: 'https://www.magnify.cash/',
twitter: 'https://twitter.com/MagnifyCash',
initTime: { [ChainId.BASE]: 1733147427 },
soldOut: false,
billArt: {
collection: BillArtCollection.ApeBond_Collection1,
},
shortDescription:
'Magnify Cash is a decentralized, non-custodial credit market where users can lend ERC-20 tokens and borrow against NFTs with flexibility and transparency. It uses an automated risk-pricing framework that adapts to tenor and principal. With support for ERC-20 tokens and ERC-1155/ERC-721 assets, lenders can adjust LTV ratios, interest rates, and durations. Borrowers enjoy fixed-term loans free from unexpected liquidations.',
fullDescription:
'Magnify Cash is a non-custodial and permissionless decentralized credit market that allows users to lend ERC-20 tokens and borrow against non-fungible tokens (NFTs) with unmatched flexibility and transparency. At its core is an automated framework that prices risk through linear interpolation, adapting to tenor and principal. Magnify Cash supports ERC-20 tokens for lending and ERC-1155/ERC-721 assets as collateral. Lenders can create custom lending desks by adjusting loan-to-value (LTV) ratios, interest rates, and durations. Borrowers benefit from fixed-term loans, free from unexpected liquidations or mid-term changes.',
tags: ['DeFi'],
},
{
index: 8014,
chainId: ChainId.BASE,
Expand Down
22 changes: 21 additions & 1 deletion src/constants/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3465,10 +3465,12 @@ const tokens: Record<string, Token> = {
symbol: 'MAG',
address: {
[ChainId.MAINNET]: '0x71DA932ccdA723BA3ab730C976bC66DaAF9C598c',
[ChainId.BASE]: '0x59F680F431f5280e7662b96F2DFA195D1693852d',
},
decimals: { [ChainId.MAINNET]: 18 },
decimals: { [ChainId.MAINNET]: 18, [ChainId.BASE]: 18 },
liquidityDex: {
[ChainId.MAINNET]: LiquidityDex.UniswapV2,
[ChainId.BASE]: LiquidityDex.UniswapV2,
},
active: true,
},
Expand Down Expand Up @@ -5974,6 +5976,24 @@ const tokens: Record<string, Token> = {
'https://app.uniswap.org/add/v2/0x4200000000000000000000000000000000000006/0x18e692c03de43972fe81058f322fa542ae1a5e2c',
},
},
magWeth_UNI: {
symbol: 'ETH-MAG',
address: {
[ChainId.BASE]: '0xDd5f5484FdaBe2223d66Ef417A98ef82aE9c76e3',
},
decimals: {
[ChainId.BASE]: 18,
},
liquidityDex: {
[ChainId.BASE]: LiquidityDex.UniswapV2,
},
active: true,
lpToken: true,
getLpUrl: {
[ChainId.BASE]:
'https://app.uniswap.org/add/v2/0x4200000000000000000000000000000000000006/0x59f680f431f5280e7662b96f2dfa195d1693852d',
},
},
}

export default tokens

0 comments on commit 54c9787

Please sign in to comment.