mirror of
https://github.com/status-im/contract-notifier.git
synced 2025-02-21 15:38:10 +00:00
Updating email templates
This commit is contained in:
parent
9f24d7069d
commit
b3e51b988a
@ -26,7 +26,7 @@ const ERC20_ABI = [
|
||||
module.exports = {
|
||||
from: {
|
||||
email: "noreply@teller.exchange",
|
||||
name: "Teller Network"
|
||||
name: "Teller"
|
||||
},
|
||||
templates: {
|
||||
subscribe: "sign-up.md",
|
||||
@ -80,6 +80,19 @@ module.exports = {
|
||||
index: "seller",
|
||||
template: "escrow-paid.md"
|
||||
},
|
||||
"escrow-released": {
|
||||
ABI: {
|
||||
name: "Released",
|
||||
type: "event",
|
||||
inputs: [
|
||||
{ indexed: true, name: "escrowId", type: "uint256" },
|
||||
{ indexed: true, name: "seller", type: "address" }
|
||||
]
|
||||
},
|
||||
index: "buyer",
|
||||
filter: async (web3, returnValues) => !returnValues.isDispute,
|
||||
template: "escrow-released.md"
|
||||
},
|
||||
"dispute-release-buyer": {
|
||||
// Dispute won by the buyer
|
||||
ABI: {
|
||||
|
@ -1,7 +1,4 @@
|
||||
---
|
||||
subject: New trade!
|
||||
subject: New trade request
|
||||
---
|
||||
A buyer is interested in your offer
|
||||
EscrowId:{{escrowId}}
|
||||
Buyer Address: {{buyer}}
|
||||
OfferId: {{offerId}}
|
||||
Someone opened a trade with you. Open teller to proceed the [trade](https://status-im.github.io/status-teller-network/build/#/escrow/{{escrowId}})
|
||||
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
subject: Escrow funded!
|
||||
subject: Escrow funded
|
||||
---
|
||||
### Your trade has been funded.
|
||||
Proceed to make the payment.
|
||||
[Escrow](https://status-im.github.io/status-teller-network/build/#/escrow/{{escrowId}}) was successfully funded by seller. Open teller to proceed the trade.
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
subject: Escrow has been paid!
|
||||
subject: Money is on its way to you
|
||||
---
|
||||
### Your trade has been paid by the buyer.
|
||||
Verify you have received the payment and release the funds.
|
||||
Buyer stated that money has been sent. Verify if you have received the payment and release funds from the [escrow](https://status-im.github.io/status-teller-network/build/#/escrow/{{escrowId}}. Note that money might still be on its way, but don't hesitate to contact the buyer for further info about the payment.
|
4
dapps/teller-network/escrow-released.md
Normal file
4
dapps/teller-network/escrow-released.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
subject: Trade completed
|
||||
---
|
||||
Trade has been successfully completed. Enjoy your crypto.
|
Loading…
x
Reference in New Issue
Block a user