Skip to content

Commit

Permalink
fix: broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jul 24, 2024
1 parent 86d493f commit 564c245
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/learn/cross-chain/cross-chain-transfer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Let's say you want to transfer token **FOO** from chain **A** to chain **B**. Be

- **Register the token contract address of chain A on chain B**

Create a proposal for the `RegisterCrossChainTokenContractAddress` for the default parliament organization on chain B. Refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for more details. Apart from cross chain verification context, you also need to provide the origin data of `tx_1` and the `Token Contract` address on chain A.
Create a proposal for the `RegisterCrossChainTokenContractAddress` for the default parliament organization on chain B. Refer to the [Parliament contract documentation](/tools/smart-contract-api/parliament-contract/) for more details. Apart from cross chain verification context, you also need to provide the origin data of `tx_1` and the `Token Contract` address on chain A.

```protobuf
rpc RegisterCrossChainTokenContractAddress (RegisterCrossChainTokenContractAddressInput) returns (google.protobuf.Empty) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Anyone can request the creation of a side chain in the aelf ecosystem. The propo

### API for Proposing Side Chain Creation

The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/).
The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/).

Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/).
Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/tools/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/).

Once the side chain is created, the `SideChainCreatedEvent` containing the chain ID will be fired.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Anyone can request the creation of a side chain in the aelf ecosystem. The propo

### API for Proposing Side Chain Creation

The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/).
The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/).

Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/).
Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/tools/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/).

Once the side chain is created, the `SideChainCreatedEvent` containing the chain ID will be fired.

Expand Down
13 changes: 0 additions & 13 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,6 @@ const sidebars: SidebarsConfig = {
items: [{ type: "autogenerated", dirName: "tutorials" }],
},
],
docs: [
{
type: "category",
label: "Docs Reference",

collapsible: false,
link: {
type: "generated-index",
slug: "/docs",
},
items: [{ type: "autogenerated", dirName: "docs" }],
},
],
tools: [
{
type: "category",
Expand Down

0 comments on commit 564c245

Please sign in to comment.