forked from DaoCLI/daoCLI-init
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdao-config-starknet.jsonnet
85 lines (73 loc) · 2.24 KB
/
dao-config-starknet.jsonnet
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
// dao-config-starknet.jsonnet
{
// Network Configuration
network: 'mainnet-alpha', // or 'goerli-alpha', 'testnet'
providerUrl: 'https://starknet-mainnet.infura.io/v3/YOUR-PROJECT-ID',
chainId: 'SN_MAIN',
// Contract Addresses
contracts: {
dao: '0x123...abc', // Your deployed DAO contract
poolFactory: '0x456...def', // JediSwap factory
router: '0x789...ghi', // JediSwap router
},
// Fee Configuration
fees: {
tradingFee: 0.003, // 0.3%
stakingFee: 0.002, // 0.2%
managerFee: 0.08, // 8%
minFeeAmount: '1000', // in wei
},
// Pool Configuration
pool: {
defaultSlippage: 0.005, // 0.5%
maxSlippage: 0.02, // 2%
feeTier: 'FEE_TIER_MEDIUM', // JediSwap 0.3% tier
minLiquidity: '1000000', // Minimum liquidity requirement
},
// Treasury Configuration
treasury: {
minReserve: '1000000000000000000', // 1 ETH in wei
rebalanceThreshold: 0.1, // 10%
maxTradeSize: '100000000000000000000', // 100 ETH in wei
},
// Staking Configuration
staking: {
minStakePeriod: 86400, // 1 day in seconds
maxBoostMultiplier: 2.5,
rewardRate: '100000000', // Base reward rate per block
},
// Cairo Contract Specific
cairo: {
maxFeePerGas: '100000000000',
maxPriorityFeePerGas: '100000000000',
customErrors: true,
deployerAddress: '0x...', // Optional deployer address
},
// Gas Configuration
gas: {
estimateMultiplier: 1.2,
maxGasPrice: '1000000000000', // in wei
},
// Governance Configuration
governance: {
quorum: 0.1, // 10%
executionDelay: 86400, // 1 day
votingPeriod: 259200, // 3 days
proposalThreshold: '1000000000000000000000', // 1000 tokens
},
// Account Integration
account: {
implementation: '0x123...', // Account contract implementation
multicallAddress: '0x456...', // Multicall contract address
},
// Development & Debug
debug: false,
logLevel: 'info',
// Custom Validation Rules
validation: {
maxTokenAmount: '1000000000000000000000000', // 1M tokens
minTokenAmount: '1000000000000000000', // 1 token
maxEthAmount: '1000000000000000000000', // 1000 ETH
minEthAmount: '1000000000000000000', // 1 ETH
},
}