Reputation
Intro
Reputation.sol is a Graphite system smart contract. It's needed for users to create their own reputation-based smart contracts.
Reputation is calculated as follows:
Parameter
Сriteria
Reputation Score
Creation date (CD)
more 100000 blocks ago
100
50000 - 100000 blocks ago
70
10000 - 50000 blocks ago
50
less 10000 blocks ago
0
Parameter
Criteria
Reputation Score
Activated (A)
Activated
100
Not Activated
0
Parameter
Criteria
Reputation Score
KYC
Level 0
0
Level 1
100
Parameter
Criteria
Reputation Score
Quantity of txn (QTx)
more 1000
100
500 - 1000
80
100 - 500
50
10 - 100
30
1 - 10
5
0
0
Parameter
Criteria
Reputation Score
Difference (Diff)
(all in - all in) more 0.1 @G
50
(all in - all out) less 0.1 @G
0
Network address of the contract
Functions
getReputation(address addr)
Purpose
Call getReputation(address addr) to get the reputation of a particular address.
Arguments
address - wallet address.
After Execution
This function returns the reputation.
Last updated