mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-30 18:25:19 +00:00
15 lines
446 B
Go
15 lines
446 B
Go
|
package v18de63
|
||
|
|
||
|
import (
|
||
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||
|
)
|
||
|
|
||
|
// Period defines a length of time and amount of coins that will vest
|
||
|
type Period struct {
|
||
|
Length int64 `json:"length" yaml:"length"` // length of the period, in seconds
|
||
|
Amount sdk.Coins `json:"amount" yaml:"amount"` // amount of coins vesting during this period
|
||
|
}
|
||
|
|
||
|
// Periods stores all vesting periods passed as part of a PeriodicVestingAccount
|
||
|
type Periods []Period
|