Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) CloseSignRequest(ctx context.Context, signReqUUID string) error
- func (s *Service) CloseSignRequestByMultipleWallets(ctx context.Context, walletUUIDs []string) (uint, []*entities.SignRequest, error)
- func (s *Service) CloseSignRequestBySession(ctx context.Context, sessionUUID string) (uint, []*entities.SignRequest, error)
- func (s *Service) CloseSignRequestByWallet(ctx context.Context, walletUUID string) (uint, []*entities.SignRequest, error)
- func (s *Service) ExecuteSignRequest(ctx context.Context, signReqItem *entities.SignRequest, transactionData []byte) (signerAddr *pbCommon.DerivationAddressIdentity, signedData []byte, err error)
- func (s *Service) GetActiveSignRequest(ctx context.Context, signReqUUID string) (*entities.SignRequest, error)
- func (s *Service) PrepareSignRequest(ctx context.Context, mnemonicUUID string, sessionUUID string, ...) (addr *pbCommon.DerivationAddressIdentity, signReqItem *entities.SignRequest, ...)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(logger *zap.Logger, signReqDataSvc signRequestDataService, hdWalletClient hdwallet.HdWalletApiClient, eventPublisherSvc eventPublisherService, txStmtManager transactionalStatementManager, ) *Service
func (*Service) CloseSignRequest ¶
func (*Service) CloseSignRequestByMultipleWallets ¶
func (*Service) CloseSignRequestBySession ¶
func (*Service) CloseSignRequestByWallet ¶
func (*Service) ExecuteSignRequest ¶
func (s *Service) ExecuteSignRequest(ctx context.Context, signReqItem *entities.SignRequest, transactionData []byte, ) (signerAddr *pbCommon.DerivationAddressIdentity, signedData []byte, err error)
func (*Service) GetActiveSignRequest ¶
func (*Service) PrepareSignRequest ¶
Click to show internal directories.
Click to hide internal directories.