-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
120 lines (120 loc) · 7.61 KB
/
config.json
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
{
"rpc":"wss://parachain-rpc.origin-trail.network",
"sync_other_tx":true,
"chain_id":2043,
"hub_addr":"0x5fA7916c48Fe6D5F1738d12Ad234b78c90B4cAdA",
"v2_abi_block":2164677,
"v3_abi_block":4790533,
"db_host":"127.0.0.1",
"db_user":"otp_sync_rpc",
"db_password":"otp_sync_rpc_password",
"db_name":"sync_otp_mainnet",
"start_block":1346270,
"deadlock_max_retries":5,
"deadlock_retry_delay":0.1,
"rpc_max_retries":10,
"rpc_retry_delay":60,
"sync_window":300,
"sync_pause":120,
"sync_lag":20,
"sync_missed_range":false,
"to_missed_range":0,
"contract_events_v1":{
"Assertion":["AssertionCreated"],
"CommitManagerV1":["CommitSubmitted"],
"ContentAsset":["AssetBurnt","AssetMinted","AssetPaymentIncreased","AssetStateUpdated"],
"ContentAssetStorage":["Transfer"],
"Hub":["AssetStorageChanged","ContractChanged","NewAssetStorage","NewContract"],
"Identity":["IdentityCreated","IdentityDeleted"],
"IdentityStorage":["KeyAdded","KeyRemoved"],
"Profile":["AskUpdated","ProfileCreated","ProfileDeleted"],
"ServiceAgreementV1":["CommitSubmitted","ProofSubmitted","ServiceAgreementV1Created","ServiceAgreementV1Extended","ServiceAgreementV1RewardRaised","ServiceAgreementV1Terminated"],
"ShardingTable":["NodeAdded","NodeRemoved"],
"Staking":["OperatorFeeUpdated","RewardAdded","StakeIncreased","StakeWithdrawalStarted","StakeWithdrawn"],
"Token":["Transfer","Approval"]
},
"contract_functions_v1":{
"Assertion":["createAssertion"],
"CommitManagerV1":["submitCommit"],
"ContentAsset":["createAsset","createAssetWithVariables"],
"ContentAssetStorage":[],
"Hub":["setAssetStorageAddress","setContractAddress"],
"Identity":["addKey","createIdentity","deleteIdentity","removeKey"],
"IdentityStorage":["setOperationalKeyIdentityId","removeOperationalKeyIdentityId"],
"Profile":["createProfile","setAsk"],
"ServiceAgreementV1":["createServiceAgreement","sendProof","submitCommit"],
"ShardingTable":["pushBack","pushFront","removeNode"],
"Staking":["addStake","startStakeWithdrawal","withdrawStake","addReward","setOperatorFee","slash"],
"Token":["transfer","allowance","approve","mint","transferFrom"]
},
"contract_events_v2":{
"Assertion":["AssertionCreated"],
"CommitManagerV1":["CommitSubmitted"],
"CommitManagerV1U1":["CommitSubmitted","StateFinalized"],
"ContentAsset":["AssetBurnt","AssetMinted","AssetPaymentIncreased","AssetStateUpdated","AssetStateUpdateCanceled","AssetStoringPeriodExtended","AssetUpdatePaymentIncreased"],
"ContentAssetStorage":["Transfer"],
"Hub":["AssetStorageChanged","ContractChanged","NewAssetStorage","NewContract"],
"Identity":["IdentityCreated","IdentityDeleted"],
"IdentityStorage":["KeyAdded","KeyRemoved"],
"Profile":["AskUpdated","ProfileCreated","ProfileDeleted"],
"ProofManagerV1":["ProofSubmitted"],
"ProofManagerV1U1":["ProofSubmitted"],
"ServiceAgreementV1":["ServiceAgreementV1Created","ServiceAgreementV1Extended","ServiceAgreementV1RewardRaised","ServiceAgreementV1Terminated","ServiceAgreementV1UpdateRewardRaised"],
"ShardingTable":["NodeAdded","NodeRemoved"],
"Staking":["OperatorFeeUpdated","AccumulatedOperatorFeeIncreased","StakeIncreased","StakeWithdrawalStarted","StakeWithdrawn"],
"Token":["Transfer","Approval"]
},
"contract_functions_v2":{
"Assertion":["createAssertion"],
"CommitManagerV1":["submitCommit"],
"CommitManagerV1U1":["submitUpdateCommit","submitCommit"],
"ContentAsset":["createAsset","createAssetWithVariables","cancelAssetStateUpdate","burnAsset","extendAssetStoringPeriod","increaseAssetTokenAmount","increaseAssetUpdateTokenAmount","updateAssetState"],
"ContentAssetStorage":[],
"Hub":["setAssetStorageAddress","setContractAddress"],
"Identity":["addKey","createIdentity","deleteIdentity","removeKey"],
"IdentityStorage":["setOperationalKeyIdentityId","removeOperationalKeyIdentityId"],
"Profile":["createProfile","setAsk"],
"ProofManagerV1":["sendProof","getChallenge"],
"ProofManagerV1U1":["sendProof","getChallenge"],
"ServiceAgreementV1":["addTokens","addUpdateTokens","createServiceAgreement","extendStoringPeriod","sendProof","submitCommit","terminateAgreement"],
"ShardingTable":["pushBack","pushFront","removeNode"],
"Staking":["addStake","startStakeWithdrawal","withdrawStake","addReward","setOperatorFee","slash"],
"Token":["transfer","approve","mint","transferFrom"]
},
"contract_events_v3":{
"Assertion":["AssertionCreated"],
"CommitManagerV1":["CommitSubmitted"],
"CommitManagerV1U1":["CommitSubmitted","StateFinalized"],
"ContentAsset":["AssetBurnt","AssetMinted","AssetPaymentIncreased","AssetStateUpdated","AssetStateUpdateCanceled","AssetStoringPeriodExtended","AssetUpdatePaymentIncreased"],
"ContentAssetStorage":["Transfer"],
"Hub":["AssetStorageChanged","ContractChanged","NewAssetStorage","NewContract"],
"Identity":["IdentityCreated","IdentityDeleted"],
"IdentityStorage":["KeyAdded","KeyRemoved"],
"Paranet":["KnowledgeAssetSubmittedToParanet","ParanetMetadataUpdated","ParanetRegistered","ParanetServiceAdded","ParanetServiceRegistered","ParanetServiceMetadataUpdated"],
"Profile":["AskUpdated","ProfileCreated","ProfileDeleted","AccumulatedOperatorFeeRestaked","AccumulatedOperatorFeeWithdrawalStarted","AccumulatedOperatorFeeWithdrawn"],
"ProofManagerV1":["ProofSubmitted"],
"ProofManagerV1U1":["ProofSubmitted"],
"ServiceAgreementV1":["ServiceAgreementV1Created","ServiceAgreementV1Extended","ServiceAgreementV1RewardRaised","ServiceAgreementV1Terminated","ServiceAgreementV1UpdateRewardRaised"],
"ShardingTable":["NodeAdded","NodeRemoved"],
"Staking":["AccumulatedOperatorFeeIncreased","StakeIncreased","StakeWithdrawalStarted","StakeWithdrawn","OperatorFeeChangeFinished","OperatorFeeChangeStarted","RewardCollected","SharesBurned","SharesMinted","StakeWithdrawalCanceled"],
"Token":["Transfer","Approval"]
},
"contract_functions_v3":{
"Assertion":["createAssertion"],
"CommitManagerV1":["submitCommit"],
"CommitManagerV1U1":["submitUpdateCommit","submitCommit"],
"ContentAsset":["createAsset","createAssetWithVariables","cancelAssetStateUpdate","burnAsset","extendAssetStoringPeriod","increaseAssetTokenAmount","increaseAssetUpdateTokenAmount","updateAssetState"],
"ContentAssetStorage":[],
"Hub":["setAssetStorageAddress","setContractAddress"],
"Identity":["addKey","createIdentity","deleteIdentity","removeKey","addOperationalWallets"],
"IdentityStorage":["setOperationalKeyIdentityId","removeOperationalKeyIdentityId"],
"Paranet":[],
"Profile":["createProfile","setAsk","stakeAccumulatedOperatorFee","startAccumulatedOperatorFeeWithdrawal"],
"ProofManagerV1":["sendProof","getChallenge"],
"ProofManagerV1U1":["sendProof","getChallenge"],
"ServiceAgreementV1":["addTokens","addUpdateTokens","createServiceAgreement","extendStoringPeriod","sendProof","submitCommit","terminateAgreement"],
"ShardingTable":["pushBack","pushFront","removeNode"],
"Staking":["addStake","startStakeWithdrawal","withdrawStake","addReward","slash","finishOperatorFeeChange","startOperatorFeeChange","cancelStakeWithdrawal"],
"Token":["transfer","allowance","approve","mint","transferFrom"]
}
}