Skip to content
Snippets Groups Projects

automatically claim membership

Merged Hugo Trentesaux requested to merge hugo-dev into master
All threads resolved!
3 files
+ 83
19
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 22
7
@@ -13,7 +13,7 @@ through on-chain governance mechanisms.
@@ -13,7 +13,7 @@ through on-chain governance mechanisms.
## User calls
## User calls
There are **78** user calls from **23** pallets.
There are **79** user calls from **23** pallets.
### Account - 1
### Account - 1
@@ -867,7 +867,22 @@ Taking 0.018 % of a block.
@@ -867,7 +867,22 @@ Taking 0.018 % of a block.
</details>
</details>
Request an identity to be evaluated
Request caller identity to be evaluated
 
positive evaluation will result in claim/renew membership
 
negative evaluation will result in slash for caller
 
 
#### request_distance_evaluation_for - 4
 
 
<details><summary><code>request_distance_evaluation_for(target)</code></summary>
 
 
```rust
 
target: T::IdtyIndex
 
```
 
</details>
 
 
 
Request target identity to be evaluated
 
only possible for unvalidated identity
#### update_evaluation - 1
#### update_evaluation - 1
@@ -882,6 +897,7 @@ computation_result: ComputationResult
@@ -882,6 +897,7 @@ computation_result: ComputationResult
(Inherent) Push an evaluation result to the pool
(Inherent) Push an evaluation result to the pool
 
this is called internally by validators (= inherent)
#### force_update_evaluation - 2
#### force_update_evaluation - 2
@@ -896,22 +912,21 @@ computation_result: ComputationResult
@@ -896,22 +912,21 @@ computation_result: ComputationResult
</details>
</details>
Push an evaluation result to the pool
Force push an evaluation result to the pool
#### force_set_distance_status - 3
#### force_valid_distance_status - 3
<details><summary><code>force_set_distance_status(identity, status)</code></summary>
<details><summary><code>force_valid_distance_status(identity)</code></summary>
Taking 0.0104 % of a block.
Taking 0.0104 % of a block.
```rust
```rust
identity: <T as pallet_identity::Config>::IdtyIndex
identity: <T as pallet_identity::Config>::IdtyIndex
status: Option<(<T as frame_system::Config>::AccountId, DistanceStatus)>
```
```
</details>
</details>
Set the distance evaluation status of an identity
Force set the distance evaluation status of an identity
Removes the status if `status` is `None`.
Removes the status if `status` is `None`.
Loading