diff --git a/helpers/base/cli_flag.go b/helpers/base/cli_flag.go index 7c836b821..b4d216c6b 100644 --- a/helpers/base/cli_flag.go +++ b/helpers/base/cli_flag.go @@ -5,7 +5,6 @@ package base import ( "fmt" - "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/helpers/base/collection.go b/helpers/base/collection.go index 9bc574541..c6ca496ea 100644 --- a/helpers/base/collection.go +++ b/helpers/base/collection.go @@ -5,7 +5,6 @@ package base import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/helpers/base/invariants.go b/helpers/base/invariants.go index 3611c8d70..401138a48 100644 --- a/helpers/base/invariants.go +++ b/helpers/base/invariants.go @@ -1,9 +1,8 @@ package base import ( - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) type invariants struct { diff --git a/helpers/base/mapper.go b/helpers/base/mapper.go index 54db19975..9eb34641a 100644 --- a/helpers/base/mapper.go +++ b/helpers/base/mapper.go @@ -7,10 +7,9 @@ import ( "bytes" "context" "fmt" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - prefixStore "github.com/cosmos/cosmos-sdk/store/prefix" storeTypes "github.com/cosmos/cosmos-sdk/store/types" + sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" "github.com/AssetMantle/modules/helpers" diff --git a/helpers/base/parameter_manager.go b/helpers/base/parameter_manager.go index 8b6e0123b..f316ac948 100644 --- a/helpers/base/parameter_manager.go +++ b/helpers/base/parameter_manager.go @@ -10,7 +10,6 @@ import ( baseLists "github.com/AssetMantle/schema/lists/base" "github.com/AssetMantle/schema/parameters" sdkTypes "github.com/cosmos/cosmos-sdk/types" - paramsTypes "github.com/cosmos/cosmos-sdk/x/params/types" "golang.org/x/net/context" diff --git a/helpers/block.go b/helpers/block.go index 3bc82c256..998050635 100644 --- a/helpers/block.go +++ b/helpers/block.go @@ -5,7 +5,6 @@ package helpers import ( "context" - abciTypes "github.com/cometbft/cometbft/abci/types" ) diff --git a/helpers/cli_command.go b/helpers/cli_command.go index 48c3bff70..1b2c0dcd9 100644 --- a/helpers/cli_command.go +++ b/helpers/cli_command.go @@ -5,7 +5,6 @@ package helpers import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/spf13/cobra" ) diff --git a/helpers/genesis.go b/helpers/genesis.go index ab43d7d1d..2e185c883 100644 --- a/helpers/genesis.go +++ b/helpers/genesis.go @@ -2,7 +2,6 @@ package helpers import ( "context" - "github.com/AssetMantle/schema/lists" sdkCodec "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/gogoproto/proto" diff --git a/helpers/mapper.go b/helpers/mapper.go index b43812fef..44ea34498 100644 --- a/helpers/mapper.go +++ b/helpers/mapper.go @@ -5,7 +5,6 @@ package helpers import ( "context" - storeTypes "github.com/cosmos/cosmos-sdk/store/types" "github.com/cosmos/cosmos-sdk/types/kv" ) diff --git a/helpers/simulator.go b/helpers/simulator.go index 6f79e4948..155adb39f 100644 --- a/helpers/simulator.go +++ b/helpers/simulator.go @@ -4,11 +4,10 @@ package helpers import ( - "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" ) type Simulator interface { diff --git a/simulation/schema/types/base/properties.go b/simulation/schema/types/base/properties.go index 15de0f853..19750d9da 100644 --- a/simulation/schema/types/base/properties.go +++ b/simulation/schema/types/base/properties.go @@ -4,12 +4,11 @@ package base import ( - "math" - "math/rand" - "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/AssetMantle/schema/properties" + "math" + "math/rand" ) func GenerateRandomPropertyList(r *rand.Rand) lists.PropertyList { diff --git a/simulation/schema/types/base/property.go b/simulation/schema/types/base/property.go index 586aadc5e..34b3e8e07 100644 --- a/simulation/schema/types/base/property.go +++ b/simulation/schema/types/base/property.go @@ -4,13 +4,12 @@ package base import ( - "math" - "math/rand" - baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/properties" baseProperties "github.com/AssetMantle/schema/properties/base" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" + "math" + "math/rand" "github.com/AssetMantle/modules/utilities/random" ) diff --git a/utilities/rest/queuing/kafka_types.go b/utilities/rest/queuing/kafka_types.go index cb0796edf..7a362dc7a 100755 --- a/utilities/rest/queuing/kafka_types.go +++ b/utilities/rest/queuing/kafka_types.go @@ -6,10 +6,9 @@ package queuing import ( "github.com/AssetMantle/modules/helpers" "github.com/Shopify/sarama" + dbm "github.com/cometbft/cometbft-db" "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" - - dbm "github.com/cometbft/cometbft-db" ) // TicketID : is a type that implements string diff --git a/x/assets/block/block.go b/x/assets/block/block.go index 1cbdcc3d6..36d85c5ae 100644 --- a/x/assets/block/block.go +++ b/x/assets/block/block.go @@ -5,7 +5,6 @@ package block import ( "context" - abciTypes "github.com/cometbft/cometbft/abci/types" "github.com/AssetMantle/modules/helpers" diff --git a/x/assets/genesis/genesis.go b/x/assets/genesis/genesis.go index 3553f8fcb..9b2cabc39 100644 --- a/x/assets/genesis/genesis.go +++ b/x/assets/genesis/genesis.go @@ -3,7 +3,6 @@ package genesis import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" sdkCodec "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/assets/key/key.go b/x/assets/key/key.go index 342b5e521..8d4edc6a9 100644 --- a/x/assets/key/key.go +++ b/x/assets/key/key.go @@ -4,11 +4,10 @@ package key import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Key = (*Key)(nil) diff --git a/x/assets/mappable/mappable.go b/x/assets/mappable/mappable.go index f7dbea391..af36d18a9 100644 --- a/x/assets/mappable/mappable.go +++ b/x/assets/mappable/mappable.go @@ -4,12 +4,11 @@ package mappable import ( + "github.com/AssetMantle/modules/helpers" codecUtilities "github.com/AssetMantle/schema/codec/utilities" "github.com/AssetMantle/schema/documents" "github.com/AssetMantle/schema/documents/base" "github.com/cosmos/cosmos-sdk/codec" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Mappable = (*Mappable)(nil) diff --git a/x/assets/parameters/burn_enabled/parameter.go b/x/assets/parameters/burn_enabled/parameter.go index 81cdc538d..2ff45e1d1 100644 --- a/x/assets/parameters/burn_enabled/parameter.go +++ b/x/assets/parameters/burn_enabled/parameter.go @@ -4,13 +4,12 @@ package burn_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.BurnEnabledProperty.GetKey() diff --git a/x/assets/parameters/mint_enabled/parameter.go b/x/assets/parameters/mint_enabled/parameter.go index 0c598171c..d4c8c4161 100644 --- a/x/assets/parameters/mint_enabled/parameter.go +++ b/x/assets/parameters/mint_enabled/parameter.go @@ -4,13 +4,12 @@ package mint_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.MintEnabledProperty.GetKey() diff --git a/x/assets/parameters/renumerate_enabled/parameter.go b/x/assets/parameters/renumerate_enabled/parameter.go index 103a4626b..69e478c9b 100644 --- a/x/assets/parameters/renumerate_enabled/parameter.go +++ b/x/assets/parameters/renumerate_enabled/parameter.go @@ -4,13 +4,12 @@ package renumerate_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.RenumerateEnabledProperty.GetKey() diff --git a/x/assets/parameters/unwrap_allowed_coins/parameter.go b/x/assets/parameters/unwrap_allowed_coins/parameter.go index f53b80124..183585bb4 100644 --- a/x/assets/parameters/unwrap_allowed_coins/parameter.go +++ b/x/assets/parameters/unwrap_allowed_coins/parameter.go @@ -4,6 +4,7 @@ package unwrap_allowed_coins import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" @@ -11,8 +12,6 @@ import ( "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.UnwrapAllowedCoinsProperty.GetKey() diff --git a/x/assets/parameters/wrap_allowed_coins/parameter.go b/x/assets/parameters/wrap_allowed_coins/parameter.go index f66c48cab..fa4e8b2e0 100644 --- a/x/assets/parameters/wrap_allowed_coins/parameter.go +++ b/x/assets/parameters/wrap_allowed_coins/parameter.go @@ -4,6 +4,7 @@ package wrap_allowed_coins import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" @@ -11,8 +12,6 @@ import ( "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.WrapAllowedCoinsProperty.GetKey() diff --git a/x/assets/queries/asset/query.go b/x/assets/queries/asset/query.go index 5068b78af..23341e718 100644 --- a/x/assets/queries/asset/query.go +++ b/x/assets/queries/asset/query.go @@ -4,11 +4,10 @@ package asset import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/assets/queries/asset/query_keeper.go b/x/assets/queries/asset/query_keeper.go index 0b41001d4..0957d6e42 100644 --- a/x/assets/queries/asset/query_keeper.go +++ b/x/assets/queries/asset/query_keeper.go @@ -5,7 +5,6 @@ package asset import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/assets/queries/assets/query.go b/x/assets/queries/assets/query.go index 2544da2f6..0f4b6787f 100644 --- a/x/assets/queries/assets/query.go +++ b/x/assets/queries/assets/query.go @@ -4,11 +4,10 @@ package assets import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/assets/queries/assets/query_keeper.go b/x/assets/queries/assets/query_keeper.go index 138de305d..455af4cde 100644 --- a/x/assets/queries/assets/query_keeper.go +++ b/x/assets/queries/assets/query_keeper.go @@ -5,7 +5,6 @@ package assets import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/assets/record/record.go b/x/assets/record/record.go index a5f367e60..d1e8d0fd2 100644 --- a/x/assets/record/record.go +++ b/x/assets/record/record.go @@ -1,14 +1,13 @@ package record import ( - "github.com/AssetMantle/schema/documents" - baseIDs "github.com/AssetMantle/schema/ids/base" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/assets/key" "github.com/AssetMantle/modules/x/assets/mappable" + "github.com/AssetMantle/schema/documents" + baseIDs "github.com/AssetMantle/schema/ids/base" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) var _ helpers.Record = (*Record)(nil) diff --git a/x/assets/simulator/genesis.go b/x/assets/simulator/genesis.go index 9d884dee1..0673392ca 100644 --- a/x/assets/simulator/genesis.go +++ b/x/assets/simulator/genesis.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" baseDocuments "github.com/AssetMantle/schema/documents/base" @@ -16,6 +14,7 @@ import ( baseQualified "github.com/AssetMantle/schema/qualified/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/assets/simulator/operations.go b/x/assets/simulator/operations.go index 11b718a60..a0c6afbf1 100644 --- a/x/assets/simulator/operations.go +++ b/x/assets/simulator/operations.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" baseLists "github.com/AssetMantle/schema/lists/base" @@ -16,6 +14,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" diff --git a/x/assets/simulator/proposals.go b/x/assets/simulator/proposals.go index 3125e3c1a..53aac918f 100644 --- a/x/assets/simulator/proposals.go +++ b/x/assets/simulator/proposals.go @@ -4,14 +4,13 @@ package simulator import ( - govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "math/rand" - sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" + govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" ) func (simulator) ProposalMessages(_ module.SimulationState) []simulationTypes.WeightedProposalMsg { diff --git a/x/assets/transactions/burn/message.go b/x/assets/transactions/burn/message.go index 03dc9fcca..3c17f1e42 100644 --- a/x/assets/transactions/burn/message.go +++ b/x/assets/transactions/burn/message.go @@ -4,12 +4,11 @@ package burn import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/define/message.go b/x/assets/transactions/define/message.go index a28bae5ce..de8274451 100644 --- a/x/assets/transactions/define/message.go +++ b/x/assets/transactions/define/message.go @@ -4,14 +4,13 @@ package define import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/deputize/message.go b/x/assets/transactions/deputize/message.go index 3402db7c2..591038184 100644 --- a/x/assets/transactions/deputize/message.go +++ b/x/assets/transactions/deputize/message.go @@ -4,14 +4,13 @@ package deputize import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/mint/message.go b/x/assets/transactions/mint/message.go index f7fccad4d..0668438c6 100644 --- a/x/assets/transactions/mint/message.go +++ b/x/assets/transactions/mint/message.go @@ -4,14 +4,13 @@ package mint import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/mutate/message.go b/x/assets/transactions/mutate/message.go index fc4e8cc44..66104b62a 100644 --- a/x/assets/transactions/mutate/message.go +++ b/x/assets/transactions/mutate/message.go @@ -4,14 +4,13 @@ package mutate import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/renumerate/message.go b/x/assets/transactions/renumerate/message.go index fd1c44c0c..74cac82b9 100644 --- a/x/assets/transactions/renumerate/message.go +++ b/x/assets/transactions/renumerate/message.go @@ -4,12 +4,11 @@ package renumerate import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/revoke/message.go b/x/assets/transactions/revoke/message.go index d472ad4ea..c69516d95 100644 --- a/x/assets/transactions/revoke/message.go +++ b/x/assets/transactions/revoke/message.go @@ -4,12 +4,11 @@ package revoke import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/send/message.go b/x/assets/transactions/send/message.go index 2bfeca9f6..2e486dbde 100644 --- a/x/assets/transactions/send/message.go +++ b/x/assets/transactions/send/message.go @@ -4,13 +4,12 @@ package send import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/unwrap/message.go b/x/assets/transactions/unwrap/message.go index de0ec7393..15272d12c 100644 --- a/x/assets/transactions/unwrap/message.go +++ b/x/assets/transactions/unwrap/message.go @@ -4,14 +4,13 @@ package unwrap import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/modules/x/assets/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/transactions/wrap/message.go b/x/assets/transactions/wrap/message.go index ef4a4cdde..9dacc7e2e 100644 --- a/x/assets/transactions/wrap/message.go +++ b/x/assets/transactions/wrap/message.go @@ -4,6 +4,7 @@ package wrap import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/modules/x/assets/constants" codecUtilities "github.com/AssetMantle/schema/codec/utilities" @@ -12,8 +13,6 @@ import ( sdkCodec "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/assets/utilities/permissions.go b/x/assets/utilities/permissions.go index e43f04562..47a88e493 100644 --- a/x/assets/utilities/permissions.go +++ b/x/assets/utilities/permissions.go @@ -1,9 +1,8 @@ package utilities import ( - "github.com/AssetMantle/schema/ids" - "github.com/AssetMantle/modules/x/assets/constants" + "github.com/AssetMantle/schema/ids" ) func SetModulePermissions(canMintAsset bool, canRenumerateAsset bool, canBurnAsset bool) []ids.StringID { diff --git a/x/classifications/auxiliaries/bond/auxiliary_keeper.go b/x/classifications/auxiliaries/bond/auxiliary_keeper.go index 75255685f..897b38c86 100644 --- a/x/classifications/auxiliaries/bond/auxiliary_keeper.go +++ b/x/classifications/auxiliaries/bond/auxiliary_keeper.go @@ -6,7 +6,6 @@ package bond import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - sdkTypes "github.com/cosmos/cosmos-sdk/types" bankKeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" stakingKeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" diff --git a/x/classifications/auxiliaries/bond/auxiliary_request.go b/x/classifications/auxiliaries/bond/auxiliary_request.go index f63ff93d2..862dbd9f5 100644 --- a/x/classifications/auxiliaries/bond/auxiliary_request.go +++ b/x/classifications/auxiliaries/bond/auxiliary_request.go @@ -4,11 +4,10 @@ package bond import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/classifications/auxiliaries/burn/auxiliary_keeper.go b/x/classifications/auxiliaries/burn/auxiliary_keeper.go index c48187b70..3b37a5e40 100644 --- a/x/classifications/auxiliaries/burn/auxiliary_keeper.go +++ b/x/classifications/auxiliaries/burn/auxiliary_keeper.go @@ -6,7 +6,6 @@ package burn import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - sdkTypes "github.com/cosmos/cosmos-sdk/types" bankKeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" stakingKeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" diff --git a/x/classifications/auxiliaries/burn/auxiliary_request.go b/x/classifications/auxiliaries/burn/auxiliary_request.go index 49c01a3cb..5e38b065b 100644 --- a/x/classifications/auxiliaries/burn/auxiliary_request.go +++ b/x/classifications/auxiliaries/burn/auxiliary_request.go @@ -4,11 +4,10 @@ package burn import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/classifications/auxiliaries/conform/auxiliary_keeper.go b/x/classifications/auxiliaries/conform/auxiliary_keeper.go index b95515184..572fdb15d 100644 --- a/x/classifications/auxiliaries/conform/auxiliary_keeper.go +++ b/x/classifications/auxiliaries/conform/auxiliary_keeper.go @@ -5,12 +5,11 @@ package conform import ( "context" - errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseIDs "github.com/AssetMantle/schema/ids/base" - "github.com/AssetMantle/modules/helpers" + errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/modules/x/classifications/key" "github.com/AssetMantle/modules/x/classifications/mappable" + baseIDs "github.com/AssetMantle/schema/ids/base" ) type auxiliaryKeeper struct { diff --git a/x/classifications/auxiliaries/define/auxiliary_request.go b/x/classifications/auxiliaries/define/auxiliary_request.go index 71d890ab5..fe679c8d1 100644 --- a/x/classifications/auxiliaries/define/auxiliary_request.go +++ b/x/classifications/auxiliaries/define/auxiliary_request.go @@ -4,11 +4,10 @@ package define import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/qualified" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/classifications/auxiliaries/member/auxiliary_keeper.go b/x/classifications/auxiliaries/member/auxiliary_keeper.go index bc5072b8d..ad849d87e 100644 --- a/x/classifications/auxiliaries/member/auxiliary_keeper.go +++ b/x/classifications/auxiliaries/member/auxiliary_keeper.go @@ -6,7 +6,6 @@ package member import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/modules/helpers" diff --git a/x/classifications/auxiliaries/unbond/auxiliary_keeper.go b/x/classifications/auxiliaries/unbond/auxiliary_keeper.go index 900ff6889..6a2ccf812 100644 --- a/x/classifications/auxiliaries/unbond/auxiliary_keeper.go +++ b/x/classifications/auxiliaries/unbond/auxiliary_keeper.go @@ -6,7 +6,6 @@ package unbond import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - sdkTypes "github.com/cosmos/cosmos-sdk/types" bankKeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" stakingKeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" diff --git a/x/classifications/auxiliaries/unbond/auxiliary_request.go b/x/classifications/auxiliaries/unbond/auxiliary_request.go index 587a4c03d..fc4a13f8b 100644 --- a/x/classifications/auxiliaries/unbond/auxiliary_request.go +++ b/x/classifications/auxiliaries/unbond/auxiliary_request.go @@ -4,11 +4,10 @@ package unbond import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/classifications/block/block.go b/x/classifications/block/block.go index 1cbdcc3d6..36d85c5ae 100644 --- a/x/classifications/block/block.go +++ b/x/classifications/block/block.go @@ -5,7 +5,6 @@ package block import ( "context" - abciTypes "github.com/cometbft/cometbft/abci/types" "github.com/AssetMantle/modules/helpers" diff --git a/x/classifications/genesis/genesis.go b/x/classifications/genesis/genesis.go index 79c08a760..206b3460c 100644 --- a/x/classifications/genesis/genesis.go +++ b/x/classifications/genesis/genesis.go @@ -3,7 +3,6 @@ package genesis import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseDocuments "github.com/AssetMantle/schema/documents/base" "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" diff --git a/x/classifications/key/key.go b/x/classifications/key/key.go index 4c4057727..4d5492a06 100644 --- a/x/classifications/key/key.go +++ b/x/classifications/key/key.go @@ -4,11 +4,10 @@ package key import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Key = (*Key)(nil) diff --git a/x/classifications/mappable/mappable.go b/x/classifications/mappable/mappable.go index e9f6afd1e..b220de55d 100644 --- a/x/classifications/mappable/mappable.go +++ b/x/classifications/mappable/mappable.go @@ -4,12 +4,11 @@ package mappable import ( + "github.com/AssetMantle/modules/helpers" codecUtilities "github.com/AssetMantle/schema/codec/utilities" "github.com/AssetMantle/schema/documents" "github.com/AssetMantle/schema/documents/base" "github.com/cosmos/cosmos-sdk/codec" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Mappable = (*Mappable)(nil) diff --git a/x/classifications/parameters/bond_rate/parameter.go b/x/classifications/parameters/bond_rate/parameter.go index 2f60a6092..cf8f346d6 100644 --- a/x/classifications/parameters/bond_rate/parameter.go +++ b/x/classifications/parameters/bond_rate/parameter.go @@ -4,14 +4,13 @@ package bond_rate import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" "github.com/cosmos/cosmos-sdk/types" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.BondRateProperty.GetKey() diff --git a/x/classifications/parameters/define_enabled/parameter.go b/x/classifications/parameters/define_enabled/parameter.go index 747d7ecb6..63ae8a0bc 100644 --- a/x/classifications/parameters/define_enabled/parameter.go +++ b/x/classifications/parameters/define_enabled/parameter.go @@ -4,13 +4,12 @@ package define_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.DefineEnabledProperty.GetKey() diff --git a/x/classifications/parameters/max_property_count/parameter.go b/x/classifications/parameters/max_property_count/parameter.go index 61643882c..477671cb1 100644 --- a/x/classifications/parameters/max_property_count/parameter.go +++ b/x/classifications/parameters/max_property_count/parameter.go @@ -4,14 +4,13 @@ package max_property_count import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" "github.com/cosmos/cosmos-sdk/types" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.MaxPropertyCountProperty.GetKey() diff --git a/x/classifications/queries/classification/query.go b/x/classifications/queries/classification/query.go index 45ab05d13..d2421c8a5 100644 --- a/x/classifications/queries/classification/query.go +++ b/x/classifications/queries/classification/query.go @@ -4,11 +4,10 @@ package classification import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/classifications/queries/classification/query_keeper.go b/x/classifications/queries/classification/query_keeper.go index d49eecdfb..526a29853 100644 --- a/x/classifications/queries/classification/query_keeper.go +++ b/x/classifications/queries/classification/query_keeper.go @@ -5,7 +5,6 @@ package classification import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/classifications/queries/classifications/query.go b/x/classifications/queries/classifications/query.go index f9cf5f0ef..e02896bf6 100644 --- a/x/classifications/queries/classifications/query.go +++ b/x/classifications/queries/classifications/query.go @@ -4,11 +4,10 @@ package classifications import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/classifications/queries/classifications/query_keeper.go b/x/classifications/queries/classifications/query_keeper.go index ed1a78b08..39933d8d3 100644 --- a/x/classifications/queries/classifications/query_keeper.go +++ b/x/classifications/queries/classifications/query_keeper.go @@ -5,7 +5,6 @@ package classifications import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/classifications/record/record.go b/x/classifications/record/record.go index 3d7719e53..a7192eb16 100644 --- a/x/classifications/record/record.go +++ b/x/classifications/record/record.go @@ -1,13 +1,12 @@ package record import ( - "github.com/AssetMantle/schema/documents" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/classifications/key" "github.com/AssetMantle/modules/x/classifications/mappable" + "github.com/AssetMantle/schema/documents" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) func (record *Record) GetKey() helpers.Key { diff --git a/x/classifications/simulator/genesis.go b/x/classifications/simulator/genesis.go index d6e49e27d..ed72dffdb 100644 --- a/x/classifications/simulator/genesis.go +++ b/x/classifications/simulator/genesis.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" @@ -14,6 +12,7 @@ import ( baseQualified "github.com/AssetMantle/schema/qualified/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/classifications/simulator/operations.go b/x/classifications/simulator/operations.go index 9b2ee1b23..524fa0e87 100644 --- a/x/classifications/simulator/operations.go +++ b/x/classifications/simulator/operations.go @@ -4,10 +4,9 @@ package simulator import ( - "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" "github.com/AssetMantle/modules/helpers" ) diff --git a/x/classifications/simulator/params.go b/x/classifications/simulator/params.go index 218ebbea7..7bb8f8022 100644 --- a/x/classifications/simulator/params.go +++ b/x/classifications/simulator/params.go @@ -4,11 +4,10 @@ package simulator import ( - "math" - "math/rand" - simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math" + "math/rand" baseHelpers "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/classifications/constants" diff --git a/x/classifications/simulator/proposals.go b/x/classifications/simulator/proposals.go index 2990dc422..53aac918f 100644 --- a/x/classifications/simulator/proposals.go +++ b/x/classifications/simulator/proposals.go @@ -5,13 +5,12 @@ package simulator import ( sdkTypes "github.com/cosmos/cosmos-sdk/types" - govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" + govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" ) func (simulator) ProposalMessages(_ module.SimulationState) []simulationTypes.WeightedProposalMsg { diff --git a/x/identities/auxiliaries/authenticate/auxiliary_keeper.go b/x/identities/auxiliaries/authenticate/auxiliary_keeper.go index f4931941d..b515aabf2 100644 --- a/x/identities/auxiliaries/authenticate/auxiliary_keeper.go +++ b/x/identities/auxiliaries/authenticate/auxiliary_keeper.go @@ -5,9 +5,8 @@ package authenticate import ( "context" - errorConstants "github.com/AssetMantle/modules/helpers/constants" - "github.com/AssetMantle/modules/helpers" + errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/modules/x/identities/key" "github.com/AssetMantle/modules/x/identities/mappable" "github.com/AssetMantle/modules/x/metas/auxiliaries/supplement" diff --git a/x/identities/auxiliaries/authenticate/auxiliary_request.go b/x/identities/auxiliaries/authenticate/auxiliary_request.go index 7c2c3f543..bd9c8b1f3 100644 --- a/x/identities/auxiliaries/authenticate/auxiliary_request.go +++ b/x/identities/auxiliaries/authenticate/auxiliary_request.go @@ -4,11 +4,10 @@ package authenticate import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/identities/block/block.go b/x/identities/block/block.go index 1cbdcc3d6..36d85c5ae 100644 --- a/x/identities/block/block.go +++ b/x/identities/block/block.go @@ -5,7 +5,6 @@ package block import ( "context" - abciTypes "github.com/cometbft/cometbft/abci/types" "github.com/AssetMantle/modules/helpers" diff --git a/x/identities/genesis/genesis.go b/x/identities/genesis/genesis.go index f4226b0aa..591f25d67 100644 --- a/x/identities/genesis/genesis.go +++ b/x/identities/genesis/genesis.go @@ -3,7 +3,6 @@ package genesis import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseDocuments "github.com/AssetMantle/schema/documents/base" "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" diff --git a/x/identities/key/key.go b/x/identities/key/key.go index 72af92b3c..7b89de551 100644 --- a/x/identities/key/key.go +++ b/x/identities/key/key.go @@ -4,11 +4,10 @@ package key import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Key = (*Key)(nil) diff --git a/x/identities/mappable/mappable.go b/x/identities/mappable/mappable.go index 3c131fc58..695a6119f 100644 --- a/x/identities/mappable/mappable.go +++ b/x/identities/mappable/mappable.go @@ -4,12 +4,11 @@ package mappable import ( + "github.com/AssetMantle/modules/helpers" codecUtilities "github.com/AssetMantle/schema/codec/utilities" "github.com/AssetMantle/schema/documents" "github.com/AssetMantle/schema/documents/base" "github.com/cosmos/cosmos-sdk/codec" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Mappable = (*Mappable)(nil) diff --git a/x/identities/parameters/issue_enabled/parameter.go b/x/identities/parameters/issue_enabled/parameter.go index e2e674fa1..a03cd3498 100644 --- a/x/identities/parameters/issue_enabled/parameter.go +++ b/x/identities/parameters/issue_enabled/parameter.go @@ -4,13 +4,12 @@ package issue_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.IssueEnabledProperty.GetKey() diff --git a/x/identities/parameters/max_provision_address_count/parameter.go b/x/identities/parameters/max_provision_address_count/parameter.go index 2eba1171e..f6c4b7287 100644 --- a/x/identities/parameters/max_provision_address_count/parameter.go +++ b/x/identities/parameters/max_provision_address_count/parameter.go @@ -4,6 +4,7 @@ package max_provision_address_count import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/data/constants" @@ -11,8 +12,6 @@ import ( "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.MaxProvisionAddressCountProperty.GetKey() diff --git a/x/identities/parameters/quash_enabled/parameter.go b/x/identities/parameters/quash_enabled/parameter.go index 537c21572..74a1bae56 100644 --- a/x/identities/parameters/quash_enabled/parameter.go +++ b/x/identities/parameters/quash_enabled/parameter.go @@ -4,13 +4,12 @@ package quash_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.QuashEnabledProperty.GetKey() diff --git a/x/identities/queries/identities/query.go b/x/identities/queries/identities/query.go index d5d95474d..93a1c297d 100644 --- a/x/identities/queries/identities/query.go +++ b/x/identities/queries/identities/query.go @@ -1,11 +1,10 @@ package identities import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/identities/queries/identities/query_keeper.go b/x/identities/queries/identities/query_keeper.go index 3966b71db..24e42ebc7 100644 --- a/x/identities/queries/identities/query_keeper.go +++ b/x/identities/queries/identities/query_keeper.go @@ -5,7 +5,6 @@ package identities import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/identities/queries/identity/query.go b/x/identities/queries/identity/query.go index 1c4d5f778..146f96394 100644 --- a/x/identities/queries/identity/query.go +++ b/x/identities/queries/identity/query.go @@ -4,11 +4,10 @@ package identity import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/identities/queries/identity/query_keeper.go b/x/identities/queries/identity/query_keeper.go index d52b8f54c..89e5ba7fa 100644 --- a/x/identities/queries/identity/query_keeper.go +++ b/x/identities/queries/identity/query_keeper.go @@ -5,7 +5,6 @@ package identity import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/identities/record/record.go b/x/identities/record/record.go index c198fbeda..41256e850 100644 --- a/x/identities/record/record.go +++ b/x/identities/record/record.go @@ -1,14 +1,13 @@ package record import ( - "github.com/AssetMantle/schema/documents" - baseIDs "github.com/AssetMantle/schema/ids/base" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/identities/key" "github.com/AssetMantle/modules/x/identities/mappable" + "github.com/AssetMantle/schema/documents" + baseIDs "github.com/AssetMantle/schema/ids/base" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) func (record *Record) GetKey() helpers.Key { diff --git a/x/identities/simulator/genesis.go b/x/identities/simulator/genesis.go index 8c9f0088c..89b1e253a 100644 --- a/x/identities/simulator/genesis.go +++ b/x/identities/simulator/genesis.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" @@ -15,6 +13,7 @@ import ( baseQualified "github.com/AssetMantle/schema/qualified/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/identities/simulator/operations.go b/x/identities/simulator/operations.go index 59913ccd2..563544643 100644 --- a/x/identities/simulator/operations.go +++ b/x/identities/simulator/operations.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" @@ -18,6 +16,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/identities/simulator/params.go b/x/identities/simulator/params.go index 815cc9714..bc9c056d3 100644 --- a/x/identities/simulator/params.go +++ b/x/identities/simulator/params.go @@ -4,12 +4,11 @@ package simulator import ( - "math" - "math/rand" - "github.com/AssetMantle/schema/data" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math" + "math/rand" baseHelpers "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/identities/constants" diff --git a/x/identities/simulator/proposals.go b/x/identities/simulator/proposals.go index 2990dc422..53aac918f 100644 --- a/x/identities/simulator/proposals.go +++ b/x/identities/simulator/proposals.go @@ -5,13 +5,12 @@ package simulator import ( sdkTypes "github.com/cosmos/cosmos-sdk/types" - govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" + govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" ) func (simulator) ProposalMessages(_ module.SimulationState) []simulationTypes.WeightedProposalMsg { diff --git a/x/identities/transactions/define/message.go b/x/identities/transactions/define/message.go index a28bae5ce..de8274451 100644 --- a/x/identities/transactions/define/message.go +++ b/x/identities/transactions/define/message.go @@ -4,14 +4,13 @@ package define import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/deputize/message.go b/x/identities/transactions/deputize/message.go index c300890b1..1af0c276a 100644 --- a/x/identities/transactions/deputize/message.go +++ b/x/identities/transactions/deputize/message.go @@ -4,14 +4,13 @@ package deputize import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/issue/message.go b/x/identities/transactions/issue/message.go index 7b7e3678d..87d889b25 100644 --- a/x/identities/transactions/issue/message.go +++ b/x/identities/transactions/issue/message.go @@ -4,14 +4,13 @@ package issue import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/name/message.go b/x/identities/transactions/name/message.go index 179c6fe92..315ec3d1e 100644 --- a/x/identities/transactions/name/message.go +++ b/x/identities/transactions/name/message.go @@ -4,13 +4,12 @@ package name import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/provision/message.go b/x/identities/transactions/provision/message.go index bb1ae3e73..09bdb6a27 100644 --- a/x/identities/transactions/provision/message.go +++ b/x/identities/transactions/provision/message.go @@ -4,12 +4,11 @@ package provision import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/quash/message.go b/x/identities/transactions/quash/message.go index f3679f444..016d74ebb 100644 --- a/x/identities/transactions/quash/message.go +++ b/x/identities/transactions/quash/message.go @@ -4,12 +4,11 @@ package quash import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/revoke/message.go b/x/identities/transactions/revoke/message.go index d472ad4ea..c69516d95 100644 --- a/x/identities/transactions/revoke/message.go +++ b/x/identities/transactions/revoke/message.go @@ -4,12 +4,11 @@ package revoke import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/unprovision/message.go b/x/identities/transactions/unprovision/message.go index 3f68d7fea..55ce8f296 100644 --- a/x/identities/transactions/unprovision/message.go +++ b/x/identities/transactions/unprovision/message.go @@ -4,12 +4,11 @@ package unprovision import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/transactions/update/message.go b/x/identities/transactions/update/message.go index 10b05d09a..ad37fffe6 100644 --- a/x/identities/transactions/update/message.go +++ b/x/identities/transactions/update/message.go @@ -4,14 +4,13 @@ package update import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/identities/utilities/permissions.go b/x/identities/utilities/permissions.go index b3d36b5f0..980d4a4fe 100644 --- a/x/identities/utilities/permissions.go +++ b/x/identities/utilities/permissions.go @@ -1,9 +1,8 @@ package utilities import ( - "github.com/AssetMantle/schema/ids" - "github.com/AssetMantle/modules/x/identities/constants" + "github.com/AssetMantle/schema/ids" ) func SetModulePermissions(canIssueIdentity bool, canQuashIdentity bool) []ids.StringID { diff --git a/x/maintainers/auxiliaries/authorize/auxiliary_keeper.go b/x/maintainers/auxiliaries/authorize/auxiliary_keeper.go index 2fc974315..1054ee450 100644 --- a/x/maintainers/auxiliaries/authorize/auxiliary_keeper.go +++ b/x/maintainers/auxiliaries/authorize/auxiliary_keeper.go @@ -6,7 +6,6 @@ package authorize import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" baseIDs "github.com/AssetMantle/schema/ids/base" diff --git a/x/maintainers/auxiliaries/deputize/auxiliary_keeper.go b/x/maintainers/auxiliaries/deputize/auxiliary_keeper.go index a341fd376..28dc07b05 100644 --- a/x/maintainers/auxiliaries/deputize/auxiliary_keeper.go +++ b/x/maintainers/auxiliaries/deputize/auxiliary_keeper.go @@ -6,7 +6,6 @@ package deputize import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" diff --git a/x/maintainers/auxiliaries/maintain/auxiliary_keeper.go b/x/maintainers/auxiliaries/maintain/auxiliary_keeper.go index 9163e1c0a..6030fb3ed 100644 --- a/x/maintainers/auxiliaries/maintain/auxiliary_keeper.go +++ b/x/maintainers/auxiliaries/maintain/auxiliary_keeper.go @@ -6,7 +6,6 @@ package maintain import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" baseIDs "github.com/AssetMantle/schema/ids/base" diff --git a/x/maintainers/auxiliaries/revoke/auxiliary_keeper.go b/x/maintainers/auxiliaries/revoke/auxiliary_keeper.go index 299494007..e7060ac18 100644 --- a/x/maintainers/auxiliaries/revoke/auxiliary_keeper.go +++ b/x/maintainers/auxiliaries/revoke/auxiliary_keeper.go @@ -6,7 +6,6 @@ package revoke import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" baseIDs "github.com/AssetMantle/schema/ids/base" diff --git a/x/maintainers/auxiliaries/super/auxiliary_keeper.go b/x/maintainers/auxiliaries/super/auxiliary_keeper.go index b0d6c169e..59470d3ba 100644 --- a/x/maintainers/auxiliaries/super/auxiliary_keeper.go +++ b/x/maintainers/auxiliaries/super/auxiliary_keeper.go @@ -6,7 +6,6 @@ package super import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" baseIDs "github.com/AssetMantle/schema/ids/base" diff --git a/x/maintainers/block/block.go b/x/maintainers/block/block.go index 1cbdcc3d6..36d85c5ae 100644 --- a/x/maintainers/block/block.go +++ b/x/maintainers/block/block.go @@ -5,7 +5,6 @@ package block import ( "context" - abciTypes "github.com/cometbft/cometbft/abci/types" "github.com/AssetMantle/modules/helpers" diff --git a/x/maintainers/genesis/genesis.go b/x/maintainers/genesis/genesis.go index effbb79f1..3521a3dc0 100644 --- a/x/maintainers/genesis/genesis.go +++ b/x/maintainers/genesis/genesis.go @@ -3,7 +3,6 @@ package genesis import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" sdkCodec "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/maintainers/key/key.go b/x/maintainers/key/key.go index 5ed70d63b..5f7a664a1 100644 --- a/x/maintainers/key/key.go +++ b/x/maintainers/key/key.go @@ -4,11 +4,10 @@ package key import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Key = (*Key)(nil) diff --git a/x/maintainers/mappable/mappable.go b/x/maintainers/mappable/mappable.go index 3577809f3..326e1ac15 100644 --- a/x/maintainers/mappable/mappable.go +++ b/x/maintainers/mappable/mappable.go @@ -4,12 +4,11 @@ package mappable import ( + "github.com/AssetMantle/modules/helpers" codecUtilities "github.com/AssetMantle/schema/codec/utilities" "github.com/AssetMantle/schema/documents" baseDocuments "github.com/AssetMantle/schema/documents/base" "github.com/cosmos/cosmos-sdk/codec" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Mappable = (*Mappable)(nil) diff --git a/x/maintainers/parameters/deputize_allowed/parameter.go b/x/maintainers/parameters/deputize_allowed/parameter.go index 944575c5f..2454042e0 100644 --- a/x/maintainers/parameters/deputize_allowed/parameter.go +++ b/x/maintainers/parameters/deputize_allowed/parameter.go @@ -4,13 +4,12 @@ package deputize_allowed import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.DeputizeAllowedProperty.GetKey() diff --git a/x/maintainers/queries/maintainer/query.go b/x/maintainers/queries/maintainer/query.go index ec3e951a1..c3e474be7 100644 --- a/x/maintainers/queries/maintainer/query.go +++ b/x/maintainers/queries/maintainer/query.go @@ -4,11 +4,10 @@ package maintainer import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/maintainers/queries/maintainer/query_keeper.go b/x/maintainers/queries/maintainer/query_keeper.go index b60b54fcb..1f78d2383 100644 --- a/x/maintainers/queries/maintainer/query_keeper.go +++ b/x/maintainers/queries/maintainer/query_keeper.go @@ -5,7 +5,6 @@ package maintainer import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/maintainers/queries/maintainers/query.go b/x/maintainers/queries/maintainers/query.go index a7abfc684..2dca5337a 100644 --- a/x/maintainers/queries/maintainers/query.go +++ b/x/maintainers/queries/maintainers/query.go @@ -4,11 +4,10 @@ package maintainers import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/maintainers/queries/maintainers/query_keeper.go b/x/maintainers/queries/maintainers/query_keeper.go index 3a77f7225..b89db8fd5 100644 --- a/x/maintainers/queries/maintainers/query_keeper.go +++ b/x/maintainers/queries/maintainers/query_keeper.go @@ -5,7 +5,6 @@ package maintainers import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/maintainers/record/record.go b/x/maintainers/record/record.go index 1b7517c4a..a02dd30eb 100644 --- a/x/maintainers/record/record.go +++ b/x/maintainers/record/record.go @@ -1,6 +1,10 @@ package record import ( + "github.com/AssetMantle/modules/helpers" + "github.com/AssetMantle/modules/helpers/base" + "github.com/AssetMantle/modules/x/maintainers/key" + "github.com/AssetMantle/modules/x/maintainers/mappable" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents" baseDocuments "github.com/AssetMantle/schema/documents/base" @@ -10,11 +14,6 @@ import ( constantProperties "github.com/AssetMantle/schema/properties/constants" baseQualified "github.com/AssetMantle/schema/qualified/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" - "github.com/AssetMantle/modules/helpers/base" - "github.com/AssetMantle/modules/x/maintainers/key" - "github.com/AssetMantle/modules/x/maintainers/mappable" ) func (record *Record) GetKey() helpers.Key { diff --git a/x/maintainers/simulator/genesis.go b/x/maintainers/simulator/genesis.go index e063f96aa..f6c8fe5cd 100644 --- a/x/maintainers/simulator/genesis.go +++ b/x/maintainers/simulator/genesis.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" @@ -16,6 +14,7 @@ import ( baseQualified "github.com/AssetMantle/schema/qualified/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/maintainers/simulator/operations.go b/x/maintainers/simulator/operations.go index 9b2ee1b23..524fa0e87 100644 --- a/x/maintainers/simulator/operations.go +++ b/x/maintainers/simulator/operations.go @@ -4,10 +4,9 @@ package simulator import ( - "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" "github.com/AssetMantle/modules/helpers" ) diff --git a/x/maintainers/simulator/proposals.go b/x/maintainers/simulator/proposals.go index 2990dc422..53aac918f 100644 --- a/x/maintainers/simulator/proposals.go +++ b/x/maintainers/simulator/proposals.go @@ -5,13 +5,12 @@ package simulator import ( sdkTypes "github.com/cosmos/cosmos-sdk/types" - govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" + govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" ) func (simulator) ProposalMessages(_ module.SimulationState) []simulationTypes.WeightedProposalMsg { diff --git a/x/maintainers/utilities/permissions.go b/x/maintainers/utilities/permissions.go index 868235415..8d9782d18 100644 --- a/x/maintainers/utilities/permissions.go +++ b/x/maintainers/utilities/permissions.go @@ -1,10 +1,9 @@ package utilities import ( + "github.com/AssetMantle/modules/x/maintainers/constants" "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" - - "github.com/AssetMantle/modules/x/maintainers/constants" ) func SetModulePermissions(canAddMaintainer bool, canMutateMaintainer bool, canRemoveMaintainer bool) lists.IDList { diff --git a/x/metas/auxiliaries/scrub/auxiliary_keeper.go b/x/metas/auxiliaries/scrub/auxiliary_keeper.go index cb86e3675..8abe5cef8 100644 --- a/x/metas/auxiliaries/scrub/auxiliary_keeper.go +++ b/x/metas/auxiliaries/scrub/auxiliary_keeper.go @@ -6,7 +6,6 @@ package scrub import ( "context" "github.com/AssetMantle/modules/helpers/constants" - baseIDs "github.com/AssetMantle/schema/ids/base" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/AssetMantle/schema/properties" diff --git a/x/metas/auxiliaries/scrub/auxiliary_response.go b/x/metas/auxiliaries/scrub/auxiliary_response.go index 26622f677..3806333c8 100644 --- a/x/metas/auxiliaries/scrub/auxiliary_response.go +++ b/x/metas/auxiliaries/scrub/auxiliary_response.go @@ -4,10 +4,9 @@ package scrub import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/lists" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryResponse struct { diff --git a/x/metas/auxiliaries/supplement/auxiliary_keeper.go b/x/metas/auxiliaries/supplement/auxiliary_keeper.go index 1be7f3e29..e0c1e6ded 100644 --- a/x/metas/auxiliaries/supplement/auxiliary_keeper.go +++ b/x/metas/auxiliaries/supplement/auxiliary_keeper.go @@ -5,15 +5,14 @@ package supplement import ( "context" + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" + "github.com/AssetMantle/modules/x/metas/key" + "github.com/AssetMantle/modules/x/metas/mappable" "github.com/AssetMantle/schema/data/base" baseIDs "github.com/AssetMantle/schema/ids/base" baseLists "github.com/AssetMantle/schema/lists/base" baseProperties "github.com/AssetMantle/schema/properties/base" - - "github.com/AssetMantle/modules/helpers" - "github.com/AssetMantle/modules/x/metas/key" - "github.com/AssetMantle/modules/x/metas/mappable" ) type auxiliaryKeeper struct { diff --git a/x/metas/auxiliaries/supplement/auxiliary_response.go b/x/metas/auxiliaries/supplement/auxiliary_response.go index dc1aa29e1..8b6804fb0 100644 --- a/x/metas/auxiliaries/supplement/auxiliary_response.go +++ b/x/metas/auxiliaries/supplement/auxiliary_response.go @@ -4,10 +4,9 @@ package supplement import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/lists" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryResponse struct { diff --git a/x/metas/block/block.go b/x/metas/block/block.go index 1cbdcc3d6..36d85c5ae 100644 --- a/x/metas/block/block.go +++ b/x/metas/block/block.go @@ -5,7 +5,6 @@ package block import ( "context" - abciTypes "github.com/cometbft/cometbft/abci/types" "github.com/AssetMantle/modules/helpers" diff --git a/x/metas/genesis/genesis.go b/x/metas/genesis/genesis.go index cbdd2bc19..6f6f797c1 100644 --- a/x/metas/genesis/genesis.go +++ b/x/metas/genesis/genesis.go @@ -3,7 +3,6 @@ package genesis import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" sdkCodec "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/metas/key/key.go b/x/metas/key/key.go index c6259a7e6..cb557e5ac 100644 --- a/x/metas/key/key.go +++ b/x/metas/key/key.go @@ -4,11 +4,10 @@ package key import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Key = (*Key)(nil) diff --git a/x/metas/mappable/mappable.go b/x/metas/mappable/mappable.go index a9424731d..868ff29fc 100644 --- a/x/metas/mappable/mappable.go +++ b/x/metas/mappable/mappable.go @@ -4,12 +4,11 @@ package mappable import ( + "github.com/AssetMantle/modules/helpers" codecUtilities "github.com/AssetMantle/schema/codec/utilities" "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/cosmos/cosmos-sdk/codec" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Mappable = (*Mappable)(nil) diff --git a/x/metas/parameters/reveal_enabled/parameter.go b/x/metas/parameters/reveal_enabled/parameter.go index fd8e17550..2c389e715 100644 --- a/x/metas/parameters/reveal_enabled/parameter.go +++ b/x/metas/parameters/reveal_enabled/parameter.go @@ -4,13 +4,12 @@ package reveal_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.RevealEnabledProperty.GetKey() diff --git a/x/metas/queries/meta/query.go b/x/metas/queries/meta/query.go index c812e6926..ce0a382a2 100644 --- a/x/metas/queries/meta/query.go +++ b/x/metas/queries/meta/query.go @@ -4,11 +4,10 @@ package meta import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/metas/queries/meta/query_keeper.go b/x/metas/queries/meta/query_keeper.go index 6b5ce9749..472c5ddd2 100644 --- a/x/metas/queries/meta/query_keeper.go +++ b/x/metas/queries/meta/query_keeper.go @@ -5,7 +5,6 @@ package meta import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/metas/queries/metas/query.go b/x/metas/queries/metas/query.go index 94b831eff..02ff2466c 100644 --- a/x/metas/queries/metas/query.go +++ b/x/metas/queries/metas/query.go @@ -4,11 +4,10 @@ package metas import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/metas/queries/metas/query_keeper.go b/x/metas/queries/metas/query_keeper.go index ad7c4ca27..a6f8f16e4 100644 --- a/x/metas/queries/metas/query_keeper.go +++ b/x/metas/queries/metas/query_keeper.go @@ -5,7 +5,6 @@ package metas import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/metas/record/record.go b/x/metas/record/record.go index d5a8c741d..943a999ac 100644 --- a/x/metas/record/record.go +++ b/x/metas/record/record.go @@ -1,14 +1,13 @@ package record import ( - "github.com/AssetMantle/schema/data" - baseIDs "github.com/AssetMantle/schema/ids/base" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/metas/key" "github.com/AssetMantle/modules/x/metas/mappable" + "github.com/AssetMantle/schema/data" + baseIDs "github.com/AssetMantle/schema/ids/base" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) func (record *Record) GetKey() helpers.Key { diff --git a/x/metas/simulator/genesis.go b/x/metas/simulator/genesis.go index a34f49b9b..6901bc215 100644 --- a/x/metas/simulator/genesis.go +++ b/x/metas/simulator/genesis.go @@ -4,14 +4,13 @@ package simulator import ( - "math" - "math/rand" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/lists/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "math" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/metas/simulator/operations.go b/x/metas/simulator/operations.go index 81df6e4af..f017d4c43 100644 --- a/x/metas/simulator/operations.go +++ b/x/metas/simulator/operations.go @@ -4,13 +4,12 @@ package simulator import ( - "math/rand" - "github.com/cosmos/cosmos-sdk/baseapp" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" diff --git a/x/metas/simulator/proposals.go b/x/metas/simulator/proposals.go index 3125e3c1a..53aac918f 100644 --- a/x/metas/simulator/proposals.go +++ b/x/metas/simulator/proposals.go @@ -4,14 +4,13 @@ package simulator import ( - govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "math/rand" - sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" + govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" ) func (simulator) ProposalMessages(_ module.SimulationState) []simulationTypes.WeightedProposalMsg { diff --git a/x/metas/transactions/reveal/message.go b/x/metas/transactions/reveal/message.go index 5f7ba3b32..8f3ffe258 100644 --- a/x/metas/transactions/reveal/message.go +++ b/x/metas/transactions/reveal/message.go @@ -4,12 +4,11 @@ package reveal import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/block/block.go b/x/orders/block/block.go index 7337cd69c..7d9de455c 100755 --- a/x/orders/block/block.go +++ b/x/orders/block/block.go @@ -5,7 +5,6 @@ package block import ( "context" - "github.com/AssetMantle/schema/types/base" abciTypes "github.com/cometbft/cometbft/abci/types" diff --git a/x/orders/constants/module.go b/x/orders/constants/module.go index eef13c9b0..ee996a74b 100644 --- a/x/orders/constants/module.go +++ b/x/orders/constants/module.go @@ -4,9 +4,8 @@ package constants import ( - "github.com/AssetMantle/schema/documents/base" - "github.com/AssetMantle/modules/utilities/name" + "github.com/AssetMantle/schema/documents/base" ) type dummy struct{} diff --git a/x/orders/genesis/genesis.go b/x/orders/genesis/genesis.go index eeef7eb49..b3f752ba8 100644 --- a/x/orders/genesis/genesis.go +++ b/x/orders/genesis/genesis.go @@ -3,7 +3,6 @@ package genesis import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" sdkCodec "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/orders/key/key.go b/x/orders/key/key.go index c978f88da..061d5f363 100644 --- a/x/orders/key/key.go +++ b/x/orders/key/key.go @@ -4,11 +4,10 @@ package key import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Key = (*Key)(nil) diff --git a/x/orders/mappable/mappable.go b/x/orders/mappable/mappable.go index ebc5368f1..ea9dff7aa 100644 --- a/x/orders/mappable/mappable.go +++ b/x/orders/mappable/mappable.go @@ -4,12 +4,11 @@ package mappable import ( + "github.com/AssetMantle/modules/helpers" codecUtilities "github.com/AssetMantle/schema/codec/utilities" "github.com/AssetMantle/schema/documents" "github.com/AssetMantle/schema/documents/base" "github.com/cosmos/cosmos-sdk/codec" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Mappable = (*Mappable)(nil) diff --git a/x/orders/parameters/max_order_life/parameter.go b/x/orders/parameters/max_order_life/parameter.go index 7e7a3e147..8be32ef33 100644 --- a/x/orders/parameters/max_order_life/parameter.go +++ b/x/orders/parameters/max_order_life/parameter.go @@ -4,14 +4,13 @@ package max_order_life import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" baseProperties "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" baseTypes "github.com/AssetMantle/schema/types/base" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.MaxOrderLifeProperty.GetKey() diff --git a/x/orders/parameters/put_enabled/parameter.go b/x/orders/parameters/put_enabled/parameter.go index 008b9a00d..8a691161e 100644 --- a/x/orders/parameters/put_enabled/parameter.go +++ b/x/orders/parameters/put_enabled/parameter.go @@ -4,13 +4,12 @@ package put_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.PutEnabledProperty.GetKey() diff --git a/x/orders/queries/order/query.go b/x/orders/queries/order/query.go index c578424f0..ec75a24f3 100644 --- a/x/orders/queries/order/query.go +++ b/x/orders/queries/order/query.go @@ -4,11 +4,10 @@ package order import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/orders/queries/order/query_keeper.go b/x/orders/queries/order/query_keeper.go index d9f8f7045..4a2638943 100644 --- a/x/orders/queries/order/query_keeper.go +++ b/x/orders/queries/order/query_keeper.go @@ -5,7 +5,6 @@ package order import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/orders/queries/orders/query.go b/x/orders/queries/orders/query.go index 42b3c099e..834d1d554 100644 --- a/x/orders/queries/orders/query.go +++ b/x/orders/queries/orders/query.go @@ -4,11 +4,10 @@ package orders import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/orders/queries/orders/query_keeper.go b/x/orders/queries/orders/query_keeper.go index b6a486cde..cc3f3fc84 100644 --- a/x/orders/queries/orders/query_keeper.go +++ b/x/orders/queries/orders/query_keeper.go @@ -5,7 +5,6 @@ package orders import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/orders/record/record.go b/x/orders/record/record.go index 5eb40701d..43ddd610f 100644 --- a/x/orders/record/record.go +++ b/x/orders/record/record.go @@ -1,14 +1,13 @@ package record import ( - "github.com/AssetMantle/schema/documents" - baseIDs "github.com/AssetMantle/schema/ids/base" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/orders/key" "github.com/AssetMantle/modules/x/orders/mappable" + "github.com/AssetMantle/schema/documents" + baseIDs "github.com/AssetMantle/schema/ids/base" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) func (record *Record) GetKey() helpers.Key { diff --git a/x/orders/simulator/genesis.go b/x/orders/simulator/genesis.go index d711dc983..c96157dc4 100644 --- a/x/orders/simulator/genesis.go +++ b/x/orders/simulator/genesis.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" "github.com/AssetMantle/schema/documents/base" @@ -15,6 +13,7 @@ import ( baseQualified "github.com/AssetMantle/schema/qualified/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/orders/simulator/operations.go b/x/orders/simulator/operations.go index 5a49f201a..d15703428 100644 --- a/x/orders/simulator/operations.go +++ b/x/orders/simulator/operations.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - baseDocuments "github.com/AssetMantle/schema/documents/base" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" @@ -18,6 +16,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" diff --git a/x/orders/simulator/params.go b/x/orders/simulator/params.go index 69b28204c..1d4caaab8 100644 --- a/x/orders/simulator/params.go +++ b/x/orders/simulator/params.go @@ -4,11 +4,10 @@ package simulator import ( - "math" - "math/rand" - simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math" + "math/rand" baseHelpers "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/orders/constants" diff --git a/x/orders/simulator/proposals.go b/x/orders/simulator/proposals.go index 3125e3c1a..53aac918f 100644 --- a/x/orders/simulator/proposals.go +++ b/x/orders/simulator/proposals.go @@ -4,14 +4,13 @@ package simulator import ( - govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" - "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "math/rand" - sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" + govSimulation "github.com/cosmos/cosmos-sdk/x/gov/simulation" + "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" ) func (simulator) ProposalMessages(_ module.SimulationState) []simulationTypes.WeightedProposalMsg { diff --git a/x/orders/transactions/cancel/message.go b/x/orders/transactions/cancel/message.go index b5dd6c1a8..32fd19b0b 100644 --- a/x/orders/transactions/cancel/message.go +++ b/x/orders/transactions/cancel/message.go @@ -4,12 +4,11 @@ package cancel import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/define/message.go b/x/orders/transactions/define/message.go index a28bae5ce..de8274451 100644 --- a/x/orders/transactions/define/message.go +++ b/x/orders/transactions/define/message.go @@ -4,14 +4,13 @@ package define import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/deputize/message.go b/x/orders/transactions/deputize/message.go index 25f1a6d39..c139975eb 100644 --- a/x/orders/transactions/deputize/message.go +++ b/x/orders/transactions/deputize/message.go @@ -4,14 +4,13 @@ package deputize import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/lists" baseLists "github.com/AssetMantle/schema/lists/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/get/message.go b/x/orders/transactions/get/message.go index a663d98de..b5da63ab6 100644 --- a/x/orders/transactions/get/message.go +++ b/x/orders/transactions/get/message.go @@ -4,12 +4,11 @@ package get import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/immediate/message.go b/x/orders/transactions/immediate/message.go index 4f70ba529..a2fd76288 100644 --- a/x/orders/transactions/immediate/message.go +++ b/x/orders/transactions/immediate/message.go @@ -4,6 +4,7 @@ package immediate import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" @@ -13,8 +14,6 @@ import ( baseTypes "github.com/AssetMantle/schema/types/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/make/message.go b/x/orders/transactions/make/message.go index 6280b28d7..ebff520a8 100644 --- a/x/orders/transactions/make/message.go +++ b/x/orders/transactions/make/message.go @@ -4,6 +4,7 @@ package make import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" @@ -13,8 +14,6 @@ import ( baseTypes "github.com/AssetMantle/schema/types/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/modify/message.go b/x/orders/transactions/modify/message.go index 549d29636..480ef6d90 100644 --- a/x/orders/transactions/modify/message.go +++ b/x/orders/transactions/modify/message.go @@ -4,6 +4,7 @@ package modify import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" @@ -13,8 +14,6 @@ import ( baseTypes "github.com/AssetMantle/schema/types/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/put/message.go b/x/orders/transactions/put/message.go index 03752276e..a63791afa 100644 --- a/x/orders/transactions/put/message.go +++ b/x/orders/transactions/put/message.go @@ -4,6 +4,7 @@ package put import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" @@ -11,8 +12,6 @@ import ( baseTypes "github.com/AssetMantle/schema/types/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/revoke/message.go b/x/orders/transactions/revoke/message.go index d472ad4ea..c69516d95 100644 --- a/x/orders/transactions/revoke/message.go +++ b/x/orders/transactions/revoke/message.go @@ -4,12 +4,11 @@ package revoke import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/transactions/take/message.go b/x/orders/transactions/take/message.go index 2af431e8b..a0a249ec9 100644 --- a/x/orders/transactions/take/message.go +++ b/x/orders/transactions/take/message.go @@ -4,13 +4,12 @@ package take import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/cosmos/cosmos-sdk/codec/types" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Message = (*Message)(nil) diff --git a/x/orders/utilities/permissions.go b/x/orders/utilities/permissions.go index 9f567de00..59a34540b 100644 --- a/x/orders/utilities/permissions.go +++ b/x/orders/utilities/permissions.go @@ -1,9 +1,8 @@ package utilities import ( - "github.com/AssetMantle/schema/ids" - "github.com/AssetMantle/modules/x/orders/constants" + "github.com/AssetMantle/schema/ids" ) func SetModulePermissions(canMakeOrder bool, canCancelOrder bool) []ids.StringID { diff --git a/x/splits/auxiliaries/burn/auxiliary_request.go b/x/splits/auxiliaries/burn/auxiliary_request.go index 45407c0f4..f01f66108 100644 --- a/x/splits/auxiliaries/burn/auxiliary_request.go +++ b/x/splits/auxiliaries/burn/auxiliary_request.go @@ -4,11 +4,10 @@ package burn import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/splits/auxiliaries/mint/auxiliary_request.go b/x/splits/auxiliaries/mint/auxiliary_request.go index 90299fc83..61233b917 100644 --- a/x/splits/auxiliaries/mint/auxiliary_request.go +++ b/x/splits/auxiliaries/mint/auxiliary_request.go @@ -4,11 +4,10 @@ package mint import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/splits/auxiliaries/prototype_test.go b/x/splits/auxiliaries/prototype_test.go index ae341adb8..4f4fe295d 100644 --- a/x/splits/auxiliaries/prototype_test.go +++ b/x/splits/auxiliaries/prototype_test.go @@ -5,9 +5,9 @@ package auxiliaries import ( "testing" - + "github.com/stretchr/testify/require" - + baseHelpers "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/splits/auxiliaries/mint" "github.com/AssetMantle/modules/x/splits/auxiliaries/purge" diff --git a/x/splits/auxiliaries/purge/auxiliary_keeper.go b/x/splits/auxiliaries/purge/auxiliary_keeper.go index 8c864b429..637aa3cd1 100644 --- a/x/splits/auxiliaries/purge/auxiliary_keeper.go +++ b/x/splits/auxiliaries/purge/auxiliary_keeper.go @@ -5,14 +5,13 @@ package purge import ( "context" - errorConstants "github.com/AssetMantle/modules/helpers/constants" - baseIDs "github.com/AssetMantle/schema/ids/base" - "github.com/AssetMantle/modules/helpers" + errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/modules/x/splits/key" "github.com/AssetMantle/modules/x/splits/mappable" "github.com/AssetMantle/modules/x/splits/record" "github.com/AssetMantle/modules/x/splits/utilities" + baseIDs "github.com/AssetMantle/schema/ids/base" ) type auxiliaryKeeper struct { diff --git a/x/splits/auxiliaries/purge/auxiliary_request.go b/x/splits/auxiliaries/purge/auxiliary_request.go index 2f4a72f68..a53b5c0f7 100644 --- a/x/splits/auxiliaries/purge/auxiliary_request.go +++ b/x/splits/auxiliaries/purge/auxiliary_request.go @@ -4,11 +4,10 @@ package purge import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/splits/auxiliaries/renumerate/auxiliary_keeper.go b/x/splits/auxiliaries/renumerate/auxiliary_keeper.go index b35edf581..36f39fef8 100644 --- a/x/splits/auxiliaries/renumerate/auxiliary_keeper.go +++ b/x/splits/auxiliaries/renumerate/auxiliary_keeper.go @@ -5,11 +5,10 @@ package renumerate import ( "context" - errorConstants "github.com/AssetMantle/modules/helpers/constants" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" + errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/modules/x/splits/utilities" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) type auxiliaryKeeper struct { diff --git a/x/splits/auxiliaries/transfer/auxiliary_keeper.go b/x/splits/auxiliaries/transfer/auxiliary_keeper.go index bf1298728..1ed800fe2 100644 --- a/x/splits/auxiliaries/transfer/auxiliary_keeper.go +++ b/x/splits/auxiliaries/transfer/auxiliary_keeper.go @@ -5,12 +5,11 @@ package transfer import ( "context" + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" + "github.com/AssetMantle/modules/x/splits/utilities" "github.com/AssetMantle/schema/data" propertyConstants "github.com/AssetMantle/schema/properties/constants" - - "github.com/AssetMantle/modules/helpers" - "github.com/AssetMantle/modules/x/splits/utilities" ) type auxiliaryKeeper struct { diff --git a/x/splits/auxiliaries/transfer/auxiliary_request.go b/x/splits/auxiliaries/transfer/auxiliary_request.go index 4f21dc43d..78730ea23 100644 --- a/x/splits/auxiliaries/transfer/auxiliary_request.go +++ b/x/splits/auxiliaries/transfer/auxiliary_request.go @@ -4,11 +4,10 @@ package transfer import ( + "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" ) type auxiliaryRequest struct { diff --git a/x/splits/block/block.go b/x/splits/block/block.go index 1cbdcc3d6..36d85c5ae 100644 --- a/x/splits/block/block.go +++ b/x/splits/block/block.go @@ -5,7 +5,6 @@ package block import ( "context" - abciTypes "github.com/cometbft/cometbft/abci/types" "github.com/AssetMantle/modules/helpers" diff --git a/x/splits/genesis/genesis.go b/x/splits/genesis/genesis.go index 6d8808b9f..7ad85a728 100644 --- a/x/splits/genesis/genesis.go +++ b/x/splits/genesis/genesis.go @@ -3,7 +3,6 @@ package genesis import ( "context" errorConstants "github.com/AssetMantle/modules/helpers/constants" - "github.com/AssetMantle/schema/lists" "github.com/AssetMantle/schema/lists/base" sdkCodec "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/splits/key/key.go b/x/splits/key/key.go index fffb41f9a..87b491941 100644 --- a/x/splits/key/key.go +++ b/x/splits/key/key.go @@ -4,11 +4,10 @@ package key import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Key = (*Key)(nil) diff --git a/x/splits/mappable/mappable.go b/x/splits/mappable/mappable.go index 1f3fdb779..be11d8d59 100644 --- a/x/splits/mappable/mappable.go +++ b/x/splits/mappable/mappable.go @@ -4,12 +4,11 @@ package mappable import ( + "github.com/AssetMantle/modules/helpers" codecUtilities "github.com/AssetMantle/schema/codec/utilities" "github.com/AssetMantle/schema/types" baseTypes "github.com/AssetMantle/schema/types/base" "github.com/cosmos/cosmos-sdk/codec" - - "github.com/AssetMantle/modules/helpers" ) var _ helpers.Mappable = (*Mappable)(nil) diff --git a/x/splits/parameters/transfer_enabled/parameter.go b/x/splits/parameters/transfer_enabled/parameter.go index ef3e36bea..bdb24f1d5 100644 --- a/x/splits/parameters/transfer_enabled/parameter.go +++ b/x/splits/parameters/transfer_enabled/parameter.go @@ -4,13 +4,12 @@ package transfer_enabled import ( + baseHelpers "github.com/AssetMantle/modules/helpers/base" errorConstants "github.com/AssetMantle/modules/helpers/constants" baseData "github.com/AssetMantle/schema/data/base" baseParameters "github.com/AssetMantle/schema/parameters/base" "github.com/AssetMantle/schema/properties/base" constantProperties "github.com/AssetMantle/schema/properties/constants" - - baseHelpers "github.com/AssetMantle/modules/helpers/base" ) var ID = constantProperties.TransferEnabledProperty.GetKey() diff --git a/x/splits/queries/balances/query.go b/x/splits/queries/balances/query.go index 55b50905b..d905ba25c 100644 --- a/x/splits/queries/balances/query.go +++ b/x/splits/queries/balances/query.go @@ -4,11 +4,10 @@ package balances import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/splits/queries/balances/query_keeper.go b/x/splits/queries/balances/query_keeper.go index 6d3b3c9da..97c19789f 100644 --- a/x/splits/queries/balances/query_keeper.go +++ b/x/splits/queries/balances/query_keeper.go @@ -5,7 +5,6 @@ package balances import ( "context" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/x/splits/utilities" ) diff --git a/x/splits/queries/split/query.go b/x/splits/queries/split/query.go index 70ffa80a0..38028276a 100644 --- a/x/splits/queries/split/query.go +++ b/x/splits/queries/split/query.go @@ -4,11 +4,10 @@ package split import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/splits/queries/split/query_keeper.go b/x/splits/queries/split/query_keeper.go index ec41f3fbc..c2af053e1 100644 --- a/x/splits/queries/split/query_keeper.go +++ b/x/splits/queries/split/query_keeper.go @@ -5,7 +5,6 @@ package split import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/splits/queries/splits/query.go b/x/splits/queries/splits/query.go index dec490a5a..cd9e22b49 100644 --- a/x/splits/queries/splits/query.go +++ b/x/splits/queries/splits/query.go @@ -4,11 +4,10 @@ package splits import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/splits/queries/splits/query_keeper.go b/x/splits/queries/splits/query_keeper.go index 18415174f..300b6d395 100644 --- a/x/splits/queries/splits/query_keeper.go +++ b/x/splits/queries/splits/query_keeper.go @@ -5,7 +5,6 @@ package splits import ( "context" - "github.com/AssetMantle/modules/helpers" ) diff --git a/x/splits/queries/supply/query.go b/x/splits/queries/supply/query.go index 44f0a97a9..cc3df5b46 100644 --- a/x/splits/queries/supply/query.go +++ b/x/splits/queries/supply/query.go @@ -4,11 +4,10 @@ package supply import ( - "google.golang.org/grpc" - "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" helperConstants "github.com/AssetMantle/modules/helpers/constants" + "google.golang.org/grpc" ) var Query = baseHelpers.NewQuery( diff --git a/x/splits/queries/supply/query_keeper.go b/x/splits/queries/supply/query_keeper.go index dff136756..f35102293 100644 --- a/x/splits/queries/supply/query_keeper.go +++ b/x/splits/queries/supply/query_keeper.go @@ -5,7 +5,6 @@ package supply import ( "context" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/x/splits/utilities" ) diff --git a/x/splits/queries/supply/query_response.go b/x/splits/queries/supply/query_response.go index f195f26d5..6f6f6ac75 100644 --- a/x/splits/queries/supply/query_response.go +++ b/x/splits/queries/supply/query_response.go @@ -4,10 +4,9 @@ package supply import ( - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) var _ helpers.QueryResponse = (*QueryResponse)(nil) diff --git a/x/splits/record/record.go b/x/splits/record/record.go index a38c07719..a0b0a0b2c 100644 --- a/x/splits/record/record.go +++ b/x/splits/record/record.go @@ -1,15 +1,14 @@ package record import ( - "github.com/AssetMantle/schema/ids" - baseIDs "github.com/AssetMantle/schema/ids/base" - "github.com/AssetMantle/schema/types" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/x/splits/key" "github.com/AssetMantle/modules/x/splits/mappable" + "github.com/AssetMantle/schema/ids" + baseIDs "github.com/AssetMantle/schema/ids/base" + "github.com/AssetMantle/schema/types" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) func (record *Record) GetKey() helpers.Key { diff --git a/x/splits/simulator/genesis.go b/x/splits/simulator/genesis.go index a30834808..1581b5da2 100644 --- a/x/splits/simulator/genesis.go +++ b/x/splits/simulator/genesis.go @@ -4,8 +4,6 @@ package simulator import ( - "math/rand" - "github.com/AssetMantle/schema/data" baseData "github.com/AssetMantle/schema/data/base" baseDocuments "github.com/AssetMantle/schema/documents/base" @@ -15,6 +13,7 @@ import ( baseTypes "github.com/AssetMantle/schema/types/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "math/rand" "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" diff --git a/x/splits/simulator/operations.go b/x/splits/simulator/operations.go index 9b2ee1b23..524fa0e87 100644 --- a/x/splits/simulator/operations.go +++ b/x/splits/simulator/operations.go @@ -4,10 +4,9 @@ package simulator import ( - "math/rand" - "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" "github.com/AssetMantle/modules/helpers" ) diff --git a/x/splits/simulator/params.go b/x/splits/simulator/params.go index ef6132d6e..6a5d99d4f 100644 --- a/x/splits/simulator/params.go +++ b/x/splits/simulator/params.go @@ -4,10 +4,9 @@ package simulator import ( - "math/rand" - simulationTypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "math/rand" baseHelpers "github.com/AssetMantle/modules/helpers/base" "github.com/AssetMantle/modules/simulation/schema/types/base" diff --git a/x/splits/transactions/prototype_test.go b/x/splits/transactions/prototype_test.go index 2111560ca..19db02301 100644 --- a/x/splits/transactions/prototype_test.go +++ b/x/splits/transactions/prototype_test.go @@ -7,7 +7,7 @@ import ( "fmt" "reflect" "testing" - + "github.com/AssetMantle/modules/helpers" baseHelpers "github.com/AssetMantle/modules/helpers/base" ) diff --git a/x/splits/utilities/balances.go b/x/splits/utilities/balances.go index 0bb4664f5..c5cc3865a 100644 --- a/x/splits/utilities/balances.go +++ b/x/splits/utilities/balances.go @@ -1,10 +1,9 @@ package utilities import ( - "github.com/AssetMantle/schema/ids" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/x/splits/key" + "github.com/AssetMantle/schema/ids" ) func GetAllBalancesForIdentity(collection helpers.Collection, ownerID ids.IdentityID) helpers.Collection { diff --git a/x/splits/utilities/split.go b/x/splits/utilities/split.go index 93be339f3..058578b20 100644 --- a/x/splits/utilities/split.go +++ b/x/splits/utilities/split.go @@ -4,16 +4,15 @@ package utilities import ( + "github.com/AssetMantle/modules/helpers" errorConstants "github.com/AssetMantle/modules/helpers/constants" + "github.com/AssetMantle/modules/x/splits/key" + "github.com/AssetMantle/modules/x/splits/mappable" + "github.com/AssetMantle/modules/x/splits/record" "github.com/AssetMantle/schema/ids" baseIDs "github.com/AssetMantle/schema/ids/base" "github.com/AssetMantle/schema/types/base" sdkTypes "github.com/cosmos/cosmos-sdk/types" - - "github.com/AssetMantle/modules/helpers" - "github.com/AssetMantle/modules/x/splits/key" - "github.com/AssetMantle/modules/x/splits/mappable" - "github.com/AssetMantle/modules/x/splits/record" ) func AddSplits(splits helpers.Collection, ownerID ids.IdentityID, assetID ids.AssetID, value sdkTypes.Int) (helpers.Collection, error) { diff --git a/x/splits/utilities/supply.go b/x/splits/utilities/supply.go index 139aa3c76..06030505d 100644 --- a/x/splits/utilities/supply.go +++ b/x/splits/utilities/supply.go @@ -4,13 +4,12 @@ package utilities import ( - "github.com/AssetMantle/schema/ids" - baseIDs "github.com/AssetMantle/schema/ids/base" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/AssetMantle/modules/helpers" "github.com/AssetMantle/modules/x/splits/key" "github.com/AssetMantle/modules/x/splits/mappable" + "github.com/AssetMantle/schema/ids" + baseIDs "github.com/AssetMantle/schema/ids/base" + sdkTypes "github.com/cosmos/cosmos-sdk/types" ) func GetTotalSupply(collection helpers.Collection, assetID ids.AssetID) sdkTypes.Int {