diff --git a/docs/api/runtime-calls.md b/docs/api/runtime-calls.md index 3c96e8358dfda38ca1dc6434860180de1e675926..971f556b4839c3846883a962956ef96d782531c2 100644 --- a/docs/api/runtime-calls.md +++ b/docs/api/runtime-calls.md @@ -359,7 +359,7 @@ receiver: T::IdtyIndex </details> - +Invite a WoT member to try becoming a Smith #### accept_invitation - 1 @@ -372,7 +372,7 @@ Taking 0.0085 % of a block. </details> - +Accept an invitation (must have been invited first) #### certify_smith - 2 @@ -386,7 +386,7 @@ receiver: T::IdtyIndex </details> - +Certify an invited smith which can lead the certified to become a Smith ### AuthorityMembers - 11 diff --git a/docs/api/runtime-events.md b/docs/api/runtime-events.md index 566e7383905fab4996865f7a71390aefa0b0c6cb..850b1f037f8707877710db6e3819ff3ecdbc7033 100644 --- a/docs/api/runtime-events.md +++ b/docs/api/runtime-events.md @@ -1,6 +1,6 @@ # Runtime events -There are **128** events from **35** pallets. +There are **129** events from **35** pallets. <ul> <li>System - 0 @@ -674,12 +674,25 @@ idty_index: T::IdtyIndex <li> <details> <summary> -<code>CertificationReceived(idty_index, issued_by)</code> - 2</summary> +<code>SmithCertAdded(receiver, issuer)</code> - 2</summary> Certification received ```rust -idty_index: T::IdtyIndex -issued_by: T::IdtyIndex +receiver: T::IdtyIndex +issuer: T::IdtyIndex +``` + +</details> +</li> +<li> +<details> +<summary> +<code>SmithCertRemoved(receiver, issuer)</code> - 3</summary> +Certification lost + +```rust +receiver: T::IdtyIndex +issuer: T::IdtyIndex ``` </details> @@ -687,7 +700,7 @@ issued_by: T::IdtyIndex <li> <details> <summary> -<code>PromotedToSmith(idty_index)</code> - 3</summary> +<code>SmithMembershipAdded(idty_index)</code> - 4</summary> A smith gathered enough certifications to become an authority (can call `go_online()`). ```rust @@ -699,7 +712,7 @@ idty_index: T::IdtyIndex <li> <details> <summary> -<code>SmithExcluded(idty_index)</code> - 4</summary> +<code>SmithMembershipRemoved(idty_index)</code> - 5</summary> A smith has been removed from the smiths set. ```rust diff --git a/resources/metadata.scale b/resources/metadata.scale index 1db6c720cb1e51c1688823161d0edf73e9b837e6..78cad8eac5ff6bb55722910cf3791abfef75040a 100644 Binary files a/resources/metadata.scale and b/resources/metadata.scale differ