Documentation ¶
Index ¶
- func SendAlertEmail(message string, to string) error
- func SendContractNotification(Hash1 string, Hash2 string, Hash3 string, Hash4 string, Hash5 string, ...) error
- func SendDisconnectionEmail(projIndex int, to string) error
- func SendDisconnectionEmailG(projIndex int, to string) error
- func SendDisconnectionEmailI(projIndex int, to string) error
- func SendEmail(message string, to string, name string) error
- func SendInvestmentNotifToInvestor(projIndex int, to string, stableHash string, trustHash string, ...) error
- func SendInvestmentNotifToRecipient(projIndex int, to string, recpPbTrustHash string, recpAssetHash string, ...) error
- func SendMail(body string, to string) error
- func SendNicePaybackAlertEmail(projIndex int, to string) error
- func SendPaybackAlertEmail(projIndex int, to string) error
- func SendPaybackNotifToInvestor(projIndex int, to string, stableUSDHash string, debtPaybackHash string) error
- func SendPaybackNotifToRecipient(projIndex int, to string, stableUSDHash string, debtPaybackHash string) error
- func SendRecpNotFoundEmail(projIndex int, recpIndex int) error
- func SendSeedInvestmentNotifToInvestor(projIndex int, to string, stableHash string, trustHash string, ...) error
- func SendSternPaybackAlertEmail(projIndex int, to string) error
- func SendSternPaybackAlertEmailG(projIndex int, to string) error
- func SendSternPaybackAlertEmailI(projIndex int, to string) error
- func SendTellerDownEmail(projIndex int, recpIndex int) error
- func SendTellerPaymentFailedEmail(from string, projIndex string, deviceID string) error
- func SendTellerShutdownEmail(from string, projIndex string, deviceID string, tx1 string, tx2 string) error
- func SendUnlockNotifToRecipient(projIndex int, to string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendAlertEmail ¶
SendAlertEmail sends an alert email to an entity
func SendContractNotification ¶
func SendContractNotification(Hash1 string, Hash2 string, Hash3 string, Hash4 string, Hash5 string, to string) error
SendContractNotification sends a notification after an entity signs a contract
func SendDisconnectionEmail ¶
SendDisconnectionEmail sends an email when the amount for 6 payment cycles is due
func SendDisconnectionEmailG ¶
SendDisconnectionEmailG sends a disconnection email notification to the guarantor
func SendDisconnectionEmailI ¶
SendDisconnectionEmailI sends an email to the investor when the amount for 6 payment cycles is due on the recipient's end
func SendInvestmentNotifToInvestor ¶
func SendInvestmentNotifToInvestor(projIndex int, to string, stableHash string, trustHash string, assetHash string) error
SendInvestmentNotifToInvestor sends a notification to the investor when they invest in a particular project
func SendInvestmentNotifToRecipient ¶
func SendInvestmentNotifToRecipient(projIndex int, to string, recpPbTrustHash string, recpAssetHash string, recpDebtTrustHash string, recpDebtAssetHash string) error
SendInvestmentNotifToRecipient sends a notification to the recipient when an investor invests in a project they're recipient of
func SendNicePaybackAlertEmail ¶
SendNicePaybackAlertEmail sends an email when the amount for 2 payment cycles is due
func SendPaybackAlertEmail ¶
SendPaybackAlertEmail sends a payback alert email. We don't know if the user has paid and send this even if the user has paid / received a donation towards this month
func SendPaybackNotifToInvestor ¶
func SendPaybackNotifToInvestor(projIndex int, to string, stableUSDHash string, debtPaybackHash string) error
SendPaybackNotifToInvestor sends a notification email to the investor when the recipient pays back towards an order
func SendPaybackNotifToRecipient ¶
func SendPaybackNotifToRecipient(projIndex int, to string, stableUSDHash string, debtPaybackHash string) error
SendPaybackNotifToRecipient sends a notification email to the recipient when they pay back towards a particular project
func SendRecpNotFoundEmail ¶
SendRecpNotFoundEmail sends an email to the platform admin that the recipient was not found associacted with a project.
func SendSeedInvestmentNotifToInvestor ¶
func SendSeedInvestmentNotifToInvestor(projIndex int, to string, stableHash string, trustHash string, assetHash string) error
SendSeedInvestmentNotifToInvestor sends a notification to the user after seed investment
func SendSternPaybackAlertEmail ¶
SendSternPaybackAlertEmail sends an email when the amount for 4 payment cycles is due.
func SendSternPaybackAlertEmailG ¶
SendSternPaybackAlertEmailG sends a stern payback email notification to the guarantor
func SendSternPaybackAlertEmailI ¶
SendSternPaybackAlertEmailI sends a stern payback email notification to the investor
func SendTellerDownEmail ¶
SendTellerDownEmail is an email to the platform notifying that the teller for a particular project is down.
func SendTellerPaymentFailedEmail ¶
SendTellerPaymentFailedEmail is a notification ot the platform that the teller's payback routine has been disturbed
func SendTellerShutdownEmail ¶
func SendTellerShutdownEmail(from string, projIndex string, deviceID string, tx1 string, tx2 string) error
SendTellerShutdownEmail sends the platform admin an email notifying that the teller has shut down
func SendUnlockNotifToRecipient ¶
SendUnlockNotifToRecipient sends a notification email to the recipient to unlock the given project for accepting investment
Types ¶
This section is empty.