-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
60 lines (59 loc) · 1.72 KB
/
config.js
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
module.exports = {
PlutusCfg:{
"collateralAmount": 123450000,
"testnetPrefix": 'addr_test',
"mainnetPrefix": 'addr',
"maxUtxoNum": 2,
"leaderUtxoNumLimit": 3,
"maxCollacteralUtxosNum": 3
},
ErrorDef:{
"ErrorCode_NetworkException": 404,
"ErrorCode_TxSubmitFailed": 405,
"ErrorCode_TreasuryInsufficent": 406,
"ErrorCode_InSufficentUtxoForFee": 407,
"ErrorCode_InSufficentTreasuryUtxo": 408,
"ErrorCode_InSufficentGroupInfoToken": 409,
"ErrorCode_InvalidParams": 410,
"ErrorCode_EmptyScriptRefUtxo": 411,
"ErrorCode_EmptyCheckRefUtxo":412,
"ErrorCode_EmptyCheckUtxo":413,
"ErrorCode_InvalidPaymentSkey": 414
},
AdaTokenId: "0x0000000000000000000000000000000000000000",
SignAlgorithmMode: 0,
MaxConsumedUtxoTTL: 630,
MaxConsumedCheckUtxoTTL: 1500,
MaxTxTTL: 600,
MaxNftUtxoOccupiedTs: 1200,
SafeBlockHeight: 30,
SecurityBlockSlots: 600,
SecurityBlocksForCoinSelection: 5,
UtxoValidLatestSlot: 15,
ChainStatusValidLatestSlot: 40,
PriorityFactor: 5,
BalancedCfg: {
"maxUtxoListLen": 30,
"idealUtxoListLen": 20,
"minUtxoListLen": 10,
"balancedType_Merge": 0,
"balancedType_Split": 1,
"mergePolicy_Asc": 0,
"mergePolicy_Desc": 1,
"minSpitedUtxoNum": 2,
"defaultBalancedOutputNum": 1,
"maxForcedBalancedSlot": 600,
"maxPendingUtxoRatio": 75,
"configValidLatestSlot": 3600
},
CompareResult:{
"lt": -1,
"eq": 0,
"mt": 1
},
TaskType:{
"crossTask": 0,
"balancedTask": 1,
"manualTask": 2
}
}