mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 08:45:19 +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,
|
||
|
}
|
||
|
}
|