Showing 515 of 515 total issues
Method HopL2ArbitrumBridgeTransactor.Send
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Send(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error) {
Method HopL2OptimismBridgeSession.SettleBondedWithdrawal
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error) {
Method HopL1EthBridgeTransactorSession.SendToL2
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error) {
Method HopL2OptimismBridgeCallerSession.GetTransferId
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error) {
Method HopL1EthBridgeCallerSession.GetTransferId
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error) {
Method HopL1EthBridgeSession.SendToL2
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (_HopL1EthBridge *HopL1EthBridgeSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error) {
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.GetBalanceHistoryRange
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (api *API) GetBalanceHistoryRange(ctx context.Context, chainIDs []uint64, addresses []common.Address, tokenSymbol string, currencySymbol string, fromTimestamp uint64, _ uint64) ([]*history.ValuePoint, error) {
Function checkRangesWithStartBlock
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func checkRangesWithStartBlock(parent context.Context, client balance.Reader, cache balance.Cacher,
account common.Address, ranges [][]*big.Int, threadLimit uint32, startBlock *big.Int) (
Method HopBridgeProcessor.sendL1BridgeTx
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (h *HopBridgeProcessor) sendL1BridgeTx(contractAddress common.Address, ethClient chain.ClientInterface, toChainID uint64,
to common.Address, txOpts *bind.TransactOpts, token *token.Token, bonderFee *BonderFee) (tx *ethTypes.Transaction, err error) {
Method ArchiveFileManager.CreateHistoryArchiveTorrentFromMessages
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (m *ArchiveFileManager) CreateHistoryArchiveTorrentFromMessages(communityID types.HexBytes, messages []*types.Message, topics []types.TopicType, startDate time.Time, endDate time.Time, partition time.Duration, encrypt bool) ([]string, error) {
Function NewController
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
db *sql.DB,
walletFeed *event.Feed,
accountsDB *accounts.Database,
accountsFeed *event.Feed,
settingsFeed *event.Feed,
Function ExportDB
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func ExportDB(encryptedPath string, key string, kdfIterationsNumber int, newPath string, newKey string, onStart func(), onEnd func()) error {
Function findBlocksWithEthTransfers
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func findBlocksWithEthTransfers(parent context.Context, client balance.Reader, cache balance.Cacher,
account common.Address, low, high *big.Int, noLimit bool, threadLimit uint32) (
Function recordBundleToCommunity
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func recordBundleToCommunity(r *CommunityRecordBundle, memberIdentity *ecdsa.PublicKey, installationID string,
logger *zap.Logger, timesource common.TimeSource, encryptor DescriptionEncryptor, initializer func(*Community) error) (*Community, 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 ArchiveFileManager.createHistoryArchiveTorrent
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (m *ArchiveFileManager) createHistoryArchiveTorrent(communityID types.HexBytes, msgs []*types.Message, topics []types.TopicType, startDate time.Time, endDate time.Time, partition time.Duration, encrypt bool) ([]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) {
Function toChainBalance
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
balances map[uint64]map[common.Address]map[common.Address]*hexutil.Big,
tok *token.Token,
address common.Address,
decimals uint,
cachedTokens map[common.Address][]token.StorageToken,
Method Service.deployOwnerTokenEstimate
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (s *Service) deployOwnerTokenEstimate(ctx context.Context, chainID uint64, fromAddress string,
ownerTokenParameters DeploymentParameters, masterTokenParameters DeploymentParameters,
communityID string, signerPubKey string) (*CommunityTokenFees, error) {