State
State Objects
State Object
Description
Key
Value
Store
Incentive
type Incentive struct {
// contract address
Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
// denoms and percentage of rewards to be allocated
Allocations github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,2,rep,name=allocations,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"allocations"`
// number of remaining epochs
Epochs uint32 `protobuf:"varint,3,opt,name=epochs,proto3" json:"epochs,omitempty"`
// distribution start time
StartTime time.Time `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"`
// cumulative gas spent by all gasmeters of the incentive during the epoch
TotalGas uint64 `protobuf:"varint,5,opt,name=total_gas,json=totalGas,proto3" json:"total_gas,omitempty"`
}GasMeter
AllocationMeter
Genesis State
Last updated