Showing 291 of 829 total issues
Function NewBlock
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewBlock(index idx.Block, time Timestamp, atropos hash.Event, prevHash hash.Event, events hash.Events) *Block {
Method ContractFilterer.WatchPartialWithdrawnByRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchPartialWithdrawnByRequest(opts *bind.WatchOpts, sink chan<- *ContractPartialWithdrawnByRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error) {
Function DoEstimateGas
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNrOrHash rpc.BlockNumberOrHash, gasCap uint64) (hexutil.Uint64, error) {
Method ContractCaller.CalcDelegationEpochReward
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractCaller) CalcDelegationEpochReward(opts *bind.CallOpts, stakerID *big.Int, epoch *big.Int, delegationAmount *big.Int, commission *big.Int) (*big.Int, error) {
Method PublicDebugAPI.BlocksTTF
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s *PublicDebugAPI) BlocksTTF(ctx context.Context, untilBlock rpc.BlockNumber, maxBlocks hexutil.Uint64, mode string, verbosity hexutil.Uint64) (map[string]interface{}, error) {
Method ContractFilterer.WatchUpdatedStakerSfcAddress
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchUpdatedStakerSfcAddress(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerSfcAddress, stakerID []*big.Int, oldSfcAddress []common.Address, newSfcAddress []common.Address) (event.Subscription, error) {
Method ContractFilterer.WatchCreatedWithdrawRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchCreatedWithdrawRequest(opts *bind.WatchOpts, sink chan<- *ContractCreatedWithdrawRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error) {
Function newPeer
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func newPeer(peer Peer, myEpoch idx.Epoch, fetcher *fetcher.Fetcher, onlyNotConnected onlyNotConnectedFn, dropPeer dropPeerFn) *PeerPacksDownloader {
Method ContractFilterer.WatchCreatedWithdrawRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchCreatedWithdrawRequest(opts *bind.WatchOpts, sink chan<- *ContractCreatedWithdrawRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error) {
Method ContractFilterer.WatchUpdatedStakerSfcAddress
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchUpdatedStakerSfcAddress(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerSfcAddress, stakerID []*big.Int, oldSfcAddress []common.Address, newSfcAddress []common.Address) (event.Subscription, error) {
Method ContractFilterer.WatchPartialWithdrawnByRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchPartialWithdrawnByRequest(opts *bind.WatchOpts, sink chan<- *ContractPartialWithdrawnByRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error) {
Function ReadGasPowerContext
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func ReadGasPowerContext(s *Store, a *app.Store, validators *pos.Validators, epoch idx.Epoch, cfg *lachesis.EconomyConfig) *gaspowercheck.ValidationContext {
Method ContractCaller.CalcDelegationCompoundRewards
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractCaller) CalcDelegationCompoundRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error) {
Method Service.updateUsersPOI
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s *Service) updateUsersPOI(block *inter.Block, evmBlock *evmcore.EvmBlock, receipts types.Receipts, totalFee *big.Int, sealEpoch bool) {
Function makeCheckers
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func makeCheckers(net *lachesis.Config, heavyCheckReader *HeavyCheckReader, gasPowerCheckReader *GasPowerCheckReader, engine Consensus, store *Store) *eventcheck.Checkers {
Method ContractFilterer.WatchUpdatedDelegation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchUpdatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractUpdatedDelegation, delegator []common.Address, oldStakerID []*big.Int, newStakerID []*big.Int) (event.Subscription, error) {
Method ContractCaller.CalcDelegationRewards
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractCaller) CalcDelegationRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error) {
Method ContractFilterer.WatchUpdatedDelegation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractFilterer) WatchUpdatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractUpdatedDelegation, delegator []common.Address, oldStakerID []*big.Int, newStakerID []*big.Int) (event.Subscription, error) {
Method ContractCaller.CalcDelegationCompoundRewards
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_Contract *ContractCaller) CalcDelegationCompoundRewards(opts *bind.CallOpts, delegator common.Address, toStakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error) {
Method PeerPacksDownloader.NotifyPack
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (d *PeerPacksDownloader) NotifyPack(epoch idx.Epoch, index idx.Pack, ids hash.Events, time time.Time, fetchEvents fetcher.EventsRequesterFn) error {