Skip to content

Commit 1dced92

Browse files
authored
Merge pull request #15 from hadronlabs-org/feat/docusaurus-external-api
Use React in .mdx
2 parents a8c04fc + ce56aac commit 1dced92

File tree

11 files changed

+370
-79
lines changed

11 files changed

+370
-79
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ yarn-debug.log*
2020
yarn-error.log*
2121

2222
.idea/
23+
.vscode

docs/deployments/mainnet.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

docs/deployments/mainnet.mdx

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
import Contracts from "/deployments/mainnet/cosmoshub/contracts.json";
2+
import Denoms from "/deployments/mainnet/cosmoshub/denoms.json";
3+
import ICA from "/deployments/mainnet/cosmoshub/ica.json";
4+
5+
# neutron-1 [mainnet]
6+
7+
## Cosmos Hub Instance
8+
9+
Current Cosmos Hub Drop instance is running on `cosmoshub-4` mainnet.
10+
11+
<table>
12+
<thead>
13+
<tr>
14+
<th>Contract</th>
15+
<th>Address</th>
16+
<th>Checksum</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
{Contracts.map((contract) => {
21+
const href = `https://neutron.celat.one/neutron-1/contracts/${contract.address}`;
22+
return (
23+
<tr>
24+
<td>{contract.name}</td>
25+
<td>
26+
<a href={href}>{contract.address}</a>
27+
</td>
28+
<td>
29+
<code>{contract.checksum}</code>
30+
</td>
31+
</tr>
32+
);
33+
})}
34+
</tbody>
35+
</table>
36+
37+
### Denoms
38+
39+
<table>
40+
<thead>
41+
<tr>
42+
<th>Symbol</th>
43+
<th>Denom</th>
44+
</tr>
45+
</thead>
46+
<tbody>
47+
{Denoms.map((denom) => {
48+
return (
49+
<tr>
50+
<td>{denom.symbol}</td>
51+
<td>
52+
<code>{denom.denom}</code>
53+
</td>
54+
</tr>
55+
);
56+
})}
57+
</tbody>
58+
</table>
59+
60+
### ICA addresses
61+
62+
<table>
63+
<thead>
64+
<tr>
65+
<th>Contract</th>
66+
<th>Address</th>
67+
</tr>
68+
</thead>
69+
<tbody>
70+
{ICA.map((ica) => {
71+
return (
72+
<tr>
73+
<td>{ica.contract}</td>
74+
<td>
75+
<code>{ica.address}</code>
76+
</td>
77+
</tr>
78+
);
79+
})}
80+
</tbody>
81+
</table>

