Skip to content

Commit 7ea1087

Browse files
Sync src from main: a558615 add sync ci
1 parent 2c7a193 commit 7ea1087

File tree

8 files changed

+13
-19
lines changed

8 files changed

+13
-19
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Table of contents
22

3-
## Developer
3+
# Developer
44

55
* [Celer IM Overview](README.md)
66
* [Inter-chain App Use Cases](developer/celer-im-overview/inter-chain-app-use-cases.md)

src/developer/architecture-walkthrough/end-to-end-workflow.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ SrcApp at the source chain wants to send an arbitrary message to DstApp at the d
88

99
The SrcApp sends a message to the MessageBus contract on the source chain, which emits the message event. SGN catches the event and collects signatures from all validators. The executor then submits the SGN-signed message to the MessageBus contract on the destination chain, which will verify the message info and then call the message execution function of the DstApp.
1010

11-
12-
1311
![](../../.gitbook/assets/msg-only-flow.png)
1412

1513
### Cross-chain message with token transfer

src/developer/contract-addresses-and-rpc-info.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,5 +246,3 @@ cBridge: [0x9B36f165baB9ebe611d491180418d8De4b8f3a1f](https://testnet.explorer.s
246246

247247
MessageBus: [0x9Bb46D5100d2Db4608112026951c9C965b233f4D](https://testnet.explorer.sapphire.oasis.dev/address/0x9Bb46D5100d2Db4608112026951c9C965b233f4D)
248248

249-
250-

src/developer/development-guide/contract-examples/batch-transfer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here is an example app that sends tokens from one sender at the source chain to
88
2. The receiver side implements the `executeMessageWithTransfer` interface to handle the batch transfer message, and distribute received tokens according to the message content. It also internally calls `sendMessage` to send a receipt back to the source chain app contract.
99
3. The sender side implements the `executeMessage` interface to handle the receipt message.
1010

11-
{% code lineNumbers="true" %}
11+
1212
```solidity
1313
contract BatchTransfer is MessageApp {
1414
using SafeERC20 for IERC20;
@@ -201,4 +201,4 @@ contract BatchTransfer is MessageApp {
201201
}
202202
}
203203
```
204-
{% endcode %}
204+

src/developer/development-guide/contract-examples/hello-world-with-token-transfer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Here is a basic hello-world example that sends and receives cross-chain messages
77

88
[Source code at GitHub](https://github.com/celer-network/sgn-v2-contracts/blob/main/contracts/message/apps/examples/MsgExampleBasicTransfer.sol). 
99

10-
{% code lineNumbers="true" %}
10+
1111
```solidity
1212
contract MsgExampleBasicTransfer is MessageApp {
1313
using SafeERC20 for IERC20;
@@ -108,4 +108,4 @@ contract MsgExampleBasicTransfer is MessageApp {
108108
}
109109
}
110110
```
111-
{% endcode %}
111+

src/developer/development-guide/contract-examples/hello-world.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Here is a hello-world example that sends and receives cross-chain messages with
77

88
[Source code at GitHub](https://github.com/celer-network/sgn-v2-contracts/blob/main/contracts/message/apps/examples/MsgExampleBasic.sol). 
99

10-
{% code lineNumbers="true" %}
10+
1111
```solidity
1212
// A HelloWorld example for basic cross-chain message passing
1313
contract MsgExampleBasic is MessageApp {
@@ -46,5 +46,5 @@ contract MsgExampleBasic is MessageApp {
4646
}
4747
}
4848
```
49-
{% endcode %}
49+
5050

src/developer/development-guide/contract-examples/in-order-delivery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Here is an example that sends and receives cross-chain messages with guaranteed
44

55
[Source code at GitHub](https://github.com/celer-network/sgn-v2-contracts/blob/main/contracts/message/apps/examples/MsgExampleInOrder.sol).
66

7-
{% code lineNumbers="true" %}
7+
88
```solidity
99
// a simple example to enforce in-order message delivery
1010
contract MsgExampleInOrder is MessageApp {
@@ -60,4 +60,4 @@ contract MsgExampleInOrder is MessageApp {
6060
}
6161
}
6262
```
63-
{% endcode %}
63+

src/developer/development-guide/query-im-tx-status.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Query IM Tx Status
22

3-
4-
53
## Get Tx status from CelerIM system
64

75
<mark style="color:blue;">`GET`</mark> `https://api.celerscan.com/scan/searchByTxHash`
@@ -14,8 +12,8 @@
1412
| ------------------------------------ | ------ | -------------------------- |
1513
| tx<mark style="color:red;">\*</mark> | String | tx hash of the transaction |
1614

17-
{% tabs %}
18-
{% tab title="200: OK " %}
15+
16+
1917
```json
2018
{
2119
"err": null,
@@ -51,8 +49,8 @@
5149
]
5250
}
5351
```
54-
{% endtab %}
55-
{% endtabs %}
52+
53+
5654

5755
## Request Parameter
5856

0 commit comments

Comments
 (0)