github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/x/bank/simulation/params.go (about) 1 package simulation 2 3 // DONTCOVER 4 5 import ( 6 "fmt" 7 "math/rand" 8 9 "github.com/fibonacci-chain/fbc/libs/cosmos-sdk/x/bank/internal/types" 10 "github.com/fibonacci-chain/fbc/libs/cosmos-sdk/x/simulation" 11 ) 12 13 const keySendEnabled = "sendenabled" 14 15 // ParamChanges defines the parameters that can be modified by param change proposals 16 // on the simulation 17 func ParamChanges(r *rand.Rand) []simulation.ParamChange { 18 return []simulation.ParamChange{ 19 simulation.NewSimParamChange(types.ModuleName, keySendEnabled, 20 func(r *rand.Rand) string { 21 return fmt.Sprintf("%v", GenSendEnabled(r)) 22 }, 23 ), 24 } 25 }