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:

Reputation=CD+A+KYC+QTx+DiffReputation=CD+A+KYC+QTx+Diff
Parameter
Сriteria
Reputation Score

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

Parameter
Criteria
Reputation Score

Activated (A)

Activated

1

Not Activated

0

Parameter
Criteria
Reputation Score

KYC

Level 0

0

Level 1

1

Level 2

3

Parameter
Criteria
Reputation Score

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

Parameter
Criteria
Reputation Score

Difference (Diff)

(all in - all in) more 0.1 @G

0.5

(all in - all out) less 0.1 @G

0

Network address of the contract

Reputation_address = "0x0000000000000000000000000000000000001008"

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