Preparing report...

Report for github.com/ixofoundation/ixo-blockchain

A+    Excellent!    Found 107 issues across 139 files

Tweet

gofmt99%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo93%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint25%

Golint is a linter for Go source code.

    • ixo-blockchain/x/bonds/client/cli/query.go
    • Line 14: warning: exported function GetQueryCmd should have comment or be unexported (golint)
    • Line 42: warning: exported function GetCmdBondsList should have comment or be unexported (golint)
    • Line 72: warning: exported function GetCmdBondsListDetailed should have comment or be unexported (golint)
    • Line 102: warning: exported function GetCmdBond should have comment or be unexported (golint)
    • Line 129: warning: exported function GetCmdBatch should have comment or be unexported (golint)
    • Line 156: warning: exported function GetCmdLastBatch should have comment or be unexported (golint)
    • Line 183: warning: exported function GetCmdCurrentPrice should have comment or be unexported (golint)
    • Line 210: warning: exported function GetCmdCurrentReserve should have comment or be unexported (golint)
    • Line 238: warning: exported function GetCmdCustomPrice should have comment or be unexported (golint)
    • Line 276: warning: exported function GetCmdBuyPrice should have comment or be unexported (golint)
    • Line 314: warning: exported function GetCmdSellReturn should have comment or be unexported (golint)
    • Line 352: warning: exported function GetCmdSwapReturn should have comment or be unexported (golint)
    • Line 385: warning: exported function GetCmdAlphaMaximums should have comment or be unexported (golint)
    • Line 413: warning: exported function GetParamsRequestHandler should have comment or be unexported (golint)
    • ixo-blockchain/x/did/exported/did.go
    • Line 21: warning: exported var DidPrefix should have comment or be unexported (golint)
    • Line 23: warning: exported type Did should have comment or be unexported (golint)
    • Line 25: warning: exported function UnprefixedDid should have comment or be unexported (golint)
    • Line 31: warning: exported function UnprefixedDidFromPubKey should have comment or be unexported (golint)
    • Line 38: warning: exported type DidDoc should have comment or be unexported (golint)
    • Line 48: warning: exported type Secret should have comment or be unexported (golint)
    • Line 54: warning: exported function NewSecret should have comment or be unexported (golint)
    • Line 62: warning: exported method Secret.Equals should have comment or be unexported (golint)
    • Line 77: warning: exported type IxoDid should have comment or be unexported (golint)
    • Line 98: warning: exported function NewIxoDid should have comment or be unexported (golint)
    • Line 107: warning: exported method IxoDid.Equals should have comment or be unexported (golint)
    • Line 123: warning: exported function VerifyKeyToAddr should have comment or be unexported (golint)
    • Line 129: warning: exported method IxoDid.Address should have comment or be unexported (golint)
    • Line 133: warning: exported function GenerateMnemonic should have comment or be unexported (golint)
    • Line 141: warning: exported function FromMnemonic should have comment or be unexported (golint)
    • Line 151: warning: exported function Gen should have comment or be unexported (golint)
    • Line 160: warning: exported function FromSeed should have comment or be unexported (golint)
    • Line 186: warning: exported method IxoDid.SignMessage should have comment or be unexported (golint)
    • Line 193: warning: exported method IxoDid.VerifySignedMessage should have comment or be unexported (golint)
    • ixo-blockchain/x/did/keeper/grpc_query.go
    • Line 17: warning: exported method Keeper.DidDoc should have comment or be unexported (golint)
    • Line 37: warning: exported method Keeper.AllDids should have comment or be unexported (golint)
    • Line 45: warning: exported method Keeper.AllDidDocs should have comment or be unexported (golint)
    • Line 67: warning: exported method Keeper.AddressFromDid should have comment or be unexported (golint)
    • Line 82: warning: exported method Keeper.AddressFromBase58EncodedPubkey should have comment or be unexported (golint)
    • ixo-blockchain/x/project/auth.go
    • Line 36: warning: exported function NewDefaultPubKeyGetter should have comment or be unexported (golint)
    • Line 50: warning: exported function NewModulePubKeyGetter should have comment or be unexported (golint)
    • Line 114: warning: exported function NewProjectCreationAnteHandler should have comment or be unexported (golint)
    • ixo-blockchain/x/project/types/msgs.go
    • Line 17: warning: exported const TypeMsgCreateProject should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported function NewMsgCreateProject should have comment or be unexported (golint)
    • Line 53: warning: exported method MsgCreateProject.ToStdSignMsg should have comment or be unexported (golint)
    • Line 68: warning: exported method MsgCreateProject.Type should have comment or be unexported (golint)
    • Line 70: warning: exported method MsgCreateProject.Route should have comment or be unexported (golint)
    • Line 72: warning: exported method MsgCreateProject.ValidateBasic should have comment or be unexported (golint)
    • Line 99: warning: exported method MsgCreateProject.GetSignerDid should have comment or be unexported (golint)
    • Line 100: warning: exported method MsgCreateProject.GetSigners should have comment or be unexported (golint)
    • Line 112: warning: exported method MsgCreateProject.GetSignBytes should have comment or be unexported (golint)
    • Line 116: warning: exported function NewMsgUpdateProjectStatus should have comment or be unexported (golint)
    • Line 125: warning: exported method MsgUpdateProjectStatus.Type should have comment or be unexported (golint)
    • Line 126: warning: exported method MsgUpdateProjectStatus.Route should have comment or be unexported (golint)
    • Line 128: warning: exported method MsgUpdateProjectStatus.ValidateBasic should have comment or be unexported (golint)
    • Line 150: warning: exported method MsgUpdateProjectStatus.GetSignBytes should have comment or be unexported (golint)
    • Line 154: warning: exported method MsgUpdateProjectStatus.GetSignerDid should have comment or be unexported (golint)
    • Line 155: warning: exported method MsgUpdateProjectStatus.GetSigners should have comment or be unexported (golint)
    • Line 159: warning: exported function NewMsgCreateAgent should have comment or be unexported (golint)
    • Line 168: warning: exported method MsgCreateAgent.Type should have comment or be unexported (golint)
    • Line 169: warning: exported method MsgCreateAgent.Route should have comment or be unexported (golint)
    • Line 170: warning: exported method MsgCreateAgent.ValidateBasic should have comment or be unexported (golint)
    • Line 192: warning: exported method MsgCreateAgent.GetSignerDid should have comment or be unexported (golint)
    • Line 193: warning: exported method MsgCreateAgent.GetSigners should have comment or be unexported (golint)
    • Line 197: warning: exported method MsgCreateAgent.GetSignBytes should have comment or be unexported (golint)
    • Line 209: warning: exported function NewMsgUpdateAgent should have comment or be unexported (golint)
    • Line 218: warning: exported method MsgUpdateAgent.Type should have comment or be unexported (golint)
    • Line 219: warning: exported method MsgUpdateAgent.Route should have comment or be unexported (golint)
    • Line 220: warning: exported method MsgUpdateAgent.ValidateBasic should have comment or be unexported (golint)
    • Line 242: warning: exported method MsgUpdateAgent.GetSignerDid should have comment or be unexported (golint)
    • Line 243: warning: exported method MsgUpdateAgent.GetSigners should have comment or be unexported (golint)
    • Line 247: warning: exported method MsgUpdateAgent.GetSignBytes should have comment or be unexported (golint)
    • Line 260: warning: exported function NewMsgCreateClaim should have comment or be unexported (golint)
    • Line 269: warning: exported method MsgCreateClaim.Type should have comment or be unexported (golint)
    • Line 270: warning: exported method MsgCreateClaim.Route should have comment or be unexported (golint)
    • Line 272: warning: exported method MsgCreateClaim.ValidateBasic should have comment or be unexported (golint)
    • Line 296: warning: exported method MsgCreateClaim.GetSignerDid should have comment or be unexported (golint)
    • Line 297: warning: exported method MsgCreateClaim.GetSigners should have comment or be unexported (golint)
    • Line 301: warning: exported method MsgCreateClaim.GetSignBytes should have comment or be unexported (golint)
    • Line 314: warning: exported function NewMsgCreateEvaluation should have comment or be unexported (golint)
    • Line 323: warning: exported method MsgCreateEvaluation.Type should have comment or be unexported (golint)
    • Line 324: warning: exported method MsgCreateEvaluation.Route should have comment or be unexported (golint)
    • Line 326: warning: exported method MsgCreateEvaluation.ValidateBasic should have comment or be unexported (golint)
    • Line 346: warning: exported method MsgCreateEvaluation.GetSignerDid should have comment or be unexported (golint)
    • Line 347: warning: exported method MsgCreateEvaluation.GetSigners should have comment or be unexported (golint)
    • Line 351: warning: exported method MsgCreateEvaluation.GetSignBytes should have comment or be unexported (golint)
    • Line 364: warning: exported function NewMsgWithdrawFunds should have comment or be unexported (golint)
    • Line 371: warning: exported method MsgWithdrawFunds.Type should have comment or be unexported (golint)
    • Line 372: warning: exported method MsgWithdrawFunds.Route should have comment or be unexported (golint)
    • Line 374: warning: exported method MsgWithdrawFunds.ValidateBasic should have comment or be unexported (golint)
    • Line 408: warning: exported method MsgWithdrawFunds.GetSignerDid should have comment or be unexported (golint)
    • Line 409: warning: exported method MsgWithdrawFunds.GetSigners should have comment or be unexported (golint)
    • Line 413: warning: exported method MsgWithdrawFunds.GetSignBytes should have comment or be unexported (golint)
    • Line 426: warning: exported function NewMsgUpdateProjectDoc should have comment or be unexported (golint)
    • Line 435: warning: exported method MsgUpdateProjectDoc.Type should have comment or be unexported (golint)
    • Line 436: warning: exported method MsgUpdateProjectDoc.Route should have comment or be unexported (golint)
    • Line 438: warning: exported method MsgUpdateProjectDoc.ValidateBasic should have comment or be unexported (golint)
    • Line 463: warning: exported method MsgUpdateProjectDoc.GetSignBytes should have comment or be unexported (golint)
    • Line 467: warning: exported method MsgUpdateProjectDoc.GetSignerDid should have comment or be unexported (golint)
    • Line 468: warning: exported method MsgUpdateProjectDoc.GetSigners should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/client/cli/query.go
    • Line 13: warning: exported function GetQueryCmd should have comment or be unexported (golint)
    • Line 32: warning: exported function GetCmdPaymentTemplate should have comment or be unexported (golint)
    • Line 61: warning: exported function GetCmdPaymentContract should have comment or be unexported (golint)
    • Line 90: warning: exported function GetCmdPaymentContractsByIdPrefix should have comment or be unexported (golint)
    • Line 119: warning: exported function GetCmdSubscription should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/augmented.go
    • Line 10: warning: comment on exported function Invariant should be of the form "Invariant ..." (golint)
    • Line 19: warning: comment on exported function Supply should be of the form "Supply ..." (golint)
    • Line 30: warning: comment on exported function Reserve should be of the form "Reserve ..." (golint)
    • Line 39: warning: comment on exported function SpotPrice should be of the form "SpotPrice ..." (golint)
    • ixo-blockchain/x/payments/keeper/grpc_query.go
    • Line 13: warning: exported method Keeper.PaymentTemplate should have comment or be unexported (golint)
    • Line 27: warning: exported method Keeper.PaymentContract should have comment or be unexported (golint)
    • Line 40: warning: exported method Keeper.PaymentContractsByIdPrefix should have comment or be unexported (golint)
    • Line 50: warning: exported method Keeper.Subscription should have comment or be unexported (golint)
    • ixo-blockchain/x/project/keeper/grpc_query.go
    • Line 14: warning: exported method Keeper.ProjectDoc should have comment or be unexported (golint)
    • Line 29: warning: exported method Keeper.ProjectAccounts should have comment or be unexported (golint)
    • Line 41: warning: exported method Keeper.ProjectTx should have comment or be unexported (golint)
    • Line 56: warning: exported method Keeper.Params should have comment or be unexported (golint)
    • ixo-blockchain/x/project/types/params.go
    • Line 20: warning: comment on exported function ParamKeyTable should be of the form "ParamKeyTable ..." (golint)
    • Line 25: warning: exported function NewParams should have comment or be unexported (golint)
    • Line 36: warning: comment on exported function DefaultParams should be of the form "DefaultParams ..." (golint)
    • Line 108: warning: comment on exported method Params.ParamSetPairs should be of the form "ParamSetPairs ..." (golint)
    • ixo-blockchain/x/payments/types/error.go
    • Line 8: warning: exported const DefaultCodespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported var ErrNegativeSharePercentage should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/msgs.go
    • Line 19: warning: exported const TypeMsgCreatePaymentTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported function NewMsgCreatePaymentTemplate should have comment or be unexported (golint)
    • Line 46: warning: exported method MsgCreatePaymentTemplate.Type should have comment or be unexported (golint)
    • Line 47: warning: exported method MsgCreatePaymentTemplate.Route should have comment or be unexported (golint)
    • Line 48: warning: exported method MsgCreatePaymentTemplate.ValidateBasic should have comment or be unexported (golint)
    • Line 67: warning: exported method MsgCreatePaymentTemplate.GetSignerDid should have comment or be unexported (golint)
    • Line 68: warning: exported method MsgCreatePaymentTemplate.GetSigners should have comment or be unexported (golint)
    • Line 80: warning: exported method MsgCreatePaymentTemplate.GetSignBytes should have comment or be unexported (golint)
    • Line 84: warning: exported function NewMsgCreatePaymentContract should have comment or be unexported (golint)
    • Line 98: warning: exported method MsgCreatePaymentContract.Type should have comment or be unexported (golint)
    • Line 99: warning: exported method MsgCreatePaymentContract.Route should have comment or be unexported (golint)
    • Line 100: warning: exported method MsgCreatePaymentContract.ValidateBasic should have comment or be unexported (golint)
    • Line 129: warning: exported method MsgCreatePaymentContract.GetSignerDid should have comment or be unexported (golint)
    • Line 130: warning: exported method MsgCreatePaymentContract.GetSigners should have comment or be unexported (golint)
    • Line 142: warning: exported method MsgCreatePaymentContract.GetSignBytes should have comment or be unexported (golint)
    • Line 146: warning: exported function NewMsgCreateSubscription should have comment or be unexported (golint)
    • Line 163: warning: exported method MsgCreateSubscription.SetPeriod should have comment or be unexported (golint)
    • Line 178: warning: exported method MsgCreateSubscription.GetPeriod should have comment or be unexported (golint)
    • Line 186: warning: exported method MsgCreateSubscription.Type should have comment or be unexported (golint)
    • Line 187: warning: exported method MsgCreateSubscription.Route should have comment or be unexported (golint)
    • Line 188: warning: exported method MsgCreateSubscription.ValidateBasic should have comment or be unexported (golint)
    • Line 218: warning: exported method MsgCreateSubscription.GetSignerDid should have comment or be unexported (golint)
    • Line 219: warning: exported method MsgCreateSubscription.GetSigners should have comment or be unexported (golint)
    • Line 231: warning: exported method MsgCreateSubscription.GetSignBytes should have comment or be unexported (golint)
    • Line 238: warning: receiver name m should be consistent with previous receiver name msg for MsgCreateSubscription (golint)
    • Line 243: warning: exported function NewMsgSetPaymentContractAuthorisation should have comment or be unexported (golint)
    • Line 252: warning: exported method MsgSetPaymentContractAuthorisation.Type should have comment or be unexported (golint)
    • Line 255: warning: exported method MsgSetPaymentContractAuthorisation.Route should have comment or be unexported (golint)
    • Line 256: warning: exported method MsgSetPaymentContractAuthorisation.ValidateBasic should have comment or be unexported (golint)
    • Line 276: warning: exported method MsgSetPaymentContractAuthorisation.GetSignerDid should have comment or be unexported (golint)
    • Line 277: warning: exported method MsgSetPaymentContractAuthorisation.GetSigners should have comment or be unexported (golint)
    • Line 289: warning: exported method MsgSetPaymentContractAuthorisation.GetSignBytes should have comment or be unexported (golint)
    • Line 293: warning: exported function NewMsgGrantDiscount should have comment or be unexported (golint)
    • Line 303: warning: exported method MsgGrantDiscount.Type should have comment or be unexported (golint)
    • Line 304: warning: exported method MsgGrantDiscount.Route should have comment or be unexported (golint)
    • Line 305: warning: exported method MsgGrantDiscount.ValidateBasic should have comment or be unexported (golint)
    • Line 326: warning: exported method MsgGrantDiscount.GetSignerDid should have comment or be unexported (golint)
    • Line 327: warning: exported method MsgGrantDiscount.GetSigners should have comment or be unexported (golint)
    • Line 339: warning: exported method MsgGrantDiscount.GetSignBytes should have comment or be unexported (golint)
    • Line 343: warning: exported function NewMsgRevokeDiscount should have comment or be unexported (golint)
    • Line 352: warning: exported method MsgRevokeDiscount.Type should have comment or be unexported (golint)
    • Line 353: warning: exported method MsgRevokeDiscount.Route should have comment or be unexported (golint)
    • Line 354: warning: exported method MsgRevokeDiscount.ValidateBasic should have comment or be unexported (golint)
    • Line 375: warning: exported method MsgRevokeDiscount.GetSignerDid should have comment or be unexported (golint)
    • Line 376: warning: exported method MsgRevokeDiscount.GetSigners should have comment or be unexported (golint)
    • Line 388: warning: exported method MsgRevokeDiscount.GetSignBytes should have comment or be unexported (golint)
    • Line 392: warning: exported function NewMsgEffectPayment should have comment or be unexported (golint)
    • Line 399: warning: exported method MsgEffectPayment.Type should have comment or be unexported (golint)
    • Line 400: warning: exported method MsgEffectPayment.Route should have comment or be unexported (golint)
    • Line 401: warning: exported method MsgEffectPayment.ValidateBasic should have comment or be unexported (golint)
    • Line 420: warning: exported method MsgEffectPayment.GetSignerDid should have comment or be unexported (golint)
    • Line 421: warning: exported method MsgEffectPayment.GetSigners should have comment or be unexported (golint)
    • Line 433: warning: exported method MsgEffectPayment.GetSignBytes should have comment or be unexported (golint)
    • ixo-blockchain/x/did/types/codec.go
    • Line 12: warning: exported function RegisterLegacyAminoCodec should have comment or be unexported (golint)
    • Line 24: warning: exported function RegisterInterfaces should have comment or be unexported (golint)
    • ixo-blockchain/x/did/types/error.go
    • Line 8: warning: exported const DefaultCodespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported var ErrInvalidDid should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/payments.go
    • Line 10: warning: exported function NewPaymentTemplate should have comment or be unexported (golint)
    • Line 21: warning: exported method PaymentTemplate.GetDiscountPercent should have comment or be unexported (golint)
    • Line 30: warning: exported method PaymentTemplate.Validate should have comment or be unexported (golint)
    • Line 62: warning: exported function NewPaymentContract should have comment or be unexported (golint)
    • Line 79: warning: exported function NewPaymentContractNoDiscount should have comment or be unexported (golint)
    • Line 88: warning: exported method PaymentContract.Validate should have comment or be unexported (golint)
    • Line 121: warning: exported method PaymentContract.IsFirstPayment should have comment or be unexported (golint)
    • ixo-blockchain/x/project/types/keys.go
    • Line 6: warning: exported const ModuleName should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported var ProjectKey should have comment or be unexported (golint)
    • Line 21: warning: exported function GetProjectKey should have comment or be unexported (golint)
    • Line 25: warning: exported function GetAccountMapKey should have comment or be unexported (golint)
    • Line 29: warning: exported function GetWithdrawalsKey should have comment or be unexported (golint)
    • Line 33: warning: exported function GetClaimsKey should have comment or be unexported (golint)
    • Line 37: warning: exported function GetClaimKey should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/keys.go
    • Line 4: warning: exported const ModuleName should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported var PaymentTemplateKeyPrefix should have comment or be unexported (golint)
    • Line 24: warning: exported function GetPaymentTemplateKey should have comment or be unexported (golint)
    • Line 28: warning: exported function GetPaymentContractKey should have comment or be unexported (golint)
    • Line 32: warning: exported function GetSubscriptionKey should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/client/common.go
    • Line 38: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 45: warning: comment on exported function ParseFunctionParams should be of the form "ParseFunctionParams ..." (golint)
    • Line 65: warning: exported function ParseTwoPartCoin should have comment or be unexported (golint)
    • ixo-blockchain/x/did/client/cli/query.go
    • Line 16: warning: exported function GetQueryCmd should have comment or be unexported (golint)
    • Line 37: warning: exported function GetCmdAddressFromBase58Pubkey should have comment or be unexported (golint)
    • Line 63: warning: exported function GetCmdAddressFromDid should have comment or be unexported (golint)
    • Line 94: warning: exported function GetCmdIxoDidFromMnemonic should have comment or be unexported (golint)
    • Line 128: warning: exported function GetCmdDidDoc should have comment or be unexported (golint)
    • Line 160: warning: exported function GetCmdAllDids should have comment or be unexported (golint)
    • Line 185: warning: exported function GetCmdAllDidDocs should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/keeper/keeper.go
    • Line 14: warning: exported type Keeper should have comment or be unexported (golint)
    • Line 23: warning: exported function NewKeeper should have comment or be unexported (golint)
    • Line 46: warning: exported method Keeper.PaymentTemplateIdReserved should have comment or be unexported (golint)
    • Line 50: warning: exported method Keeper.PaymentContractIdReserved should have comment or be unexported (golint)
    • Line 54: warning: exported method Keeper.SubscriptionIdReserved should have comment or be unexported (golint)
    • ixo-blockchain/x/project/types/types.go
    • Line 11: warning: exported type InternalAccountID should have comment or be unexported (golint)
    • Line 12: warning: exported type ProjectStatus should have comment or be unexported (golint)
    • Line 13: warning: exported type ProjectStatusTransitionMap should have comment or be unexported (golint)
    • Line 14: warning: exported type ProjectDataMap should have comment or be unexported (golint)
    • Line 15: warning: exported type ProjectFeesMap should have comment or be unexported (golint)
    • Line 19: warning: exported type ProjectFeesMapItem should have comment or be unexported (golint)
    • Line 23: warning: exported type FeeType should have comment or be unexported (golint)
    • Line 27: warning: exported const FeeForService should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported method ProjectFeesMap.GetPayTemplateId should have comment or be unexported (golint)
    • Line 47: warning: exported method InternalAccountID.ToAddressKey should have comment or be unexported (golint)
    • Line 52: warning: exported const NullStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported var StateTransitions should have comment or be unexported (golint)
    • Line 74: warning: exported function ProjectStatusFromString should have comment or be unexported (golint)
    • Line 78: warning: exported method ProjectStatus.IsValidProgressionFrom should have comment or be unexported (golint)
    • Line 88: warning: exported type AgentStatus should have comment or be unexported (golint)
    • Line 91: warning: exported const PendingAgent should have comment (or a comment on this block) or be unexported (golint)
    • Line 96: warning: exported type ClaimStatus should have comment or be unexported (golint)
    • Line 99: warning: exported const PendingClaim should have comment (or a comment on this block) or be unexported (golint)
    • Line 104: warning: exported function NewClaim should have comment or be unexported (golint)
    • Line 113: warning: exported function AppendClaims should have comment or be unexported (golint)
    • Line 118: warning: exported function AppendWithdrawalInfoDocs should have comment or be unexported (golint)
    • ixo-blockchain/x/did/keeper/keeper.go
    • Line 11: warning: exported type Keeper should have comment or be unexported (golint)
    • Line 16: warning: exported function NewKeeper should have comment or be unexported (golint)
    • Line 44: warning: exported method Keeper.IterateDidDocs should have comment or be unexported (golint)
    • Line 58: warning: exported method Keeper.GetDidDoc should have comment or be unexported (golint)
    • Line 69: warning: exported method Keeper.MustGetDidDoc should have comment or be unexported (golint)
    • Line 77: warning: exported method Keeper.SetDidDoc should have comment or be unexported (golint)
    • Line 87: warning: exported method Keeper.AddDidDoc should have comment or be unexported (golint)
    • Line 99: warning: exported method Keeper.AddCredentials should have comment or be unexported (golint)
    • Line 121: warning: exported method Keeper.GetAllDidDocs should have comment or be unexported (golint)
    • Line 130: warning: exported method Keeper.GetAllDids should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/distribution.go
    • Line 12: warning: exported type Distribution should have comment or be unexported (golint)
    • Line 14: warning: exported function NewDistribution should have comment or be unexported (golint)
    • Line 18: warning: exported method Distribution.Validate should have comment or be unexported (golint)
    • Line 41: warning: exported method Distribution.GetDistributionsFor should have comment or be unexported (golint)
    • Line 60: warning: exported function NewDistributionShare should have comment or be unexported (golint)
    • Line 67: warning: exported function NewFullDistributionShare should have comment or be unexported (golint)
    • Line 74: warning: exported method DistributionShare.Validate should have comment or be unexported (golint)
    • Line 84: warning: exported method DistributionShare.GetShareOf should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/params.go
    • Line 14: warning: comment on exported function ParamKeyTable should be of the form "ParamKeyTable ..." (golint)
    • Line 19: warning: exported function NewParams should have comment or be unexported (golint)
    • Line 26: warning: comment on exported function DefaultParams should be of the form "DefaultParams ..." (golint)
    • Line 33: warning: comment on exported function ValidateParams should be of the form "ValidateParams ..." (golint)
    • Line 46: warning: comment on exported method Params.ParamSetPairs should be of the form "ParamSetPairs ..." (golint)
    • ixo-blockchain/x/project/types/genesis.go
    • Line 3: warning: exported function NewGenesisState should have comment or be unexported (golint)
    • Line 14: warning: exported function ValidateGenesis should have comment or be unexported (golint)
    • Line 18: warning: exported function DefaultGenesisState should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/decimath.go
    • Line 8: warning: exported var TEN should have comment or be unexported (golint)
    • Line 56: warning: comment on exported var LN2 should be of the form "LN2 ..." (golint)
    • Line 59: warning: comment on exported var ONE_OVER_LN2 should be of the form "ONE_OVER_LN2 ..." (golint)
    • Line 65: warning: don't use underscores in Go names; var table_log_2 should be tableLog2 (golint)
    • Line 66: warning: don't use underscores in Go names; var table2_log_2 should be table2Log2 (golint)
    • Line 70: warning: don't use underscores in Go names; var table_pow2 should be tablePow2 (golint)
    • Line 78: warning: comment on exported var LUT1_isSet should be of the form "LUT1_isSet ..." (golint)
    • Line 79: warning: don't use underscores in Go names; var LUT1_isSet should be LUT1IsSet (golint)
    • Line 80: warning: don't use underscores in Go names; var LUT2_isSet should be LUT2IsSet (golint)
    • Line 81: warning: don't use underscores in Go names; var LUT3_1_isSet should be LUT3_1IsSet (golint)
    • Line 82: warning: don't use underscores in Go names; var LUT3_2_isSet should be LUT3_2IsSet (golint)
    • Line 83: warning: don't use underscores in Go names; var LUT3_3_isSet should be LUT3_3IsSet (golint)
    • Line 84: warning: don't use underscores in Go names; var LUT3_4_isSet should be LUT3_4IsSet (golint)
    • Line 139: warning: don't use underscores in Go names; var prod_xy should be prodXy (golint)
    • Line 145: warning: don't use underscores in Go names; var prod_xTEN18 should be prodXTEN18 (golint)
    • Line 152: warning: don't use underscores in Go names; var prod_xy should be prodXy (golint)
    • Line 159: warning: don't use underscores in Go names; var prod_xy should be prodXy (golint)
    • Line 314: warning: don't use underscores in Go names; func log_2 should be log2 (golint)
    • Line 337: warning: don't use underscores in Go names; var x_38dp should be x38dp (golint)
    • Line 451: warning: don't use underscores in Go names; func exp_taylor should be expTaylor (golint)
    • ixo-blockchain/x/bonds/types/msgs.go
    • Line 14: warning: exported const TypeMsgCreateBond should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported function NewMsgCreateBond should have comment or be unexported (golint)
    • Line 64: warning: exported method MsgCreateBond.ValidateBasic should have comment or be unexported (golint)
    • Line 163: warning: exported method MsgCreateBond.GetSignBytes should have comment or be unexported (golint)
    • Line 167: warning: exported method MsgCreateBond.GetSignerDid should have comment or be unexported (golint)
    • Line 168: warning: exported method MsgCreateBond.GetSigners should have comment or be unexported (golint)
    • Line 172: warning: exported method MsgCreateBond.Route should have comment or be unexported (golint)
    • Line 174: warning: exported method MsgCreateBond.Type should have comment or be unexported (golint)
    • Line 176: warning: exported function NewMsgEditBond should have comment or be unexported (golint)
    • Line 189: warning: exported method MsgEditBond.ValidateBasic should have comment or be unexported (golint)
    • Line 233: warning: exported method MsgEditBond.GetSignBytes should have comment or be unexported (golint)
    • Line 237: warning: exported method MsgEditBond.GetSignerDid should have comment or be unexported (golint)
    • Line 238: warning: exported method MsgEditBond.GetSigners should have comment or be unexported (golint)
    • Line 242: warning: exported method MsgEditBond.Route should have comment or be unexported (golint)
    • Line 244: warning: exported method MsgEditBond.Type should have comment or be unexported (golint)
    • Line 246: warning: exported function NewMsgSetNextAlpha should have comment or be unexported (golint)
    • Line 254: warning: exported method MsgSetNextAlpha.ValidateBasic should have comment or be unexported (golint)
    • Line 281: warning: exported method MsgSetNextAlpha.GetSignBytes should have comment or be unexported (golint)
    • Line 285: warning: exported method MsgSetNextAlpha.GetSignerDid should have comment or be unexported (golint)
    • Line 286: warning: exported method MsgSetNextAlpha.GetSigners should have comment or be unexported (golint)
    • Line 290: warning: exported method MsgSetNextAlpha.Route should have comment or be unexported (golint)
    • Line 292: warning: exported method MsgSetNextAlpha.Type should have comment or be unexported (golint)
    • Line 294: warning: exported function NewMsgUpdateBondState should have comment or be unexported (golint)
    • Line 302: warning: exported method MsgUpdateBondState.ValidateBasic should have comment or be unexported (golint)
    • Line 325: warning: exported method MsgUpdateBondState.GetSignBytes should have comment or be unexported (golint)
    • Line 329: warning: exported method MsgUpdateBondState.GetSignerDid should have comment or be unexported (golint)
    • Line 330: warning: exported method MsgUpdateBondState.GetSigners should have comment or be unexported (golint)
    • Line 334: warning: exported method MsgUpdateBondState.Route should have comment or be unexported (golint)
    • Line 336: warning: exported method MsgUpdateBondState.Type should have comment or be unexported (golint)
    • Line 338: warning: exported function NewMsgBuy should have comment or be unexported (golint)
    • Line 348: warning: exported method MsgBuy.ValidateBasic should have comment or be unexported (golint)
    • Line 378: warning: exported method MsgBuy.GetSignBytes should have comment or be unexported (golint)
    • Line 382: warning: exported method MsgBuy.GetSignerDid should have comment or be unexported (golint)
    • Line 383: warning: exported method MsgBuy.GetSigners should have comment or be unexported (golint)
    • Line 387: warning: exported method MsgBuy.Route should have comment or be unexported (golint)
    • Line 389: warning: exported method MsgBuy.Type should have comment or be unexported (golint)
    • Line 391: warning: exported function NewMsgSell should have comment or be unexported (golint)
    • Line 399: warning: exported method MsgSell.ValidateBasic should have comment or be unexported (golint)
    • Line 424: warning: exported method MsgSell.GetSignBytes should have comment or be unexported (golint)
    • Line 428: warning: exported method MsgSell.GetSignerDid should have comment or be unexported (golint)
    • Line 429: warning: exported method MsgSell.GetSigners should have comment or be unexported (golint)
    • Line 433: warning: exported method MsgSell.Route should have comment or be unexported (golint)
    • Line 435: warning: exported method MsgSell.Type should have comment or be unexported (golint)
    • Line 437: warning: exported function NewMsgSwap should have comment or be unexported (golint)
    • Line 447: warning: exported method MsgSwap.ValidateBasic should have comment or be unexported (golint)
    • Line 490: warning: exported method MsgSwap.GetSignBytes should have comment or be unexported (golint)
    • Line 494: warning: exported method MsgSwap.GetSignerDid should have comment or be unexported (golint)
    • Line 495: warning: exported method MsgSwap.GetSigners should have comment or be unexported (golint)
    • Line 499: warning: exported method MsgSwap.Route should have comment or be unexported (golint)
    • Line 501: warning: exported method MsgSwap.Type should have comment or be unexported (golint)
    • Line 503: warning: exported function NewMsgMakeOutcomePayment should have comment or be unexported (golint)
    • Line 511: warning: exported method MsgMakeOutcomePayment.ValidateBasic should have comment or be unexported (golint)
    • Line 534: warning: exported method MsgMakeOutcomePayment.GetSignBytes should have comment or be unexported (golint)
    • Line 538: warning: exported method MsgMakeOutcomePayment.GetSignerDid should have comment or be unexported (golint)
    • Line 539: warning: exported method MsgMakeOutcomePayment.GetSigners should have comment or be unexported (golint)
    • Line 543: warning: exported method MsgMakeOutcomePayment.Route should have comment or be unexported (golint)
    • Line 545: warning: exported method MsgMakeOutcomePayment.Type should have comment or be unexported (golint)
    • Line 547: warning: exported function NewMsgWithdrawShare should have comment or be unexported (golint)
    • Line 554: warning: exported method MsgWithdrawShare.ValidateBasic should have comment or be unexported (golint)
    • Line 572: warning: exported method MsgWithdrawShare.GetSignBytes should have comment or be unexported (golint)
    • Line 576: warning: exported method MsgWithdrawShare.GetSignerDid should have comment or be unexported (golint)
    • Line 577: warning: exported method MsgWithdrawShare.GetSigners should have comment or be unexported (golint)
    • Line 581: warning: exported method MsgWithdrawShare.Route should have comment or be unexported (golint)
    • Line 583: warning: exported method MsgWithdrawShare.Type should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/client/cli/tx.go
    • Line 18: warning: exported function NewTxCmd should have comment or be unexported (golint)
    • Line 42: warning: exported function NewCmdCreateBond should have comment or be unexported (golint)
    • Line 187: warning: exported function NewCmdEditBond should have comment or be unexported (golint)
    • Line 232: warning: exported function NewCmdSetNextAlpha should have comment or be unexported (golint)
    • Line 275: warning: exported function NewCmdUpdateBondState should have comment or be unexported (golint)
    • Line 312: warning: exported function NewCmdBuy should have comment or be unexported (golint)
    • Line 359: warning: exported function NewCmdSell should have comment or be unexported (golint)
    • Line 398: warning: exported function NewCmdSwap should have comment or be unexported (golint)
    • Line 440: warning: exported function NewCmdMakeOutcomePayment should have comment or be unexported (golint)
    • Line 479: warning: exported function NewCmdWithdrawShare should have comment or be unexported (golint)
    • ixo-blockchain/x/project/decorators.go
    • Line 26: warning: exported function NewSetUpContextDecorator should have comment or be unexported (golint)
    • Line 30: warning: exported method SetUpContextDecorator.AnteHandle should have comment or be unexported (golint)
    • Line 66: warning: exported type SetPubKeyDecorator should have comment or be unexported (golint)
    • Line 71: warning: exported function NewSetPubKeyDecorator should have comment or be unexported (golint)
    • Line 78: warning: exported method SetPubKeyDecorator.AnteHandle should have comment or be unexported (golint)
    • Line 153: warning: exported function NewDeductFeeDecorator should have comment or be unexported (golint)
    • Line 163: warning: exported method DeductFeeDecorator.AnteHandle should have comment or be unexported (golint)
    • Line 232: warning: comment on exported type SigVerificationDecorator should be of the form "SigVerificationDecorator ..." (with optional leading article) (golint)
    • Line 243: warning: exported function NewSigVerificationDecorator should have comment or be unexported (golint)
    • Line 251: warning: exported method SigVerificationDecorator.AnteHandle should have comment or be unexported (golint)
    • ixo-blockchain/x/ixo/types/codec.go
    • Line 9: warning: exported function RegisterLegacyAminoCodec should have comment or be unexported (golint)
    • Line 13: warning: exported function RegisterInterfaces should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/keeper/batch.go
    • Line 12: warning: exported method Keeper.MustGetBatch should have comment or be unexported (golint)
    • Line 25: warning: exported method Keeper.MustGetLastBatch should have comment or be unexported (golint)
    • Line 38: warning: exported method Keeper.BatchExists should have comment or be unexported (golint)
    • Line 43: warning: exported method Keeper.LastBatchExists should have comment or be unexported (golint)
    • Line 48: warning: exported method Keeper.SetBatch should have comment or be unexported (golint)
    • Line 53: warning: exported method Keeper.SetLastBatch should have comment or be unexported (golint)
    • Line 58: warning: exported method Keeper.AddBuyOrder should have comment or be unexported (golint)
    • Line 70: warning: exported method Keeper.AddSellOrder should have comment or be unexported (golint)
    • Line 82: warning: exported method Keeper.AddSwapOrder should have comment or be unexported (golint)
    • Line 91: warning: exported method Keeper.GetBatchBuySellPrices should have comment or be unexported (golint)
    • Line 145: warning: exported method Keeper.GetUpdatedBatchPricesAfterBuy should have comment or be unexported (golint)
    • Line 187: warning: exported method Keeper.GetUpdatedBatchPricesAfterSell should have comment or be unexported (golint)
    • Line 206: warning: exported method Keeper.PerformBuyAtPrice should have comment or be unexported (golint)
    • Line 356: warning: exported method Keeper.PerformSellAtPrice should have comment or be unexported (golint)
    • Line 417: warning: error should be the last type when returning multiple items (golint)
    • Line 417: warning: exported method Keeper.PerformSwap should have comment or be unexported (golint)
    • Line 487: warning: exported method Keeper.PerformBuyOrders should have comment or be unexported (golint)
    • Line 506: warning: exported method Keeper.PerformSellOrders should have comment or be unexported (golint)
    • Line 525: warning: exported method Keeper.PerformSwapOrders should have comment or be unexported (golint)
    • Line 562: warning: exported method Keeper.PerformOrders should have comment or be unexported (golint)
    • Line 568: warning: exported method Keeper.CheckIfBuyOrderFulfillableAtPrice should have comment or be unexported (golint)
    • Line 586: warning: exported method Keeper.CancelUnfulfillableBuys should have comment or be unexported (golint)
    • Line 628: warning: exported method Keeper.CancelUnfulfillableOrders should have comment or be unexported (golint)
    • Line 652: warning: exported method Keeper.UpdateAlpha should have comment or be unexported (golint)
    • ixo-blockchain/x/did/client/cli/tx.go
    • Line 13: warning: exported function NewTxCmd should have comment or be unexported (golint)
    • Line 30: warning: exported function NewCmdAddDidDoc should have comment or be unexported (golint)
    • Line 61: warning: exported function NewCmdAddCredential should have comment or be unexported (golint)
    • ixo-blockchain/x/project/types/docs.go
    • Line 10: warning: exported function NewProjectDoc should have comment or be unexported (golint)
    • Line 22: warning: exported method ProjectDoc.GetProjectData should have comment or be unexported (golint)
    • Line 30: warning: exported method ProjectDoc.GetProjectFeesMap should have comment or be unexported (golint)
    • Line 39: warning: exported function NewUpdateProjectStatusDoc should have comment or be unexported (golint)
    • Line 46: warning: exported function NewCreateAgentDoc should have comment or be unexported (golint)
    • Line 53: warning: exported function NewUpdateAgentDoc should have comment or be unexported (golint)
    • Line 61: warning: exported function NewCreateClaimDoc should have comment or be unexported (golint)
    • Line 68: warning: exported function NewCreateEvaluationDoc should have comment or be unexported (golint)
    • Line 75: warning: exported function NewWithdrawalInfoDoc should have comment or be unexported (golint)
    • Line 83: warning: exported function NewWithdrawFundsDoc should have comment or be unexported (golint)
    • ixo-blockchain/x/did/types/types.go
    • Line 16: warning: exported var ValidDid should have comment or be unexported (golint)
    • Line 29: warning: exported method BaseDidDoc.MarshalYAML should have comment or be unexported (golint)
    • Line 42: warning: exported function NewBaseDidDoc should have comment or be unexported (golint)
    • Line 50: warning: exported method BaseDidDoc.GetDid should have comment or be unexported (golint)
    • Line 51: warning: exported method BaseDidDoc.GetPubKey should have comment or be unexported (golint)
    • Line 52: warning: exported method BaseDidDoc.GetCredentials should have comment or be unexported (golint)
    • Line 63: warning: exported method BaseDidDoc.SetDid should have comment or be unexported (golint)
    • Line 73: warning: exported method BaseDidDoc.SetPubKey should have comment or be unexported (golint)
    • Line 83: warning: exported method BaseDidDoc.Address should have comment or be unexported (golint)
    • Line 87: warning: exported method BaseDidDoc.AddCredential should have comment or be unexported (golint)
    • Line 106: warning: exported function UnmarshalIxoDid should have comment or be unexported (golint)
    • ixo-blockchain/x/project/client/cli/query.go
    • Line 13: warning: exported function GetQueryCmd should have comment or be unexported (golint)
    • Line 32: warning: exported function GetCmdProjectDoc should have comment or be unexported (golint)
    • Line 60: warning: exported function GetCmdProjectAccounts should have comment or be unexported (golint)
    • Line 92: warning: exported function GetCmdProjectTxs should have comment or be unexported (golint)
    • Line 124: warning: exported function GetParamsRequestHandler should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/discounts.go
    • Line 9: warning: exported type Discounts should have comment or be unexported (golint)
    • Line 11: warning: exported function NewDiscounts should have comment or be unexported (golint)
    • Line 15: warning: exported method Discounts.Validate should have comment or be unexported (golint)
    • Line 40: warning: exported function NewDiscount should have comment or be unexported (golint)
    • Line 47: warning: exported method Discount.Validate should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/alpha.go
    • Line 6: warning: exported var StartingPublicAlpha should have comment or be unexported (golint)
    • Line 9: warning: exported function SystemAlpha should have comment or be unexported (golint)
    • Line 23: warning: exported function Kappa should have comment or be unexported (golint)
    • Line 32: warning: exported function InvariantI should have comment or be unexported (golint)
    • Line 39: warning: exported function InvariantIAlt should have comment or be unexported (golint)
    • ixo-blockchain/client/tx/txRoutes.go
    • Line 25: warning: exported function RegisterTxRoutes should have comment or be unexported (golint)
    • Line 29: warning: exported type SignDataReq should have comment or be unexported (golint)
    • Line 34: warning: exported type SignDataResponse should have comment or be unexported (golint)
    • Line 39: warning: exported function SignDataRequest should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/genesis.go
    • Line 7: warning: exported function NewGenesisState should have comment or be unexported (golint)
    • Line 16: warning: exported function ValidateGenesis should have comment or be unexported (golint)
    • Line 41: warning: exported function DefaultGenesisState should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/client/cli/tx.go
    • Line 20: warning: exported const TRUE should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported function NewTxCmd should have comment or be unexported (golint)
    • Line 79: warning: exported function NewCmdCreatePaymentTemplate should have comment or be unexported (golint)
    • Line 115: warning: exported function NewCmdCreatePaymentContract should have comment or be unexported (golint)
    • Line 174: warning: exported function NewCmdCreateSubscription should have comment or be unexported (golint)
    • Line 236: warning: exported function NewCmdSetPaymentContractAuthorisation should have comment or be unexported (golint)
    • Line 274: warning: exported function NewCmdGrantPaymentDiscount should have comment or be unexported (golint)
    • Line 322: warning: exported function NewCmdRevokePaymentDiscount should have comment or be unexported (golint)
    • Line 363: warning: exported function NewCmdEffectPayment should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/errors.go
    • Line 8: warning: exported const DefaultCodespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported var ErrArgumentCannotBeEmpty should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/keeper/grpc_query.go
    • Line 16: warning: exported method Keeper.Bonds should have comment or be unexported (golint)
    • Line 30: warning: exported method Keeper.BondsDetailed should have comment or be unexported (golint)
    • Line 54: warning: exported method Keeper.Bond should have comment or be unexported (golint)
    • Line 71: warning: exported method Keeper.Batch should have comment or be unexported (golint)
    • Line 89: warning: exported method Keeper.LastBatch should have comment or be unexported (golint)
    • Line 107: warning: exported method Keeper.CurrentPrice should have comment or be unexported (golint)
    • Line 131: warning: exported method Keeper.CurrentReserve should have comment or be unexported (golint)
    • Line 150: warning: exported method Keeper.CustomPrice should have comment or be unexported (golint)
    • Line 179: warning: exported method Keeper.BuyPrice should have comment or be unexported (golint)
    • Line 223: warning: exported method Keeper.SellReturn should have comment or be unexported (golint)
    • Line 274: warning: exported method Keeper.SwapReturn should have comment or be unexported (golint)
    • Line 309: warning: exported method Keeper.AlphaMaximums should have comment or be unexported (golint)
    • Line 349: warning: exported method Keeper.Params should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/keeper/payments.go
    • Line 15: warning: exported method Keeper.GetPaymentTemplateIterator should have comment or be unexported (golint)
    • Line 20: warning: exported method Keeper.MustGetPaymentTemplateByKey should have comment or be unexported (golint)
    • Line 33: warning: exported method Keeper.PaymentTemplateExists should have comment or be unexported (golint)
    • Line 38: warning: exported method Keeper.MustGetPaymentTemplate should have comment or be unexported (golint)
    • Line 46: warning: exported method Keeper.GetPaymentTemplate should have comment or be unexported (golint)
    • Line 61: warning: exported method Keeper.SetPaymentTemplate should have comment or be unexported (golint)
    • Line 67: warning: exported method Keeper.DiscountIdExists should have comment or be unexported (golint)
    • Line 85: warning: exported method Keeper.GetPaymentContractIterator should have comment or be unexported (golint)
    • Line 90: warning: exported method Keeper.MustGetPaymentContractByKey should have comment or be unexported (golint)
    • Line 103: warning: exported method Keeper.PaymentContractExists should have comment or be unexported (golint)
    • Line 108: warning: exported method Keeper.MustGetPaymentContract should have comment or be unexported (golint)
    • Line 116: warning: exported method Keeper.GetPaymentContract should have comment or be unexported (golint)
    • Line 131: warning: exported method Keeper.GetPaymentContractsByPrefix should have comment or be unexported (golint)
    • Line 145: warning: exported method Keeper.SetPaymentContract should have comment or be unexported (golint)
    • Line 151: warning: exported method Keeper.SetPaymentContractAuthorised should have comment or be unexported (golint)
    • Line 170: warning: exported method Keeper.GrantDiscount should have comment or be unexported (golint)
    • Line 183: warning: exported method Keeper.RevokeDiscount should have comment or be unexported (golint)
    • Line 249: warning: exported function HasBalances should have comment or be unexported (golint)
    • Line 260: warning: exported method Keeper.EffectPayment should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/test_common.go
    • Line 15: warning: exported function NewTestPeriod should have comment or be unexported (golint)
    • Line 26: warning: exported method TestPeriod.GetPeriodUnit should have comment or be unexported (golint)
    • Line 30: warning: exported method TestPeriod.Validate should have comment or be unexported (golint)
    • ixo-blockchain/x/project/types/test_common.go
    • Line 11: warning: exported var ProjectDid should have comment or be unexported (golint)
    • Line 34: warning: exported var ValidProjectDoc should have comment or be unexported (golint)
    • Line 43: warning: exported var ValidUpdatedProjectDoc should have comment or be unexported (golint)
    • Line 52: warning: exported var ValidCreateProjectMsg should have comment or be unexported (golint)
    • Line 60: warning: exported var ValidWithdrawalInfo should have comment or be unexported (golint)
    • Line 66: warning: exported function MustMarshalJson should have comment or be unexported (golint)
    • ixo-blockchain/x/ixo/types/auth.go
    • Line 46: warning: exported type PubKeyGetter should have comment or be unexported (golint)
    • Line 48: warning: exported function NewDefaultAnteHandler should have comment or be unexported (golint)
    • Line 103: warning: exported function GenerateOrBroadcastTxCLI should have comment or be unexported (golint)
    • Line 108: warning: exported function GenerateOrBroadcastTxWithFactory should have comment or be unexported (golint)
    • Line 116: warning: exported function BroadcastTx should have comment or be unexported (golint)
    • Line 185: warning: exported function Sign should have comment or be unexported (golint)
    • Line 261: warning: comment on exported function IxoSigVerificationGasConsumer should be of the form "IxoSigVerificationGasConsumer ..." (golint)
    • Line 291: warning: exported function SignAndBroadcastTxFromStdSignMsg should have comment or be unexported (golint)
    • ixo-blockchain/x/ixo/types/decorators.go
    • Line 17: warning: exported type SetPubKeyDecorator should have comment or be unexported (golint)
    • Line 22: warning: exported function NewSetPubKeyDecorator should have comment or be unexported (golint)
    • Line 29: warning: exported method SetPubKeyDecorator.AnteHandle should have comment or be unexported (golint)
    • Line 95: warning: exported function NewDeductFeeDecorator should have comment or be unexported (golint)
    • Line 103: warning: exported method DeductFeeDecorator.AnteHandle should have comment or be unexported (golint)
    • Line 144: warning: comment on exported type SigGasConsumeDecorator should be of the form "SigGasConsumeDecorator ..." (with optional leading article) (golint)
    • Line 154: warning: exported function NewSigGasConsumeDecorator should have comment or be unexported (golint)
    • Line 162: warning: exported method SigGasConsumeDecorator.AnteHandle should have comment or be unexported (golint)
    • Line 220: warning: comment on exported type SigVerificationDecorator should be of the form "SigVerificationDecorator ..." (with optional leading article) (golint)
    • Line 231: warning: exported function NewSigVerificationDecorator should have comment or be unexported (golint)
    • Line 239: warning: exported method SigVerificationDecorator.AnteHandle should have comment or be unexported (golint)
    • Line 352: warning: exported function NewIncrementSequenceDecorator should have comment or be unexported (golint)
    • Line 359: warning: exported method IncrementSequenceDecorator.AnteHandle should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/util.go
    • Line 11: warning: exported var TEN18DEC should have comment or be unexported (golint)
    • Line 39: warning: exported function RoundReservePrice should have comment or be unexported (golint)
    • Line 45: warning: exported function RoundReserveReturn should have comment or be unexported (golint)
    • Line 51: warning: exported function RoundFee should have comment or be unexported (golint)
    • Line 57: warning: comment on exported function RoundReservePrices should be of the form "RoundReservePrices ..." (golint)
    • Line 65: warning: comment on exported function RoundReserveReturns should be of the form "RoundReserveReturns ..." (golint)
    • Line 73: warning: exported function MultiplyDecCoinByInt should have comment or be unexported (golint)
    • Line 77: warning: comment on exported function MultiplyDecCoinsByInt should be of the form "MultiplyDecCoinsByInt ..." (golint)
    • Line 85: warning: exported function MultiplyDecCoinByDec should have comment or be unexported (golint)
    • Line 89: warning: comment on exported function MultiplyDecCoinsByDec should be of the form "MultiplyDecCoinsByDec ..." (golint)
    • Line 97: warning: exported function DivideDecCoinByDec should have comment or be unexported (golint)
    • Line 101: warning: comment on exported function DivideDecCoinsByDec should be of the form "DivideDecCoinsByDec ..." (golint)
    • Line 109: warning: exported function AdjustFees should have comment or be unexported (golint)
    • Line 125: warning: exported function AccAddressesToString should have comment or be unexported (golint)
    • Line 136: warning: exported function StringsToString should have comment or be unexported (golint)
    • ixo-blockchain/x/did/auth.go
    • Line 27: warning: exported function NewDefaultPubKeyGetter should have comment or be unexported (golint)
    • Line 41: warning: exported function NewModulePubKeyGetter should have comment or be unexported (golint)
    • ixo-blockchain/x/did/types/keys.go
    • Line 6: warning: exported const ModuleName should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported var DidKey should have comment or be unexported (golint)
    • Line 14: warning: exported function GetDidPrefixKey should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/keeper/subscriptions.go
    • Line 11: warning: exported method Keeper.GetSubscriptionIterator should have comment or be unexported (golint)
    • Line 16: warning: exported method Keeper.MustGetSubscriptionByKey should have comment or be unexported (golint)
    • Line 29: warning: exported method Keeper.SubscriptionExists should have comment or be unexported (golint)
    • Line 34: warning: exported method Keeper.GetSubscription should have comment or be unexported (golint)
    • Line 49: warning: exported method Keeper.SetSubscription should have comment or be unexported (golint)
    • Line 57: warning: exported method Keeper.EffectSubscriptionPayment should have comment or be unexported (golint)
    • ixo-blockchain/x/project/keeper/keeper.go
    • Line 20: warning: exported type Keeper should have comment or be unexported (golint)
    • Line 29: warning: exported function NewKeeper should have comment or be unexported (golint)
    • Line 53: warning: exported method Keeper.GetProjectDocIterator should have comment or be unexported (golint)
    • Line 58: warning: exported method Keeper.MustGetProjectDocByKey should have comment or be unexported (golint)
    • Line 71: warning: exported method Keeper.ProjectDocExists should have comment or be unexported (golint)
    • Line 76: warning: exported method Keeper.GetProjectDoc should have comment or be unexported (golint)
    • Line 91: warning: exported method Keeper.ValidateProjectFeesMap should have comment or be unexported (golint)
    • Line 101: warning: exported method Keeper.SetProjectDoc should have comment or be unexported (golint)
    • Line 107: warning: exported method Keeper.SetAccountMap should have comment or be unexported (golint)
    • Line 116: warning: exported method Keeper.GetAccountMap should have comment or be unexported (golint)
    • Line 123: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 133: warning: exported method Keeper.AddAccountToProjectAccounts should have comment or be unexported (golint)
    • Line 154: warning: exported method Keeper.CreateNewAccount should have comment or be unexported (golint)
    • Line 168: warning: exported method Keeper.SetProjectWithdrawalTransactions should have comment or be unexported (golint)
    • Line 174: warning: exported method Keeper.GetProjectWithdrawalTransactions should have comment or be unexported (golint)
    • Line 181: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 189: warning: exported method Keeper.AddProjectWithdrawalTransaction should have comment or be unexported (golint)
    • Line 199: warning: exported method Keeper.GetClaimIterator should have comment or be unexported (golint)
    • Line 204: warning: exported method Keeper.MustGetClaimByKey should have comment or be unexported (golint)
    • Line 217: warning: exported method Keeper.ClaimExists should have comment or be unexported (golint)
    • Line 222: warning: exported method Keeper.GetClaim should have comment or be unexported (golint)
    • Line 237: warning: exported method Keeper.SetClaim should have comment or be unexported (golint)
    • ixo-blockchain/app/app.go
    • Line 105: warning: exported const Bech32MainPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 182: warning: comment on exported type IxoApp should be of the form "IxoApp ..." (with optional leading article) (golint)
    • Line 658: warning: exported function NewIxoAnteHandler should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/bonds.go
    • Line 14: warning: exported type BondState should have comment or be unexported (golint)
    • Line 15: warning: exported type BondStateTransitionMap should have comment or be unexported (golint)
    • Line 19: warning: exported const PowerFunction should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported var StateTransitions should have comment or be unexported (golint)
    • Line 45: warning: exported method BondState.IsValidProgressionFrom should have comment or be unexported (golint)
    • Line 55: warning: receiver name s should be consistent with previous receiver name next for BondState (golint)
    • Line 59: warning: exported function BondStateFromString should have comment or be unexported (golint)
    • Line 63: warning: exported type FunctionParamRestrictions should have comment or be unexported (golint)
    • Line 66: warning: exported var RequiredParamsForFunctionType should have comment or be unexported (golint)
    • Line 88: warning: exported function NewFunctionParam should have comment or be unexported (golint)
    • Line 95: warning: exported type FunctionParams should have comment or be unexported (golint)
    • Line 97: warning: exported method FunctionParams.ReplaceParam should have comment or be unexported (golint)
    • Line 106: warning: exported method FunctionParams.AddParam should have comment or be unexported (golint)
    • Line 110: warning: exported method FunctionParams.AddParams should have comment or be unexported (golint)
    • Line 114: warning: exported method FunctionParams.Validate should have comment or be unexported (golint)
    • Line 160: warning: exported method FunctionParams.AsMap should have comment or be unexported (golint)
    • Line 224: warning: exported function NewBond should have comment or be unexported (golint)
    • Line 263: warning: exported method Bond.GetNewReserveCoins should have comment or be unexported (golint)
    • Line 271: warning: exported method Bond.GetNewReserveDecCoins should have comment or be unexported (golint)
    • Line 279: warning: exported method Bond.GetPricesAtSupply should have comment or be unexported (golint)
    • Line 349: warning: exported method Bond.GetCurrentPricesPT should have comment or be unexported (golint)
    • Line 365: warning: exported method Bond.ReserveAtSupply should have comment or be unexported (golint)
    • Line 422: warning: exported method Bond.GetReserveDeltaForLiquidityDelta should have comment or be unexported (golint)
    • Line 461: warning: exported method Bond.GetPricesToMint should have comment or be unexported (golint)
    • Line 516: warning: exported method Bond.GetReturnsForBurn should have comment or be unexported (golint)
    • Line 559: warning: exported method Bond.GetReturnsForSwap should have comment or be unexported (golint)
    • Line 612: warning: exported method Bond.GetFee should have comment or be unexported (golint)
    • Line 617: warning: exported method Bond.GetTxFee should have comment or be unexported (golint)
    • Line 621: warning: exported method Bond.GetExitFee should have comment or be unexported (golint)
    • Line 625: warning: exported method Bond.GetFees should have comment or be unexported (golint)
    • Line 632: warning: comment on exported method Bond.GetTxFees should be of the form "GetTxFees ..." (golint)
    • Line 637: warning: comment on exported method Bond.GetExitFees should be of the form "GetExitFees ..." (golint)
    • Line 642: warning: exported method Bond.ReserveDenomsEqualTo should have comment or be unexported (golint)
    • Line 656: warning: exported method Bond.AnyOrderQuantityLimitsExceeded should have comment or be unexported (golint)
    • Line 660: warning: exported method Bond.ReservesViolateSanityRate should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/keeper/bonds.go
    • Line 12: warning: exported method Keeper.GetBondIterator should have comment or be unexported (golint)
    • Line 17: warning: exported method Keeper.GetBond should have comment or be unexported (golint)
    • Line 28: warning: exported method Keeper.GetBondDid should have comment or be unexported (golint)
    • Line 39: warning: exported method Keeper.MustGetBond should have comment or be unexported (golint)
    • Line 47: warning: exported method Keeper.MustGetBondByKey should have comment or be unexported (golint)
    • Line 60: warning: exported method Keeper.BondExists should have comment or be unexported (golint)
    • Line 65: warning: exported method Keeper.BondDidExists should have comment or be unexported (golint)
    • Line 70: warning: exported method Keeper.SetBond should have comment or be unexported (golint)
    • Line 75: warning: exported method Keeper.SetBondDid should have comment or be unexported (golint)
    • Line 80: warning: exported method Keeper.DepositReserve should have comment or be unexported (golint)
    • Line 96: warning: exported method Keeper.DepositOutcomePayment should have comment or be unexported (golint)
    • Line 112: warning: exported method Keeper.DepositReserveFromModule should have comment or be unexported (golint)
    • Line 128: warning: exported method Keeper.WithdrawReserve should have comment or be unexported (golint)
    • Line 144: warning: exported method Keeper.MoveOutcomePaymentToReserve should have comment or be unexported (golint)
    • Line 166: warning: exported method Keeper.GetReserveBalances should have comment or be unexported (golint)
    • Line 170: warning: exported method Keeper.GetSupplyAdjustedForBuy should have comment or be unexported (golint)
    • Line 177: warning: exported method Keeper.GetSupplyAdjustedForSell should have comment or be unexported (golint)
    • Line 184: warning: exported method Keeper.GetSupplyAdjustedForAlphaEdit should have comment or be unexported (golint)
    • Line 191: warning: exported method Keeper.SetCurrentSupply should have comment or be unexported (golint)
    • Line 200: warning: exported method Keeper.SetBondState should have comment or be unexported (golint)
    • Line 217: warning: exported method Keeper.ReservedBondToken should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/types.go
    • Line 8: warning: exported function CheckReserveTokenNames should have comment or be unexported (golint)
    • Line 21: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 34: warning: exported function CheckNoOfReserveTokens should have comment or be unexported (golint)
    • Line 49: warning: exported function CheckCoinDenom should have comment or be unexported (golint)
    • Line 59: warning: exported function GetRequiredParamsForFunctionType should have comment or be unexported (golint)
    • Line 67: warning: exported function GetExceptionsForFunctionType should have comment or be unexported (golint)
    • ixo-blockchain/x/project/client/cli/tx.go
    • Line 15: warning: exported function NewTxCmd should have comment or be unexported (golint)
    • Line 38: warning: exported function NewCmdCreateProject should have comment or be unexported (golint)
    • Line 79: warning: exported function NewCmdUpdateProjectStatus should have comment or be unexported (golint)
    • Line 126: warning: exported function NewCmdCreateAgent should have comment or be unexported (golint)
    • Line 168: warning: exported function NewCmdUpdateAgent should have comment or be unexported (golint)
    • Line 212: warning: exported function NewCmdCreateClaim should have comment or be unexported (golint)
    • Line 249: warning: exported function NewCmdCreateEvaluation should have comment or be unexported (golint)
    • Line 292: warning: exported function NewCmdWithdrawFunds should have comment or be unexported (golint)
    • Line 329: warning: exported function NewCmdUpdateProjectDoc should have comment or be unexported (golint)
    • ixo-blockchain/x/payments/types/subscriptions.go
    • Line 14: warning: exported const BlockPeriodUnit should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported method Subscription.GetPeriod should have comment or be unexported (golint)
    • Line 28: warning: exported method Subscription.SetPeriod should have comment or be unexported (golint)
    • Line 43: warning: exported method Subscription.Validate should have comment or be unexported (golint)
    • Line 73: warning: exported function NewSubscription should have comment or be unexported (golint)
    • Line 138: warning: exported type Period should have comment or be unexported (golint)
    • Line 152: warning: exported function NewBlockPeriod should have comment or be unexported (golint)
    • Line 163: warning: exported method BlockPeriod.GetPeriodUnit should have comment or be unexported (golint)
    • Line 167: warning: exported method BlockPeriod.Validate should have comment or be unexported (golint)
    • Line 196: warning: exported function NewTimePeriod should have comment or be unexported (golint)
    • Line 207: warning: exported method TimePeriod.GetPeriodUnit should have comment or be unexported (golint)
    • Line 211: warning: exported method TimePeriod.Validate should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/batch.go
    • Line 8: warning: exported method Batch.MoreBuysThanSells should have comment or be unexported (golint)
    • Line 9: warning: exported method Batch.MoreSellsThanBuys should have comment or be unexported (golint)
    • Line 10: warning: exported method Batch.EqualBuysAndSells should have comment or be unexported (golint)
    • Line 11: warning: exported method Batch.HasNextAlpha should have comment or be unexported (golint)
    • Line 12: warning: exported method Batch.Empty should have comment or be unexported (golint)
    • Line 14: warning: exported function NewBatch should have comment or be unexported (golint)
    • Line 24: warning: exported function NewBaseOrder should have comment or be unexported (golint)
    • Line 33: warning: exported method BaseOrder.IsCancelled should have comment or be unexported (golint)
    • Line 37: warning: exported function NewBuyOrder should have comment or be unexported (golint)
    • Line 44: warning: exported function NewSellOrder should have comment or be unexported (golint)
    • Line 50: warning: exported function NewSwapOrder should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/genesis.go
    • Line 3: warning: exported function NewGenesisState should have comment or be unexported (golint)
    • Line 11: warning: exported function ValidateGenesis should have comment or be unexported (golint)
    • Line 20: warning: exported function DefaultGenesisState should have comment or be unexported (golint)
    • ixo-blockchain/x/did/types/msgs.go
    • Line 13: warning: exported const TypeMsgAddDid should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported function NewMsgAddDid should have comment or be unexported (golint)
    • Line 29: warning: exported method MsgAddDid.Type should have comment or be unexported (golint)
    • Line 31: warning: exported method MsgAddDid.Route should have comment or be unexported (golint)
    • Line 33: warning: exported method MsgAddDid.GetSignerDid should have comment or be unexported (golint)
    • Line 35: warning: exported method MsgAddDid.GetSigners should have comment or be unexported (golint)
    • Line 39: warning: exported method MsgAddDid.ValidateBasic should have comment or be unexported (golint)
    • Line 66: warning: exported method MsgAddDid.GetSignBytes should have comment or be unexported (golint)
    • Line 70: warning: exported function NewMsgAddCredential should have comment or be unexported (golint)
    • Line 86: warning: exported method MsgAddCredential.Type should have comment or be unexported (golint)
    • Line 88: warning: exported method MsgAddCredential.Route should have comment or be unexported (golint)
    • Line 90: warning: exported method MsgAddCredential.GetSignerDid should have comment or be unexported (golint)
    • Line 92: warning: exported method MsgAddCredential.GetSigners should have comment or be unexported (golint)
    • Line 96: warning: exported method MsgAddCredential.ValidateBasic should have comment or be unexported (golint)
    • Line 112: warning: exported method MsgAddCredential.GetSignBytes should have comment or be unexported (golint)
    • ixo-blockchain/x/bonds/types/keys.go
    • Line 44: warning: exported function GetBondKey should have comment or be unexported (golint)
    • Line 48: warning: exported function GetBatchKey should have comment or be unexported (golint)
    • Line 52: warning: exported function GetLastBatchKey should have comment or be unexported (golint)
    • Line 56: warning: exported function GetBondDidsKey should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!