mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-13 03:25:20 +00:00
21 lines
429 B
Go
21 lines
429 B
Go
|
package store
|
||
|
|
||
|
import (
|
||
|
"github.com/cosmos/cosmos-sdk/codec"
|
||
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||
|
)
|
||
|
|
||
|
// IncentiveStore provides methods for interacting with the incentive store.
|
||
|
type IncentiveStore struct {
|
||
|
cdc codec.Codec
|
||
|
key sdk.StoreKey
|
||
|
}
|
||
|
|
||
|
// NewIncentiveStore creates a new IncentiveStore
|
||
|
func NewIncentiveStore(cdc codec.Codec, key sdk.StoreKey) IncentiveStore {
|
||
|
return IncentiveStore{
|
||
|
cdc: cdc,
|
||
|
key: key,
|
||
|
}
|
||
|
}
|