Reputation
Last updated
Last updated
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:
Creation date (CD)
more 100000 blocks ago
1
50000 - 100000 blocks ago
0.7
10000 - 50000 blocks ago
0.5
less 10000 blocks ago
0
Activated (A)
Activated
1
Not Activated
0
KYC
Level 0
0
Level 1
1
Level 2
3
Quantity of txn (QTx)
more 1000
1
500 - 1000
0.8
100 - 500
0.5
10 - 100
0.3
1 - 10
0.05
0
0
Difference (Diff)
(all in - all in) more 0.1 @G
0.5
(all in - all out) less 0.1 @G
0
Purpose
Call getReputation(address addr)
to get the reputation of a particular address.
Arguments
address
- wallet address.
After Execution
This function returns the reputation.