Skip to content

Commit f309f9f

Browse files
authored
Merge pull request #19 from hadronlabs-org/instance/initiation-2
Add new instance
2 parents 2a5870f + 0e87e6e commit f309f9f

File tree

13 files changed

+555
-23
lines changed

13 files changed

+555
-23
lines changed

docs/deployments/mainnet.mdx

Lines changed: 88 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
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";
1+
import CosmosHubContracts from "/deployments/mainnet/cosmoshub/contracts.json";
2+
import CosmosHubDenoms from "/deployments/mainnet/cosmoshub/denoms.json";
3+
import CosmosHubICA from "/deployments/mainnet/cosmoshub/ica.json";
4+
5+
import CelestiaContracts from "/deployments/mainnet/celestia/contracts.json";
6+
import CelestiaDenoms from "/deployments/mainnet/celestia/denoms.json";
7+
import CelestiaICA from "/deployments/mainnet/celestia/ica.json";
48

59
# neutron-1 [mainnet]
610

@@ -17,7 +21,85 @@ Current Cosmos Hub Drop instance is running on `cosmoshub-4` mainnet.
1721
</tr>
1822
</thead>
1923
<tbody>
20-
{Contracts.map((contract) => {
24+
{CosmosHubContracts.map((contract) => {
25+
const href = `https://neutron.celat.one/neutron-1/contracts/${contract.address}`;
26+
return (
27+
<tr>
28+
<td>
29+
<code>{contract.name}</code>
30+
</td>
31+
<td>
32+
<a href={href}>{contract.address}</a>
33+
</td>
34+
<td>
35+
<code>{contract.checksum}</code>
36+
</td>
37+
</tr>
38+
);
39+
})}
40+
</tbody>
41+
</table>
42+
43+
### Denoms
44+
45+
<table>
46+
<thead>
47+
<tr>
48+
<th>Symbol</th>
49+
<th>Denom</th>
50+
</tr>
51+
</thead>
52+
<tbody>
53+
{CosmosHubDenoms.map((denom) => {
54+
return (
55+
<tr>
56+
<td>{denom.symbol}</td>
57+
<td>
58+
<code>{denom.denom}</code>
59+
</td>
60+
</tr>
61+
);
62+
})}
63+
</tbody>
64+
</table>
65+
66+
### ICA addresses
67+
68+
<table>
69+
<thead>
70+
<tr>
71+
<th>Contract</th>
72+
<th>Address</th>
73+
</tr>
74+
</thead>
75+
<tbody>
76+
{CosmosHubICA.map((ica) => {
77+
return (
78+
<tr>
79+
<td>{ica.contract}</td>
80+
<td>
81+
<code>{ica.address}</code>
82+
</td>
83+
</tr>
84+
);
85+
})}
86+
</tbody>
87+
</table>
88+
89+
## Celestia Instance
90+
91+
Current Celestia Drop instance is running on `celestia` mainnet.
92+
93+
<table>
94+
<thead>
95+
<tr>
96+
<th>Contract</th>
97+
<th>Address</th>
98+
<th>Checksum</th>
99+
</tr>
100+
</thead>
101+
<tbody>
102+
{CelestiaContracts.map((contract) => {
21103
const href = `https://neutron.celat.one/neutron-1/contracts/${contract.address}`;
22104
return (
23105
<tr>
@@ -46,7 +128,7 @@ Current Cosmos Hub Drop instance is running on `cosmoshub-4` mainnet.
46128
</tr>
47129
</thead>
48130
<tbody>
49-
{Denoms.map((denom) => {
131+
{CelestiaDenoms.map((denom) => {
50132
return (
51133
<tr>
52134
<td>{denom.symbol}</td>
@@ -69,7 +151,7 @@ Current Cosmos Hub Drop instance is running on `cosmoshub-4` mainnet.
69151
</tr>
70152
</thead>
71153
<tbody>
72-
{ICA.map((ica) => {
154+
{CelestiaICA.map((ica) => {
73155
return (
74156
<tr>
75157
<td>{ica.contract}</td>

docs/deployments/testnet.mdx

Lines changed: 172 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,95 @@
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";
1+
import CosmosHubContracts from "/deployments/testnet/cosmoshub/contracts.json";
2+
import CosmosHubDenoms from "/deployments/testnet/cosmoshub/denoms.json";
3+
import CosmosHubICA from "/deployments/testnet/cosmoshub/ica.json";
4+
5+
import InitiaContracts from "/deployments/testnet/initia/contracts.json";
6+
import InitiaDenoms from "/deployments/testnet/initia/denoms.json";
7+
import InitiaICA from "/deployments/testnet/initia/ica.json";
8+
9+
import CelestiaContracts from "/deployments/testnet/celestia/contracts.json";
10+
import CelestiaDenoms from "/deployments/testnet/celestia/denoms.json";
11+
import CelestiaICA from "/deployments/testnet/celestia/ica.json";
412

513
# pion-1 [testnet]
614

15+
## Initia Instance
16+
17+
### Contracts
18+
19+
<table>
20+
<thead>
21+
<tr>
22+
<th>Contract</th>
23+
<th>Address</th>
24+
<th>Checksum</th>
25+
</tr>
26+
</thead>
27+
<tbody>
28+
{InitiaContracts.map((contract) => {
29+
const href = `https://neutron.celat.one/pion-1/contracts/${contract.address}`;
30+
return (
31+
<tr>
32+
<td>
33+
<code>{contract.name}</code>
34+
</td>
35+
<td>
36+
<a href={href}>{contract.address}</a>
37+
</td>
38+
<td>
39+
<code>{contract.checksum}</code>
40+
</td>
41+
</tr>
42+
);
43+
})}
44+
</tbody>
45+
</table>
46+
47+
### Denoms
48+
49+
<table>
50+
<thead>
51+
<tr>
52+
<th>Symbol</th>
53+
<th>Denom</th>
54+
</tr>
55+
</thead>
56+
<tbody>
57+
{InitiaDenoms.map((denom) => {
58+
return (
59+
<tr>
60+
<td>{denom.symbol}</td>
61+
<td>
62+
<code>{denom.denom}</code>
63+
</td>
64+
</tr>
65+
);
66+
})}
67+
</tbody>
68+
</table>
69+
70+
### ICA addresses
71+
72+
<table>
73+
<thead>
74+
<tr>
75+
<th>Contract</th>
76+
<th>Address</th>
77+
</tr>
78+
</thead>
79+
<tbody>
80+
{InitiaICA.map((ica) => {
81+
return (
82+
<tr>
83+
<td>{ica.contract}</td>
84+
<td>
85+
<code>{ica.address}</code>
86+
</td>
87+
</tr>
88+
);
89+
})}
90+
</tbody>
91+
</table>
92+
793
## Cosmos Hub Instance
894

995
Current Cosmos Hub Drop testnet instance uses `theta-testnet-001` testnet.
@@ -19,7 +105,87 @@ Current Cosmos Hub Drop testnet instance uses `theta-testnet-001` testnet.
19105
</tr>
20106
</thead>
21107
<tbody>
22-
{Contracts.map((contract) => {
108+
{CosmosHubContracts.map((contract) => {
109+
const href = `https://neutron.celat.one/pion-1/contracts/${contract.address}`;
110+
return (
111+
<tr>
112+
<td>
113+
<code>{contract.name}</code>
114+
</td>
115+
<td>
116+
<a href={href}>{contract.address}</a>
117+
</td>
118+
<td>
119+
<code>{contract.checksum}</code>
120+
</td>
121+
</tr>
122+
);
123+
})}
124+
</tbody>
125+
</table>
126+
127+
### Denoms
128+
129+
<table>
130+
<thead>
131+
<tr>
132+
<th>Symbol</th>
133+
<th>Denom</th>
134+
</tr>
135+
</thead>
136+
<tbody>
137+
{CosmosHubDenoms.map((denom) => {
138+
return (
139+
<tr>
140+
<td>{denom.symbol}</td>
141+
<td>
142+
<code>{denom.denom}</code>
143+
</td>
144+
</tr>
145+
);
146+
})}
147+
</tbody>
148+
</table>
149+
150+
### ICA addresses
151+
152+
<table>
153+
<thead>
154+
<tr>
155+
<th>Contract</th>
156+
<th>Address</th>
157+
</tr>
158+
</thead>
159+
<tbody>
160+
{CosmosHubICA.map((ica) => {
161+
return (
162+
<tr>
163+
<td>{ica.contract}</td>
164+
<td>
165+
<code>{ica.address}</code>
166+
</td>
167+
</tr>
168+
);
169+
})}
170+
</tbody>
171+
</table>
172+
173+
## Celestia testnet
174+
175+
Current Celestia Drop testnet instance uses `mocha-4` testnet.
176+
177+
### Contracts
178+
179+
<table>
180+
<thead>
181+
<tr>
182+
<th>Contract</th>
183+
<th>Address</th>
184+
<th>Checksum</th>
185+
</tr>
186+
</thead>
187+
<tbody>
188+
{CelestiaContracts.map((contract) => {
23189
const href = `https://neutron.celat.one/pion-1/contracts/${contract.address}`;
24190
return (
25191
<tr>
@@ -48,7 +214,7 @@ Current Cosmos Hub Drop testnet instance uses `theta-testnet-001` testnet.
48214
</tr>
49215
</thead>
50216
<tbody>
51-
{Denoms.map((denom) => {
217+
{CelestiaDenoms.map((denom) => {
52218
return (
53219
<tr>
54220
<td>{denom.symbol}</td>
@@ -71,7 +237,7 @@ Current Cosmos Hub Drop testnet instance uses `theta-testnet-001` testnet.
71237
</tr>
72238
</thead>
73239
<tbody>
74-
{ICA.map((ica) => {
240+
{CelestiaICA.map((ica) => {
75241
return (
76242
<tr>
77243
<td>{ica.contract}</td>

docs/integrations/lsm_staking.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
Liquidity Staking Module (LSM) allows users to transfer their staked assets from one address to another without unstaking them and waiting the entire unbonding period.
66
To learn more about it, visit the repository: https://github.com/iqlusioninc/liquidity-staking-module.
77

8-
To achieve that, the LSM mints special tokens that represent staked asset ownership.
9-
One can "tokenize" their staked assets, and by sending them, transfer ownership to another user or protocol.
8+
To achieve that, the LSM mints special tokens that represent staked asset ownership.
9+
One can "tokenize" their staked assets, and by sending them, transfer ownership to another user or protocol.
1010
These tokens are called _LSM shares_ below for simplicity.
1111

12-
Each LSM share is represented by a unique denom.
12+
Each LSM share is represented by a unique denom.
1313
This means that one can send a partial share to someone but two different shares aren't fungible with each other.
1414

15-
Drop can accept such shares and mint dAssets based on them (i.e., if one has traditionally staked tokens delegated to a validator, they can tokenize their shares via the LSM, IBC transfer them to Neutron, and liquid stake with Drop to receive dAssets).
15+
Drop can accept such shares and mint dAssets based on them (i.e., if one has traditionally staked tokens delegated to a validator, they can tokenize their shares via the LSM, IBC transfer them to Neutron, and liquid stake with Drop to receive dAssets).
1616
Under the hood, this means that the ownership of those staked assets is transferred to Drop Protocol and the user gets their respective amount of dAssets in exchange.
1717

1818
## Tokenized share creation
@@ -37,19 +37,20 @@ Where:
3737
- `cosmos_delegator_address` is an address of the user that currently has staked assets
3838
- `validator_address` is the address of the validator the user’s assets are delegated to
3939
- `tokenized_share_owner` is the address which will be getting rewards.
40-
Regardless of the current owner of tokenized share tokens, the rewards will be distributed to the address specified here.
40+
Regardless of the current owner of tokenized share tokens, the rewards will be distributed to the address specified here.
4141

4242
In order to reveal how many tokens a user has staked, use [this](https://cosmos-lcd.quickapi.com/swagger/#/Query/DelegatorDelegations) query.
4343

44-
Once the operation above is performed, a new denom is created and the user gets new minted tokens that represent staked tokens.
45-
The denom has the following structure: `cosmosvaloper1**************************************/123`, so it consists of the validator address and an index of this LSM share.
44+
Once the operation above is performed, a new denom is created and the user gets new minted tokens that represent staked tokens.
45+
The denom has the following structure: `cosmosvaloper1**************************************/123`, so it consists of the validator address and an index of this LSM share.
4646

47-
## Drop LSM staking restrictions
47+
## Drop LSM staking restrictions
4848

49-
That tokenized share can be staked with Drop only if it was produced by validatator from the Drop _validator list_.
49+
That tokenized share can be staked with Drop only if it was produced by validatator from the Drop _validator list_.
5050
To get this list you need to do the following:
5151

5252
- Query `core` contract config:
53+
5354
```json
5455
{
5556
"config": {}
@@ -102,7 +103,7 @@ To get this list you need to do the following:
102103

103104
## IBC transfer and staking LSM share with Drop
104105

105-
After one created a tokenized share on Cosmos Hub, it can be staked with Drop.
106+
After one created a tokenized share on Cosmos Hub, it can be staked with Drop.
106107
As well as with ATOM, transfer and stake can be done in one transaction (thankfully to IBC hooks):
107108

108109
```json
@@ -139,4 +140,4 @@ Where:
139140

140141
Alternatively, one can split the operations in two.
141142
In this case, it will be regular IBC transfer for the LSM share, and regular staking with Drop.
142-
LSM share staking process is the very same as [ASSET staking](overview#staking), but the coin attached to the message is an LSM share IBC-transferred to Neutron.
143+
LSM share staking process is the very same as [ASSET staking](overview#staking), but the coin attached to the message is an LSM share IBC-transferred to Neutron.

static/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)