github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/x/params/expected_keepers.go (about)

     1  package params
     2  
     3  import (
     4  	sdk "github.com/fibonacci-chain/fbc/libs/cosmos-sdk/types"
     5  )
     6  
     7  // BankKeeper shows the expected action of bank keeper
     8  type BankKeeper interface {
     9  	GetCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
    10  }
    11  
    12  // StakingKeeper shows the expected action of staking keeper
    13  type StakingKeeper interface {
    14  	IsValidator(ctx sdk.Context, addr sdk.AccAddress) bool
    15  }
    16  
    17  // GovKeeper shows the expected action of gov keeper
    18  type GovKeeper interface {
    19  	InsertWaitingProposalQueue(ctx sdk.Context, blockHeight, proposalID uint64)
    20  	RemoveFromWaitingProposalQueue(ctx sdk.Context, blockHeight, proposalID uint64)
    21  }