2019-10-23 13:04:54 +01:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package paymentsconfig
|
|
|
|
|
2019-11-15 14:27:44 +00:00
|
|
|
import (
|
|
|
|
"storj.io/storj/satellite/payments/stripecoinpayments"
|
|
|
|
)
|
2019-10-23 13:04:54 +01:00
|
|
|
|
|
|
|
// Config defines global payments config.
|
|
|
|
type Config struct {
|
|
|
|
Provider string `help:"payments provider to use" default:""`
|
|
|
|
StripeCoinPayments stripecoinpayments.Config
|
2020-01-28 23:36:54 +00:00
|
|
|
StorageTBPrice string `help:"price user should pay for storing TB per month" default:"10"`
|
|
|
|
EgressTBPrice string `help:"price user should pay for each TB of egress" default:"45"`
|
|
|
|
ObjectPrice string `help:"price user should pay for each object stored in network per month" default:"0.0000022"`
|
2020-01-24 13:38:53 +00:00
|
|
|
BonusRate int64 `help:"amount of percents that user will earn as bonus credits by depositing in STORJ tokens" default:"10"`
|
2019-10-23 13:04:54 +01:00
|
|
|
}
|