ddx-python 1.0.5__cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ddx/.gitignore +1 -0
- ddx/__init__.py +58 -0
- ddx/_rust/__init__.pyi +2009 -0
- ddx/_rust/common/__init__.pyi +17 -0
- ddx/_rust/common/accounting.pyi +6 -0
- ddx/_rust/common/enums.pyi +3 -0
- ddx/_rust/common/requests/__init__.pyi +21 -0
- ddx/_rust/common/requests/intents.pyi +19 -0
- ddx/_rust/common/specs.pyi +17 -0
- ddx/_rust/common/state/__init__.pyi +41 -0
- ddx/_rust/common/state/keys.pyi +29 -0
- ddx/_rust/common/transactions.pyi +7 -0
- ddx/_rust/decimal.pyi +3 -0
- ddx/_rust/h256.pyi +3 -0
- ddx/_rust.abi3.so +0 -0
- ddx/app_config/ethereum/addresses.json +541 -0
- ddx/auditor/README.md +32 -0
- ddx/auditor/__init__.py +0 -0
- ddx/auditor/auditor_driver.py +1034 -0
- ddx/auditor/websocket_message.py +54 -0
- ddx/common/__init__.py +0 -0
- ddx/common/epoch_params.py +28 -0
- ddx/common/fill_context.py +144 -0
- ddx/common/item_utils.py +38 -0
- ddx/common/logging.py +184 -0
- ddx/common/market_specs.py +64 -0
- ddx/common/trade_mining_params.py +19 -0
- ddx/common/transaction_utils.py +85 -0
- ddx/common/transactions/__init__.py +0 -0
- ddx/common/transactions/advance_epoch.py +91 -0
- ddx/common/transactions/advance_settlement_epoch.py +63 -0
- ddx/common/transactions/all_price_checkpoints.py +84 -0
- ddx/common/transactions/cancel.py +76 -0
- ddx/common/transactions/cancel_all.py +88 -0
- ddx/common/transactions/complete_fill.py +103 -0
- ddx/common/transactions/disaster_recovery.py +97 -0
- ddx/common/transactions/event.py +48 -0
- ddx/common/transactions/fee_distribution.py +119 -0
- ddx/common/transactions/funding.py +294 -0
- ddx/common/transactions/futures_expiry.py +123 -0
- ddx/common/transactions/genesis.py +108 -0
- ddx/common/transactions/inner/__init__.py +0 -0
- ddx/common/transactions/inner/adl_outcome.py +25 -0
- ddx/common/transactions/inner/fill.py +227 -0
- ddx/common/transactions/inner/liquidated_position.py +41 -0
- ddx/common/transactions/inner/liquidation_entry.py +41 -0
- ddx/common/transactions/inner/liquidation_fill.py +118 -0
- ddx/common/transactions/inner/outcome.py +32 -0
- ddx/common/transactions/inner/trade_fill.py +125 -0
- ddx/common/transactions/insurance_fund_update.py +142 -0
- ddx/common/transactions/insurance_fund_withdraw.py +99 -0
- ddx/common/transactions/liquidation.py +357 -0
- ddx/common/transactions/partial_fill.py +125 -0
- ddx/common/transactions/pnl_realization.py +122 -0
- ddx/common/transactions/post.py +72 -0
- ddx/common/transactions/post_order.py +95 -0
- ddx/common/transactions/price_checkpoint.py +96 -0
- ddx/common/transactions/signer_registered.py +62 -0
- ddx/common/transactions/specs_update.py +61 -0
- ddx/common/transactions/strategy_update.py +156 -0
- ddx/common/transactions/tradable_product_update.py +98 -0
- ddx/common/transactions/trade_mining.py +147 -0
- ddx/common/transactions/trader_update.py +105 -0
- ddx/common/transactions/withdraw.py +91 -0
- ddx/common/transactions/withdraw_ddx.py +74 -0
- ddx/common/utils.py +176 -0
- ddx/config.py +17 -0
- ddx/derivadex_client.py +254 -0
- ddx/py.typed +0 -0
- ddx/realtime_client/__init__.py +2 -0
- ddx/realtime_client/config.py +2 -0
- ddx/realtime_client/logs/pytest.log +0 -0
- ddx/realtime_client/models/__init__.py +683 -0
- ddx/realtime_client/realtime_client.py +567 -0
- ddx/rest_client/__init__.py +0 -0
- ddx/rest_client/clients/__init__.py +0 -0
- ddx/rest_client/clients/base_client.py +60 -0
- ddx/rest_client/clients/market_client.py +1241 -0
- ddx/rest_client/clients/on_chain_client.py +432 -0
- ddx/rest_client/clients/signed_client.py +301 -0
- ddx/rest_client/clients/system_client.py +843 -0
- ddx/rest_client/clients/trade_client.py +335 -0
- ddx/rest_client/constants/__init__.py +0 -0
- ddx/rest_client/constants/endpoints.py +67 -0
- ddx/rest_client/contracts/__init__.py +0 -0
- ddx/rest_client/contracts/checkpoint/__init__.py +560 -0
- ddx/rest_client/contracts/ddx/__init__.py +1949 -0
- ddx/rest_client/contracts/dummy_token/__init__.py +1014 -0
- ddx/rest_client/contracts/i_collateral/__init__.py +1414 -0
- ddx/rest_client/contracts/i_stake/__init__.py +696 -0
- ddx/rest_client/exceptions/__init__.py +0 -0
- ddx/rest_client/exceptions/exceptions.py +32 -0
- ddx/rest_client/http/__init__.py +0 -0
- ddx/rest_client/http/http_client.py +305 -0
- ddx/rest_client/models/__init__.py +0 -0
- ddx/rest_client/models/market.py +683 -0
- ddx/rest_client/models/signed.py +60 -0
- ddx/rest_client/models/system.py +390 -0
- ddx/rest_client/models/trade.py +140 -0
- ddx/rest_client/utils/__init__.py +0 -0
- ddx/rest_client/utils/encryption_utils.py +26 -0
- ddx_python-1.0.5.dist-info/METADATA +63 -0
- ddx_python-1.0.5.dist-info/RECORD +104 -0
- ddx_python-1.0.5.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
{
|
|
2
|
+
"derivadex": {
|
|
3
|
+
"addresses": {
|
|
4
|
+
"ddxAddress": "0x3A880652F47bFaa771908C07Dd8673A787dAEd3A",
|
|
5
|
+
"ddxWalletCloneableAddress": "0xc1e9e37c8bc1ef53dc5843a14407ee8743edfb3a",
|
|
6
|
+
"derivaDEXAddress": "0x6fb8aa6fc6f27e591423009194529ae126660027",
|
|
7
|
+
"diFundTokenFactoryAddress": "0xe49478b6973e7c9e0236081c89c609643f4ff91c",
|
|
8
|
+
"governanceAddress": "0xbfd5a73bafc692190846e04fa7b3f22325b249c2",
|
|
9
|
+
"governanceDip12Address": "0x0000000000000000000000000000000000000000",
|
|
10
|
+
"insuranceFundAddress": "0xccf3d6ed3e7db4c0274db2e1b921b87838ce656e",
|
|
11
|
+
"pauseAddress": "0x0c8813521196614c85c2fb121fb22f52dc94111a",
|
|
12
|
+
"traderAddress": "0xcb71303f4681aec73e137d096e0ef22464fe0d66",
|
|
13
|
+
"usdtAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
14
|
+
"ausdtAddress": "0x0000000000000000000000000000000000000000",
|
|
15
|
+
"cusdtAddress": "0xf650c3d88d12db855b8bf7d11be6c55a4e07dcc9",
|
|
16
|
+
"usdcAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
17
|
+
"ausdcAddress": "0x0000000000000000000000000000000000000000",
|
|
18
|
+
"cusdcAddress": "0x39aa39c021dfbae8fac545936693ac917d5e7563",
|
|
19
|
+
"husdAddress": "0xdf574c24545e5ffecb9a659c229253d4111d87e1",
|
|
20
|
+
"gusdAddress": "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",
|
|
21
|
+
"gnosisSafeAddress": "0x6851d6fdfafd08c0295c392436245e5bc78b0185",
|
|
22
|
+
"gnosisSafeProxyFactoryAddress": "0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B",
|
|
23
|
+
"createCallAddress": "0x8538FcBccba7f5303d2C679Fa5d7A629A8c9bf4A",
|
|
24
|
+
"gnosisSafeProxyAddress": "0xD29FC595d45b9E86684258F7aEf02e27234FD744",
|
|
25
|
+
"bannerAddress": "0x9058f01e335599d8f5e1ea121f399091e810bff1",
|
|
26
|
+
"fundedInsuranceFundAddress": "0x5930cff9702f4e60e77d4f72178959b5afa514fa",
|
|
27
|
+
"fundedInsuranceFundDip12Address": "0x5930cff9702f4e60e77d4f72178959b5afa514fa",
|
|
28
|
+
"checkpointAddress": "0x7e9487aa950a68bacebcf8f6ff32ed30697516a6",
|
|
29
|
+
"registrationAddress": "0x1d3a4fdb4b9dcf902f52de06182fc58479034b56",
|
|
30
|
+
"initializeAppAddress": "0x0000000000000000000000000000000000000000",
|
|
31
|
+
"specsAddress": "0x938954aa5d82217fca3042263db336edfff48402",
|
|
32
|
+
"collateralAddress": "0x948630073344ed10c584c713240845104b18ef4f",
|
|
33
|
+
"collateralDip12Address": "0x0000000000000000000000000000000000000000",
|
|
34
|
+
"custodianAddress": "0xe94a49d74eb1a8afdb02f95f577ed9179465d44f",
|
|
35
|
+
"rejectAddress": "0xc2717f949810f452be9bcbee934e83b54c8990a0",
|
|
36
|
+
"stakeAddress": "0xf77b32657cc47af939fc329d919037ba8fbcde32",
|
|
37
|
+
"stakeDip12Address": "0x0000000000000000000000000000000000000000",
|
|
38
|
+
"pilotResetAddress": "0x0000000000000000000000000000000000000000"
|
|
39
|
+
},
|
|
40
|
+
"chainId": 1,
|
|
41
|
+
"ethRpcUrl": "https://eth-mainnet.g.alchemy.com/v2/zrDFW-2iUnFria8U_RyK4sYxXzgu38Ss"
|
|
42
|
+
},
|
|
43
|
+
"staging": {
|
|
44
|
+
"addresses": {
|
|
45
|
+
"ddxAddress": "0x9755e77d5cebb77d5733a0b69aace7d346bb3037",
|
|
46
|
+
"ddxWalletCloneableAddress": "0xcb52356c840cd417ae678b9985c9617d1ef655eb",
|
|
47
|
+
"derivaDEXAddress": "0xa51e331dcbe8d6f987230bcfed662aab9ce17691",
|
|
48
|
+
"diFundTokenFactoryAddress": "0x84c0a5f6757e9c49cf51002997f81d8aa8c89300",
|
|
49
|
+
"governanceAddress": "0x4e59e84ffe91bad132d0b2e0f6e0fef79e93fb36",
|
|
50
|
+
"governanceDip12Address": "0x9a590abe1342cb89b0593276c8b733123afd0676",
|
|
51
|
+
"insuranceFundAddress": "0x37bc17477cdc1325ba4a6394e9ec35ba4ae0008d",
|
|
52
|
+
"pauseAddress": "0x572a885f2828aed44e6afbb27024c9bcf0ad6d54",
|
|
53
|
+
"traderAddress": "0xac0f1b8d822ebc4823fe11ca090cc1a8526a5635",
|
|
54
|
+
"usdtAddress": "0x297097a34a6414f81da78735930732b7a58be8a7",
|
|
55
|
+
"ausdtAddress": "0x0000000000000000000000000000000000000000",
|
|
56
|
+
"cusdtAddress": "0x0000000000000000000000000000000000000000",
|
|
57
|
+
"usdcAddress": "0x781055cc9129e1ed1298b9e8305c3733233e984f",
|
|
58
|
+
"cusdcAddress": "0x0000000000000000000000000000000000000000",
|
|
59
|
+
"ausdcAddress": "0x0000000000000000000000000000000000000000",
|
|
60
|
+
"husdAddress": "0x0000000000000000000000000000000000000000",
|
|
61
|
+
"gusdAddress": "0x0000000000000000000000000000000000000000",
|
|
62
|
+
"gnosisSafeAddress": "0x0000000000000000000000000000000000000000",
|
|
63
|
+
"gnosisSafeProxyFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
64
|
+
"gnosisSafeProxyAddress": "0x0000000000000000000000000000000000000000",
|
|
65
|
+
"createCallAddress": "0x0000000000000000000000000000000000000000",
|
|
66
|
+
"bannerAddress": "0x187edb93ced4df1e273baef1430f6c668ec138e9",
|
|
67
|
+
"fundedInsuranceFundAddress": "0x1e0d7fbcd471b254be24af64faa481500c6f7fd9",
|
|
68
|
+
"fundedInsuranceFundDip12Address": "0x36773d56e13816a9c56ed7ed31f2d120d6894bc5",
|
|
69
|
+
"checkpointAddress": "0xbeab25ea000b7b0a796d92910615821af2ab4425",
|
|
70
|
+
"registrationAddress": "0xa72d2c6c20418ead9c2aecf9286da1428a001b5a",
|
|
71
|
+
"initializeAppAddress": "0x5dd0be9dfbb4dd7df2ea71daba2c30f5f74ed23c",
|
|
72
|
+
"specsAddress": "0xf8e6f7f85847df8145653051d56917eb73d6fee6",
|
|
73
|
+
"collateralAddress": "0x2c8beb19d83a36b067744f3b1f13b42b25028ecb",
|
|
74
|
+
"collateralDip12Address": "0x9d2e6f3694480c2674a2f5141e19a45db0f1889f",
|
|
75
|
+
"custodianAddress": "0xcafe790792fde61f4d38527b2cdd5a6abff088df",
|
|
76
|
+
"rejectAddress": "0xaf001c092d58137cc73dae77f125ef1082ff8c19",
|
|
77
|
+
"stakeAddress": "0xd9864bb3c538723c9ad88b4123beb144e6357cf0",
|
|
78
|
+
"stakeDip12Address": "0xa1f9fa885df677218fb6285f91cd725b494227cf",
|
|
79
|
+
"pilotResetAddress": "0xa4327dcd74feac2d569edab9b0c209462c4e629a"
|
|
80
|
+
},
|
|
81
|
+
"faucet": {
|
|
82
|
+
"address": "0x883D4d1735F49dBB2C06B1165f94791112749610",
|
|
83
|
+
"privateKey": "0xb167f856a8d9f5db9f2834ce22ef4df6436f91af704bd6aa86f2c8095aca41c0"
|
|
84
|
+
},
|
|
85
|
+
"fundedAccounts": [
|
|
86
|
+
"0x3658E568173DFE6400fCaa1D6F085C644E22bE13",
|
|
87
|
+
"0x4DbaEb213F91B022D0f238a2510380BE149b091a",
|
|
88
|
+
"0xE2F3eC385F57e9Fe8fd2e6938D539BE86c2eDf0F",
|
|
89
|
+
"0xb724D8C629A163d0E1809fAB27420fdf7f72a02c",
|
|
90
|
+
"0x8D6F6EA2598e8b1dAC9C434a1FcD579f507Db18F",
|
|
91
|
+
"0x2EadF973FeB265129c04b9fcE6f730e48212F88A",
|
|
92
|
+
"0xE9F6FfDF8e0E649089d90CFDb1E7a312746C0927",
|
|
93
|
+
"0x0067A8a383157b761C004EB7fd15Efd724B0B915",
|
|
94
|
+
"0x43a5b78655584B9e71f4E00f3f638529B96283c0",
|
|
95
|
+
"0xaCcf7803C88B05846c46946D7B46418A9ADAd578",
|
|
96
|
+
"0x2F2661614526e03D7a394EB1F825CE94E4E112fb",
|
|
97
|
+
"0x7e8Ea10440a732884D5D15305218801DcF1a63A2",
|
|
98
|
+
"0x571e69a0bc2990a1f0b890afe7a95a81e9d69b12",
|
|
99
|
+
"0x571166AC9b8b90429BD1faA62203004C8Efa1BA1",
|
|
100
|
+
"0xb21b9adB5ec9123dB0F9a0A19CFA1cA2bbFD7938",
|
|
101
|
+
"0xE1D50e4df88ABfea75557334D3eb8fCe52Daa58C",
|
|
102
|
+
"0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
103
|
+
"0xc6a416857352bd4386a06fe13b18f523e0028ebd"
|
|
104
|
+
],
|
|
105
|
+
"custodians": [
|
|
106
|
+
{
|
|
107
|
+
"address": "0xe1d50e4df88abfea75557334d3eb8fce52daa58c",
|
|
108
|
+
"privateKey": "0x04b08f8a971322eef619e5b09992816e474ae0eac0dd3c5792daed17c2ba1694"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"address": "0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
112
|
+
"privateKey": "0x7e142d3ef37c4fe600b4f9522ad9b15b266882cfe34661ddee3c2e26d0d062c5"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"address": "0xc6a416857352bd4386a06fe13b18f523e0028ebd",
|
|
116
|
+
"privateKey": "0x7659d6af82a89170ed1c8b903a5718074d26b72eb1140501bc65a01a29c52761"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"chainId": 11155111,
|
|
120
|
+
"ethRpcUrl": "https://eth-sepolia.g.alchemy.com/v2/k4BHeGljbtL5dPT54eyNOHcuw1JpOLMu"
|
|
121
|
+
},
|
|
122
|
+
"testnet": {
|
|
123
|
+
"addresses": {
|
|
124
|
+
"ddxAddress": "0x5b1049d81e29bad0ae77392276e030161fc4a4c8",
|
|
125
|
+
"ddxWalletCloneableAddress": "0x0000000000000000000000000000000000000000",
|
|
126
|
+
"derivaDEXAddress": "0x5d1a3b4181d3cad422f404f28e9e972d0ba4dad6",
|
|
127
|
+
"diFundTokenFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
128
|
+
"governanceAddress": "0x159705706583ecdf5075d917070dd8d9b8e3b411",
|
|
129
|
+
"governanceDip12Address": "0x0000000000000000000000000000000000000000",
|
|
130
|
+
"insuranceFundAddress": "0x0000000000000000000000000000000000000000",
|
|
131
|
+
"pauseAddress": "0xca799e747c753db6e47cc9cd484e990eca56c085",
|
|
132
|
+
"traderAddress": "0x0000000000000000000000000000000000000000",
|
|
133
|
+
"usdtAddress": "0x0000000000000000000000000000000000000000",
|
|
134
|
+
"ausdtAddress": "0x0000000000000000000000000000000000000000",
|
|
135
|
+
"cusdtAddress": "0x0000000000000000000000000000000000000000",
|
|
136
|
+
"usdcAddress": "0x9623ea5645d21fb21f94e582c683c011a76bb9d2",
|
|
137
|
+
"cusdcAddress": "0x0000000000000000000000000000000000000000",
|
|
138
|
+
"ausdcAddress": "0x0000000000000000000000000000000000000000",
|
|
139
|
+
"husdAddress": "0x0000000000000000000000000000000000000000",
|
|
140
|
+
"gusdAddress": "0x0000000000000000000000000000000000000000",
|
|
141
|
+
"gnosisSafeAddress": "0x0000000000000000000000000000000000000000",
|
|
142
|
+
"gnosisSafeProxyFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
143
|
+
"gnosisSafeProxyAddress": "0x0000000000000000000000000000000000000000",
|
|
144
|
+
"createCallAddress": "0x0000000000000000000000000000000000000000",
|
|
145
|
+
"bannerAddress": "0x25eea7a456f27dfeeb0cff79570481ff78bfb250",
|
|
146
|
+
"fundedInsuranceFundAddress": "0x18c0e97248e2319a19049dc6084dead80eeb2840",
|
|
147
|
+
"fundedInsuranceFundDip12Address": "0x5930cff9702f4e60e77d4f72178959b5afa514fa",
|
|
148
|
+
"checkpointAddress": "0x407880a3a16533af966e230108be286218d52df3",
|
|
149
|
+
"registrationAddress": "0x0d669985bd2320b24704fb3e27bec23497cf1972",
|
|
150
|
+
"initializeAppAddress": "0x0000000000000000000000000000000000000000",
|
|
151
|
+
"specsAddress": "0x117059cec0ff159226f7d678bfc24ee7eff3548c",
|
|
152
|
+
"collateralAddress": "0xabdf54bc42684d1f33383f68f590175d6876d3de",
|
|
153
|
+
"collateralDip12Address": "0x0000000000000000000000000000000000000000",
|
|
154
|
+
"custodianAddress": "0x75afe26a55f59a838a20cc39acfd73bc8ca2c943",
|
|
155
|
+
"rejectAddress": "0xa4e0e5ca4e000b4caa2f8c09bc0726695dc4f127",
|
|
156
|
+
"stakeAddress": "0xe75f304e0976eb2912d1226102e273859e0ae114",
|
|
157
|
+
"stakeDip12Address": "0x0000000000000000000000000000000000000000",
|
|
158
|
+
"pilotResetAddress": "0x959095b52d7028c650c948759b4035c52f1a7ad7"
|
|
159
|
+
},
|
|
160
|
+
"faucet": {
|
|
161
|
+
"address": "0x883D4d1735F49dBB2C06B1165f94791112749610",
|
|
162
|
+
"privateKey": "0xb167f856a8d9f5db9f2834ce22ef4df6436f91af704bd6aa86f2c8095aca41c0"
|
|
163
|
+
},
|
|
164
|
+
"fundedAccounts": [
|
|
165
|
+
"0x3658E568173DFE6400fCaa1D6F085C644E22bE13",
|
|
166
|
+
"0x4DbaEb213F91B022D0f238a2510380BE149b091a",
|
|
167
|
+
"0xE2F3eC385F57e9Fe8fd2e6938D539BE86c2eDf0F",
|
|
168
|
+
"0xb724D8C629A163d0E1809fAB27420fdf7f72a02c",
|
|
169
|
+
"0x8D6F6EA2598e8b1dAC9C434a1FcD579f507Db18F",
|
|
170
|
+
"0x2EadF973FeB265129c04b9fcE6f730e48212F88A",
|
|
171
|
+
"0xE9F6FfDF8e0E649089d90CFDb1E7a312746C0927",
|
|
172
|
+
"0x0067A8a383157b761C004EB7fd15Efd724B0B915",
|
|
173
|
+
"0x43a5b78655584B9e71f4E00f3f638529B96283c0",
|
|
174
|
+
"0xaCcf7803C88B05846c46946D7B46418A9ADAd578",
|
|
175
|
+
"0x2F2661614526e03D7a394EB1F825CE94E4E112fb",
|
|
176
|
+
"0x7e8Ea10440a732884D5D15305218801DcF1a63A2",
|
|
177
|
+
"0x571e69a0bc2990a1f0b890afe7a95a81e9d69b12",
|
|
178
|
+
"0x571166AC9b8b90429BD1faA62203004C8Efa1BA1",
|
|
179
|
+
"0xb21b9adB5ec9123dB0F9a0A19CFA1cA2bbFD7938",
|
|
180
|
+
"0xE1D50e4df88ABfea75557334D3eb8fCe52Daa58C",
|
|
181
|
+
"0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
182
|
+
"0xc6a416857352bd4386a06fe13b18f523e0028ebd"
|
|
183
|
+
],
|
|
184
|
+
"custodians": [
|
|
185
|
+
{
|
|
186
|
+
"address": "0xe1d50e4df88abfea75557334d3eb8fce52daa58c",
|
|
187
|
+
"privateKey": "0x04b08f8a971322eef619e5b09992816e474ae0eac0dd3c5792daed17c2ba1694"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"address": "0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
191
|
+
"privateKey": "0x7e142d3ef37c4fe600b4f9522ad9b15b266882cfe34661ddee3c2e26d0d062c5"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"address": "0xc6a416857352bd4386a06fe13b18f523e0028ebd",
|
|
195
|
+
"privateKey": "0x7659d6af82a89170ed1c8b903a5718074d26b72eb1140501bc65a01a29c52761"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"chainId": 11155111,
|
|
199
|
+
"ethRpcUrl": "https://eth-sepolia.g.alchemy.com/v2/k4BHeGljbtL5dPT54eyNOHcuw1JpOLMu"
|
|
200
|
+
},
|
|
201
|
+
"partner": {
|
|
202
|
+
"addresses": {
|
|
203
|
+
"ddxAddress": "0x0000000000000000000000000000000000000000",
|
|
204
|
+
"ddxWalletCloneableAddress": "0x0000000000000000000000000000000000000000",
|
|
205
|
+
"derivaDEXAddress": "0x0000000000000000000000000000000000000000",
|
|
206
|
+
"diFundTokenFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
207
|
+
"governanceAddress": "0x0000000000000000000000000000000000000000",
|
|
208
|
+
"insuranceFundAddress": "0x0000000000000000000000000000000000000000",
|
|
209
|
+
"pauseAddress": "0x0000000000000000000000000000000000000000",
|
|
210
|
+
"traderAddress": "0x0000000000000000000000000000000000000000",
|
|
211
|
+
"usdtAddress": "0x0000000000000000000000000000000000000000",
|
|
212
|
+
"ausdtAddress": "0x0000000000000000000000000000000000000000",
|
|
213
|
+
"cusdtAddress": "0x0000000000000000000000000000000000000000",
|
|
214
|
+
"usdcAddress": "0x0000000000000000000000000000000000000000",
|
|
215
|
+
"cusdcAddress": "0x0000000000000000000000000000000000000000",
|
|
216
|
+
"ausdcAddress": "0x0000000000000000000000000000000000000000",
|
|
217
|
+
"husdAddress": "0x0000000000000000000000000000000000000000",
|
|
218
|
+
"gusdAddress": "0x0000000000000000000000000000000000000000",
|
|
219
|
+
"gnosisSafeAddress": "0x0000000000000000000000000000000000000000",
|
|
220
|
+
"gnosisSafeProxyFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
221
|
+
"gnosisSafeProxyAddress": "0x0000000000000000000000000000000000000000",
|
|
222
|
+
"createCallAddress": "0x0000000000000000000000000000000000000000",
|
|
223
|
+
"bannerAddress": "0x0000000000000000000000000000000000000000",
|
|
224
|
+
"fundedInsuranceFundAddress": "0x0000000000000000000000000000000000000000",
|
|
225
|
+
"checkpointAddress": "0x0000000000000000000000000000000000000000",
|
|
226
|
+
"registrationAddress": "0x0000000000000000000000000000000000000000",
|
|
227
|
+
"specsAddress": "0x0000000000000000000000000000000000000000",
|
|
228
|
+
"collateralAddress": "0x0000000000000000000000000000000000000000",
|
|
229
|
+
"custodianAddress": "0x0000000000000000000000000000000000000000",
|
|
230
|
+
"rejectAddress": "0x0000000000000000000000000000000000000000",
|
|
231
|
+
"stakeAddress": "0x0000000000000000000000000000000000000000"
|
|
232
|
+
},
|
|
233
|
+
"faucet": {
|
|
234
|
+
"address": "0x883D4d1735F49dBB2C06B1165f94791112749610",
|
|
235
|
+
"privateKey": "0xb167f856a8d9f5db9f2834ce22ef4df6436f91af704bd6aa86f2c8095aca41c0"
|
|
236
|
+
},
|
|
237
|
+
"fundedAccounts": [
|
|
238
|
+
"0x3658E568173DFE6400fCaa1D6F085C644E22bE13",
|
|
239
|
+
"0x4DbaEb213F91B022D0f238a2510380BE149b091a",
|
|
240
|
+
"0xE2F3eC385F57e9Fe8fd2e6938D539BE86c2eDf0F",
|
|
241
|
+
"0xb724D8C629A163d0E1809fAB27420fdf7f72a02c",
|
|
242
|
+
"0x8D6F6EA2598e8b1dAC9C434a1FcD579f507Db18F",
|
|
243
|
+
"0x2EadF973FeB265129c04b9fcE6f730e48212F88A",
|
|
244
|
+
"0xE9F6FfDF8e0E649089d90CFDb1E7a312746C0927",
|
|
245
|
+
"0x0067A8a383157b761C004EB7fd15Efd724B0B915",
|
|
246
|
+
"0x43a5b78655584B9e71f4E00f3f638529B96283c0",
|
|
247
|
+
"0xaCcf7803C88B05846c46946D7B46418A9ADAd578",
|
|
248
|
+
"0x2F2661614526e03D7a394EB1F825CE94E4E112fb",
|
|
249
|
+
"0x7e8Ea10440a732884D5D15305218801DcF1a63A2",
|
|
250
|
+
"0x571e69a0bc2990a1f0b890afe7a95a81e9d69b12",
|
|
251
|
+
"0x571166AC9b8b90429BD1faA62203004C8Efa1BA1",
|
|
252
|
+
"0xb21b9adB5ec9123dB0F9a0A19CFA1cA2bbFD7938",
|
|
253
|
+
"0xE1D50e4df88ABfea75557334D3eb8fCe52Daa58C",
|
|
254
|
+
"0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
255
|
+
"0xc6a416857352bd4386a06fe13b18f523e0028ebd"
|
|
256
|
+
],
|
|
257
|
+
"custodians": [
|
|
258
|
+
{
|
|
259
|
+
"address": "0xe1d50e4df88abfea75557334d3eb8fce52daa58c",
|
|
260
|
+
"privateKey": "0x04b08f8a971322eef619e5b09992816e474ae0eac0dd3c5792daed17c2ba1694"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"address": "0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
264
|
+
"privateKey": "0x7e142d3ef37c4fe600b4f9522ad9b15b266882cfe34661ddee3c2e26d0d062c5"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"address": "0xc6a416857352bd4386a06fe13b18f523e0028ebd",
|
|
268
|
+
"privateKey": "0x7659d6af82a89170ed1c8b903a5718074d26b72eb1140501bc65a01a29c52761"
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"chainId": 11155111,
|
|
272
|
+
"ethRpcUrl": "https://eth-sepolia.g.alchemy.com/v2/k4BHeGljbtL5dPT54eyNOHcuw1JpOLMu"
|
|
273
|
+
},
|
|
274
|
+
"ap1": {
|
|
275
|
+
"addresses": {
|
|
276
|
+
"ddxAddress": "0x38df3afd1ae676ce143cae6857433380f73f6a1d",
|
|
277
|
+
"ddxWalletCloneableAddress": "0x0000000000000000000000000000000000000000",
|
|
278
|
+
"derivaDEXAddress": "0x1cd9d4b19a652d63146605f90be84bf9913c4281",
|
|
279
|
+
"diFundTokenFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
280
|
+
"governanceAddress": "0xa7855371960905067b238c712ae0669c43cb8224",
|
|
281
|
+
"insuranceFundAddress": "0x0000000000000000000000000000000000000000",
|
|
282
|
+
"pauseAddress": "0x1f7f45eee78a31c61354f6966e27f438ac0ddbfa",
|
|
283
|
+
"traderAddress": "0x0000000000000000000000000000000000000000",
|
|
284
|
+
"usdtAddress": "0x0000000000000000000000000000000000000000",
|
|
285
|
+
"ausdtAddress": "0x0000000000000000000000000000000000000000",
|
|
286
|
+
"cusdtAddress": "0x0000000000000000000000000000000000000000",
|
|
287
|
+
"usdcAddress": "0x8553402b7772b785235f2579615aa778c5dbf0ea",
|
|
288
|
+
"cusdcAddress": "0x0000000000000000000000000000000000000000",
|
|
289
|
+
"ausdcAddress": "0x0000000000000000000000000000000000000000",
|
|
290
|
+
"husdAddress": "0x0000000000000000000000000000000000000000",
|
|
291
|
+
"gusdAddress": "0x0000000000000000000000000000000000000000",
|
|
292
|
+
"gnosisSafeAddress": "0x0000000000000000000000000000000000000000",
|
|
293
|
+
"gnosisSafeProxyFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
294
|
+
"gnosisSafeProxyAddress": "0x0000000000000000000000000000000000000000",
|
|
295
|
+
"createCallAddress": "0x0000000000000000000000000000000000000000",
|
|
296
|
+
"bannerAddress": "0x11cf685af6cc8f1a97292bc57bd631e00d1eafbc",
|
|
297
|
+
"fundedInsuranceFundAddress": "0x90ec82bb5ae8d0b338c0d11c873382adcb3c887c",
|
|
298
|
+
"checkpointAddress": "0x0416b2e497330aa50278ec0654fffe7bf4d60f53",
|
|
299
|
+
"registrationAddress": "0xa66725850db211096dc32402fecd95a1bdbbc2c3",
|
|
300
|
+
"specsAddress": "0x044a524badd59558e2d8da1acd2a55f0d1d25d6f",
|
|
301
|
+
"collateralAddress": "0x723c21af4e4c82a02477d9945a0c675647a0c7f0",
|
|
302
|
+
"collateralKYCAddress": "0xa5745fdc9967bf509d2cca2fff589a537c5a615b",
|
|
303
|
+
"custodianAddress": "0x53a9864b9d3def96a78479e5451d492479120dfb",
|
|
304
|
+
"rejectAddress": "0x3d373c6247a6cbab809b345bfc0af1857c3f62a6",
|
|
305
|
+
"stakeAddress": "0xf16cb3af90b87f3dc621f95c44059d2f6e6a4fa1",
|
|
306
|
+
"stakeKYCAddress": "0xb31b72a1c0d07ec74ba70c96a74b06d1003da1ba"
|
|
307
|
+
},
|
|
308
|
+
"faucet": {
|
|
309
|
+
"address": "0x883D4d1735F49dBB2C06B1165f94791112749610",
|
|
310
|
+
"privateKey": "0xb167f856a8d9f5db9f2834ce22ef4df6436f91af704bd6aa86f2c8095aca41c0"
|
|
311
|
+
},
|
|
312
|
+
"fundedAccounts": [
|
|
313
|
+
"0x3658E568173DFE6400fCaa1D6F085C644E22bE13",
|
|
314
|
+
"0x4DbaEb213F91B022D0f238a2510380BE149b091a",
|
|
315
|
+
"0xE2F3eC385F57e9Fe8fd2e6938D539BE86c2eDf0F",
|
|
316
|
+
"0xb724D8C629A163d0E1809fAB27420fdf7f72a02c",
|
|
317
|
+
"0x8D6F6EA2598e8b1dAC9C434a1FcD579f507Db18F",
|
|
318
|
+
"0x2EadF973FeB265129c04b9fcE6f730e48212F88A",
|
|
319
|
+
"0xE9F6FfDF8e0E649089d90CFDb1E7a312746C0927",
|
|
320
|
+
"0x0067A8a383157b761C004EB7fd15Efd724B0B915",
|
|
321
|
+
"0x43a5b78655584B9e71f4E00f3f638529B96283c0",
|
|
322
|
+
"0xaCcf7803C88B05846c46946D7B46418A9ADAd578",
|
|
323
|
+
"0x2F2661614526e03D7a394EB1F825CE94E4E112fb",
|
|
324
|
+
"0x7e8Ea10440a732884D5D15305218801DcF1a63A2",
|
|
325
|
+
"0x571e69a0bc2990a1f0b890afe7a95a81e9d69b12",
|
|
326
|
+
"0x571166AC9b8b90429BD1faA62203004C8Efa1BA1",
|
|
327
|
+
"0xb21b9adB5ec9123dB0F9a0A19CFA1cA2bbFD7938",
|
|
328
|
+
"0xE1D50e4df88ABfea75557334D3eb8fCe52Daa58C",
|
|
329
|
+
"0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
330
|
+
"0xc6a416857352bd4386a06fe13b18f523e0028ebd"
|
|
331
|
+
],
|
|
332
|
+
"custodians": [
|
|
333
|
+
{
|
|
334
|
+
"address": "0xe1d50e4df88abfea75557334d3eb8fce52daa58c",
|
|
335
|
+
"privateKey": "0x04b08f8a971322eef619e5b09992816e474ae0eac0dd3c5792daed17c2ba1694"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"address": "0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
339
|
+
"privateKey": "0x7e142d3ef37c4fe600b4f9522ad9b15b266882cfe34661ddee3c2e26d0d062c5"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"address": "0xc6a416857352bd4386a06fe13b18f523e0028ebd",
|
|
343
|
+
"privateKey": "0x7659d6af82a89170ed1c8b903a5718074d26b72eb1140501bc65a01a29c52761"
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"chainId": 11155111,
|
|
347
|
+
"ethRpcUrl": "https://eth-sepolia.g.alchemy.com/v2/k4BHeGljbtL5dPT54eyNOHcuw1JpOLMu"
|
|
348
|
+
},
|
|
349
|
+
"ap2": {
|
|
350
|
+
"addresses": {
|
|
351
|
+
"ddxAddress": "0x0000000000000000000000000000000000000000",
|
|
352
|
+
"ddxWalletCloneableAddress": "0x0000000000000000000000000000000000000000",
|
|
353
|
+
"derivaDEXAddress": "0x0000000000000000000000000000000000000000",
|
|
354
|
+
"diFundTokenFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
355
|
+
"governanceAddress": "0x0000000000000000000000000000000000000000",
|
|
356
|
+
"insuranceFundAddress": "0x0000000000000000000000000000000000000000",
|
|
357
|
+
"pauseAddress": "0x0000000000000000000000000000000000000000",
|
|
358
|
+
"traderAddress": "0x0000000000000000000000000000000000000000",
|
|
359
|
+
"usdtAddress": "0x0000000000000000000000000000000000000000",
|
|
360
|
+
"ausdtAddress": "0x0000000000000000000000000000000000000000",
|
|
361
|
+
"cusdtAddress": "0x0000000000000000000000000000000000000000",
|
|
362
|
+
"usdcAddress": "0x0000000000000000000000000000000000000000",
|
|
363
|
+
"cusdcAddress": "0x0000000000000000000000000000000000000000",
|
|
364
|
+
"ausdcAddress": "0x0000000000000000000000000000000000000000",
|
|
365
|
+
"husdAddress": "0x0000000000000000000000000000000000000000",
|
|
366
|
+
"gusdAddress": "0x0000000000000000000000000000000000000000",
|
|
367
|
+
"gnosisSafeAddress": "0x0000000000000000000000000000000000000000",
|
|
368
|
+
"gnosisSafeProxyFactoryAddress": "0x0000000000000000000000000000000000000000",
|
|
369
|
+
"gnosisSafeProxyAddress": "0x0000000000000000000000000000000000000000",
|
|
370
|
+
"createCallAddress": "0x0000000000000000000000000000000000000000",
|
|
371
|
+
"bannerAddress": "0x0000000000000000000000000000000000000000",
|
|
372
|
+
"fundedInsuranceFundAddress": "0x0000000000000000000000000000000000000000",
|
|
373
|
+
"checkpointAddress": "0x0000000000000000000000000000000000000000",
|
|
374
|
+
"registrationAddress": "0x0000000000000000000000000000000000000000",
|
|
375
|
+
"custodianAddress": "0x0000000000000000000000000000000000000000",
|
|
376
|
+
"rejectAddress": "0x0000000000000000000000000000000000000000",
|
|
377
|
+
"specsAddress": "0x0000000000000000000000000000000000000000",
|
|
378
|
+
"collateralAddress": "0x0000000000000000000000000000000000000000",
|
|
379
|
+
"stakeAddress": "0x0000000000000000000000000000000000000000"
|
|
380
|
+
},
|
|
381
|
+
"faucet": {
|
|
382
|
+
"address": "0x883D4d1735F49dBB2C06B1165f94791112749610",
|
|
383
|
+
"privateKey": "0xb167f856a8d9f5db9f2834ce22ef4df6436f91af704bd6aa86f2c8095aca41c0"
|
|
384
|
+
},
|
|
385
|
+
"fundedAccounts": [
|
|
386
|
+
"0x3658E568173DFE6400fCaa1D6F085C644E22bE13",
|
|
387
|
+
"0x4DbaEb213F91B022D0f238a2510380BE149b091a",
|
|
388
|
+
"0xE2F3eC385F57e9Fe8fd2e6938D539BE86c2eDf0F",
|
|
389
|
+
"0xb724D8C629A163d0E1809fAB27420fdf7f72a02c",
|
|
390
|
+
"0x8D6F6EA2598e8b1dAC9C434a1FcD579f507Db18F",
|
|
391
|
+
"0x2EadF973FeB265129c04b9fcE6f730e48212F88A",
|
|
392
|
+
"0xE9F6FfDF8e0E649089d90CFDb1E7a312746C0927",
|
|
393
|
+
"0x0067A8a383157b761C004EB7fd15Efd724B0B915",
|
|
394
|
+
"0x43a5b78655584B9e71f4E00f3f638529B96283c0",
|
|
395
|
+
"0xaCcf7803C88B05846c46946D7B46418A9ADAd578",
|
|
396
|
+
"0x2F2661614526e03D7a394EB1F825CE94E4E112fb",
|
|
397
|
+
"0x7e8Ea10440a732884D5D15305218801DcF1a63A2",
|
|
398
|
+
"0x571e69a0bc2990a1f0b890afe7a95a81e9d69b12",
|
|
399
|
+
"0x571166AC9b8b90429BD1faA62203004C8Efa1BA1",
|
|
400
|
+
"0xb21b9adB5ec9123dB0F9a0A19CFA1cA2bbFD7938",
|
|
401
|
+
"0xE1D50e4df88ABfea75557334D3eb8fCe52Daa58C",
|
|
402
|
+
"0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
403
|
+
"0xc6a416857352bd4386a06fe13b18f523e0028ebd"
|
|
404
|
+
],
|
|
405
|
+
"custodians": [
|
|
406
|
+
{
|
|
407
|
+
"address": "0xe1d50e4df88abfea75557334d3eb8fce52daa58c",
|
|
408
|
+
"privateKey": "0x04b08f8a971322eef619e5b09992816e474ae0eac0dd3c5792daed17c2ba1694"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"address": "0xc1e5f9e5532ed65b27d3f8f0771b066158839c16",
|
|
412
|
+
"privateKey": "0x7e142d3ef37c4fe600b4f9522ad9b15b266882cfe34661ddee3c2e26d0d062c5"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"address": "0xc6a416857352bd4386a06fe13b18f523e0028ebd",
|
|
416
|
+
"privateKey": "0x7659d6af82a89170ed1c8b903a5718074d26b72eb1140501bc65a01a29c52761"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"chainId": 11155111,
|
|
420
|
+
"ethRpcUrl": "https://eth-sepolia.g.alchemy.com/v2/k4BHeGljbtL5dPT54eyNOHcuw1JpOLMu"
|
|
421
|
+
},
|
|
422
|
+
"geth": {
|
|
423
|
+
"addresses": {
|
|
424
|
+
"ddxAddress": "0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c",
|
|
425
|
+
"ddxWalletCloneableAddress": "0x1e2f9e10d02a6b8f8f69fcbf515e75039d2ea30d",
|
|
426
|
+
"derivaDEXAddress": "0x48bacb9266a570d521063ef5dd96e61686dbe788",
|
|
427
|
+
"diFundTokenFactoryAddress": "0x07f96aa816c1f244cbc6ef114bb2b023ba54a2eb",
|
|
428
|
+
"governanceAddress": "0x25b8fe1de9daf8ba351890744ff28cf7dfa8f5e3",
|
|
429
|
+
"governanceDip12Address": "0xf96b018e8de3a229dbaced8439df9e3034e263c1",
|
|
430
|
+
"insuranceFundAddress": "0xdc688d29394a3f1e6f1e5100862776691afaf3d2",
|
|
431
|
+
"pauseAddress": "0x6000eca38b8b5bba64986182fe2a69c57f6b5414",
|
|
432
|
+
"traderAddress": "0x7bf7bb74c43dc141293aff12a2d7de350e9b09e0",
|
|
433
|
+
"usdtAddress": "0x609acc8b356894a937fc58f3411f9528de96ecb1",
|
|
434
|
+
"ausdtAddress": "0x34d402f14d58e001d8efbe6585051bf9706aa064",
|
|
435
|
+
"cusdtAddress": "0x48bacb9266a570d521063ef5dd96e61686dbe788",
|
|
436
|
+
"usdcAddress": "0xd8ca39d276c05a370174ce872b7278fcf734afac",
|
|
437
|
+
"ausdcAddress": "0xdc688d29394a3f1e6f1e5100862776691afaf3d2",
|
|
438
|
+
"cusdcAddress": "0xe86bb98fcf9bff3512c74589b78fb168200cc546",
|
|
439
|
+
"husdAddress": "0x0000000000000000000000000000000000000000",
|
|
440
|
+
"gusdAddress": "0x3BB5e799f186032F7c2F6D80055c6cB7d22Bb3Ee",
|
|
441
|
+
"gnosisSafeAddress": "0xaE32496491b53841efb51829d6f886387708F99B",
|
|
442
|
+
"gnosisSafeProxyFactoryAddress": "0x50e55Af101C777bA7A1d560a774A82eF002ced9F",
|
|
443
|
+
"createCallAddress": "0x8538FcBccba7f5303d2C679Fa5d7A629A8c9bf4A",
|
|
444
|
+
"gnosisSafeProxyAddress": "0xBDf662e4A4F4b01Ab0c06A13f2Bb9DEB13bb5cFC",
|
|
445
|
+
"bannerAddress": "0x6dfff22588be9b3ef8cf0ad6dc9b84796f9fb45f",
|
|
446
|
+
"fundedInsuranceFundAddress": "0x8d61158a366019ac78db4149d75fff9dda51160d",
|
|
447
|
+
"fundedInsuranceFundDip12Address": "0xb69e673309512a9d726f87304c6984054f87a93b",
|
|
448
|
+
"registrationAddress": "0xb23672f74749bf7916ba6827c64111a4d6de7f11",
|
|
449
|
+
"checkpointAddress": "0x8d42e38980ce74736c21c059b2240df09958d3c8",
|
|
450
|
+
"specsAddress": "0x8726c7414ac023d23348326b47af3205185fd035",
|
|
451
|
+
"custodianAddress": "0xf22469f31527adc53284441bae1665a7b9214dba",
|
|
452
|
+
"rejectAddress": "0x7e3f4e1deb8d3a05d9d2da87d9521268d0ec3239",
|
|
453
|
+
"gasConsumerAddress": "0x1dc4c1cefef38a777b15aa20260a54e584b16c48",
|
|
454
|
+
"collateralAddress": "0xaa86dda78e9434aca114b6676fc742a18d15a1cc",
|
|
455
|
+
"collateralDip12Address": "0x0d8b0dd11f5d34ed41d556def5f841900d5b1c6b",
|
|
456
|
+
"initializeAppAddress": "0x371b13d97f4bf77d724e78c16b7dc74099f40e84",
|
|
457
|
+
"stakeAddress": "0x4d3d5c850dd5bd9d6f4adda3dd039a3c8054ca29",
|
|
458
|
+
"stakeDip12Address": "0xc4df27466183c0fe2a5924d6ea56e334deff146a",
|
|
459
|
+
"pilotResetAddress": "0x8a063452f7df2614db1bca3a85ef35da40cf0835"
|
|
460
|
+
},
|
|
461
|
+
"faucet": {
|
|
462
|
+
"address": "0xaCcf7803C88B05846c46946D7B46418A9ADAd578",
|
|
463
|
+
"privateKey": "0x84a8bb71450a1b82be2b1cdd25d079cbf23dc8054e94c47ad14510aa967f45de"
|
|
464
|
+
},
|
|
465
|
+
"custodians": [
|
|
466
|
+
{
|
|
467
|
+
"address": "0x5409ED021D9299bf6814279A6A1411A7e866A631",
|
|
468
|
+
"privateKey": "0xf2f48ee19680706196e2e339e5da3491186e0c4c5030670656b0e0164837257d"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"address": "0x6Ecbe1DB9EF729CBe972C83Fb886247691Fb6beb",
|
|
472
|
+
"privateKey": "0x5d862464fe9303452126c8bc94274b8c5f9874cbd219789b3eb2128075a76f72"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"address": "0xE36Ea790bc9d7AB70C55260C66D52b1eca985f84",
|
|
476
|
+
"privateKey": "0xdf02719c4df8b9b8ac7f551fcb5d9ef48fa27eef7a66453879f4d8fdc6e78fb1"
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"chainId": 100,
|
|
480
|
+
"ethRpcUrl": "http://ethereum:8545"
|
|
481
|
+
},
|
|
482
|
+
"snapshot": {
|
|
483
|
+
"addresses": {
|
|
484
|
+
"ddxAddress": "0x1dc4c1cefef38a777b15aa20260a54e584b16c48",
|
|
485
|
+
"ddxWalletCloneableAddress": "0xb7c9b454221e26880eb9c3101b3295ca7d8279ef",
|
|
486
|
+
"derivaDEXAddress": "0x1d7022f5b17d2f8b695918fb48fa1089c9f85401",
|
|
487
|
+
"diFundTokenFactoryAddress": "0x6000eca38b8b5bba64986182fe2a69c57f6b5414",
|
|
488
|
+
"governanceAddress": "0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c",
|
|
489
|
+
"governanceDip12Address": "0x0d8b0dd11f5d34ed41d556def5f841900d5b1c6b",
|
|
490
|
+
"insuranceFundAddress": "0x4112f5fc3f737e813ca8cc1a48d1da3dc8719435",
|
|
491
|
+
"pauseAddress": "0x7bf7bb74c43dc141293aff12a2d7de350e9b09e0",
|
|
492
|
+
"pilotResetAddress": "0x1941ff73d1154774d87521d2d0aaad5d19c8df60",
|
|
493
|
+
"traderAddress": "0x4d3d5c850dd5bd9d6f4adda3dd039a3c8054ca29",
|
|
494
|
+
"usdtAddress": "0x0b1ba0af832d7c05fd64161e0db78e85978e8082",
|
|
495
|
+
"ausdtAddress": "0x34d402f14d58e001d8efbe6585051bf9706aa064",
|
|
496
|
+
"cusdtAddress": "0x48bacb9266a570d521063ef5dd96e61686dbe788",
|
|
497
|
+
"usdcAddress": "0xb69e673309512a9d726f87304c6984054f87a93b",
|
|
498
|
+
"ausdcAddress": "0xdc688d29394a3f1e6f1e5100862776691afaf3d2",
|
|
499
|
+
"cusdcAddress": "0xe86bb98fcf9bff3512c74589b78fb168200cc546",
|
|
500
|
+
"husdAddress": "0x0000000000000000000000000000000000000000",
|
|
501
|
+
"gusdAddress": "0x3BB5e799f186032F7c2F6D80055c6cB7d22Bb3Ee",
|
|
502
|
+
"gnosisSafeAddress": "0xaE32496491b53841efb51829d6f886387708F99B",
|
|
503
|
+
"gnosisSafeProxyFactoryAddress": "0x50e55Af101C777bA7A1d560a774A82eF002ced9F",
|
|
504
|
+
"createCallAddress": "0x8538FcBccba7f5303d2C679Fa5d7A629A8c9bf4A",
|
|
505
|
+
"gnosisSafeProxyAddress": "0xBDf662e4A4F4b01Ab0c06A13f2Bb9DEB13bb5cFC",
|
|
506
|
+
"bannerAddress": "0x32eecaf51dfea9618e9bc94e9fbfddb1bbdcba15",
|
|
507
|
+
"fundedInsuranceFundAddress": "0x04b5dadd2c0d6a261bfafbc964e0cac48585def3",
|
|
508
|
+
"fundedInsuranceFundDip12Address": "0x8726c7414ac023d23348326b47af3205185fd035",
|
|
509
|
+
"registrationAddress": "0x74341e87b1c4db7d5ed95f92b37509f2525a7a90",
|
|
510
|
+
"initializeAppAddress": "0xb23672f74749bf7916ba6827c64111a4d6de7f11",
|
|
511
|
+
"checkpointAddress": "0x8ea76477cfaca8f7ea06477fd3c09a740ac6012a",
|
|
512
|
+
"specsAddress": "0xaa86dda78e9434aca114b6676fc742a18d15a1cc",
|
|
513
|
+
"collateralAddress": "0xa31e64ea55b9b6bbb9d6a676738e9a5b23149f84",
|
|
514
|
+
"collateralDip12Address": "0x038f9b392fb9a9676dbaddf78ea5fdbf6c7d9710",
|
|
515
|
+
"stakeAddress": "0x8d42e38980ce74736c21c059b2240df09958d3c8",
|
|
516
|
+
"stakeDip12Address": "0x371b13d97f4bf77d724e78c16b7dc74099f40e84",
|
|
517
|
+
"custodianAddress": "0x7e3f4e1deb8d3a05d9d2da87d9521268d0ec3239",
|
|
518
|
+
"rejectAddress": "0x6346e3a22d2ef8fee3b3c2171367490e52d81c52"
|
|
519
|
+
},
|
|
520
|
+
"faucet": {
|
|
521
|
+
"address": "0xaCcf7803C88B05846c46946D7B46418A9ADAd578",
|
|
522
|
+
"privateKey": "0x84a8bb71450a1b82be2b1cdd25d079cbf23dc8054e94c47ad14510aa967f45de"
|
|
523
|
+
},
|
|
524
|
+
"custodians": [
|
|
525
|
+
{
|
|
526
|
+
"address": "0x5409ED021D9299bf6814279A6A1411A7e866A631",
|
|
527
|
+
"privateKey": "0xf2f48ee19680706196e2e339e5da3491186e0c4c5030670656b0e0164837257d"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"address": "0x6Ecbe1DB9EF729CBe972C83Fb886247691Fb6beb",
|
|
531
|
+
"privateKey": "0x5d862464fe9303452126c8bc94274b8c5f9874cbd219789b3eb2128075a76f72"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"address": "0xE36Ea790bc9d7AB70C55260C66D52b1eca985f84",
|
|
535
|
+
"privateKey": "0xdf02719c4df8b9b8ac7f551fcb5d9ef48fa27eef7a66453879f4d8fdc6e78fb1"
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
"chainId": 1337,
|
|
539
|
+
"ethRpcUrl": "http://ethereum:8545"
|
|
540
|
+
}
|
|
541
|
+
}
|
ddx/auditor/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# DerivaDEX Auditor
|
|
2
|
+
|
|
3
|
+
## What it is
|
|
4
|
+
The Auditor is a standalone Python client that:
|
|
5
|
+
- Connects to the DerivaDEX Trader API
|
|
6
|
+
- Maintains a Sparse Merkle Tree of on-chain state
|
|
7
|
+
- Processes transaction‐log entries in order
|
|
8
|
+
- Validates state‐root hashes and proofs
|
|
9
|
+
- Exposes a local API/queue for downstream apps
|
|
10
|
+
|
|
11
|
+
## Configuration
|
|
12
|
+
Set via environment variables or CLI flags:
|
|
13
|
+
```text
|
|
14
|
+
WEB_SERVER_URL # base HTTP(S) URL of operator node
|
|
15
|
+
CONTRACT_DEPLOYMENT # deployment name, e.g. “geth”
|
|
16
|
+
GENESIS_PARAMS # path or JSON blob of genesis parameters
|
|
17
|
+
EPOCH_PARAMS # path or JSON of epoch timing & periods
|
|
18
|
+
TRADE_MINING_PARAMS # path or JSON of trade‐mining settings
|
|
19
|
+
COLLATERAL_TRANCHES # JSON array of [threshold,ratio] pairs
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
```bash
|
|
24
|
+
python auditor_driver.py \
|
|
25
|
+
--webserver-url $WEB_SERVER_URL \
|
|
26
|
+
--contract-deployment $CONTRACT_DEPLOYMENT \
|
|
27
|
+
--genesis-params $GENESIS_PARAMS \
|
|
28
|
+
--epoch-params $EPOCH_PARAMS \
|
|
29
|
+
--trade-mining-params $TRADE_MINING_PARAMS \
|
|
30
|
+
--collateral-tranches $COLLATERAL_TRANCHES
|
|
31
|
+
```
|
|
32
|
+
Run `python auditor_driver.py --help` for all available flags.
|
ddx/auditor/__init__.py
ADDED
|
File without changes
|