func (bsc *Service) HasValidSignaturesLength(signaturesLength *big.Int) (bool, error) {
	return bsc.contract.HasValidSignaturesLength(nil, signaturesLength)
}
HasValidSignaturesLength returns whether the signatures are enough for submission
package contracts
import (
	"errors"
	"github.com/ethereum/go-ethereum/core/types"
	"github.com/ethereum/go-ethereum/event"
	"github.com/limechain/hedera-eth-bridge-validator/app/clients/evm/contracts/router"
	"github.com/limechain/hedera-eth-bridge-validator/app/clients/evm/contracts/wtoken"
	"github.com/limechain/hedera-eth-bridge-validator/app/domain/client"
	"github.com/limechain/hedera-eth-bridge-validator/config"
	"math"
	"math/big"
	"strings"
	"sync"
	"github.com/ethereum/go-ethereum/accounts/abi/bind"
	"github.com/ethereum/go-ethereum/common"
	log "github.com/sirupsen/logrus"
)
type Service struct {
	address  common.Address
	contract *router.Router
	Client   client.EVM
	mutex    sync.Mutex
	members  Members
	logger   *log.Entry
}
func (bsc *Service) GetClient() client.Core {
	return bsc.Client.GetClient()
}
func (bsc *Service) WatchLockEventLogs(opts *bind.WatchOpts, sink chan<- *router.RouterLock) (event.Subscription, error) {
	return bsc.contract.WatchLock(opts, sink)
}
func (bsc *Service) Address() common.Address {
	return bsc.address
}
func (bsc *Service) GetMembers() []string {
	return bsc.members.Get()
}
func (bsc *Service) IsMember(address string) bool {
	for _, k := range bsc.members.Get() {
		if strings.ToLower(k) == strings.ToLower(address) {
			return true
		}
	}
	return false
}