Skip to content

Commit

Permalink
chore: update contract meme address
Browse files Browse the repository at this point in the history
  • Loading branch information
cdotta committed Oct 7, 2024
1 parent 39f31e7 commit db2235a
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 24 deletions.
4 changes: 2 additions & 2 deletions packages/config/src/arbitrum-sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"transmolgrifier_address": "0x4489eee4b7218a74d516396c2f3ee6eba54f0773",
"transmolgrifier_start_block": 6249003,
"smol_renderer_address": "0x79973af48c424de5f199a7c0369c5e9cdeb493fc",
"meme_presale_address": "0x6986e471c308230D99ed0c1E4A8C9e5d80b71E9F",
"meme_presale_start_block": 85881083,
"meme_presale_address": "0x324d1670765cb8799ecd5271a8d595a64ed92fbf",
"meme_presale_start_block": 86641150,

"magicswapv1_start_block": 654981,
"magicswapv1_uniswapv2_factory_address": "0x9b58fc8c7B224Ae8479DA7E6eD37CA4Ac58099a9",
Expand Down
58 changes: 39 additions & 19 deletions subgraphs/memecoins/abis/MemePresale.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"name": "presalePrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "returnForOne",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "magicRaised",
Expand Down Expand Up @@ -111,6 +116,11 @@
"name": "presalePrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "returnForOne",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "magicRaised",
Expand Down Expand Up @@ -195,6 +205,11 @@
"name": "presalePrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "returnForOne",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "magicRaised",
Expand Down Expand Up @@ -348,6 +363,25 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_altcoin",
"type": "address"
}
],
"name": "getAltPairCoinPriceUSD",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMagicPriceUSD",
Expand Down Expand Up @@ -390,25 +424,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_shitcoin",
"type": "address"
}
],
"name": "getShitcoinPriceUSD",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "lastdeploy",
Expand Down Expand Up @@ -533,6 +548,11 @@
"name": "presalePrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "returnForOne",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "magicRaised",
Expand Down
6 changes: 3 additions & 3 deletions subgraphs/memecoins/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ dataSources:
- name: MemePresale
file: ./abis/MemePresale.json
eventHandlers:
- event: MemeMade(string,string,string,uint256,(uint256,uint256,uint256,uint256,bool,address,address,address,bool))
- event: MemeMade(string,string,string,uint256,(uint256,uint256,uint256,uint256,uint256,bool,address,address,address,bool))
handler: handleMemeMade
- event: BuySell((uint256,uint256,uint256,uint256,bool,address,address,address,bool))
- event: BuySell((uint256,uint256,uint256,uint256,uint256,bool,address,address,address,bool))
handler: handleBuySell
- event: Graduation(indexed address,(uint256,uint256,uint256,uint256,bool,address,address,address,bool))
- event: Graduation(indexed address,(uint256,uint256,uint256,uint256,uint256,bool,address,address,address,bool))
handler: handleGraduation
file: ./src/mapping.ts

0 comments on commit db2235a

Please sign in to comment.