cosmos-sdk: github.com/cosmos/cosmos-sdk/x/auth/vesting/exported Index | Files

package exported

import "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported"

Index

Package Files

exported.go

type VestingAccount Uses

type VestingAccount interface {
    authexported.Account

    // Delegation and undelegation accounting that returns the resulting base
    // coins amount.
    TrackDelegation(blockTime time.Time, amount sdk.Coins)
    TrackUndelegation(amount sdk.Coins)

    GetVestedCoins(blockTime time.Time) sdk.Coins
    GetVestingCoins(blockTime time.Time) sdk.Coins

    GetStartTime() int64
    GetEndTime() int64

    GetOriginalVesting() sdk.Coins
    GetDelegatedFree() sdk.Coins
    GetDelegatedVesting() sdk.Coins
}

VestingAccount defines an account type that vests coins via a vesting schedule.

Package exported imports 3 packages (graph) and is imported by 3 packages. Updated 2019-10-10. Refresh now. Tools for package owners.