points.gno

0.22 Kb ยท 14 lines
 1package evaluation
 2
 3// Points could be converted to rewards
 4type Points struct {
 5	total   int64
 6	factors map[string]int32
 7}
 8
 9func NewPoints(t int64, f map[string]int32) Points {
10	return Points{
11		total:   t,
12		factors: f,
13	}
14}