services/communitytokens/api.go
API
has 28 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type API struct {
s *Service
}
Method API.MintTokens
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (api *API) MintTokens(ctx context.Context, chainID uint64, contractAddress string, txArgs transactions.SendTxArgs, password string, walletAddresses []string, amount *bigint.BigInt) (string, error) {
Method API.RemoteBurn
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (api *API) RemoteBurn(ctx context.Context, chainID uint64, contractAddress string, txArgs transactions.SendTxArgs, password string, tokenIds []*bigint.BigInt, additionalData string) (string, error) {
Method API.DeployOwnerToken
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (api *API) DeployOwnerToken(ctx context.Context, chainID uint64,
ownerTokenParameters DeploymentParameters, masterTokenParameters DeploymentParameters,
signerPubKey string, txArgs transactions.SendTxArgs, password string) (DeploymentDetails, error) {
Method API.DeployOwnerTokenEstimate
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (api *API) DeployOwnerTokenEstimate(ctx context.Context, chainID uint64, fromAddress string,
ownerTokenParameters DeploymentParameters, masterTokenParameters DeploymentParameters,
communityID string, signerPubKey string) (*CommunityTokenFees, error) {