github.com/Finschia/finschia-sdk@v0.49.1/x/fswap/types/config.go (about)

     1  package types
     2  
     3  type Config struct {
     4  	MaxSwaps      int
     5  	UpdateAllowed bool
     6  }
     7  
     8  func DefaultConfig() Config {
     9  	return Config{
    10  		MaxSwaps:      1,
    11  		UpdateAllowed: false,
    12  	}
    13  }