Skip to content

Commit 4dd0971

Browse files
update deployedContracts and blocknumber (#2)
1 parent daa76d4 commit 4dd0971

File tree

2 files changed

+34
-50
lines changed

2 files changed

+34
-50
lines changed

packages/nextjs/contracts/deployedContracts.ts

Lines changed: 32 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
77
const deployedContracts = {
88
10: {
99
Challenge1: {
10-
address: "0xa7B10E979c704ad5Fa20c45C221283fC3005dCD0",
10+
address: "0xfa2Aad507B1Fa963A1fd6F8a491A7088Cd4538A5",
1111
abi: [
1212
{
1313
inputs: [
@@ -26,7 +26,7 @@ const deployedContracts = {
2626
{
2727
indexed: true,
2828
internalType: "address",
29-
name: "team",
29+
name: "player",
3030
type: "address",
3131
},
3232
{
@@ -35,76 +35,60 @@ const deployedContracts = {
3535
name: "name",
3636
type: "string",
3737
},
38-
{
39-
indexed: false,
40-
internalType: "uint8",
41-
name: "teamSize",
42-
type: "uint8",
43-
},
4438
],
45-
name: "TeamInit",
39+
name: "BuilderInit",
4640
type: "event",
4741
},
4842
{
49-
inputs: [],
50-
name: "nftContract",
51-
outputs: [
43+
inputs: [
5244
{
5345
internalType: "address",
5446
name: "",
5547
type: "address",
5648
},
5749
],
58-
stateMutability: "view",
59-
type: "function",
60-
},
61-
{
62-
inputs: [
50+
name: "builderNames",
51+
outputs: [
6352
{
6453
internalType: "string",
65-
name: "_name",
54+
name: "",
6655
type: "string",
6756
},
68-
{
69-
internalType: "uint8",
70-
name: "_teamSize",
71-
type: "uint8",
72-
},
7357
],
74-
name: "registerTeam",
75-
outputs: [],
76-
stateMutability: "nonpayable",
58+
stateMutability: "view",
7759
type: "function",
7860
},
7961
{
80-
inputs: [
62+
inputs: [],
63+
name: "nftContract",
64+
outputs: [
8165
{
8266
internalType: "address",
8367
name: "",
8468
type: "address",
8569
},
8670
],
87-
name: "teamInfo",
88-
outputs: [
71+
stateMutability: "view",
72+
type: "function",
73+
},
74+
{
75+
inputs: [
8976
{
9077
internalType: "string",
91-
name: "name",
78+
name: "_name",
9279
type: "string",
9380
},
94-
{
95-
internalType: "uint8",
96-
name: "teamSize",
97-
type: "uint8",
98-
},
9981
],
100-
stateMutability: "view",
82+
name: "registerMe",
83+
outputs: [],
84+
stateMutability: "nonpayable",
10185
type: "function",
10286
},
10387
],
10488
inheritedFunctions: {},
10589
},
10690
Challenge11: {
107-
address: "0x7ECA62F753aD6311243cC1879b25c2AEcf2A3B27",
91+
address: "0x67392ea0A56075239988B8E1E96663DAC167eF54",
10892
abi: [
10993
{
11094
inputs: [
@@ -141,7 +125,7 @@ const deployedContracts = {
141125
inheritedFunctions: {},
142126
},
143127
Challenge12: {
144-
address: "0x0660E2aE0C4E5f78d5859bd0F522CD22da5e9132",
128+
address: "0x8c7A3c2c44aB16f693d1731b10C271C7d2967769",
145129
abi: [
146130
{
147131
inputs: [
@@ -242,7 +226,7 @@ const deployedContracts = {
242226
inheritedFunctions: {},
243227
},
244228
Challenge2: {
245-
address: "0xf5B83881611cF10d1aB6959Adb938E4bF623bEF3",
229+
address: "0x0b997E0a306c47EEc755Df75fad7F41977C5582d",
246230
abi: [
247231
{
248232
inputs: [
@@ -279,7 +263,7 @@ const deployedContracts = {
279263
inheritedFunctions: {},
280264
},
281265
Challenge3: {
282-
address: "0x3e0a359430597B8FfdC58D0454c40be6d58F2953",
266+
address: "0x03bF70f50fcF9420f27e31B47805bbd8f2f52571",
283267
abi: [
284268
{
285269
inputs: [
@@ -316,7 +300,7 @@ const deployedContracts = {
316300
inheritedFunctions: {},
317301
},
318302
Challenge4: {
319-
address: "0x225192187ecCd772e1c09CDb222aea724952B090",
303+
address: "0x9c4A48Dd70a3219877a252E9a0d45Fc1Db808a1D",
320304
abi: [
321305
{
322306
inputs: [
@@ -540,7 +524,7 @@ const deployedContracts = {
540524
},
541525
},
542526
Challenge5: {
543-
address: "0x3F7b6F224c54010F431267650073660a5a60b688",
527+
address: "0xB76AdFe9a791367A8fCBC2FDa44cB1a2c39D8F59",
544528
abi: [
545529
{
546530
inputs: [
@@ -623,7 +607,7 @@ const deployedContracts = {
623607
inheritedFunctions: {},
624608
},
625609
Challenge6: {
626-
address: "0xd14692e239349F0FaFCA47191d202fE8e10704c7",
610+
address: "0x75961D2da1DEeBaEC24cD0E180187E6D55F55840",
627611
abi: [
628612
{
629613
inputs: [
@@ -679,7 +663,7 @@ const deployedContracts = {
679663
inheritedFunctions: {},
680664
},
681665
Challenge7: {
682-
address: "0xC63096b2Ff13c2170950ce033B2fa393f28806bA",
666+
address: "0xC962D4f4E772415475AA46Eed06cb1F2D4010c0A",
683667
abi: [
684668
{
685669
inputs: [
@@ -743,7 +727,7 @@ const deployedContracts = {
743727
inheritedFunctions: {},
744728
},
745729
Challenge7Delegate: {
746-
address: "0xe2Fd89413Bc582C66C4CFc57B3Cb51290059e89D",
730+
address: "0x0189C48307594A4A542E4851789e9585198d7420",
747731
abi: [
748732
{
749733
inputs: [
@@ -793,12 +777,12 @@ const deployedContracts = {
793777
inheritedFunctions: {},
794778
},
795779
Challenge8: {
796-
address: "0x68927fE4bf2076Ae4DEbdAb101363F1CCF22AD50",
780+
address: "0x663145aA2918282A4F96af66320A5046C7009573",
797781
abi: [],
798782
inheritedFunctions: {},
799783
},
800784
Challenge9: {
801-
address: "0x7B725DF0E96A0490b0541ebB70257c3a170122bB",
785+
address: "0x1Fd913F2250ae5A4d9F8881ADf3153C6e5E2cBb1",
802786
abi: [
803787
{
804788
inputs: [
@@ -846,7 +830,7 @@ const deployedContracts = {
846830
inheritedFunctions: {},
847831
},
848832
NFTFlags: {
849-
address: "0x201750186f1b7e434373475713d9bcba0dF75eD5",
833+
address: "0xc1Ebd7a78FE7c075035c516B916A7FB3f33c26cE",
850834
abi: [
851835
{
852836
inputs: [

packages/nextjs/scaffold.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ export type ScaffoldConfig = {
1212
const scaffoldConfig = {
1313
// The networks on which your DApp is live
1414
// TODO: Change to OP when live
15-
targetNetworks: [chains.hardhat],
15+
targetNetworks: [chains.optimism],
1616

1717
// startBlock for indexer
1818
// TODO: Change to the right block when live
19-
startBlock: 0,
19+
startBlock: 130627582,
2020

2121
// The interval at which your front-end polls the RPC servers for new data
2222
// it has no effect if you only target the local network (default is 4000)

0 commit comments

Comments
 (0)