2021-01-28 19:43:32 +00:00
|
|
|
package settlement
|
|
|
|
|
2021-02-01 16:18:34 +00:00
|
|
|
import (
|
|
|
|
"github.com/nspcc-dev/neofs-node/pkg/innerring/processors/settlement/basic"
|
|
|
|
)
|
|
|
|
|
2021-01-28 19:43:32 +00:00
|
|
|
// AuditProcessor is an interface of data audit fee processor.
|
|
|
|
type AuditProcessor interface {
|
|
|
|
// Must process data audit conducted in epoch.
|
|
|
|
ProcessAuditSettlements(epoch uint64)
|
|
|
|
}
|
2021-02-01 16:18:34 +00:00
|
|
|
|
|
|
|
// BasicIncomeInitializer is an interface of basic income context creator.
|
|
|
|
type BasicIncomeInitializer interface {
|
|
|
|
// Creates context that processes basic income for provided epoch.
|
|
|
|
CreateContext(epoch uint64) (*basic.IncomeSettlementContext, error)
|
|
|
|
}
|