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
Copy file name to clipboardExpand all lines: docs/pages/interaction/integration/integration-revshare.mdx
+92-44Lines changed: 92 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,21 +17,34 @@ To participate in the Order Router Rev Share program, users need to propose and
17
17
18
18
## Voting in via Governance
19
19
20
-
To participate in the Order Router Rev Share program, you need to create and submit a governance proposal. Below is an example of what the governance message structure looks like:
To participate in the Order Router Rev Share program, you need to create and submit a governance proposal. Below are examples of the governance message structure:
21
+
22
+
:::code-group
23
+
24
+
```python [Python]
25
+
# Example: Set order router revenue share via governance
26
+
from dydx_v4_client.node.client import NodeClient
27
+
28
+
# This method creates the governance message
29
+
# Note: This requires governance authority to execute
30
+
asyncdefset_order_router_revenue_share_example():
31
+
node =await NodeClient.connect(network.node)
32
+
33
+
# Set order router revenue share
34
+
# authority: Governance authority address
35
+
# address: Order router address that will receive revenue share
share_ppm=7500# New revenue share: 0.75% (7500 parts per million)
74
+
)
75
+
76
+
print(response)
59
77
```
60
78
79
+
:::
80
+
61
81
The proposal must go through the standard governance voting process and receive a passing vote before the updated revenue share percentage takes effect.
62
82
63
83
:::note
@@ -71,19 +91,27 @@ The proposal must go through the standard governance voting process and receive
71
91
To delete an order router's revenue share configuration, you simply need to set the revenue share percentage to 0. This process follows the same governance workflow as setting up or updating a revenue share.
72
92
73
93
Submit a governance proposal with the following message structure:
0 commit comments