Skip to content

Commit 5d850c5

Browse files
committed
update mainnet data
1 parent 292f840 commit 5d850c5

File tree

2 files changed

+55
-66
lines changed

2 files changed

+55
-66
lines changed

src/data/contracts/TenYearsNFT.json

Lines changed: 49 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"address": "0x5FbDB2315678afecb367f032d93F642f64180aa3",
3-
"blockNumber": 1,
42
"abi": [
53
{
64
"inputs": [
@@ -23,6 +21,16 @@
2321
"internalType": "string",
2422
"name": "baseURI",
2523
"type": "string"
24+
},
25+
{
26+
"internalType": "uint256",
27+
"name": "_startTime",
28+
"type": "uint256"
29+
},
30+
{
31+
"internalType": "uint256",
32+
"name": "_endTime",
33+
"type": "uint256"
2634
}
2735
],
2836
"stateMutability": "nonpayable",
@@ -131,16 +139,6 @@
131139
"name": "ERC721NonexistentToken",
132140
"type": "error"
133141
},
134-
{
135-
"inputs": [],
136-
"name": "EnforcedPause",
137-
"type": "error"
138-
},
139-
{
140-
"inputs": [],
141-
"name": "ExpectedPause",
142-
"type": "error"
143-
},
144142
{
145143
"inputs": [
146144
{
@@ -237,19 +235,6 @@
237235
"name": "OwnershipTransferred",
238236
"type": "event"
239237
},
240-
{
241-
"anonymous": false,
242-
"inputs": [
243-
{
244-
"indexed": false,
245-
"internalType": "address",
246-
"name": "account",
247-
"type": "address"
248-
}
249-
],
250-
"name": "Paused",
251-
"type": "event"
252-
},
253238
{
254239
"anonymous": false,
255240
"inputs": [
@@ -294,19 +279,6 @@
294279
"name": "Transfer",
295280
"type": "event"
296281
},
297-
{
298-
"anonymous": false,
299-
"inputs": [
300-
{
301-
"indexed": false,
302-
"internalType": "address",
303-
"name": "account",
304-
"type": "address"
305-
}
306-
],
307-
"name": "Unpaused",
308-
"type": "event"
309-
},
310282
{
311283
"inputs": [
312284
{
@@ -344,6 +316,19 @@
344316
"stateMutability": "view",
345317
"type": "function"
346318
},
319+
{
320+
"inputs": [],
321+
"name": "endTime",
322+
"outputs": [
323+
{
324+
"internalType": "uint256",
325+
"name": "",
326+
"type": "uint256"
327+
}
328+
],
329+
"stateMutability": "view",
330+
"type": "function"
331+
},
347332
{
348333
"inputs": [
349334
{
@@ -406,6 +391,19 @@
406391
"stateMutability": "view",
407392
"type": "function"
408393
},
394+
{
395+
"inputs": [],
396+
"name": "isMintingActive",
397+
"outputs": [
398+
{
399+
"internalType": "bool",
400+
"name": "",
401+
"type": "bool"
402+
}
403+
],
404+
"stateMutability": "view",
405+
"type": "function"
406+
},
409407
{
410408
"inputs": [],
411409
"name": "mint",
@@ -458,26 +456,6 @@
458456
"stateMutability": "view",
459457
"type": "function"
460458
},
461-
{
462-
"inputs": [],
463-
"name": "pause",
464-
"outputs": [],
465-
"stateMutability": "nonpayable",
466-
"type": "function"
467-
},
468-
{
469-
"inputs": [],
470-
"name": "paused",
471-
"outputs": [
472-
{
473-
"internalType": "bool",
474-
"name": "",
475-
"type": "bool"
476-
}
477-
],
478-
"stateMutability": "view",
479-
"type": "function"
480-
},
481459
{
482460
"inputs": [],
483461
"name": "renounceOwnership",
@@ -567,6 +545,19 @@
567545
"stateMutability": "nonpayable",
568546
"type": "function"
569547
},
548+
{
549+
"inputs": [],
550+
"name": "startTime",
551+
"outputs": [
552+
{
553+
"internalType": "uint256",
554+
"name": "",
555+
"type": "uint256"
556+
}
557+
],
558+
"stateMutability": "view",
559+
"type": "function"
560+
},
570561
{
571562
"inputs": [
572563
{
@@ -666,13 +657,6 @@
666657
"outputs": [],
667658
"stateMutability": "nonpayable",
668659
"type": "function"
669-
},
670-
{
671-
"inputs": [],
672-
"name": "unpause",
673-
"outputs": [],
674-
"stateMutability": "nonpayable",
675-
"type": "function"
676660
}
677661
]
678662
}

src/data/contracts/TenYearsNFT.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { hardhat, sepolia } from "wagmi/chains"
1+
import { hardhat, mainnet, sepolia } from "wagmi/chains"
22

33
import TenYearsNFT from "./TenYearsNFT.json"
44

@@ -13,6 +13,11 @@ export const TEN_YEARS_NFT_CONTRACTS = {
1313
blockNumber: 8863414,
1414
abi: TenYearsNFT.abi,
1515
},
16+
[mainnet.id]: {
17+
address: "0x26d85a13212433fe6a8381969c2b0db390a0b0ae",
18+
blockNumber: 23023215,
19+
abi: TenYearsNFT.abi,
20+
},
1621
} as const
1722

1823
export const getTenYearsNFTContract = (chainId: number) => {

0 commit comments

Comments
 (0)