Skip to main content

Researcher

Researcher​

Researcher user type data structure.

Parameters​

NameTypeDescription
struct Researcher {
uint64 id;
address researcherWallet;
string name;
struct Pool pool;
string proofPhoto;
uint256 publishedResearches;
uint256 lastPublishedAt;
uint256 publishedItems;
uint256 lastCalculatorItemAt;
uint256 createdAt;
bool canPublishMethod;
}

Pool​

Researcher pool data.

Parameters​

NameTypeDescription
struct Pool {
uint256 level;
uint256 currentEra;
}

Research​

Research data structure.

Parameters​

NameTypeDescription
struct Research {
uint64 id;
uint256 era;
address createdBy;
string title;
string thesis;
string file;
uint256 validationsCount;
bool valid;
uint256 invalidatedAt;
uint256 createdAtBlock;
}

CalculatorItem​

Calculator item data structure.

Parameters​

NameTypeDescription
struct CalculatorItem {
uint64 id;
address createdBy;
string item;
string thesis;
string unit;
uint256 carbonImpact;
uint256 createdAtBlock;
}

EvaluationMethod​

Evaluation method data structure.

Parameters​

NameTypeDescription
struct EvaluationMethod {
uint64 id;
address createdBy;
string title;
string research;
string projectURL;
uint256 createdAtBlock;
}

Penalty​

Research penalty.

Parameters​

NameTypeDescription
struct Penalty {
uint256 researchId;
}

ContractsDependency​

System used contracts address.

Parameters​

NameTypeDescription
struct ContractsDependency {
address communityRulesAddress;
address researcherPoolAddress;
address validationRulesAddress;
address voteRulesAddress;
}