docs/deployments/testnet.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/deployments/testnet.mdx

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
import Contracts from "/deployments/testnet/cosmoshub/contracts.json";
2+
import Denoms from "/deployments/testnet/cosmoshub/denoms.json";
3+
import ICA from "/deployments/testnet/cosmoshub/ica.json";
4+
5+
# pion-1 [testnet]
6+
7+
## Cosmos Hub Instance
8+
9+
Current Cosmos Hub Drop testnet instance uses `theta-testnet-001` testnet.
10+
11+
### Contracts
12+
13+
<table>
14+
<thead>
15+
<tr>
16+
<th>Contract</th>
17+
<th>Address</th>
18+
<th>Checksum</th>
19+
</tr>
20+
</thead>
21+
<tbody>
22+
{Contracts.map((contract) => {
23+
const href = `https://neutron.celat.one/pion-1/contracts/${contract.address}`;
24+
return (
25+
<tr>
26+
<td>{contract.name}</td>
27+
<td>
28+
<a href={href}>{contract.address}</a>
29+
</td>
30+
<td>
31+
<code>{contract.checksum}</code>
32+
</td>
33+
</tr>
34+
);
35+
})}
36+
</tbody>
37+
</table>
38+
39+
### Denoms
40+
41+
<table>
42+
<thead>
43+
<tr>
44+
<th>Symbol</th>
45+
<th>Denom</th>
46+
</tr>
47+
</thead>
48+
<tbody>
49+
{Denoms.map((denom) => {
50+
return (
51+
<tr>
52+
<td>{denom.symbol}</td>
53+
<td>
54+
<code>{denom.denom}</code>
55+
</td>
56+
</tr>
57+
);
58+
})}
59+
</tbody>
60+
</table>
61+
62+
### ICA addresses
63+
64+
<table>
65+
<thead>
66+
<tr>
67+
<th>Contract</th>
68+
<th>Address</th>
69+
</tr>
70+
</thead>
71+
<tbody>
72+
{ICA.map((ica) => {
73+
return (
74+
<tr>
75+
<td>{ica.contract}</td>
76+
<td>
77+
<code>{ica.address}</code>
78+
</td>
79+
</tr>
80+
);
81+
})}
82+
</tbody>
83+
</table>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
[
2+
{
3+
"name": "Factory",
4+
"address": "neutron1rtydk5vlppj2nmw98ctpgee6hxe5va7mc9x3lng8xm75p3dus80s7pkvmu",
5+
"checksum": "82DD53F3E448E9A142F0F4FFD802C266AD6B2803C0A614E91EDBE38EFE5B6B31"
6+
},
7+
{
8+
"name": "Core",
9+
"address": "neutron16m3hjh7l04kap086jgwthduma0r5l0wh8kc6kaqk92ge9n5aqvys9q6lxr",
10+
"checksum": "19E555870765ADB32DC51E0BD25398B561CC459B68CC2E0EECC6C4B943167169"
11+
},
12+
{
13+
"name": "Distribution",
14+
"address": "neutron1dj0l8w0v4w6c8xshyeqhxx740nkc0p2x0e37cdsynsr49zvd2v8qze22va",
15+
"checksum": "E1D8891A9967EADA49DB7433FB86E2BBB3BADBDD5746D444CEA402BBDECA0180"
16+
},
17+
{
18+
"name": "Puppeteer",
19+
"address": "neutron15v5acjfttf3umzatmj7rqfjy6yzcgekh266ehjsxclvaem0hpd7q9qpscr",
20+
"checksum": "D4E62CB36C3E8D2C70B5C7B77A088A1635969C14D7A0FAF099206415A70D1739"
21+
},
22+
{
23+
"name": "Rewards Manager",
24+
"address": "neutron1ydg7c33j0de7np2nk8gf4qwr8gvmmngjan2ymdtthzpwu22zajwqd234gt",
25+
"checksum": "3866E7302D1E8BB5415AFFB949697309386925EB181BDB437DF89CDCBC28F536"
26+
},
27+
{
28+
"name": "Rewards Pump",
29+
"address": "neutron1e8x80ytpu5dxghsh4jx5d96dyulvvmfjk0da0flurtfwgq37d8ws7a9du4",
30+
"checksum": "BD5E764A14C4E287EBE179228DE01D09D1228E67525220EA1CECE6FF15BF8155"
31+
},
32+
{
33+
"name": "Staker",
34+
"address": "neutron1nzpya9llld5hqjaaz09zcx3mntd5zznw9q4wgdv9llw3at6rdq8qu98dhe",
35+
"checksum": "8F85F1BB32A9C38BED6FE25DD96BEB2DE0327199E3037160149CB28D6A551485"
36+
},
37+
{
38+
"name": "Strategy",
39+
"address": "neutron1fsk7se2mmg32m62z2gcaf0c5k85qkqv2k6k6r66kfj9nj9xfdyts38u2fv",
40+
"checksum": "9DCD683DF7EEBC05AD50B46298CC1A33C2827A5AC6A0617FE7E63AD1B50D874F"
41+
},
42+
{
43+
"name": "Token",
44+
"address": "neutron1k6hr0f83e7un2wjf29cspk7j69jrnskk65k3ek2nj9dztrlzpj6q00rtsa",
45+
"checksum": "20367209D9155F3F97CAE02288DDCD79F9BBE47D74334D7F291DDCA6F5260570"
46+
},
47+
{
48+
"name": "Validators Set",
49+
"address": "neutron1vsg7uaxlqwrh04445ajjxkz0fn4cwd6dplmd9n9hmqrvr3ke9ddq5c54ca",
50+
"checksum": "476173A4F60C598DFB7332D9EF60D773775354AFD744DD9380E28855B35F582F"
51+
},
52+
{
53+
"name": "Unbonding Pump",
54+
"address": "neutron1g80pqyddnej6hp0szl6an98zudtkmr08mhhm2g33dj2ut6dzlkts4fzl87",
55+
"checksum": "BD5E764A14C4E287EBE179228DE01D09D1228E67525220EA1CECE6FF15BF8155"
56+
},
57+
{
58+
"name": "Withdrawal Manager",
59+
"address": "neutron1gcklauurx4ckyp0t8a6axl0500vy3n09y5utpspjg8ruxnln8erq2uumck",
60+
"checksum": "35F6F4B9E2C2B9326D15F0CFC1A1056C7D4E4B08B02D80DAADFD0D473A4E9E5E"
61+
},
62+
{
63+
"name": "Withdrawal Voucher",
64+
"address": "neutron1f4c2l9u8yekp99mexyhf7wxgrq3gjtuzgrqe90xaq75v7quulptqzef6up",
65+
"checksum": "C4C18236B69F155A0D3D5EAF917FC0A7298B9D8AD25AA69AF997E82D2C6CDDEF"
66+
},
67+
{
68+
"name": "Splitter",
69+
"address": "neutron1sy2ku4gyk6mag5lsxp9y5a5lsalc85mz5vzl6dkzpkmzpvdd3usqc8e7qw",
70+
"checksum": "D9F208D338C67F79099536FC9A9E8A7D13723ECB32552713C0ADEA3893194B68"
71+
},
72+
{
73+
"name": "Redemption Rate",
74+
"address": "neutron133r4wfczhq6xec35s859sxpy2h2le3xc9g6u388chhaaldhtp7cqus6yju",
75+
"checksum": "F6A231A1969CBA69040572C1CB540735C87BE912211E65C81C0B816622BE0288"
76+
}
77+
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"symbol": "ATOM",
4+
"denom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9"
5+
},
6+
{
7+
"symbol": "dATOM",
8+
"denom": "factory/neutron1k6hr0f83e7un2wjf29cspk7j69jrnskk65k3ek2nj9dztrlzpj6q00rtsa/udatom"
9+
}
10+
]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"contract": "Puppeteer",
4+
"address": "cosmos1srjdd7y6duuukmaenghucasqlycddcc65qdj34k6spq8pwk4h6ms7j4w4j"
5+
},
6+
{
7+
"contract": "Unbonding Pump",
8+
"address": "cosmos16nc8rqe7mwhrl3lu0hydfhspaemg8au6y646r8a08rg0la8xm9rqawkvzy"
9+
},
10+
{
11+
"contract": "Rewards Pump",
12+
"address": "cosmos10h8f0f98kyqa4nw58es97vmm8r6d8yrrg7ghup88ytr57jjwur2s47g2k3"
13+
},
14+
{
15+
"contract": "Staker",
16+
"address": "cosmos1h9hxhrtv5hqa572v2xejc98fr637ewm0unxnyk692twdfm554glqfkkp6z"
17+
}
18+
]

0 commit comments

Comments
 (0)