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: src/story_protocol_python_sdk/resources/Royalty.py
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -158,15 +158,15 @@ def claim_all_revenue(
158
158
tx_options: dict|None=None,
159
159
) ->dict:
160
160
"""
161
-
Claims all revenue from the child IPs of an ancestor IP, then transfer all claimed tokens to the wallet if the wallet owns the IP or is the claimer. If claimed token is WIP, it will also be converted back to native tokens.
161
+
Claims all revenue from the child IPs of an ancestor IP, then transfer all claimed tokens to the wallet if the wallet owns the IP or is the claimer. If claimed token is `WIP(Wrapped IP)`, it will also be converted back to native tokens.
162
162
163
163
Even if there are no child IPs, you must still populate `currency_tokens` with the token addresses you wish to claim. This is required for the claim operation to know which token balances to process.
164
164
:param ancestor_ip_id str: The IP ID of the ancestor.
165
165
:param claimer str: The address of the claimer.
166
166
:param child_ip_ids list: List of child IP IDs.
167
167
:param royalty_policies list: List of royalty policy addresses.
168
168
:param currency_tokens list: List of currency token addresses.
169
-
:param claim_options dict: [Optional] Options for auto_transfer_all_claimed_tokens_from_ip and auto_unwrap_ip_tokens. Default values are True.
169
+
:param claim_options dict: [Optional] Options for `auto_transfer_all_claimed_tokens_from_ip` and `auto_unwrap_ip_tokens`. Default values are True.
170
170
:param tx_options dict: [Optional] The transaction options.
171
171
:return dict: A dictionary with transaction details and claimed tokens.
0 commit comments