2022-07-20 23:14:43 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.earn.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
2024-05-01 03:17:24 +00:00
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
2022-11-22 23:22:07 +00:00
|
|
|
|
2022-07-28 16:50:59 +00:00
|
|
|
// StrategyType is the type of strategy that a vault uses to optimize yields.
|
2022-07-20 23:14:43 +00:00
|
|
|
enum StrategyType {
|
|
|
|
option (gogoproto.goproto_enum_prefix) = false;
|
|
|
|
|
2022-07-28 16:50:59 +00:00
|
|
|
// STRATEGY_TYPE_UNSPECIFIED represents an unspecified or invalid strategy type.
|
|
|
|
STRATEGY_TYPE_UNSPECIFIED = 0;
|
|
|
|
// STRATEGY_TYPE_HARD represents the strategy that deposits assets in the Hard
|
|
|
|
// module.
|
|
|
|
STRATEGY_TYPE_HARD = 1;
|
|
|
|
// STRATEGY_TYPE_SAVINGS represents the strategy that deposits assets in the
|
|
|
|
// Savings module.
|
2022-07-28 16:39:57 +00:00
|
|
|
STRATEGY_TYPE_SAVINGS = 2;
|
2022-07-20 23:14:43 +00:00
|
|
|
}
|