Skip to content

Commit 2448bc8

Browse files
committed
WIP-comments-resolved
1 parent d028c8d commit 2448bc8

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

pages/express-relay/integrate-as-protocol.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide will explain how DeFi protocols can integrate Express Relay.
66

77
Integrating with Express Relay involves two main steps:
88

9-
- **Update** your DeFi Protocol's Contract.
9+
- **Update** your DeFi protocol's contract.
1010
- **Expose** opportunities to searchers for auction.
1111

1212
## Update your DeFi Protocol's Contract
@@ -91,7 +91,7 @@ interface IExpressRelayFeeReceiver {
9191
```
9292

9393
The following code snippet shows a sample Express Relay-integrated contract that performs liquidation.
94-
Note: The highlighted lines show the contract's relevant additions for Express Relay integration.
94+
_Note: The highlighted lines show the contract's relevant additions for Express Relay integration._
9595

9696
```solidity showLineNumbers {1,2,12,14,21,38,39,41,42, 57-61} copy
9797
import "@pythnetwork/express-relay-sdk-solidity/IExpressRelay.sol";

pages/express-relay/integrate-as-searcher.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Express Relay exposes different endpoints for interaction, which can be used dir
1010
Searchers can integrate with Express Relay in three steps:
1111

1212
1. Subscribe to new opportunities
13-
2. Evaluate the opportunity and construct the bid
13+
2. Construct the bid
1414
3. Submit the bid to Express Relay.
1515

1616
<Steps>
@@ -119,9 +119,9 @@ The server responds with opportunities in the following format:
119119
}
120120
```
121121

122-
### Evaluate the Opportunity and Construct the Bid
122+
### Construct the Bid
123123

124-
Searchers should construct a bid based on the fetched opportunity.
124+
Searchers should construct a bid by evaluating the fetched opportunity.
125125
The SDKs provide an easy way to construct a bid using the [`OpportunityAdapter`](./integrate-as-searcher/opportunity-adapter.mdx) contract.
126126
The `OpportunityAdapter` contract handles asset transfers and ensures the opportunity is executed correctly.
127127

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"opportunity-adapter": "Prepare assets for Opportunity Adapter"
2+
"opportunity-adapter": "Prepare Assets for Opportunity Adapter",
3+
"custom-contract": "Use a Custom Contract"
34
}

0 commit comments

Comments
 (0)