File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ Subtensor provides a custom chain extension that allows smart contracts to inter
3535| 11 | ` remove_stake_full_limit ` | Fully withdraw stake with optional price limit | ` (AccountId, NetUid, Option<TaoCurrency>) ` | Error code |
3636| 12 | ` set_coldkey_auto_stake_hotkey ` | Configure automatic stake destination | ` (NetUid, AccountId) ` | Error code |
3737| 13 | ` add_proxy ` | Add a staking proxy for the caller | ` (AccountId) ` | Error code |
38+ | 14 | ` remove_proxy ` | Remove a staking proxy for the caller | ` (AccountId) ` | Error code |
3839
3940Example usage in your ink! contract:
4041``` rust
@@ -76,6 +77,7 @@ Chain extension functions that modify state return error codes as `u32` values.
7677| 16 | ` ProxyTooMany ` | Too many proxies registered |
7778| 17 | ` ProxyDuplicate ` | Proxy already exists |
7879| 18 | ` ProxyNoSelfProxy ` | Cannot add self as proxy |
80+ | 19 | ` ProxyNotFound ` | Proxy relationship not found |
7981
8082### Call Filter
8183
You can’t perform that action at this time.
0 commit comments