status-im/status-go

View on GitHub
contracts/community-tokens/collectibles/Collectibles.go

Summary

Maintainability
C
7 hrs
Test Coverage
F
0%

File Collectibles.go has 962 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 collectibles

Severity: Major
Found in contracts/community-tokens/collectibles/Collectibles.go - About 3 hrs to fix

    CollectiblesSession has 26 methods (exceeds 21 allowed). Consider refactoring.
    Open

    type CollectiblesSession struct {
        Contract     *Collectibles     // 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/collectibles/Collectibles.go - About 2 hrs to fix

      Function DeployCollectibles has 10 arguments (exceeds 6 allowed). Consider refactoring.
      Open

      func DeployCollectibles(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string, _maxSupply *big.Int, _remoteBurnable bool, _transferable bool, _baseTokenURI string, _ownerToken common.Address, _masterToken common.Address) (common.Address, *types.Transaction, *Collectibles, error) {
      Severity: Major
      Found in contracts/community-tokens/collectibles/Collectibles.go - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status