Contributor
Contributor
Contributor user type data structure.
Parameters
| Name | Type | Description |
|---|
struct Contributor {
uint64 id;
address contributorWallet;
string name;
string proofPhoto;
struct Pool pool;
uint256 totalContributions;
uint256 createdAt;
uint256 lastPublishedAt;
}
Pool
Contributor pool data.
Parameters
| Name | Type | Description |
|---|
struct Pool {
uint256 level;
uint256 currentEra;
}
Contribution
Contribution data structure.
Parameters
| Name | Type | Description |
|---|
struct Contribution {
uint64 id;
uint256 era;
address user;
string description;
string report;
uint256 validationsCount;
bool valid;
uint256 invalidatedAt;
uint256 createdAtBlockNumber;
}
Penalty
Contribution penalty.
struct Penalty {
uint64 contributionId;
}
ContractsDependency
System used contracts address.
struct ContractsDependency {
address communityRulesAddress;
address contributorPoolAddress;
address validationRulesAddress;
address voteRulesAddress;
}