-
Notifications
You must be signed in to change notification settings - Fork 1
/
deployments.ts
129 lines (121 loc) · 4.02 KB
/
deployments.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
import { helpers } from "@tableland/sdk";
export interface RigsDeployment {
// Contracts
contractAddress: string;
royaltyContractAddress: string;
pilotsAddress: string;
votingContractAddress: string;
missionContractAddress: string;
// Tables network
tablelandChain: helpers.ChainName;
tablelandHost:
| "https://tableland.network"
| "https://testnets.tableland.network"
| "https://staging.tableland.network"
| "http://localhost:8080";
// Table names
contractTable: string;
allowlistTable: string;
partsTable: string;
layersTable: string;
rigsTable: string;
attributesTable: string;
dealsTable: string;
lookupsTable: string;
pilotSessionsTable: string;
ftRewardsTable: string;
// Voting table names
proposalsTable: string;
ftSnapshotTable: string;
votesTable: string;
optionsTable: string;
// Mission table names
missionsTable: string;
missionContributionsTable: string;
displayAttributes: boolean;
}
export interface RigsDeployments {
[key: string]: RigsDeployment;
}
export const deployments: RigsDeployments = {
// mainnets
ethereum: {
contractAddress: "0x8EAa9AE1Ac89B1c8C8a8104D08C045f78Aadb42D",
royaltyContractAddress: "0x9BE9627e25c9f348C1edB6E46dBCa2a6669e2D56",
pilotsAddress: "0xFe688e894AAA2A8F4740d09DA8c434Eb0B1AFb5D",
votingContractAddress: "0xE9Fb4f78f23457F69f516c6806E5C9e8756C8c57",
missionContractAddress: "0x486dDBd9D085a4a8252A156AB96ec5763b3dF9B4",
tablelandChain: "arbitrum",
tablelandHost: "https://tableland.network",
contractTable: "rigs_contract_42161_12",
allowlistTable: "rigs_allowlist_42161_14",
partsTable: "parts_42161_7",
layersTable: "layers_42161_8",
rigsTable: "rigs_314_3",
attributesTable: "rig_attributes_42161_15",
dealsTable: "deals_314_4",
lookupsTable: "lookups_314_5",
pilotSessionsTable: "pilot_sessions_1_7",
ftRewardsTable: "ft_rewards_42161_18",
proposalsTable: "proposals_42161_19",
ftSnapshotTable: "ft_snapshot_42161_20",
votesTable: "votes_42161_21",
optionsTable: "options_42161_22",
missionsTable: "missions_42161_23",
missionContributionsTable: "mission_contributions_42161_24",
displayAttributes: true,
},
// testnets
"polygon-mumbai": {
contractAddress: "0xCA019FF8C4257Fc02F94C8B0E34B3787DA850A78",
royaltyContractAddress: "0xd8E1803C479DFFf004B46F1560c575Acc5bf25A0",
pilotsAddress: "0x1Ae76F54c561f32c24c74A562353D085C010a2E8",
votingContractAddress: "0x3d06EB64C20dD24D613b200325D1E55517E41591",
missionContractAddress: "0xB169B0bED3e4cA014dC329318935E0Dcf50e14b6",
tablelandChain: "maticmum",
tablelandHost: "https://testnets.tableland.network",
contractTable: "rigs_contract_80001_7136",
allowlistTable: "rigs_allowlist_80001_7135",
partsTable: "parts_80001_4038",
layersTable: "layers_80001_4039",
rigsTable: "rigs_314159_9",
attributesTable: "rig_attributes_80001_4040",
dealsTable: "deals_314159_8",
lookupsTable: "lookups_314159_10",
pilotSessionsTable: "pilot_sessions_80001_7137",
ftRewardsTable: "ft_rewards_80001_7138",
proposalsTable: "proposals_80001_7139",
ftSnapshotTable: "ft_snapshot_80001_7140",
votesTable: "votes_80001_7141",
optionsTable: "options_80001_7142",
missionsTable: "missions_80001_7223",
missionContributionsTable: "mission_contributions_80001_7224",
displayAttributes: true,
},
localhost: {
contractAddress: "",
royaltyContractAddress: "",
pilotsAddress: "",
votingContractAddress: "",
missionContractAddress: "",
tablelandChain: "local-tableland",
tablelandHost: "http://localhost:8080",
contractTable: "",
allowlistTable: "",
partsTable: "",
layersTable: "",
rigsTable: "",
attributesTable: "",
dealsTable: "",
lookupsTable: "",
pilotSessionsTable: "",
ftRewardsTable: "",
proposalsTable: "",
ftSnapshotTable: "",
votesTable: "",
optionsTable: "",
missionsTable: "",
missionContributionsTable: "",
displayAttributes: true,
},
};