Documentation ¶
Index ¶
- type Service
- func (ts *Service) InitiateNewTransfer(tm model.Transfer) (*entity.Transfer, error)
- func (ts *Service) ProcessNativeNftTransfer(tm model.Transfer) error
- func (ts *Service) ProcessNativeTransfer(tm model.Transfer) error
- func (ts *Service) ProcessWrappedTransfer(tm model.Transfer) error
- func (ts *Service) SanityCheckTransfer(tx hedera_mirror_node.Transaction) (uint64, string, error)
- func (ts *Service) TransferData(txId string) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( hederaNode client.HederaNode, mirrorNode client.MirrorNode, contractServices map[uint64]service.Contracts, transferRepository repository.Transfer, scheduleRepository repository.Schedule, feeRepository repository.Fee, feeService service.Fee, distributor service.Distributor, topicID string, bridgeAccount string, hederaNftFees map[string]int64, scheduledService service.Scheduled, messageService service.Messages, prometheusService service.Prometheus, assetsService service.Assets, ) *Service
func (*Service) InitiateNewTransfer ¶
InitiateNewTransfer Stores the incoming transfer message into the Database aware of already processed transfers
func (*Service) ProcessNativeNftTransfer ¶ added in v1.4.0
func (*Service) ProcessNativeTransfer ¶ added in v1.4.0
func (*Service) ProcessWrappedTransfer ¶ added in v1.4.0
func (*Service) SanityCheckTransfer ¶
func (ts *Service) SanityCheckTransfer(tx hedera_mirror_node.Transaction) (uint64, string, error)
SanityCheck performs validation on the memo and state proof for the transaction
func (*Service) TransferData ¶
TransferData returns from the database the given transfer, its signatures and calculates if its messages have reached super majority
Click to show internal directories.
Click to hide internal directories.