status-im/status-go

View on GitHub
contracts/community-tokens/ownertoken/OwnerToken.go

Summary

Maintainability
C
7 hrs
Test Coverage
F
0%

File OwnerToken.go has 986 lines of code (exceeds 900 allowed). Consider refactoring.
Open

// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.

package ownertoken

Severity: Major
Found in contracts/community-tokens/ownertoken/OwnerToken.go - About 4 hrs to fix

    OwnerTokenSession has 28 methods (exceeds 21 allowed). Consider refactoring.
    Open

    type OwnerTokenSession struct {
        Contract     *OwnerToken       // Generic contract binding to set the session for
        CallOpts     bind.CallOpts     // Call options to use throughout this session
        TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
    }
    Severity: Minor
    Found in contracts/community-tokens/ownertoken/OwnerToken.go - About 3 hrs to fix

      Function DeployOwnerToken has 7 arguments (exceeds 6 allowed). Consider refactoring.
      Open

      func DeployOwnerToken(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string, _baseTokenURI string, _receiver common.Address, _signerPublicKey []byte) (common.Address, *types.Transaction, *OwnerToken, error) {
      Severity: Major
      Found in contracts/community-tokens/ownertoken/OwnerToken.go - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status