The weight of any voter in the census is the sum of his or her original weight plus the sum of weights delegated on he or she.
If the final weight of the user is 0 (after delegation computation), the user will not be included in the census.
It means that is possible that an user who has delegated his or her vote, to still be part of the census because other user has delegated his or her voting power on she or he.
The user that receives a delegation has not a method to refuse it.
New endpoints
POST /profile/delegation: Allows to create a new delegation for the logged user for a certain community.
{
"to": 5309,
"communityId": "degen:3"
}
DELETE /profile/delegation/{delegationID}: Allows to delete a existing delegation for the logged user.
GET /communities/{communityID}/delegations: List delegations for a certain community.
Initial support for delegation in communities:
New endpoints
POST /profile/delegation
: Allows to create a new delegation for the logged user for a certain community.DELETE /profile/delegation/{delegationID}
: Allows to delete a existing delegation for the logged user.GET /communities/{communityID}/delegations
: List delegations for a certain community.Updated endpoints
GET /profile
: Now includes the user delegations.