-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathproduction.env-config.ts
More file actions
100 lines (82 loc) · 2.09 KB
/
production.env-config.ts
File metadata and controls
100 lines (82 loc) · 2.09 KB
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
import { EnvConfig, FeatureId } from "@/common/types";
export const envConfig: EnvConfig = {
platformName: "POTLOCK",
network: "mainnet" as const,
contractMetadata: {
version: "0.1.0",
repoUrl: "https://github.com/PotLock/core",
},
indexer: {
api: { endpointUrl: "https://api.potlock.io" },
},
core: {
namespaceRoot: {
contract: { accountId: "potlock.near" },
},
campaigns: {
contract: { accountId: "v1.campaigns.staging.potlock.near" },
},
donation: {
contract: { accountId: "donate.potlock.near" },
},
lists: {
contract: { accountId: "lists.potlock.near" },
},
potFactory: {
contract: { accountId: "v1.potfactory.potlock.near" },
},
sybil: {
app: { url: "https://app.nada.bot" },
contract: { accountId: "v1.nadabot.near" },
},
voting: {
// TODO: Figure out a way to store pot-associated voting contract instances on backend / chain
//! Be careful when refactoring this
contract: { accountId: "mpdao.vote.potlock.near" },
},
},
social: {
platformName: "NEAR Social",
app: { url: "https://near.social" },
contract: { accountId: "social.near" },
},
deFi: {
metapool: {
liquidStakingContract: {
accountId: "meta-pool.near",
},
},
refFinance: {
exchangeContract: {
accountId: "v2.ref-finance.near",
},
},
},
features: {
[FeatureId.ProfileConfiguration]: {
id: FeatureId.ProfileConfiguration,
name: "Profile configuration",
isEnabled: true,
},
[FeatureId.FtDonation]: {
id: FeatureId.FtDonation,
name: "Non-pot FT donations",
isEnabled: true,
},
[FeatureId.PotFtDonation]: {
id: FeatureId.PotFtDonation,
name: "Pot FT donations",
isEnabled: false,
},
[FeatureId.DirectNativeTokenDonation]: {
id: FeatureId.DirectNativeTokenDonation,
name: "Direct native token donation",
isEnabled: true,
},
[FeatureId.Cart]: {
id: FeatureId.Cart,
name: "Cart",
isEnabled: false,
},
},
};