cosmos-sdk: Index | Files

package exported

import ""


Package Files


type VestingAccount Uses

type VestingAccount interface {

    // 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.