Skip to content

Instantly share code, notes, and snippets.

@super3
Last active September 8, 2020 01:48
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save super3/a36a3d4967951ec678200f499364b81a to your computer and use it in GitHub Desktop.
Save super3/a36a3d4967951ec678200f499364b81a to your computer and use it in GitHub Desktop.
Storj Bridge Payout Formula

Payout Formula

paymentModelFunction = function(gbHours, telemReports, downloadedBytes) {
 gbHoursScaled =  (gbHours - mean(gbHours)) / sd(gbHours)
 telemReportsScaled =  (telemReports - mean(telemReports)) / sd(telemReports)
 downloadedBytesScaled = (downloadedBytes - mean(downloadedBytes)) / sd(downloadedBytes)
 
 basePayout = 10
 ghHourPayout = 12.2221 * gbHoursScaled
 telemReportsPayout = 0.1452 * telemReportsScaled
 downloadedBytesPayout = 12.6849 * downloadedBytesScaled
 
 finalPayout = ghHourPayout + telemReportsPayout + downloadedBytesPayout + basePayout
}

Payment Cut-off

farmerCutoff = function(farmerData, hoursInMonth) {
 subset(farmerData,
        GigabyteHours >= hoursInMonth | (TelemetryReportCount >= mean(TelemetryReportCount) &
        DownloadedBytes >= mean(DownloadedBytes))
 )
}
  • There are no rewards for storing less than 1 GB for the month.
  • However, if a user has telemetry reports, exchange reports, or downloads they may still receive a reward.
  • There are no rewards if a user has not been seen in the past week.

Details

  • Each component (gbHours, telemetry reports, and downloaded bytes) is scaled so that each metric ends up being a measurement of how far away you are from the mean
  • Those values are multiplied by certain weights and summed to arrive at a final value
@dugwood
Copy link

dugwood commented Feb 17, 2018

@cryptochrism: log on to https://community.storj.io/ and you'll find the spreadsheet in the #payments channel.

@KevinGabbert
Copy link

that page is no longer there. where do i look now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment