15 lines
335 B
Go
15 lines
335 B
Go
|
package types
|
||
|
|
||
|
import (
|
||
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||
|
)
|
||
|
|
||
|
// create a new DelegatorStartingInfo
|
||
|
func NewDelegatorStartingInfo(previousPeriod uint64, stake sdk.Dec, height uint64) DelegatorStartingInfo {
|
||
|
return DelegatorStartingInfo{
|
||
|
PreviousPeriod: previousPeriod,
|
||
|
Stake: stake,
|
||
|
Height: height,
|
||
|
}
|
||
|
}
|