You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -47,16 +45,20 @@ Then add the following line to `remappings.txt` file:
47
45
48
46
### Modifying the Protocol's Contract
49
47
50
-
The Protocol's contract should be updated to:
48
+
Developers need to update the Protocol's contract to:
51
49
52
-
1. Utilize `isPermissioned` method from `IExpressRelay` interface to **permit** Express Relay transactions.
53
-
1. Implement the `IExpressRelayFeeReceiver` interface to receive funds from Express Relay.
50
+
1. Utilize [`isPermissioned`](https://github.com/pyth-network/pyth-crosschain/blob/main/express_relay/sdk/solidity/IExpressRelay.sol#L10C14-L10C28) method from `IExpressRelay` interface to **permit** Express Relay transactions.
51
+
1. Implement the [`IExpressRelayFeeReceiver`](https://github.com/pyth-network/pyth-crosschain/blob/main/express_relay/sdk/solidity/IExpressRelayFeeReceiver.sol#L4) interface to **receive** funds from Express Relay.
54
52
55
53
#### 1. Permit Express Relay Transactions
56
54
57
55
The `isPermissioned` function takes two arguments:
58
56
1.`protocolFeeReceiver`: The address of the Protocol's contract.
59
-
1.`permissionId`: A unique identifier for the liquidation opportunity. TODO: Add Permission ID Reference
57
+
1.`permissionId`: A unique identifier for the liquidation opportunity.
58
+
59
+
<Callouttype="info"emoji="ℹ️">
60
+
The `permissionId` allows you to permission an depermission a set of transaction. ........ To know more about permission ID, refer to the [Permission ID](#) page.
0 commit comments