github.com/lino-network/lino@v0.6.11/x/post/types/events.go (about) 1 package types 2 3 import ( 4 linotypes "github.com/lino-network/lino/types" 5 ) 6 7 // RewardEvent - when donation occurred, a reward event will be register 8 // at 7 days later. After 7 days reward event will be executed and send 9 // inflation to author. 10 type RewardEvent struct { 11 PostAuthor linotypes.AccountKey `json:"post_author"` 12 PostID string `json:"post_id"` 13 Consumer linotypes.AccountKey `json:"consumer"` 14 Evaluate linotypes.MiniDollar `json:"evaluate"` 15 FromApp linotypes.AccountKey `json:"from_app"` 16 }